mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 02:17:31 +00:00
Adds github.markPRDraft (gh pr ready --undo) on the host, allowlisted for paired phones and advertised with mobile.github.markPRDraft.v1 so older hosts simply hide the action.
25 lines
1.4 KiB
TypeScript
25 lines
1.4 KiB
TypeScript
export const GITHUB_MARK_PR_READY_RUNTIME_CAPABILITY = 'github.markPRReadyForReview' as const
|
|
// Hosts with this capability let mobile call github.markPRReadyForReview.
|
|
export const MOBILE_GITHUB_MARK_PR_READY_RUNTIME_CAPABILITY =
|
|
'mobile.github.markPRReadyForReview.v1' as const
|
|
// Hosts with this capability let mobile call github.markPRDraft; older hosts hide Mark as draft.
|
|
export const MOBILE_GITHUB_MARK_PR_DRAFT_RUNTIME_CAPABILITY =
|
|
'mobile.github.markPRDraft.v1' as const
|
|
export const GITHUB_MARK_PR_READY_UPDATE_REQUIRED_MESSAGE =
|
|
'Marking a pull request ready requires a newer Orca server. Update the server and try again.'
|
|
export const GITLAB_READY_FOR_REVIEW_RUNTIME_CAPABILITY =
|
|
'gitlab.updateMR.readyForReview.v1' as const
|
|
export const GITLAB_READY_FOR_REVIEW_UPDATE_REQUIRED_MESSAGE =
|
|
'Marking a merge request ready requires a newer Orca server. Update the server and try again.'
|
|
// Commit-message generation: the host plans Antigravity with the model the user configured.
|
|
export const ANTIGRAVITY_CONFIGURED_MODEL_RUNTIME_CAPABILITY =
|
|
'git.antigravity-configured-model.v1' as const
|
|
|
|
export const SOURCE_CONTROL_RUNTIME_CAPABILITIES = [
|
|
ANTIGRAVITY_CONFIGURED_MODEL_RUNTIME_CAPABILITY,
|
|
GITHUB_MARK_PR_READY_RUNTIME_CAPABILITY,
|
|
MOBILE_GITHUB_MARK_PR_READY_RUNTIME_CAPABILITY,
|
|
MOBILE_GITHUB_MARK_PR_DRAFT_RUNTIME_CAPABILITY,
|
|
GITLAB_READY_FOR_REVIEW_RUNTIME_CAPABILITY
|
|
] as const
|