@remnic/core 9.3.701 → 9.3.702
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 +7 -7
- package/dist/access-boundary.js +15 -12
- package/dist/access-cli.js +36 -33
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +7 -7
- package/dist/access-http.js +18 -15
- package/dist/access-mcp.d.ts +7 -7
- package/dist/access-mcp.js +17 -14
- package/dist/access-operations.d.ts +7 -7
- package/dist/access-operations.js +16 -13
- package/dist/{access-service-CGVWK6lZ.d.ts → access-service-COCzhgEL.d.ts} +397 -19
- package/dist/access-service.d.ts +6 -6
- package/dist/access-service.js +14 -11
- package/dist/access-surface-catalog.d.ts +7 -7
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-memory-bridge.js +2 -2
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +7 -6
- package/dist/active-recall.js.map +1 -1
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +5 -5
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +6 -5
- 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-DBIghceA.d.ts → catalog-DxCzhjE6.d.ts} +2 -2
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +7 -6
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/{chunk-YXLT4EMM.js → chunk-4463LUIE.js} +12 -2
- package/dist/chunk-4463LUIE.js.map +1 -0
- package/dist/{chunk-R5DB26G6.js → chunk-4SBW47WK.js} +9 -23
- package/dist/chunk-4SBW47WK.js.map +1 -0
- package/dist/{chunk-KF4TXW7Z.js → chunk-5VXVXJH6.js} +149 -6
- package/dist/{chunk-KF4TXW7Z.js.map → chunk-5VXVXJH6.js.map} +1 -1
- package/dist/{chunk-ODTWHSY2.js → chunk-64XXOQRW.js} +2 -2
- package/dist/{chunk-ZT7B64BE.js → chunk-6TAETM63.js} +2 -2
- package/dist/{chunk-HF4N43Q7.js → chunk-6VVP6NK7.js} +2 -2
- package/dist/{chunk-FN2SM5SN.js → chunk-ABCGDW3A.js} +75 -12
- package/dist/chunk-ABCGDW3A.js.map +1 -0
- package/dist/{chunk-7TAQEPLE.js → chunk-AMNLZ6SF.js} +2 -2
- package/dist/{chunk-KS7WQ4BZ.js → chunk-CZJ6QSKG.js} +3 -3
- package/dist/{chunk-27LQPUMZ.js → chunk-EOOVJK2U.js} +3 -3
- package/dist/{chunk-QP37KL5H.js → chunk-EYJD6KIO.js} +2 -2
- package/dist/{chunk-WFEZUGU5.js → chunk-EZR35XHX.js} +2 -2
- package/dist/{chunk-UU6MVCJ6.js → chunk-FIOYURII.js} +32 -25
- package/dist/chunk-FIOYURII.js.map +1 -0
- package/dist/{chunk-JO3E5VGS.js → chunk-FVI5B7DE.js} +2 -2
- package/dist/{chunk-SFMRLXIV.js → chunk-GFIARMA7.js} +15 -7
- package/dist/chunk-GFIARMA7.js.map +1 -0
- package/dist/{chunk-PONNZ54D.js → chunk-GY3SKOS4.js} +4 -4
- package/dist/{chunk-U33LWTQQ.js → chunk-HV57RHMD.js} +4 -4
- package/dist/{chunk-IKNQAGBV.js → chunk-IX3UQT4H.js} +1 -1
- package/dist/{chunk-IKNQAGBV.js.map → chunk-IX3UQT4H.js.map} +1 -1
- package/dist/{chunk-IYOPIG3E.js → chunk-IX72AAMZ.js} +2 -2
- package/dist/{chunk-JKOKX3PS.js → chunk-JMA4RYRN.js} +2 -2
- package/dist/{chunk-DEDQXIDL.js → chunk-JTKFZMZ7.js} +2 -2
- package/dist/{chunk-OLOYQZFB.js → chunk-KC6TCAWV.js} +5 -5
- package/dist/{chunk-ROZJACKP.js → chunk-KKK7YTYN.js} +4 -1
- package/dist/chunk-KKK7YTYN.js.map +1 -0
- package/dist/{chunk-EC2AYKRX.js → chunk-L6W77GWW.js} +10 -24
- package/dist/chunk-L6W77GWW.js.map +1 -0
- package/dist/{chunk-ED35D32I.js → chunk-LQ4J7ELC.js} +2 -2
- package/dist/chunk-LUPVCGYK.js +63 -0
- package/dist/chunk-LUPVCGYK.js.map +1 -0
- package/dist/{chunk-TFVVONWD.js → chunk-MBUM2Y3L.js} +2 -2
- package/dist/{chunk-T5QAZIBO.js → chunk-MOXFPLD6.js} +3 -3
- package/dist/{chunk-XTIRCSIH.js → chunk-MXEWQKM7.js} +2 -2
- package/dist/{chunk-ZYNMX6IU.js → chunk-NUIJEGVD.js} +6 -6
- package/dist/{chunk-FUCJAZ25.js → chunk-OXEAMU42.js} +529 -9
- package/dist/chunk-OXEAMU42.js.map +1 -0
- package/dist/{chunk-YO4MBK3I.js → chunk-QGJAGC2J.js} +2 -2
- package/dist/{chunk-ISLJ5WIM.js → chunk-QIMFOCSH.js} +2 -2
- package/dist/{chunk-IJEZMWKA.js → chunk-SFOAQQDJ.js} +3 -3
- package/dist/{chunk-HRUULBBV.js → chunk-SHRRWOVY.js} +81 -4
- package/dist/chunk-SHRRWOVY.js.map +1 -0
- package/dist/{chunk-NINRTFSV.js → chunk-SINGJCUR.js} +5 -5
- package/dist/{chunk-ZPQVJEVQ.js → chunk-SK2CR6MW.js} +146 -2
- package/dist/chunk-SK2CR6MW.js.map +1 -0
- package/dist/{chunk-6W2D6FGG.js → chunk-TGAHHCB6.js} +2 -2
- package/dist/{chunk-D75JXBV4.js → chunk-WN4GHSDH.js} +2 -2
- package/dist/{chunk-K4DWSPMW.js → chunk-WRGPE6AW.js} +2 -2
- package/dist/{chunk-4HIAWLA2.js → chunk-XGMCUY5P.js} +60 -114
- package/dist/chunk-XGMCUY5P.js.map +1 -0
- package/dist/{chunk-SDPDU2PM.js → chunk-YTMDF6S7.js} +2 -2
- package/dist/{chunk-MNU5G4TK.js → chunk-Z7XEIAV4.js} +2 -2
- package/dist/{chunk-HXHKLVAS.js → chunk-ZCEI242W.js} +23 -23
- package/dist/{cli-D3XeenwN.d.ts → cli-BM4xQPp4.d.ts} +3 -3
- package/dist/cli.d.ts +7 -7
- package/dist/cli.js +33 -32
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +6 -5
- 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 +4 -2
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +6 -5
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +7 -6
- package/dist/consolidation-provenance-check.d.ts +1 -1
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/contradiction/index.d.ts +2 -2
- 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 +6 -5
- package/dist/entity-schema.d.ts +1 -1
- package/dist/event-order-recall.js +2 -1
- package/dist/explicit-capture.d.ts +5 -5
- package/dist/explicit-capture.js +2 -2
- package/dist/explicit-cue-recall.js +2 -1
- package/dist/extraction-faithfulness.d.ts +1 -1
- 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 +14 -1
- package/dist/extraction.js +5 -3
- 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 +123 -123
- package/dist/index.js +53 -52
- 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 +6 -5
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +6 -5
- package/dist/maintenance/rebuild-memory-projection.js +7 -6
- package/dist/mcp-memory-inspector-app.d.ts +7 -7
- 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 +7 -6
- 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 +6 -5
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +12 -11
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +8 -7
- package/dist/{orchestrator-BzMCZlKn.d.ts → orchestrator-C9CDWAm6.d.ts} +4 -4
- package/dist/orchestrator.d.ts +5 -5
- package/dist/orchestrator.js +29 -27
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +36 -2
- package/dist/provenance.js +5 -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-pipeline-stages.d.ts +15 -0
- package/dist/recall-pipeline-stages.js +3 -56
- package/dist/recall-pipeline-stages.js.map +1 -1
- 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/response-guidance-recall.js +2 -1
- package/dist/resume-bundles.js +7 -5
- 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 +19 -0
- package/dist/schemas.js +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/index.d.ts +1 -1
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-DJR8_DMQ.d.ts → semantic-SLAa_prH.d.ts} +1 -1
- package/dist/{semantic-consolidation-BtUfv-AL.d.ts → semantic-consolidation-DgFXyALl.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +7 -6
- package/dist/semantic-rule-promotion.js +6 -5
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +6 -5
- 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 +13 -1
- package/dist/storage.js +5 -4
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/targeted-fact-recall.js +2 -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/transcript.js +2 -2
- package/dist/{types-PuiPZ9iE.d.ts → types-MWKPZnM0.d.ts} +25 -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 +6 -5
- package/package.json +2 -2
- package/src/access-http.ts +162 -0
- package/src/access-service.ts +215 -0
- package/src/admin/admin-surfaces.test.ts +458 -0
- package/src/admin/admin-surfaces.ts +819 -0
- package/src/event-order-recall.test.ts +53 -0
- package/src/event-order-recall.ts +61 -37
- package/src/explicit-cue-recall.ts +21 -1
- package/src/extraction.ts +91 -6
- package/src/orchestrator.ts +46 -5
- package/src/provenance-extraction.test.ts +838 -0
- package/src/provenance.ts +413 -0
- package/src/recall-pipeline-parity.test.ts +288 -0
- package/src/recall-pipeline-stages.test.ts +43 -0
- package/src/recall-pipeline-stages.ts +22 -0
- package/src/response-guidance-recall.ts +32 -36
- package/src/schemas.ts +7 -0
- package/src/storage.ts +23 -0
- package/src/targeted-fact-recall.ts +25 -32
- package/src/types.ts +24 -0
- package/dist/chunk-4HIAWLA2.js.map +0 -1
- package/dist/chunk-EC2AYKRX.js.map +0 -1
- package/dist/chunk-FN2SM5SN.js.map +0 -1
- package/dist/chunk-FUCJAZ25.js.map +0 -1
- package/dist/chunk-HRUULBBV.js.map +0 -1
- package/dist/chunk-R5DB26G6.js.map +0 -1
- package/dist/chunk-ROZJACKP.js.map +0 -1
- package/dist/chunk-SFMRLXIV.js.map +0 -1
- package/dist/chunk-UU6MVCJ6.js.map +0 -1
- package/dist/chunk-YXLT4EMM.js.map +0 -1
- package/dist/chunk-ZPQVJEVQ.js.map +0 -1
- /package/dist/{chunk-ODTWHSY2.js.map → chunk-64XXOQRW.js.map} +0 -0
- /package/dist/{chunk-ZT7B64BE.js.map → chunk-6TAETM63.js.map} +0 -0
- /package/dist/{chunk-HF4N43Q7.js.map → chunk-6VVP6NK7.js.map} +0 -0
- /package/dist/{chunk-7TAQEPLE.js.map → chunk-AMNLZ6SF.js.map} +0 -0
- /package/dist/{chunk-KS7WQ4BZ.js.map → chunk-CZJ6QSKG.js.map} +0 -0
- /package/dist/{chunk-27LQPUMZ.js.map → chunk-EOOVJK2U.js.map} +0 -0
- /package/dist/{chunk-QP37KL5H.js.map → chunk-EYJD6KIO.js.map} +0 -0
- /package/dist/{chunk-WFEZUGU5.js.map → chunk-EZR35XHX.js.map} +0 -0
- /package/dist/{chunk-JO3E5VGS.js.map → chunk-FVI5B7DE.js.map} +0 -0
- /package/dist/{chunk-PONNZ54D.js.map → chunk-GY3SKOS4.js.map} +0 -0
- /package/dist/{chunk-U33LWTQQ.js.map → chunk-HV57RHMD.js.map} +0 -0
- /package/dist/{chunk-IYOPIG3E.js.map → chunk-IX72AAMZ.js.map} +0 -0
- /package/dist/{chunk-JKOKX3PS.js.map → chunk-JMA4RYRN.js.map} +0 -0
- /package/dist/{chunk-DEDQXIDL.js.map → chunk-JTKFZMZ7.js.map} +0 -0
- /package/dist/{chunk-OLOYQZFB.js.map → chunk-KC6TCAWV.js.map} +0 -0
- /package/dist/{chunk-ED35D32I.js.map → chunk-LQ4J7ELC.js.map} +0 -0
- /package/dist/{chunk-TFVVONWD.js.map → chunk-MBUM2Y3L.js.map} +0 -0
- /package/dist/{chunk-T5QAZIBO.js.map → chunk-MOXFPLD6.js.map} +0 -0
- /package/dist/{chunk-XTIRCSIH.js.map → chunk-MXEWQKM7.js.map} +0 -0
- /package/dist/{chunk-ZYNMX6IU.js.map → chunk-NUIJEGVD.js.map} +0 -0
- /package/dist/{chunk-YO4MBK3I.js.map → chunk-QGJAGC2J.js.map} +0 -0
- /package/dist/{chunk-ISLJ5WIM.js.map → chunk-QIMFOCSH.js.map} +0 -0
- /package/dist/{chunk-IJEZMWKA.js.map → chunk-SFOAQQDJ.js.map} +0 -0
- /package/dist/{chunk-NINRTFSV.js.map → chunk-SINGJCUR.js.map} +0 -0
- /package/dist/{chunk-6W2D6FGG.js.map → chunk-TGAHHCB6.js.map} +0 -0
- /package/dist/{chunk-D75JXBV4.js.map → chunk-WN4GHSDH.js.map} +0 -0
- /package/dist/{chunk-K4DWSPMW.js.map → chunk-WRGPE6AW.js.map} +0 -0
- /package/dist/{chunk-SDPDU2PM.js.map → chunk-YTMDF6S7.js.map} +0 -0
- /package/dist/{chunk-MNU5G4TK.js.map → chunk-Z7XEIAV4.js.map} +0 -0
- /package/dist/{chunk-HXHKLVAS.js.map → chunk-ZCEI242W.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-resolver.js';
|
|
2
2
|
export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
|
|
3
3
|
export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
|
|
4
|
-
import { S as SpeakerRegistry, W as WearablesService } from './orchestrator-
|
|
5
|
-
export { D as DEFAULT_SELF_NAME, O as Orchestrator, R as ResolvedSpeaker, a as SpeakerOverride, b as WEARABLE_SOURCE_PREFIX, c as WearableDayTranscriptView, d as WearableMemoryGenDeps, e as WearableMemoryGenResult, f as WearableMemorySearchResult, g as WearableMemoryWriter, h as WearableSearchBackend, i as WearableStorageIo, j as WearableSyncDeps, k as WearableSyncOptions, l as WearableTranscriptSearchResult, m as WearablesServiceDeps, n as buildExtractionTurns, o as dateInTimezone, p as defaultTimezone, q as defaultWorkspaceDir, r as distinctSpeakerLabels, s as emptySpeakerRegistry, t as generateWearableMemories, u as importNativeMemories, v as loadSpeakerRegistry, w as locateTranscriptPath, x as memoryStatusForMode, y as resolveSpeaker, z as resolveSyncDates, A as sanitizeSessionKeyForFilename, B as saveSpeakerRegistry, C as speakerRegistryKey, E as speakersFilePath, F as syncWearableSource, H as wearableDayTag, J as wearableSourceLabel, K as writeDailyDigestMemory } from './orchestrator-
|
|
4
|
+
import { S as SpeakerRegistry, W as WearablesService } from './orchestrator-C9CDWAm6.js';
|
|
5
|
+
export { D as DEFAULT_SELF_NAME, O as Orchestrator, R as ResolvedSpeaker, a as SpeakerOverride, b as WEARABLE_SOURCE_PREFIX, c as WearableDayTranscriptView, d as WearableMemoryGenDeps, e as WearableMemoryGenResult, f as WearableMemorySearchResult, g as WearableMemoryWriter, h as WearableSearchBackend, i as WearableStorageIo, j as WearableSyncDeps, k as WearableSyncOptions, l as WearableTranscriptSearchResult, m as WearablesServiceDeps, n as buildExtractionTurns, o as dateInTimezone, p as defaultTimezone, q as defaultWorkspaceDir, r as distinctSpeakerLabels, s as emptySpeakerRegistry, t as generateWearableMemories, u as importNativeMemories, v as loadSpeakerRegistry, w as locateTranscriptPath, x as memoryStatusForMode, y as resolveSpeaker, z as resolveSyncDates, A as sanitizeSessionKeyForFilename, B as saveSpeakerRegistry, C as speakerRegistryKey, E as speakersFilePath, F as syncWearableSource, H as wearableDayTag, J as wearableSourceLabel, K as writeDailyDigestMemory } from './orchestrator-C9CDWAm6.js';
|
|
6
6
|
export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
|
|
7
7
|
export { ModelCapabilities, ModelRegistry } from './model-registry.js';
|
|
8
8
|
export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
|
|
@@ -20,11 +20,11 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
|
|
|
20
20
|
export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
|
|
21
21
|
export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
|
|
22
22
|
export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
|
|
23
|
-
import {
|
|
24
|
-
export { J as AgentAccessAuthToken, r as BriefingActiveThread,
|
|
23
|
+
import { aG as CodingContext, aR as CodingModeConfig, P as PluginConfig, M as MemoryCategory, aS as WearableCleanupSettings, ax as WearableSourceSettings, aB as WearablesConfig, aA as WearableSourceConnector, aw as WearableConversation, aF as WearableCorrectionRule, aT as WearableDayTranscriptMeta, aE as WearableDayTranscript } from './types-MWKPZnM0.js';
|
|
24
|
+
export { J as AgentAccessAuthToken, r as BriefingActiveThread, aU as BriefingConfig, p as BriefingFocus, o as BriefingFollowup, aV as BriefingOpenCommitment, t as BriefingRecentEntity, s as BriefingResult, n as BriefingSections, aW as BriefingWindow, z as BufferSurpriseEvent, q as CalendarEvent, C as CalendarSource, aX as CodexCompatConfig, aJ as ConsolidationObservation, a6 as ContinuityImprovementLoop, aY as DEFAULT_RECALL_DISCLOSURE, E as EntityFile, $ as EntityStructuredSection, aZ as ExtractedFact, G as GatewayConfig, ac as MemoryActionEligibilityContext, a_ as MemoryActionEligibilitySource, U as MemoryActionType, g as MemoryFile, k as MemoryFrontmatter, a$ as MemoryObservation, b0 as MemoryScope, b1 as RECALL_DISCLOSURE_LEVELS, j as RecallDisclosure, D as SecretRef, b2 as WearableAuthCheck, b3 as WearableFetchOptions, b4 as WearableFetchPage, az as WearableMemoryMode, ay as WearableNativeMemory, b5 as WearableNativeMemoryPage, aD as WearableSourceStatus, aC as WearableSyncSummary, b6 as WearableTranscriptSegment, b7 as isRecallDisclosure } from './types-MWKPZnM0.js';
|
|
25
25
|
export { JudgeBatchResult, JudgeCandidate, JudgeVerdict, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
|
|
26
26
|
export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
|
|
27
|
-
export { i as EngramAccessInputError, g as EngramAccessService, P as ProcedureStatsConfigSnapshot, j as ProcedureStatsRecent, k as ProcedureStatsReport, l as ProcedureStatusCounts, m as computeProcedureStats, n as formatProcedureStatsText } from './access-service-
|
|
27
|
+
export { i as EngramAccessInputError, g as EngramAccessService, P as ProcedureStatsConfigSnapshot, j as ProcedureStatsRecent, k as ProcedureStatsReport, l as ProcedureStatusCounts, m as computeProcedureStats, n as formatProcedureStatsText } from './access-service-COCzhgEL.js';
|
|
28
28
|
export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
|
|
29
29
|
export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
|
|
30
30
|
export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
|
|
@@ -38,7 +38,7 @@ export { OramaBackend } from './search/orama-backend.js';
|
|
|
38
38
|
export { MeilisearchBackend } from './search/meilisearch-backend.js';
|
|
39
39
|
export { buildEntityRecallSection } from './entity-retrieval.js';
|
|
40
40
|
export { resolvePrincipal } from './namespaces/principal.js';
|
|
41
|
-
export { N as NamespaceCatalog,
|
|
41
|
+
export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, a as NamespaceKind, b as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-DxCzhjE6.js';
|
|
42
42
|
export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
|
|
43
43
|
export { storagePathHash } from './storage-paths.js';
|
|
44
44
|
export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
|
|
@@ -60,10 +60,10 @@ export { CODEX_THREAD_KEY_PREFIX } from './thread-key.js';
|
|
|
60
60
|
export { PageVersion, VersionHistory, VersionTrigger, VersioningConfig, VersioningLogger, createVersion, diffVersions, getVersion, listVersions, revertToVersion } from './page-versioning.js';
|
|
61
61
|
export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance, formatOaiMemCitation, parseOaiMemCitation, sanitizeNoteForCitation } from './citations.js';
|
|
62
62
|
export { initLogger, log } from './logger.js';
|
|
63
|
-
export { b as SemanticDedupDecision,
|
|
63
|
+
export { b as SemanticDedupDecision, S as SemanticDedupHit, a as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-SLAa_prH.js';
|
|
64
64
|
export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncFileContentChunk, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, defaultOfflineSyncStatePath, fileStatesFromSnapshot, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
|
|
65
|
-
import { D as DiscoveredExtension } from './semantic-consolidation-
|
|
66
|
-
export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-
|
|
65
|
+
import { D as DiscoveredExtension } from './semantic-consolidation-DgFXyALl.js';
|
|
66
|
+
export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-DgFXyALl.js';
|
|
67
67
|
export { ConnectorCapability, ConnectorInstance, ConnectorManifest, ConnectorRegistry, DoctorCheck, DoctorResult, InstallOptions, InstallResult, MARKETPLACE_MANIFEST_FILENAME, MARKETPLACE_SCHEMA_VERSION, MarketplaceConfig, MarketplaceEntry, MarketplaceInstallResult, MarketplaceInstallType, MarketplaceLogger, MarketplaceManifest, MarketplaceValidation, RemoveResult, checkMarketplaceManifest, coerceInstallExtension, doctorConnector, generateMarketplaceManifest, getConnectorToken, installConnector, installFromMarketplace, listConnectors, loadRegistry, removeConnector, saveRegistry, validateMarketplaceManifest, writeMarketplaceManifest } from './connectors/index.js';
|
|
68
68
|
import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
|
|
69
69
|
export { c as CONNECTOR_ID_PATTERN, C as ConnectorConfig, b as ConnectorCursor, a as ConnectorDocument, d as ConnectorDocumentSource, e as SyncIncrementalArgs, i as isValidConnectorId, p as persistableConnectorConfig, r as redactConnectorConfigSecrets } from './framework-CNDn2164.js';
|
|
@@ -79,7 +79,7 @@ export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, Enrichme
|
|
|
79
79
|
export { d as BulkImportError, B as BulkImportOptions, b as BulkImportResult, a as BulkImportSource, e as BulkImportSourceAdapter, f as ImportSourceRole, I as ImportTurn, g as ImportTurnValidationIssue, i as isImportRole, p as parseIsoTimestamp, v as validateImportTurn } from './types-ByK7T3L6.js';
|
|
80
80
|
export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
|
|
81
81
|
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-BSTuml0d.js';
|
|
82
|
-
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-
|
|
82
|
+
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BM4xQPp4.js';
|
|
83
83
|
export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
|
|
84
84
|
export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
|
|
85
85
|
export { ComputeMemoryWorthInput, MemoryWorthResult, computeMemoryWorth } from './memory-worth.js';
|
|
@@ -172,6 +172,119 @@ import './utility-learner.js';
|
|
|
172
172
|
import './resume-bundles.js';
|
|
173
173
|
import './semantic-rule-promotion.js';
|
|
174
174
|
|
|
175
|
+
/**
|
|
176
|
+
* Coding-agent namespace overlay (issue #569 PR 2 + PR 3).
|
|
177
|
+
*
|
|
178
|
+
* Given a `CodingContext` (from `resolveGitContext`) and a `CodingModeConfig`,
|
|
179
|
+
* returns the namespace that recall + write paths should use — or `null` when
|
|
180
|
+
* no overlay should apply (coding mode disabled, no context supplied, or
|
|
181
|
+
* feature flags off).
|
|
182
|
+
*
|
|
183
|
+
* PR 2 ships the project overlay. PR 3 will add the branch overlay; the
|
|
184
|
+
* function here already handles both flags so the schema / types / plumbing
|
|
185
|
+
* don't have to change a second time when branch-scope lands.
|
|
186
|
+
*
|
|
187
|
+
* Pure function — no orchestrator, no config side-effects. Callers keep rule
|
|
188
|
+
* 42 (read + write through same namespace layer) by consulting the same
|
|
189
|
+
* function on both paths.
|
|
190
|
+
*/
|
|
191
|
+
|
|
192
|
+
interface CodingNamespaceOverlay {
|
|
193
|
+
/**
|
|
194
|
+
* Effective namespace to use for this session's memory operations. When
|
|
195
|
+
* `branchScope` is on, takes the form `project:<id>/branch:<b>`; otherwise
|
|
196
|
+
* `project:<id>`.
|
|
197
|
+
*/
|
|
198
|
+
namespace: string;
|
|
199
|
+
/**
|
|
200
|
+
* Read fallbacks — additional namespaces a caller should include in recall
|
|
201
|
+
* so that, for example, a branch-scoped session still sees project-level
|
|
202
|
+
* memories that were written before the branch scope was enabled.
|
|
203
|
+
*
|
|
204
|
+
* Writes MUST go to `namespace` only; these are read-side only.
|
|
205
|
+
*
|
|
206
|
+
* Introduced to carry PR 3's branch→project fallback; PR 2 returns an empty
|
|
207
|
+
* array here.
|
|
208
|
+
*/
|
|
209
|
+
readFallbacks: string[];
|
|
210
|
+
/**
|
|
211
|
+
* `"project"` when only project scope applies, `"branch"` when branch scope
|
|
212
|
+
* is also layered on. Used for diagnostics (`remnic doctor`) and logging.
|
|
213
|
+
*/
|
|
214
|
+
scope: "project" | "branch";
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Produce the project-scope namespace name. Exported for tests and for
|
|
218
|
+
* `remnic doctor` to render. Guaranteed to satisfy `isSafeRouteNamespace`:
|
|
219
|
+
* no `/`, no `:`, lowercase only, length-capped to 64 chars.
|
|
220
|
+
*/
|
|
221
|
+
declare function projectNamespaceName(projectId: string): string;
|
|
222
|
+
/**
|
|
223
|
+
* Produce the branch-scope namespace name. Format:
|
|
224
|
+
* `project-<id>-branch-<name>[-<hash>]`. Uses `-` as the structural separator
|
|
225
|
+
* rather than `/` or `:` so the result is a single safe route-namespace
|
|
226
|
+
* token that can be used directly as a filesystem directory.
|
|
227
|
+
*
|
|
228
|
+
* Two failure modes must not collapse distinct branches to one namespace:
|
|
229
|
+
*
|
|
230
|
+
* 1. Sanitization is lossy (`feat/x` and `feat-x` both sanitize to
|
|
231
|
+
* `feat-x`; `Feature` and `feature` both sanitize to `feature`). When
|
|
232
|
+
* sanitization rewrote any character, we append a short hash of the
|
|
233
|
+
* RAW branch so distinct inputs stay distinct.
|
|
234
|
+
* 2. Truncation is applied when the total exceeds 64 chars. In that
|
|
235
|
+
* mode `capLength` appends its own hash of the full pre-truncated
|
|
236
|
+
* value.
|
|
237
|
+
*
|
|
238
|
+
* Long branches that also sanitize may receive both kinds of hashes — that
|
|
239
|
+
* is acceptable: the router only requires the result be unique and
|
|
240
|
+
* deterministic, and the two hashes derive from different domains so they
|
|
241
|
+
* don't conflict.
|
|
242
|
+
*/
|
|
243
|
+
declare function branchNamespaceName(projectId: string, branch: string): string;
|
|
244
|
+
/**
|
|
245
|
+
* Compute the namespace overlay for a session.
|
|
246
|
+
*
|
|
247
|
+
* Returns `null` when no overlay applies — callers should then use their
|
|
248
|
+
* existing `defaultNamespaceForPrincipal(...)` result unchanged. This keeps
|
|
249
|
+
* CLAUDE.md #30 (escape hatch): setting `codingMode.projectScope: false`
|
|
250
|
+
* exactly restores pre-#569 behaviour at every call site.
|
|
251
|
+
*
|
|
252
|
+
* @param codingContext — git context from the connector
|
|
253
|
+
* @param config — coding mode flags (projectScope, branchScope, globalFallback)
|
|
254
|
+
* @param defaultNamespace — retained for call-site compatibility; no longer
|
|
255
|
+
* used. The global fallback is expressed as an empty-string sentinel in
|
|
256
|
+
* `readFallbacks`, which `combineNamespaces(principal, "")` resolves to the
|
|
257
|
+
* principal's own namespace at the call site.
|
|
258
|
+
*/
|
|
259
|
+
declare function resolveCodingNamespaceOverlay(codingContext: CodingContext | null | undefined, config: Pick<CodingModeConfig, "projectScope" | "branchScope" | "globalFallback">, defaultNamespace?: string): CodingNamespaceOverlay | null;
|
|
260
|
+
interface CodingScopeDescription {
|
|
261
|
+
/** "none" when no overlay is active; otherwise the resolved scope level. */
|
|
262
|
+
scope: "none" | "project" | "branch";
|
|
263
|
+
/** Project id (raw, not sanitized) when a context is attached. */
|
|
264
|
+
projectId: string | null;
|
|
265
|
+
/** Branch name (raw, not sanitized) when available. */
|
|
266
|
+
branch: string | null;
|
|
267
|
+
/** Effective namespace writes route to. `null` when no overlay applies. */
|
|
268
|
+
effectiveNamespace: string | null;
|
|
269
|
+
/** Read fallbacks included in recall (non-empty only when branch-scope is on). */
|
|
270
|
+
readFallbacks: string[];
|
|
271
|
+
/**
|
|
272
|
+
* Why no overlay applies, when `scope === "none"`. One of:
|
|
273
|
+
* - `"no-context"` — connector didn't attach a CodingContext
|
|
274
|
+
* - `"disabled"` — codingMode.projectScope is false
|
|
275
|
+
* - `"empty-project"` — codingContext.projectId was empty/whitespace
|
|
276
|
+
*/
|
|
277
|
+
disabledReason: "no-context" | "disabled" | "empty-project" | null;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Human-readable description of the coding-agent scope that currently applies
|
|
281
|
+
* for a session. Consumed by `remnic doctor` (PR 8) and by logs to surface
|
|
282
|
+
* why recall routes where it does.
|
|
283
|
+
*
|
|
284
|
+
* Pure — callers pass the coding context + config they already have.
|
|
285
|
+
*/
|
|
286
|
+
declare function describeCodingScope(codingContext: CodingContext | null | undefined, config: Pick<CodingModeConfig, "projectScope" | "branchScope" | "globalFallback">, defaultNamespace?: string): CodingScopeDescription;
|
|
287
|
+
|
|
175
288
|
/**
|
|
176
289
|
* @remnic/core — Live Connectors Registry (issue #683 PR 1/N)
|
|
177
290
|
*
|
|
@@ -532,119 +645,6 @@ declare function renderExtensionsBlock(extensions: DiscoveredExtension[]): strin
|
|
|
532
645
|
*/
|
|
533
646
|
declare function renderExtensionsFooter(extensions: DiscoveredExtension[]): string;
|
|
534
647
|
|
|
535
|
-
/**
|
|
536
|
-
* Coding-agent namespace overlay (issue #569 PR 2 + PR 3).
|
|
537
|
-
*
|
|
538
|
-
* Given a `CodingContext` (from `resolveGitContext`) and a `CodingModeConfig`,
|
|
539
|
-
* returns the namespace that recall + write paths should use — or `null` when
|
|
540
|
-
* no overlay should apply (coding mode disabled, no context supplied, or
|
|
541
|
-
* feature flags off).
|
|
542
|
-
*
|
|
543
|
-
* PR 2 ships the project overlay. PR 3 will add the branch overlay; the
|
|
544
|
-
* function here already handles both flags so the schema / types / plumbing
|
|
545
|
-
* don't have to change a second time when branch-scope lands.
|
|
546
|
-
*
|
|
547
|
-
* Pure function — no orchestrator, no config side-effects. Callers keep rule
|
|
548
|
-
* 42 (read + write through same namespace layer) by consulting the same
|
|
549
|
-
* function on both paths.
|
|
550
|
-
*/
|
|
551
|
-
|
|
552
|
-
interface CodingNamespaceOverlay {
|
|
553
|
-
/**
|
|
554
|
-
* Effective namespace to use for this session's memory operations. When
|
|
555
|
-
* `branchScope` is on, takes the form `project:<id>/branch:<b>`; otherwise
|
|
556
|
-
* `project:<id>`.
|
|
557
|
-
*/
|
|
558
|
-
namespace: string;
|
|
559
|
-
/**
|
|
560
|
-
* Read fallbacks — additional namespaces a caller should include in recall
|
|
561
|
-
* so that, for example, a branch-scoped session still sees project-level
|
|
562
|
-
* memories that were written before the branch scope was enabled.
|
|
563
|
-
*
|
|
564
|
-
* Writes MUST go to `namespace` only; these are read-side only.
|
|
565
|
-
*
|
|
566
|
-
* Introduced to carry PR 3's branch→project fallback; PR 2 returns an empty
|
|
567
|
-
* array here.
|
|
568
|
-
*/
|
|
569
|
-
readFallbacks: string[];
|
|
570
|
-
/**
|
|
571
|
-
* `"project"` when only project scope applies, `"branch"` when branch scope
|
|
572
|
-
* is also layered on. Used for diagnostics (`remnic doctor`) and logging.
|
|
573
|
-
*/
|
|
574
|
-
scope: "project" | "branch";
|
|
575
|
-
}
|
|
576
|
-
/**
|
|
577
|
-
* Produce the project-scope namespace name. Exported for tests and for
|
|
578
|
-
* `remnic doctor` to render. Guaranteed to satisfy `isSafeRouteNamespace`:
|
|
579
|
-
* no `/`, no `:`, lowercase only, length-capped to 64 chars.
|
|
580
|
-
*/
|
|
581
|
-
declare function projectNamespaceName(projectId: string): string;
|
|
582
|
-
/**
|
|
583
|
-
* Produce the branch-scope namespace name. Format:
|
|
584
|
-
* `project-<id>-branch-<name>[-<hash>]`. Uses `-` as the structural separator
|
|
585
|
-
* rather than `/` or `:` so the result is a single safe route-namespace
|
|
586
|
-
* token that can be used directly as a filesystem directory.
|
|
587
|
-
*
|
|
588
|
-
* Two failure modes must not collapse distinct branches to one namespace:
|
|
589
|
-
*
|
|
590
|
-
* 1. Sanitization is lossy (`feat/x` and `feat-x` both sanitize to
|
|
591
|
-
* `feat-x`; `Feature` and `feature` both sanitize to `feature`). When
|
|
592
|
-
* sanitization rewrote any character, we append a short hash of the
|
|
593
|
-
* RAW branch so distinct inputs stay distinct.
|
|
594
|
-
* 2. Truncation is applied when the total exceeds 64 chars. In that
|
|
595
|
-
* mode `capLength` appends its own hash of the full pre-truncated
|
|
596
|
-
* value.
|
|
597
|
-
*
|
|
598
|
-
* Long branches that also sanitize may receive both kinds of hashes — that
|
|
599
|
-
* is acceptable: the router only requires the result be unique and
|
|
600
|
-
* deterministic, and the two hashes derive from different domains so they
|
|
601
|
-
* don't conflict.
|
|
602
|
-
*/
|
|
603
|
-
declare function branchNamespaceName(projectId: string, branch: string): string;
|
|
604
|
-
/**
|
|
605
|
-
* Compute the namespace overlay for a session.
|
|
606
|
-
*
|
|
607
|
-
* Returns `null` when no overlay applies — callers should then use their
|
|
608
|
-
* existing `defaultNamespaceForPrincipal(...)` result unchanged. This keeps
|
|
609
|
-
* CLAUDE.md #30 (escape hatch): setting `codingMode.projectScope: false`
|
|
610
|
-
* exactly restores pre-#569 behaviour at every call site.
|
|
611
|
-
*
|
|
612
|
-
* @param codingContext — git context from the connector
|
|
613
|
-
* @param config — coding mode flags (projectScope, branchScope, globalFallback)
|
|
614
|
-
* @param defaultNamespace — retained for call-site compatibility; no longer
|
|
615
|
-
* used. The global fallback is expressed as an empty-string sentinel in
|
|
616
|
-
* `readFallbacks`, which `combineNamespaces(principal, "")` resolves to the
|
|
617
|
-
* principal's own namespace at the call site.
|
|
618
|
-
*/
|
|
619
|
-
declare function resolveCodingNamespaceOverlay(codingContext: CodingContext | null | undefined, config: Pick<CodingModeConfig, "projectScope" | "branchScope" | "globalFallback">, defaultNamespace?: string): CodingNamespaceOverlay | null;
|
|
620
|
-
interface CodingScopeDescription {
|
|
621
|
-
/** "none" when no overlay is active; otherwise the resolved scope level. */
|
|
622
|
-
scope: "none" | "project" | "branch";
|
|
623
|
-
/** Project id (raw, not sanitized) when a context is attached. */
|
|
624
|
-
projectId: string | null;
|
|
625
|
-
/** Branch name (raw, not sanitized) when available. */
|
|
626
|
-
branch: string | null;
|
|
627
|
-
/** Effective namespace writes route to. `null` when no overlay applies. */
|
|
628
|
-
effectiveNamespace: string | null;
|
|
629
|
-
/** Read fallbacks included in recall (non-empty only when branch-scope is on). */
|
|
630
|
-
readFallbacks: string[];
|
|
631
|
-
/**
|
|
632
|
-
* Why no overlay applies, when `scope === "none"`. One of:
|
|
633
|
-
* - `"no-context"` — connector didn't attach a CodingContext
|
|
634
|
-
* - `"disabled"` — codingMode.projectScope is false
|
|
635
|
-
* - `"empty-project"` — codingContext.projectId was empty/whitespace
|
|
636
|
-
*/
|
|
637
|
-
disabledReason: "no-context" | "disabled" | "empty-project" | null;
|
|
638
|
-
}
|
|
639
|
-
/**
|
|
640
|
-
* Human-readable description of the coding-agent scope that currently applies
|
|
641
|
-
* for a session. Consumed by `remnic doctor` (PR 8) and by logs to surface
|
|
642
|
-
* why recall routes where it does.
|
|
643
|
-
*
|
|
644
|
-
* Pure — callers pass the coding context + config they already have.
|
|
645
|
-
*/
|
|
646
|
-
declare function describeCodingScope(codingContext: CodingContext | null | undefined, config: Pick<CodingModeConfig, "projectScope" | "branchScope" | "globalFallback">, defaultNamespace?: string): CodingScopeDescription;
|
|
647
|
-
|
|
648
648
|
/**
|
|
649
649
|
* Strict UTC-only parser — accepts `YYYY-MM-DDTHH:MM:SS[.sss]Z`.
|
|
650
650
|
* Returns milliseconds since epoch, or `null` if invalid.
|
package/dist/index.js
CHANGED
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
saveRegistry,
|
|
44
44
|
validateMarketplaceManifest,
|
|
45
45
|
writeMarketplaceManifest
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-LQ4J7ELC.js";
|
|
47
47
|
import "./chunk-V5OCT34X.js";
|
|
48
48
|
import {
|
|
49
49
|
executeResolution,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
registerTrainingExportAdapter,
|
|
95
95
|
runBulkImportCliCommand,
|
|
96
96
|
runWearablesCliCommand
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-ZCEI242W.js";
|
|
98
98
|
import "./chunk-MC4FJXPA.js";
|
|
99
99
|
import "./chunk-LQHDIS7L.js";
|
|
100
100
|
import "./chunk-7F7Z6MOS.js";
|
|
@@ -113,8 +113,8 @@ import "./chunk-HOJZMQ4J.js";
|
|
|
113
113
|
import "./chunk-EEC4PCG5.js";
|
|
114
114
|
import "./chunk-PYIFUBRK.js";
|
|
115
115
|
import "./chunk-D6RIFG4O.js";
|
|
116
|
-
import "./chunk-
|
|
117
|
-
import "./chunk-
|
|
116
|
+
import "./chunk-TGAHHCB6.js";
|
|
117
|
+
import "./chunk-EOOVJK2U.js";
|
|
118
118
|
import "./chunk-KJTKLXTH.js";
|
|
119
119
|
import "./chunk-LZZNTPLR.js";
|
|
120
120
|
import "./chunk-JCK7V6SN.js";
|
|
@@ -135,23 +135,22 @@ import {
|
|
|
135
135
|
validateImportTurn
|
|
136
136
|
} from "./chunk-OUELRE5E.js";
|
|
137
137
|
import "./chunk-GQL52GQ5.js";
|
|
138
|
-
import "./chunk-
|
|
139
|
-
import "./chunk-IYOPIG3E.js";
|
|
138
|
+
import "./chunk-IX72AAMZ.js";
|
|
140
139
|
import {
|
|
141
140
|
clearAuthTokenSecretCache,
|
|
142
141
|
isAgentAccessSecretRef,
|
|
143
142
|
resolveAgentAccessAuthToken
|
|
144
143
|
} from "./chunk-TGQ2NTWH.js";
|
|
145
|
-
import "./chunk-
|
|
144
|
+
import "./chunk-MOXFPLD6.js";
|
|
146
145
|
import {
|
|
147
146
|
parseXrayBudgetFlag,
|
|
148
147
|
parseXrayCliOptions
|
|
149
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-SFOAQQDJ.js";
|
|
150
149
|
import {
|
|
151
150
|
parseStrictCliDate
|
|
152
151
|
} from "./chunk-3T74IZB3.js";
|
|
153
|
-
import "./chunk-
|
|
154
|
-
import "./chunk-
|
|
152
|
+
import "./chunk-NUIJEGVD.js";
|
|
153
|
+
import "./chunk-JTKFZMZ7.js";
|
|
155
154
|
import "./chunk-HL4DB7TO.js";
|
|
156
155
|
import "./chunk-7XH7VJN4.js";
|
|
157
156
|
import "./chunk-YNDLCWXS.js";
|
|
@@ -168,8 +167,7 @@ import {
|
|
|
168
167
|
import {
|
|
169
168
|
getMemoryForActiveMemory,
|
|
170
169
|
recallForActiveMemory
|
|
171
|
-
} from "./chunk-
|
|
172
|
-
import "./chunk-6MKAMLQL.js";
|
|
170
|
+
} from "./chunk-SINGJCUR.js";
|
|
173
171
|
import {
|
|
174
172
|
DEFAULT_TAXONOMY,
|
|
175
173
|
Orchestrator,
|
|
@@ -191,7 +189,7 @@ import {
|
|
|
191
189
|
saveTaxonomy,
|
|
192
190
|
validateSlug,
|
|
193
191
|
validateTaxonomy
|
|
194
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-XGMCUY5P.js";
|
|
195
193
|
import {
|
|
196
194
|
WEARABLE_SOURCE_PREFIX,
|
|
197
195
|
buildExtractionTurns,
|
|
@@ -219,7 +217,7 @@ import {
|
|
|
219
217
|
migrateFromEngram,
|
|
220
218
|
rollbackFromEngramMigration
|
|
221
219
|
} from "./chunk-7HYPN2GC.js";
|
|
222
|
-
import "./chunk-
|
|
220
|
+
import "./chunk-6TAETM63.js";
|
|
223
221
|
import "./chunk-666A3MOW.js";
|
|
224
222
|
import "./chunk-HHLLAQGZ.js";
|
|
225
223
|
import "./chunk-X5J3JZR3.js";
|
|
@@ -235,7 +233,7 @@ import "./chunk-UWK5OXUJ.js";
|
|
|
235
233
|
import "./chunk-O7GOFAM3.js";
|
|
236
234
|
import "./chunk-MDJURR27.js";
|
|
237
235
|
import "./chunk-7N4KAIGN.js";
|
|
238
|
-
import "./chunk-
|
|
236
|
+
import "./chunk-Z7XEIAV4.js";
|
|
239
237
|
import "./chunk-UFS7OXGL.js";
|
|
240
238
|
import "./chunk-TECVW3JP.js";
|
|
241
239
|
import "./chunk-UHGBNIOS.js";
|
|
@@ -254,12 +252,12 @@ import "./chunk-3FAMU5TX.js";
|
|
|
254
252
|
import {
|
|
255
253
|
buildTargetedFactRecallSection,
|
|
256
254
|
shouldRecallTargetedFactEvidence
|
|
257
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-4SBW47WK.js";
|
|
258
256
|
import "./chunk-DKTSR7EK.js";
|
|
259
257
|
import {
|
|
260
258
|
buildResponseGuidanceRecallSection,
|
|
261
259
|
shouldRecallResponseGuidance
|
|
262
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-L6W77GWW.js";
|
|
263
261
|
import "./chunk-L24JROPR.js";
|
|
264
262
|
import "./chunk-MGN7VHWQ.js";
|
|
265
263
|
import "./chunk-5IZL4DCV.js";
|
|
@@ -299,9 +297,9 @@ import {
|
|
|
299
297
|
import "./chunk-YAZNBMNF.js";
|
|
300
298
|
import {
|
|
301
299
|
ExtractionEngine
|
|
302
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-ABCGDW3A.js";
|
|
303
301
|
import "./chunk-4RA3C3EV.js";
|
|
304
|
-
import "./chunk-
|
|
302
|
+
import "./chunk-KKK7YTYN.js";
|
|
305
303
|
import "./chunk-54V4BZWP.js";
|
|
306
304
|
import {
|
|
307
305
|
ModelRegistry
|
|
@@ -322,7 +320,7 @@ import {
|
|
|
322
320
|
collectStructuredPlanCues,
|
|
323
321
|
collectTemporalLexicalCues,
|
|
324
322
|
normalizeTurnExpansionEnd
|
|
325
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-4463LUIE.js";
|
|
326
324
|
import "./chunk-YVVQUAOO.js";
|
|
327
325
|
import "./chunk-XHYGJVXL.js";
|
|
328
326
|
import {
|
|
@@ -345,11 +343,12 @@ import {
|
|
|
345
343
|
import "./chunk-ZA2S2VLL.js";
|
|
346
344
|
import {
|
|
347
345
|
buildEntityRecallSection
|
|
348
|
-
} from "./chunk-
|
|
346
|
+
} from "./chunk-AMNLZ6SF.js";
|
|
349
347
|
import {
|
|
350
348
|
buildEventOrderRecallSection,
|
|
351
349
|
shouldRecallEventOrderEvidence
|
|
352
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-FIOYURII.js";
|
|
351
|
+
import "./chunk-LUPVCGYK.js";
|
|
353
352
|
import {
|
|
354
353
|
buildEvidencePack
|
|
355
354
|
} from "./chunk-PYPOFEMK.js";
|
|
@@ -360,26 +359,20 @@ import {
|
|
|
360
359
|
import "./chunk-VEWZZM3H.js";
|
|
361
360
|
import "./chunk-2PRQG7PV.js";
|
|
362
361
|
import "./chunk-WIWPSQYU.js";
|
|
363
|
-
import "./chunk-
|
|
362
|
+
import "./chunk-MXEWQKM7.js";
|
|
364
363
|
import "./chunk-2F6NP3NT.js";
|
|
365
364
|
import "./chunk-TERNBNJB.js";
|
|
366
365
|
import "./chunk-QRDOSYOR.js";
|
|
367
|
-
import "./chunk-
|
|
366
|
+
import "./chunk-EYJD6KIO.js";
|
|
368
367
|
import "./chunk-ZRWB5D4H.js";
|
|
369
|
-
import "./chunk-
|
|
370
|
-
import {
|
|
371
|
-
SESSION_CHANNEL_TYPE,
|
|
372
|
-
legacyParserReadbackDir,
|
|
373
|
-
parseSessionIdentity,
|
|
374
|
-
sessionStoragePaths
|
|
375
|
-
} from "./chunk-S4DDLTPX.js";
|
|
368
|
+
import "./chunk-GY3SKOS4.js";
|
|
376
369
|
import "./chunk-SFQ6QNL7.js";
|
|
377
370
|
import "./chunk-33JBK2XP.js";
|
|
378
|
-
import "./chunk-
|
|
371
|
+
import "./chunk-EZR35XHX.js";
|
|
379
372
|
import {
|
|
380
373
|
NamespaceCatalog
|
|
381
|
-
} from "./chunk-
|
|
382
|
-
import "./chunk-
|
|
374
|
+
} from "./chunk-JMA4RYRN.js";
|
|
375
|
+
import "./chunk-64XXOQRW.js";
|
|
383
376
|
import "./chunk-KFY3SGN7.js";
|
|
384
377
|
import {
|
|
385
378
|
resolvePluginEntry
|
|
@@ -429,11 +422,11 @@ import {
|
|
|
429
422
|
import "./chunk-PBH4JUAB.js";
|
|
430
423
|
import {
|
|
431
424
|
buildExtensionsBlockForConsolidation
|
|
432
|
-
} from "./chunk-
|
|
425
|
+
} from "./chunk-FVI5B7DE.js";
|
|
433
426
|
import {
|
|
434
427
|
runCodexMaterialize,
|
|
435
428
|
runPostConsolidationMaterialize
|
|
436
|
-
} from "./chunk-
|
|
429
|
+
} from "./chunk-QIMFOCSH.js";
|
|
437
430
|
import {
|
|
438
431
|
MATERIALIZE_VERSION,
|
|
439
432
|
SENTINEL_FILE,
|
|
@@ -469,7 +462,7 @@ import {
|
|
|
469
462
|
parseConfig,
|
|
470
463
|
parseWearablesConfig,
|
|
471
464
|
resolveEnvVars
|
|
472
|
-
} from "./chunk-
|
|
465
|
+
} from "./chunk-WRGPE6AW.js";
|
|
473
466
|
import {
|
|
474
467
|
REDACTION_PLACEHOLDER,
|
|
475
468
|
applyCorrections,
|
|
@@ -489,7 +482,7 @@ import "./chunk-LBJBNWS2.js";
|
|
|
489
482
|
import "./chunk-OADWQ5CR.js";
|
|
490
483
|
import {
|
|
491
484
|
EngramAccessHttpServer
|
|
492
|
-
} from "./chunk-
|
|
485
|
+
} from "./chunk-5VXVXJH6.js";
|
|
493
486
|
import "./chunk-SEDEKFYQ.js";
|
|
494
487
|
import "./chunk-JBPKEARU.js";
|
|
495
488
|
import "./chunk-TMSXWOBZ.js";
|
|
@@ -503,7 +496,7 @@ import {
|
|
|
503
496
|
} from "./chunk-7WV3F5DQ.js";
|
|
504
497
|
import {
|
|
505
498
|
EngramMcpServer
|
|
506
|
-
} from "./chunk-
|
|
499
|
+
} from "./chunk-KC6TCAWV.js";
|
|
507
500
|
import {
|
|
508
501
|
REMNIC_CHATGPT_MEMORY_INSPECTOR_CANONICAL_TOOL,
|
|
509
502
|
REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE,
|
|
@@ -519,7 +512,7 @@ import {
|
|
|
519
512
|
parseOaiMemCitation,
|
|
520
513
|
sanitizeNoteForCitation
|
|
521
514
|
} from "./chunk-D24OXEPB.js";
|
|
522
|
-
import "./chunk-
|
|
515
|
+
import "./chunk-CZJ6QSKG.js";
|
|
523
516
|
import {
|
|
524
517
|
formatZodError,
|
|
525
518
|
memoryStoreRequestSchema,
|
|
@@ -528,13 +521,13 @@ import {
|
|
|
528
521
|
suggestionSubmitRequestSchema,
|
|
529
522
|
validateRequest
|
|
530
523
|
} from "./chunk-Q4O3ET6F.js";
|
|
531
|
-
import "./chunk-
|
|
524
|
+
import "./chunk-QGJAGC2J.js";
|
|
532
525
|
import {
|
|
533
526
|
EngramAccessInputError,
|
|
534
527
|
EngramAccessService,
|
|
535
528
|
computeProcedureStats,
|
|
536
529
|
formatProcedureStatsText
|
|
537
|
-
} from "./chunk-
|
|
530
|
+
} from "./chunk-OXEAMU42.js";
|
|
538
531
|
import "./chunk-GDASG7NC.js";
|
|
539
532
|
import "./chunk-GDB4J2H3.js";
|
|
540
533
|
import {
|
|
@@ -545,6 +538,7 @@ import {
|
|
|
545
538
|
CODING_GRAPH_ENGINE_VERSION,
|
|
546
539
|
TIER_1_LANGUAGES
|
|
547
540
|
} from "./chunk-ERA5RSMZ.js";
|
|
541
|
+
import "./chunk-IQ7WCZRW.js";
|
|
548
542
|
import {
|
|
549
543
|
RECALL_XRAY_FORMATS,
|
|
550
544
|
parseXrayFormat,
|
|
@@ -552,7 +546,7 @@ import {
|
|
|
552
546
|
renderXrayJson,
|
|
553
547
|
renderXrayMarkdown,
|
|
554
548
|
renderXrayText
|
|
555
|
-
} from "./chunk-
|
|
549
|
+
} from "./chunk-WN4GHSDH.js";
|
|
556
550
|
import "./chunk-SOBJ6NEY.js";
|
|
557
551
|
import "./chunk-BT7NVCML.js";
|
|
558
552
|
import "./chunk-H7XKCNR6.js";
|
|
@@ -564,15 +558,21 @@ import {
|
|
|
564
558
|
resolveCodingNamespaceOverlay,
|
|
565
559
|
resolveGitContext,
|
|
566
560
|
stableHash
|
|
567
|
-
} from "./chunk-
|
|
561
|
+
} from "./chunk-SHRRWOVY.js";
|
|
568
562
|
import "./chunk-RS25QOKZ.js";
|
|
569
563
|
import {
|
|
570
564
|
isTrustZoneName
|
|
571
565
|
} from "./chunk-JGSKJHF7.js";
|
|
566
|
+
import {
|
|
567
|
+
SESSION_CHANNEL_TYPE,
|
|
568
|
+
legacyParserReadbackDir,
|
|
569
|
+
parseSessionIdentity,
|
|
570
|
+
sessionStoragePaths
|
|
571
|
+
} from "./chunk-S4DDLTPX.js";
|
|
572
572
|
import {
|
|
573
573
|
storagePathHash
|
|
574
574
|
} from "./chunk-FF4KLI5W.js";
|
|
575
|
-
import "./chunk-
|
|
575
|
+
import "./chunk-YTMDF6S7.js";
|
|
576
576
|
import "./chunk-BMFZLLNI.js";
|
|
577
577
|
import {
|
|
578
578
|
isLcmMessagePartKind,
|
|
@@ -585,7 +585,7 @@ import {
|
|
|
585
585
|
partsFromRenderedText
|
|
586
586
|
} from "./chunk-CI7RKSRE.js";
|
|
587
587
|
import "./chunk-6HMYUWXR.js";
|
|
588
|
-
import "./chunk-
|
|
588
|
+
import "./chunk-MBUM2Y3L.js";
|
|
589
589
|
import "./chunk-VPAFWWCL.js";
|
|
590
590
|
import "./chunk-QQW2LIEA.js";
|
|
591
591
|
import "./chunk-SANZHXY2.js";
|
|
@@ -619,7 +619,7 @@ import "./chunk-YOI3ELXF.js";
|
|
|
619
619
|
import "./chunk-EI6V5UXY.js";
|
|
620
620
|
import "./chunk-PNLCEFE4.js";
|
|
621
621
|
import "./chunk-O75CRYGF.js";
|
|
622
|
-
import "./chunk-
|
|
622
|
+
import "./chunk-HV57RHMD.js";
|
|
623
623
|
import {
|
|
624
624
|
buildProcedureMarkdownBody,
|
|
625
625
|
parseProcedureStepsFromBody
|
|
@@ -651,12 +651,12 @@ import {
|
|
|
651
651
|
renderBriefingMarkdown,
|
|
652
652
|
resolveBriefingSaveDir,
|
|
653
653
|
validateBriefingFormat
|
|
654
|
-
} from "./chunk-
|
|
654
|
+
} from "./chunk-6VVP6NK7.js";
|
|
655
655
|
import {
|
|
656
656
|
StorageManager,
|
|
657
657
|
parseEntityFile,
|
|
658
658
|
serializeEntityFile
|
|
659
|
-
} from "./chunk-
|
|
659
|
+
} from "./chunk-GFIARMA7.js";
|
|
660
660
|
import "./chunk-3JJWNZTT.js";
|
|
661
661
|
import {
|
|
662
662
|
DEFAULT_SELF_NAME,
|
|
@@ -696,7 +696,7 @@ import {
|
|
|
696
696
|
DEFAULT_RECALL_DISCLOSURE,
|
|
697
697
|
RECALL_DISCLOSURE_LEVELS,
|
|
698
698
|
isRecallDisclosure
|
|
699
|
-
} from "./chunk-
|
|
699
|
+
} from "./chunk-IX3UQT4H.js";
|
|
700
700
|
import {
|
|
701
701
|
normalizeProjectionPreview,
|
|
702
702
|
normalizeProjectionTags
|
|
@@ -708,7 +708,6 @@ import "./chunk-42JKGUFJ.js";
|
|
|
708
708
|
import "./chunk-RULE4VG5.js";
|
|
709
709
|
import "./chunk-LDXUBPMO.js";
|
|
710
710
|
import "./chunk-DM2T26WE.js";
|
|
711
|
-
import "./chunk-FVQJYWH7.js";
|
|
712
711
|
import "./chunk-FEB7W5JG.js";
|
|
713
712
|
import "./chunk-G7D6GZ5J.js";
|
|
714
713
|
import {
|
|
@@ -817,7 +816,8 @@ import {
|
|
|
817
816
|
import "./chunk-U3PN77QT.js";
|
|
818
817
|
import {
|
|
819
818
|
coerceInstallExtension
|
|
820
|
-
} from "./chunk-
|
|
819
|
+
} from "./chunk-SK2CR6MW.js";
|
|
820
|
+
import "./chunk-FVQJYWH7.js";
|
|
821
821
|
import "./chunk-4DJQYKMN.js";
|
|
822
822
|
import {
|
|
823
823
|
expandTildePath
|
|
@@ -830,6 +830,7 @@ import {
|
|
|
830
830
|
initLogger,
|
|
831
831
|
log
|
|
832
832
|
} from "./chunk-NU3CSQ4H.js";
|
|
833
|
+
import "./chunk-6MKAMLQL.js";
|
|
833
834
|
import "./chunk-TBBDFYXW.js";
|
|
834
835
|
import "./chunk-ZBJMUXZH.js";
|
|
835
836
|
import "./chunk-PVGDJXVK.js";
|