MCPcopy Create free account
hub / github.com/Wirasm/kild / dispatch

Function dispatch

engine/src/cli.ts:48–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 watchSummary,
47} from './kild/watch.ts';
48
49const { 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

Callers 1

cli.tsFile · 0.85

Calls 6

projectFunction · 0.85
agentFunction · 0.85
roomFunction · 0.85
joinMethod · 0.80
worktreeFunction · 0.70
runFunction · 0.70

Tested by

no test coverage detected