mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 18:37:24 +00:00
* fix(skills): rename computer use to orca-computer-use * test(skills): resolve rename fixture after main cleanup
50 lines
2.5 KiB
TypeScript
50 lines
2.5 KiB
TypeScript
export const SKILL_INSTALL_CAPABILITY = 'skills.install.v1' as const
|
|
export const SKILL_INSTALL_RESULT_V2_CAPABILITY = 'skills.install-result.v2' as const
|
|
export const SKILL_INSTALL_CANCEL_CAPABILITY = 'skills.install-cancel.v1' as const
|
|
export const SKILL_UPLOAD_CAPABILITY = 'skills.upload.v1' as const
|
|
export const SKILL_MANAGEMENT_CAPABILITY = 'skills.manage.v1' as const
|
|
export const SKILL_BUNDLE_INSTALL_CAPABILITY = 'skills.install.bundle.v1' as const
|
|
export const SKILL_INSTALL_PROGRESS_CAPABILITY = 'skills.install-progress.v1' as const
|
|
/** Gate providers because strict older hosts reject the whole request instead of ignoring the new field. */
|
|
export const SKILL_INSTALL_PROVIDERS_CAPABILITY = 'skills.install-providers.v1' as const
|
|
|
|
export const SKILL_INSTALL_UPDATE_REQUIRED_MESSAGE =
|
|
'Update Orca on the selected machine to install shared skills.'
|
|
|
|
/** Gate the new method so old hosts show a disabled action rather than a method-not-found failure. */
|
|
export const SKILL_DELETE_CAPABILITY = 'skills.delete.v1' as const
|
|
|
|
export const SKILL_DELETE_UPDATE_REQUIRED_MESSAGE =
|
|
'Update Orca on the selected machine to delete skills.'
|
|
|
|
/** skills.planBundledOrca/executeBundledOrca v1 freezes op/reason enums; unknown values render “Needs attention”. */
|
|
export const BUNDLED_ORCA_SKILL_CAPABILITY = 'skills.bundled-orca.v1' as const
|
|
/** The host recognizes canonical names and can migrate former placements. */
|
|
export const BUNDLED_ORCA_SKILL_RENAMES_CAPABILITY = 'skills.bundled-orca-renames.v1' as const
|
|
|
|
/** Gates skills.autoUpdateBundledOrca; older hosts fall back to asking before every update. */
|
|
export const BUNDLED_ORCA_SKILL_AUTO_UPDATE_CAPABILITY =
|
|
'skills.bundled-orca-auto-update.v1' as const
|
|
|
|
export const BUNDLED_ORCA_SKILL_UPDATE_REQUIRED_MESSAGE =
|
|
'Update Orca on the server to update its Orca skills.'
|
|
|
|
/** skills.discover scans a workspace named only by worktreeId, so phones without its folder can ask. */
|
|
export const SKILL_DISCOVER_WORKSPACE_CAPABILITY = 'skills.discover-workspace.v1' as const
|
|
|
|
export const SKILL_RUNTIME_CAPABILITIES = [
|
|
SKILL_INSTALL_CAPABILITY,
|
|
SKILL_BUNDLE_INSTALL_CAPABILITY,
|
|
SKILL_INSTALL_CANCEL_CAPABILITY,
|
|
SKILL_INSTALL_PROGRESS_CAPABILITY,
|
|
SKILL_INSTALL_RESULT_V2_CAPABILITY,
|
|
SKILL_UPLOAD_CAPABILITY,
|
|
SKILL_MANAGEMENT_CAPABILITY,
|
|
SKILL_INSTALL_PROVIDERS_CAPABILITY,
|
|
SKILL_DELETE_CAPABILITY,
|
|
BUNDLED_ORCA_SKILL_CAPABILITY,
|
|
BUNDLED_ORCA_SKILL_RENAMES_CAPABILITY,
|
|
BUNDLED_ORCA_SKILL_AUTO_UPDATE_CAPABILITY,
|
|
SKILL_DISCOVER_WORKSPACE_CAPABILITY
|
|
] as const
|