@remnic/core 9.3.670 → 9.3.672
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-cli.js +22 -22
- package/dist/access-http.d.ts +4 -4
- package/dist/access-http.js +13 -13
- package/dist/access-mcp.d.ts +4 -4
- package/dist/access-mcp.js +12 -12
- package/dist/{access-service-BCuaiNHa.d.ts → access-service-S9oGKPZc.d.ts} +2 -2
- package/dist/access-service.d.ts +4 -4
- package/dist/access-service.js +11 -11
- 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 +3 -3
- 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/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +4 -4
- package/dist/{chunk-UOBLE67F.js → chunk-3IE22DJ2.js} +4 -4
- package/dist/{chunk-BQJUPECT.js → chunk-3OKWZT7F.js} +2 -2
- package/dist/{chunk-XS2CWEHZ.js → chunk-4QZ7H6FN.js} +2 -2
- package/dist/chunk-52LZ42LI.js +25 -0
- package/dist/chunk-52LZ42LI.js.map +1 -0
- package/dist/{chunk-2MXEVL75.js → chunk-6VP3YUCS.js} +2 -2
- package/dist/{chunk-UVUTV7CM.js → chunk-7O5CFNN4.js} +8 -8
- package/dist/{chunk-WXXLSZHA.js → chunk-ATRB6Q25.js} +2 -2
- package/dist/{chunk-46WUVFOD.js → chunk-AYGT6VBC.js} +4 -4
- package/dist/{chunk-KOXGLQS7.js → chunk-B6IUW76R.js} +2 -2
- package/dist/{chunk-AARDBQTA.js → chunk-CTCPB57O.js} +2 -2
- package/dist/{chunk-Q2LQZYQ7.js → chunk-CXKETYZ7.js} +3 -3
- package/dist/{chunk-23EBQ27U.js → chunk-EJYFPRED.js} +2 -2
- package/dist/{chunk-WKMCC4NQ.js → chunk-EUM7CZFM.js} +2 -2
- package/dist/{chunk-AZBV4RRY.js → chunk-FMSDA2D3.js} +1 -1
- package/dist/chunk-FMSDA2D3.js.map +1 -0
- package/dist/{chunk-QHWJG5C5.js → chunk-FP4ISXI3.js} +5 -5
- package/dist/{chunk-SXYCVRLK.js → chunk-GSTYVG5L.js} +3 -3
- package/dist/{chunk-CRO4LCQ6.js → chunk-KJOYHNS7.js} +5 -5
- package/dist/{chunk-XMWF6AU3.js → chunk-LVTTO3VC.js} +2 -2
- package/dist/{chunk-TJ7HH5LB.js → chunk-LZSMQHXC.js} +2 -2
- package/dist/{chunk-PIA4C3AJ.js → chunk-M3WF2AB6.js} +14 -14
- package/dist/{chunk-CTAV55JM.js → chunk-MLVMBV2C.js} +75 -1
- package/dist/chunk-MLVMBV2C.js.map +1 -0
- package/dist/{chunk-QZ7ODIVL.js → chunk-MNUPGYIV.js} +2 -2
- package/dist/{chunk-MR4PJ277.js → chunk-MTJ2LFAJ.js} +2 -2
- package/dist/{chunk-2TCHDANJ.js → chunk-NXBXM7Q6.js} +2 -2
- package/dist/{chunk-TIJYQXDI.js → chunk-OHX52AOS.js} +2 -2
- package/dist/{chunk-PEPHBH2W.js → chunk-PYTATYUV.js} +2 -2
- package/dist/{chunk-JTPXSXHC.js → chunk-V4ZHKCGA.js} +2 -2
- package/dist/{chunk-OI4BXFSB.js → chunk-VL5JJOOY.js} +2 -2
- package/dist/{chunk-A5TEHAR4.js → chunk-ZCVPFDHB.js} +3 -3
- package/dist/{chunk-MPXYHC35.js → chunk-ZQJHKN7J.js} +20 -20
- package/dist/{chunk-4T7P2HLJ.js → chunk-ZUPFMHJA.js} +3 -3
- package/dist/{cli-C98xlwYA.d.ts → cli-B2Ve7R22.d.ts} +3 -3
- package/dist/cli.d.ts +5 -5
- package/dist/cli.js +26 -26
- package/dist/coding/optional-coding-graph.d.ts +63 -0
- package/dist/coding/optional-coding-graph.js +119 -0
- package/dist/coding/optional-coding-graph.js.map +1 -0
- package/dist/coding-graph-types-Dd2tGrnm.d.ts +106 -0
- 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/backend.js +2 -2
- 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 +3 -3
- 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 -8
- package/dist/index.js +39 -33
- 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/engine.js +2 -2
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +2 -2
- 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 +4 -4
- 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 +1 -1
- package/dist/namespaces/migrate.js +8 -8
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +4 -4
- package/dist/namespaces/storage.d.ts +1 -1
- 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 +11 -11
- package/dist/{orchestrator-DyP9QYsh.d.ts → orchestrator-7zPqGupX.d.ts} +2 -2
- package/dist/orchestrator.d.ts +3 -3
- package/dist/orchestrator.js +18 -18
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.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 +22 -22
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +3 -3
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +3 -3
- 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-BICZvQ3C.d.ts → semantic-consolidation-BX9Z9_aK.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-D96bCB3C.d.ts → types-D3pm4NhH.d.ts} +30 -1
- 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 +19 -1
- package/src/coding/coding-graph-types.ts +180 -0
- package/src/coding/coding-knowledge-config.ts +111 -0
- package/src/coding/decision-records.test.ts +434 -0
- package/src/coding/decision-records.ts +507 -0
- package/src/coding/optional-coding-graph-cache.test.ts +86 -0
- package/src/coding/optional-coding-graph-cacheread.test.ts +78 -0
- package/src/coding/optional-coding-graph-concurrent.test.ts +48 -0
- package/src/coding/optional-coding-graph-incompatible.test.ts +98 -0
- package/src/coding/optional-coding-graph-probe.test.ts +34 -0
- package/src/coding/optional-coding-graph.test.ts +117 -0
- package/src/coding/optional-coding-graph.ts +370 -0
- package/src/config.test.ts +118 -0
- package/src/config.ts +3 -2
- package/src/index.ts +22 -0
- package/src/types.ts +35 -0
- package/dist/chunk-AZBV4RRY.js.map +0 -1
- package/dist/chunk-CTAV55JM.js.map +0 -1
- /package/dist/{chunk-UOBLE67F.js.map → chunk-3IE22DJ2.js.map} +0 -0
- /package/dist/{chunk-BQJUPECT.js.map → chunk-3OKWZT7F.js.map} +0 -0
- /package/dist/{chunk-XS2CWEHZ.js.map → chunk-4QZ7H6FN.js.map} +0 -0
- /package/dist/{chunk-2MXEVL75.js.map → chunk-6VP3YUCS.js.map} +0 -0
- /package/dist/{chunk-UVUTV7CM.js.map → chunk-7O5CFNN4.js.map} +0 -0
- /package/dist/{chunk-WXXLSZHA.js.map → chunk-ATRB6Q25.js.map} +0 -0
- /package/dist/{chunk-46WUVFOD.js.map → chunk-AYGT6VBC.js.map} +0 -0
- /package/dist/{chunk-KOXGLQS7.js.map → chunk-B6IUW76R.js.map} +0 -0
- /package/dist/{chunk-AARDBQTA.js.map → chunk-CTCPB57O.js.map} +0 -0
- /package/dist/{chunk-Q2LQZYQ7.js.map → chunk-CXKETYZ7.js.map} +0 -0
- /package/dist/{chunk-23EBQ27U.js.map → chunk-EJYFPRED.js.map} +0 -0
- /package/dist/{chunk-WKMCC4NQ.js.map → chunk-EUM7CZFM.js.map} +0 -0
- /package/dist/{chunk-QHWJG5C5.js.map → chunk-FP4ISXI3.js.map} +0 -0
- /package/dist/{chunk-SXYCVRLK.js.map → chunk-GSTYVG5L.js.map} +0 -0
- /package/dist/{chunk-CRO4LCQ6.js.map → chunk-KJOYHNS7.js.map} +0 -0
- /package/dist/{chunk-XMWF6AU3.js.map → chunk-LVTTO3VC.js.map} +0 -0
- /package/dist/{chunk-TJ7HH5LB.js.map → chunk-LZSMQHXC.js.map} +0 -0
- /package/dist/{chunk-PIA4C3AJ.js.map → chunk-M3WF2AB6.js.map} +0 -0
- /package/dist/{chunk-QZ7ODIVL.js.map → chunk-MNUPGYIV.js.map} +0 -0
- /package/dist/{chunk-MR4PJ277.js.map → chunk-MTJ2LFAJ.js.map} +0 -0
- /package/dist/{chunk-2TCHDANJ.js.map → chunk-NXBXM7Q6.js.map} +0 -0
- /package/dist/{chunk-TIJYQXDI.js.map → chunk-OHX52AOS.js.map} +0 -0
- /package/dist/{chunk-PEPHBH2W.js.map → chunk-PYTATYUV.js.map} +0 -0
- /package/dist/{chunk-JTPXSXHC.js.map → chunk-V4ZHKCGA.js.map} +0 -0
- /package/dist/{chunk-OI4BXFSB.js.map → chunk-VL5JJOOY.js.map} +0 -0
- /package/dist/{chunk-A5TEHAR4.js.map → chunk-ZCVPFDHB.js.map} +0 -0
- /package/dist/{chunk-MPXYHC35.js.map → chunk-ZQJHKN7J.js.map} +0 -0
- /package/dist/{chunk-4T7P2HLJ.js.map → chunk-ZUPFMHJA.js.map} +0 -0
package/dist/threading.d.ts
CHANGED
package/dist/tier-migration.d.ts
CHANGED
package/dist/tier-routing.d.ts
CHANGED
package/dist/topics.d.ts
CHANGED
package/dist/transcript.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, _ as TranscriptEntry, $ as Checkpoint } from './types-
|
|
1
|
+
import { P as PluginConfig, _ as TranscriptEntry, $ as Checkpoint } from './types-D3pm4NhH.js';
|
|
2
2
|
import { SessionIntegrityReport } from './session-integrity.js';
|
|
3
3
|
import './types-ByK7T3L6.js';
|
|
4
4
|
import './index-DJ9QWMw-.js';
|
package/dist/transfer/types.d.ts
CHANGED
|
@@ -313,13 +313,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
313
313
|
peerProfiles: boolean;
|
|
314
314
|
}>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
schemaVersion: string;
|
|
317
316
|
includes: {
|
|
318
317
|
procedural: boolean;
|
|
319
318
|
taxonomy: boolean;
|
|
320
319
|
identityAnchors: boolean;
|
|
321
320
|
peerProfiles: boolean;
|
|
322
321
|
};
|
|
322
|
+
schemaVersion: string;
|
|
323
323
|
id: string;
|
|
324
324
|
description: string;
|
|
325
325
|
version: string;
|
|
@@ -334,13 +334,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
334
334
|
directAnswerEnabled: boolean;
|
|
335
335
|
};
|
|
336
336
|
}, {
|
|
337
|
-
schemaVersion: string;
|
|
338
337
|
includes: {
|
|
339
338
|
procedural: boolean;
|
|
340
339
|
taxonomy: boolean;
|
|
341
340
|
identityAnchors: boolean;
|
|
342
341
|
peerProfiles: boolean;
|
|
343
342
|
};
|
|
343
|
+
schemaVersion: string;
|
|
344
344
|
id: string;
|
|
345
345
|
description: string;
|
|
346
346
|
version: string;
|
|
@@ -464,13 +464,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
464
464
|
peerProfiles: boolean;
|
|
465
465
|
}>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
-
schemaVersion: string;
|
|
468
467
|
includes: {
|
|
469
468
|
procedural: boolean;
|
|
470
469
|
taxonomy: boolean;
|
|
471
470
|
identityAnchors: boolean;
|
|
472
471
|
peerProfiles: boolean;
|
|
473
472
|
};
|
|
473
|
+
schemaVersion: string;
|
|
474
474
|
id: string;
|
|
475
475
|
description: string;
|
|
476
476
|
version: string;
|
|
@@ -485,13 +485,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
485
485
|
directAnswerEnabled: boolean;
|
|
486
486
|
};
|
|
487
487
|
}, {
|
|
488
|
-
schemaVersion: string;
|
|
489
488
|
includes: {
|
|
490
489
|
procedural: boolean;
|
|
491
490
|
taxonomy: boolean;
|
|
492
491
|
identityAnchors: boolean;
|
|
493
492
|
peerProfiles: boolean;
|
|
494
493
|
};
|
|
494
|
+
schemaVersion: string;
|
|
495
495
|
id: string;
|
|
496
496
|
description: string;
|
|
497
497
|
version: string;
|
|
@@ -518,13 +518,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
518
518
|
pluginVersion: string;
|
|
519
519
|
includesTranscripts: boolean;
|
|
520
520
|
capsule: {
|
|
521
|
-
schemaVersion: string;
|
|
522
521
|
includes: {
|
|
523
522
|
procedural: boolean;
|
|
524
523
|
taxonomy: boolean;
|
|
525
524
|
identityAnchors: boolean;
|
|
526
525
|
peerProfiles: boolean;
|
|
527
526
|
};
|
|
527
|
+
schemaVersion: string;
|
|
528
528
|
id: string;
|
|
529
529
|
description: string;
|
|
530
530
|
version: string;
|
|
@@ -551,13 +551,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
551
551
|
pluginVersion: string;
|
|
552
552
|
includesTranscripts: boolean;
|
|
553
553
|
capsule: {
|
|
554
|
-
schemaVersion: string;
|
|
555
554
|
includes: {
|
|
556
555
|
procedural: boolean;
|
|
557
556
|
taxonomy: boolean;
|
|
558
557
|
identityAnchors: boolean;
|
|
559
558
|
peerProfiles: boolean;
|
|
560
559
|
};
|
|
560
|
+
schemaVersion: string;
|
|
561
561
|
id: string;
|
|
562
562
|
description: string;
|
|
563
563
|
version: string;
|
|
@@ -683,13 +683,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
683
683
|
peerProfiles: boolean;
|
|
684
684
|
}>;
|
|
685
685
|
}, "strip", z.ZodTypeAny, {
|
|
686
|
-
schemaVersion: string;
|
|
687
686
|
includes: {
|
|
688
687
|
procedural: boolean;
|
|
689
688
|
taxonomy: boolean;
|
|
690
689
|
identityAnchors: boolean;
|
|
691
690
|
peerProfiles: boolean;
|
|
692
691
|
};
|
|
692
|
+
schemaVersion: string;
|
|
693
693
|
id: string;
|
|
694
694
|
description: string;
|
|
695
695
|
version: string;
|
|
@@ -704,13 +704,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
704
704
|
directAnswerEnabled: boolean;
|
|
705
705
|
};
|
|
706
706
|
}, {
|
|
707
|
-
schemaVersion: string;
|
|
708
707
|
includes: {
|
|
709
708
|
procedural: boolean;
|
|
710
709
|
taxonomy: boolean;
|
|
711
710
|
identityAnchors: boolean;
|
|
712
711
|
peerProfiles: boolean;
|
|
713
712
|
};
|
|
713
|
+
schemaVersion: string;
|
|
714
714
|
id: string;
|
|
715
715
|
description: string;
|
|
716
716
|
version: string;
|
|
@@ -737,13 +737,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
737
737
|
pluginVersion: string;
|
|
738
738
|
includesTranscripts: boolean;
|
|
739
739
|
capsule: {
|
|
740
|
-
schemaVersion: string;
|
|
741
740
|
includes: {
|
|
742
741
|
procedural: boolean;
|
|
743
742
|
taxonomy: boolean;
|
|
744
743
|
identityAnchors: boolean;
|
|
745
744
|
peerProfiles: boolean;
|
|
746
745
|
};
|
|
746
|
+
schemaVersion: string;
|
|
747
747
|
id: string;
|
|
748
748
|
description: string;
|
|
749
749
|
version: string;
|
|
@@ -770,13 +770,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
770
770
|
pluginVersion: string;
|
|
771
771
|
includesTranscripts: boolean;
|
|
772
772
|
capsule: {
|
|
773
|
-
schemaVersion: string;
|
|
774
773
|
includes: {
|
|
775
774
|
procedural: boolean;
|
|
776
775
|
taxonomy: boolean;
|
|
777
776
|
identityAnchors: boolean;
|
|
778
777
|
peerProfiles: boolean;
|
|
779
778
|
};
|
|
779
|
+
schemaVersion: string;
|
|
780
780
|
id: string;
|
|
781
781
|
description: string;
|
|
782
782
|
version: string;
|
|
@@ -815,13 +815,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
815
815
|
pluginVersion: string;
|
|
816
816
|
includesTranscripts: boolean;
|
|
817
817
|
capsule: {
|
|
818
|
-
schemaVersion: string;
|
|
819
818
|
includes: {
|
|
820
819
|
procedural: boolean;
|
|
821
820
|
taxonomy: boolean;
|
|
822
821
|
identityAnchors: boolean;
|
|
823
822
|
peerProfiles: boolean;
|
|
824
823
|
};
|
|
824
|
+
schemaVersion: string;
|
|
825
825
|
id: string;
|
|
826
826
|
description: string;
|
|
827
827
|
version: string;
|
|
@@ -854,13 +854,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
854
854
|
pluginVersion: string;
|
|
855
855
|
includesTranscripts: boolean;
|
|
856
856
|
capsule: {
|
|
857
|
-
schemaVersion: string;
|
|
858
857
|
includes: {
|
|
859
858
|
procedural: boolean;
|
|
860
859
|
taxonomy: boolean;
|
|
861
860
|
identityAnchors: boolean;
|
|
862
861
|
peerProfiles: boolean;
|
|
863
862
|
};
|
|
863
|
+
schemaVersion: string;
|
|
864
864
|
id: string;
|
|
865
865
|
description: string;
|
|
866
866
|
version: string;
|
|
@@ -742,6 +742,34 @@ interface CodingModeConfig {
|
|
|
742
742
|
*/
|
|
743
743
|
globalFallback: boolean;
|
|
744
744
|
}
|
|
745
|
+
interface CodingKnowledgeConfig {
|
|
746
|
+
/** Master gate. Off = byte-for-byte pre-feature behaviour on every path. */
|
|
747
|
+
enabled: boolean;
|
|
748
|
+
/** Decision-record surfaces + briefing titles (effective only under the master gate). */
|
|
749
|
+
decisionRecords: boolean;
|
|
750
|
+
/** Architecture-card build/refresh + briefing injection. */
|
|
751
|
+
architectureCard: boolean;
|
|
752
|
+
/** Last-seen-head persistence + delta briefing line. */
|
|
753
|
+
sessionDelta: boolean;
|
|
754
|
+
/** Opt-in LLM summary pass (costs tokens — default off, per rule 48). */
|
|
755
|
+
architectureCardLlmSummary: boolean;
|
|
756
|
+
/**
|
|
757
|
+
* Structural-context provider selection.
|
|
758
|
+
* - `"none"` (default): no provider consulted — review-context runs
|
|
759
|
+
* file-path-only boosting, identical to pre-feature behaviour.
|
|
760
|
+
* - `"subprocess"`: shells out to `structuralProviderCommand` via
|
|
761
|
+
* `execFile` (argv-array, never shell-string — rule 10).
|
|
762
|
+
* - `"native"`: the `@remnic/coding-graph` engine, when installed.
|
|
763
|
+
*/
|
|
764
|
+
structuralProvider: "none" | "subprocess" | "native";
|
|
765
|
+
/**
|
|
766
|
+
* Absolute path to the subprocess binary when `structuralProvider =
|
|
767
|
+
* "subprocess"`. Empty string = no command configured (consumer must
|
|
768
|
+
* reject the empty case at the wiring site). Rule 24: `statSync` file
|
|
769
|
+
* check at boot, not at every call.
|
|
770
|
+
*/
|
|
771
|
+
structuralProviderCommand: string;
|
|
772
|
+
}
|
|
745
773
|
/**
|
|
746
774
|
* Session-scoped coding context. Produced by `resolveGitContext()` in the
|
|
747
775
|
* connector layer and attached to a session so that recall + write paths can
|
|
@@ -1207,6 +1235,7 @@ interface PluginConfig {
|
|
|
1207
1235
|
/** Encrypt new writes when the secure-store is unlocked. Default true. */
|
|
1208
1236
|
secureStoreEncryptOnWrite: boolean;
|
|
1209
1237
|
codingMode: CodingModeConfig;
|
|
1238
|
+
codingKnowledge: CodingKnowledgeConfig;
|
|
1210
1239
|
heartbeat: HeartbeatConfig;
|
|
1211
1240
|
slotBehavior: SlotBehaviorConfig;
|
|
1212
1241
|
codexCompat: CodexCompatConfig;
|
|
@@ -3245,4 +3274,4 @@ interface HourlySummary {
|
|
|
3245
3274
|
generatedAt: string;
|
|
3246
3275
|
}
|
|
3247
3276
|
|
|
3248
|
-
export { type Checkpoint as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CompressionGuidelineOptimizerState as C, type MemorySummary as D, type EntityStructuredSection as E, type FileHygieneConfig as F, type GatewayConfig as G, type RecallPlanMode as H, type ImportanceScore as I, type IdentityInjectionMode as J, type RecallDisclosure as K, type LiveConnectorsConfig as L, type MemoryCategory as M, type BriefingSections as N, type BriefingFollowup as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallTierExplain as R, type BriefingFocus as S, type TopicScore as T, type CalendarSource as U, type CalendarEvent as V, type BriefingActiveThread as W, type BriefingResult as X, type BriefingRecentEntity as Y, type BufferTurn as Z, type TranscriptEntry as _, type ActiveRecallQueryMode as a, type WearableFetchOptions as a$, type HourlySummary as a0, type SessionObserverBandConfig as a1, type LifecycleState as a2, type VerificationState as a3, type PolicyClass as a4, type ImportanceLevel as a5, type SecretRef as a6, type AgentAccessAuthToken as a7, type CompressionGuidelineOptimizerEventCounts as a8, type CompressionGuidelineOptimizerActionSummary as a9, type WearableNativeMemory as aA, type WearableMemoryMode as aB, type WearableSourceConnector as aC, type WearablesConfig as aD, type WearableSyncSummary as aE, type WearableSourceStatus as aF, type WearableDayTranscript as aG, type WearableCorrectionRule as aH, type CodingContext as aI, type BootstrapOptions as aJ, type BootstrapResult as aK, type ConsolidationObservation as aL, type EntityTimelineEntry as aM, type CodingModeConfig as aN, type WearableCleanupSettings as aO, type WearableDayTranscriptMeta as aP, type BriefingConfig as aQ, type BriefingOpenCommitment as aR, type BriefingWindow as aS, type CodexCompatConfig as aT, DEFAULT_RECALL_DISCLOSURE as aU, type ExtractedFact as aV, type MemoryActionEligibilitySource as aW, type MemoryObservation as aX, type MemoryScope as aY, RECALL_DISCLOSURE_LEVELS as aZ, type WearableAuthCheck as a_, type CompressionGuidelineOptimizerRuleUpdate as aa, type MemoryActionType as ab, type EntityMention as ac, type EntitySchemaDefinition as ad, type EntitySchemaSectionDefinition as ae, type ExtractionResult as af, type ConsolidationResult as ag, type DaySummaryResult as ah, type MemoryIntent as ai, type QmdSearchExplain as aj, type MemoryActionEligibilityContext as ak, type MemoryActionPolicyResult as al, type MemoryLifecycleEventType as am, type MemoryLifecycleStateSummary as an, type ModelProviderConfig as ao, type NativeKnowledgeConfig as ap, type RetrievalTier as aq, type SignalScanResult as ar, type ConversationThread as as, type ScopeProfileLayerId as at, type ScopeProfilePromotionTarget as au, type DreamsStatusResult as av, type DreamsPhase as aw, type DreamsRunResult as ax, type WearableConversation as ay, type WearableSourceSettings as az, type ActiveRecallPromptStyle as b, type
|
|
3277
|
+
export { type Checkpoint as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CompressionGuidelineOptimizerState as C, type MemorySummary as D, type EntityStructuredSection as E, type FileHygieneConfig as F, type GatewayConfig as G, type RecallPlanMode as H, type ImportanceScore as I, type IdentityInjectionMode as J, type RecallDisclosure as K, type LiveConnectorsConfig as L, type MemoryCategory as M, type BriefingSections as N, type BriefingFollowup as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallTierExplain as R, type BriefingFocus as S, type TopicScore as T, type CalendarSource as U, type CalendarEvent as V, type BriefingActiveThread as W, type BriefingResult as X, type BriefingRecentEntity as Y, type BufferTurn as Z, type TranscriptEntry as _, type ActiveRecallQueryMode as a, type WearableFetchOptions as a$, type HourlySummary as a0, type SessionObserverBandConfig as a1, type LifecycleState as a2, type VerificationState as a3, type PolicyClass as a4, type ImportanceLevel as a5, type SecretRef as a6, type AgentAccessAuthToken as a7, type CompressionGuidelineOptimizerEventCounts as a8, type CompressionGuidelineOptimizerActionSummary as a9, type WearableNativeMemory as aA, type WearableMemoryMode as aB, type WearableSourceConnector as aC, type WearablesConfig as aD, type WearableSyncSummary as aE, type WearableSourceStatus as aF, type WearableDayTranscript as aG, type WearableCorrectionRule as aH, type CodingContext as aI, type BootstrapOptions as aJ, type BootstrapResult as aK, type ConsolidationObservation as aL, type EntityTimelineEntry as aM, type CodingModeConfig as aN, type WearableCleanupSettings as aO, type WearableDayTranscriptMeta as aP, type BriefingConfig as aQ, type BriefingOpenCommitment as aR, type BriefingWindow as aS, type CodexCompatConfig as aT, DEFAULT_RECALL_DISCLOSURE as aU, type ExtractedFact as aV, type MemoryActionEligibilitySource as aW, type MemoryObservation as aX, type MemoryScope as aY, RECALL_DISCLOSURE_LEVELS as aZ, type WearableAuthCheck as a_, type CompressionGuidelineOptimizerRuleUpdate as aa, type MemoryActionType as ab, type EntityMention as ac, type EntitySchemaDefinition as ad, type EntitySchemaSectionDefinition as ae, type ExtractionResult as af, type ConsolidationResult as ag, type DaySummaryResult as ah, type MemoryIntent as ai, type QmdSearchExplain as aj, type MemoryActionEligibilityContext as ak, type MemoryActionPolicyResult as al, type MemoryLifecycleEventType as am, type MemoryLifecycleStateSummary as an, type ModelProviderConfig as ao, type NativeKnowledgeConfig as ap, type RetrievalTier as aq, type SignalScanResult as ar, type ConversationThread as as, type ScopeProfileLayerId as at, type ScopeProfilePromotionTarget as au, type DreamsStatusResult as av, type DreamsPhase as aw, type DreamsRunResult as ax, type WearableConversation as ay, type WearableSourceSettings as az, type ActiveRecallPromptStyle as b, type PrincipalRule as b$, type WearableFetchPage as b0, type WearableNativeMemoryPage as b1, type WearableTranscriptSegment as b2, isRecallDisclosure as b3, type AgentAccessHttpConfig as b4, type AgentDefaultsConfig as b5, type AgentPersona as b6, type BehaviorLoopAdjustment as b7, type BehaviorSignalDirection as b8, type BehaviorSignalType as b9, type ExtractedProcedureStep as bA, type ExtractedQuestion as bB, type ExtractedReasoningTrace as bC, type ExtractedReasoningTraceStep as bD, type ExtractedRelationship as bE, type ExtractionPassSource as bF, type GitHubLiveConnectorConfig as bG, type GmailLiveConnectorConfig as bH, type GoogleDriveLiveConnectorConfig as bI, type HeartbeatConfig as bJ, type HeartbeatDetectionMode as bK, type LlmTraceCallback as bL, type LlmTraceEvent as bM, type MemoryActionOutcome as bN, type MemoryActionPolicyDecision as bO, type MemoryActionStatus as bP, type MemoryLinkType as bQ, type MemoryOsPresetName as bR, type ModelApi as bS, type ModelDefinitionConfig as bT, type ModelProviderAuthMode as bU, type NamespacePolicy as bV, type NativeKnowledgeFolderRuleConfig as bW, type NativeKnowledgeObsidianVaultConfig as bX, type NativeKnowledgeOpenClawWorkspaceConfig as bY, type NotionLiveConnectorConfig as bZ, type PrincipalFromSessionKeyMode as b_, type BriefingCalendarSourceError as ba, type BufferEntryState as bb, type CaptureMode as bc, type CodexCliReasoningEffort as bd, type CodexCompactionFlushMode as be, type CodexConnectorConfig as bf, type CodingKnowledgeConfig as bg, type CompressionGuidelineActivationState as bh, type CompressionGuidelineOptimizerSourceWindow as bi, type ConfidenceTier as bj, type ConsolidationAction as bk, type ConsolidationItem as bl, type ContinuityIncidentState as bm, type ContinuityLoopCadence as bn, type ContinuityLoopStatus as bo, type ContradictionScanConfig as bp, type CronConversationRecallMode as bq, type CronRecallMode as br, type DreamingConfig as bs, type DreamingNarrativePromptStyle as bt, type DreamsDeepSleepConfig as bu, type DreamsLightSleepConfig as bv, type DreamsPhaseStatus as bw, type DreamsPhasesConfig as bx, type DreamsRemConfig as by, type EngramTraceEvent as bz, type ActiveRecallThinking as c, type ProceduralConfig as c0, type QuestionEntry as c1, type ReasoningEffort as c2, type RecallPipelineConfig as c3, type RecallSectionConfig as c4, type RecallTraceEvent as c5, type RelevanceFeedback as c6, SPECULATIVE_TTL_DAYS as c7, type ScopeProfileAutoPromoteConfig as c8, type ScopeProfileConfig as c9, type ScopeProfileTeamProjectConfig as ca, type ScopeTeamConfig as cb, type ScoredEntity as cc, type SemanticChunkingConfigShape as cd, type SignalLevel as ce, type SlotBehaviorConfig as cf, type SlotMismatchMode as cg, type TriggerMode as ch, confidenceTier as ci, type ActiveRecallModelFallbackPolicy as d, type BehaviorLoopPolicyState as e, type AgentPersonaModelConfig as f, type MemoryFile as g, type MemoryStatus as h, type MemoryLink as i, type MemoryFrontmatter as j, type BufferState as k, type MetaState as l, type MemoryActionEvent as m, type MemoryLifecycleEvent as n, type BufferSurpriseEvent as o, type ContinuityIncidentOpenInput as p, type ContinuityIncidentRecord as q, type ContinuityIncidentCloseInput as r, type ContinuityImprovementLoop as s, type ContinuityLoopUpsertInput as t, type ContinuityLoopReviewInput as u, type EntityRelationship as v, type EntityActivityEntry as w, type EntityFile as x, type AccessTrackingEntry as y, type MemoryProjectionCurrentState as z };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './types-ByK7T3L6.js';
|
|
2
2
|
import './index-DJ9QWMw-.js';
|
|
3
|
-
export { y as AccessTrackingEntry, A as ActiveRecallChatType, d as ActiveRecallModelFallbackPolicy, b as ActiveRecallPromptStyle, a as ActiveRecallQueryMode, c as ActiveRecallThinking, a7 as AgentAccessAuthToken, b4 as AgentAccessHttpConfig, b5 as AgentDefaultsConfig, b6 as AgentPersona, f as AgentPersonaModelConfig, b7 as BehaviorLoopAdjustment, e as BehaviorLoopPolicyState, b8 as BehaviorSignalDirection, B as BehaviorSignalEvent, b9 as BehaviorSignalType, aJ as BootstrapOptions, aK as BootstrapResult, W as BriefingActiveThread, ba as BriefingCalendarSourceError, aQ as BriefingConfig, S as BriefingFocus, O as BriefingFollowup, aR as BriefingOpenCommitment, Y as BriefingRecentEntity, X as BriefingResult, N as BriefingSections, aS as BriefingWindow, bb as BufferEntryState, k as BufferState, o as BufferSurpriseEvent, Z as BufferTurn, V as CalendarEvent, U as CalendarSource, bc as CaptureMode, $ as Checkpoint, bd as CodexCliReasoningEffort, be as CodexCompactionFlushMode, aT as CodexCompatConfig, bf as CodexConnectorConfig, aI as CodingContext, aN as CodingModeConfig,
|
|
3
|
+
export { y as AccessTrackingEntry, A as ActiveRecallChatType, d as ActiveRecallModelFallbackPolicy, b as ActiveRecallPromptStyle, a as ActiveRecallQueryMode, c as ActiveRecallThinking, a7 as AgentAccessAuthToken, b4 as AgentAccessHttpConfig, b5 as AgentDefaultsConfig, b6 as AgentPersona, f as AgentPersonaModelConfig, b7 as BehaviorLoopAdjustment, e as BehaviorLoopPolicyState, b8 as BehaviorSignalDirection, B as BehaviorSignalEvent, b9 as BehaviorSignalType, aJ as BootstrapOptions, aK as BootstrapResult, W as BriefingActiveThread, ba as BriefingCalendarSourceError, aQ as BriefingConfig, S as BriefingFocus, O as BriefingFollowup, aR as BriefingOpenCommitment, Y as BriefingRecentEntity, X as BriefingResult, N as BriefingSections, aS as BriefingWindow, bb as BufferEntryState, k as BufferState, o as BufferSurpriseEvent, Z as BufferTurn, V as CalendarEvent, U as CalendarSource, bc as CaptureMode, $ as Checkpoint, bd as CodexCliReasoningEffort, be as CodexCompactionFlushMode, aT as CodexCompatConfig, bf as CodexConnectorConfig, aI as CodingContext, bg as CodingKnowledgeConfig, aN as CodingModeConfig, bh as CompressionGuidelineActivationState, a9 as CompressionGuidelineOptimizerActionSummary, a8 as CompressionGuidelineOptimizerEventCounts, aa as CompressionGuidelineOptimizerRuleUpdate, bi as CompressionGuidelineOptimizerSourceWindow, C as CompressionGuidelineOptimizerState, bj as ConfidenceTier, bk as ConsolidationAction, bl as ConsolidationItem, aL as ConsolidationObservation, ag as ConsolidationResult, s as ContinuityImprovementLoop, r as ContinuityIncidentCloseInput, p as ContinuityIncidentOpenInput, q as ContinuityIncidentRecord, bm as ContinuityIncidentState, bn as ContinuityLoopCadence, u as ContinuityLoopReviewInput, bo as ContinuityLoopStatus, t as ContinuityLoopUpsertInput, bp as ContradictionScanConfig, as as ConversationThread, bq as CronConversationRecallMode, br as CronRecallMode, aU as DEFAULT_RECALL_DISCLOSURE, ah as DaySummaryResult, bs as DreamingConfig, bt as DreamingNarrativePromptStyle, bu as DreamsDeepSleepConfig, bv as DreamsLightSleepConfig, aw as DreamsPhase, bw as DreamsPhaseStatus, bx as DreamsPhasesConfig, by as DreamsRemConfig, ax as DreamsRunResult, av as DreamsStatusResult, bz as EngramTraceEvent, w as EntityActivityEntry, x as EntityFile, ac as EntityMention, v as EntityRelationship, ad as EntitySchemaDefinition, ae as EntitySchemaSectionDefinition, E as EntityStructuredSection, aM as EntityTimelineEntry, aV as ExtractedFact, bA as ExtractedProcedureStep, bB as ExtractedQuestion, bC as ExtractedReasoningTrace, bD as ExtractedReasoningTraceStep, bE as ExtractedRelationship, bF as ExtractionPassSource, af as ExtractionResult, F as FileHygieneConfig, G as GatewayConfig, bG as GitHubLiveConnectorConfig, bH as GmailLiveConnectorConfig, bI as GoogleDriveLiveConnectorConfig, bJ as HeartbeatConfig, bK as HeartbeatDetectionMode, a0 as HourlySummary, J as IdentityInjectionMode, a5 as ImportanceLevel, I as ImportanceScore, a2 as LifecycleState, L as LiveConnectorsConfig, bL as LlmTraceCallback, bM as LlmTraceEvent, ak as MemoryActionEligibilityContext, aW as MemoryActionEligibilitySource, m as MemoryActionEvent, bN as MemoryActionOutcome, bO as MemoryActionPolicyDecision, al as MemoryActionPolicyResult, bP as MemoryActionStatus, ab as MemoryActionType, M as MemoryCategory, g as MemoryFile, j as MemoryFrontmatter, ai as MemoryIntent, n as MemoryLifecycleEvent, am as MemoryLifecycleEventType, an as MemoryLifecycleStateSummary, i as MemoryLink, bQ as MemoryLinkType, aX as MemoryObservation, bR as MemoryOsPresetName, z as MemoryProjectionCurrentState, aY as MemoryScope, h as MemoryStatus, D as MemorySummary, l as MetaState, bS as ModelApi, bT as ModelDefinitionConfig, bU as ModelProviderAuthMode, ao as ModelProviderConfig, bV as NamespacePolicy, ap as NativeKnowledgeConfig, bW as NativeKnowledgeFolderRuleConfig, bX as NativeKnowledgeObsidianVaultConfig, bY as NativeKnowledgeOpenClawWorkspaceConfig, bZ as NotionLiveConnectorConfig, P as PluginConfig, a4 as PolicyClass, b_ as PrincipalFromSessionKeyMode, b$ as PrincipalRule, c0 as ProceduralConfig, aj as QmdSearchExplain, Q as QmdSearchResult, c1 as QuestionEntry, aZ as RECALL_DISCLOSURE_LEVELS, c2 as ReasoningEffort, K as RecallDisclosure, c3 as RecallPipelineConfig, H as RecallPlanMode, c4 as RecallSectionConfig, R as RecallTierExplain, c5 as RecallTraceEvent, c6 as RelevanceFeedback, aq as RetrievalTier, c7 as SPECULATIVE_TTL_DAYS, c8 as ScopeProfileAutoPromoteConfig, c9 as ScopeProfileConfig, at as ScopeProfileLayerId, au as ScopeProfilePromotionTarget, ca as ScopeProfileTeamProjectConfig, cb as ScopeTeamConfig, cc as ScoredEntity, a6 as SecretRef, cd as SemanticChunkingConfigShape, a1 as SessionObserverBandConfig, ce as SignalLevel, ar as SignalScanResult, cf as SlotBehaviorConfig, cg as SlotMismatchMode, T as TopicScore, _ as TranscriptEntry, ch as TriggerMode, a3 as VerificationState, ci as confidenceTier, b3 as isRecallDisclosure } from './types-D3pm4NhH.js';
|
package/dist/types.js
CHANGED
package/dist/verified-recall.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compareVerifiedEpisodeResults,
|
|
3
3
|
searchVerifiedEpisodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NXBXM7Q6.js";
|
|
5
5
|
import "./chunk-HQ6NIBL6.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-EUM7CZFM.js";
|
|
7
7
|
import "./chunk-M7XQSUBB.js";
|
|
8
8
|
import "./chunk-5UZXUTVO.js";
|
|
9
9
|
import "./chunk-5GPPACXK.js";
|
|
10
10
|
import "./chunk-J6A3CX5N.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-FMSDA2D3.js";
|
|
12
12
|
import "./chunk-AWJ2FHCF.js";
|
|
13
13
|
import "./chunk-42JKGUFJ.js";
|
|
14
14
|
import "./chunk-RULE4VG5.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.672",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -441,6 +441,16 @@
|
|
|
441
441
|
"remnic-source": "./src/codex-thread-key.ts",
|
|
442
442
|
"import": "./dist/codex-thread-key.js"
|
|
443
443
|
},
|
|
444
|
+
"./coding/optional-coding-graph": {
|
|
445
|
+
"types": "./dist/coding/optional-coding-graph.d.ts",
|
|
446
|
+
"remnic-source": "./src/coding/optional-coding-graph.ts",
|
|
447
|
+
"import": "./dist/coding/optional-coding-graph.js"
|
|
448
|
+
},
|
|
449
|
+
"./coding/optional-coding-graph.js": {
|
|
450
|
+
"types": "./dist/coding/optional-coding-graph.d.ts",
|
|
451
|
+
"remnic-source": "./src/coding/optional-coding-graph.ts",
|
|
452
|
+
"import": "./dist/coding/optional-coding-graph.js"
|
|
453
|
+
},
|
|
444
454
|
"./commitment-ledger": {
|
|
445
455
|
"types": "./dist/commitment-ledger.d.ts",
|
|
446
456
|
"remnic-source": "./src/commitment-ledger.ts",
|
|
@@ -2905,6 +2915,14 @@
|
|
|
2905
2915
|
"agent",
|
|
2906
2916
|
"core"
|
|
2907
2917
|
],
|
|
2918
|
+
"peerDependencies": {
|
|
2919
|
+
"@remnic/coding-graph": "^9.3.672"
|
|
2920
|
+
},
|
|
2921
|
+
"peerDependenciesMeta": {
|
|
2922
|
+
"@remnic/coding-graph": {
|
|
2923
|
+
"optional": true
|
|
2924
|
+
}
|
|
2925
|
+
},
|
|
2908
2926
|
"scripts": {
|
|
2909
2927
|
"build": "node ./scripts/build-with-heap.mjs",
|
|
2910
2928
|
"check-types": "tsc --noEmit",
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
// Engine contract types for the optional @remnic/coding-graph package.
|
|
2
|
+
//
|
|
3
|
+
// These types are owned by @remnic/core so the base install compiles even
|
|
4
|
+
// when @remnic/coding-graph is not present (it is an optional peer dep —
|
|
5
|
+
// installed only on host machines that opt in to codebase-graph features).
|
|
6
|
+
//
|
|
7
|
+
// @remnic/coding-graph imports these types and implements them; it does
|
|
8
|
+
// not redefine them. This breaks the type-source-direction cycle that
|
|
9
|
+
// would otherwise require core to import coding-graph at compile time
|
|
10
|
+
// (core's tsup DTS phase emits declarations against the package's
|
|
11
|
+
// compiled output, which would fail when the optional package is not
|
|
12
|
+
// installed in CI's base install).
|
|
13
|
+
//
|
|
14
|
+
// Dependency direction:
|
|
15
|
+
//
|
|
16
|
+
// @remnic/core ──── owns ───► CodingGraphEngine (this file)
|
|
17
|
+
// ▲
|
|
18
|
+
// │ peer + devDep (workspace)
|
|
19
|
+
// │
|
|
20
|
+
// @remnic/coding-graph (implements against these types)
|
|
21
|
+
//
|
|
22
|
+
// Per #1551 PR1 — these are the full contract surface. PR2 fills the
|
|
23
|
+
// extractors; PR3+ lands the walker, determinism, and grammarDir
|
|
24
|
+
// behaviour behind the same `parseFile()` entry point.
|
|
25
|
+
|
|
26
|
+
// ---------------------------------------------------------------------------
|
|
27
|
+
// Version constant — surfaced through the engine instance so consumers can
|
|
28
|
+
// advertise what they expect. Bumped in lockstep with the package version
|
|
29
|
+
// during active development.
|
|
30
|
+
// ---------------------------------------------------------------------------
|
|
31
|
+
export const CODING_GRAPH_ENGINE_VERSION = "0.1.0-pr1" as const;
|
|
32
|
+
|
|
33
|
+
// ---------------------------------------------------------------------------
|
|
34
|
+
// Tier-1 language list — declared here so consumers can drive their own
|
|
35
|
+
// tools against the engine without touching the optional package. Order is
|
|
36
|
+
// stable; per-language configuration is the engine's concern.
|
|
37
|
+
// ---------------------------------------------------------------------------
|
|
38
|
+
export const TIER_1_LANGUAGES = [
|
|
39
|
+
"typescript",
|
|
40
|
+
"tsx",
|
|
41
|
+
"javascript",
|
|
42
|
+
"python",
|
|
43
|
+
"go",
|
|
44
|
+
"rust",
|
|
45
|
+
"java",
|
|
46
|
+
"c",
|
|
47
|
+
"cpp",
|
|
48
|
+
"csharp",
|
|
49
|
+
"ruby",
|
|
50
|
+
"php",
|
|
51
|
+
"kotlin",
|
|
52
|
+
"swift",
|
|
53
|
+
"bash",
|
|
54
|
+
] as const;
|
|
55
|
+
|
|
56
|
+
export type CodingGraphLanguage = (typeof TIER_1_LANGUAGES)[number];
|
|
57
|
+
|
|
58
|
+
// ---------------------------------------------------------------------------
|
|
59
|
+
// Tagged error code — the load-bearing signal for programmatic detection of
|
|
60
|
+
// placeholder / install / load failure states. New codes must be added here
|
|
61
|
+
// so consumers see them via TypeScript.
|
|
62
|
+
// ---------------------------------------------------------------------------
|
|
63
|
+
export type CodingGraphErrorCode =
|
|
64
|
+
| "not_implemented"
|
|
65
|
+
| "module_load_failed";
|
|
66
|
+
|
|
67
|
+
// ---------------------------------------------------------------------------
|
|
68
|
+
// Engine interface — the contract coding-graph implements against.
|
|
69
|
+
// ---------------------------------------------------------------------------
|
|
70
|
+
export interface CodingGraphEngine {
|
|
71
|
+
/** Engine version reported at construction time. */
|
|
72
|
+
readonly engineVersion: string;
|
|
73
|
+
/** Tier-1 languages this build supports (PR2 narrows by grammar availability). */
|
|
74
|
+
readonly supportedLanguages: readonly CodingGraphLanguage[];
|
|
75
|
+
/**
|
|
76
|
+
* Parse a single source file and emit its FileIR.
|
|
77
|
+
*
|
|
78
|
+
* PR1 throws `CodingGraphError("not_implemented", …)`. PR2 will return
|
|
79
|
+
* `ParseResult`; failure paths come back as
|
|
80
|
+
* `{ ok: false, code: "parse_failed", path, message }` (rule 44) rather
|
|
81
|
+
* than partial / silent IR.
|
|
82
|
+
*/
|
|
83
|
+
parseFile(input: ParseFileInput): Promise<ParseResult>;
|
|
84
|
+
/** Engine lifecycle — release any cached parsers/grammars. */
|
|
85
|
+
dispose(): Promise<void>;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// ---------------------------------------------------------------------------
|
|
89
|
+
// Parse input/output
|
|
90
|
+
// ---------------------------------------------------------------------------
|
|
91
|
+
export interface ParseFileInput {
|
|
92
|
+
/** Repository-relative path (forward slashes; no leading `./`). */
|
|
93
|
+
readonly path: string;
|
|
94
|
+
/** Raw file bytes; hashing happens inside the engine (rule 23). */
|
|
95
|
+
readonly content: Uint8Array;
|
|
96
|
+
/**
|
|
97
|
+
* Optional override. When omitted the engine sniffs the language from
|
|
98
|
+
* `path` extensions against its built-in tier-1 list (PR2).
|
|
99
|
+
*/
|
|
100
|
+
readonly language?: CodingGraphLanguage;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export type ParseResult =
|
|
104
|
+
| { readonly ok: true; readonly ir: FileIR }
|
|
105
|
+
| {
|
|
106
|
+
readonly ok: false;
|
|
107
|
+
readonly code: "parse_failed";
|
|
108
|
+
readonly path: string;
|
|
109
|
+
readonly message: string;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
// ---------------------------------------------------------------------------
|
|
113
|
+
// FileIR — the seam between the parser (optional package) and the graph
|
|
114
|
+
// store (sibling issue #1552). Field types are the minimal viable set per
|
|
115
|
+
// the issue's design section.
|
|
116
|
+
// ---------------------------------------------------------------------------
|
|
117
|
+
export interface FileIR {
|
|
118
|
+
readonly path: string;
|
|
119
|
+
readonly language: CodingGraphLanguage;
|
|
120
|
+
/** SHA-256 of the raw bytes; rule 23 — every consumer hashes the same form. */
|
|
121
|
+
readonly contentHash: string;
|
|
122
|
+
readonly symbols: readonly SymbolIR[];
|
|
123
|
+
readonly imports: readonly ImportIR[];
|
|
124
|
+
readonly exports: readonly ExportIR[];
|
|
125
|
+
readonly callSites: readonly CallSiteIR[];
|
|
126
|
+
readonly routes: readonly RouteIR[];
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export interface SymbolIR {
|
|
130
|
+
readonly kind:
|
|
131
|
+
| "function"
|
|
132
|
+
| "class"
|
|
133
|
+
| "method"
|
|
134
|
+
| "interface"
|
|
135
|
+
| "enum"
|
|
136
|
+
| "type"
|
|
137
|
+
| "module";
|
|
138
|
+
readonly name: string;
|
|
139
|
+
readonly qualifiedName: string;
|
|
140
|
+
/** Half-open byte span `[startByte, endByte)`. Rule 35. */
|
|
141
|
+
readonly span: { readonly startByte: number; readonly endByte: number };
|
|
142
|
+
readonly parentQualifiedName?: string;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export interface ImportIR {
|
|
146
|
+
/** Raw module specifier as written in source. */
|
|
147
|
+
readonly module: string;
|
|
148
|
+
readonly importedNames: readonly string[];
|
|
149
|
+
readonly span: { readonly startByte: number; readonly endByte: number };
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export interface ExportIR {
|
|
153
|
+
readonly name: string;
|
|
154
|
+
readonly span: { readonly startByte: number; readonly endByte: number };
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export interface CallSiteIR {
|
|
158
|
+
readonly calleeNameCandidates: readonly string[];
|
|
159
|
+
readonly span: { readonly startByte: number; readonly endByte: number };
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export interface RouteIR {
|
|
163
|
+
/** HTTP verb in upper-case, or framework-native verb (e.g. "ANY"). */
|
|
164
|
+
readonly verb: string;
|
|
165
|
+
readonly pathTemplate: string;
|
|
166
|
+
readonly handlerQualifiedName: string;
|
|
167
|
+
readonly span: { readonly startByte: number; readonly endByte: number };
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// ---------------------------------------------------------------------------
|
|
171
|
+
// Factory options
|
|
172
|
+
// ---------------------------------------------------------------------------
|
|
173
|
+
/**
|
|
174
|
+
* Reserved for PR2. Declared now so the public surface is stable; the
|
|
175
|
+
* options object is intentionally empty in PR1.
|
|
176
|
+
*/
|
|
177
|
+
export interface CreateCodingGraphEngineOptions {
|
|
178
|
+
/** Reserved for PR2: extra grammar directory supplied by the operator. */
|
|
179
|
+
readonly grammarDir?: never;
|
|
180
|
+
}
|