@remnic/core 9.3.693 → 9.3.694
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/access-boundary.d.ts +6 -6
- package/dist/access-boundary.js +10 -8
- package/dist/access-cli.js +23 -21
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +5 -5
- package/dist/access-http.js +13 -11
- package/dist/access-mcp.d.ts +12 -5
- package/dist/access-mcp.js +12 -10
- package/dist/access-operations.d.ts +49 -7
- package/dist/access-operations.js +39 -9
- package/dist/{access-service-DxCpgyVW.d.ts → access-service-Ceq4TdPO.d.ts} +86 -3
- package/dist/access-service.d.ts +5 -5
- package/dist/access-service.js +9 -7
- package/dist/access-surface-catalog.d.ts +5 -5
- package/dist/access-surface-catalog.js +15 -0
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +1 -1
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +4 -4
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +3 -3
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +1 -1
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{catalog-BEWLjdOr.d.ts → catalog-Tkb991rg.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +4 -4
- package/dist/{chunk-ADUAF5EV.js → chunk-24FCDBJV.js} +2 -2
- package/dist/{chunk-MQTPUPLP.js → chunk-5A35EGHM.js} +806 -23
- package/dist/chunk-5A35EGHM.js.map +1 -0
- package/dist/{chunk-3VVH6ZQW.js → chunk-5S53ZBPH.js} +2 -2
- package/dist/{chunk-RHWFMBO5.js → chunk-6C4WHMKV.js} +94 -5
- package/dist/chunk-6C4WHMKV.js.map +1 -0
- package/dist/{chunk-2D27ODNX.js → chunk-B55EAZNF.js} +2 -2
- package/dist/{chunk-F7BVJ3IE.js → chunk-C5AOVGVC.js} +14 -14
- package/dist/chunk-CDOIDOTQ.js +381 -0
- package/dist/chunk-CDOIDOTQ.js.map +1 -0
- package/dist/{chunk-UOCLRM74.js → chunk-D7PQ7HZL.js} +2 -2
- package/dist/{chunk-HXNMDPHN.js → chunk-DT2ZGQT7.js} +2 -2
- package/dist/{chunk-QFG23CRE.js → chunk-EPVIBPVE.js} +2 -2
- package/dist/{chunk-THKNO6OX.js → chunk-FCH766FX.js} +19 -18
- package/dist/chunk-FCH766FX.js.map +1 -0
- package/dist/{chunk-U2OBZSGG.js → chunk-IZLNJYLX.js} +2 -2
- package/dist/{chunk-KYH53EFD.js → chunk-JIKBEDSB.js} +6 -6
- package/dist/{chunk-3BRA3N5A.js → chunk-KCRV3HVN.js} +2 -2
- package/dist/{chunk-AFWEUTMS.js → chunk-MOGFK2DU.js} +2 -2
- package/dist/{chunk-SAC5V6JT.js → chunk-MSUA4KAK.js} +2 -2
- package/dist/{chunk-VFVG4NS2.js → chunk-NXNUG7IA.js} +2 -2
- package/dist/{chunk-66HROLW5.js → chunk-P7IDNF7H.js} +2 -2
- package/dist/{chunk-FM7KLRKN.js → chunk-PILLH262.js} +2 -2
- package/dist/{chunk-UTUYAPLY.js → chunk-PNW4KKJX.js} +12 -3
- package/dist/{chunk-UTUYAPLY.js.map → chunk-PNW4KKJX.js.map} +1 -1
- package/dist/{chunk-5HGPDRQZ.js → chunk-PQP6MFPL.js} +2 -2
- package/dist/chunk-PQP6MFPL.js.map +1 -0
- package/dist/{chunk-6C2BMUZA.js → chunk-QXWQ5V24.js} +2 -2
- package/dist/{chunk-WYB44HHV.js → chunk-SJGTY2TW.js} +19 -7
- package/dist/chunk-SJGTY2TW.js.map +1 -0
- package/dist/{chunk-4IQNAOP3.js → chunk-SN5DFE34.js} +2 -2
- package/dist/{chunk-DQHZA7Y3.js → chunk-U62ZGWU7.js} +1 -1
- package/dist/chunk-U62ZGWU7.js.map +1 -0
- package/dist/{chunk-WIKNVFBS.js → chunk-UX5QTAFE.js} +2 -2
- package/dist/chunk-VQ7B2Q6M.js +112 -0
- package/dist/chunk-VQ7B2Q6M.js.map +1 -0
- package/dist/{chunk-MCV2DD6F.js → chunk-WVTNZUER.js} +2 -2
- package/dist/{chunk-ZLXGFAML.js → chunk-YI3KC2B5.js} +2 -2
- package/dist/{chunk-W4ELOUNX.js → chunk-YWYZPKK3.js} +2 -2
- package/dist/{chunk-NUZ3N445.js → chunk-YXZPKBFW.js} +3 -3
- package/dist/{chunk-GCOSQBQ2.js → chunk-ZKD3UVEO.js} +3 -3
- package/dist/{cli-DoQsv4ut.d.ts → cli-CxtZyBLl.d.ts} +3 -3
- package/dist/cli.d.ts +6 -6
- package/dist/cli.js +27 -25
- package/dist/coding/optional-coding-graph.js +7 -104
- package/dist/coding/optional-coding-graph.js.map +1 -1
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +3 -3
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +3 -3
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +3 -3
- package/dist/consolidation-provenance-check.d.ts +1 -1
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/contradiction/index.d.ts +1 -1
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +3 -3
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +4 -4
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +36 -35
- package/dist/index.js.map +1 -1
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +3 -3
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
- package/dist/maintenance/rebuild-memory-projection.js +4 -4
- package/dist/mcp-memory-inspector-app.d.ts +5 -5
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +1 -1
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +2 -2
- package/dist/namespaces/migrate.js +4 -4
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +3 -3
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +9 -9
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +5 -5
- package/dist/{orchestrator-CNJCYjZ1.d.ts → orchestrator-CnbxRQs8.d.ts} +3 -3
- package/dist/orchestrator.d.ts +4 -4
- package/dist/orchestrator.js +15 -15
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +2 -2
- package/dist/retrieval-agents.d.ts +1 -1
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-D5U0Mrdb.d.ts → semantic-consolidation-DXmtQ_4B.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +4 -4
- package/dist/semantic-rule-promotion.js +3 -3
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +3 -3
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +1 -1
- package/dist/storage.js +2 -2
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +1 -1
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/{types-2NoBoRBM.d.ts → types-CEWBmjCH.d.ts} +14 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +3 -3
- package/package.json +2 -2
- package/src/access-boundary.ts +17 -0
- package/src/access-http.ts +27 -3
- package/src/access-mcp.ts +99 -2
- package/src/access-operations.ts +259 -0
- package/src/access-service.ts +82 -0
- package/src/access-surface-catalog.test.ts +1 -1
- package/src/access-surface-catalog.ts +15 -0
- package/src/cli.ts +1 -0
- package/src/coding/architecture-surfaces.test.ts +2 -0
- package/src/coding/codegraph-runtime.ts +773 -0
- package/src/coding/codegraph-surfaces.test.ts +880 -0
- package/src/coding/codegraph-surfaces.ts +771 -0
- package/src/coding/coding-knowledge-config.ts +7 -0
- package/src/coding/decision-surfaces.test.ts +2 -0
- package/src/coding/session-delta-surfaces.test.ts +2 -0
- package/src/config.test.ts +2 -0
- package/src/types.ts +14 -0
- package/dist/chunk-5HGPDRQZ.js.map +0 -1
- package/dist/chunk-DQHZA7Y3.js.map +0 -1
- package/dist/chunk-JNKH2XWQ.js +0 -183
- package/dist/chunk-JNKH2XWQ.js.map +0 -1
- package/dist/chunk-MQTPUPLP.js.map +0 -1
- package/dist/chunk-RHWFMBO5.js.map +0 -1
- package/dist/chunk-THKNO6OX.js.map +0 -1
- package/dist/chunk-WYB44HHV.js.map +0 -1
- /package/dist/{chunk-ADUAF5EV.js.map → chunk-24FCDBJV.js.map} +0 -0
- /package/dist/{chunk-3VVH6ZQW.js.map → chunk-5S53ZBPH.js.map} +0 -0
- /package/dist/{chunk-2D27ODNX.js.map → chunk-B55EAZNF.js.map} +0 -0
- /package/dist/{chunk-F7BVJ3IE.js.map → chunk-C5AOVGVC.js.map} +0 -0
- /package/dist/{chunk-UOCLRM74.js.map → chunk-D7PQ7HZL.js.map} +0 -0
- /package/dist/{chunk-HXNMDPHN.js.map → chunk-DT2ZGQT7.js.map} +0 -0
- /package/dist/{chunk-QFG23CRE.js.map → chunk-EPVIBPVE.js.map} +0 -0
- /package/dist/{chunk-U2OBZSGG.js.map → chunk-IZLNJYLX.js.map} +0 -0
- /package/dist/{chunk-KYH53EFD.js.map → chunk-JIKBEDSB.js.map} +0 -0
- /package/dist/{chunk-3BRA3N5A.js.map → chunk-KCRV3HVN.js.map} +0 -0
- /package/dist/{chunk-AFWEUTMS.js.map → chunk-MOGFK2DU.js.map} +0 -0
- /package/dist/{chunk-SAC5V6JT.js.map → chunk-MSUA4KAK.js.map} +0 -0
- /package/dist/{chunk-VFVG4NS2.js.map → chunk-NXNUG7IA.js.map} +0 -0
- /package/dist/{chunk-66HROLW5.js.map → chunk-P7IDNF7H.js.map} +0 -0
- /package/dist/{chunk-FM7KLRKN.js.map → chunk-PILLH262.js.map} +0 -0
- /package/dist/{chunk-6C2BMUZA.js.map → chunk-QXWQ5V24.js.map} +0 -0
- /package/dist/{chunk-4IQNAOP3.js.map → chunk-SN5DFE34.js.map} +0 -0
- /package/dist/{chunk-WIKNVFBS.js.map → chunk-UX5QTAFE.js.map} +0 -0
- /package/dist/{chunk-MCV2DD6F.js.map → chunk-WVTNZUER.js.map} +0 -0
- /package/dist/{chunk-ZLXGFAML.js.map → chunk-YI3KC2B5.js.map} +0 -0
- /package/dist/{chunk-W4ELOUNX.js.map → chunk-YWYZPKK3.js.map} +0 -0
- /package/dist/{chunk-NUZ3N445.js.map → chunk-YXZPKBFW.js.map} +0 -0
- /package/dist/{chunk-GCOSQBQ2.js.map → chunk-ZKD3UVEO.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7FL4CNPV.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NXNUG7IA.js";
|
|
7
7
|
import {
|
|
8
8
|
getCachedEpisodeMap,
|
|
9
9
|
setCachedEpisodeMap
|
|
@@ -107,4 +107,4 @@ export {
|
|
|
107
107
|
compareVerifiedEpisodeResults,
|
|
108
108
|
searchVerifiedEpisodes
|
|
109
109
|
};
|
|
110
|
-
//# sourceMappingURL=chunk-
|
|
110
|
+
//# sourceMappingURL=chunk-5S53ZBPH.js.map
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
} from "./chunk-UDJLF3BO.js";
|
|
15
15
|
import {
|
|
16
16
|
getOperation
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PQP6MFPL.js";
|
|
18
18
|
import {
|
|
19
19
|
EngramAccessInputError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5A35EGHM.js";
|
|
21
21
|
import {
|
|
22
22
|
projectTagProjectId
|
|
23
23
|
} from "./chunk-HRUULBBV.js";
|
|
24
24
|
import {
|
|
25
25
|
validateBriefingFormat
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-P7IDNF7H.js";
|
|
27
27
|
import {
|
|
28
28
|
resolvePrincipal
|
|
29
29
|
} from "./chunk-UZYLX7M6.js";
|
|
@@ -58,6 +58,21 @@ var MCP_MIGRATED_OPERATIONS = {
|
|
|
58
58
|
"engram.memory_store": "memory_store",
|
|
59
59
|
"engram.coding_decision": "coding_decision",
|
|
60
60
|
"engram.coding_architecture": "coding_architecture",
|
|
61
|
+
// codegraph parity tools (issue #1554) — each maps to its boundary op.
|
|
62
|
+
"engram.codegraph_index": "codegraph_index",
|
|
63
|
+
"engram.codegraph_list_projects": "codegraph_list_projects",
|
|
64
|
+
"engram.codegraph_delete_project": "codegraph_delete_project",
|
|
65
|
+
"engram.codegraph_index_status": "codegraph_index_status",
|
|
66
|
+
"engram.codegraph_search_graph": "codegraph_search_graph",
|
|
67
|
+
"engram.codegraph_trace_path": "codegraph_trace_path",
|
|
68
|
+
"engram.codegraph_detect_changes": "codegraph_detect_changes",
|
|
69
|
+
"engram.codegraph_query_graph": "codegraph_query_graph",
|
|
70
|
+
"engram.codegraph_get_schema": "codegraph_get_schema",
|
|
71
|
+
"engram.codegraph_get_snippet": "codegraph_get_snippet",
|
|
72
|
+
"engram.codegraph_get_architecture": "codegraph_get_architecture",
|
|
73
|
+
"engram.codegraph_search_code": "codegraph_search_code",
|
|
74
|
+
"engram.codegraph_manage_adr": "codegraph_manage_adr",
|
|
75
|
+
"engram.codegraph_ingest_traces": "codegraph_ingest_traces",
|
|
61
76
|
"engram.coding_delta": "coding_delta"
|
|
62
77
|
};
|
|
63
78
|
function resolveChatGptInspectorRecallSessionKey(explicitSessionKey, authenticatedPrincipal) {
|
|
@@ -199,6 +214,7 @@ var EngramMcpServer = class {
|
|
|
199
214
|
this.emitLegacyTools = options.emitLegacyTools !== false;
|
|
200
215
|
this.codingDecisionVisible = options.codingDecisionVisible === true;
|
|
201
216
|
this.architectureCardVisible = options.architectureCardVisible === true;
|
|
217
|
+
this.codegraphVisible = options.codegraphVisible === true;
|
|
202
218
|
this.sessionDeltaVisible = options.sessionDeltaVisible === true;
|
|
203
219
|
this.authenticatedPrincipal = options.principal?.trim() || readEnvVar("OPENCLAW_ENGRAM_ACCESS_PRINCIPAL")?.trim() || void 0;
|
|
204
220
|
this.resources = [
|
|
@@ -1838,6 +1854,66 @@ var EngramMcpServer = class {
|
|
|
1838
1854
|
);
|
|
1839
1855
|
this.tools = [...this.tools, ...architectureTools];
|
|
1840
1856
|
}
|
|
1857
|
+
if (this.codegraphVisible) {
|
|
1858
|
+
const codegraphToolDefs = [
|
|
1859
|
+
{ suffix: "index", description: "Index a repository into the code graph.", required: ["repoRoot"] },
|
|
1860
|
+
{ suffix: "list_projects", description: "List code graph projects for the principal." },
|
|
1861
|
+
{ suffix: "delete_project", description: "Delete a code graph project (requires confirm: true).", required: ["confirm"] },
|
|
1862
|
+
{ suffix: "index_status", description: "Get the indexing status for a project." },
|
|
1863
|
+
{ suffix: "search_graph", description: "Search the code graph for symbols.", required: ["query"] },
|
|
1864
|
+
{ suffix: "trace_path", description: "Trace call/dependency paths from a starting symbol.", required: ["start"] },
|
|
1865
|
+
{ suffix: "detect_changes", description: "Detect changed symbols since a git ref.", required: ["head"] },
|
|
1866
|
+
{ suffix: "query_graph", description: "Run a structured query against the code graph.", required: ["structuredQuery"] },
|
|
1867
|
+
{ suffix: "get_schema", description: "Get the code graph schema statistics." },
|
|
1868
|
+
{ suffix: "get_snippet", description: "Get a source code snippet for a symbol.", required: ["qualifiedName"] },
|
|
1869
|
+
{ suffix: "get_architecture", description: "Get the composed architecture card + graph stats." },
|
|
1870
|
+
{ suffix: "search_code", description: "Search the code graph for code (functions, classes, methods).", required: ["query"] },
|
|
1871
|
+
{ suffix: "manage_adr", description: "Manage ADRs via Track A decision records (list, get, record, supersede).", required: ["subcommand"] },
|
|
1872
|
+
{ suffix: "ingest_traces", description: "Ingest call-site traces to upgrade edge confidence.", required: ["traces"] }
|
|
1873
|
+
];
|
|
1874
|
+
for (const def of codegraphToolDefs) {
|
|
1875
|
+
const tools = withToolAliases(
|
|
1876
|
+
{
|
|
1877
|
+
name: `engram.codegraph_${def.suffix}`,
|
|
1878
|
+
description: def.description,
|
|
1879
|
+
inputSchema: {
|
|
1880
|
+
type: "object",
|
|
1881
|
+
properties: {
|
|
1882
|
+
sessionKey: { type: "string", description: "Session identifier whose coding context scopes the operation." },
|
|
1883
|
+
project: { type: "string", description: "Explicit project id (defaults to session coding context)." },
|
|
1884
|
+
principal: { type: "string", description: "Authenticated principal override." },
|
|
1885
|
+
query: { type: "string" },
|
|
1886
|
+
limit: { type: "number" },
|
|
1887
|
+
start: { type: "string" },
|
|
1888
|
+
direction: { type: "string", enum: ["inbound", "outbound", "both"] },
|
|
1889
|
+
depth: { type: "number" },
|
|
1890
|
+
qualifiedName: { type: "string" },
|
|
1891
|
+
path: { type: "string" },
|
|
1892
|
+
structuredQuery: { type: "object" },
|
|
1893
|
+
head: { type: "string" },
|
|
1894
|
+
repoRoot: { type: "string" },
|
|
1895
|
+
mode: { type: "string", enum: ["auto", "full", "incremental"] },
|
|
1896
|
+
confirm: { type: "boolean" },
|
|
1897
|
+
subcommand: { type: "string", enum: ["list", "get", "record", "supersede"] },
|
|
1898
|
+
id: { type: "string" },
|
|
1899
|
+
title: { type: "string" },
|
|
1900
|
+
status: { type: "string", enum: ["proposed", "accepted", "superseded", "rejected"] },
|
|
1901
|
+
context: { type: "string" },
|
|
1902
|
+
decision: { type: "string" },
|
|
1903
|
+
consequences: { type: "string" },
|
|
1904
|
+
entityRefs: { type: "array", items: { type: "string" } },
|
|
1905
|
+
supersedesId: { type: "string" },
|
|
1906
|
+
traces: { type: "array", items: { type: "object" } }
|
|
1907
|
+
},
|
|
1908
|
+
required: def.required ?? [],
|
|
1909
|
+
additionalProperties: false
|
|
1910
|
+
}
|
|
1911
|
+
},
|
|
1912
|
+
this.emitLegacyTools
|
|
1913
|
+
);
|
|
1914
|
+
this.tools = [...this.tools, ...tools];
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1841
1917
|
if (this.sessionDeltaVisible) {
|
|
1842
1918
|
const deltaTools = withToolAliases(
|
|
1843
1919
|
{
|
|
@@ -1909,6 +1985,12 @@ var EngramMcpServer = class {
|
|
|
1909
1985
|
* (issue #1548 Track A PR 3, rule 39).
|
|
1910
1986
|
*/
|
|
1911
1987
|
architectureCardVisible;
|
|
1988
|
+
/**
|
|
1989
|
+
* Whether the 14 codegraph parity tools should appear in `tools/list`
|
|
1990
|
+
* (issue #1554). Config-only -- runtime availability is checked at call
|
|
1991
|
+
* time. When false the tools array is byte-identical to pre-feature.
|
|
1992
|
+
*/
|
|
1993
|
+
codegraphVisible;
|
|
1912
1994
|
sessionDeltaVisible;
|
|
1913
1995
|
/** Get clientInfo for a specific MCP session. Returns undefined for non-MCP requests. */
|
|
1914
1996
|
getClientInfo(sessionId) {
|
|
@@ -2219,7 +2301,14 @@ ${body}`;
|
|
|
2219
2301
|
if (!op) {
|
|
2220
2302
|
throw new EngramAccessInputError(`access-boundary: operation not registered: ${migrated}`);
|
|
2221
2303
|
}
|
|
2222
|
-
|
|
2304
|
+
let envelope;
|
|
2305
|
+
if (migrated === "memory_store") {
|
|
2306
|
+
envelope = parseMcpRequest("memoryStore", args);
|
|
2307
|
+
} else if (migrated.startsWith("codegraph_")) {
|
|
2308
|
+
envelope = { ...args, tool: migrated.slice("codegraph_".length) };
|
|
2309
|
+
} else {
|
|
2310
|
+
envelope = args;
|
|
2311
|
+
}
|
|
2223
2312
|
const output = await op.run(envelope, {
|
|
2224
2313
|
service: this.service,
|
|
2225
2314
|
authenticatedPrincipal: effectivePrincipal
|
|
@@ -3213,4 +3302,4 @@ ${body}`;
|
|
|
3213
3302
|
export {
|
|
3214
3303
|
EngramMcpServer
|
|
3215
3304
|
};
|
|
3216
|
-
//# sourceMappingURL=chunk-
|
|
3305
|
+
//# sourceMappingURL=chunk-6C4WHMKV.js.map
|