Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions apps/web/src/app/config.json/extras.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ export const kiloExtras = {
description: 'Enable AI-powered codebase search',
type: 'boolean',
},
agent_requirements: {
description:
'Require declared agent skills, MCPs, and VS Code extensions before VS Code prompts can run',
type: 'boolean',
},
native_notebook_tools: {
description: 'Enable native tools for reading, editing, and executing VS Code notebooks',
type: 'boolean',
Expand Down
10 changes: 8 additions & 2 deletions apps/web/src/tests/cli-config-schema.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ describe('kilo config.json schema merge', () => {
});

test('terminal_command_display is an enum of expanded/collapsed', () => {
const tcd = props.terminal_command_display as { type: string; enum: string[] };
const tcd = props.terminal_command_display as {
type: string;
enum: string[];
};
expect(tcd.type).toBe('string');
expect(tcd.enum).toEqual(['expanded', 'collapsed']);
});
Expand Down Expand Up @@ -91,7 +94,9 @@ describe('kilo config.json schema merge', () => {

test('adds notebook permission keys without dropping upstream', () => {
const defs = out.$defs as Record<string, unknown>;
const permissionConfig = defs.PermissionConfig as { anyOf: Array<Record<string, unknown>> };
const permissionConfig = defs.PermissionConfig as {
anyOf: Array<Record<string, unknown>>;
};
const permissionObject = permissionConfig.anyOf.find(variant => variant.type === 'object') as {
properties: Record<string, unknown>;
};
Expand All @@ -111,6 +116,7 @@ describe('kilo config.json schema merge', () => {
test('adds kilo experimental keys without dropping upstream', () => {
const exp = props.experimental as { properties: Record<string, unknown> };
expect(exp.properties.codebase_search).toBeDefined();
expect(exp.properties.agent_requirements).toEqual(expect.objectContaining({ type: 'boolean' }));
expect(exp.properties.native_notebook_tools).toEqual(
expect.objectContaining({ type: 'boolean' })
);
Expand Down