Skip to content

Commit 91d6be5

Browse files
committed
fixes
1 parent 6b98273 commit 91d6be5

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ Plugin registry endpoint: `GET /api/plugins`. Directory overview → [`plugins/R
571571
572572
┌──────────────────────────────────────────────────────────────────┐
573573
│ Local runtime definitions come from runtimes/registry.ts; │
574-
│ the base registry has 26 definitions (including byok-opencode), │
574+
│ the base registry has 27 definitions (including byok-opencode), │
575575
│ backed by 26 distinct local CLI executables because byok-opencode shares │
576576
│ the OpenCode executable. See docs/agent-adapters.md. │
577577
│ composes a functional skill or design template + DESIGN.md; writes files │

apps/daemon/tests/mcp-agent-install.test.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('agent slug guard', () => {
2828
it('accepts every documented slug and rejects others', () => {
2929
for (const s of AGENT_SLUGS) expect(isAgentSlug(s)).toBe(true);
3030
expect(isAgentSlug('not-an-agent')).toBe(false);
31-
expect(AGENT_SLUGS).toHaveLength(16);
31+
expect(AGENT_SLUGS).toHaveLength(17);
3232
expect(isAgentSlug('kiro')).toBe(true);
3333
expect(isAgentSlug('reasonix')).toBe(true);
3434
expect(isAgentSlug('raven')).toBe(true);
@@ -120,6 +120,19 @@ describe('JSON-config agents', () => {
120120
});
121121
});
122122

123+
it('kimchi merges a stdio entry into the harness MCP settings file', () => {
124+
const plan = planAgentInstall('kimchi', SPEC, ctx());
125+
if (plan.kind !== 'json') throw new Error('expected json');
126+
expect(plan.configPath).toBe('/home/u/.config/kimchi/harness/mcp.json');
127+
expect(plan.keyPath).toEqual(['mcpServers']);
128+
expect(plan.serverKey).toBe('open-design');
129+
expect(plan.entry).toEqual({
130+
command: SPEC.command,
131+
args: SPEC.args,
132+
env: SPEC.env,
133+
});
134+
});
135+
123136
it('raven plans a stdio entry under tools.mcpServers', () => {
124137
const plan = planAgentInstall('raven', SPEC, ctx());
125138
if (plan.kind !== 'json') throw new Error('expected json');

0 commit comments

Comments
 (0)