mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 17:17:38 +00:00
* fix(mobile): gate PR merge and linking on desktop's shared rules Merge state moves to src/shared so the phone stops offering Merge on drafts, conflicts and blocked PRs, and stops letting branch PRs override explicit links. * fix(mobile): keep stack merges and stale-link recovery in the PR panel Mobile now applies desktop's stack override and drops a linked PR the branch has moved past, and only offers Ready for review when a relaying desktop also forwards it. * fix(mobile): persist stale PR link clears and add a merge recheck The phone now writes desktop's link clear instead of rereading the stale link, and a blocked Merge can be rechecked since nothing on mobile polls PR state. * fix(mobile): guard stale PR link clears like desktop Re-reads the worktree before clearing so a link chosen after the lookup survives, and localizes the merge-state strings the lift exposed to the coverage gate. * test(mobile): drop identity test for worktree link params * refactor(mobile): share one stack-merge decision and trim PR panel wiring * fix(mobile): default worktree bare/archived flags for the stale-link guard * fix(mobile): label the PR merge button from its default merge method
21 lines
1.1 KiB
TypeScript
21 lines
1.1 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
|
|
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,
|
|
GITLAB_READY_FOR_REVIEW_RUNTIME_CAPABILITY
|
|
] as const
|