mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
* feat(cli): add orca workspace cleanup preview, run and report * fix(cli): sanitize cleanup output and label unknown host values * fix(cli): sanitize run triggers in cleanup report * refactor(cli): share keep-reason wording in cleanup output * fix(cli): label automation-run and orchestration-worker cleanup reasons
28 lines
808 B
TypeScript
28 lines
808 B
TypeScript
import type { HandlerGroup } from '../dispatch/handler-group-manifest'
|
|
|
|
export const WORKTREE_HANDLER_GROUPS: readonly HandlerGroup[] = [
|
|
{
|
|
name: 'worktree',
|
|
keys: [
|
|
'worktree ps',
|
|
'worktree list',
|
|
'worktree show',
|
|
'worktree current',
|
|
'worktree create',
|
|
'worktree set',
|
|
'worktree rm'
|
|
],
|
|
load: async () => (await import('./worktree.js')).WORKTREE_HANDLERS
|
|
},
|
|
{
|
|
name: 'worktree-activate',
|
|
keys: ['worktree activate'],
|
|
load: async () => (await import('./worktree-activate.js')).WORKTREE_ACTIVATE_HANDLERS
|
|
},
|
|
{
|
|
name: 'workspace-cleanup',
|
|
keys: ['workspace cleanup preview', 'workspace cleanup run', 'workspace cleanup report'],
|
|
load: async () => (await import('./workspace-cleanup.js')).WORKSPACE_CLEANUP_HANDLERS
|
|
}
|
|
]
|