@remnic/core 10.0.38 → 10.0.40
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 +73 -73
- package/dist/access-audit.js +2 -2
- package/dist/access-authorization-probe.js +74 -74
- package/dist/access-boundary.js +73 -73
- package/dist/access-citation-namespace.js +2 -2
- package/dist/access-cli.js +162 -161
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.js +73 -73
- package/dist/access-http-briefing.js +74 -74
- package/dist/access-http-query.js +75 -75
- package/dist/access-http.js +98 -98
- package/dist/access-identity-continuity-surface.js +73 -73
- package/dist/access-lcm-surface.js +73 -73
- package/dist/access-mcp.js +87 -87
- package/dist/access-namespace-preflight.js +73 -73
- package/dist/access-observe-write-category.js +15 -15
- package/dist/access-observe-write-surface.js +73 -73
- package/dist/access-offline-manifest.js +12 -12
- package/dist/access-operations-batch.js +77 -77
- package/dist/access-operations.js +84 -84
- package/dist/access-recall-concurrency.js +73 -73
- package/dist/access-recall-diagnostics.js +2 -2
- package/dist/access-recall-response.js +73 -73
- package/dist/access-recall-surface.js +73 -73
- package/dist/access-schema.js +10 -10
- package/dist/access-service.d.ts +2 -2
- package/dist/access-service.d.ts.map +1 -1
- package/dist/access-service.js +73 -73
- package/dist/access-surface-catalog.js +75 -75
- package/dist/active-recall.js +29 -29
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/{auto-sync-432USQDH.js → auto-sync-BNCBMU6H.js} +7 -7
- package/dist/briefing.js +19 -19
- package/dist/buffer-types.d.ts +59 -0
- package/dist/buffer-types.d.ts.map +1 -0
- package/dist/buffer-types.js +1 -0
- package/dist/buffer.d.ts +14 -22
- package/dist/buffer.d.ts.map +1 -1
- package/dist/buffer.js +11 -11
- package/dist/calibration.js +2 -2
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-GWVG7LGC.js} +2 -2
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.js +22 -22
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-MKE5DP3S.js → chunk-23ZMQONL.js} +2 -2
- package/dist/{chunk-3K5IEJTK.js → chunk-2AV2U2SZ.js} +3 -3
- package/dist/{chunk-HJ3UTGIW.js → chunk-2JNBPOZ2.js} +3 -3
- package/dist/{chunk-5ANUG4JZ.js → chunk-2T6KEOUL.js} +2 -2
- package/dist/{chunk-EEOYF3IB.js → chunk-3RJDYZJE.js} +2 -2
- package/dist/{chunk-P5CUEB2Q.js → chunk-4QLKVZH6.js} +8 -8
- package/dist/{chunk-XTBEXZFN.js → chunk-5SF7JOJB.js} +4 -4
- package/dist/{chunk-53BLBDV6.js → chunk-5TRU6QQC.js} +2 -2
- package/dist/{chunk-DKHX2FHI.js → chunk-64WHWIPL.js} +2 -2
- package/dist/{chunk-TVIGN3XZ.js → chunk-6FRFVIKC.js} +10 -10
- package/dist/{chunk-JIA435P3.js → chunk-6ITNEPJO.js} +2 -2
- package/dist/{chunk-WEK3OUGO.js → chunk-6X3J4NLZ.js} +10 -5
- package/dist/chunk-6X3J4NLZ.js.map +1 -0
- package/dist/{chunk-FGEY2AGV.js → chunk-7BCYAJKP.js} +2 -2
- package/dist/{chunk-PSQ2P2T3.js → chunk-7XZ7TOLQ.js} +3 -3
- package/dist/{chunk-6JEEY42N.js → chunk-AER3HD3B.js} +2 -2
- package/dist/{chunk-POGPI5GR.js → chunk-AY6LO7GD.js} +2 -2
- package/dist/{chunk-HXFIILGF.js → chunk-BFPF5N3H.js} +4 -4
- package/dist/{chunk-WCBLPKG3.js → chunk-BIYVUPC6.js} +172 -143
- package/dist/chunk-BIYVUPC6.js.map +1 -0
- package/dist/{chunk-KQAFEZQX.js → chunk-BUKK5SWA.js} +2 -2
- package/dist/{chunk-LHBOFROT.js → chunk-CHNZPOWX.js} +4 -3
- package/dist/{chunk-LHBOFROT.js.map → chunk-CHNZPOWX.js.map} +1 -1
- package/dist/{chunk-6F5BGIAF.js → chunk-CNAL35D5.js} +3 -3
- package/dist/{chunk-YC2C67F7.js → chunk-CRXGQRNA.js} +3 -3
- package/dist/{chunk-WRDFYSUC.js → chunk-CZVNOTLR.js} +2 -2
- package/dist/{chunk-VPO53QMG.js → chunk-D6DOLQYK.js} +2 -2
- package/dist/{chunk-RGKXF4W3.js → chunk-E5IEI2MR.js} +2 -2
- package/dist/{chunk-Z2T5BPOZ.js → chunk-EIYJK7OD.js} +2 -2
- package/dist/{chunk-FRAL3EU4.js → chunk-EKPRLTAE.js} +2 -2
- package/dist/{chunk-MCPSMWUC.js → chunk-EPEDMEHO.js} +10 -10
- package/dist/{chunk-MCPSMWUC.js.map → chunk-EPEDMEHO.js.map} +1 -1
- package/dist/{chunk-TYGLV6ZG.js → chunk-EYGOM6AI.js} +2 -2
- package/dist/{chunk-TYGLV6ZG.js.map → chunk-EYGOM6AI.js.map} +1 -1
- package/dist/{chunk-I75BWXRZ.js → chunk-F2RDRE7M.js} +2 -2
- package/dist/{chunk-2AKIVSHP.js → chunk-FAKRTS3Y.js} +2 -2
- package/dist/{chunk-MZWHIAOL.js → chunk-FC3ZFEXF.js} +2 -2
- package/dist/{chunk-3PLAL2KP.js → chunk-FJ264QBP.js} +17 -9
- package/dist/chunk-FJ264QBP.js.map +1 -0
- package/dist/{chunk-7VFNGQ4V.js → chunk-FLDXEJFX.js} +2 -2
- package/dist/{chunk-TYLNWE4D.js → chunk-FNEYSTB6.js} +2 -2
- package/dist/{chunk-XHX67LX6.js → chunk-FPHU6KVI.js} +2 -2
- package/dist/{chunk-JH4FCVWJ.js → chunk-G6OFEGUR.js} +2 -2
- package/dist/{chunk-WCIDCJOQ.js → chunk-GAUS4XGN.js} +3 -3
- package/dist/{chunk-SZPPCEYT.js → chunk-GDOI4U4D.js} +2 -2
- package/dist/{chunk-63YPKHAU.js → chunk-GLB6VV3J.js} +2 -2
- package/dist/{chunk-3XVBGGF3.js → chunk-GRN4BVPM.js} +2 -2
- package/dist/{chunk-ZAP7BKTZ.js → chunk-GZMHBRIR.js} +6 -6
- package/dist/{chunk-645WOU5I.js → chunk-H7BZBSP6.js} +4 -4
- package/dist/{chunk-TXP7Q7T5.js → chunk-HN35OH2C.js} +2 -2
- package/dist/{chunk-SWZOAQUM.js → chunk-HSNV4CSW.js} +57 -57
- package/dist/{chunk-GFYFKXWZ.js → chunk-HUDPXTXW.js} +2 -2
- package/dist/{chunk-C2KOW2UQ.js → chunk-I7CWAJHX.js} +2 -2
- package/dist/{chunk-L2JQSG5M.js → chunk-I7TR2OCU.js} +2 -2
- package/dist/{chunk-5DCS4C4S.js → chunk-ICTJOOWZ.js} +4 -4
- package/dist/{chunk-NH6GZEQN.js → chunk-IF6EG22P.js} +10 -10
- package/dist/chunk-IF6EG22P.js.map +1 -0
- package/dist/{chunk-STM4T335.js → chunk-IJH6METJ.js} +2 -2
- package/dist/{chunk-6SYS5YX3.js → chunk-IJJWM2ZA.js} +2 -2
- package/dist/{chunk-3AODCBKX.js → chunk-IWDFHVPJ.js} +6 -6
- package/dist/{chunk-XHVO3CGX.js → chunk-JGS55BAS.js} +53 -2
- package/dist/chunk-JGS55BAS.js.map +1 -0
- package/dist/{chunk-L7PGPH4E.js → chunk-JJSMSS45.js} +2 -2
- package/dist/{chunk-74AY3S7U.js → chunk-JNLYHJG7.js} +4 -4
- package/dist/{chunk-OLH4XCLU.js → chunk-JXQTECMU.js} +2 -2
- package/dist/{chunk-6QOL4G76.js → chunk-KQXRVELF.js} +2 -2
- package/dist/{chunk-PJRKLB4Z.js → chunk-L5PM7B3I.js} +16 -2
- package/dist/{chunk-PJRKLB4Z.js.map → chunk-L5PM7B3I.js.map} +1 -1
- package/dist/{chunk-VGRM43X6.js → chunk-LB6HIXQC.js} +2 -2
- package/dist/{chunk-N7DVBHU3.js → chunk-LR7RW4T6.js} +3 -3
- package/dist/{chunk-AYBAC2N4.js → chunk-LWIU5BMA.js} +3 -3
- package/dist/{chunk-FZVZYU5C.js → chunk-LXN737FX.js} +2 -2
- package/dist/{chunk-7ZRRJ6RG.js → chunk-MGYZENUY.js} +2 -2
- package/dist/{chunk-YQ6SLFNZ.js → chunk-MPJDQC4G.js} +3 -3
- package/dist/{chunk-7HXZOWTR.js → chunk-N3PUGD7E.js} +2 -2
- package/dist/{chunk-EGNONTVT.js → chunk-NBEM5QEH.js} +6 -6
- package/dist/{chunk-QO5KDQGG.js → chunk-NFJWB27H.js} +20 -18
- package/dist/chunk-NFJWB27H.js.map +1 -0
- package/dist/{chunk-JF3MEIHO.js → chunk-O67H7OXJ.js} +4 -4
- package/dist/{chunk-OLHN4ZNT.js → chunk-ONIVKGNC.js} +3 -3
- package/dist/{chunk-2NLLXCJG.js → chunk-OWHERGF2.js} +2 -2
- package/dist/{chunk-I73ZSORJ.js → chunk-OXSTKCYK.js} +4 -4
- package/dist/{chunk-UFM3PJDT.js → chunk-PARM6OYL.js} +1 -1
- package/dist/chunk-PARM6OYL.js.map +1 -0
- package/dist/{chunk-VSSQIBVU.js → chunk-PJXSBXEC.js} +2 -2
- package/dist/{chunk-4B37KNMP.js → chunk-PW63SXFM.js} +2 -2
- package/dist/{chunk-TPKB7T6Z.js → chunk-Q6UZREJK.js} +2 -2
- package/dist/{chunk-X247CYL6.js → chunk-Q77SLBWT.js} +4 -4
- package/dist/{chunk-TAEJ2MRR.js → chunk-QFD7OANX.js} +62 -62
- package/dist/chunk-QFD7OANX.js.map +1 -0
- package/dist/{chunk-5K23NQRI.js → chunk-QGNZ5QPV.js} +2 -2
- package/dist/{chunk-UJDTXWMT.js → chunk-QIMGULGN.js} +2 -2
- package/dist/{chunk-E24RUQEN.js → chunk-QNIYL5SK.js} +2 -2
- package/dist/{chunk-KOY25HUB.js → chunk-QYAXMXOB.js} +2 -2
- package/dist/{chunk-J7G656MY.js → chunk-R42VUN5V.js} +4 -4
- package/dist/{chunk-LOMSBYNS.js → chunk-RPHCSMTQ.js} +309 -106
- package/dist/chunk-RPHCSMTQ.js.map +1 -0
- package/dist/{chunk-AYXRK264.js → chunk-RROFIAYI.js} +9 -9
- package/dist/{chunk-YYGZ4EIY.js → chunk-RUAIO5UA.js} +2 -2
- package/dist/{chunk-E5PVMB3I.js → chunk-SDXBR5QO.js} +2 -2
- package/dist/{chunk-OKKBOTRA.js → chunk-SLVR3U4E.js} +2 -2
- package/dist/{chunk-CUWOSRCS.js → chunk-SUKPM6DV.js} +2 -2
- package/dist/{chunk-TDCR6PQL.js → chunk-TWRPWJJT.js} +2 -2
- package/dist/{chunk-6DTIYAAN.js → chunk-UGV256H3.js} +2 -2
- package/dist/{chunk-DG4H56SK.js → chunk-UIK3U36O.js} +2 -2
- package/dist/{chunk-KOAVX2IT.js → chunk-UKIIAEJF.js} +2 -2
- package/dist/{chunk-XLEP7SS3.js → chunk-UMSH4I3E.js} +2 -2
- package/dist/{chunk-X7Y7WX73.js → chunk-UVYI6VIX.js} +1 -1
- package/dist/chunk-VA3GNAWQ.js +58 -0
- package/dist/chunk-VA3GNAWQ.js.map +1 -0
- package/dist/{chunk-4P4VLPGB.js → chunk-VECRSYQG.js} +1 -1
- package/dist/{chunk-GGI6FLO6.js → chunk-VHBGJAYC.js} +2 -2
- package/dist/{chunk-NMKETOAX.js → chunk-VSHWPOUB.js} +2 -2
- package/dist/{chunk-VC3X7XP3.js → chunk-VTZSIG6O.js} +2 -2
- package/dist/{chunk-UBN5AOLT.js → chunk-W5EO4USJ.js} +2 -2
- package/dist/{chunk-Y7427SL7.js → chunk-WCGJK4NQ.js} +4 -4
- package/dist/{chunk-4IZ6AC2U.js → chunk-WJMAWDAU.js} +2 -2
- package/dist/{chunk-JH2ALMPR.js → chunk-WR5POHQ3.js} +2 -2
- package/dist/{chunk-EHIKY2IA.js → chunk-WU5WTCH5.js} +2 -2
- package/dist/{chunk-QKXPOLQD.js → chunk-WUBGMV3G.js} +6 -6
- package/dist/{chunk-FKTMWDN2.js → chunk-WUL6LDJ4.js} +2 -2
- package/dist/{chunk-5UPOKIFP.js → chunk-XBHUMPIQ.js} +12 -12
- package/dist/{chunk-Y5ZHZKZD.js → chunk-XJ77IOAD.js} +2 -2
- package/dist/{chunk-U7HJBODU.js → chunk-XKTHJHSQ.js} +5 -5
- package/dist/{chunk-FQFMLOAC.js → chunk-XLUMO5H2.js} +20 -20
- package/dist/chunk-XLUMO5H2.js.map +1 -0
- package/dist/{chunk-JFI3ATK4.js → chunk-XMYWYJM2.js} +2 -2
- package/dist/{chunk-64S6X4IU.js → chunk-XTN54NML.js} +4 -4
- package/dist/{chunk-CVMAOPAH.js → chunk-XXBCUIYQ.js} +10 -10
- package/dist/{chunk-QOUKZ2N3.js → chunk-XXW3P3RX.js} +2 -2
- package/dist/{chunk-RWRHGE75.js → chunk-Y473XFTD.js} +2 -2
- package/dist/{chunk-VGFNTY3Y.js → chunk-YFXRLRKP.js} +2 -2
- package/dist/{chunk-DAOMWGO2.js → chunk-ZX5N5D6M.js} +4 -4
- package/dist/cli.js +121 -121
- package/dist/coding/export-okf-codegraph.js +20 -20
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/compounding/engine.js +21 -21
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +29 -29
- package/dist/connectors/codex-materialize-runner.js +19 -19
- package/dist/connectors/index.js +19 -19
- package/dist/contradiction/index.js +5 -5
- package/dist/convergence-refresh.js +21 -21
- package/dist/corpus-watermark.js +21 -21
- package/dist/deep-recall-http-glue.js +11 -11
- package/dist/deep-recall.js +2 -2
- package/dist/entity-retrieval.js +20 -20
- package/dist/event-order-recall.js +2 -2
- package/dist/explicit-capture.js +6 -6
- package/dist/external-wiki-access.js +74 -74
- package/dist/extraction-error-classification.d.ts +15 -0
- package/dist/extraction-error-classification.d.ts.map +1 -1
- package/dist/extraction-error-classification.js +7 -3
- package/dist/extraction-window-drain.d.ts +48 -0
- package/dist/extraction-window-drain.d.ts.map +1 -0
- package/dist/extraction-window-drain.js +14 -0
- package/dist/extraction.js +28 -28
- package/dist/{graph-edge-decay-2BZTY2IM.js → graph-edge-decay-3HVLMT6U.js} +5 -5
- package/dist/graph-edge-decay-3HVLMT6U.js.map +1 -0
- package/dist/graph-jsonl.js +3 -3
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph.js +4 -4
- package/dist/harmonic-retrieval.js +20 -20
- package/dist/harmonic-source-lookup.js +2 -2
- package/dist/index.js +209 -208
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.js +7 -7
- package/dist/local-llm.js +2 -2
- package/dist/location/index.js +22 -22
- package/dist/maintenance/memory-governance.js +19 -19
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +19 -19
- package/dist/maintenance/rebuild-memory-projection-runner.js +21 -21
- package/dist/maintenance/rebuild-memory-projection.js +20 -20
- package/dist/memory-browse-operations.js +74 -74
- package/dist/memory-browse.js +6 -6
- package/dist/memory-subject.js +3 -3
- package/dist/namespaces/migrate.js +20 -20
- package/dist/namespaces/search.d.ts +1 -0
- package/dist/namespaces/search.d.ts.map +1 -1
- package/dist/namespaces/search.js +11 -9
- package/dist/namespaces/storage.js +19 -19
- package/dist/offline-sync-changeset-generations.js +3 -3
- package/dist/offline-sync-embedding-generation.js +2 -2
- package/dist/offline-sync-file-io.js +2 -2
- package/dist/offline-sync-impression-drain.js +3 -3
- package/dist/offline-sync-snapshot-stream.js +8 -8
- package/dist/offline-sync-upload-staging.js +3 -3
- package/dist/offline-sync.js +9 -9
- package/dist/operator-doctor-corpus.js +22 -22
- package/dist/operator-toolkit.js +40 -40
- package/dist/orchestration/extraction-drain.d.ts +90 -0
- package/dist/orchestration/extraction-drain.d.ts.map +1 -0
- package/dist/orchestration/extraction-run-helpers.d.ts +3 -0
- package/dist/orchestration/extraction-run-helpers.d.ts.map +1 -1
- package/dist/orchestration/extraction-run.d.ts +4 -1
- package/dist/orchestration/extraction-run.d.ts.map +1 -1
- package/dist/orchestration/maintenance.js +33 -33
- package/dist/orchestration/qmd-result-resolver.d.ts +5 -0
- package/dist/orchestration/qmd-result-resolver.d.ts.map +1 -1
- package/dist/orchestration/recall-search-pipeline.d.ts.map +1 -1
- package/dist/orchestration/turn-ingestion.d.ts +3 -0
- package/dist/orchestration/turn-ingestion.d.ts.map +1 -1
- package/dist/orchestrator.d.ts +8 -0
- package/dist/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator.js +162 -161
- package/dist/qmd.js +5 -5
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-navigate-access.js +2 -2
- package/dist/recall-navigate-disclosure.js +2 -2
- package/dist/recall-navigate.js +2 -2
- package/dist/recall-navigation-operations.js +74 -74
- package/dist/recall-navigation.js +73 -73
- package/dist/recall-state-view-admission.js +6 -6
- package/dist/recall-why-service.js +6 -6
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.js +2 -2
- package/dist/reconcile/manifest.js +3 -3
- package/dist/{resolution-4ZEQPXUZ.js → resolution-NNYG37YB.js} +6 -6
- package/dist/resolution-NNYG37YB.js.map +1 -0
- package/dist/resume-bundles.js +30 -30
- package/dist/retrieval-agents.js +2 -2
- package/dist/salvage-envelope.js +5 -5
- package/dist/search/factory.js +6 -6
- package/dist/search/index.js +10 -10
- package/dist/secure-store/index.js +2 -2
- package/dist/semantic-consolidation.js +20 -20
- package/dist/semantic-rule-promotion.js +19 -19
- package/dist/semantic-rule-verifier.js +19 -19
- package/dist/source-agent-qualifier.js +23 -23
- package/dist/standup/build.js +19 -19
- package/dist/storage/dropped-extraction-chunk.d.ts +8 -0
- package/dist/storage/dropped-extraction-chunk.d.ts.map +1 -0
- package/dist/storage.d.ts +1 -0
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +18 -18
- package/dist/subject-config.js +4 -4
- package/dist/summarizer.js +3 -3
- package/dist/support-passport/index.js +76 -76
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/export-okf.js +20 -20
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/dist/verified-recall.js +19 -19
- package/dist/who-knows-cli.js +20 -20
- package/dist/who-knows.js +19 -19
- package/dist/write-envelope.js +4 -4
- package/package.json +2 -2
- package/src/access-entity-principal.test.ts +190 -0
- package/src/access-http.ts +2 -2
- package/src/access-operations-batch.ts +2 -2
- package/src/access-service.ts +7 -6
- package/src/buffer-drop-extraction-chunk.test.ts +196 -0
- package/src/buffer-types.ts +65 -0
- package/src/buffer.ts +60 -62
- package/src/chat/chat-executor.ts +1 -1
- package/src/config.ts +8 -0
- package/src/extraction-error-classification.ts +23 -0
- package/src/extraction-local-failure-class.test.ts +55 -0
- package/src/extraction-window-drain.test.ts +123 -0
- package/src/extraction-window-drain.ts +110 -0
- package/src/extraction.ts +9 -9
- package/src/namespaces/search.ts +1 -1
- package/src/orchestration/extraction-drain.ts +261 -0
- package/src/orchestration/extraction-run-helpers.ts +8 -0
- package/src/orchestration/extraction-run.test.ts +83 -2
- package/src/orchestration/extraction-run.ts +5 -4
- package/src/orchestration/qmd-result-resolver.ts +26 -1
- package/src/orchestration/recall-search-pipeline.ts +11 -12
- package/src/orchestration/turn-ingestion.ts +9 -5
- package/src/orchestrator.ts +21 -0
- package/src/secure-store/secure-fs.ts +3 -1
- package/src/storage/dropped-extraction-chunk.ts +27 -0
- package/src/storage-dropped-chunk-filenames.test.ts +30 -0
- package/src/storage.ts +6 -7
- package/src/types.ts +7 -0
- package/dist/chunk-3PLAL2KP.js.map +0 -1
- package/dist/chunk-FQFMLOAC.js.map +0 -1
- package/dist/chunk-LOMSBYNS.js.map +0 -1
- package/dist/chunk-NH6GZEQN.js.map +0 -1
- package/dist/chunk-QO5KDQGG.js.map +0 -1
- package/dist/chunk-TAEJ2MRR.js.map +0 -1
- package/dist/chunk-UFM3PJDT.js.map +0 -1
- package/dist/chunk-WCBLPKG3.js.map +0 -1
- package/dist/chunk-WEK3OUGO.js.map +0 -1
- package/dist/chunk-XHVO3CGX.js.map +0 -1
- /package/dist/{auto-sync-432USQDH.js.map → auto-sync-BNCBMU6H.js.map} +0 -0
- /package/dist/{capsule-crypto-7FJQINUR.js.map → buffer-types.js.map} +0 -0
- /package/dist/{graph-edge-decay-2BZTY2IM.js.map → capsule-crypto-GWVG7LGC.js.map} +0 -0
- /package/dist/{chunk-MKE5DP3S.js.map → chunk-23ZMQONL.js.map} +0 -0
- /package/dist/{chunk-3K5IEJTK.js.map → chunk-2AV2U2SZ.js.map} +0 -0
- /package/dist/{chunk-HJ3UTGIW.js.map → chunk-2JNBPOZ2.js.map} +0 -0
- /package/dist/{chunk-5ANUG4JZ.js.map → chunk-2T6KEOUL.js.map} +0 -0
- /package/dist/{chunk-EEOYF3IB.js.map → chunk-3RJDYZJE.js.map} +0 -0
- /package/dist/{chunk-P5CUEB2Q.js.map → chunk-4QLKVZH6.js.map} +0 -0
- /package/dist/{chunk-XTBEXZFN.js.map → chunk-5SF7JOJB.js.map} +0 -0
- /package/dist/{chunk-53BLBDV6.js.map → chunk-5TRU6QQC.js.map} +0 -0
- /package/dist/{chunk-DKHX2FHI.js.map → chunk-64WHWIPL.js.map} +0 -0
- /package/dist/{chunk-TVIGN3XZ.js.map → chunk-6FRFVIKC.js.map} +0 -0
- /package/dist/{chunk-JIA435P3.js.map → chunk-6ITNEPJO.js.map} +0 -0
- /package/dist/{chunk-FGEY2AGV.js.map → chunk-7BCYAJKP.js.map} +0 -0
- /package/dist/{chunk-PSQ2P2T3.js.map → chunk-7XZ7TOLQ.js.map} +0 -0
- /package/dist/{chunk-6JEEY42N.js.map → chunk-AER3HD3B.js.map} +0 -0
- /package/dist/{chunk-POGPI5GR.js.map → chunk-AY6LO7GD.js.map} +0 -0
- /package/dist/{chunk-HXFIILGF.js.map → chunk-BFPF5N3H.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-BUKK5SWA.js.map} +0 -0
- /package/dist/{chunk-6F5BGIAF.js.map → chunk-CNAL35D5.js.map} +0 -0
- /package/dist/{chunk-YC2C67F7.js.map → chunk-CRXGQRNA.js.map} +0 -0
- /package/dist/{chunk-WRDFYSUC.js.map → chunk-CZVNOTLR.js.map} +0 -0
- /package/dist/{chunk-VPO53QMG.js.map → chunk-D6DOLQYK.js.map} +0 -0
- /package/dist/{chunk-RGKXF4W3.js.map → chunk-E5IEI2MR.js.map} +0 -0
- /package/dist/{chunk-Z2T5BPOZ.js.map → chunk-EIYJK7OD.js.map} +0 -0
- /package/dist/{chunk-FRAL3EU4.js.map → chunk-EKPRLTAE.js.map} +0 -0
- /package/dist/{chunk-I75BWXRZ.js.map → chunk-F2RDRE7M.js.map} +0 -0
- /package/dist/{chunk-2AKIVSHP.js.map → chunk-FAKRTS3Y.js.map} +0 -0
- /package/dist/{chunk-MZWHIAOL.js.map → chunk-FC3ZFEXF.js.map} +0 -0
- /package/dist/{chunk-7VFNGQ4V.js.map → chunk-FLDXEJFX.js.map} +0 -0
- /package/dist/{chunk-TYLNWE4D.js.map → chunk-FNEYSTB6.js.map} +0 -0
- /package/dist/{chunk-XHX67LX6.js.map → chunk-FPHU6KVI.js.map} +0 -0
- /package/dist/{chunk-JH4FCVWJ.js.map → chunk-G6OFEGUR.js.map} +0 -0
- /package/dist/{chunk-WCIDCJOQ.js.map → chunk-GAUS4XGN.js.map} +0 -0
- /package/dist/{chunk-SZPPCEYT.js.map → chunk-GDOI4U4D.js.map} +0 -0
- /package/dist/{chunk-63YPKHAU.js.map → chunk-GLB6VV3J.js.map} +0 -0
- /package/dist/{chunk-3XVBGGF3.js.map → chunk-GRN4BVPM.js.map} +0 -0
- /package/dist/{chunk-ZAP7BKTZ.js.map → chunk-GZMHBRIR.js.map} +0 -0
- /package/dist/{chunk-645WOU5I.js.map → chunk-H7BZBSP6.js.map} +0 -0
- /package/dist/{chunk-TXP7Q7T5.js.map → chunk-HN35OH2C.js.map} +0 -0
- /package/dist/{chunk-SWZOAQUM.js.map → chunk-HSNV4CSW.js.map} +0 -0
- /package/dist/{chunk-GFYFKXWZ.js.map → chunk-HUDPXTXW.js.map} +0 -0
- /package/dist/{chunk-C2KOW2UQ.js.map → chunk-I7CWAJHX.js.map} +0 -0
- /package/dist/{chunk-L2JQSG5M.js.map → chunk-I7TR2OCU.js.map} +0 -0
- /package/dist/{chunk-5DCS4C4S.js.map → chunk-ICTJOOWZ.js.map} +0 -0
- /package/dist/{chunk-STM4T335.js.map → chunk-IJH6METJ.js.map} +0 -0
- /package/dist/{chunk-6SYS5YX3.js.map → chunk-IJJWM2ZA.js.map} +0 -0
- /package/dist/{chunk-3AODCBKX.js.map → chunk-IWDFHVPJ.js.map} +0 -0
- /package/dist/{chunk-L7PGPH4E.js.map → chunk-JJSMSS45.js.map} +0 -0
- /package/dist/{chunk-74AY3S7U.js.map → chunk-JNLYHJG7.js.map} +0 -0
- /package/dist/{chunk-OLH4XCLU.js.map → chunk-JXQTECMU.js.map} +0 -0
- /package/dist/{chunk-6QOL4G76.js.map → chunk-KQXRVELF.js.map} +0 -0
- /package/dist/{chunk-VGRM43X6.js.map → chunk-LB6HIXQC.js.map} +0 -0
- /package/dist/{chunk-N7DVBHU3.js.map → chunk-LR7RW4T6.js.map} +0 -0
- /package/dist/{chunk-AYBAC2N4.js.map → chunk-LWIU5BMA.js.map} +0 -0
- /package/dist/{chunk-FZVZYU5C.js.map → chunk-LXN737FX.js.map} +0 -0
- /package/dist/{chunk-7ZRRJ6RG.js.map → chunk-MGYZENUY.js.map} +0 -0
- /package/dist/{chunk-YQ6SLFNZ.js.map → chunk-MPJDQC4G.js.map} +0 -0
- /package/dist/{chunk-7HXZOWTR.js.map → chunk-N3PUGD7E.js.map} +0 -0
- /package/dist/{chunk-EGNONTVT.js.map → chunk-NBEM5QEH.js.map} +0 -0
- /package/dist/{chunk-JF3MEIHO.js.map → chunk-O67H7OXJ.js.map} +0 -0
- /package/dist/{chunk-OLHN4ZNT.js.map → chunk-ONIVKGNC.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-OWHERGF2.js.map} +0 -0
- /package/dist/{chunk-I73ZSORJ.js.map → chunk-OXSTKCYK.js.map} +0 -0
- /package/dist/{chunk-VSSQIBVU.js.map → chunk-PJXSBXEC.js.map} +0 -0
- /package/dist/{chunk-4B37KNMP.js.map → chunk-PW63SXFM.js.map} +0 -0
- /package/dist/{chunk-TPKB7T6Z.js.map → chunk-Q6UZREJK.js.map} +0 -0
- /package/dist/{chunk-X247CYL6.js.map → chunk-Q77SLBWT.js.map} +0 -0
- /package/dist/{chunk-5K23NQRI.js.map → chunk-QGNZ5QPV.js.map} +0 -0
- /package/dist/{chunk-UJDTXWMT.js.map → chunk-QIMGULGN.js.map} +0 -0
- /package/dist/{chunk-E24RUQEN.js.map → chunk-QNIYL5SK.js.map} +0 -0
- /package/dist/{chunk-KOY25HUB.js.map → chunk-QYAXMXOB.js.map} +0 -0
- /package/dist/{chunk-J7G656MY.js.map → chunk-R42VUN5V.js.map} +0 -0
- /package/dist/{chunk-AYXRK264.js.map → chunk-RROFIAYI.js.map} +0 -0
- /package/dist/{chunk-YYGZ4EIY.js.map → chunk-RUAIO5UA.js.map} +0 -0
- /package/dist/{chunk-E5PVMB3I.js.map → chunk-SDXBR5QO.js.map} +0 -0
- /package/dist/{chunk-OKKBOTRA.js.map → chunk-SLVR3U4E.js.map} +0 -0
- /package/dist/{chunk-CUWOSRCS.js.map → chunk-SUKPM6DV.js.map} +0 -0
- /package/dist/{chunk-TDCR6PQL.js.map → chunk-TWRPWJJT.js.map} +0 -0
- /package/dist/{chunk-6DTIYAAN.js.map → chunk-UGV256H3.js.map} +0 -0
- /package/dist/{chunk-DG4H56SK.js.map → chunk-UIK3U36O.js.map} +0 -0
- /package/dist/{chunk-KOAVX2IT.js.map → chunk-UKIIAEJF.js.map} +0 -0
- /package/dist/{chunk-XLEP7SS3.js.map → chunk-UMSH4I3E.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-UVYI6VIX.js.map} +0 -0
- /package/dist/{chunk-4P4VLPGB.js.map → chunk-VECRSYQG.js.map} +0 -0
- /package/dist/{chunk-GGI6FLO6.js.map → chunk-VHBGJAYC.js.map} +0 -0
- /package/dist/{chunk-NMKETOAX.js.map → chunk-VSHWPOUB.js.map} +0 -0
- /package/dist/{chunk-VC3X7XP3.js.map → chunk-VTZSIG6O.js.map} +0 -0
- /package/dist/{chunk-UBN5AOLT.js.map → chunk-W5EO4USJ.js.map} +0 -0
- /package/dist/{chunk-Y7427SL7.js.map → chunk-WCGJK4NQ.js.map} +0 -0
- /package/dist/{chunk-4IZ6AC2U.js.map → chunk-WJMAWDAU.js.map} +0 -0
- /package/dist/{chunk-JH2ALMPR.js.map → chunk-WR5POHQ3.js.map} +0 -0
- /package/dist/{chunk-EHIKY2IA.js.map → chunk-WU5WTCH5.js.map} +0 -0
- /package/dist/{chunk-QKXPOLQD.js.map → chunk-WUBGMV3G.js.map} +0 -0
- /package/dist/{chunk-FKTMWDN2.js.map → chunk-WUL6LDJ4.js.map} +0 -0
- /package/dist/{chunk-5UPOKIFP.js.map → chunk-XBHUMPIQ.js.map} +0 -0
- /package/dist/{chunk-Y5ZHZKZD.js.map → chunk-XJ77IOAD.js.map} +0 -0
- /package/dist/{chunk-U7HJBODU.js.map → chunk-XKTHJHSQ.js.map} +0 -0
- /package/dist/{chunk-JFI3ATK4.js.map → chunk-XMYWYJM2.js.map} +0 -0
- /package/dist/{chunk-64S6X4IU.js.map → chunk-XTN54NML.js.map} +0 -0
- /package/dist/{chunk-CVMAOPAH.js.map → chunk-XXBCUIYQ.js.map} +0 -0
- /package/dist/{chunk-QOUKZ2N3.js.map → chunk-XXW3P3RX.js.map} +0 -0
- /package/dist/{chunk-RWRHGE75.js.map → chunk-Y473XFTD.js.map} +0 -0
- /package/dist/{chunk-VGFNTY3Y.js.map → chunk-YFXRLRKP.js.map} +0 -0
- /package/dist/{chunk-DAOMWGO2.js.map → chunk-ZX5N5D6M.js.map} +0 -0
- /package/dist/{resolution-4ZEQPXUZ.js.map → extraction-window-drain.js.map} +0 -0
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EMPTY_QMD_STATUS,
|
|
3
|
-
embedQmdFiles,
|
|
4
|
-
fetchQmdStatus
|
|
5
|
-
} from "./chunk-IUM3VSHI.js";
|
|
6
1
|
import {
|
|
7
2
|
resolveEnsureCollectionArgs
|
|
8
3
|
} from "./chunk-G26YNEOC.js";
|
|
9
|
-
import {
|
|
10
|
-
QmdDaemonSession
|
|
11
|
-
} from "./chunk-VILPVT4S.js";
|
|
12
4
|
import {
|
|
13
5
|
createInflightJoiner
|
|
14
6
|
} from "./chunk-AF2XMJKD.js";
|
|
@@ -25,6 +17,14 @@ import {
|
|
|
25
17
|
qmdVersionToString,
|
|
26
18
|
resolveQmdCapabilities
|
|
27
19
|
} from "./chunk-OR42ZI54.js";
|
|
20
|
+
import {
|
|
21
|
+
EMPTY_QMD_STATUS,
|
|
22
|
+
embedQmdFiles,
|
|
23
|
+
fetchQmdStatus
|
|
24
|
+
} from "./chunk-IUM3VSHI.js";
|
|
25
|
+
import {
|
|
26
|
+
QmdDaemonSession
|
|
27
|
+
} from "./chunk-VILPVT4S.js";
|
|
28
28
|
import {
|
|
29
29
|
clearQmdResultCaches,
|
|
30
30
|
getCachedQmdSearch,
|
|
@@ -2028,4 +2028,4 @@ export {
|
|
|
2028
2028
|
sharedDaemonSessionCountForTest,
|
|
2029
2029
|
QmdClient
|
|
2030
2030
|
};
|
|
2031
|
-
//# sourceMappingURL=chunk-
|
|
2031
|
+
//# sourceMappingURL=chunk-RROFIAYI.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-ZAJLJ35W.js";
|
|
12
12
|
import {
|
|
13
13
|
parseConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FJ264QBP.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveObjectiveStateStoreDir,
|
|
17
17
|
validateObjectiveStateSnapshot
|
|
@@ -268,4 +268,4 @@ export {
|
|
|
268
268
|
recordResumeBundle,
|
|
269
269
|
getResumeBundleStatus
|
|
270
270
|
};
|
|
271
|
-
//# sourceMappingURL=chunk-
|
|
271
|
+
//# sourceMappingURL=chunk-RUAIO5UA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ContentHashIndex
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W5EO4USJ.js";
|
|
4
4
|
import {
|
|
5
5
|
sanitizeMemoryContent
|
|
6
6
|
} from "./chunk-5GKPFL3S.js";
|
|
@@ -164,4 +164,4 @@ export {
|
|
|
164
164
|
PROMOTION_CANDIDATES_MCP_TOOLS,
|
|
165
165
|
backfillMemorySubjects
|
|
166
166
|
};
|
|
167
|
-
//# sourceMappingURL=chunk-
|
|
167
|
+
//# sourceMappingURL=chunk-SDXBR5QO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rebuildMemoryProjection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q77SLBWT.js";
|
|
4
4
|
|
|
5
5
|
// src/convergence-refresh.ts
|
|
6
6
|
async function refreshConvergedNamespaces(namespaces, namespaceSearchRouter, getStorage, searchEnabled) {
|
|
@@ -32,4 +32,4 @@ async function refreshConvergedNamespaces(namespaces, namespaceSearchRouter, get
|
|
|
32
32
|
export {
|
|
33
33
|
refreshConvergedNamespaces
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-SLVR3U4E.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
MAGIC_HEADER_SIZE,
|
|
12
12
|
isEncryptedFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EYGOM6AI.js";
|
|
14
14
|
|
|
15
15
|
// src/offline-sync-file-io.ts
|
|
16
16
|
import { createHash } from "crypto";
|
|
@@ -108,4 +108,4 @@ export {
|
|
|
108
108
|
assertOfflineSyncMtimeMs,
|
|
109
109
|
setSafeFileMtime
|
|
110
110
|
};
|
|
111
|
-
//# sourceMappingURL=chunk-
|
|
111
|
+
//# sourceMappingURL=chunk-SUKPM6DV.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-BT7NVCML.js";
|
|
4
4
|
import {
|
|
5
5
|
isMemorySubject
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SDXBR5QO.js";
|
|
7
7
|
import {
|
|
8
8
|
assemblePersistedBody
|
|
9
9
|
} from "./chunk-JDSVLVCG.js";
|
|
@@ -443,4 +443,4 @@ export {
|
|
|
443
443
|
buildAccessWriteRequestFingerprint,
|
|
444
444
|
buildObserveRequestFingerprint
|
|
445
445
|
};
|
|
446
|
-
//# sourceMappingURL=chunk-
|
|
446
|
+
//# sourceMappingURL=chunk-TWRPWJJT.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-FRXS6SC7.js";
|
|
7
7
|
import {
|
|
8
8
|
StorageManager
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BIYVUPC6.js";
|
|
10
10
|
import {
|
|
11
11
|
normalizeEntityName
|
|
12
12
|
} from "./chunk-YXZG5TVN.js";
|
|
@@ -962,4 +962,4 @@ export {
|
|
|
962
962
|
resolveBriefingSaveDir,
|
|
963
963
|
briefingFilename
|
|
964
964
|
};
|
|
965
|
-
//# sourceMappingURL=chunk-
|
|
965
|
+
//# sourceMappingURL=chunk-UGV256H3.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-TBBDFYXW.js";
|
|
11
11
|
import {
|
|
12
12
|
parseQmdExplain
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RROFIAYI.js";
|
|
14
14
|
import {
|
|
15
15
|
parseFlexibleIsoTimestamp
|
|
16
16
|
} from "./chunk-P7FMDTKL.js";
|
|
@@ -645,4 +645,4 @@ export {
|
|
|
645
645
|
appendMemoryToGraphContext,
|
|
646
646
|
resolvePersistedMemoryRelativePath
|
|
647
647
|
};
|
|
648
|
-
//# sourceMappingURL=chunk-
|
|
648
|
+
//# sourceMappingURL=chunk-UIK3U36O.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rebuildMemoryProjection,
|
|
3
3
|
watchProjectionRebuildParent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q77SLBWT.js";
|
|
5
5
|
import {
|
|
6
6
|
initLogger,
|
|
7
7
|
log
|
|
@@ -77,4 +77,4 @@ if (invokedAsRunner) {
|
|
|
77
77
|
export {
|
|
78
78
|
PROJECTION_REBUILD_RUNNER_FLAG
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-UKIIAEJF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
canonicalCategoryForAlias,
|
|
3
3
|
categoryAliasCoercion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CRXGQRNA.js";
|
|
5
5
|
|
|
6
6
|
// src/access-observe-write-category.ts
|
|
7
7
|
function splitCanonicalWriteRequest(request) {
|
|
@@ -22,4 +22,4 @@ function splitCanonicalWriteRequest(request) {
|
|
|
22
22
|
export {
|
|
23
23
|
splitCanonicalWriteRequest
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-UMSH4I3E.js.map
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// src/extraction-window-drain.ts
|
|
2
|
+
function chunkExtractionWindow(turns, maxChars) {
|
|
3
|
+
if (turns.length === 0) return [];
|
|
4
|
+
const budget = Number.isFinite(maxChars) && maxChars > 0 ? Math.floor(maxChars) : Number.POSITIVE_INFINITY;
|
|
5
|
+
const chunks = [];
|
|
6
|
+
let current = [];
|
|
7
|
+
let currentChars = 0;
|
|
8
|
+
for (const turn of turns) {
|
|
9
|
+
const turnChars = turn.content.length;
|
|
10
|
+
if (current.length > 0 && currentChars + turnChars > budget) {
|
|
11
|
+
chunks.push(current);
|
|
12
|
+
current = [];
|
|
13
|
+
currentChars = 0;
|
|
14
|
+
}
|
|
15
|
+
current.push(turn);
|
|
16
|
+
currentChars += turnChars;
|
|
17
|
+
}
|
|
18
|
+
if (current.length > 0) chunks.push(current);
|
|
19
|
+
return chunks;
|
|
20
|
+
}
|
|
21
|
+
var DRAIN_DEFERRAL_REASONS = {
|
|
22
|
+
provider_circuit_open: true,
|
|
23
|
+
extraction_backoff: true
|
|
24
|
+
};
|
|
25
|
+
function classifyDrainResult(result) {
|
|
26
|
+
if (result.status !== "skipped") return "drained";
|
|
27
|
+
if (result.reason === "empty_extraction_result") {
|
|
28
|
+
return result.retainedBuffer === true ? "failed" : "drained";
|
|
29
|
+
}
|
|
30
|
+
if (result.reason !== void 0 && result.reason in DRAIN_DEFERRAL_REASONS) return "deferred";
|
|
31
|
+
return "drained";
|
|
32
|
+
}
|
|
33
|
+
function mergeDrainResults(previous, next) {
|
|
34
|
+
if (previous === null) return next;
|
|
35
|
+
const completed = previous.status === "completed" || next.status === "completed";
|
|
36
|
+
const merged = {
|
|
37
|
+
status: completed ? "completed" : "skipped",
|
|
38
|
+
persistedCount: previous.persistedCount + next.persistedCount,
|
|
39
|
+
durableOutputCount: previous.durableOutputCount + next.durableOutputCount
|
|
40
|
+
};
|
|
41
|
+
if (!completed) merged.reason = next.reason ?? previous.reason;
|
|
42
|
+
if (previous.postPersistMetadataFailed === true || next.postPersistMetadataFailed === true) {
|
|
43
|
+
merged.postPersistMetadataFailed = true;
|
|
44
|
+
}
|
|
45
|
+
return merged;
|
|
46
|
+
}
|
|
47
|
+
function extractionWindowBudgetChars(input) {
|
|
48
|
+
if (!input.registry || !input.localExtractionActive) return Number.POSITIVE_INFINITY;
|
|
49
|
+
return input.registry.calculateContextSizes(input.model, input.maxContext).maxInputChars;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export {
|
|
53
|
+
chunkExtractionWindow,
|
|
54
|
+
classifyDrainResult,
|
|
55
|
+
mergeDrainResults,
|
|
56
|
+
extractionWindowBudgetChars
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=chunk-VA3GNAWQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/extraction-window-drain.ts"],"sourcesContent":["/**\n * Trigger-drain helpers (extraction trigger stall fix).\n *\n * A session whose buffered window outgrows the extraction model's context\n * never drains: the trigger fires `extract_batch` on every observe, the\n * oversized request fails, nothing is cleared, and the window only grows.\n * These helpers split such a window into budget-fitting chunks and classify\n * each extraction run so the caller can drain successes, defer on breaker/\n * backoff retention, and drop repeatedly failing chunks.\n */\n\nimport type { ExtractionRunResult } from \"./orchestration/extraction-run.js\";\n\n/**\n * Split `turns` into chunks whose summed content length stays within\n * `maxChars`. Chunks keep turn order and never split a turn; a single turn\n * longer than the budget becomes its own chunk (the extraction prompt still\n * clamps per-turn content). A non-positive or non-finite budget, or an empty\n * window, yields at most one chunk (no chunking).\n */\nexport function chunkExtractionWindow<T extends { content: string }>(\n turns: readonly T[],\n maxChars: number,\n): T[][] {\n if (turns.length === 0) return [];\n const budget =\n Number.isFinite(maxChars) && maxChars > 0 ? Math.floor(maxChars) : Number.POSITIVE_INFINITY;\n const chunks: T[][] = [];\n let current: T[] = [];\n let currentChars = 0;\n for (const turn of turns) {\n const turnChars = turn.content.length;\n if (current.length > 0 && currentChars + turnChars > budget) {\n chunks.push(current);\n current = [];\n currentChars = 0;\n }\n current.push(turn);\n currentChars += turnChars;\n }\n if (current.length > 0) chunks.push(current);\n return chunks;\n}\n\nexport type DrainVerdict = \"drained\" | \"deferred\" | \"failed\";\n\n/**\n * Run results that deliberately RETAIN the buffer (provider breaker open,\n * per-fingerprint backoff) are deferrals, not chunk failures — counting them\n * would drop good content during a provider outage.\n */\nconst DRAIN_DEFERRAL_REASONS = {\n provider_circuit_open: true,\n extraction_backoff: true,\n};\n\nexport function classifyDrainResult(result: ExtractionRunResult): DrainVerdict {\n if (result.status !== \"skipped\") return \"drained\";\n // An empty result is a failure only when the run kept the window for retry;\n // otherwise it extracted fine, found nothing durable, and cleared its turns.\n if (result.reason === \"empty_extraction_result\") {\n return result.retainedBuffer === true ? \"failed\" : \"drained\";\n }\n if (result.reason !== undefined && result.reason in DRAIN_DEFERRAL_REASONS) return \"deferred\";\n return \"drained\";\n}\n\n/**\n * Combine chunk results into the single `ExtractionRunResult` the queue\n * contract settles with: counts sum, any completed chunk completes the drain,\n * and the last non-completed reason wins.\n */\nexport function mergeDrainResults(\n previous: ExtractionRunResult | null,\n next: ExtractionRunResult,\n): ExtractionRunResult {\n if (previous === null) return next;\n const completed = previous.status === \"completed\" || next.status === \"completed\";\n const merged: ExtractionRunResult = {\n status: completed ? \"completed\" : \"skipped\",\n persistedCount: previous.persistedCount + next.persistedCount,\n durableOutputCount: previous.durableOutputCount + next.durableOutputCount,\n };\n if (!completed) merged.reason = next.reason ?? previous.reason;\n if (previous.postPersistMetadataFailed === true || next.postPersistMetadataFailed === true) {\n merged.postPersistMetadataFailed = true;\n }\n return merged;\n}\n\n/** The slice of ModelRegistry the drain budget needs. */\nexport interface WindowBudgetRegistry {\n calculateContextSizes(modelId: string, maxContextOverride?: number): { maxInputChars: number };\n}\n\n/**\n * Character budget for one extraction request. The learned local-model window\n * only describes the extractor when the local LLM does the extracting; with a\n * gateway extractor, a disabled local LLM, or no registry (legacy hosts, test\n * doubles) there is no budget and the window runs in one request as before.\n */\nexport function extractionWindowBudgetChars(input: {\n registry: WindowBudgetRegistry | undefined;\n localExtractionActive: boolean;\n model: string;\n maxContext: number | undefined;\n}): number {\n if (!input.registry || !input.localExtractionActive) return Number.POSITIVE_INFINITY;\n return input.registry.calculateContextSizes(input.model, input.maxContext).maxInputChars;\n}\n"],"mappings":";AAoBO,SAAS,sBACd,OACA,UACO;AACP,MAAI,MAAM,WAAW,EAAG,QAAO,CAAC;AAChC,QAAM,SACJ,OAAO,SAAS,QAAQ,KAAK,WAAW,IAAI,KAAK,MAAM,QAAQ,IAAI,OAAO;AAC5E,QAAM,SAAgB,CAAC;AACvB,MAAI,UAAe,CAAC;AACpB,MAAI,eAAe;AACnB,aAAW,QAAQ,OAAO;AACxB,UAAM,YAAY,KAAK,QAAQ;AAC/B,QAAI,QAAQ,SAAS,KAAK,eAAe,YAAY,QAAQ;AAC3D,aAAO,KAAK,OAAO;AACnB,gBAAU,CAAC;AACX,qBAAe;AAAA,IACjB;AACA,YAAQ,KAAK,IAAI;AACjB,oBAAgB;AAAA,EAClB;AACA,MAAI,QAAQ,SAAS,EAAG,QAAO,KAAK,OAAO;AAC3C,SAAO;AACT;AASA,IAAM,yBAAyB;AAAA,EAC7B,uBAAuB;AAAA,EACvB,oBAAoB;AACtB;AAEO,SAAS,oBAAoB,QAA2C;AAC7E,MAAI,OAAO,WAAW,UAAW,QAAO;AAGxC,MAAI,OAAO,WAAW,2BAA2B;AAC/C,WAAO,OAAO,mBAAmB,OAAO,WAAW;AAAA,EACrD;AACA,MAAI,OAAO,WAAW,UAAa,OAAO,UAAU,uBAAwB,QAAO;AACnF,SAAO;AACT;AAOO,SAAS,kBACd,UACA,MACqB;AACrB,MAAI,aAAa,KAAM,QAAO;AAC9B,QAAM,YAAY,SAAS,WAAW,eAAe,KAAK,WAAW;AACrE,QAAM,SAA8B;AAAA,IAClC,QAAQ,YAAY,cAAc;AAAA,IAClC,gBAAgB,SAAS,iBAAiB,KAAK;AAAA,IAC/C,oBAAoB,SAAS,qBAAqB,KAAK;AAAA,EACzD;AACA,MAAI,CAAC,UAAW,QAAO,SAAS,KAAK,UAAU,SAAS;AACxD,MAAI,SAAS,8BAA8B,QAAQ,KAAK,8BAA8B,MAAM;AAC1F,WAAO,4BAA4B;AAAA,EACrC;AACA,SAAO;AACT;AAaO,SAAS,4BAA4B,OAKjC;AACT,MAAI,CAAC,MAAM,YAAY,CAAC,MAAM,sBAAuB,QAAO,OAAO;AACnE,SAAO,MAAM,SAAS,sBAAsB,MAAM,OAAO,MAAM,UAAU,EAAE;AAC7E;","names":[]}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-TOTT6S2V.js";
|
|
4
4
|
import {
|
|
5
5
|
isRecallDisclosure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PARM6OYL.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeRetrievedMemoryProvenance
|
|
9
9
|
} from "./chunk-I4WBNM3M.js";
|
|
@@ -312,4 +312,4 @@ export {
|
|
|
312
312
|
RecallXrayBuilder,
|
|
313
313
|
summarizeDisclosureTokens
|
|
314
314
|
};
|
|
315
|
-
//# sourceMappingURL=chunk-
|
|
315
|
+
//# sourceMappingURL=chunk-VHBGJAYC.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-FEHIOYML.js";
|
|
8
8
|
import {
|
|
9
9
|
composeMemoryEnvelope
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TWRPWJJT.js";
|
|
11
11
|
import {
|
|
12
12
|
displayErrorDetail
|
|
13
13
|
} from "./chunk-RL6NEVXT.js";
|
|
@@ -1463,4 +1463,4 @@ export {
|
|
|
1463
1463
|
serializeDecisionRecord,
|
|
1464
1464
|
parseDecisionRecord
|
|
1465
1465
|
};
|
|
1466
|
-
//# sourceMappingURL=chunk-
|
|
1466
|
+
//# sourceMappingURL=chunk-VSHWPOUB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listNamespaces
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GAUS4XGN.js";
|
|
4
4
|
import {
|
|
5
5
|
capabilityAllowsNamespace
|
|
6
6
|
} from "./chunk-IG747LRN.js";
|
|
@@ -282,4 +282,4 @@ export {
|
|
|
282
282
|
computeServiceCorpusWatermarks,
|
|
283
283
|
computeServiceCorpusCensus
|
|
284
284
|
};
|
|
285
|
-
//# sourceMappingURL=chunk-
|
|
285
|
+
//# sourceMappingURL=chunk-VTZSIG6O.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
SecureStoreLockedError,
|
|
10
10
|
readMaybeEncryptedFile,
|
|
11
11
|
writeMaybeEncryptedFile
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EYGOM6AI.js";
|
|
13
13
|
import {
|
|
14
14
|
isErrnoCode
|
|
15
15
|
} from "./chunk-KNA3BXXL.js";
|
|
@@ -577,4 +577,4 @@ export {
|
|
|
577
577
|
FactHashIndexNotAuthoritativeError,
|
|
578
578
|
ContentHashIndex
|
|
579
579
|
};
|
|
580
|
-
//# sourceMappingURL=chunk-
|
|
580
|
+
//# sourceMappingURL=chunk-W5EO4USJ.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LcmDag
|
|
3
|
+
} from "./chunk-7N4KAIGN.js";
|
|
1
4
|
import {
|
|
2
5
|
LcmWorkQueue
|
|
3
6
|
} from "./chunk-MMCO4SRG.js";
|
|
@@ -14,9 +17,6 @@ import {
|
|
|
14
17
|
import {
|
|
15
18
|
LcmArchive
|
|
16
19
|
} from "./chunk-WVP2I6C5.js";
|
|
17
|
-
import {
|
|
18
|
-
LcmDag
|
|
19
|
-
} from "./chunk-7N4KAIGN.js";
|
|
20
20
|
import {
|
|
21
21
|
nativeBindingRecoveryHint
|
|
22
22
|
} from "./chunk-LD72P4YS.js";
|
|
@@ -602,4 +602,4 @@ export {
|
|
|
602
602
|
extractLcmConfig,
|
|
603
603
|
LcmEngine
|
|
604
604
|
};
|
|
605
|
-
//# sourceMappingURL=chunk-
|
|
605
|
+
//# sourceMappingURL=chunk-WCGJK4NQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SupportPassportCreateGrantRequestSchema,
|
|
3
3
|
defineOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QFD7OANX.js";
|
|
5
5
|
import {
|
|
6
6
|
SupportPassportCardCategorySchema,
|
|
7
7
|
SupportPassportMemoryIdSchema,
|
|
@@ -220,4 +220,4 @@ var supportPassportGrantAskOperation = defineOperation({
|
|
|
220
220
|
result: await ctx.service.supportPassportAskGrant(grantId, secret, question, ctx.abortSignal)
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-WJMAWDAU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
composeMemoryEnvelope
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TWRPWJJT.js";
|
|
4
4
|
import {
|
|
5
5
|
log
|
|
6
6
|
} from "./chunk-3WCASNQZ.js";
|
|
@@ -17,4 +17,4 @@ function composeSalvagedEnvelope(label, input, ctx) {
|
|
|
17
17
|
export {
|
|
18
18
|
composeSalvagedEnvelope
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-WR5POHQ3.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
TAG_LIMITS,
|
|
7
7
|
composeMemoryEnvelope
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TWRPWJJT.js";
|
|
9
9
|
import {
|
|
10
10
|
isTombstoneBlockedCaptureWriteLockBusy
|
|
11
11
|
} from "./chunk-YET735EZ.js";
|
|
@@ -789,4 +789,4 @@ export {
|
|
|
789
789
|
shouldProcessInlineExplicitCapture,
|
|
790
790
|
InlineExplicitCaptureProcessor
|
|
791
791
|
};
|
|
792
|
-
//# sourceMappingURL=chunk-
|
|
792
|
+
//# sourceMappingURL=chunk-WU5WTCH5.js.map
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ActivationPathTracker,
|
|
3
|
+
compareActivationPathCandidates,
|
|
4
|
+
reconstructActivationPath
|
|
5
|
+
} from "./chunk-LXY5VVGM.js";
|
|
1
6
|
import {
|
|
2
7
|
assertGraphLockHeld,
|
|
3
8
|
withGraphWriteLock,
|
|
@@ -12,11 +17,6 @@ import {
|
|
|
12
17
|
import {
|
|
13
18
|
emitGraphEvent
|
|
14
19
|
} from "./chunk-DEUNUKTD.js";
|
|
15
|
-
import {
|
|
16
|
-
ActivationPathTracker,
|
|
17
|
-
compareActivationPathCandidates,
|
|
18
|
-
reconstructActivationPath
|
|
19
|
-
} from "./chunk-LXY5VVGM.js";
|
|
20
20
|
import {
|
|
21
21
|
isErrnoCode
|
|
22
22
|
} from "./chunk-KNA3BXXL.js";
|
|
@@ -758,4 +758,4 @@ export {
|
|
|
758
758
|
applyPageRankRefinement,
|
|
759
759
|
applyLateralInhibition
|
|
760
760
|
};
|
|
761
|
-
//# sourceMappingURL=chunk-
|
|
761
|
+
//# sourceMappingURL=chunk-WUBGMV3G.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-SOBJ6NEY.js";
|
|
4
4
|
import {
|
|
5
5
|
summarizeDisclosureTokens
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VHBGJAYC.js";
|
|
7
7
|
import {
|
|
8
8
|
summarizeRetrievedMemoryProvenance
|
|
9
9
|
} from "./chunk-I4WBNM3M.js";
|
|
@@ -620,4 +620,4 @@ export {
|
|
|
620
620
|
renderRecallExplain,
|
|
621
621
|
parseRecallExplainFormat
|
|
622
622
|
};
|
|
623
|
-
//# sourceMappingURL=chunk-
|
|
623
|
+
//# sourceMappingURL=chunk-WUL6LDJ4.js.map
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PROJECTION_REBUILD_RUNNER_FLAG
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UKIIAEJF.js";
|
|
4
|
+
import {
|
|
5
|
+
startLocationAutoSync
|
|
6
|
+
} from "./chunk-5TRU6QQC.js";
|
|
4
7
|
import {
|
|
5
8
|
ensureContradictionScanCron,
|
|
6
9
|
ensureDaySummaryCron,
|
|
@@ -10,25 +13,22 @@ import {
|
|
|
10
13
|
ensureProceduralMiningCron,
|
|
11
14
|
graphEdgeDecayCadenceToCronExpr
|
|
12
15
|
} from "./chunk-666A3MOW.js";
|
|
13
|
-
import {
|
|
14
|
-
startLocationAutoSync
|
|
15
|
-
} from "./chunk-53BLBDV6.js";
|
|
16
16
|
import {
|
|
17
17
|
CompoundingEngine,
|
|
18
18
|
isIsoWeekId,
|
|
19
19
|
msUntilNextIsoWeek,
|
|
20
20
|
previousIsoWeekId
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GZMHBRIR.js";
|
|
22
22
|
import {
|
|
23
23
|
rebuildMemoryLifecycleLedger
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ICTJOOWZ.js";
|
|
25
25
|
import {
|
|
26
26
|
planNamespaceMaintenance,
|
|
27
27
|
runNamespaceMaintenanceBatchPlan
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LWIU5BMA.js";
|
|
29
29
|
import {
|
|
30
30
|
rebuildMemoryProjection
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-Q77SLBWT.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_TIMELINE_CATEGORIES,
|
|
34
34
|
TIMELINE_RESERVED_IDLE,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./chunk-EWMRFW3F.js";
|
|
46
46
|
import {
|
|
47
47
|
LocalLlmClient
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-JNLYHJG7.js";
|
|
49
49
|
import {
|
|
50
50
|
FallbackLlmClient
|
|
51
51
|
} from "./chunk-AVVCPA7U.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
drainPendingLifecycleLedgerIfAny,
|
|
68
68
|
pendingLifecycleLedgerDir,
|
|
69
69
|
readProjectionRebuiltAt
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-QIMGULGN.js";
|
|
71
71
|
import {
|
|
72
72
|
displayErrorDetail,
|
|
73
73
|
openBetterSqlite3
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
import {
|
|
95
95
|
SECURE_STORE_ENVELOPE_OVERHEAD_BYTES,
|
|
96
96
|
probeEncryptedRegularFileHeader
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-EYGOM6AI.js";
|
|
98
98
|
import {
|
|
99
99
|
assertPathInsideRoot,
|
|
100
100
|
listContainedSpillFiles
|
|
@@ -2793,4 +2793,4 @@ export {
|
|
|
2793
2793
|
ActivitySyncScheduler,
|
|
2794
2794
|
MaintenanceScheduler
|
|
2795
2795
|
};
|
|
2796
|
-
//# sourceMappingURL=chunk-
|
|
2796
|
+
//# sourceMappingURL=chunk-XBHUMPIQ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
computeCorpusWatermarks,
|
|
6
6
|
resolveCorpusNamespaceRoots
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VTZSIG6O.js";
|
|
8
8
|
|
|
9
9
|
// src/operator-doctor-corpus.ts
|
|
10
10
|
var DIGEST_PREFIX_LENGTH = 12;
|
|
@@ -78,4 +78,4 @@ export {
|
|
|
78
78
|
corpusWatermarksFromCheck,
|
|
79
79
|
summarizeCorpusAndReplica
|
|
80
80
|
};
|
|
81
|
-
//# sourceMappingURL=chunk-
|
|
81
|
+
//# sourceMappingURL=chunk-XJ77IOAD.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
embeddingGenerationMembership,
|
|
6
6
|
embeddingShardDirOf,
|
|
7
7
|
isEmbeddingGenerationDirPath
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
resolveSafeArchiveTarget
|
|
11
|
-
} from "./chunk-GCGJW34D.js";
|
|
8
|
+
} from "./chunk-OXSTKCYK.js";
|
|
12
9
|
import {
|
|
13
10
|
EMBEDDING_SHARD_FILE_PATTERN
|
|
14
11
|
} from "./chunk-LDWE7OZS.js";
|
|
12
|
+
import {
|
|
13
|
+
resolveSafeArchiveTarget
|
|
14
|
+
} from "./chunk-GCGJW34D.js";
|
|
15
15
|
import {
|
|
16
16
|
EmbeddingIndexStorageError
|
|
17
17
|
} from "./chunk-Y57GJDG5.js";
|
|
@@ -369,4 +369,4 @@ export {
|
|
|
369
369
|
applyChangesetEmbeddingGenerations,
|
|
370
370
|
buildChangesetGenerationManifest
|
|
371
371
|
};
|
|
372
|
-
//# sourceMappingURL=chunk-
|
|
372
|
+
//# sourceMappingURL=chunk-XKTHJHSQ.js.map
|