@remnic/core 10.0.73 → 10.0.75
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-admin-ops-surface.js +49 -48
- package/dist/access-authorization-probe.js +50 -49
- package/dist/access-boundary.js +49 -48
- package/dist/access-cli.js +105 -104
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.js +49 -48
- package/dist/access-http-briefing.js +50 -49
- package/dist/access-http-query.js +51 -50
- package/dist/access-http.js +68 -67
- package/dist/access-identity-continuity-surface.js +49 -48
- package/dist/access-lcm-surface.js +49 -48
- package/dist/access-mcp.js +58 -57
- package/dist/access-namespace-preflight.js +49 -48
- package/dist/access-observe-helpers.d.ts.map +1 -1
- package/dist/access-observe-helpers.js +1 -1
- package/dist/access-observe-write-category.js +6 -6
- package/dist/access-observe-write-surface.js +49 -48
- package/dist/access-offline-manifest.js +5 -5
- package/dist/access-operations-batch.js +50 -49
- package/dist/access-operations.js +57 -56
- package/dist/access-recall-concurrency.js +49 -48
- package/dist/access-recall-response.js +49 -48
- package/dist/access-recall-surface.js +49 -48
- package/dist/access-schema.js +5 -5
- package/dist/access-service.js +49 -48
- package/dist/access-surface-catalog.js +51 -50
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/active-recall.js +18 -18
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/{auto-sync-ANOJDQD4.js → auto-sync-XHSS3XPL.js} +5 -5
- package/dist/briefing.js +15 -15
- package/dist/buffer-turn-helpers.d.ts +18 -0
- package/dist/buffer-turn-helpers.d.ts.map +1 -1
- package/dist/buffer-turn-helpers.js +5 -1
- package/dist/buffer.js +4 -4
- package/dist/calibration.js +5 -4
- package/dist/calibration.js.map +1 -1
- package/dist/causal-consolidation.js +16 -16
- package/dist/{chunk-7WFY2L5J.js → chunk-233S3MXC.js} +3 -3
- package/dist/{chunk-N7NAGECH.js → chunk-36B5VPRU.js} +2 -2
- package/dist/{chunk-5ORJHH43.js → chunk-3GGCMRO7.js} +2 -2
- package/dist/{chunk-RZED7FAU.js → chunk-3M7YP42P.js} +2 -2
- package/dist/{chunk-ICBUTKLL.js → chunk-3MBSD53O.js} +2 -2
- package/dist/{chunk-J72ZY7NU.js → chunk-4DLZ2ITE.js} +2 -2
- package/dist/{chunk-OUBEJWVI.js → chunk-4KLQI3L2.js} +42 -1
- package/dist/chunk-4KLQI3L2.js.map +1 -0
- package/dist/{chunk-WN2DASTS.js → chunk-5BE3FLKL.js} +4 -4
- package/dist/{chunk-S73ZVU37.js → chunk-5IQL4N37.js} +10 -10
- package/dist/{chunk-CIL4GHMD.js → chunk-6Q6AQ36B.js} +2 -2
- package/dist/{chunk-W4V7P5HP.js → chunk-6RPPZL7W.js} +2 -2
- package/dist/{chunk-EQ6EMJRG.js → chunk-6Y5ANLDH.js} +2 -2
- package/dist/{chunk-YPYSC3TX.js → chunk-7FFGWIBN.js} +2 -2
- package/dist/{chunk-VNTQU6KB.js → chunk-7PMOCQOL.js} +8 -13
- package/dist/chunk-7PMOCQOL.js.map +1 -0
- package/dist/{chunk-5RW247F5.js → chunk-AY2UK5XK.js} +14 -9
- package/dist/chunk-AY2UK5XK.js.map +1 -0
- package/dist/{chunk-5QV6CE6K.js → chunk-B36ACJG7.js} +2 -2
- package/dist/{chunk-ZBET3W26.js → chunk-BZTA7DR4.js} +3 -3
- package/dist/{chunk-JY4LXMZR.js → chunk-C44DRDZM.js} +2 -2
- package/dist/{chunk-UIFWZMO7.js → chunk-CLVILSBR.js} +7 -7
- package/dist/{chunk-OGQGDOYK.js → chunk-COIQ5N4J.js} +2 -2
- package/dist/{chunk-UAOJVQXC.js → chunk-DANFOVQG.js} +2 -2
- package/dist/{chunk-2R44BBPK.js → chunk-DEGE32C3.js} +2 -2
- package/dist/{chunk-YIJECSIX.js → chunk-DJDJBMFX.js} +9 -2
- package/dist/chunk-DJDJBMFX.js.map +1 -0
- package/dist/{chunk-LHMCZ6VW.js → chunk-E22CQZ3H.js} +14 -14
- package/dist/{chunk-JGLZ46JS.js → chunk-ELUG6NKQ.js} +2 -2
- package/dist/{chunk-X4DHAXFO.js → chunk-F3FNXE7C.js} +3 -3
- package/dist/{chunk-YIXWY4OZ.js → chunk-FETPTCQZ.js} +2 -2
- package/dist/{chunk-N2Y6COEM.js → chunk-FGUWCE5I.js} +2 -2
- package/dist/{chunk-FDUCIUQ5.js → chunk-FJ2VJTGA.js} +2 -2
- package/dist/{chunk-ENPJX3BB.js → chunk-FMFCQRDM.js} +3 -3
- package/dist/{chunk-BNU5TQLR.js → chunk-FOQ7TW2T.js} +2 -2
- package/dist/{chunk-4PMFSYH7.js → chunk-FP2AT4WL.js} +2 -2
- package/dist/{chunk-DLZGSZVC.js → chunk-FYQUUIPI.js} +4 -4
- package/dist/{chunk-XTN54NML.js → chunk-G3T6YMBO.js} +4 -4
- package/dist/{chunk-MUH7RR6T.js → chunk-G5NH3SSX.js} +5 -5
- package/dist/{chunk-DC3DWF2M.js → chunk-GCJA5KKT.js} +2 -2
- package/dist/{chunk-U6IL4724.js → chunk-GWOFCHPN.js} +2 -2
- package/dist/{chunk-TJ5YGCPV.js → chunk-GXVK754R.js} +2 -2
- package/dist/{chunk-FGGLVCHI.js → chunk-HB5TNQMM.js} +2 -2
- package/dist/{chunk-GXAZ4Q2S.js → chunk-HCFNZWFB.js} +2 -2
- package/dist/{chunk-F4ZHKDBW.js → chunk-HLWXCDUQ.js} +2 -2
- package/dist/{chunk-IQXQ3KWR.js → chunk-HTDXNIO6.js} +2 -2
- package/dist/{chunk-4RASUAN3.js → chunk-HXFIILGF.js} +4 -4
- package/dist/{chunk-S37O4S6E.js → chunk-I4LJJ44E.js} +2 -2
- package/dist/{chunk-USX5YIKB.js → chunk-IBQ7LGUJ.js} +6 -6
- package/dist/{chunk-UKQFCOGT.js → chunk-IPHIIRDN.js} +3 -3
- package/dist/chunk-IPHIIRDN.js.map +1 -0
- package/dist/{chunk-VSJ3ARFS.js → chunk-IRFQKR4Y.js} +2 -2
- package/dist/{chunk-BCBY5GYZ.js → chunk-IVXOYE43.js} +2 -2
- package/dist/{chunk-WXPBDEMW.js → chunk-JDQEQE2R.js} +2 -2
- package/dist/{chunk-2WPWEVAH.js → chunk-KAED7IBB.js} +2 -2
- package/dist/{chunk-OWZXDBV4.js → chunk-KNZDGZSY.js} +2 -2
- package/dist/{chunk-6KBCUIZP.js → chunk-L4QYW2HO.js} +2 -2
- package/dist/{chunk-LYOCAUI6.js → chunk-LJUQPT5G.js} +3 -3
- package/dist/{chunk-XPZM7GP6.js → chunk-MBENRPMY.js} +10 -10
- package/dist/chunk-MJFL75J6.js +42 -0
- package/dist/chunk-MJFL75J6.js.map +1 -0
- package/dist/{chunk-VK5HKVQ7.js → chunk-N6GEGRCT.js} +2 -2
- package/dist/{chunk-U2A56LLF.js → chunk-OBQ2NZAR.js} +10 -10
- package/dist/{chunk-WGRAB3KB.js → chunk-ORVPS4ZW.js} +2 -2
- package/dist/{chunk-PFUXPTBT.js → chunk-P3AQ2YSX.js} +4 -4
- package/dist/{chunk-DE4U5PTV.js → chunk-P4TEQSIZ.js} +2 -2
- package/dist/{chunk-UE5JYPU6.js → chunk-P7HNMNN2.js} +7 -7
- package/dist/{chunk-ZG4GNPRE.js → chunk-PBE7NFB5.js} +5 -5
- package/dist/{chunk-LN7CWLAU.js → chunk-PLGBPFEO.js} +2 -2
- package/dist/{chunk-5MA7ZLPD.js → chunk-QNUNAXBE.js} +35 -1
- package/dist/chunk-QNUNAXBE.js.map +1 -0
- package/dist/{chunk-23BA3USG.js → chunk-R24RYSQX.js} +43 -43
- package/dist/{chunk-WYOHQJKC.js → chunk-RXGFITWS.js} +4 -4
- package/dist/{chunk-JEX2JL3U.js → chunk-SHVLNI4L.js} +2 -2
- package/dist/{chunk-QUPTDKSX.js → chunk-SY4AFWUZ.js} +31 -31
- package/dist/{chunk-H2X32F2K.js → chunk-SYDPJUFR.js} +2 -2
- package/dist/{chunk-QIOQI7QZ.js → chunk-SZBZOUHR.js} +2 -2
- package/dist/{chunk-EGKDONTC.js → chunk-T6C3G67T.js} +10 -10
- package/dist/chunk-T6C3G67T.js.map +1 -0
- package/dist/{chunk-E3NBMTTX.js → chunk-TLTBACYX.js} +2 -2
- package/dist/{chunk-AVVCPA7U.js → chunk-UCPH56YX.js} +2 -2
- package/dist/{chunk-ZODKV27J.js → chunk-URS56HGW.js} +6 -6
- package/dist/{chunk-PJAMFIDE.js → chunk-VEQVXNWR.js} +4 -4
- package/dist/{chunk-AGRMXXVA.js → chunk-VEWTHVX2.js} +2 -2
- package/dist/{chunk-WNQ3B3Q5.js → chunk-VPEMGBTI.js} +2 -2
- package/dist/{chunk-DSSTOV5M.js → chunk-VYOAYFDV.js} +66 -49
- package/dist/chunk-VYOAYFDV.js.map +1 -0
- package/dist/{chunk-5JBVPJCT.js → chunk-WIAXVBQH.js} +2 -2
- package/dist/{chunk-BTU77RB5.js → chunk-X53HJENJ.js} +2 -2
- package/dist/{chunk-KY3KJUNN.js → chunk-XC7OYOQC.js} +6 -6
- package/dist/{chunk-43FLJLT2.js → chunk-Y5HZFIQO.js} +1 -1
- package/dist/{chunk-DOJBV6WR.js → chunk-YK6SFDP2.js} +4 -4
- package/dist/{chunk-QVZZE6VH.js → chunk-Z3CKK5RR.js} +3 -3
- package/dist/{chunk-AZNE2H6D.js → chunk-ZG57BEUS.js} +2 -2
- package/dist/{chunk-7P5VBRBS.js → chunk-ZZSFRWKD.js} +2 -2
- package/dist/cli.js +81 -80
- package/dist/coding/export-okf-codegraph.js +14 -14
- package/dist/compounding/engine.js +16 -16
- package/dist/config.js +18 -18
- package/dist/connectors/codex-materialize-runner.js +15 -15
- package/dist/connectors/index.js +15 -15
- package/dist/convergence-refresh.js +17 -17
- package/dist/corpus-watermark.js +17 -17
- package/dist/deep-recall-http-glue.js +6 -6
- package/dist/deep-recall-policy-llm.js +3 -3
- package/dist/deep-recall.js +2 -2
- package/dist/entity-retrieval.js +15 -15
- package/dist/external-wiki-access.js +50 -49
- package/dist/extraction-faithfulness.js +3 -3
- package/dist/extraction-judge.js +3 -3
- package/dist/extraction.js +23 -22
- package/dist/fallback-llm-codex-subscription.d.ts.map +1 -1
- package/dist/fallback-llm-codex-subscription.js +1 -1
- package/dist/fallback-llm.js +2 -2
- package/dist/{first-start-migration-A6PHIBUQ.js → first-start-migration-QVD22WWS.js} +4 -4
- package/dist/harmonic-retrieval.js +15 -15
- package/dist/index.js +130 -129
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.js +5 -5
- package/dist/local-llm-native-schema.d.ts +50 -0
- package/dist/local-llm-native-schema.d.ts.map +1 -0
- package/dist/local-llm-native-schema.js +8 -0
- package/dist/local-llm-native-schema.js.map +1 -0
- package/dist/local-llm.d.ts +1 -0
- package/dist/local-llm.d.ts.map +1 -1
- package/dist/local-llm.js +4 -3
- package/dist/location/index.js +17 -17
- package/dist/maintenance/memory-governance.js +15 -15
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +15 -15
- package/dist/maintenance/rebuild-memory-projection-runner.js +17 -17
- package/dist/maintenance/rebuild-memory-projection.js +16 -16
- package/dist/memory-browse-operations.js +50 -49
- package/dist/memory-browse.js +3 -3
- package/dist/model-registry.d.ts +11 -0
- package/dist/model-registry.d.ts.map +1 -1
- package/dist/model-registry.js +1 -1
- package/dist/namespaces/migrate.js +16 -16
- package/dist/namespaces/search.js +7 -7
- package/dist/namespaces/storage.js +15 -15
- package/dist/offline-sync-changeset-generations.js +3 -3
- package/dist/offline-sync-embedding-generation.js +2 -2
- package/dist/offline-sync-snapshot-stream.js +5 -5
- package/dist/offline-sync.js +7 -7
- package/dist/operator-doctor-corpus.js +18 -18
- package/dist/operator-toolkit.js +27 -27
- package/dist/orchestration/backlog-scheduler.d.ts +8 -0
- package/dist/orchestration/backlog-scheduler.d.ts.map +1 -1
- package/dist/orchestration/backlog-scheduler.js +118 -106
- package/dist/orchestration/backlog-scheduler.js.map +1 -1
- package/dist/orchestration/buffer-drain-runner.js +106 -105
- package/dist/orchestration/extraction-queue-coordinator.d.ts +6 -0
- package/dist/orchestration/extraction-queue-coordinator.d.ts.map +1 -1
- package/dist/orchestration/maintenance.js +28 -27
- package/dist/orchestrator.js +105 -104
- package/dist/recall-navigation-operations.js +50 -49
- package/dist/recall-navigation.js +49 -48
- package/dist/recall-planner-llm.js +2 -2
- package/dist/recall-state-view-admission.js +3 -3
- package/dist/recall-why-service.js +3 -3
- package/dist/resume-bundles.js +18 -18
- package/dist/search/factory.js +6 -6
- package/dist/search/index.js +11 -11
- package/dist/search/lancedb-backend.js +2 -2
- package/dist/search/meilisearch-backend.js +2 -2
- package/dist/search/orama-backend.js +2 -2
- package/dist/semantic-consolidation.js +16 -16
- package/dist/semantic-rule-promotion.js +15 -15
- package/dist/semantic-rule-verifier.js +15 -15
- package/dist/source-agent-qualifier.js +18 -18
- package/dist/standup/build.js +15 -15
- package/dist/storage/buffer-drain-claims.d.ts.map +1 -1
- package/dist/storage/buffer-drain-claims.js +2 -2
- package/dist/storage/buffer-session-files.js +2 -2
- package/dist/storage.js +14 -14
- package/dist/summarizer.js +7 -6
- package/dist/support-passport/index.js +52 -51
- package/dist/transfer/export-okf.js +15 -15
- package/dist/verified-recall.js +15 -15
- package/dist/who-knows-cli.js +16 -16
- package/dist/who-knows.js +15 -15
- package/package.json +2 -2
- package/src/access-observe-acceptance-boundary.test.ts +24 -18
- package/src/access-observe-helpers.test.ts +72 -0
- package/src/access-observe-helpers.ts +5 -2
- package/src/access-service-observe-lcm-parity.test.ts +9 -2
- package/src/access-service-observe-scope.test.ts +8 -1
- package/src/backlog-scheduler.test.ts +104 -0
- package/src/buffer-record-snapshots.test.ts +195 -0
- package/src/buffer-turn-helpers.test.ts +205 -0
- package/src/buffer-turn-helpers.ts +62 -0
- package/src/buffer.ts +8 -8
- package/src/fallback-llm-codex-subscription.ts +10 -1
- package/src/local-llm-json-schema-fallback.test.ts +315 -0
- package/src/local-llm-native-schema.ts +78 -0
- package/src/local-llm.ts +8 -9
- package/src/model-registry.ts +40 -0
- package/src/orchestration/backlog-scheduler.ts +32 -0
- package/src/orchestration/extraction-queue-coordinator.ts +18 -1
- package/src/orchestrator-extraction-queue.test.ts +142 -0
- package/src/storage/buffer-drain-claims.ts +5 -11
- package/dist/chunk-5MA7ZLPD.js.map +0 -1
- package/dist/chunk-5RW247F5.js.map +0 -1
- package/dist/chunk-DSSTOV5M.js.map +0 -1
- package/dist/chunk-EGKDONTC.js.map +0 -1
- package/dist/chunk-OUBEJWVI.js.map +0 -1
- package/dist/chunk-UKQFCOGT.js.map +0 -1
- package/dist/chunk-VNTQU6KB.js.map +0 -1
- package/dist/chunk-YIJECSIX.js.map +0 -1
- /package/dist/{auto-sync-ANOJDQD4.js.map → auto-sync-XHSS3XPL.js.map} +0 -0
- /package/dist/{chunk-7WFY2L5J.js.map → chunk-233S3MXC.js.map} +0 -0
- /package/dist/{chunk-N7NAGECH.js.map → chunk-36B5VPRU.js.map} +0 -0
- /package/dist/{chunk-5ORJHH43.js.map → chunk-3GGCMRO7.js.map} +0 -0
- /package/dist/{chunk-RZED7FAU.js.map → chunk-3M7YP42P.js.map} +0 -0
- /package/dist/{chunk-ICBUTKLL.js.map → chunk-3MBSD53O.js.map} +0 -0
- /package/dist/{chunk-J72ZY7NU.js.map → chunk-4DLZ2ITE.js.map} +0 -0
- /package/dist/{chunk-WN2DASTS.js.map → chunk-5BE3FLKL.js.map} +0 -0
- /package/dist/{chunk-S73ZVU37.js.map → chunk-5IQL4N37.js.map} +0 -0
- /package/dist/{chunk-CIL4GHMD.js.map → chunk-6Q6AQ36B.js.map} +0 -0
- /package/dist/{chunk-W4V7P5HP.js.map → chunk-6RPPZL7W.js.map} +0 -0
- /package/dist/{chunk-EQ6EMJRG.js.map → chunk-6Y5ANLDH.js.map} +0 -0
- /package/dist/{chunk-YPYSC3TX.js.map → chunk-7FFGWIBN.js.map} +0 -0
- /package/dist/{chunk-5QV6CE6K.js.map → chunk-B36ACJG7.js.map} +0 -0
- /package/dist/{chunk-ZBET3W26.js.map → chunk-BZTA7DR4.js.map} +0 -0
- /package/dist/{chunk-JY4LXMZR.js.map → chunk-C44DRDZM.js.map} +0 -0
- /package/dist/{chunk-UIFWZMO7.js.map → chunk-CLVILSBR.js.map} +0 -0
- /package/dist/{chunk-OGQGDOYK.js.map → chunk-COIQ5N4J.js.map} +0 -0
- /package/dist/{chunk-UAOJVQXC.js.map → chunk-DANFOVQG.js.map} +0 -0
- /package/dist/{chunk-2R44BBPK.js.map → chunk-DEGE32C3.js.map} +0 -0
- /package/dist/{chunk-LHMCZ6VW.js.map → chunk-E22CQZ3H.js.map} +0 -0
- /package/dist/{chunk-JGLZ46JS.js.map → chunk-ELUG6NKQ.js.map} +0 -0
- /package/dist/{chunk-X4DHAXFO.js.map → chunk-F3FNXE7C.js.map} +0 -0
- /package/dist/{chunk-YIXWY4OZ.js.map → chunk-FETPTCQZ.js.map} +0 -0
- /package/dist/{chunk-N2Y6COEM.js.map → chunk-FGUWCE5I.js.map} +0 -0
- /package/dist/{chunk-FDUCIUQ5.js.map → chunk-FJ2VJTGA.js.map} +0 -0
- /package/dist/{chunk-ENPJX3BB.js.map → chunk-FMFCQRDM.js.map} +0 -0
- /package/dist/{chunk-BNU5TQLR.js.map → chunk-FOQ7TW2T.js.map} +0 -0
- /package/dist/{chunk-4PMFSYH7.js.map → chunk-FP2AT4WL.js.map} +0 -0
- /package/dist/{chunk-DLZGSZVC.js.map → chunk-FYQUUIPI.js.map} +0 -0
- /package/dist/{chunk-XTN54NML.js.map → chunk-G3T6YMBO.js.map} +0 -0
- /package/dist/{chunk-MUH7RR6T.js.map → chunk-G5NH3SSX.js.map} +0 -0
- /package/dist/{chunk-DC3DWF2M.js.map → chunk-GCJA5KKT.js.map} +0 -0
- /package/dist/{chunk-U6IL4724.js.map → chunk-GWOFCHPN.js.map} +0 -0
- /package/dist/{chunk-TJ5YGCPV.js.map → chunk-GXVK754R.js.map} +0 -0
- /package/dist/{chunk-FGGLVCHI.js.map → chunk-HB5TNQMM.js.map} +0 -0
- /package/dist/{chunk-GXAZ4Q2S.js.map → chunk-HCFNZWFB.js.map} +0 -0
- /package/dist/{chunk-F4ZHKDBW.js.map → chunk-HLWXCDUQ.js.map} +0 -0
- /package/dist/{chunk-IQXQ3KWR.js.map → chunk-HTDXNIO6.js.map} +0 -0
- /package/dist/{chunk-4RASUAN3.js.map → chunk-HXFIILGF.js.map} +0 -0
- /package/dist/{chunk-S37O4S6E.js.map → chunk-I4LJJ44E.js.map} +0 -0
- /package/dist/{chunk-USX5YIKB.js.map → chunk-IBQ7LGUJ.js.map} +0 -0
- /package/dist/{chunk-VSJ3ARFS.js.map → chunk-IRFQKR4Y.js.map} +0 -0
- /package/dist/{chunk-BCBY5GYZ.js.map → chunk-IVXOYE43.js.map} +0 -0
- /package/dist/{chunk-WXPBDEMW.js.map → chunk-JDQEQE2R.js.map} +0 -0
- /package/dist/{chunk-2WPWEVAH.js.map → chunk-KAED7IBB.js.map} +0 -0
- /package/dist/{chunk-OWZXDBV4.js.map → chunk-KNZDGZSY.js.map} +0 -0
- /package/dist/{chunk-6KBCUIZP.js.map → chunk-L4QYW2HO.js.map} +0 -0
- /package/dist/{chunk-LYOCAUI6.js.map → chunk-LJUQPT5G.js.map} +0 -0
- /package/dist/{chunk-XPZM7GP6.js.map → chunk-MBENRPMY.js.map} +0 -0
- /package/dist/{chunk-VK5HKVQ7.js.map → chunk-N6GEGRCT.js.map} +0 -0
- /package/dist/{chunk-U2A56LLF.js.map → chunk-OBQ2NZAR.js.map} +0 -0
- /package/dist/{chunk-WGRAB3KB.js.map → chunk-ORVPS4ZW.js.map} +0 -0
- /package/dist/{chunk-PFUXPTBT.js.map → chunk-P3AQ2YSX.js.map} +0 -0
- /package/dist/{chunk-DE4U5PTV.js.map → chunk-P4TEQSIZ.js.map} +0 -0
- /package/dist/{chunk-UE5JYPU6.js.map → chunk-P7HNMNN2.js.map} +0 -0
- /package/dist/{chunk-ZG4GNPRE.js.map → chunk-PBE7NFB5.js.map} +0 -0
- /package/dist/{chunk-LN7CWLAU.js.map → chunk-PLGBPFEO.js.map} +0 -0
- /package/dist/{chunk-23BA3USG.js.map → chunk-R24RYSQX.js.map} +0 -0
- /package/dist/{chunk-WYOHQJKC.js.map → chunk-RXGFITWS.js.map} +0 -0
- /package/dist/{chunk-JEX2JL3U.js.map → chunk-SHVLNI4L.js.map} +0 -0
- /package/dist/{chunk-QUPTDKSX.js.map → chunk-SY4AFWUZ.js.map} +0 -0
- /package/dist/{chunk-H2X32F2K.js.map → chunk-SYDPJUFR.js.map} +0 -0
- /package/dist/{chunk-QIOQI7QZ.js.map → chunk-SZBZOUHR.js.map} +0 -0
- /package/dist/{chunk-E3NBMTTX.js.map → chunk-TLTBACYX.js.map} +0 -0
- /package/dist/{chunk-AVVCPA7U.js.map → chunk-UCPH56YX.js.map} +0 -0
- /package/dist/{chunk-ZODKV27J.js.map → chunk-URS56HGW.js.map} +0 -0
- /package/dist/{chunk-PJAMFIDE.js.map → chunk-VEQVXNWR.js.map} +0 -0
- /package/dist/{chunk-AGRMXXVA.js.map → chunk-VEWTHVX2.js.map} +0 -0
- /package/dist/{chunk-WNQ3B3Q5.js.map → chunk-VPEMGBTI.js.map} +0 -0
- /package/dist/{chunk-5JBVPJCT.js.map → chunk-WIAXVBQH.js.map} +0 -0
- /package/dist/{chunk-BTU77RB5.js.map → chunk-X53HJENJ.js.map} +0 -0
- /package/dist/{chunk-KY3KJUNN.js.map → chunk-XC7OYOQC.js.map} +0 -0
- /package/dist/{chunk-43FLJLT2.js.map → chunk-Y5HZFIQO.js.map} +0 -0
- /package/dist/{chunk-DOJBV6WR.js.map → chunk-YK6SFDP2.js.map} +0 -0
- /package/dist/{chunk-QVZZE6VH.js.map → chunk-Z3CKK5RR.js.map} +0 -0
- /package/dist/{chunk-AZNE2H6D.js.map → chunk-ZG57BEUS.js.map} +0 -0
- /package/dist/{chunk-7P5VBRBS.js.map → chunk-ZZSFRWKD.js.map} +0 -0
- /package/dist/{first-start-migration-A6PHIBUQ.js.map → first-start-migration-QVD22WWS.js.map} +0 -0
|
@@ -142,6 +142,9 @@ var ModelRegistry = class {
|
|
|
142
142
|
...capabilities,
|
|
143
143
|
modelId: normalizedId,
|
|
144
144
|
source: "default",
|
|
145
|
+
// Reachable only with a missing or expired cached record, so any
|
|
146
|
+
// learned structuredOutput is stale here — leave it unset and let
|
|
147
|
+
// getStructuredOutput's freshness rules drive the re-probe.
|
|
145
148
|
fetchedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
146
149
|
};
|
|
147
150
|
this.data.models[normalizedId] = caps;
|
|
@@ -160,8 +163,13 @@ var ModelRegistry = class {
|
|
|
160
163
|
*/
|
|
161
164
|
setCapabilities(modelId, capabilities) {
|
|
162
165
|
const normalizedId = this.normalizeModelId(modelId);
|
|
166
|
+
const previous = this.data.models[normalizedId];
|
|
163
167
|
const caps = {
|
|
164
168
|
...capabilities,
|
|
169
|
+
// A replacement record (e.g. fresh LM Studio detection) must not erase a
|
|
170
|
+
// learned structuredOutput shaping — but an EXPIRED decision must not be
|
|
171
|
+
// renewed either: drop it so the re-probe stays due.
|
|
172
|
+
structuredOutput: capabilities.structuredOutput ?? (previous && !this.isCacheExpired(previous) ? previous.structuredOutput : void 0),
|
|
165
173
|
modelId: normalizedId,
|
|
166
174
|
fetchedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
167
175
|
};
|
|
@@ -169,6 +177,32 @@ var ModelRegistry = class {
|
|
|
169
177
|
this.saveRegistry();
|
|
170
178
|
log.info(`ModelRegistry: stored capabilities for ${modelId}`);
|
|
171
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* Learned structured-output shaping for a model, persisted so fresh
|
|
182
|
+
* runtimes shape requests correctly without re-proving a rejection.
|
|
183
|
+
* Honors the cache TTL: a provider that later gains schema support is
|
|
184
|
+
* re-probed (one degraded request) after the window lapses.
|
|
185
|
+
*/
|
|
186
|
+
getStructuredOutput(modelId) {
|
|
187
|
+
const cached = this.data.models[this.normalizeModelId(modelId)];
|
|
188
|
+
if (!cached || this.isCacheExpired(cached)) return void 0;
|
|
189
|
+
return cached.structuredOutput;
|
|
190
|
+
}
|
|
191
|
+
/** Merge-and-persist: preserves any previously learned capabilities. */
|
|
192
|
+
setStructuredOutput(modelId, mode) {
|
|
193
|
+
const normalizedId = this.normalizeModelId(modelId);
|
|
194
|
+
const base = this.data.models[normalizedId] ?? {
|
|
195
|
+
...DEFAULT_CAPABILITIES,
|
|
196
|
+
modelId: normalizedId
|
|
197
|
+
};
|
|
198
|
+
this.data.models[normalizedId] = {
|
|
199
|
+
...base,
|
|
200
|
+
structuredOutput: mode,
|
|
201
|
+
fetchedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
202
|
+
};
|
|
203
|
+
this.saveRegistry();
|
|
204
|
+
log.info(`ModelRegistry: stored structuredOutput=${mode} for ${modelId}`);
|
|
205
|
+
}
|
|
172
206
|
/**
|
|
173
207
|
* Calculate optimal input/output sizes for a model
|
|
174
208
|
* @param maxContextOverride - Optional override for max context (e.g., if LLM server defaults to smaller window)
|
|
@@ -234,4 +268,4 @@ var ModelRegistry = class {
|
|
|
234
268
|
export {
|
|
235
269
|
ModelRegistry
|
|
236
270
|
};
|
|
237
|
-
//# sourceMappingURL=chunk-
|
|
271
|
+
//# sourceMappingURL=chunk-QNUNAXBE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/model-registry.ts"],"sourcesContent":["/**\n * Model Registry - Stores and retrieves model capabilities\n * Avoids repeated external lookups by caching model info locally\n */\n\nimport { log } from \"./logger.js\";\nimport fs from \"node:fs\";\nimport { dirname, join } from \"node:path\";\n\nexport interface ModelCapabilities {\n modelId: string;\n maxPositionEmbeddings: number;\n contextWindow: number;\n supportsExtendedContext: boolean;\n ropeScaling?: {\n type: string;\n factor: number;\n originalMaxPositionEmbeddings: number;\n };\n typicalOutputTokens: number;\n source: \"huggingface\" | \"lmstudio\" | \"manual\" | \"default\";\n /** Learned structured-output shaping (see ModelRegistry.getStructuredOutput). */\n structuredOutput?: \"native\" | \"none\";\n fetchedAt: string;\n}\n\ninterface ModelRegistryData {\n models: Record<string, ModelCapabilities>;\n version: number;\n}\n\nconst DEFAULT_CAPABILITIES: ModelCapabilities = {\n modelId: \"default\",\n maxPositionEmbeddings: 32768,\n contextWindow: 32768,\n supportsExtendedContext: false,\n typicalOutputTokens: 8192,\n source: \"default\",\n fetchedAt: new Date().toISOString(),\n};\n\n// Known model capabilities (fallback when offline)\n// NOTE: Context windows here are the MODEL's theoretical maximum. Local LLM servers\n// (LM Studio, Ollama, etc.) often load models with smaller default context windows.\n// If you get \"context length exceeded\" errors, either:\n// 1. Increase the context window in your LLM server UI (recommended)\n// 2. Set localLlmMaxContext in openclaw.json to limit prompts (fallback)\nconst KNOWN_MODELS: Record<string, Partial<ModelCapabilities>> = {\n \"qwen3-30b-a3b-instruct\": {\n maxPositionEmbeddings: 40960,\n contextWindow: 131072, // 128K with YaRN - but LM Studio defaults to ~32K\n supportsExtendedContext: true,\n ropeScaling: {\n type: \"yarn\",\n factor: 4.0,\n originalMaxPositionEmbeddings: 32768,\n },\n typicalOutputTokens: 8192,\n },\n \"qwen3-coder-30b-a3b-instruct\": {\n maxPositionEmbeddings: 40960,\n contextWindow: 131072, // 128K with YaRN - but LM Studio defaults to ~32K\n supportsExtendedContext: true,\n ropeScaling: {\n type: \"yarn\",\n factor: 4.0,\n originalMaxPositionEmbeddings: 32768,\n },\n typicalOutputTokens: 8192,\n },\n \"qwen3-8b\": {\n maxPositionEmbeddings: 40960,\n contextWindow: 131072,\n supportsExtendedContext: true,\n typicalOutputTokens: 4096,\n },\n \"qwen3-14b\": {\n maxPositionEmbeddings: 40960,\n contextWindow: 131072,\n supportsExtendedContext: true,\n typicalOutputTokens: 4096,\n },\n \"qwen3-32b\": {\n maxPositionEmbeddings: 40960,\n contextWindow: 131072,\n supportsExtendedContext: true,\n typicalOutputTokens: 4096,\n },\n \"llama-3.1\": {\n maxPositionEmbeddings: 131072,\n contextWindow: 131072,\n supportsExtendedContext: false,\n typicalOutputTokens: 8192,\n },\n \"llama-3.2\": {\n maxPositionEmbeddings: 131072,\n contextWindow: 131072,\n supportsExtendedContext: false,\n typicalOutputTokens: 8192,\n },\n \"mistral-nemo\": {\n maxPositionEmbeddings: 131072,\n contextWindow: 131072,\n supportsExtendedContext: false,\n typicalOutputTokens: 8192,\n },\n \"gemma-2\": {\n maxPositionEmbeddings: 8192,\n contextWindow: 8192,\n supportsExtendedContext: false,\n typicalOutputTokens: 4096,\n },\n};\n\nexport class ModelRegistry {\n private registryPath: string;\n private data: ModelRegistryData;\n private readonly CACHE_TTL_DAYS = 7;\n\n constructor(memoryDir: string) {\n this.registryPath = join(memoryDir, \".registry\", \"model-capabilities.json\");\n this.data = this.loadRegistry();\n }\n\n private loadRegistry(): ModelRegistryData {\n try {\n if (fs.existsSync(this.registryPath)) {\n const content = fs.readFileSync(this.registryPath, \"utf-8\");\n const data = JSON.parse(content) as ModelRegistryData;\n log.info(`ModelRegistry: loaded ${Object.keys(data.models).length} cached models`);\n return data;\n }\n } catch (err) {\n log.warn(`ModelRegistry: failed to load registry: ${err}`);\n }\n return { models: {}, version: 1 };\n }\n\n private saveRegistry(): void {\n try {\n // Created on first save, never at construction: building a registry\n // happens on every plugin registration, including read-only discovery\n // passes, and must not touch the operator's memory dir.\n const registryDir = dirname(this.registryPath);\n if (!fs.existsSync(registryDir)) fs.mkdirSync(registryDir, { recursive: true });\n fs.writeFileSync(this.registryPath, JSON.stringify(this.data, null, 2));\n } catch (err) {\n log.warn(`ModelRegistry: failed to save registry: ${err}`);\n }\n }\n\n private isCacheExpired(model: ModelCapabilities): boolean {\n const fetched = new Date(model.fetchedAt);\n const now = new Date();\n const daysDiff = (now.getTime() - fetched.getTime()) / (1000 * 60 * 60 * 24);\n return daysDiff > this.CACHE_TTL_DAYS;\n }\n\n private normalizeModelId(modelId: string): string {\n // Remove common suffixes and prefixes for matching\n return modelId\n .toLowerCase()\n .replace(/@\\d+bit$/, \"\") // Remove @4bit, @8bit\n .replace(/-mlx$/, \"\")\n .replace(/-awq$/, \"\")\n .replace(/-gptq$/, \"\")\n .replace(/-gguf$/, \"\")\n .replace(/^mlx-community\\//, \"\")\n .replace(/^models\\//, \"\")\n .trim();\n }\n\n /**\n * Get capabilities for a model, using cache if available\n */\n getCapabilities(modelId: string): ModelCapabilities {\n const normalizedId = this.normalizeModelId(modelId);\n\n // Check cache first\n if (this.data.models[normalizedId]) {\n const cached = this.data.models[normalizedId];\n if (!this.isCacheExpired(cached)) {\n log.info(`ModelRegistry: using cached capabilities for ${modelId}`);\n return cached;\n }\n log.info(`ModelRegistry: cache expired for ${modelId}, will refresh`);\n }\n\n // Check known models\n for (const [knownId, capabilities] of Object.entries(KNOWN_MODELS)) {\n if (normalizedId.includes(knownId)) {\n log.info(`ModelRegistry: using known capabilities for ${modelId}`);\n const caps: ModelCapabilities = {\n ...DEFAULT_CAPABILITIES,\n ...capabilities,\n modelId: normalizedId,\n source: \"default\",\n // Reachable only with a missing or expired cached record, so any\n // learned structuredOutput is stale here — leave it unset and let\n // getStructuredOutput's freshness rules drive the re-probe.\n fetchedAt: new Date().toISOString(),\n };\n this.data.models[normalizedId] = caps;\n this.saveRegistry();\n return caps;\n }\n }\n\n // Return defaults\n log.info(`ModelRegistry: using default capabilities for ${modelId}`);\n return {\n ...DEFAULT_CAPABILITIES,\n modelId: normalizedId,\n };\n }\n\n /**\n * Store capabilities for a model\n */\n setCapabilities(modelId: string, capabilities: Omit<ModelCapabilities, \"modelId\" | \"fetchedAt\">): void {\n const normalizedId = this.normalizeModelId(modelId);\n const previous = this.data.models[normalizedId];\n const caps: ModelCapabilities = {\n ...capabilities,\n // A replacement record (e.g. fresh LM Studio detection) must not erase a\n // learned structuredOutput shaping — but an EXPIRED decision must not be\n // renewed either: drop it so the re-probe stays due.\n structuredOutput:\n capabilities.structuredOutput ??\n (previous && !this.isCacheExpired(previous) ? previous.structuredOutput : undefined),\n modelId: normalizedId,\n fetchedAt: new Date().toISOString(),\n };\n this.data.models[normalizedId] = caps;\n this.saveRegistry();\n log.info(`ModelRegistry: stored capabilities for ${modelId}`);\n }\n\n /**\n * Learned structured-output shaping for a model, persisted so fresh\n * runtimes shape requests correctly without re-proving a rejection.\n * Honors the cache TTL: a provider that later gains schema support is\n * re-probed (one degraded request) after the window lapses.\n */\n getStructuredOutput(modelId: string): \"native\" | \"none\" | undefined {\n const cached = this.data.models[this.normalizeModelId(modelId)];\n if (!cached || this.isCacheExpired(cached)) return undefined;\n return cached.structuredOutput;\n }\n\n /** Merge-and-persist: preserves any previously learned capabilities. */\n setStructuredOutput(modelId: string, mode: \"native\" | \"none\"): void {\n const normalizedId = this.normalizeModelId(modelId);\n const base = this.data.models[normalizedId] ?? {\n ...DEFAULT_CAPABILITIES,\n modelId: normalizedId,\n };\n this.data.models[normalizedId] = {\n ...base,\n structuredOutput: mode,\n fetchedAt: new Date().toISOString(),\n };\n this.saveRegistry();\n log.info(`ModelRegistry: stored structuredOutput=${mode} for ${modelId}`);\n }\n\n /**\n * Calculate optimal input/output sizes for a model\n * @param maxContextOverride - Optional override for max context (e.g., if LLM server defaults to smaller window)\n */\n calculateContextSizes(modelId: string, maxContextOverride?: number): {\n maxInputChars: number;\n maxOutputTokens: number;\n description: string;\n } {\n const caps = this.getCapabilities(modelId);\n\n // Use override if provided (e.g., user knows their LLM server limits), otherwise use detected caps\n const sanitizedOverride =\n typeof maxContextOverride === \"number\" &&\n Number.isFinite(maxContextOverride) &&\n Number.isInteger(maxContextOverride) &&\n maxContextOverride >= 1024\n ? maxContextOverride\n : undefined;\n const effectiveContextWindow = sanitizedOverride ?? Math.max(1024, Math.floor(caps.contextWindow));\n\n // Guardrails: never allow output budget to exceed the model/server context window.\n // If we do, input budget goes negative and we end up generating huge, invalid prompts.\n const overheadTokens = Math.min(1000, Math.floor(effectiveContextWindow / 10)); // <=10% overhead, max 1k\n const minInputTokens = Math.min(512, Math.floor(effectiveContextWindow / 4)); // keep some room even on small contexts\n const minOutputTokens = Math.min(256, Math.max(1, effectiveContextWindow - overheadTokens - minInputTokens));\n\n // Base output budget: typical output, but scaled down for small contexts.\n let outputTokens = caps.typicalOutputTokens;\n\n // For very large contexts, default to ~12.5% output (capped), which tends to be plenty for JSON extraction.\n if (effectiveContextWindow > 65536) {\n outputTokens = Math.min(Math.floor(effectiveContextWindow / 8), 16384);\n }\n\n // Never let output exceed 25% of context.\n outputTokens = Math.min(outputTokens, Math.floor(effectiveContextWindow / 4));\n\n // Clamp output so we always have positive input headroom.\n const maxOutputTokens = Math.max(1, effectiveContextWindow - overheadTokens - minInputTokens);\n outputTokens = Math.min(maxOutputTokens, Math.max(minOutputTokens, outputTokens));\n\n const availableForInput = Math.max(\n 0,\n effectiveContextWindow - outputTokens - overheadTokens,\n );\n\n // Convert to characters (rough estimate: 1 token ≈ 4 chars)\n const maxInputChars = Math.max(0, Math.floor(availableForInput * 3.5)); // Conservative: 3.5 chars/token\n\n const source = sanitizedOverride ? \"user override\" : caps.source;\n return {\n maxInputChars,\n maxOutputTokens: outputTokens,\n description: `${caps.modelId}: ${effectiveContextWindow.toLocaleString()} context (${source}), using ${maxInputChars.toLocaleString()} chars input / ${outputTokens} tokens output`,\n };\n }\n\n /**\n * Fetch capabilities from Hugging Face (if available)\n * Returns true if successful\n */\n async fetchFromHuggingFace(modelId: string): Promise<boolean> {\n // This would be implemented to fetch from HF Hub API\n // For now, we rely on the known models and manual updates\n log.info(`ModelRegistry: fetchFromHuggingFace not yet implemented for ${modelId}`);\n return false;\n }\n\n /**\n * List all cached models\n */\n listCached(): string[] {\n return Object.keys(this.data.models);\n }\n\n /**\n * Clear expired cache entries\n */\n cleanExpired(): number {\n const before = Object.keys(this.data.models).length;\n this.data.models = Object.fromEntries(\n Object.entries(this.data.models).filter(([_, caps]) => !this.isCacheExpired(caps))\n );\n const after = Object.keys(this.data.models).length;\n const removed = before - after;\n if (removed > 0) {\n this.saveRegistry();\n log.info(`ModelRegistry: cleaned ${removed} expired entries`);\n }\n return removed;\n }\n}\n"],"mappings":";;;;;AAMA,OAAO,QAAQ;AACf,SAAS,SAAS,YAAY;AAwB9B,IAAM,uBAA0C;AAAA,EAC9C,SAAS;AAAA,EACT,uBAAuB;AAAA,EACvB,eAAe;AAAA,EACf,yBAAyB;AAAA,EACzB,qBAAqB;AAAA,EACrB,QAAQ;AAAA,EACR,YAAW,oBAAI,KAAK,GAAE,YAAY;AACpC;AAQA,IAAM,eAA2D;AAAA,EAC/D,0BAA0B;AAAA,IACxB,uBAAuB;AAAA,IACvB,eAAe;AAAA;AAAA,IACf,yBAAyB;AAAA,IACzB,aAAa;AAAA,MACX,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,+BAA+B;AAAA,IACjC;AAAA,IACA,qBAAqB;AAAA,EACvB;AAAA,EACA,gCAAgC;AAAA,IAC9B,uBAAuB;AAAA,IACvB,eAAe;AAAA;AAAA,IACf,yBAAyB;AAAA,IACzB,aAAa;AAAA,MACX,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,+BAA+B;AAAA,IACjC;AAAA,IACA,qBAAqB;AAAA,EACvB;AAAA,EACA,YAAY;AAAA,IACV,uBAAuB;AAAA,IACvB,eAAe;AAAA,IACf,yBAAyB;AAAA,IACzB,qBAAqB;AAAA,EACvB;AAAA,EACA,aAAa;AAAA,IACX,uBAAuB;AAAA,IACvB,eAAe;AAAA,IACf,yBAAyB;AAAA,IACzB,qBAAqB;AAAA,EACvB;AAAA,EACA,aAAa;AAAA,IACX,uBAAuB;AAAA,IACvB,eAAe;AAAA,IACf,yBAAyB;AAAA,IACzB,qBAAqB;AAAA,EACvB;AAAA,EACA,aAAa;AAAA,IACX,uBAAuB;AAAA,IACvB,eAAe;AAAA,IACf,yBAAyB;AAAA,IACzB,qBAAqB;AAAA,EACvB;AAAA,EACA,aAAa;AAAA,IACX,uBAAuB;AAAA,IACvB,eAAe;AAAA,IACf,yBAAyB;AAAA,IACzB,qBAAqB;AAAA,EAC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AAO,KAAK,KAAK,KAAK,MAAM,EAAE;AAC7C,SAAK,KAAK,SAAS,OAAO;AAAA,MACxB,OAAO,QAAQ,KAAK,KAAK,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,IAAI,MAAM,CAAC,KAAK,eAAe,IAAI,CAAC;AAAA,IACnF;AACA,UAAM,QAAQ,OAAO,KAAK,KAAK,KAAK,MAAM,EAAE;AAC5C,UAAM,UAAU,SAAS;AACzB,QAAI,UAAU,GAAG;AACf,WAAK,aAAa;AAClB,UAAI,KAAK,0BAA0B,OAAO,kBAAkB;AAAA,IAC9D;AACA,WAAO;AAAA,EACT;AACF;","names":[]}
|
|
@@ -33,15 +33,15 @@ import {
|
|
|
33
33
|
resolveCodegraphProjectId,
|
|
34
34
|
serializeDecisionRecord
|
|
35
35
|
} from "./chunk-RJWL3RHB.js";
|
|
36
|
+
import {
|
|
37
|
+
WriteQuarantineStore
|
|
38
|
+
} from "./chunk-BANSBRNX.js";
|
|
36
39
|
import {
|
|
37
40
|
WHO_KNOWS_DEFAULT_LIMIT,
|
|
38
41
|
computeWhoKnows,
|
|
39
42
|
loadWhoKnowsEntities,
|
|
40
43
|
validateWhoKnowsInput
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import {
|
|
43
|
-
WriteQuarantineStore
|
|
44
|
-
} from "./chunk-BANSBRNX.js";
|
|
44
|
+
} from "./chunk-ELUG6NKQ.js";
|
|
45
45
|
import {
|
|
46
46
|
getTrustZoneStoreStatus,
|
|
47
47
|
isTrustZoneName,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
} from "./chunk-YN2UN7N3.js";
|
|
60
60
|
import {
|
|
61
61
|
summarizeHourlyStatus
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-G5NH3SSX.js";
|
|
63
63
|
import {
|
|
64
64
|
planSessionTranscriptMigration
|
|
65
65
|
} from "./chunk-WWDO7ZWM.js";
|
|
@@ -68,7 +68,10 @@ import {
|
|
|
68
68
|
} from "./chunk-YUTT4ZTI.js";
|
|
69
69
|
import {
|
|
70
70
|
runRecallWhy
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-3M7YP42P.js";
|
|
72
|
+
import {
|
|
73
|
+
assertIdInNavigationWindow
|
|
74
|
+
} from "./chunk-5KVT6G5U.js";
|
|
72
75
|
import {
|
|
73
76
|
renderNavigationResult
|
|
74
77
|
} from "./chunk-KIW3OOZE.js";
|
|
@@ -82,15 +85,6 @@ import {
|
|
|
82
85
|
import {
|
|
83
86
|
parseNavigateLinkType
|
|
84
87
|
} from "./chunk-7O5EW7KX.js";
|
|
85
|
-
import {
|
|
86
|
-
assertIdInNavigationWindow
|
|
87
|
-
} from "./chunk-5KVT6G5U.js";
|
|
88
|
-
import {
|
|
89
|
-
takeNavigateBudget
|
|
90
|
-
} from "./chunk-VYDGHJIN.js";
|
|
91
|
-
import {
|
|
92
|
-
decideDisclosureEscalation
|
|
93
|
-
} from "./chunk-H7XKCNR6.js";
|
|
94
88
|
import {
|
|
95
89
|
toRecallExplainJson
|
|
96
90
|
} from "./chunk-EWJZZDRG.js";
|
|
@@ -99,29 +93,35 @@ import {
|
|
|
99
93
|
summarizeDisclosureTokens
|
|
100
94
|
} from "./chunk-7O2MC42R.js";
|
|
101
95
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
96
|
+
takeNavigateBudget
|
|
97
|
+
} from "./chunk-VYDGHJIN.js";
|
|
104
98
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
99
|
+
decideDisclosureEscalation
|
|
100
|
+
} from "./chunk-H7XKCNR6.js";
|
|
101
|
+
import {
|
|
102
|
+
readAggregateExtractionWatermark
|
|
103
|
+
} from "./chunk-ZZSFRWKD.js";
|
|
107
104
|
import {
|
|
108
105
|
ReplicaDivergenceMonitor
|
|
109
106
|
} from "./chunk-B6SPPYGJ.js";
|
|
107
|
+
import {
|
|
108
|
+
buildEmbeddingAwareSnapshotStream
|
|
109
|
+
} from "./chunk-FMFCQRDM.js";
|
|
110
110
|
import {
|
|
111
111
|
recordMemoryOutcome
|
|
112
112
|
} from "./chunk-UD7UNYRD.js";
|
|
113
113
|
import {
|
|
114
114
|
runMemoryBrowse
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-FOQ7TW2T.js";
|
|
116
116
|
import {
|
|
117
117
|
isSearchExcludedPath
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-ORVPS4ZW.js";
|
|
119
119
|
import {
|
|
120
120
|
coerceIncludedMemories
|
|
121
121
|
} from "./chunk-2YA5N2BY.js";
|
|
122
122
|
import {
|
|
123
123
|
readProjectedHarmonicGraph
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-C44DRDZM.js";
|
|
125
125
|
import {
|
|
126
126
|
buildGraphSnapshot
|
|
127
127
|
} from "./chunk-VPEIWMUT.js";
|
|
@@ -159,10 +159,10 @@ import {
|
|
|
159
159
|
} from "./chunk-3X5OPDPF.js";
|
|
160
160
|
import {
|
|
161
161
|
runBudgetedDeepRecall
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-HXFIILGF.js";
|
|
163
163
|
import {
|
|
164
164
|
callDeepRecallPolicyLlm
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-TLTBACYX.js";
|
|
166
166
|
import {
|
|
167
167
|
renderDeepRecallResult
|
|
168
168
|
} from "./chunk-RF2SMMPP.js";
|
|
@@ -173,11 +173,11 @@ import {
|
|
|
173
173
|
listMemoryGovernanceRuns,
|
|
174
174
|
readMemoryGovernanceRunArtifact,
|
|
175
175
|
runMemoryGovernance
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-GWOFCHPN.js";
|
|
177
177
|
import {
|
|
178
178
|
CorpusWatermarkCache,
|
|
179
179
|
computeServiceCorpusCensus
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-HCFNZWFB.js";
|
|
181
181
|
import {
|
|
182
182
|
CrossNamespaceBudget,
|
|
183
183
|
toBudgetWarning
|
|
@@ -187,17 +187,17 @@ import {
|
|
|
187
187
|
} from "./chunk-ZY2MNJR6.js";
|
|
188
188
|
import {
|
|
189
189
|
ExtractionDeadlineError
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-P4TEQSIZ.js";
|
|
191
191
|
import {
|
|
192
192
|
LocalLlmClient
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-AY2UK5XK.js";
|
|
194
194
|
import {
|
|
195
195
|
FileCalendarSource,
|
|
196
196
|
buildBriefing,
|
|
197
197
|
enqueuePassiveCorrectionNotification,
|
|
198
198
|
parseBriefingFocus,
|
|
199
199
|
parseBriefingWindow
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-FGUWCE5I.js";
|
|
201
201
|
import {
|
|
202
202
|
withBriefingDeadline
|
|
203
203
|
} from "./chunk-X2KO4FK5.js";
|
|
@@ -243,10 +243,10 @@ import {
|
|
|
243
243
|
qmdCollectionPathParts,
|
|
244
244
|
qmdResultPathCandidates,
|
|
245
245
|
selfDeps
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-5IQL4N37.js";
|
|
247
247
|
import {
|
|
248
248
|
namespaceCollectionName
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-SHVLNI4L.js";
|
|
250
250
|
import {
|
|
251
251
|
normalizeProjectionPreview,
|
|
252
252
|
normalizeProjectionTags
|
|
@@ -275,14 +275,14 @@ import {
|
|
|
275
275
|
groupTurnsByExtractionScope,
|
|
276
276
|
hasPinnedCaptureScope,
|
|
277
277
|
scopeProfilePlanIdentity
|
|
278
|
-
} from "./chunk-
|
|
278
|
+
} from "./chunk-4KLQI3L2.js";
|
|
279
279
|
import {
|
|
280
280
|
FallbackLlmClient,
|
|
281
281
|
gatewayTaskChainOptions
|
|
282
|
-
} from "./chunk-
|
|
282
|
+
} from "./chunk-UCPH56YX.js";
|
|
283
283
|
import {
|
|
284
284
|
fallbackLlmRuntimeContextFromConfig
|
|
285
|
-
} from "./chunk-
|
|
285
|
+
} from "./chunk-DJDJBMFX.js";
|
|
286
286
|
import {
|
|
287
287
|
meetingsBuild,
|
|
288
288
|
meetingsGet,
|
|
@@ -325,7 +325,7 @@ import {
|
|
|
325
325
|
} from "./chunk-YLXETSAH.js";
|
|
326
326
|
import {
|
|
327
327
|
splitCanonicalWriteRequest
|
|
328
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-WIAXVBQH.js";
|
|
329
329
|
import {
|
|
330
330
|
buildWithBriefingLocation,
|
|
331
331
|
daySummaryAutoOptions
|
|
@@ -347,7 +347,7 @@ import {
|
|
|
347
347
|
} from "./chunk-IZJQNDGI.js";
|
|
348
348
|
import {
|
|
349
349
|
reapplyCategoryCoercion
|
|
350
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-6Q6AQ36B.js";
|
|
351
351
|
import {
|
|
352
352
|
exportCapsule
|
|
353
353
|
} from "./chunk-KQAFEZQX.js";
|
|
@@ -356,7 +356,7 @@ import {
|
|
|
356
356
|
} from "./chunk-Z2YFLXHU.js";
|
|
357
357
|
import {
|
|
358
358
|
createOfflineSyncManifestStream
|
|
359
|
-
} from "./chunk-
|
|
359
|
+
} from "./chunk-FJ2VJTGA.js";
|
|
360
360
|
import {
|
|
361
361
|
offlineSyncStorageForSnapshot
|
|
362
362
|
} from "./chunk-TIGYOZBU.js";
|
|
@@ -439,13 +439,13 @@ import {
|
|
|
439
439
|
buildOfflineSyncSnapshotFromBase,
|
|
440
440
|
normalizeOfflineSyncChangeset,
|
|
441
441
|
readOfflineSyncFileContentChunk
|
|
442
|
-
} from "./chunk-
|
|
443
|
-
import {
|
|
444
|
-
validateArchiveRelativePath
|
|
445
|
-
} from "./chunk-GCGJW34D.js";
|
|
442
|
+
} from "./chunk-CLVILSBR.js";
|
|
446
443
|
import {
|
|
447
444
|
compileOfflineSyncExcludeGlobs
|
|
448
445
|
} from "./chunk-63LFM77Z.js";
|
|
446
|
+
import {
|
|
447
|
+
validateArchiveRelativePath
|
|
448
|
+
} from "./chunk-GCGJW34D.js";
|
|
449
449
|
import {
|
|
450
450
|
serializeMutations,
|
|
451
451
|
withHeldFileLock
|
|
@@ -490,7 +490,7 @@ import {
|
|
|
490
490
|
import {
|
|
491
491
|
PendingObserveExtractionTracker,
|
|
492
492
|
pendingObserveScopeHint
|
|
493
|
-
} from "./chunk-
|
|
493
|
+
} from "./chunk-IPHIIRDN.js";
|
|
494
494
|
import {
|
|
495
495
|
AccessIdempotencyStore,
|
|
496
496
|
hashAccessIdempotencyPayload
|
|
@@ -18803,4 +18803,4 @@ export {
|
|
|
18803
18803
|
EngramAccessService,
|
|
18804
18804
|
AccessAdminOpsSurface
|
|
18805
18805
|
};
|
|
18806
|
-
//# sourceMappingURL=chunk-
|
|
18806
|
+
//# sourceMappingURL=chunk-R24RYSQX.js.map
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
defineOperation,
|
|
22
22
|
parseNamespacePreflightWriteOp,
|
|
23
23
|
resolveAuthorizedNamespaceWritablePreflight
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-R24RYSQX.js";
|
|
25
25
|
import {
|
|
26
26
|
parseSharedWriteOutputControls
|
|
27
27
|
} from "./chunk-IFBSZGW3.js";
|
|
28
28
|
import {
|
|
29
29
|
validateBriefingFormat
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FGUWCE5I.js";
|
|
31
31
|
import {
|
|
32
32
|
parseDeepRecallMaxSteps
|
|
33
33
|
} from "./chunk-AJG2TAMR.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
recallRequestSchema,
|
|
45
45
|
retainedCategoryAlias,
|
|
46
46
|
suggestionSubmitRequestSchema
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6Q6AQ36B.js";
|
|
48
48
|
import {
|
|
49
49
|
enforceNamespaceAllowList,
|
|
50
50
|
tokenCapabilityStore
|
|
@@ -618,4 +618,4 @@ defineOperation({ name: "graph_events", description: "SSE graph events.", schema
|
|
|
618
618
|
defineOperation({ name: "chat_message", description: "Chat message.", schema: strictSchema({ message: S.str, chatSessionId: S.str }), handler: async (_i, _ctx) => ({ result: { ok: true } }) });
|
|
619
619
|
defineOperation({ name: "chat_events", description: "SSE chat events.", schema: strictSchema({}), handler: async (_i, _ctx) => ({ result: { stream: "sse" } }) });
|
|
620
620
|
defineOperation({ name: "adapters_status", description: "Adapter registry metadata (issue #1850 round 5). Marker op: the HTTP transport builds the response from its own adapterRegistry, but the op still must be registered so it appears in listRegisteredOperations and enforceTokenOp can gate it for scoped tokens.", schema: strictSchema({}), handler: async (_i, _ctx) => ({ result: { ok: true } }) });
|
|
621
|
-
//# sourceMappingURL=chunk-
|
|
621
|
+
//# sourceMappingURL=chunk-RXGFITWS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSearchBackend
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OBQ2NZAR.js";
|
|
4
4
|
import {
|
|
5
5
|
namespaceIdentityToken,
|
|
6
6
|
normalizeNamespaceIdentity
|
|
@@ -519,4 +519,4 @@ export {
|
|
|
519
519
|
normalizeQmdResultPath,
|
|
520
520
|
resolveNamespaceResultPath
|
|
521
521
|
};
|
|
522
|
-
//# sourceMappingURL=chunk-
|
|
522
|
+
//# sourceMappingURL=chunk-SHVLNI4L.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
chatgptReplayNormalizer
|
|
3
|
+
} from "./chunk-MMACM5G2.js";
|
|
1
4
|
import {
|
|
2
5
|
claudeReplayNormalizer
|
|
3
6
|
} from "./chunk-54BGIBCR.js";
|
|
@@ -5,12 +8,12 @@ import {
|
|
|
5
8
|
openclawReplayNormalizer
|
|
6
9
|
} from "./chunk-H4CKS5B2.js";
|
|
7
10
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
exportJsonBundle
|
|
12
|
+
} from "./chunk-UP6MOYCB.js";
|
|
10
13
|
import {
|
|
11
14
|
exportOkfBundle,
|
|
12
15
|
parseIncludeStatus
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-I4LJJ44E.js";
|
|
14
17
|
import {
|
|
15
18
|
exportSqlite
|
|
16
19
|
} from "./chunk-BV2TIZ4F.js";
|
|
@@ -32,9 +35,6 @@ import {
|
|
|
32
35
|
import {
|
|
33
36
|
exportMarkdownBundle
|
|
34
37
|
} from "./chunk-765K3SAT.js";
|
|
35
|
-
import {
|
|
36
|
-
exportJsonBundle
|
|
37
|
-
} from "./chunk-UP6MOYCB.js";
|
|
38
38
|
import {
|
|
39
39
|
RoutingRulesStore
|
|
40
40
|
} from "./chunk-TBUEE7XF.js";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
} from "./chunk-EDR6CVWZ.js";
|
|
59
59
|
import {
|
|
60
60
|
rebuildMemoryLifecycleLedger
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-3MBSD53O.js";
|
|
62
62
|
import {
|
|
63
63
|
rebuildObservations
|
|
64
64
|
} from "./chunk-WHCD4Z3D.js";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-2524MOWK.js";
|
|
80
80
|
import {
|
|
81
81
|
searchVerifiedEpisodes
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-GCJA5KKT.js";
|
|
83
83
|
import {
|
|
84
84
|
getUtilityLearningStatus,
|
|
85
85
|
learnUtilityPromotionWeights
|
|
@@ -93,10 +93,10 @@ import {
|
|
|
93
93
|
} from "./chunk-VHSQU3RO.js";
|
|
94
94
|
import {
|
|
95
95
|
promoteSemanticRuleFromMemory
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-COIQ5N4J.js";
|
|
97
97
|
import {
|
|
98
98
|
searchVerifiedSemanticRules
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-X53HJENJ.js";
|
|
100
100
|
import {
|
|
101
101
|
buildResumeBundleFromState,
|
|
102
102
|
getResumeBundleStatus,
|
|
@@ -113,6 +113,15 @@ import {
|
|
|
113
113
|
import {
|
|
114
114
|
parseXrayCliOptions
|
|
115
115
|
} from "./chunk-ADYP7HXE.js";
|
|
116
|
+
import {
|
|
117
|
+
collectPatternMemories,
|
|
118
|
+
explainPatternMemory,
|
|
119
|
+
parsePatternsExplainOptions,
|
|
120
|
+
parsePatternsListOptions,
|
|
121
|
+
parseStrictCliDate,
|
|
122
|
+
renderPatternExplain,
|
|
123
|
+
renderPatternsList
|
|
124
|
+
} from "./chunk-3T74IZB3.js";
|
|
116
125
|
import {
|
|
117
126
|
readRuntimePolicySnapshot,
|
|
118
127
|
sanitizeRuntimePolicyValues
|
|
@@ -125,21 +134,12 @@ import {
|
|
|
125
134
|
runOperatorInventory,
|
|
126
135
|
runOperatorRepair,
|
|
127
136
|
runOperatorSetup
|
|
128
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-P7HNMNN2.js";
|
|
129
138
|
import {
|
|
130
139
|
analyzeSessionIntegrity,
|
|
131
140
|
applySessionRepair,
|
|
132
141
|
planSessionRepair
|
|
133
142
|
} from "./chunk-KFY3SGN7.js";
|
|
134
|
-
import {
|
|
135
|
-
collectPatternMemories,
|
|
136
|
-
explainPatternMemory,
|
|
137
|
-
parsePatternsExplainOptions,
|
|
138
|
-
parsePatternsListOptions,
|
|
139
|
-
parseStrictCliDate,
|
|
140
|
-
renderPatternExplain,
|
|
141
|
-
renderPatternsList
|
|
142
|
-
} from "./chunk-3T74IZB3.js";
|
|
143
143
|
import {
|
|
144
144
|
GITHUB_CONNECTOR_ID,
|
|
145
145
|
GMAIL_CONNECTOR_ID,
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
rebuildMemoryProjection,
|
|
177
177
|
repairMemoryProjection,
|
|
178
178
|
verifyMemoryProjection
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-F3FNXE7C.js";
|
|
180
180
|
import {
|
|
181
181
|
buildConnectorRowsFromDefinitions,
|
|
182
182
|
parseConnectorsListOptions,
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
import {
|
|
211
211
|
EngramAccessHttpServer,
|
|
212
212
|
MeetingsInputError
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-E22CQZ3H.js";
|
|
214
214
|
import {
|
|
215
215
|
WearablesInputError
|
|
216
216
|
} from "./chunk-V7IZKJI3.js";
|
|
@@ -220,10 +220,10 @@ import {
|
|
|
220
220
|
loadChatSession,
|
|
221
221
|
processChatMessage,
|
|
222
222
|
sessionBelongsToPrincipal
|
|
223
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-VEQVXNWR.js";
|
|
224
224
|
import {
|
|
225
225
|
EngramAccessService
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-R24RYSQX.js";
|
|
227
227
|
import {
|
|
228
228
|
WorkStorage
|
|
229
229
|
} from "./chunk-MPC7TYTZ.js";
|
|
@@ -243,13 +243,13 @@ import {
|
|
|
243
243
|
} from "./chunk-EWJZZDRG.js";
|
|
244
244
|
import {
|
|
245
245
|
readAggregateExtractionWatermark
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-ZZSFRWKD.js";
|
|
247
247
|
import {
|
|
248
248
|
journalPath
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-ORVPS4ZW.js";
|
|
250
250
|
import {
|
|
251
251
|
searchHarmonicRetrieval
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-C44DRDZM.js";
|
|
253
253
|
import {
|
|
254
254
|
getCueAnchorStoreStatus
|
|
255
255
|
} from "./chunk-LXATZLSC.js";
|
|
@@ -258,12 +258,12 @@ import {
|
|
|
258
258
|
readMemoryGovernanceRunArtifact,
|
|
259
259
|
restoreMemoryGovernanceRun,
|
|
260
260
|
runMemoryGovernance
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-GWOFCHPN.js";
|
|
262
262
|
import {
|
|
263
263
|
listNamespaces,
|
|
264
264
|
runNamespaceMigration,
|
|
265
265
|
verifyNamespaces
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-BZTA7DR4.js";
|
|
267
267
|
import {
|
|
268
268
|
analyzeGraphHealth
|
|
269
269
|
} from "./chunk-BFBS7OFQ.js";
|
|
@@ -300,7 +300,7 @@ import {
|
|
|
300
300
|
} from "./chunk-6L63IN3M.js";
|
|
301
301
|
import {
|
|
302
302
|
meetingIdDate
|
|
303
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-5IQL4N37.js";
|
|
304
304
|
import {
|
|
305
305
|
isValidTranscriptDate
|
|
306
306
|
} from "./chunk-UHVXE24Y.js";
|
|
@@ -10140,4 +10140,4 @@ export {
|
|
|
10140
10140
|
listMemoryMarkdownFilePaths,
|
|
10141
10141
|
registerCli
|
|
10142
10142
|
};
|
|
10143
|
-
//# sourceMappingURL=chunk-
|
|
10143
|
+
//# sourceMappingURL=chunk-SY4AFWUZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseFrontmatter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5IQL4N37.js";
|
|
4
4
|
import {
|
|
5
5
|
activityDigestPath,
|
|
6
6
|
isValidActivityDate
|
|
@@ -199,4 +199,4 @@ export {
|
|
|
199
199
|
buildStandup,
|
|
200
200
|
standupHelp
|
|
201
201
|
};
|
|
202
|
-
//# sourceMappingURL=chunk-
|
|
202
|
+
//# sourceMappingURL=chunk-SYDPJUFR.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SupportPassportError,
|
|
3
3
|
SupportPassportOwnerCreateGrantRequestSchema,
|
|
4
4
|
getOperation
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-R24RYSQX.js";
|
|
6
6
|
|
|
7
7
|
// src/support-passport/access-http.ts
|
|
8
8
|
var OWNER_ROOT = "/engram/v1/support-passport";
|
|
@@ -137,4 +137,4 @@ export {
|
|
|
137
137
|
SUPPORT_PASSPORT_OWNER_HTTP_ROUTES,
|
|
138
138
|
handleSupportPassportOwnerHttp
|
|
139
139
|
};
|
|
140
|
-
//# sourceMappingURL=chunk-
|
|
140
|
+
//# sourceMappingURL=chunk-SZBZOUHR.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-KASJJGRG.js";
|
|
10
10
|
import {
|
|
11
11
|
ExtractionDeadlineError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P4TEQSIZ.js";
|
|
13
13
|
import {
|
|
14
14
|
bufferEntryCounts,
|
|
15
15
|
bufferTurnArrayIsSuffixOfSnapshot,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
scopeProfilePlanIdentity,
|
|
25
25
|
selectRetainedDeferredTurns,
|
|
26
26
|
subtractBufferTurns
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4KLQI3L2.js";
|
|
28
28
|
import {
|
|
29
29
|
resolvePrincipal
|
|
30
30
|
} from "./chunk-ESG6ITGP.js";
|
|
@@ -482,15 +482,15 @@ var SmartBuffer = class {
|
|
|
482
482
|
async recordTurnUnlocked(bufferKey, turn) {
|
|
483
483
|
await this.loadUnlocked();
|
|
484
484
|
const entry = this.entryFor(bufferKey);
|
|
485
|
-
const priorTurns = entry.turns.slice();
|
|
486
|
-
entry.turns.push(turn);
|
|
487
|
-
const activeTurnsSnapshot = entry.turns.map(copyBufferTurn);
|
|
488
|
-
const retainedTurnsSnapshot = (entry.retainedTurns ?? []).map(copyBufferTurn);
|
|
489
|
-
if (bufferKey === "default") {
|
|
490
|
-
this.state.turns = entry.turns;
|
|
491
|
-
}
|
|
492
485
|
const signal = scanSignals(turn.content, this.config.highSignalPatterns);
|
|
486
|
+
entry.turns.push(turn);
|
|
493
487
|
const decision = this.evaluate(entry, signal.level);
|
|
488
|
+
const surpriseEligible = this.surpriseProbe !== null && this.config.triggerMode === "smart" && signal.level !== "high";
|
|
489
|
+
const snapshotsNeeded = decision !== "keep_buffering" || surpriseEligible;
|
|
490
|
+
const priorTurns = snapshotsNeeded ? entry.turns.slice(0, -1) : [];
|
|
491
|
+
const activeTurnsSnapshot = snapshotsNeeded ? entry.turns.map(copyBufferTurn) : [];
|
|
492
|
+
const retainedTurnsSnapshot = snapshotsNeeded ? (entry.retainedTurns ?? []).map(copyBufferTurn) : [];
|
|
493
|
+
if (bufferKey === "default") this.state.turns = entry.turns;
|
|
494
494
|
const turnCountInWindow = entry.turns.length;
|
|
495
495
|
this.persistence.markDirty(bufferKey);
|
|
496
496
|
this.pruneEntries([bufferKey]);
|
|
@@ -910,4 +910,4 @@ var SmartBuffer = class {
|
|
|
910
910
|
export {
|
|
911
911
|
SmartBuffer
|
|
912
912
|
};
|
|
913
|
-
//# sourceMappingURL=chunk-
|
|
913
|
+
//# sourceMappingURL=chunk-T6C3G67T.js.map
|