✨ 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:
@@ -108,7 +108,7 @@ fn capabilities_snapshot() -> Capabilities {
|
|||||||
incremental_ingest: true,
|
incremental_ingest: true,
|
||||||
streaming_ask: false,
|
streaming_ask: false,
|
||||||
http_daemon: false,
|
http_daemon: false,
|
||||||
mcp_server: false,
|
mcp_server: true,
|
||||||
single_file_ingest: false,
|
single_file_ingest: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,6 +58,10 @@ fn schema_report_reflects_freshly_ingested_kb() {
|
|||||||
);
|
);
|
||||||
assert!(schema.capabilities.json_mode);
|
assert!(schema.capabilities.json_mode);
|
||||||
assert!(!schema.capabilities.streaming_ask);
|
assert!(!schema.capabilities.streaming_ask);
|
||||||
|
assert!(
|
||||||
|
schema.capabilities.mcp_server,
|
||||||
|
"mcp_server should be true after fb-30",
|
||||||
|
);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
schema.stats.doc_count, 2,
|
schema.stats.doc_count, 2,
|
||||||
"expected 2 docs (a.md + b.md): {:?}",
|
"expected 2 docs (a.md + b.md): {:?}",
|
||||||
|
|||||||
@@ -92,8 +92,8 @@ fn cli_schema_json_emits_schema_v1() {
|
|||||||
);
|
);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
caps.get("mcp_server").and_then(|b| b.as_bool()),
|
caps.get("mcp_server").and_then(|b| b.as_bool()),
|
||||||
Some(false),
|
Some(true),
|
||||||
"capabilities.mcp_server must be false (not yet shipped)"
|
"capabilities.mcp_server must be true (fb-30)"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user