@remnic/core 9.3.692 → 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 +11 -9
- package/dist/access-cli.js +76 -23
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +5 -5
- package/dist/access-http.js +14 -12
- package/dist/access-mcp.d.ts +14 -5
- package/dist/access-mcp.js +13 -11
- package/dist/access-operations.d.ts +54 -7
- package/dist/access-operations.js +42 -10
- package/dist/{access-service-DvApf9LZ.d.ts → access-service-Ceq4TdPO.d.ts} +180 -3
- package/dist/access-service.d.ts +5 -5
- package/dist/access-service.js +10 -8
- package/dist/access-surface-catalog.d.ts +5 -5
- package/dist/access-surface-catalog.js +17 -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-V56S3A23.js → chunk-5A35EGHM.js} +1092 -29
- package/dist/chunk-5A35EGHM.js.map +1 -0
- package/dist/{chunk-3VVH6ZQW.js → chunk-5S53ZBPH.js} +2 -2
- package/dist/{chunk-DO7MDZMU.js → chunk-6C4WHMKV.js} +123 -7
- package/dist/chunk-6C4WHMKV.js.map +1 -0
- package/dist/{chunk-2D27ODNX.js → chunk-B55EAZNF.js} +2 -2
- package/dist/{chunk-W4MICQIZ.js → chunk-C5AOVGVC.js} +15 -15
- 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-O4ZIV62T.js → chunk-FCH766FX.js} +21 -19
- package/dist/chunk-FCH766FX.js.map +1 -0
- package/dist/{chunk-7MOTEVAA.js → chunk-HRUULBBV.js} +3 -1
- package/dist/chunk-HRUULBBV.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-2EN5WZQB.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-SEK4XIDN.js → chunk-SJGTY2TW.js} +35 -9
- 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-BjsY9Le7.d.ts → cli-CxtZyBLl.d.ts} +3 -3
- package/dist/cli.d.ts +6 -6
- package/dist/cli.js +28 -26
- 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 +37 -36
- 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 +16 -16
- 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/schemas.d.ts +28 -28
- 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/transfer/types.d.ts +12 -12
- 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 +19 -1
- package/src/access-cli.ts +65 -2
- package/src/access-http.ts +47 -3
- package/src/access-mcp.ts +128 -2
- package/src/access-operations.ts +305 -0
- package/src/access-service.ts +137 -0
- package/src/access-surface-catalog.test.ts +1 -1
- package/src/access-surface-catalog.ts +17 -0
- package/src/cli.ts +2 -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/coding-namespace.ts +1 -1
- package/src/coding/decision-surfaces.test.ts +2 -0
- package/src/coding/session-delta-surfaces.test.ts +385 -0
- package/src/coding/session-delta-surfaces.ts +325 -0
- package/src/coding/session-delta.test.ts +411 -0
- package/src/coding/session-delta.ts +442 -0
- package/src/config.test.ts +2 -0
- package/src/types.ts +14 -0
- package/dist/chunk-2EN5WZQB.js.map +0 -1
- package/dist/chunk-7MOTEVAA.js.map +0 -1
- package/dist/chunk-DO7MDZMU.js.map +0 -1
- package/dist/chunk-DQHZA7Y3.js.map +0 -1
- package/dist/chunk-NEILAC3H.js +0 -153
- package/dist/chunk-NEILAC3H.js.map +0 -1
- package/dist/chunk-O4ZIV62T.js.map +0 -1
- package/dist/chunk-SEK4XIDN.js.map +0 -1
- package/dist/chunk-V56S3A23.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-W4MICQIZ.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
package/dist/access-mcp.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Readable, Writable } from 'node:stream';
|
|
2
|
-
import {
|
|
2
|
+
import { g as EngramAccessService } from './access-service-Ceq4TdPO.js';
|
|
3
3
|
import './storage.js';
|
|
4
4
|
import './page-versioning.js';
|
|
5
5
|
import './consolidation-operator.js';
|
|
6
|
-
import './types-
|
|
6
|
+
import './types-CEWBmjCH.js';
|
|
7
7
|
import './types-ByK7T3L6.js';
|
|
8
8
|
import './index-DJ9QWMw-.js';
|
|
9
9
|
import './memory-projection-store.js';
|
|
@@ -21,7 +21,7 @@ import './user-model.js';
|
|
|
21
21
|
import './recall-audit-anomaly.js';
|
|
22
22
|
import './recall-audit.js';
|
|
23
23
|
import './explicit-capture.js';
|
|
24
|
-
import './orchestrator-
|
|
24
|
+
import './orchestrator-CnbxRQs8.js';
|
|
25
25
|
import './briefing.js';
|
|
26
26
|
import './buffer.js';
|
|
27
27
|
import './transcript.js';
|
|
@@ -33,7 +33,7 @@ import './fallback-llm.js';
|
|
|
33
33
|
import './resolve-provider-secret.js';
|
|
34
34
|
import './orchestration/maintenance.js';
|
|
35
35
|
import './namespaces/search.js';
|
|
36
|
-
import './catalog-
|
|
36
|
+
import './catalog-Tkb991rg.js';
|
|
37
37
|
import './live-connectors-runner.js';
|
|
38
38
|
import './framework-CNDn2164.js';
|
|
39
39
|
import './relevance.js';
|
|
@@ -49,7 +49,7 @@ import './lcm/archive.js';
|
|
|
49
49
|
import './lcm/summarizer.js';
|
|
50
50
|
import './lcm/dag.js';
|
|
51
51
|
import './lcm/queue.js';
|
|
52
|
-
import './semantic-consolidation-
|
|
52
|
+
import './semantic-consolidation-DXmtQ_4B.js';
|
|
53
53
|
import './connectors/codex-materialize.js';
|
|
54
54
|
import './logger.js';
|
|
55
55
|
import './conversation-index/backend.js';
|
|
@@ -134,6 +134,13 @@ declare class EngramMcpServer {
|
|
|
134
134
|
* (issue #1548 Track A PR 3, rule 39).
|
|
135
135
|
*/
|
|
136
136
|
private readonly architectureCardVisible;
|
|
137
|
+
/**
|
|
138
|
+
* Whether the 14 codegraph parity tools should appear in `tools/list`
|
|
139
|
+
* (issue #1554). Config-only -- runtime availability is checked at call
|
|
140
|
+
* time. When false the tools array is byte-identical to pre-feature.
|
|
141
|
+
*/
|
|
142
|
+
private readonly codegraphVisible;
|
|
143
|
+
private readonly sessionDeltaVisible;
|
|
137
144
|
constructor(service: EngramAccessService, options?: {
|
|
138
145
|
principal?: string;
|
|
139
146
|
citationsEnabled?: boolean;
|
|
@@ -141,6 +148,8 @@ declare class EngramMcpServer {
|
|
|
141
148
|
emitLegacyTools?: boolean;
|
|
142
149
|
codingDecisionVisible?: boolean;
|
|
143
150
|
architectureCardVisible?: boolean;
|
|
151
|
+
codegraphVisible?: boolean;
|
|
152
|
+
sessionDeltaVisible?: boolean;
|
|
144
153
|
});
|
|
145
154
|
/** Get clientInfo for a specific MCP session. Returns undefined for non-MCP requests. */
|
|
146
155
|
getClientInfo(sessionId?: string): {
|
package/dist/access-mcp.js
CHANGED
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EngramMcpServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6C4WHMKV.js";
|
|
4
4
|
import "./chunk-T4WDJPEZ.js";
|
|
5
5
|
import "./chunk-D24OXEPB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-CDOIDOTQ.js";
|
|
7
7
|
import "./chunk-UDJLF3BO.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-PQP6MFPL.js";
|
|
9
|
+
import "./chunk-5A35EGHM.js";
|
|
10
10
|
import "./chunk-GDASG7NC.js";
|
|
11
11
|
import "./chunk-GDB4J2H3.js";
|
|
12
12
|
import "./chunk-ARV3AUOM.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-VQ7B2Q6M.js";
|
|
14
|
+
import "./chunk-ERA5RSMZ.js";
|
|
15
|
+
import "./chunk-B55EAZNF.js";
|
|
14
16
|
import "./chunk-SOBJ6NEY.js";
|
|
15
17
|
import "./chunk-BT7NVCML.js";
|
|
16
18
|
import "./chunk-H7XKCNR6.js";
|
|
17
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-HRUULBBV.js";
|
|
18
20
|
import "./chunk-RS25QOKZ.js";
|
|
19
21
|
import "./chunk-JGSKJHF7.js";
|
|
20
22
|
import "./chunk-FF4KLI5W.js";
|
|
21
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-MOGFK2DU.js";
|
|
22
24
|
import "./chunk-BMFZLLNI.js";
|
|
23
25
|
import "./chunk-CI7RKSRE.js";
|
|
24
26
|
import "./chunk-6HMYUWXR.js";
|
|
25
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-MSUA4KAK.js";
|
|
26
28
|
import "./chunk-E6BOD3UJ.js";
|
|
27
29
|
import "./chunk-6ZNIUGXB.js";
|
|
28
30
|
import "./chunk-SANZHXY2.js";
|
|
@@ -54,14 +56,14 @@ import "./chunk-KF74X62T.js";
|
|
|
54
56
|
import "./chunk-2LSZVONP.js";
|
|
55
57
|
import "./chunk-DEUNUKTD.js";
|
|
56
58
|
import "./chunk-YN4ZT4CW.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-P7IDNF7H.js";
|
|
60
|
+
import "./chunk-NXNUG7IA.js";
|
|
59
61
|
import "./chunk-M7XQSUBB.js";
|
|
60
62
|
import "./chunk-5UZXUTVO.js";
|
|
61
63
|
import "./chunk-5GPPACXK.js";
|
|
62
64
|
import "./chunk-SVOZFLIQ.js";
|
|
63
65
|
import "./chunk-J6A3CX5N.js";
|
|
64
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-U62ZGWU7.js";
|
|
65
67
|
import "./chunk-SCU65EZI.js";
|
|
66
68
|
import "./chunk-MB5RSUW6.js";
|
|
67
69
|
import "./chunk-6KYMPV2O.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { OperationName, BoundOperation } from './access-boundary.js';
|
|
2
2
|
import { MemoryStoreRequest } from './access-schema.js';
|
|
3
|
-
import { A as ArchitectureSurfaceRequest, a as ArchitectureSurfaceResponse, D as DecisionSurfaceRequest, b as DecisionSurfaceResponse, E as EngramAccessMemoryResponse,
|
|
3
|
+
import { A as ArchitectureSurfaceRequest, a as ArchitectureSurfaceResponse, D as DecisionSurfaceRequest, b as DecisionSurfaceResponse, c as DeltaSurfaceRequest, d as DeltaSurfaceResponse, E as EngramAccessMemoryResponse, e as EngramAccessWriteResponse, C as CodegraphSurfaceRequest, f as CodegraphSurfaceResponse } from './access-service-Ceq4TdPO.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import './storage.js';
|
|
6
6
|
import './page-versioning.js';
|
|
7
7
|
import './consolidation-operator.js';
|
|
8
|
-
import './types-
|
|
8
|
+
import './types-CEWBmjCH.js';
|
|
9
9
|
import './types-ByK7T3L6.js';
|
|
10
10
|
import './index-DJ9QWMw-.js';
|
|
11
11
|
import './memory-projection-store.js';
|
|
@@ -23,7 +23,7 @@ import './user-model.js';
|
|
|
23
23
|
import './recall-audit-anomaly.js';
|
|
24
24
|
import './recall-audit.js';
|
|
25
25
|
import './explicit-capture.js';
|
|
26
|
-
import './orchestrator-
|
|
26
|
+
import './orchestrator-CnbxRQs8.js';
|
|
27
27
|
import './briefing.js';
|
|
28
28
|
import './buffer.js';
|
|
29
29
|
import './transcript.js';
|
|
@@ -35,7 +35,7 @@ import './fallback-llm.js';
|
|
|
35
35
|
import './resolve-provider-secret.js';
|
|
36
36
|
import './orchestration/maintenance.js';
|
|
37
37
|
import './namespaces/search.js';
|
|
38
|
-
import './catalog-
|
|
38
|
+
import './catalog-Tkb991rg.js';
|
|
39
39
|
import './live-connectors-runner.js';
|
|
40
40
|
import './framework-CNDn2164.js';
|
|
41
41
|
import './relevance.js';
|
|
@@ -51,7 +51,7 @@ import './lcm/archive.js';
|
|
|
51
51
|
import './lcm/summarizer.js';
|
|
52
52
|
import './lcm/dag.js';
|
|
53
53
|
import './lcm/queue.js';
|
|
54
|
-
import './semantic-consolidation-
|
|
54
|
+
import './semantic-consolidation-DXmtQ_4B.js';
|
|
55
55
|
import './connectors/codex-materialize.js';
|
|
56
56
|
import './logger.js';
|
|
57
57
|
import './conversation-index/backend.js';
|
|
@@ -130,11 +130,58 @@ type CodingArchitectureOutput = {
|
|
|
130
130
|
result: ArchitectureSurfaceResponse;
|
|
131
131
|
};
|
|
132
132
|
declare const codingArchitectureOperation: BoundOperation<ArchitectureSurfaceRequest, CodingArchitectureOutput>;
|
|
133
|
+
type CodingDeltaInput = DeltaSurfaceRequest;
|
|
134
|
+
type CodingDeltaOutput = {
|
|
135
|
+
result: DeltaSurfaceResponse;
|
|
136
|
+
};
|
|
137
|
+
declare const codingDeltaOperation: BoundOperation<DeltaSurfaceRequest, CodingDeltaOutput>;
|
|
133
138
|
/**
|
|
134
139
|
* The canonical short names (no `engram.`/`remnic.` prefix) of the operations
|
|
135
140
|
* the boundary owns today. The fitness test treats this set as the migrated
|
|
136
141
|
* set; everything else on a surface is unmigrated and counted by the ratchet.
|
|
137
142
|
*/
|
|
138
|
-
declare const
|
|
143
|
+
declare const codegraphIndexOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
144
|
+
result: CodegraphSurfaceResponse;
|
|
145
|
+
}>;
|
|
146
|
+
declare const codegraphListProjectsOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
147
|
+
result: CodegraphSurfaceResponse;
|
|
148
|
+
}>;
|
|
149
|
+
declare const codegraphDeleteProjectOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
150
|
+
result: CodegraphSurfaceResponse;
|
|
151
|
+
}>;
|
|
152
|
+
declare const codegraphIndexStatusOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
153
|
+
result: CodegraphSurfaceResponse;
|
|
154
|
+
}>;
|
|
155
|
+
declare const codegraphSearchGraphOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
156
|
+
result: CodegraphSurfaceResponse;
|
|
157
|
+
}>;
|
|
158
|
+
declare const codegraphTracePathOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
159
|
+
result: CodegraphSurfaceResponse;
|
|
160
|
+
}>;
|
|
161
|
+
declare const codegraphDetectChangesOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
162
|
+
result: CodegraphSurfaceResponse;
|
|
163
|
+
}>;
|
|
164
|
+
declare const codegraphQueryGraphOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
165
|
+
result: CodegraphSurfaceResponse;
|
|
166
|
+
}>;
|
|
167
|
+
declare const codegraphGetSchemaOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
168
|
+
result: CodegraphSurfaceResponse;
|
|
169
|
+
}>;
|
|
170
|
+
declare const codegraphGetSnippetOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
171
|
+
result: CodegraphSurfaceResponse;
|
|
172
|
+
}>;
|
|
173
|
+
declare const codegraphGetArchitectureOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
174
|
+
result: CodegraphSurfaceResponse;
|
|
175
|
+
}>;
|
|
176
|
+
declare const codegraphSearchCodeOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
177
|
+
result: CodegraphSurfaceResponse;
|
|
178
|
+
}>;
|
|
179
|
+
declare const codegraphManageAdrOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
180
|
+
result: CodegraphSurfaceResponse;
|
|
181
|
+
}>;
|
|
182
|
+
declare const codegraphIngestTracesOperation: BoundOperation<CodegraphSurfaceRequest, {
|
|
183
|
+
result: CodegraphSurfaceResponse;
|
|
184
|
+
}>;
|
|
185
|
+
declare const REGISTERED_OPERATIONS: readonly [OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName, OperationName];
|
|
139
186
|
|
|
140
|
-
export { type CodingArchitectureInput, type CodingArchitectureOutput, type CodingDecisionInput, type CodingDecisionOutput, type MemoryGetInput, type MemoryGetOutput, type MemorySearchInput, type MemorySearchOutput, type MemoryStoreInput, type MemoryStoreOutput, REGISTERED_OPERATIONS, codingArchitectureOperation, codingDecisionOperation, memoryGetOperation, memorySearchOperation, memoryStoreOperation };
|
|
187
|
+
export { type CodingArchitectureInput, type CodingArchitectureOutput, type CodingDecisionInput, type CodingDecisionOutput, type CodingDeltaInput, type CodingDeltaOutput, type MemoryGetInput, type MemoryGetOutput, type MemorySearchInput, type MemorySearchOutput, type MemoryStoreInput, type MemoryStoreOutput, REGISTERED_OPERATIONS, codegraphDeleteProjectOperation, codegraphDetectChangesOperation, codegraphGetArchitectureOperation, codegraphGetSchemaOperation, codegraphGetSnippetOperation, codegraphIndexOperation, codegraphIndexStatusOperation, codegraphIngestTracesOperation, codegraphListProjectsOperation, codegraphManageAdrOperation, codegraphQueryGraphOperation, codegraphSearchCodeOperation, codegraphSearchGraphOperation, codegraphTracePathOperation, codingArchitectureOperation, codingDecisionOperation, codingDeltaOperation, memoryGetOperation, memorySearchOperation, memoryStoreOperation };
|
|
@@ -1,30 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REGISTERED_OPERATIONS,
|
|
3
|
+
codegraphDeleteProjectOperation,
|
|
4
|
+
codegraphDetectChangesOperation,
|
|
5
|
+
codegraphGetArchitectureOperation,
|
|
6
|
+
codegraphGetSchemaOperation,
|
|
7
|
+
codegraphGetSnippetOperation,
|
|
8
|
+
codegraphIndexOperation,
|
|
9
|
+
codegraphIndexStatusOperation,
|
|
10
|
+
codegraphIngestTracesOperation,
|
|
11
|
+
codegraphListProjectsOperation,
|
|
12
|
+
codegraphManageAdrOperation,
|
|
13
|
+
codegraphQueryGraphOperation,
|
|
14
|
+
codegraphSearchCodeOperation,
|
|
15
|
+
codegraphSearchGraphOperation,
|
|
16
|
+
codegraphTracePathOperation,
|
|
3
17
|
codingArchitectureOperation,
|
|
4
18
|
codingDecisionOperation,
|
|
19
|
+
codingDeltaOperation,
|
|
5
20
|
memoryGetOperation,
|
|
6
21
|
memorySearchOperation,
|
|
7
22
|
memoryStoreOperation
|
|
8
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CDOIDOTQ.js";
|
|
9
24
|
import "./chunk-UDJLF3BO.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-PQP6MFPL.js";
|
|
26
|
+
import "./chunk-5A35EGHM.js";
|
|
12
27
|
import "./chunk-GDASG7NC.js";
|
|
13
28
|
import "./chunk-GDB4J2H3.js";
|
|
14
29
|
import "./chunk-ARV3AUOM.js";
|
|
15
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-VQ7B2Q6M.js";
|
|
31
|
+
import "./chunk-ERA5RSMZ.js";
|
|
32
|
+
import "./chunk-B55EAZNF.js";
|
|
16
33
|
import "./chunk-SOBJ6NEY.js";
|
|
17
34
|
import "./chunk-BT7NVCML.js";
|
|
18
35
|
import "./chunk-H7XKCNR6.js";
|
|
19
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-HRUULBBV.js";
|
|
20
37
|
import "./chunk-RS25QOKZ.js";
|
|
21
38
|
import "./chunk-JGSKJHF7.js";
|
|
22
39
|
import "./chunk-FF4KLI5W.js";
|
|
23
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-MOGFK2DU.js";
|
|
24
41
|
import "./chunk-BMFZLLNI.js";
|
|
25
42
|
import "./chunk-CI7RKSRE.js";
|
|
26
43
|
import "./chunk-6HMYUWXR.js";
|
|
27
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-MSUA4KAK.js";
|
|
28
45
|
import "./chunk-E6BOD3UJ.js";
|
|
29
46
|
import "./chunk-6ZNIUGXB.js";
|
|
30
47
|
import "./chunk-SANZHXY2.js";
|
|
@@ -56,14 +73,14 @@ import "./chunk-KF74X62T.js";
|
|
|
56
73
|
import "./chunk-2LSZVONP.js";
|
|
57
74
|
import "./chunk-DEUNUKTD.js";
|
|
58
75
|
import "./chunk-YN4ZT4CW.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-P7IDNF7H.js";
|
|
77
|
+
import "./chunk-NXNUG7IA.js";
|
|
61
78
|
import "./chunk-M7XQSUBB.js";
|
|
62
79
|
import "./chunk-5UZXUTVO.js";
|
|
63
80
|
import "./chunk-5GPPACXK.js";
|
|
64
81
|
import "./chunk-SVOZFLIQ.js";
|
|
65
82
|
import "./chunk-J6A3CX5N.js";
|
|
66
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-U62ZGWU7.js";
|
|
67
84
|
import "./chunk-SCU65EZI.js";
|
|
68
85
|
import "./chunk-MB5RSUW6.js";
|
|
69
86
|
import "./chunk-6KYMPV2O.js";
|
|
@@ -112,8 +129,23 @@ import "./chunk-VFUEZZBS.js";
|
|
|
112
129
|
import "./chunk-PZ5AY32C.js";
|
|
113
130
|
export {
|
|
114
131
|
REGISTERED_OPERATIONS,
|
|
132
|
+
codegraphDeleteProjectOperation,
|
|
133
|
+
codegraphDetectChangesOperation,
|
|
134
|
+
codegraphGetArchitectureOperation,
|
|
135
|
+
codegraphGetSchemaOperation,
|
|
136
|
+
codegraphGetSnippetOperation,
|
|
137
|
+
codegraphIndexOperation,
|
|
138
|
+
codegraphIndexStatusOperation,
|
|
139
|
+
codegraphIngestTracesOperation,
|
|
140
|
+
codegraphListProjectsOperation,
|
|
141
|
+
codegraphManageAdrOperation,
|
|
142
|
+
codegraphQueryGraphOperation,
|
|
143
|
+
codegraphSearchCodeOperation,
|
|
144
|
+
codegraphSearchGraphOperation,
|
|
145
|
+
codegraphTracePathOperation,
|
|
115
146
|
codingArchitectureOperation,
|
|
116
147
|
codingDecisionOperation,
|
|
148
|
+
codingDeltaOperation,
|
|
117
149
|
memoryGetOperation,
|
|
118
150
|
memorySearchOperation,
|
|
119
151
|
memoryStoreOperation
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { StorageManager } from './storage.js';
|
|
2
2
|
import { a as Peer, b as PeerProfile } from './types-B1VHaf2w.js';
|
|
3
3
|
import { RecallExplainJsonPayload } from './recall-explain-renderer.js';
|
|
4
|
-
import { P as PluginConfig, av as ScopeProfileLayerId, aw as ScopeProfilePromotionTarget, ah as DaySummaryResult, H as RecallPlanMode, K as RecallDisclosure, g as MemoryFile, n as MemoryLifecycleEvent, x as EntityFile, h as MemoryStatus, ax as DreamsStatusResult, ay as DreamsPhase, az as DreamsRunResult } from './types-
|
|
4
|
+
import { P as PluginConfig, av as ScopeProfileLayerId, aw as ScopeProfilePromotionTarget, ah as DaySummaryResult, H as RecallPlanMode, K as RecallDisclosure, g as MemoryFile, n as MemoryLifecycleEvent, x as EntityFile, h as MemoryStatus, ax as DreamsStatusResult, ay as DreamsPhase, az as DreamsRunResult } from './types-CEWBmjCH.js';
|
|
5
5
|
import { AnomalyDetectorResult } from './recall-audit-anomaly.js';
|
|
6
6
|
import { ExplicitCaptureInput } from './explicit-capture.js';
|
|
7
7
|
import { BudgetDecision } from './cross-namespace-budget.js';
|
|
8
8
|
import { readMemoryGovernanceRunArtifact } from './maintenance/memory-governance.js';
|
|
9
|
-
import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, W as WearablesService } from './orchestrator-
|
|
9
|
+
import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, W as WearablesService } from './orchestrator-CnbxRQs8.js';
|
|
10
10
|
import { LiveConnectorsRunSummary } from './live-connectors-runner.js';
|
|
11
11
|
import { LastRecallSnapshot } from './recall-state.js';
|
|
12
12
|
import { GraphSnapshotRequest, GraphSnapshotResponse } from './graph-snapshot.js';
|
|
@@ -219,6 +219,159 @@ type ArchitectureSurfaceResponse = {
|
|
|
219
219
|
buildCode?: string;
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
+
/**
|
|
223
|
+
* Codegraph parity surface contract + handler (issue #1554).
|
|
224
|
+
*
|
|
225
|
+
* Mirrors the decision-surfaces.ts / architecture-surfaces.ts pattern: one
|
|
226
|
+
* shared implementation behind the MCP, HTTP, and CLI surfaces. All three
|
|
227
|
+
* transports dispatch through the `codegraph_*` boundary operations, which
|
|
228
|
+
* call {@link handleCodegraphTool} via the service delegate.
|
|
229
|
+
*
|
|
230
|
+
* Gate (rule 39): `codingKnowledge.enabled + codegraphTools + runtime
|
|
231
|
+
* availability` -- one predicate (`codegraphSurfaceVisible`), checked
|
|
232
|
+
* identically on every surface. The tools/list visibility gate uses the
|
|
233
|
+
* config-only predicate; the call-time gate re-checks config AND runtime
|
|
234
|
+
* availability AND (for tools that touch a per-session project) a coding
|
|
235
|
+
* context.
|
|
236
|
+
*
|
|
237
|
+
* Reuse, don't fork (rule 22): `manage_adr` reuses Track A's decision
|
|
238
|
+
* records (`coding/decision-records.ts`); `get_architecture` composes
|
|
239
|
+
* Track A's architecture card with live graph stats. Zero duplicated ADR
|
|
240
|
+
* or architecture-card logic.
|
|
241
|
+
*/
|
|
242
|
+
|
|
243
|
+
declare const CODEGRAPH_TOOL_NAMES: readonly ["index", "list_projects", "delete_project", "index_status", "search_graph", "trace_path", "detect_changes", "query_graph", "get_schema", "get_snippet", "get_architecture", "search_code", "manage_adr", "ingest_traces"];
|
|
244
|
+
type CodegraphToolName = (typeof CODEGRAPH_TOOL_NAMES)[number];
|
|
245
|
+
/**
|
|
246
|
+
* Canonical surface request — one shape for all three transports. `tool`
|
|
247
|
+
* selects which codegraph operation runs; `sessionKey`/`principal`/`project`
|
|
248
|
+
* scope the per-project GraphStore lookup; remaining fields are
|
|
249
|
+
* tool-specific and validated by the handler.
|
|
250
|
+
*/
|
|
251
|
+
interface CodegraphSurfaceRequest {
|
|
252
|
+
readonly tool: CodegraphToolName;
|
|
253
|
+
readonly sessionKey?: string;
|
|
254
|
+
readonly principal?: string;
|
|
255
|
+
/** Explicit project id; defaults to the session's coding-context projectId. */
|
|
256
|
+
readonly project?: string;
|
|
257
|
+
readonly query?: string;
|
|
258
|
+
readonly limit?: number;
|
|
259
|
+
readonly start?: string;
|
|
260
|
+
readonly direction?: string;
|
|
261
|
+
readonly depth?: number;
|
|
262
|
+
readonly qualifiedName?: string;
|
|
263
|
+
readonly path?: string;
|
|
264
|
+
readonly structuredQuery?: Record<string, unknown>;
|
|
265
|
+
readonly head?: string;
|
|
266
|
+
readonly repoRoot?: string;
|
|
267
|
+
readonly mode?: string;
|
|
268
|
+
readonly confirm?: boolean;
|
|
269
|
+
readonly subcommand?: string;
|
|
270
|
+
readonly id?: string;
|
|
271
|
+
readonly title?: string;
|
|
272
|
+
readonly status?: string;
|
|
273
|
+
readonly context?: string;
|
|
274
|
+
readonly decision?: string;
|
|
275
|
+
readonly consequences?: string;
|
|
276
|
+
readonly entityRefs?: string[];
|
|
277
|
+
readonly supersedesId?: string;
|
|
278
|
+
readonly traces?: unknown[];
|
|
279
|
+
}
|
|
280
|
+
type CodegraphSurfaceResponse = {
|
|
281
|
+
tool: CodegraphToolName;
|
|
282
|
+
ok: true;
|
|
283
|
+
result: unknown;
|
|
284
|
+
} | {
|
|
285
|
+
tool: CodegraphToolName;
|
|
286
|
+
ok: false;
|
|
287
|
+
code: string;
|
|
288
|
+
message: string;
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
/** Persisted marker: the HEAD we last computed a delta against, and when. */
|
|
292
|
+
interface LastSeenState {
|
|
293
|
+
/** HEAD SHA at the time of the last delta. */
|
|
294
|
+
head: string;
|
|
295
|
+
/** ISO timestamp of the last delta computation. */
|
|
296
|
+
at: string;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Session-delta surface contract + handler (issue #1548 Track A PR 4).
|
|
301
|
+
*
|
|
302
|
+
* The single shared implementation behind the MCP, HTTP, and CLI
|
|
303
|
+
* session-delta surfaces. All three transports dispatch through the
|
|
304
|
+
* `coding_delta` boundary operation, which calls {@link handleCodingDelta}
|
|
305
|
+
* via the service delegate.
|
|
306
|
+
*
|
|
307
|
+
* Gate (rule 39): `codingKnowledge.enabled + sessionDelta + coding
|
|
308
|
+
* context` — one predicate, identical on every surface. The tools/list
|
|
309
|
+
* visibility gate checks conditions 1–2 only (config-level).
|
|
310
|
+
*
|
|
311
|
+
* Persistence (rule 25): the new last-seen-head marker is written AFTER
|
|
312
|
+
* the delta is computed from the old one. State writes use temp-file-then-
|
|
313
|
+
* rename (rule 54) via the pure module's `writeLastSeenState`.
|
|
314
|
+
*
|
|
315
|
+
* Subcommand: `get` — computes the delta against the persisted last-seen
|
|
316
|
+
* head and updates the marker in the same call (so the NEXT session sees
|
|
317
|
+
* this one as the baseline). Read-only semantically, but it mutates the
|
|
318
|
+
* state file: it is therefore NOT counted against the write-quota (the
|
|
319
|
+
* state file is operator-side bookkeeping, not user memory content — the
|
|
320
|
+
* same way `calibration.ts` writes are uncounted).
|
|
321
|
+
*/
|
|
322
|
+
|
|
323
|
+
declare const DELTA_SUBCOMMANDS: readonly ["get"];
|
|
324
|
+
type DeltaSubcommand = (typeof DELTA_SUBCOMMANDS)[number];
|
|
325
|
+
/** Canonical surface request — one shape for all three transports. */
|
|
326
|
+
interface DeltaSurfaceRequest {
|
|
327
|
+
subcommand: DeltaSubcommand;
|
|
328
|
+
sessionKey?: string;
|
|
329
|
+
namespace?: string;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Surface response. Mirrors {@link SessionDeltaResult} but flattened for
|
|
333
|
+
* transport: every outcome carries `nextState` so callers can observe the
|
|
334
|
+
* new marker even on failure (the head still advanced).
|
|
335
|
+
*/
|
|
336
|
+
type DeltaSurfaceResponse = {
|
|
337
|
+
subcommand: "get";
|
|
338
|
+
ok: true;
|
|
339
|
+
/** A real delta was computed. */
|
|
340
|
+
kind: "changed";
|
|
341
|
+
delta: {
|
|
342
|
+
commits: ReadonlyArray<{
|
|
343
|
+
sha: string;
|
|
344
|
+
subject: string;
|
|
345
|
+
}>;
|
|
346
|
+
touchedFiles: readonly string[];
|
|
347
|
+
summaryLine: string;
|
|
348
|
+
};
|
|
349
|
+
nextState: LastSeenState;
|
|
350
|
+
} | {
|
|
351
|
+
subcommand: "get";
|
|
352
|
+
ok: true;
|
|
353
|
+
/** Prior head equals current — no changes. */
|
|
354
|
+
kind: "unchanged";
|
|
355
|
+
nextState: LastSeenState;
|
|
356
|
+
} | {
|
|
357
|
+
subcommand: "get";
|
|
358
|
+
ok: true;
|
|
359
|
+
/** No prior state — first session for this namespace. */
|
|
360
|
+
kind: "first_run";
|
|
361
|
+
nextState: LastSeenState;
|
|
362
|
+
} | {
|
|
363
|
+
subcommand: "get";
|
|
364
|
+
/**
|
|
365
|
+
* Delta unavailable. `code` is one of `unreachable_head` (force-push/
|
|
366
|
+
* rebase erased the prior head) or `git_failed` (invoker error). The
|
|
367
|
+
* state file is still advanced when `nextState` is present.
|
|
368
|
+
*/
|
|
369
|
+
ok: false;
|
|
370
|
+
code: "unreachable_head" | "git_failed";
|
|
371
|
+
detail: string;
|
|
372
|
+
nextState?: LastSeenState;
|
|
373
|
+
};
|
|
374
|
+
|
|
222
375
|
/**
|
|
223
376
|
* Procedural memory stats surface (issue #567 PR 5/5).
|
|
224
377
|
*
|
|
@@ -1239,6 +1392,14 @@ declare class EngramAccessService {
|
|
|
1239
1392
|
peekSuggestionSubmitIdempotency(request: EngramAccessSuggestionSubmitRequest): Promise<EngramAccessIdempotencyStatus>;
|
|
1240
1393
|
private validateWriteCandidate;
|
|
1241
1394
|
memoryGet(memoryId: string, namespace?: string, principal?: string): Promise<EngramAccessMemoryResponse>;
|
|
1395
|
+
/**
|
|
1396
|
+
* Codegraph parity tool delegate (issue #1554). All three surfaces (MCP,
|
|
1397
|
+
* HTTP, CLI) arrive here via the codegraph_* boundary operations. The
|
|
1398
|
+
* handler lives in coding/codegraph-surfaces.ts; this method just wires
|
|
1399
|
+
* the context. Memory dir + principal + coding-context lookup come from
|
|
1400
|
+
* the orchestrator/access-service fabric -- no handler-side state.
|
|
1401
|
+
*/
|
|
1402
|
+
codegraphTool(request: CodegraphSurfaceRequest, authenticatedPrincipal?: string): Promise<CodegraphSurfaceResponse>;
|
|
1242
1403
|
/** Whether the coding_decision tool should appear in tools/list (rule 39). */
|
|
1243
1404
|
get decisionRecordSurfaceVisible(): boolean;
|
|
1244
1405
|
/**
|
|
@@ -1251,12 +1412,28 @@ declare class EngramAccessService {
|
|
|
1251
1412
|
codingDecision(request: DecisionSurfaceRequest, authenticatedPrincipal?: string): Promise<DecisionSurfaceResponse>;
|
|
1252
1413
|
/** Whether the coding_architecture tool should appear in tools/list (rule 39). */
|
|
1253
1414
|
get architectureCardSurfaceVisible(): boolean;
|
|
1415
|
+
/**
|
|
1416
|
+
* Whether the 14 codegraph parity tools should appear in tools/list
|
|
1417
|
+
* (rule 39). Config-only -- runtime availability is checked at call time.
|
|
1418
|
+
* When false the tools array is byte-identical to pre-feature.
|
|
1419
|
+
*/
|
|
1420
|
+
get codegraphSurfaceVisible(): boolean;
|
|
1254
1421
|
/**
|
|
1255
1422
|
* Thin delegate — handler logic in coding/architecture-surfaces.ts (#1548 PR3).
|
|
1256
1423
|
* All three surfaces (MCP/HTTP/CLI) arrive here via the boundary operation.
|
|
1257
1424
|
* Namespace resolution uses the SAME coding-scoped path as decision records.
|
|
1258
1425
|
*/
|
|
1259
1426
|
codingArchitecture(request: ArchitectureSurfaceRequest, authenticatedPrincipal?: string): Promise<ArchitectureSurfaceResponse>;
|
|
1427
|
+
/** Whether the coding_delta tool should appear in tools/list (rule 39). */
|
|
1428
|
+
get sessionDeltaSurfaceVisible(): boolean;
|
|
1429
|
+
/**
|
|
1430
|
+
* Thin delegate — handler logic in coding/session-delta-surfaces.ts (#1548 PR4).
|
|
1431
|
+
* All three surfaces (MCP/HTTP/CLI) arrive here via the boundary operation.
|
|
1432
|
+
* Namespace resolution uses the SAME coding-scoped read path as the other
|
|
1433
|
+
* coding surfaces; the delta state file lives under
|
|
1434
|
+
* `<memoryDir>/state/coding-knowledge/<namespace>.json`.
|
|
1435
|
+
*/
|
|
1436
|
+
codingDelta(request: DeltaSurfaceRequest, authenticatedPrincipal?: string): Promise<DeltaSurfaceResponse>;
|
|
1260
1437
|
memoryBrowse(request?: EngramAccessMemoryBrowseRequest): Promise<EngramAccessMemoryBrowseResponse>;
|
|
1261
1438
|
memoryTimeline(memoryId: string, namespace?: string, limit?: number, principal?: string): Promise<EngramAccessTimelineResponse>;
|
|
1262
1439
|
entityList(options?: {
|
|
@@ -2023,4 +2200,4 @@ declare class EngramAccessService {
|
|
|
2023
2200
|
}): Promise<Awaited<ReturnType<WearablesService["transcriptMemories"]>>>;
|
|
2024
2201
|
}
|
|
2025
2202
|
|
|
2026
|
-
export { type
|
|
2203
|
+
export { type EngramAccessOfflineSyncFilesRequest as $, type ArchitectureSurfaceRequest as A, type EngramAccessLcmCompactionFlushRequest as B, type CodegraphSurfaceRequest as C, type DecisionSurfaceRequest as D, type EngramAccessMemoryResponse as E, type EngramAccessLcmCompactionFlushResponse as F, type EngramAccessLcmCompactionRecordRequest as G, type EngramAccessLcmCompactionRecordResponse as H, type EngramAccessLcmSearchRequest as I, type EngramAccessLcmSearchResponse as J, type EngramAccessLcmStatusResponse as K, type EngramAccessMaintenanceResponse as L, type EngramAccessMemoryBrowseRequest as M, type EngramAccessMemoryBrowseResponse as N, type EngramAccessMemoryRecord as O, type ProcedureStatsConfigSnapshot as P, type EngramAccessMemoryStoreRequest as Q, type EngramAccessMemorySummary as R, type EngramAccessObserveMessage as S, type EngramAccessObserveRequest as T, type EngramAccessObserveResponse as U, type EngramAccessOfflineSyncApplyFileContentRequest as V, type EngramAccessOfflineSyncApplyFileContentResponse as W, type EngramAccessOfflineSyncApplyRequest as X, type EngramAccessOfflineSyncApplyResponse as Y, type EngramAccessOfflineSyncFileContentRequest as Z, type EngramAccessOfflineSyncFileContentResponse as _, type ArchitectureSurfaceResponse as a, type EngramAccessOfflineSyncFilesResponse as a0, type EngramAccessOfflineSyncSnapshotRequest as a1, type EngramAccessOfflineSyncSnapshotResponse as a2, type EngramAccessOfflineSyncSnapshotStreamResponse as a3, type EngramAccessQmdCollectionState as a4, type EngramAccessQmdHealthResponse as a5, type EngramAccessQualityResponse as a6, type EngramAccessRecallExplainRequest as a7, type EngramAccessRecallExplainResponse as a8, type EngramAccessRecallRequest as a9, type EngramAccessReviewDispositionRequest as aa, type EngramAccessReviewDispositionResponse as ab, type EngramAccessReviewQueueResponse as ac, type EngramAccessScopeDebug as ad, type EngramAccessSetCodingContextRequest as ae, type EngramAccessSuggestionSubmitRequest as af, type EngramAccessTimelineResponse as ag, type EngramAccessTrustZoneBrowseRequest as ah, type EngramAccessTrustZoneBrowseResponse as ai, type EngramAccessTrustZoneDemoSeedRequest as aj, type EngramAccessTrustZoneDemoSeedResponse as ak, type EngramAccessTrustZonePromoteRequest as al, type EngramAccessTrustZonePromoteResponse as am, type EngramAccessTrustZoneRecordSummary as an, type EngramAccessTrustZoneStatusResponse as ao, type EngramAccessWriteEnvelope as ap, type MemoryScopePlan as aq, shapeMemorySummary as ar, type DecisionSurfaceResponse as b, type DeltaSurfaceRequest as c, type DeltaSurfaceResponse as d, type EngramAccessWriteResponse as e, type CodegraphSurfaceResponse as f, EngramAccessService as g, type EngramAccessRecallResponse as h, EngramAccessInputError as i, type ProcedureStatsRecent as j, type ProcedureStatsReport as k, type ProcedureStatusCounts as l, computeProcedureStats as m, formatProcedureStatsText as n, type CodingScopedWriteInput as o, ENGRAM_ACCESS_WRITE_SCHEMA_VERSION as p, type EngramAccessActionConfidenceRequest as q, type EngramAccessActionConfidenceResponse as r, type EngramAccessBriefingRequest as s, type EngramAccessBriefingResponse as t, type EngramAccessCapsuleListResponse as u, type EngramAccessDaySummaryRequest as v, type EngramAccessEntityListResponse as w, type EngramAccessEntityResponse as x, type EngramAccessEntitySummary as y, type EngramAccessHealthResponse as z };
|
package/dist/access-service.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './storage.js';
|
|
2
2
|
import './types-B1VHaf2w.js';
|
|
3
|
-
export {
|
|
3
|
+
export { o as CodingScopedWriteInput, p as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, q as EngramAccessActionConfidenceRequest, r as EngramAccessActionConfidenceResponse, s as EngramAccessBriefingRequest, t as EngramAccessBriefingResponse, u as EngramAccessCapsuleListResponse, v as EngramAccessDaySummaryRequest, w as EngramAccessEntityListResponse, x as EngramAccessEntityResponse, y as EngramAccessEntitySummary, z as EngramAccessHealthResponse, i as EngramAccessInputError, B as EngramAccessLcmCompactionFlushRequest, F as EngramAccessLcmCompactionFlushResponse, G as EngramAccessLcmCompactionRecordRequest, H as EngramAccessLcmCompactionRecordResponse, I as EngramAccessLcmSearchRequest, J as EngramAccessLcmSearchResponse, K as EngramAccessLcmStatusResponse, L as EngramAccessMaintenanceResponse, M as EngramAccessMemoryBrowseRequest, N as EngramAccessMemoryBrowseResponse, O as EngramAccessMemoryRecord, E as EngramAccessMemoryResponse, Q as EngramAccessMemoryStoreRequest, R as EngramAccessMemorySummary, S as EngramAccessObserveMessage, T as EngramAccessObserveRequest, U as EngramAccessObserveResponse, V as EngramAccessOfflineSyncApplyFileContentRequest, W as EngramAccessOfflineSyncApplyFileContentResponse, X as EngramAccessOfflineSyncApplyRequest, Y as EngramAccessOfflineSyncApplyResponse, Z as EngramAccessOfflineSyncFileContentRequest, _ as EngramAccessOfflineSyncFileContentResponse, $ as EngramAccessOfflineSyncFilesRequest, a0 as EngramAccessOfflineSyncFilesResponse, a1 as EngramAccessOfflineSyncSnapshotRequest, a2 as EngramAccessOfflineSyncSnapshotResponse, a3 as EngramAccessOfflineSyncSnapshotStreamResponse, a4 as EngramAccessQmdCollectionState, a5 as EngramAccessQmdHealthResponse, a6 as EngramAccessQualityResponse, a7 as EngramAccessRecallExplainRequest, a8 as EngramAccessRecallExplainResponse, a9 as EngramAccessRecallRequest, h as EngramAccessRecallResponse, aa as EngramAccessReviewDispositionRequest, ab as EngramAccessReviewDispositionResponse, ac as EngramAccessReviewQueueResponse, ad as EngramAccessScopeDebug, g as EngramAccessService, ae as EngramAccessSetCodingContextRequest, af as EngramAccessSuggestionSubmitRequest, ag as EngramAccessTimelineResponse, ah as EngramAccessTrustZoneBrowseRequest, ai as EngramAccessTrustZoneBrowseResponse, aj as EngramAccessTrustZoneDemoSeedRequest, ak as EngramAccessTrustZoneDemoSeedResponse, al as EngramAccessTrustZonePromoteRequest, am as EngramAccessTrustZonePromoteResponse, an as EngramAccessTrustZoneRecordSummary, ao as EngramAccessTrustZoneStatusResponse, ap as EngramAccessWriteEnvelope, e as EngramAccessWriteResponse, aq as MemoryScopePlan, ar as shapeMemorySummary } from './access-service-Ceq4TdPO.js';
|
|
4
4
|
import './recall-explain-renderer.js';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-CEWBmjCH.js';
|
|
6
6
|
import './recall-audit-anomaly.js';
|
|
7
7
|
import './explicit-capture.js';
|
|
8
8
|
import './cross-namespace-budget.js';
|
|
9
9
|
import './maintenance/memory-governance.js';
|
|
10
|
-
import './orchestrator-
|
|
10
|
+
import './orchestrator-CnbxRQs8.js';
|
|
11
11
|
import './live-connectors-runner.js';
|
|
12
12
|
import './recall-state.js';
|
|
13
13
|
import './graph-snapshot.js';
|
|
@@ -43,7 +43,7 @@ import './model-registry.js';
|
|
|
43
43
|
import './resolve-provider-secret.js';
|
|
44
44
|
import './orchestration/maintenance.js';
|
|
45
45
|
import './namespaces/search.js';
|
|
46
|
-
import './catalog-
|
|
46
|
+
import './catalog-Tkb991rg.js';
|
|
47
47
|
import './framework-CNDn2164.js';
|
|
48
48
|
import './relevance.js';
|
|
49
49
|
import './negative.js';
|
|
@@ -57,7 +57,7 @@ import './lcm/archive.js';
|
|
|
57
57
|
import './lcm/summarizer.js';
|
|
58
58
|
import './lcm/dag.js';
|
|
59
59
|
import './lcm/queue.js';
|
|
60
|
-
import './semantic-consolidation-
|
|
60
|
+
import './semantic-consolidation-DXmtQ_4B.js';
|
|
61
61
|
import './connectors/codex-materialize.js';
|
|
62
62
|
import './logger.js';
|
|
63
63
|
import './conversation-index/backend.js';
|
package/dist/access-service.js
CHANGED
|
@@ -3,23 +3,25 @@ import {
|
|
|
3
3
|
EngramAccessInputError,
|
|
4
4
|
EngramAccessService,
|
|
5
5
|
shapeMemorySummary
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5A35EGHM.js";
|
|
7
7
|
import "./chunk-GDASG7NC.js";
|
|
8
8
|
import "./chunk-GDB4J2H3.js";
|
|
9
9
|
import "./chunk-ARV3AUOM.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-VQ7B2Q6M.js";
|
|
11
|
+
import "./chunk-ERA5RSMZ.js";
|
|
12
|
+
import "./chunk-B55EAZNF.js";
|
|
11
13
|
import "./chunk-SOBJ6NEY.js";
|
|
12
14
|
import "./chunk-BT7NVCML.js";
|
|
13
15
|
import "./chunk-H7XKCNR6.js";
|
|
14
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-HRUULBBV.js";
|
|
15
17
|
import "./chunk-RS25QOKZ.js";
|
|
16
18
|
import "./chunk-JGSKJHF7.js";
|
|
17
19
|
import "./chunk-FF4KLI5W.js";
|
|
18
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-MOGFK2DU.js";
|
|
19
21
|
import "./chunk-BMFZLLNI.js";
|
|
20
22
|
import "./chunk-CI7RKSRE.js";
|
|
21
23
|
import "./chunk-6HMYUWXR.js";
|
|
22
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-MSUA4KAK.js";
|
|
23
25
|
import "./chunk-E6BOD3UJ.js";
|
|
24
26
|
import "./chunk-6ZNIUGXB.js";
|
|
25
27
|
import "./chunk-SANZHXY2.js";
|
|
@@ -51,14 +53,14 @@ import "./chunk-KF74X62T.js";
|
|
|
51
53
|
import "./chunk-2LSZVONP.js";
|
|
52
54
|
import "./chunk-DEUNUKTD.js";
|
|
53
55
|
import "./chunk-YN4ZT4CW.js";
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-P7IDNF7H.js";
|
|
57
|
+
import "./chunk-NXNUG7IA.js";
|
|
56
58
|
import "./chunk-M7XQSUBB.js";
|
|
57
59
|
import "./chunk-5UZXUTVO.js";
|
|
58
60
|
import "./chunk-5GPPACXK.js";
|
|
59
61
|
import "./chunk-SVOZFLIQ.js";
|
|
60
62
|
import "./chunk-J6A3CX5N.js";
|
|
61
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-U62ZGWU7.js";
|
|
62
64
|
import "./chunk-SCU65EZI.js";
|
|
63
65
|
import "./chunk-MB5RSUW6.js";
|
|
64
66
|
import "./chunk-6KYMPV2O.js";
|