mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 10:58:10 +00:00
* Use the shared agent picker for Automations Preserve sparse authored launch settings and full Arguments through the existing Automation owner, copies, and host launch compiler. Keep legacy writers and supported mixed-version launch routes intact. Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Co-authored-by: Courtenay <1909814+hdsheena@users.noreply.github.com> Co-authored-by: Andy Zhang <hiandyzhang@gmail.com> * Align the new launch-settings translations with the catalog * Preserve automation launch choices through editor changes * Use supported legacy arguments in the editor regression * Keep automation edits controlled until Save * Compose automation launch edits by their authored sources Preserve controlled raw input, cumulative source retirements and agent reset intent through destination changes and Save. Merge only the authored extent into the latest automation. Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Co-authored-by: Courtenay <1909814+hdsheena@users.noreply.github.com> Co-authored-by: Andy Zhang <hiandyzhang@gmail.com> * Preserve pending automation arguments across agent changes Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Co-authored-by: Courtenay <1909814+hdsheena@users.noreply.github.com> Co-authored-by: Andy Zhang <hiandyzhang@gmail.com> * Preserve automation source order and unchanged picker rows Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Co-authored-by: Courtenay <1909814+hdsheena@users.noreply.github.com> Co-authored-by: Andy Zhang <hiandyzhang@gmail.com> * Keep picker Arguments stable until acceptance * Preserve Chat import and capability regression inputs * Exercise explicit picker acceptance in retained form tests * fix: preserve legacy-only automation copies across host changes * Use canonical automation validation and one host capability observation --------- Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Co-authored-by: Courtenay <1909814+hdsheena@users.noreply.github.com> Co-authored-by: Andy Zhang <hiandyzhang@gmail.com>
37 lines
2.0 KiB
TypeScript
37 lines
2.0 KiB
TypeScript
// Older hosts drop automation.list's selector and return every host's rows.
|
|
export const AUTOMATION_LIST_HOST_SCOPE_RUNTIME_CAPABILITY =
|
|
'automation.list-host-scope.v1' as const
|
|
export const AUTOMATION_LIST_HOST_SCOPE_UPDATE_REQUIRED_MESSAGE =
|
|
'Filtering automations by host requires a newer Orca server. Update the HUB and try again.'
|
|
// Owner preconditions prevent mutations against a host the user never saw.
|
|
export const AUTOMATION_OWNER_FENCING_RUNTIME_CAPABILITY = 'automation.owner-fencing.v1' as const
|
|
export const AUTOMATION_OWNER_FENCING_UPDATE_REQUIRED_MESSAGE =
|
|
'Editing automations on this host requires a newer Orca server. Update the HUB and try again.'
|
|
export const AUTOMATION_CREATE_IDEMPOTENCY_RUNTIME_CAPABILITY =
|
|
'automation.create-idempotency.v1' as const
|
|
// Older hosts strip extraAgentArgs and would run without the user's arguments.
|
|
export const AUTOMATION_EXTRA_AGENT_ARGS_RUNTIME_CAPABILITY =
|
|
'automations.extra-agent-args.v1' as const
|
|
// Older hosts strip setupDecision and the update's workspace-mode precondition, then launch by their own setup policy.
|
|
export const AUTOMATION_SETUP_CHOICE_RUNTIME_CAPABILITY = 'automations.setup-choice.v1' as const
|
|
|
|
// Surface-only hosts retain this capability when the complete picker setup contract ships.
|
|
export const AUTOMATION_SURFACE_RUNTIME_CAPABILITY = 'automations.surface.v1' as const
|
|
|
|
export const AUTOMATION_LAUNCH_SETUP_RUNTIME_CAPABILITY = 'automations.launch-setup.v1' as const
|
|
|
|
export const AUTOMATION_RUNTIME_CAPABILITIES = [
|
|
AUTOMATION_LAUNCH_SETUP_RUNTIME_CAPABILITY,
|
|
AUTOMATION_SURFACE_RUNTIME_CAPABILITY,
|
|
AUTOMATION_LIST_HOST_SCOPE_RUNTIME_CAPABILITY,
|
|
AUTOMATION_OWNER_FENCING_RUNTIME_CAPABILITY,
|
|
AUTOMATION_CREATE_IDEMPOTENCY_RUNTIME_CAPABILITY,
|
|
AUTOMATION_EXTRA_AGENT_ARGS_RUNTIME_CAPABILITY,
|
|
AUTOMATION_SETUP_CHOICE_RUNTIME_CAPABILITY
|
|
] as const
|
|
|
|
export const AUTOMATION_RUNTIME_CLIENT_CAPABILITIES = [
|
|
AUTOMATION_OWNER_FENCING_RUNTIME_CAPABILITY,
|
|
AUTOMATION_CREATE_IDEMPOTENCY_RUNTIME_CAPABILITY
|
|
] as const
|