MCPcopy Create free account
hub / github.com/Wirasm/kild / server.ts

File server.ts

engine/src/server.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// One binary, two roles: `KILD_ROLE=agent` runs a single agent session (one per
2// process — the coding-agent SDK requires it); otherwise this is the engine.
3if (process.env.KILD_ROLE === 'agent') {
4 await (await import('./agent.ts')).runAgent();

Callers

nothing calls this directly

Calls 15

loadProjectsFunction · 0.90
addProjectFunction · 0.90
listAgentsFunction · 0.90
pruneMergedWorktreesFunction · 0.90
listWorktreesFunction · 0.90
assertSafeBranchFunction · 0.90
removeWorktreeFunction · 0.90
worktreePathFunction · 0.90
worktreesRootFunction · 0.90
resolveProjectPathFunction · 0.85
worktreesInUseFunction · 0.85
originAllowedFunction · 0.85

Tested by

no test coverage detected