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

Function onClose

engine/src/server.ts:219–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217 return c.json({ error: 'path is not under the worktree root' }, 403);
218 }
219 try {
220 const opener = process.platform === 'darwin' ? 'open' : 'xdg-open';
221 await execFile(opener, [resolved]);
222 return c.json({ ok: true });
223 } catch (err) {
224 return c.json({ error: String(err instanceof Error ? err.message : err) }, 400);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected