| 46 | watchSummary, |
| 47 | } from './kild/watch.ts'; |
| 48 | |
| 49 | const { values, positionals } = parseArgs({ |
| 50 | allowPositionals: true, |
| 51 | options: { |
| 52 | json: { type: 'boolean', default: false }, |
| 53 | project: { type: 'string' }, |
| 54 | persona: { type: 'string' }, |
| 55 | model: { type: 'string' }, |
| 56 | worktree: { type: 'string' }, |
| 57 | force: { type: 'boolean', default: false }, |
| 58 | agents: { type: 'string' }, // `kild new` agents, e.g. orchestrator,coder,reviewer |
| 59 | detach: { type: 'boolean', default: false }, // `kild new --detach`: print the id, don't stream |
| 60 | base: { type: 'string' }, // base branch for the worktree + git-status baseline |
| 61 | as: { type: 'string' }, // `kild attach|inbox --as <handle>`: the attached agent's handle |
| 62 | format: { type: 'string' }, // `kild inbox --format claude-stop`: harness hook output |
| 63 | to: { type: 'string' }, // `kild send --to a,b`: the agents addressed |
| 64 | state: { type: 'string' }, // `kild ls --state live|orphan|reclaimable` |
| 65 | git: { type: 'boolean', default: false }, // `kild ls --git`: pay for git/cost state |
| 66 | since: { type: 'string' }, // `kild log --since <seq>`: only messages after that cursor |
| 67 | execute: { type: 'boolean', default: false }, // `kild land --execute`: merge for real |