feat(kebab-app): capability flag mcp_server: false → true (fb-30)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
th-kim0823
2026-05-07 16:12:23 +09:00
parent 4a30959fdd
commit 366b647a1a
3 changed files with 7 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ fn capabilities_snapshot() -> Capabilities {
incremental_ingest: true,
streaming_ask: false,
http_daemon: false,
mcp_server: false,
mcp_server: true,
single_file_ingest: false,
}
}

View File

@@ -58,6 +58,10 @@ fn schema_report_reflects_freshly_ingested_kb() {
);
assert!(schema.capabilities.json_mode);
assert!(!schema.capabilities.streaming_ask);
assert!(
schema.capabilities.mcp_server,
"mcp_server should be true after fb-30",
);
assert_eq!(
schema.stats.doc_count, 2,
"expected 2 docs (a.md + b.md): {:?}",

View File

@@ -92,8 +92,8 @@ fn cli_schema_json_emits_schema_v1() {
);
assert_eq!(
caps.get("mcp_server").and_then(|b| b.as_bool()),
Some(false),
"capabilities.mcp_server must be false (not yet shipped)"
Some(true),
"capabilities.mcp_server must be true (fb-30)"
);
}