@fenglimg/fabric-server 2.3.0-rc.8 → 2.3.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +14 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5421,6 +5421,9 @@ ${content}`;
|
|
|
5421
5421
|
if (patch.relevance_paths !== void 0) updates.relevance_paths = `relevance_paths: ${flowArray(patch.relevance_paths)}`;
|
|
5422
5422
|
if (patch.semantic_scope !== void 0) updates.semantic_scope = `semantic_scope: ${patch.semantic_scope}`;
|
|
5423
5423
|
if (patch.related !== void 0) updates.related = `related: ${flowArray(patch.related)}`;
|
|
5424
|
+
if (patch.must_read_if !== void 0) updates.must_read_if = `must_read_if: ${quoteIfNeeded(patch.must_read_if)}`;
|
|
5425
|
+
if (patch.intent_clues !== void 0) updates.intent_clues = `intent_clues: ${flowArray(patch.intent_clues)}`;
|
|
5426
|
+
if (patch.impact !== void 0) updates.impact = `impact: ${flowArray(patch.impact)}`;
|
|
5424
5427
|
if (patch.status !== void 0) updates.status = `status: ${patch.status}`;
|
|
5425
5428
|
if (patch.deferred_until !== void 0) updates.deferred_until = `deferred_until: ${quoteIfNeeded(patch.deferred_until)}`;
|
|
5426
5429
|
if (patch.last_review_confirmed_at !== void 0) updates.last_review_confirmed_at = `last_review_confirmed_at: ${quoteIfNeeded(patch.last_review_confirmed_at)}`;
|
|
@@ -5458,6 +5461,9 @@ function appendPatchLines(lines, patch) {
|
|
|
5458
5461
|
if (patch.relevance_scope !== void 0) lines.push(`relevance_scope: ${patch.relevance_scope}`);
|
|
5459
5462
|
if (patch.relevance_paths !== void 0) lines.push(`relevance_paths: ${flowArray(patch.relevance_paths)}`);
|
|
5460
5463
|
if (patch.related !== void 0) lines.push(`related: ${flowArray(patch.related)}`);
|
|
5464
|
+
if (patch.must_read_if !== void 0) lines.push(`must_read_if: ${quoteIfNeeded(patch.must_read_if)}`);
|
|
5465
|
+
if (patch.intent_clues !== void 0) lines.push(`intent_clues: ${flowArray(patch.intent_clues)}`);
|
|
5466
|
+
if (patch.impact !== void 0) lines.push(`impact: ${flowArray(patch.impact)}`);
|
|
5461
5467
|
if (patch.status !== void 0) lines.push(`status: ${patch.status}`);
|
|
5462
5468
|
if (patch.deferred_until !== void 0) lines.push(`deferred_until: ${quoteIfNeeded(patch.deferred_until)}`);
|
|
5463
5469
|
if (patch.last_review_confirmed_at !== void 0) lines.push(`last_review_confirmed_at: ${quoteIfNeeded(patch.last_review_confirmed_at)}`);
|
|
@@ -7672,7 +7678,13 @@ async function inspectHooksWired(projectRoot) {
|
|
|
7672
7678
|
const required = [
|
|
7673
7679
|
{ event: "Stop", hookFile: "fabric-hint.cjs" },
|
|
7674
7680
|
{ event: "SessionStart", hookFile: "knowledge-hint-broad.cjs" },
|
|
7675
|
-
|
|
7681
|
+
// ux-w2-6 (rc.9): PreToolUse is the SINGLE merged orchestrator
|
|
7682
|
+
// knowledge-pretooluse.cjs which internally requires knowledge-hint-narrow.cjs
|
|
7683
|
+
// (and cite-policy-evict.cjs) so a single edit produces ONE additionalContext
|
|
7684
|
+
// envelope instead of two. The stale reference to narrow.cjs here was the
|
|
7685
|
+
// rc.30 BUG-M3 false-negative source — narrow.cjs still exists on disk as a
|
|
7686
|
+
// lib but is NOT registered as a PreToolUse hook.
|
|
7687
|
+
{ event: "PreToolUse", hookFile: "knowledge-pretooluse.cjs" }
|
|
7676
7688
|
];
|
|
7677
7689
|
const missing = [];
|
|
7678
7690
|
const hooksSection = isRecord(parsed) ? parsed.hooks : void 0;
|
|
@@ -11617,7 +11629,7 @@ function createFabricServer(tracker) {
|
|
|
11617
11629
|
const server = new McpServer(
|
|
11618
11630
|
{
|
|
11619
11631
|
name: "fabric-knowledge-server",
|
|
11620
|
-
version: "2.3.0-rc.
|
|
11632
|
+
version: "2.3.0-rc.9"
|
|
11621
11633
|
},
|
|
11622
11634
|
{
|
|
11623
11635
|
instructions: FABRIC_SERVER_INSTRUCTIONS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fenglimg/fabric-server",
|
|
3
|
-
"version": "2.3.0-rc.
|
|
3
|
+
"version": "2.3.0-rc.9",
|
|
4
4
|
"description": "Fabric MCP knowledge server — stdio transport for Claude Code / Codex CLI, manages .fabric/ knowledge base + agents.meta.json + event ledger.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "wangzhichao <fenglimg90@gmail.com>",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
38
38
|
"minimatch": "^10.0.1",
|
|
39
39
|
"zod": "^3.25.0",
|
|
40
|
-
"@fenglimg/fabric-shared": "2.3.0-rc.
|
|
40
|
+
"@fenglimg/fabric-shared": "2.3.0-rc.9"
|
|
41
41
|
},
|
|
42
42
|
"optionalDependencies": {
|
|
43
43
|
"fastembed": "^2.0.0"
|