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

Function onOpen

engine/src/server.ts:198–200  ·  view source on GitHub ↗
(_evt, ws)

Source from the content-addressed store, hash-verified

196function kildResultStatus(result: Extract<CommandResult<unknown>, { ok: false }>): 404 | 409 {
197 return result.code === 'not_found' ? 404 : 409;
198}
199
200const worktreesInUse = (): Set<string> =>
201 new Set(
202 agentManager
203 .list()

Callers

nothing calls this directly

Calls 2

sendMethod · 0.80
subscribeMethod · 0.45

Tested by

no test coverage detected