@remnic/core 10.0.76 → 10.0.78
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 +27 -27
- package/dist/access-authorization-probe.js +28 -28
- package/dist/access-boundary.js +27 -27
- package/dist/access-cli.js +78 -77
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.js +27 -27
- package/dist/access-http-briefing.js +28 -28
- package/dist/access-http-query.js +29 -29
- package/dist/access-http.js +45 -45
- package/dist/access-identity-continuity-surface.js +27 -27
- package/dist/access-lcm-surface.js +27 -27
- package/dist/access-mcp.js +37 -37
- package/dist/access-namespace-preflight.js +27 -27
- 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 +5 -5
- package/dist/access-observe-write-surface.js +27 -27
- package/dist/access-operations-batch.js +29 -29
- package/dist/access-operations.js +36 -36
- package/dist/access-recall-concurrency.js +27 -27
- package/dist/access-recall-response.js +27 -27
- package/dist/access-recall-surface.js +27 -27
- package/dist/access-schema.js +4 -4
- package/dist/access-service.js +27 -27
- package/dist/access-surface-catalog.js +29 -29
- package/dist/active-recall.js +7 -7
- package/dist/briefing.js +8 -8
- package/dist/calibration.js +1 -1
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/causal-consolidation.js +9 -9
- package/dist/{chunk-Z3CKK5RR.js → chunk-2XG7QECM.js} +3 -3
- package/dist/{chunk-BZTA7DR4.js → chunk-35RSL5B4.js} +3 -3
- package/dist/{chunk-3GGCMRO7.js → chunk-3RYP4OTZ.js} +2 -2
- package/dist/{chunk-VEQVXNWR.js → chunk-446H5UUO.js} +4 -4
- package/dist/{chunk-XC7OYOQC.js → chunk-4BCX6YLW.js} +2 -2
- package/dist/{chunk-RXGFITWS.js → chunk-4HLPFYF2.js} +7 -7
- package/dist/{chunk-WIAXVBQH.js → chunk-65SKM4BF.js} +2 -2
- package/dist/{chunk-VEWTHVX2.js → chunk-6HERQLF4.js} +2 -2
- package/dist/{chunk-4DLZ2ITE.js → chunk-6OGFQ5GH.js} +2 -2
- package/dist/{chunk-C44DRDZM.js → chunk-6WULHFNJ.js} +2 -2
- package/dist/{chunk-IVXOYE43.js → chunk-7IQ5HYBJ.js} +2 -2
- package/dist/{chunk-SZBZOUHR.js → chunk-A45ZOJV4.js} +2 -2
- package/dist/chunk-ADJXJKU6.js +74 -0
- package/dist/chunk-ADJXJKU6.js.map +1 -0
- package/dist/{chunk-DANFOVQG.js → chunk-B7PLF3HW.js} +2 -2
- package/dist/{chunk-PBE7NFB5.js → chunk-BNQJKWWZ.js} +4 -4
- package/dist/{chunk-AY2UK5XK.js → chunk-BSBGI4BD.js} +2 -2
- package/dist/{chunk-AY2UK5XK.js.map → chunk-BSBGI4BD.js.map} +1 -1
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-IPHIIRDN.js → chunk-CYTTY4M2.js} +5 -7
- package/dist/chunk-CYTTY4M2.js.map +1 -0
- package/dist/{chunk-R24RYSQX.js → chunk-CZD654DQ.js} +22 -22
- package/dist/{chunk-MBENRPMY.js → chunk-D3WNJF7D.js} +12 -12
- package/dist/{chunk-5IQL4N37.js → chunk-D4WBMLPD.js} +2 -2
- package/dist/{chunk-FYQUUIPI.js → chunk-DLZGSZVC.js} +4 -4
- package/dist/{chunk-YK6SFDP2.js → chunk-DOJBV6WR.js} +4 -4
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/{chunk-FETPTCQZ.js → chunk-E33UJHY3.js} +2 -2
- package/dist/{chunk-LJUQPT5G.js → chunk-EFRMEOZQ.js} +3 -3
- package/dist/{chunk-HTDXNIO6.js → chunk-HK3CUTAG.js} +2 -2
- package/dist/{chunk-FGUWCE5I.js → chunk-HUF4S4MY.js} +2 -2
- package/dist/{chunk-6Q6AQ36B.js → chunk-HWHNQVRV.js} +2 -2
- package/dist/{chunk-SYDPJUFR.js → chunk-IDGCL5OP.js} +2 -2
- package/dist/{chunk-F3FNXE7C.js → chunk-JHJP2IAU.js} +3 -3
- package/dist/{chunk-IBQ7LGUJ.js → chunk-JIGHVQF6.js} +6 -6
- package/dist/{chunk-P7HNMNN2.js → chunk-K4SVTZWP.js} +7 -7
- package/dist/{chunk-KAED7IBB.js → chunk-KDWO22ZK.js} +2 -2
- package/dist/{chunk-N6GEGRCT.js → chunk-KYVBGDGA.js} +2 -2
- package/dist/{chunk-HB5TNQMM.js → chunk-L7BOS7KV.js} +2 -2
- package/dist/{chunk-3MBSD53O.js → chunk-LE4MQ2WF.js} +2 -2
- package/dist/{chunk-I4LJJ44E.js → chunk-LNHBYT3F.js} +2 -2
- package/dist/{chunk-SHVLNI4L.js → chunk-LU66I56Q.js} +2 -2
- package/dist/{chunk-TD5VTVPT.js → chunk-N2H6VC65.js} +3 -3
- package/dist/{chunk-L4QYW2HO.js → chunk-NBFHOQIO.js} +2 -2
- package/dist/{chunk-KNZDGZSY.js → chunk-NVYY2TJG.js} +2 -2
- package/dist/{chunk-7FFGWIBN.js → chunk-PCSQRQPJ.js} +2 -2
- package/dist/{chunk-P3AQ2YSX.js → chunk-PFUXPTBT.js} +4 -4
- package/dist/{chunk-KQAFEZQX.js → chunk-R45L4TV6.js} +6 -6
- package/dist/{chunk-E22CQZ3H.js → chunk-R63X5BQA.js} +12 -12
- package/dist/{chunk-PLGBPFEO.js → chunk-RF7QJ736.js} +2 -2
- package/dist/{chunk-ZZSFRWKD.js → chunk-RIBCP4DJ.js} +2 -2
- package/dist/{chunk-HDN7IVIO.js → chunk-RIZ5NUNN.js} +16 -62
- package/dist/chunk-RIZ5NUNN.js.map +1 -0
- package/dist/{chunk-HR6NTVYZ.js → chunk-S34XZUTY.js} +172 -39
- package/dist/chunk-S34XZUTY.js.map +1 -0
- package/dist/{chunk-DEGE32C3.js → chunk-SLORPQZT.js} +2 -2
- package/dist/{chunk-6RPPZL7W.js → chunk-SMSJOWVE.js} +2 -2
- package/dist/{chunk-X53HJENJ.js → chunk-SPYFXSFZ.js} +2 -2
- package/dist/{chunk-IRFQKR4Y.js → chunk-SW6OAWK7.js} +2 -2
- package/dist/{chunk-VPEMGBTI.js → chunk-SZEPOUW2.js} +2 -2
- package/dist/{chunk-COIQ5N4J.js → chunk-TSITK6QK.js} +2 -2
- package/dist/{chunk-HCFNZWFB.js → chunk-VBNXDC7P.js} +2 -2
- package/dist/{chunk-FP2AT4WL.js → chunk-VJ3HFCG2.js} +2 -2
- package/dist/{chunk-OBQ2NZAR.js → chunk-VKDAJJQP.js} +4 -4
- package/dist/{chunk-HZNURRDS.js → chunk-VUROWXFL.js} +2 -2
- package/dist/{chunk-G5NH3SSX.js → chunk-X3KFSJLQ.js} +2 -2
- package/dist/{chunk-GCJA5KKT.js → chunk-XBNO56HC.js} +2 -2
- package/dist/{chunk-GWOFCHPN.js → chunk-YGECOOTF.js} +2 -2
- package/dist/{chunk-2R7OCBRR.js → chunk-YK7GOPIE.js} +2 -2
- package/dist/{chunk-ELUG6NKQ.js → chunk-YSA4CYTK.js} +2 -2
- package/dist/{chunk-233S3MXC.js → chunk-YXUNSOHD.js} +3 -3
- package/dist/{chunk-SY4AFWUZ.js → chunk-Z3O7ZOCC.js} +30 -30
- package/dist/{chunk-ZG57BEUS.js → chunk-ZAU2OPDW.js} +2 -2
- package/dist/cli.js +63 -62
- package/dist/coding/export-okf-codegraph.js +7 -7
- package/dist/compounding/engine.js +9 -9
- package/dist/config.js +7 -7
- package/dist/connectors/codex-materialize-runner.js +8 -8
- package/dist/connectors/index.js +8 -8
- package/dist/convergence-refresh.js +10 -10
- package/dist/corpus-watermark.js +10 -10
- package/dist/deep-recall-http-glue.js +5 -5
- package/dist/entity-retrieval.js +8 -8
- package/dist/external-wiki-access.js +28 -28
- package/dist/extraction.js +10 -10
- package/dist/harmonic-retrieval.js +8 -8
- package/dist/index.js +86 -85
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.js +5 -5
- package/dist/local-llm.js +1 -1
- package/dist/location/index.js +10 -10
- package/dist/maintenance/memory-governance.js +8 -8
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +8 -8
- package/dist/maintenance/rebuild-memory-projection-runner.js +10 -10
- package/dist/maintenance/rebuild-memory-projection.js +9 -9
- package/dist/memory-browse-operations.js +28 -28
- package/dist/namespaces/migrate.js +9 -9
- package/dist/namespaces/search.js +6 -6
- package/dist/namespaces/storage.js +8 -8
- package/dist/operator-doctor-corpus.js +11 -11
- package/dist/operator-toolkit.js +16 -16
- package/dist/orchestration/backlog-scheduler.js +79 -78
- package/dist/orchestration/backlog-scheduler.js.map +1 -1
- package/dist/orchestration/buffer-drain-runner.js +79 -78
- package/dist/orchestration/extraction-queue-snapshot-sharing.d.ts +113 -0
- package/dist/orchestration/extraction-queue-snapshot-sharing.d.ts.map +1 -0
- package/dist/orchestration/maintenance.js +19 -19
- package/dist/orchestration/turn-ingestion.d.ts +3 -0
- package/dist/orchestration/turn-ingestion.d.ts.map +1 -1
- package/dist/orchestrator.js +78 -77
- package/dist/recall-navigation-operations.js +28 -28
- package/dist/recall-navigation.js +27 -27
- package/dist/resume-bundles.js +10 -9
- package/dist/search/factory.js +5 -5
- package/dist/search/index.js +5 -5
- 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 +9 -9
- package/dist/semantic-rule-promotion.js +8 -8
- package/dist/semantic-rule-verifier.js +8 -8
- package/dist/source-agent-qualifier.js +8 -8
- package/dist/standup/build.js +8 -8
- package/dist/storage.js +7 -7
- package/dist/summarizer.js +2 -2
- package/dist/support-passport/index.js +30 -30
- package/dist/transcript-ownership-digest.d.ts +31 -0
- package/dist/transcript-ownership-digest.d.ts.map +1 -0
- package/dist/transcript-ownership-digest.js +10 -0
- package/dist/transcript-ownership-digest.js.map +1 -0
- package/dist/transcript.d.ts +2 -5
- package/dist/transcript.d.ts.map +1 -1
- package/dist/transcript.js +2 -1
- package/dist/transfer/autodetect.js +1 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +3 -3
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/export-okf.js +8 -8
- package/dist/verified-recall.js +8 -8
- package/dist/who-knows-cli.js +9 -9
- package/dist/who-knows.js +8 -8
- package/package.json +2 -2
- package/src/access-observe-helpers.test.ts +156 -0
- package/src/access-observe-helpers.ts +6 -6
- package/src/local-llm-qos.test.ts +59 -0
- package/src/local-llm.ts +1 -1
- package/src/orchestration/extraction-queue-bounded-retention.test.ts +548 -0
- package/src/orchestration/extraction-queue-snapshot-sharing.ts +257 -0
- package/src/orchestration/turn-ingestion.ts +19 -6
- package/src/transcript-ownership-digest.test.ts +403 -0
- package/src/transcript-ownership-digest.ts +99 -0
- package/src/transcript.ts +14 -76
- package/dist/chunk-HDN7IVIO.js.map +0 -1
- package/dist/chunk-HR6NTVYZ.js.map +0 -1
- package/dist/chunk-IPHIIRDN.js.map +0 -1
- /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{chunk-Z3CKK5RR.js.map → chunk-2XG7QECM.js.map} +0 -0
- /package/dist/{chunk-BZTA7DR4.js.map → chunk-35RSL5B4.js.map} +0 -0
- /package/dist/{chunk-3GGCMRO7.js.map → chunk-3RYP4OTZ.js.map} +0 -0
- /package/dist/{chunk-VEQVXNWR.js.map → chunk-446H5UUO.js.map} +0 -0
- /package/dist/{chunk-XC7OYOQC.js.map → chunk-4BCX6YLW.js.map} +0 -0
- /package/dist/{chunk-RXGFITWS.js.map → chunk-4HLPFYF2.js.map} +0 -0
- /package/dist/{chunk-WIAXVBQH.js.map → chunk-65SKM4BF.js.map} +0 -0
- /package/dist/{chunk-VEWTHVX2.js.map → chunk-6HERQLF4.js.map} +0 -0
- /package/dist/{chunk-4DLZ2ITE.js.map → chunk-6OGFQ5GH.js.map} +0 -0
- /package/dist/{chunk-C44DRDZM.js.map → chunk-6WULHFNJ.js.map} +0 -0
- /package/dist/{chunk-IVXOYE43.js.map → chunk-7IQ5HYBJ.js.map} +0 -0
- /package/dist/{chunk-SZBZOUHR.js.map → chunk-A45ZOJV4.js.map} +0 -0
- /package/dist/{chunk-DANFOVQG.js.map → chunk-B7PLF3HW.js.map} +0 -0
- /package/dist/{chunk-PBE7NFB5.js.map → chunk-BNQJKWWZ.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-R24RYSQX.js.map → chunk-CZD654DQ.js.map} +0 -0
- /package/dist/{chunk-MBENRPMY.js.map → chunk-D3WNJF7D.js.map} +0 -0
- /package/dist/{chunk-5IQL4N37.js.map → chunk-D4WBMLPD.js.map} +0 -0
- /package/dist/{chunk-FYQUUIPI.js.map → chunk-DLZGSZVC.js.map} +0 -0
- /package/dist/{chunk-YK6SFDP2.js.map → chunk-DOJBV6WR.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-FETPTCQZ.js.map → chunk-E33UJHY3.js.map} +0 -0
- /package/dist/{chunk-LJUQPT5G.js.map → chunk-EFRMEOZQ.js.map} +0 -0
- /package/dist/{chunk-HTDXNIO6.js.map → chunk-HK3CUTAG.js.map} +0 -0
- /package/dist/{chunk-FGUWCE5I.js.map → chunk-HUF4S4MY.js.map} +0 -0
- /package/dist/{chunk-6Q6AQ36B.js.map → chunk-HWHNQVRV.js.map} +0 -0
- /package/dist/{chunk-SYDPJUFR.js.map → chunk-IDGCL5OP.js.map} +0 -0
- /package/dist/{chunk-F3FNXE7C.js.map → chunk-JHJP2IAU.js.map} +0 -0
- /package/dist/{chunk-IBQ7LGUJ.js.map → chunk-JIGHVQF6.js.map} +0 -0
- /package/dist/{chunk-P7HNMNN2.js.map → chunk-K4SVTZWP.js.map} +0 -0
- /package/dist/{chunk-KAED7IBB.js.map → chunk-KDWO22ZK.js.map} +0 -0
- /package/dist/{chunk-N6GEGRCT.js.map → chunk-KYVBGDGA.js.map} +0 -0
- /package/dist/{chunk-HB5TNQMM.js.map → chunk-L7BOS7KV.js.map} +0 -0
- /package/dist/{chunk-3MBSD53O.js.map → chunk-LE4MQ2WF.js.map} +0 -0
- /package/dist/{chunk-I4LJJ44E.js.map → chunk-LNHBYT3F.js.map} +0 -0
- /package/dist/{chunk-SHVLNI4L.js.map → chunk-LU66I56Q.js.map} +0 -0
- /package/dist/{chunk-TD5VTVPT.js.map → chunk-N2H6VC65.js.map} +0 -0
- /package/dist/{chunk-L4QYW2HO.js.map → chunk-NBFHOQIO.js.map} +0 -0
- /package/dist/{chunk-KNZDGZSY.js.map → chunk-NVYY2TJG.js.map} +0 -0
- /package/dist/{chunk-7FFGWIBN.js.map → chunk-PCSQRQPJ.js.map} +0 -0
- /package/dist/{chunk-P3AQ2YSX.js.map → chunk-PFUXPTBT.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-R45L4TV6.js.map} +0 -0
- /package/dist/{chunk-E22CQZ3H.js.map → chunk-R63X5BQA.js.map} +0 -0
- /package/dist/{chunk-PLGBPFEO.js.map → chunk-RF7QJ736.js.map} +0 -0
- /package/dist/{chunk-ZZSFRWKD.js.map → chunk-RIBCP4DJ.js.map} +0 -0
- /package/dist/{chunk-DEGE32C3.js.map → chunk-SLORPQZT.js.map} +0 -0
- /package/dist/{chunk-6RPPZL7W.js.map → chunk-SMSJOWVE.js.map} +0 -0
- /package/dist/{chunk-X53HJENJ.js.map → chunk-SPYFXSFZ.js.map} +0 -0
- /package/dist/{chunk-IRFQKR4Y.js.map → chunk-SW6OAWK7.js.map} +0 -0
- /package/dist/{chunk-VPEMGBTI.js.map → chunk-SZEPOUW2.js.map} +0 -0
- /package/dist/{chunk-COIQ5N4J.js.map → chunk-TSITK6QK.js.map} +0 -0
- /package/dist/{chunk-HCFNZWFB.js.map → chunk-VBNXDC7P.js.map} +0 -0
- /package/dist/{chunk-FP2AT4WL.js.map → chunk-VJ3HFCG2.js.map} +0 -0
- /package/dist/{chunk-OBQ2NZAR.js.map → chunk-VKDAJJQP.js.map} +0 -0
- /package/dist/{chunk-HZNURRDS.js.map → chunk-VUROWXFL.js.map} +0 -0
- /package/dist/{chunk-G5NH3SSX.js.map → chunk-X3KFSJLQ.js.map} +0 -0
- /package/dist/{chunk-GCJA5KKT.js.map → chunk-XBNO56HC.js.map} +0 -0
- /package/dist/{chunk-GWOFCHPN.js.map → chunk-YGECOOTF.js.map} +0 -0
- /package/dist/{chunk-2R7OCBRR.js.map → chunk-YK7GOPIE.js.map} +0 -0
- /package/dist/{chunk-ELUG6NKQ.js.map → chunk-YSA4CYTK.js.map} +0 -0
- /package/dist/{chunk-233S3MXC.js.map → chunk-YXUNSOHD.js.map} +0 -0
- /package/dist/{chunk-SY4AFWUZ.js.map → chunk-Z3O7ZOCC.js.map} +0 -0
- /package/dist/{chunk-ZG57BEUS.js.map → chunk-ZAU2OPDW.js.map} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ActivityStore,
|
|
15
15
|
MaintenanceScheduler
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-D3WNJF7D.js";
|
|
17
17
|
import {
|
|
18
18
|
runPeerProfileReasoner
|
|
19
19
|
} from "./chunk-I74SUMNI.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-VZAKYDMJ.js";
|
|
23
23
|
import {
|
|
24
24
|
LcmEngine
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BNQJKWWZ.js";
|
|
26
26
|
import {
|
|
27
27
|
chunkTranscriptEntries
|
|
28
28
|
} from "./chunk-TECVW3JP.js";
|
|
@@ -32,18 +32,18 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
CompoundingEngine,
|
|
34
34
|
defaultTierMigrationCycleBudget
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-EFRMEOZQ.js";
|
|
36
36
|
import {
|
|
37
37
|
SharedContextManager
|
|
38
38
|
} from "./chunk-5KBIOI4G.js";
|
|
39
|
-
import {
|
|
40
|
-
cleanArchivedUserMessage
|
|
41
|
-
} from "./chunk-47DU4SGJ.js";
|
|
42
39
|
import {
|
|
43
40
|
applyUtilityPromotionRuntimePolicy,
|
|
44
41
|
applyUtilityRankingRuntimeDelta,
|
|
45
42
|
loadUtilityRuntimeValues
|
|
46
43
|
} from "./chunk-3Q3XD3NO.js";
|
|
44
|
+
import {
|
|
45
|
+
cleanArchivedUserMessage
|
|
46
|
+
} from "./chunk-47DU4SGJ.js";
|
|
47
47
|
import {
|
|
48
48
|
decideTierTransition
|
|
49
49
|
} from "./chunk-GCBIXUPT.js";
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
} from "./chunk-LZIOY7ZU.js";
|
|
180
180
|
import {
|
|
181
181
|
ExtractionEngine
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-4BCX6YLW.js";
|
|
183
183
|
import {
|
|
184
184
|
parseMemoryActionEligibilityContext
|
|
185
185
|
} from "./chunk-JHU4EYDV.js";
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
buildEntityRecallSection,
|
|
211
211
|
entityRecentTranscriptLookbackHours,
|
|
212
212
|
readRecentEntityTranscriptEntries
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-PCSQRQPJ.js";
|
|
214
214
|
import {
|
|
215
215
|
planEpisodeWindowsWithFallback
|
|
216
216
|
} from "./chunk-T3GIETKV.js";
|
|
@@ -225,7 +225,7 @@ import {
|
|
|
225
225
|
} from "./chunk-7G5NTS7F.js";
|
|
226
226
|
import {
|
|
227
227
|
refreshConvergedNamespaces
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-L7BOS7KV.js";
|
|
229
229
|
import {
|
|
230
230
|
builtInConnectorPackageSpecifier,
|
|
231
231
|
ensureBuiltInWearableConnectors,
|
|
@@ -234,40 +234,40 @@ import {
|
|
|
234
234
|
runTimelinePublishCli,
|
|
235
235
|
screenCandidateFact,
|
|
236
236
|
summarizeVaultPublish
|
|
237
|
-
} from "./chunk-
|
|
238
|
-
import {
|
|
239
|
-
RoutingRulesStore
|
|
240
|
-
} from "./chunk-TBUEE7XF.js";
|
|
237
|
+
} from "./chunk-Z3O7ZOCC.js";
|
|
241
238
|
import {
|
|
242
239
|
normalizeReplaySessionKey
|
|
243
240
|
} from "./chunk-AJVLDJU6.js";
|
|
241
|
+
import {
|
|
242
|
+
RoutingRulesStore
|
|
243
|
+
} from "./chunk-TBUEE7XF.js";
|
|
244
244
|
import {
|
|
245
245
|
compareVerifiedEpisodeResults,
|
|
246
246
|
searchVerifiedEpisodes
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-XBNO56HC.js";
|
|
248
248
|
import {
|
|
249
249
|
ThreadingManager
|
|
250
250
|
} from "./chunk-VHSQU3RO.js";
|
|
251
251
|
import {
|
|
252
252
|
compareVerifiedSemanticRuleResults,
|
|
253
253
|
searchVerifiedSemanticRules
|
|
254
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-SPYFXSFZ.js";
|
|
255
255
|
import {
|
|
256
256
|
searchWorkProductLedgerEntries
|
|
257
257
|
} from "./chunk-B2NXOVZN.js";
|
|
258
258
|
import {
|
|
259
259
|
TranscriptManager
|
|
260
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-RIZ5NUNN.js";
|
|
261
261
|
import {
|
|
262
262
|
PolicyRuntimeManager
|
|
263
263
|
} from "./chunk-2LA3H54D.js";
|
|
264
264
|
import {
|
|
265
265
|
runNamespaceMaintenanceFanout,
|
|
266
266
|
summarizeNamespaceMaintenanceHealth
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-K4SVTZWP.js";
|
|
268
268
|
import {
|
|
269
269
|
planNamespaceMaintenance
|
|
270
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-2XG7QECM.js";
|
|
271
271
|
import {
|
|
272
272
|
isAboveImportanceThreshold,
|
|
273
273
|
scoreImportance
|
|
@@ -296,7 +296,7 @@ import {
|
|
|
296
296
|
materializeAfterSemanticConsolidation,
|
|
297
297
|
parseConsolidationResponse,
|
|
298
298
|
parseOperatorAwareConsolidationResponse
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-NBFHOQIO.js";
|
|
300
300
|
import {
|
|
301
301
|
semanticChunkContent
|
|
302
302
|
} from "./chunk-2GBFKHBZ.js";
|
|
@@ -373,7 +373,7 @@ import {
|
|
|
373
373
|
} from "./chunk-MI2OTWV5.js";
|
|
374
374
|
import {
|
|
375
375
|
MeetingsInputError
|
|
376
|
-
} from "./chunk-
|
|
376
|
+
} from "./chunk-R63X5BQA.js";
|
|
377
377
|
import {
|
|
378
378
|
WearablesInputError,
|
|
379
379
|
describeErrorForOperator
|
|
@@ -391,7 +391,7 @@ import {
|
|
|
391
391
|
} from "./chunk-HQPFACXO.js";
|
|
392
392
|
import {
|
|
393
393
|
NamespaceCatalog
|
|
394
|
-
} from "./chunk-
|
|
394
|
+
} from "./chunk-SLORPQZT.js";
|
|
395
395
|
import {
|
|
396
396
|
RecallResultFormatter,
|
|
397
397
|
SessionContextCoordinator,
|
|
@@ -400,17 +400,13 @@ import {
|
|
|
400
400
|
detectPassiveCorrections,
|
|
401
401
|
renderSessionExperiencePreview,
|
|
402
402
|
scoreSessionExperienceForPrompt
|
|
403
|
-
} from "./chunk-
|
|
403
|
+
} from "./chunk-CZD654DQ.js";
|
|
404
404
|
import {
|
|
405
405
|
importCapsule
|
|
406
|
-
} from "./chunk-
|
|
406
|
+
} from "./chunk-YK7GOPIE.js";
|
|
407
407
|
import {
|
|
408
408
|
isCodingGraphInstalled
|
|
409
409
|
} from "./chunk-VQ7B2Q6M.js";
|
|
410
|
-
import {
|
|
411
|
-
listTrustZoneRecords,
|
|
412
|
-
searchTrustZoneRecords
|
|
413
|
-
} from "./chunk-JWX2Q6HS.js";
|
|
414
410
|
import {
|
|
415
411
|
applyTrustScoreStage,
|
|
416
412
|
buildTrustSignalsForRerank,
|
|
@@ -418,9 +414,13 @@ import {
|
|
|
418
414
|
trustResultFor,
|
|
419
415
|
trustResultKey
|
|
420
416
|
} from "./chunk-GNVZQ5JN.js";
|
|
417
|
+
import {
|
|
418
|
+
listTrustZoneRecords,
|
|
419
|
+
searchTrustZoneRecords
|
|
420
|
+
} from "./chunk-JWX2Q6HS.js";
|
|
421
421
|
import {
|
|
422
422
|
HourlySummarizer
|
|
423
|
-
} from "./chunk-
|
|
423
|
+
} from "./chunk-X3KFSJLQ.js";
|
|
424
424
|
import {
|
|
425
425
|
LastRecallStore,
|
|
426
426
|
RecallHandleHistoryStore,
|
|
@@ -439,7 +439,7 @@ import {
|
|
|
439
439
|
} from "./chunk-ORVPS4ZW.js";
|
|
440
440
|
import {
|
|
441
441
|
searchHarmonicRetrieval
|
|
442
|
-
} from "./chunk-
|
|
442
|
+
} from "./chunk-6WULHFNJ.js";
|
|
443
443
|
import {
|
|
444
444
|
ProfilingCollector
|
|
445
445
|
} from "./chunk-DOWACHYO.js";
|
|
@@ -465,7 +465,7 @@ import {
|
|
|
465
465
|
} from "./chunk-LXATZLSC.js";
|
|
466
466
|
import {
|
|
467
467
|
NamespaceStorageRouter
|
|
468
|
-
} from "./chunk-
|
|
468
|
+
} from "./chunk-B7PLF3HW.js";
|
|
469
469
|
import {
|
|
470
470
|
GraphIndex
|
|
471
471
|
} from "./chunk-BFBS7OFQ.js";
|
|
@@ -526,10 +526,10 @@ import {
|
|
|
526
526
|
} from "./chunk-CSAKJVXW.js";
|
|
527
527
|
import {
|
|
528
528
|
LocalLlmClient
|
|
529
|
-
} from "./chunk-
|
|
529
|
+
} from "./chunk-BSBGI4BD.js";
|
|
530
530
|
import {
|
|
531
531
|
buildChainFollowupGenerator
|
|
532
|
-
} from "./chunk-
|
|
532
|
+
} from "./chunk-HUF4S4MY.js";
|
|
533
533
|
import {
|
|
534
534
|
capStateViewPackets,
|
|
535
535
|
reconcileStateViewPairs,
|
|
@@ -567,7 +567,7 @@ import {
|
|
|
567
567
|
reconstructFusionInputs,
|
|
568
568
|
selfDeps,
|
|
569
569
|
serializeFusionDay
|
|
570
|
-
} from "./chunk-
|
|
570
|
+
} from "./chunk-D4WBMLPD.js";
|
|
571
571
|
import {
|
|
572
572
|
bodyIsEscaped,
|
|
573
573
|
decodeTranscriptBody,
|
|
@@ -584,12 +584,12 @@ import {
|
|
|
584
584
|
import {
|
|
585
585
|
NamespaceSearchRouter,
|
|
586
586
|
namespaceCollectionName
|
|
587
|
-
} from "./chunk-
|
|
587
|
+
} from "./chunk-LU66I56Q.js";
|
|
588
588
|
import {
|
|
589
589
|
createConversationIndexRuntime,
|
|
590
590
|
createSearchBackend,
|
|
591
591
|
isSearchBackendEnabled
|
|
592
|
-
} from "./chunk-
|
|
592
|
+
} from "./chunk-VKDAJJQP.js";
|
|
593
593
|
import {
|
|
594
594
|
NoopSearchBackend
|
|
595
595
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -671,7 +671,8 @@ import {
|
|
|
671
671
|
import {
|
|
672
672
|
bufferTurnsEqual,
|
|
673
673
|
describeError,
|
|
674
|
-
groupTurnsByExtractionScope
|
|
674
|
+
groupTurnsByExtractionScope,
|
|
675
|
+
scopeProfilePlanIdentity
|
|
675
676
|
} from "./chunk-4KLQI3L2.js";
|
|
676
677
|
import {
|
|
677
678
|
FallbackLlmClient,
|
|
@@ -16354,6 +16355,132 @@ function queueBufferedCaptureScopeGroups(queueBufferedExtraction, extractionTurn
|
|
|
16354
16355
|
}
|
|
16355
16356
|
}
|
|
16356
16357
|
|
|
16358
|
+
// src/orchestration/extraction-queue-snapshot-sharing.ts
|
|
16359
|
+
function automaticSnapshotSharingEligible(options) {
|
|
16360
|
+
return options.execution === void 0 && options.preemptable === true && options.failOnExtractionFailure !== true && options.forceExtractionAttempt !== true && options.preemptRunning !== true;
|
|
16361
|
+
}
|
|
16362
|
+
function turnRepresentationEquivalent(left, right) {
|
|
16363
|
+
return bufferTurnsEqual(left, right) && left.extractionContextOnly === right.extractionContextOnly && left.importProvenance === right.importProvenance && left.parts === right.parts && left.rawContent === right.rawContent && left.sourceFormat === right.sourceFormat;
|
|
16364
|
+
}
|
|
16365
|
+
function scopeClassKey(turn) {
|
|
16366
|
+
return [
|
|
16367
|
+
turn.writeNamespaceOverride ?? "",
|
|
16368
|
+
turn.principalOverride ?? "",
|
|
16369
|
+
scopeProfilePlanIdentity(turn.scopeProfileWritePlan),
|
|
16370
|
+
turn.acceptedCapture === true ? "accepted" : "",
|
|
16371
|
+
turn.codingContext?.projectId ?? "",
|
|
16372
|
+
turn.codingContext?.rootPath ?? "",
|
|
16373
|
+
turn.codingContext?.branch ?? "",
|
|
16374
|
+
turn.codingContext?.defaultBranch ?? ""
|
|
16375
|
+
].join("\0");
|
|
16376
|
+
}
|
|
16377
|
+
function chainNodes(chain) {
|
|
16378
|
+
const nodes = [];
|
|
16379
|
+
for (let node = chain; node; node = node.base) nodes.push(node);
|
|
16380
|
+
return [...nodes].reverse();
|
|
16381
|
+
}
|
|
16382
|
+
function chainPrefixEquivalent(chain, turns) {
|
|
16383
|
+
let offset = 0;
|
|
16384
|
+
for (const node of chainNodes(chain)) {
|
|
16385
|
+
for (const chained of node.tail) {
|
|
16386
|
+
const incoming = turns[offset];
|
|
16387
|
+
if (incoming === void 0) return false;
|
|
16388
|
+
if (!turnRepresentationEquivalent(chained, incoming)) return false;
|
|
16389
|
+
offset += 1;
|
|
16390
|
+
}
|
|
16391
|
+
}
|
|
16392
|
+
return offset === chain.total;
|
|
16393
|
+
}
|
|
16394
|
+
function materializeChain(chain) {
|
|
16395
|
+
const out = [];
|
|
16396
|
+
for (const node of chainNodes(chain)) {
|
|
16397
|
+
for (const turn of node.tail) out.push(turn);
|
|
16398
|
+
}
|
|
16399
|
+
return out;
|
|
16400
|
+
}
|
|
16401
|
+
var ExtractionSnapshotSharingRegistry = class {
|
|
16402
|
+
buckets = /* @__PURE__ */ new Map();
|
|
16403
|
+
/**
|
|
16404
|
+
* Admit one automatic snapshot for `bufferKey`: chain it onto the newest
|
|
16405
|
+
* queued same-scope snapshot when that is a verified prefix-extension,
|
|
16406
|
+
* otherwise start a fresh chain. The caller's array is never mutated.
|
|
16407
|
+
*/
|
|
16408
|
+
admit(bufferKey, turns) {
|
|
16409
|
+
const scopeClass = turns.length > 0 ? scopeClassKey(turns[0]) : "";
|
|
16410
|
+
const bucketKey = `${bufferKey}\0${scopeClass}`;
|
|
16411
|
+
const list = this.buckets.get(bucketKey);
|
|
16412
|
+
const base = list !== void 0 && list.length > 0 ? list[list.length - 1] : void 0;
|
|
16413
|
+
if (base && base.total === turns.length && chainPrefixEquivalent(base, turns)) {
|
|
16414
|
+
base.holders += 1;
|
|
16415
|
+
return base;
|
|
16416
|
+
}
|
|
16417
|
+
const node = base && base.total <= turns.length && chainPrefixEquivalent(base, turns) ? {
|
|
16418
|
+
key: bufferKey,
|
|
16419
|
+
scopeClass,
|
|
16420
|
+
base,
|
|
16421
|
+
baseLength: base.total,
|
|
16422
|
+
tail: turns.slice(base.total),
|
|
16423
|
+
total: turns.length,
|
|
16424
|
+
holders: 1
|
|
16425
|
+
} : {
|
|
16426
|
+
key: bufferKey,
|
|
16427
|
+
scopeClass,
|
|
16428
|
+
base: void 0,
|
|
16429
|
+
baseLength: 0,
|
|
16430
|
+
tail: [...turns],
|
|
16431
|
+
total: turns.length,
|
|
16432
|
+
holders: 1
|
|
16433
|
+
};
|
|
16434
|
+
if (list) list.push(node);
|
|
16435
|
+
else this.buckets.set(bucketKey, [node]);
|
|
16436
|
+
return node;
|
|
16437
|
+
}
|
|
16438
|
+
/** Release one holder of a node when its task exits (or on enqueue
|
|
16439
|
+
* refusal). CONTRACT: called EXACTLY ONCE per admit, by the task that
|
|
16440
|
+
* admitted it — the registry has no task identity, so a second call by the
|
|
16441
|
+
* same task would steal another holder's count. The only production caller
|
|
16442
|
+
* (queueBufferedExtraction) enforces this structurally: the closure-finally
|
|
16443
|
+
* and the enqueue-refusal branch are mutually exclusive. Defensively, a
|
|
16444
|
+
* release past zero is a no-op. */
|
|
16445
|
+
release(node) {
|
|
16446
|
+
if (node.holders <= 0) return;
|
|
16447
|
+
node.holders -= 1;
|
|
16448
|
+
if (node.holders > 0) return;
|
|
16449
|
+
const list = this.buckets.get(`${node.key}\0${node.scopeClass}`);
|
|
16450
|
+
if (!list) return;
|
|
16451
|
+
const index = list.indexOf(node);
|
|
16452
|
+
if (index >= 0) list.splice(index, 1);
|
|
16453
|
+
if (list.length === 0) this.buckets.delete(`${node.key}\0${node.scopeClass}`);
|
|
16454
|
+
}
|
|
16455
|
+
/** Proof seam: what the queue retains right now. */
|
|
16456
|
+
stats() {
|
|
16457
|
+
const visited = /* @__PURE__ */ new Set();
|
|
16458
|
+
let queuedNodes = 0;
|
|
16459
|
+
let queuedTailRefs = 0;
|
|
16460
|
+
let queuedReachableDepth = 0;
|
|
16461
|
+
let queuedHolders = 0;
|
|
16462
|
+
let unsharedEquivalentRefs = 0;
|
|
16463
|
+
let queuedTotalRefs = 0;
|
|
16464
|
+
for (const list of this.buckets.values()) {
|
|
16465
|
+
for (const node of list) {
|
|
16466
|
+
queuedNodes += 1;
|
|
16467
|
+
unsharedEquivalentRefs += node.total * node.holders;
|
|
16468
|
+
queuedTotalRefs += node.total;
|
|
16469
|
+
let depth = 0;
|
|
16470
|
+
for (let walk = node; walk; walk = walk.base) {
|
|
16471
|
+
depth += 1;
|
|
16472
|
+
if (visited.has(walk)) continue;
|
|
16473
|
+
visited.add(walk);
|
|
16474
|
+
queuedTailRefs += walk.tail.length;
|
|
16475
|
+
queuedHolders += walk.holders;
|
|
16476
|
+
}
|
|
16477
|
+
if (depth > queuedReachableDepth) queuedReachableDepth = depth;
|
|
16478
|
+
}
|
|
16479
|
+
}
|
|
16480
|
+
return { queuedNodes, queuedTotalRefs, queuedTailRefs, queuedReachableDepth, queuedHolders, unsharedEquivalentRefs };
|
|
16481
|
+
}
|
|
16482
|
+
};
|
|
16483
|
+
|
|
16357
16484
|
// src/orchestration/turn-ingestion.ts
|
|
16358
16485
|
var ReplayAdmissionRefusedError = class extends Error {
|
|
16359
16486
|
constructor(message) {
|
|
@@ -16367,13 +16494,15 @@ function isFlushPlanRecoveryTurn(turn) {
|
|
|
16367
16494
|
return typeof provenance?.sourceId === "string" && /:flush-plan(:\d+\/\d+)?$/.test(provenance.sourceId);
|
|
16368
16495
|
}
|
|
16369
16496
|
var TurnIngestionCoordinator = class {
|
|
16370
|
-
// chunked trigger-drain (extraction-drain.ts)
|
|
16371
16497
|
constructor(deps) {
|
|
16372
16498
|
this.deps = deps;
|
|
16373
16499
|
this.drain = new ExtractionDrain(deps);
|
|
16374
16500
|
}
|
|
16375
16501
|
deps;
|
|
16376
16502
|
drain;
|
|
16503
|
+
// chunked trigger-drain (extraction-drain.ts)
|
|
16504
|
+
/** Queued automatic-snapshot chains: bounded-queue retention via structural sharing. */
|
|
16505
|
+
snapshotSharing = new ExtractionSnapshotSharingRegistry();
|
|
16377
16506
|
async processTurn(role, content, sessionKey, options = {}) {
|
|
16378
16507
|
if (role !== "user" && role !== "assistant") {
|
|
16379
16508
|
log.debug(`processTurn: ignoring unsupported role=${String(role)}`);
|
|
@@ -16855,6 +16984,8 @@ var TurnIngestionCoordinator = class {
|
|
|
16855
16984
|
}
|
|
16856
16985
|
if (settled) return;
|
|
16857
16986
|
const preemptable = options.preemptable === true && options.preemptRunning !== true;
|
|
16987
|
+
const sharingNode = automaticSnapshotSharingEligible(options) && turnsToExtract.length > 0 ? this.snapshotSharing.admit(bufferKey, turnsToExtract) : void 0;
|
|
16988
|
+
const queuedTurnsSource = sharingNode ? { chain: sharingNode } : { direct: turnsToExtract };
|
|
16858
16989
|
const accepted = this.deps.extractionQueueCoordinator.enqueue(async (preemptHandle) => {
|
|
16859
16990
|
try {
|
|
16860
16991
|
await this.deps.extractionQueueCoordinator.runPreemptable(preemptHandle, preemptable, options.abortSignal, async (abortSignal) => {
|
|
@@ -16866,7 +16997,7 @@ var TurnIngestionCoordinator = class {
|
|
|
16866
16997
|
clearQueueWaitTimer();
|
|
16867
16998
|
if (options.execution === void 0 && skipClaimedSession(this.deps.buffer, bufferKey, (result) => settleTask(void 0, result))) return;
|
|
16868
16999
|
try {
|
|
16869
|
-
let effectiveTurns =
|
|
17000
|
+
let effectiveTurns = "chain" in queuedTurnsSource ? materializeChain(queuedTurnsSource.chain) : queuedTurnsSource.direct;
|
|
16870
17001
|
let effectiveScopePlan = options.scopeProfileWritePlan;
|
|
16871
17002
|
const executionBuffer = options.execution?.buffer;
|
|
16872
17003
|
if (effectiveTurns.some((turn) => turn.acceptedCapture === true)) {
|
|
@@ -16983,10 +17114,12 @@ var TurnIngestionCoordinator = class {
|
|
|
16983
17114
|
}
|
|
16984
17115
|
});
|
|
16985
17116
|
} finally {
|
|
17117
|
+
if (sharingNode) this.snapshotSharing.release(sharingNode);
|
|
16986
17118
|
options.onTaskExit?.();
|
|
16987
17119
|
}
|
|
16988
17120
|
}, { front: options.preemptRunning === true, key: bufferKey });
|
|
16989
17121
|
if (!accepted) {
|
|
17122
|
+
if (sharingNode) this.snapshotSharing.release(sharingNode);
|
|
16990
17123
|
settleTask(new Error("extraction queue is stopped"));
|
|
16991
17124
|
options.onTaskExit?.();
|
|
16992
17125
|
return;
|
|
@@ -32085,4 +32218,4 @@ export {
|
|
|
32085
32218
|
qmdStartupCollectionChecksWithTimeout,
|
|
32086
32219
|
Orchestrator
|
|
32087
32220
|
};
|
|
32088
|
-
//# sourceMappingURL=chunk-
|
|
32221
|
+
//# sourceMappingURL=chunk-S34XZUTY.js.map
|