@remnic/core 10.0.122 → 10.0.123
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 +84 -83
- package/dist/access-cli.js +84 -83
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.js +84 -83
- package/dist/access-http-briefing.js +84 -83
- package/dist/access-http-query.js +84 -83
- package/dist/access-http.js +84 -83
- package/dist/access-identity-continuity-surface.js +84 -83
- package/dist/access-lcm-surface.js +84 -83
- package/dist/access-mcp.js +84 -83
- package/dist/access-observe-write-category.js +8 -8
- package/dist/access-observe-write-surface.js +84 -83
- package/dist/access-offline-manifest.js +5 -5
- package/dist/access-operations-batch.js +84 -83
- package/dist/access-operations.js +84 -83
- package/dist/access-recall-concurrency.js +84 -83
- package/dist/access-recall-response.js +84 -83
- package/dist/access-recall-surface.js +84 -83
- package/dist/access-schema.js +7 -7
- package/dist/access-service.js +84 -83
- package/dist/active-recall.js +13 -13
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/briefing.js +8 -8
- package/dist/calibration.js +3 -3
- package/dist/{capsule-crypto-GWVG7LGC.js → capsule-crypto-7FJQINUR.js} +2 -2
- package/dist/causal-consolidation.js +9 -9
- package/dist/{chunk-SEOJHETP.js → chunk-2NGTY22Z.js} +7 -6
- package/dist/{chunk-SEOJHETP.js.map → chunk-2NGTY22Z.js.map} +1 -1
- package/dist/{chunk-OWHERGF2.js → chunk-2NLLXCJG.js} +2 -2
- package/dist/{chunk-NLYLOLQW.js → chunk-3B7EF4MP.js} +3 -3
- package/dist/{chunk-HOYYVQN2.js → chunk-3OEZA5TR.js} +2 -2
- package/dist/{chunk-UCD7NQKZ.js → chunk-3S7VJJTG.js} +2 -2
- package/dist/{chunk-B2RECSSR.js → chunk-53VLXNAO.js} +2 -2
- package/dist/{chunk-5RONA5FF.js → chunk-7DFJ4JX2.js} +4 -4
- package/dist/{chunk-BUKK5SWA.js → chunk-7LCGFUMB.js} +4 -4
- package/dist/{chunk-5PCUUGLT.js → chunk-7P72BY4F.js} +2 -2
- package/dist/{chunk-FAAWURSH.js → chunk-AC6F3ADA.js} +2 -2
- package/dist/{chunk-6GQFMR6A.js → chunk-AM5ZNSUK.js} +2 -2
- package/dist/{chunk-744WDDFX.js → chunk-B5LNHYSG.js} +2 -2
- package/dist/{chunk-OJPCASE5.js → chunk-CHZMU6HA.js} +2 -2
- package/dist/{chunk-DWUKVXMU.js → chunk-CKUDZMC3.js} +2 -2
- package/dist/{chunk-HBNMJ26J.js → chunk-EGLJALMG.js} +5 -5
- package/dist/{chunk-P5KJOXWH.js → chunk-EOJF66EQ.js} +2 -2
- package/dist/{chunk-CPWYYRJ2.js → chunk-GFZRBHLH.js} +2 -2
- package/dist/{chunk-IFYWNSSU.js → chunk-GSRRD7ZJ.js} +2 -2
- package/dist/{chunk-4RASUAN3.js → chunk-HXFIILGF.js} +4 -4
- package/dist/{chunk-L5PM7B3I.js → chunk-IFFCHE3O.js} +1 -1
- package/dist/{chunk-L5PM7B3I.js.map → chunk-IFFCHE3O.js.map} +1 -1
- package/dist/{chunk-4VAUQBFJ.js → chunk-IWULSPDY.js} +3 -3
- package/dist/{chunk-C5PEYREE.js → chunk-JLUOSKCU.js} +2 -2
- package/dist/{chunk-A6KNCOHQ.js → chunk-JWFBN2LM.js} +2 -2
- package/dist/{chunk-VPARMYWA.js → chunk-KBO44266.js} +5 -5
- package/dist/{chunk-QOWLC5P6.js → chunk-KU3K2WNM.js} +10 -10
- package/dist/{chunk-RDCKC5MI.js → chunk-LP326T2D.js} +3 -3
- package/dist/{chunk-WRTLTOHA.js → chunk-MFKWQJRQ.js} +2 -2
- package/dist/{chunk-IARHAE4J.js → chunk-NMQF4CAA.js} +2 -2
- package/dist/{chunk-FGI6GJA5.js → chunk-PJIJA3MK.js} +3 -3
- package/dist/{chunk-N72KBIZ2.js → chunk-Q5Q3IHPP.js} +16 -10
- package/dist/chunk-Q5Q3IHPP.js.map +1 -0
- package/dist/{chunk-Z6EMZNKI.js → chunk-QQ4GEUCX.js} +2 -2
- package/dist/{chunk-7POUQFKI.js → chunk-R6DTQYSK.js} +3 -3
- package/dist/{chunk-XYZXO6VO.js → chunk-SC76A2ZT.js} +5 -5
- package/dist/{chunk-W2B25HUU.js → chunk-SMCMHPFY.js} +2 -2
- package/dist/{chunk-CLF4TBUS.js → chunk-T4Q57NRP.js} +2 -2
- package/dist/{chunk-WQUGCOKF.js → chunk-TFA6HPOA.js} +4 -4
- package/dist/{chunk-ZZ5S2SFB.js → chunk-TS3ILFYM.js} +3 -3
- package/dist/{chunk-TNPUVR6U.js → chunk-TVMPYREI.js} +8 -8
- package/dist/{chunk-OYHEVL4A.js → chunk-UDUJIKFQ.js} +3 -3
- package/dist/{chunk-P7FC7N5Z.js → chunk-UJAOI56X.js} +2 -2
- package/dist/{chunk-K4P2MUVI.js → chunk-UTY3HL57.js} +2 -2
- package/dist/chunk-V24YLFJW.js +72 -0
- package/dist/chunk-V24YLFJW.js.map +1 -0
- package/dist/{chunk-X6QQNDIW.js → chunk-VIWACB5U.js} +4 -4
- package/dist/{chunk-EHJI3L7T.js → chunk-VKS2WV2M.js} +2 -2
- package/dist/{chunk-SH4R3FVM.js → chunk-VYX7W6EB.js} +2 -2
- package/dist/{chunk-ZMIRHXJE.js → chunk-WGYORDDM.js} +120 -120
- package/dist/{chunk-FA7SLQ5X.js → chunk-WUQH7BDU.js} +1 -1
- package/dist/chunk-WUQH7BDU.js.map +1 -0
- package/dist/{chunk-CNCN5UN4.js → chunk-WY7QVTBD.js} +2 -2
- package/dist/{chunk-5JDLDYST.js → chunk-X33UXMUS.js} +3 -3
- package/dist/{chunk-UVYI6VIX.js → chunk-X7Y7WX73.js} +1 -1
- package/dist/{chunk-SED6JMID.js → chunk-XN3F3V5H.js} +7 -7
- package/dist/{chunk-EMMJQASU.js → chunk-Y6RTVJJK.js} +2 -2
- package/dist/{chunk-YGFHQT3E.js → chunk-Y7LKZQ4T.js} +2 -2
- package/dist/{chunk-ZDE54VUB.js → chunk-Z7GJNZTY.js} +2 -2
- package/dist/{chunk-SVP57SAR.js → chunk-ZBK3UBMB.js} +4 -4
- package/dist/{chunk-ZQLJNZZ7.js → chunk-ZGEBQW2J.js} +4 -4
- package/dist/cli.js +84 -83
- package/dist/coding/export-okf-codegraph.js +7 -7
- package/dist/compounding/engine.js +9 -9
- package/dist/config.js +13 -13
- 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/conversation-index/backend.js +2 -2
- package/dist/corpus-watermark.js +10 -10
- package/dist/deep-recall-http-glue.js +8 -8
- package/dist/deep-recall.js +2 -2
- package/dist/entity-retrieval.js +8 -8
- package/dist/explicit-capture.js +84 -83
- package/dist/extraction-error-classification.d.ts +2 -0
- package/dist/extraction-error-classification.d.ts.map +1 -1
- package/dist/extraction-error-classification.js +1 -1
- package/dist/extraction-reply-diagnostic.d.ts +31 -0
- package/dist/extraction-reply-diagnostic.d.ts.map +1 -0
- package/dist/extraction-reply-diagnostic.js +13 -0
- package/dist/extraction-reply-diagnostic.js.map +1 -0
- package/dist/extraction.d.ts +0 -1
- package/dist/extraction.d.ts.map +1 -1
- package/dist/extraction.js +15 -14
- package/dist/{first-start-migration-FILJH3RO.js → first-start-migration-U4K2P7KF.js} +4 -4
- package/dist/harmonic-retrieval.js +8 -8
- package/dist/index.js +112 -111
- package/dist/lcm/index.js +3 -3
- package/dist/local-llm-helpers.d.ts +1 -0
- package/dist/local-llm-helpers.d.ts.map +1 -1
- package/dist/local-llm-helpers.js +1 -1
- package/dist/local-llm.js +3 -3
- package/dist/location/index.js +9 -9
- 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/namespaces/migrate.js +9 -9
- package/dist/namespaces/search.js +5 -5
- package/dist/namespaces/storage.js +8 -8
- 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 +11 -11
- package/dist/operator-toolkit.js +20 -20
- package/dist/orchestration/backlog-scheduler.js +85 -84
- package/dist/orchestration/backlog-scheduler.js.map +1 -1
- package/dist/orchestration/buffer-drain-runner.js +85 -84
- package/dist/orchestration/maintenance.js +19 -19
- package/dist/orchestrator.js +84 -83
- package/dist/recall-navigation.js +84 -83
- package/dist/resume-bundles.js +16 -16
- package/dist/search/factory.js +4 -4
- package/dist/search/index.js +6 -6
- 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 +4 -4
- package/dist/support-passport/index.js +4 -4
- package/dist/transcript.js +2 -2
- 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 +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/extraction-error-classification.ts +2 -0
- package/src/extraction-reply-diagnostic-wiring.test.ts +87 -0
- package/src/extraction-reply-diagnostic.test.ts +130 -0
- package/src/extraction-reply-diagnostic.ts +105 -0
- package/src/extraction.ts +7 -16
- package/src/local-llm-headers-timeout.test.ts +24 -1
- package/src/local-llm-helpers.ts +1 -1
- package/src/local-llm.ts +3 -3
- package/dist/chunk-FA7SLQ5X.js.map +0 -1
- package/dist/chunk-N72KBIZ2.js.map +0 -1
- /package/dist/{capsule-crypto-GWVG7LGC.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
- /package/dist/{chunk-OWHERGF2.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-NLYLOLQW.js.map → chunk-3B7EF4MP.js.map} +0 -0
- /package/dist/{chunk-HOYYVQN2.js.map → chunk-3OEZA5TR.js.map} +0 -0
- /package/dist/{chunk-UCD7NQKZ.js.map → chunk-3S7VJJTG.js.map} +0 -0
- /package/dist/{chunk-B2RECSSR.js.map → chunk-53VLXNAO.js.map} +0 -0
- /package/dist/{chunk-5RONA5FF.js.map → chunk-7DFJ4JX2.js.map} +0 -0
- /package/dist/{chunk-BUKK5SWA.js.map → chunk-7LCGFUMB.js.map} +0 -0
- /package/dist/{chunk-5PCUUGLT.js.map → chunk-7P72BY4F.js.map} +0 -0
- /package/dist/{chunk-FAAWURSH.js.map → chunk-AC6F3ADA.js.map} +0 -0
- /package/dist/{chunk-6GQFMR6A.js.map → chunk-AM5ZNSUK.js.map} +0 -0
- /package/dist/{chunk-744WDDFX.js.map → chunk-B5LNHYSG.js.map} +0 -0
- /package/dist/{chunk-OJPCASE5.js.map → chunk-CHZMU6HA.js.map} +0 -0
- /package/dist/{chunk-DWUKVXMU.js.map → chunk-CKUDZMC3.js.map} +0 -0
- /package/dist/{chunk-HBNMJ26J.js.map → chunk-EGLJALMG.js.map} +0 -0
- /package/dist/{chunk-P5KJOXWH.js.map → chunk-EOJF66EQ.js.map} +0 -0
- /package/dist/{chunk-CPWYYRJ2.js.map → chunk-GFZRBHLH.js.map} +0 -0
- /package/dist/{chunk-IFYWNSSU.js.map → chunk-GSRRD7ZJ.js.map} +0 -0
- /package/dist/{chunk-4RASUAN3.js.map → chunk-HXFIILGF.js.map} +0 -0
- /package/dist/{chunk-4VAUQBFJ.js.map → chunk-IWULSPDY.js.map} +0 -0
- /package/dist/{chunk-C5PEYREE.js.map → chunk-JLUOSKCU.js.map} +0 -0
- /package/dist/{chunk-A6KNCOHQ.js.map → chunk-JWFBN2LM.js.map} +0 -0
- /package/dist/{chunk-VPARMYWA.js.map → chunk-KBO44266.js.map} +0 -0
- /package/dist/{chunk-QOWLC5P6.js.map → chunk-KU3K2WNM.js.map} +0 -0
- /package/dist/{chunk-RDCKC5MI.js.map → chunk-LP326T2D.js.map} +0 -0
- /package/dist/{chunk-WRTLTOHA.js.map → chunk-MFKWQJRQ.js.map} +0 -0
- /package/dist/{chunk-IARHAE4J.js.map → chunk-NMQF4CAA.js.map} +0 -0
- /package/dist/{chunk-FGI6GJA5.js.map → chunk-PJIJA3MK.js.map} +0 -0
- /package/dist/{chunk-Z6EMZNKI.js.map → chunk-QQ4GEUCX.js.map} +0 -0
- /package/dist/{chunk-7POUQFKI.js.map → chunk-R6DTQYSK.js.map} +0 -0
- /package/dist/{chunk-XYZXO6VO.js.map → chunk-SC76A2ZT.js.map} +0 -0
- /package/dist/{chunk-W2B25HUU.js.map → chunk-SMCMHPFY.js.map} +0 -0
- /package/dist/{chunk-CLF4TBUS.js.map → chunk-T4Q57NRP.js.map} +0 -0
- /package/dist/{chunk-WQUGCOKF.js.map → chunk-TFA6HPOA.js.map} +0 -0
- /package/dist/{chunk-ZZ5S2SFB.js.map → chunk-TS3ILFYM.js.map} +0 -0
- /package/dist/{chunk-TNPUVR6U.js.map → chunk-TVMPYREI.js.map} +0 -0
- /package/dist/{chunk-OYHEVL4A.js.map → chunk-UDUJIKFQ.js.map} +0 -0
- /package/dist/{chunk-P7FC7N5Z.js.map → chunk-UJAOI56X.js.map} +0 -0
- /package/dist/{chunk-K4P2MUVI.js.map → chunk-UTY3HL57.js.map} +0 -0
- /package/dist/{chunk-X6QQNDIW.js.map → chunk-VIWACB5U.js.map} +0 -0
- /package/dist/{chunk-EHJI3L7T.js.map → chunk-VKS2WV2M.js.map} +0 -0
- /package/dist/{chunk-SH4R3FVM.js.map → chunk-VYX7W6EB.js.map} +0 -0
- /package/dist/{chunk-ZMIRHXJE.js.map → chunk-WGYORDDM.js.map} +0 -0
- /package/dist/{chunk-CNCN5UN4.js.map → chunk-WY7QVTBD.js.map} +0 -0
- /package/dist/{chunk-5JDLDYST.js.map → chunk-X33UXMUS.js.map} +0 -0
- /package/dist/{chunk-UVYI6VIX.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-SED6JMID.js.map → chunk-XN3F3V5H.js.map} +0 -0
- /package/dist/{chunk-EMMJQASU.js.map → chunk-Y6RTVJJK.js.map} +0 -0
- /package/dist/{chunk-YGFHQT3E.js.map → chunk-Y7LKZQ4T.js.map} +0 -0
- /package/dist/{chunk-ZDE54VUB.js.map → chunk-Z7GJNZTY.js.map} +0 -0
- /package/dist/{chunk-SVP57SAR.js.map → chunk-ZBK3UBMB.js.map} +0 -0
- /package/dist/{chunk-ZQLJNZZ7.js.map → chunk-ZGEBQW2J.js.map} +0 -0
- /package/dist/{first-start-migration-FILJH3RO.js.map → first-start-migration-U4K2P7KF.js.map} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
encryptCapsuleFile
|
|
3
|
+
} from "./chunk-X7Y7WX73.js";
|
|
1
4
|
import {
|
|
2
5
|
CAPSULE_ID_PATTERN,
|
|
3
6
|
CapsuleBlockSchema,
|
|
4
7
|
ExportBundleV2Schema,
|
|
5
8
|
ExportManifestV2Schema
|
|
6
9
|
} from "./chunk-WEHSQBFR.js";
|
|
7
|
-
import {
|
|
8
|
-
encryptCapsuleFile
|
|
9
|
-
} from "./chunk-UVYI6VIX.js";
|
|
10
10
|
import {
|
|
11
11
|
CAPSULE_SCHEMA_VERSION,
|
|
12
12
|
EXPORT_FORMAT
|
|
@@ -261,4 +261,4 @@ export {
|
|
|
261
261
|
exportCapsule,
|
|
262
262
|
isValidCapsuleSince
|
|
263
263
|
};
|
|
264
|
-
//# sourceMappingURL=chunk-
|
|
264
|
+
//# sourceMappingURL=chunk-7LCGFUMB.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-QNUNAXBE.js";
|
|
12
12
|
import {
|
|
13
13
|
LocalLlmClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2NGTY22Z.js";
|
|
15
15
|
import {
|
|
16
16
|
completeBackgroundGeneration,
|
|
17
17
|
parseBackgroundGenerationJson
|
|
@@ -808,4 +808,4 @@ export {
|
|
|
808
808
|
summarizeHourlyStatus,
|
|
809
809
|
HourlySummarizer
|
|
810
810
|
};
|
|
811
|
-
//# sourceMappingURL=chunk-
|
|
811
|
+
//# sourceMappingURL=chunk-7P72BY4F.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-ZCUTSMR2.js";
|
|
14
14
|
import {
|
|
15
15
|
StorageManager
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SC76A2ZT.js";
|
|
17
17
|
import {
|
|
18
18
|
excludeSupportPassportPrivateMemories
|
|
19
19
|
} from "./chunk-NS7U4ZYU.js";
|
|
@@ -134,4 +134,4 @@ export {
|
|
|
134
134
|
runCodexMaterialize,
|
|
135
135
|
runPostConsolidationMaterialize
|
|
136
136
|
};
|
|
137
|
-
//# sourceMappingURL=chunk-
|
|
137
|
+
//# sourceMappingURL=chunk-AC6F3ADA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseEntityFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SC76A2ZT.js";
|
|
4
4
|
import {
|
|
5
5
|
inferMemoryStatus
|
|
6
6
|
} from "./chunk-7RJUVTVF.js";
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
WHO_KNOWS_MCP_TOOLS,
|
|
254
254
|
handleWhoKnowsHttpQuery
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-AM5ZNSUK.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-TBBDFYXW.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SC76A2ZT.js";
|
|
7
7
|
import {
|
|
8
8
|
requestEntityCanonicalIdReconcile
|
|
9
9
|
} from "./chunk-O3GZPLVY.js";
|
|
@@ -769,4 +769,4 @@ export {
|
|
|
769
769
|
listMemoryGovernanceRuns,
|
|
770
770
|
readMemoryGovernanceRunArtifact
|
|
771
771
|
};
|
|
772
|
-
//# sourceMappingURL=chunk-
|
|
772
|
+
//# sourceMappingURL=chunk-B5LNHYSG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listNamespaces
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PJIJA3MK.js";
|
|
4
4
|
import {
|
|
5
5
|
corpusScanWorker
|
|
6
6
|
} from "./chunk-4LZ7SVKM.js";
|
|
@@ -292,4 +292,4 @@ export {
|
|
|
292
292
|
computeServiceCorpusWatermarks,
|
|
293
293
|
computeServiceCorpusCensus
|
|
294
294
|
};
|
|
295
|
-
//# sourceMappingURL=chunk-
|
|
295
|
+
//# sourceMappingURL=chunk-CHZMU6HA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SC76A2ZT.js";
|
|
4
4
|
import {
|
|
5
5
|
countRecallTokenOverlap,
|
|
6
6
|
normalizeRecallTokens
|
|
@@ -119,4 +119,4 @@ export {
|
|
|
119
119
|
compareVerifiedSemanticRuleResults,
|
|
120
120
|
searchVerifiedSemanticRules
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=chunk-
|
|
122
|
+
//# sourceMappingURL=chunk-CKUDZMC3.js.map
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
requestEntityCanonicalIdReconcile,
|
|
14
14
|
withRawEntityPageMutation
|
|
15
15
|
} from "./chunk-O3GZPLVY.js";
|
|
16
|
-
import {
|
|
17
|
-
parseExportBundle
|
|
18
|
-
} from "./chunk-WEHSQBFR.js";
|
|
19
16
|
import {
|
|
20
17
|
decryptCapsuleFileInMemory,
|
|
21
18
|
isEncryptedCapsuleFile
|
|
22
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-X7Y7WX73.js";
|
|
20
|
+
import {
|
|
21
|
+
parseExportBundle
|
|
22
|
+
} from "./chunk-WEHSQBFR.js";
|
|
23
23
|
import {
|
|
24
24
|
assertIsDirectoryNotSymlink,
|
|
25
25
|
assertRealpathInsideRoot,
|
|
@@ -296,4 +296,4 @@ function mintForkId(capsuleId, originalId, now) {
|
|
|
296
296
|
export {
|
|
297
297
|
importCapsule
|
|
298
298
|
};
|
|
299
|
-
//# sourceMappingURL=chunk-
|
|
299
|
+
//# sourceMappingURL=chunk-EGLJALMG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseFrontmatter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SC76A2ZT.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-EOJF66EQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
canonicalCategoryForAlias,
|
|
3
3
|
categoryAliasCoercion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LP326T2D.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-GFZRBHLH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SC76A2ZT.js";
|
|
4
4
|
import {
|
|
5
5
|
composeMemoryEnvelope
|
|
6
6
|
} from "./chunk-X26YOFGS.js";
|
|
@@ -546,4 +546,4 @@ export {
|
|
|
546
546
|
setSemanticRulePromotionTestHooks,
|
|
547
547
|
promoteSemanticRuleFromMemory
|
|
548
548
|
};
|
|
549
|
-
//# sourceMappingURL=chunk-
|
|
549
|
+
//# sourceMappingURL=chunk-GSRRD7ZJ.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
validateRefineRewrite
|
|
3
|
+
} from "./chunk-WTWQA7BB.js";
|
|
1
4
|
import {
|
|
2
5
|
selectExpandNodeIds
|
|
3
6
|
} from "./chunk-VZIAVM72.js";
|
|
4
7
|
import {
|
|
5
8
|
rankDeepRecallFrontier
|
|
6
9
|
} from "./chunk-HRATODNO.js";
|
|
7
|
-
import {
|
|
8
|
-
validateRefineRewrite
|
|
9
|
-
} from "./chunk-WTWQA7BB.js";
|
|
10
10
|
import {
|
|
11
11
|
extractJsonCandidates,
|
|
12
12
|
stripCodeFences
|
|
@@ -384,4 +384,4 @@ async function runBudgetedDeepRecall(deps, query) {
|
|
|
384
384
|
export {
|
|
385
385
|
runBudgetedDeepRecall
|
|
386
386
|
};
|
|
387
|
-
//# sourceMappingURL=chunk-
|
|
387
|
+
//# sourceMappingURL=chunk-HXFIILGF.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/extraction-error-classification.ts"],"sourcesContent":["import type { ExtractionFailureClass } from \"./types.js\";\nimport { isTransientHttpError } from \"./connectors/live/transient-errors.js\";\n\n/**\n * Read a numeric HTTP status off a thrown error without re-implementing the\n * shared transient classifier. Uses `in`/typeof narrowing (no inline casts).\n */\nfunction httpStatusFromError(err: unknown): number | undefined {\n if (!err || typeof err !== \"object\") return undefined;\n if (\"status\" in err && typeof err.status === \"number\" && Number.isFinite(err.status)) return err.status;\n if (\"statusCode\" in err && typeof err.statusCode === \"number\" && Number.isFinite(err.statusCode)) {\n return err.statusCode;\n }\n return undefined;\n}\n\n/**\n * Map a thrown extraction error to a coarse failure class for the retry/breaker\n * layer. 401/403 → `auth_config` (misconfigured provider, open the breaker);\n * transient (429/5xx/network, per the shared `isTransientHttpError`) → back off;\n * anything else defaults to `provider_retryable` (fail-open toward retry, but\n * capped by the per-fingerprint attempt budget). Never throws.\n */\nexport function classifyExtractionThrownError(err: unknown): ExtractionFailureClass {\n try {\n const status = httpStatusFromError(err);\n if (status === 401 || status === 403) return \"auth_config\";\n if (isTransientHttpError(err)) return \"provider_retryable\";\n return \"provider_retryable\";\n } catch {\n return \"provider_retryable\";\n }\n}\n\n/**\n * Map the gateway fallback's discriminated parse-failure reason to a coarse\n * extraction failure class. \"no models configured\" is an auth/config problem;\n * an HTTP/transport failure backs off; an unparseable-but-present response is a\n * genuine empty-parse.\n */\nexport function classifyFallbackParseFailure(\n reason: \"no_models\" | \"empty\" | \"http_error\" | \"schema_rejection\" | \"timeout\",\n): ExtractionFailureClass {\n switch (reason) {\n case \"no_models\":\n return \"auth_config\";\n case \"http_error\":\n case \"timeout\":\n return \"provider_retryable\";\n case \"empty\":\n case \"schema_rejection\":\n return \"parse_empty\";\n }\n}\n\n/**\n * Operator-visible extraction parse-failure line. Keeps the historical\n * greppable prefix and appends the fields that used to live only at debug.\n */\nexport function formatExtractionParseFailureLog(input: {\n failureReason: string;\n attemptedModel?: string;\n httpStatus?: number;\n errorClass?: string;\n traceId: string;\n}): string {\n const modelUsed =\n typeof input.attemptedModel === \"string\" && input.attemptedModel.length > 0\n ? input.attemptedModel\n : \"unknown\";\n const errorClass =\n typeof input.errorClass === \"string\" && input.errorClass.length > 0\n ? input.errorClass\n : \"none\";\n const httpStatus =\n typeof input.httpStatus === \"number\" && Number.isFinite(input.httpStatus)\n ? String(input.httpStatus)\n : \"none\";\n return [\n \"extraction fallback returned no parsed output\",\n `failureReason=${input.failureReason}`,\n `modelUsed=${modelUsed}`,\n `errorClass=${errorClass}`,\n `httpStatus=${httpStatus}`,\n `traceId=${input.traceId}`,\n ].join(\" \");\n}\n\n/**\n * The local endpoint answered, and what it said rejects this input (unusable content, or a client error that is not\n * auth, timeout or rate limiting): the chunk's problem, not an outage. Retried like an empty parse, and a trigger-drain\n * chunk that keeps drawing it is dropped after its recovery copy is saved.\n */\nexport class LocalLlmRejectedError extends Error {\n constructor(readonly httpStatus?: number) {\n super(httpStatus === undefined ? \"local LLM answered with unusable content\" : `local LLM rejected the input (HTTP ${httpStatus})`);\n this.name = \"LocalLlmRejectedError\";\n }\n}\n\n/** What the local client recorded about a failed call (`failureDiag`). */\nexport interface LocalFailureDiag {\n lastError?: unknown;\n}\n\n/** The HTTP status when the local endpoint answered and refuses this input (400, 413, 422); else undefined. A wrong model name or route (404, 405, 410), auth, timeout and rate limiting are the setup's problem, not the chunk's. */\nexport function localRejectionStatus(diag: LocalFailureDiag): number | undefined {\n const status = httpStatusFromError(diag.lastError);\n return status !== undefined && [400, 413, 422].includes(status) ? status : undefined;\n}\n"],"mappings":";;;;;AAOA,SAAS,oBAAoB,KAAkC;AAC7D,MAAI,CAAC,OAAO,OAAO,QAAQ,SAAU,QAAO;AAC5C,MAAI,YAAY,OAAO,OAAO,IAAI,WAAW,YAAY,OAAO,SAAS,IAAI,MAAM,EAAG,QAAO,IAAI;AACjG,MAAI,gBAAgB,OAAO,OAAO,IAAI,eAAe,YAAY,OAAO,SAAS,IAAI,UAAU,GAAG;AAChG,WAAO,IAAI;AAAA,EACb;AACA,SAAO;AACT;AASO,SAAS,8BAA8B,KAAsC;AAClF,MAAI;AACF,UAAM,SAAS,oBAAoB,GAAG;AACtC,QAAI,WAAW,OAAO,WAAW,IAAK,QAAO;AAC7C,QAAI,qBAAqB,GAAG,EAAG,QAAO;AACtC,WAAO;AAAA,EACT,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAQO,SAAS,6BACd,QACwB;AACxB,UAAQ,QAAQ;AAAA,IACd,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,EACX;AACF;AAMO,SAAS,gCAAgC,OAMrC;AACT,QAAM,YACJ,OAAO,MAAM,mBAAmB,YAAY,MAAM,eAAe,SAAS,IACtE,MAAM,iBACN;AACN,QAAM,aACJ,OAAO,MAAM,eAAe,YAAY,MAAM,WAAW,SAAS,IAC9D,MAAM,aACN;AACN,QAAM,aACJ,OAAO,MAAM,eAAe,YAAY,OAAO,SAAS,MAAM,UAAU,IACpE,OAAO,MAAM,UAAU,IACvB;AACN,SAAO;AAAA,IACL;AAAA,IACA,iBAAiB,MAAM,aAAa;AAAA,IACpC,aAAa,SAAS;AAAA,IACtB,cAAc,UAAU;AAAA,IACxB,cAAc,UAAU;AAAA,IACxB,WAAW,MAAM,OAAO;AAAA,EAC1B,EAAE,KAAK,GAAG;AACZ;AAOO,IAAM,wBAAN,cAAoC,MAAM;AAAA,EAC/C,YAAqB,YAAqB;AACxC,UAAM,eAAe,SAAY,6CAA6C,sCAAsC,UAAU,GAAG;AAD9G;AAEnB,SAAK,OAAO;AAAA,EACd;AAAA,EAHqB;AAIvB;
|
|
1
|
+
{"version":3,"sources":["../src/extraction-error-classification.ts"],"sourcesContent":["import type { ExtractionFailureClass } from \"./types.js\";\nimport { isTransientHttpError } from \"./connectors/live/transient-errors.js\";\n\n/**\n * Read a numeric HTTP status off a thrown error without re-implementing the\n * shared transient classifier. Uses `in`/typeof narrowing (no inline casts).\n */\nfunction httpStatusFromError(err: unknown): number | undefined {\n if (!err || typeof err !== \"object\") return undefined;\n if (\"status\" in err && typeof err.status === \"number\" && Number.isFinite(err.status)) return err.status;\n if (\"statusCode\" in err && typeof err.statusCode === \"number\" && Number.isFinite(err.statusCode)) {\n return err.statusCode;\n }\n return undefined;\n}\n\n/**\n * Map a thrown extraction error to a coarse failure class for the retry/breaker\n * layer. 401/403 → `auth_config` (misconfigured provider, open the breaker);\n * transient (429/5xx/network, per the shared `isTransientHttpError`) → back off;\n * anything else defaults to `provider_retryable` (fail-open toward retry, but\n * capped by the per-fingerprint attempt budget). Never throws.\n */\nexport function classifyExtractionThrownError(err: unknown): ExtractionFailureClass {\n try {\n const status = httpStatusFromError(err);\n if (status === 401 || status === 403) return \"auth_config\";\n if (isTransientHttpError(err)) return \"provider_retryable\";\n return \"provider_retryable\";\n } catch {\n return \"provider_retryable\";\n }\n}\n\n/**\n * Map the gateway fallback's discriminated parse-failure reason to a coarse\n * extraction failure class. \"no models configured\" is an auth/config problem;\n * an HTTP/transport failure backs off; an unparseable-but-present response is a\n * genuine empty-parse.\n */\nexport function classifyFallbackParseFailure(\n reason: \"no_models\" | \"empty\" | \"http_error\" | \"schema_rejection\" | \"timeout\",\n): ExtractionFailureClass {\n switch (reason) {\n case \"no_models\":\n return \"auth_config\";\n case \"http_error\":\n case \"timeout\":\n return \"provider_retryable\";\n case \"empty\":\n case \"schema_rejection\":\n return \"parse_empty\";\n }\n}\n\n/**\n * Operator-visible extraction parse-failure line. Keeps the historical\n * greppable prefix and appends the fields that used to live only at debug.\n */\nexport function formatExtractionParseFailureLog(input: {\n failureReason: string;\n attemptedModel?: string;\n httpStatus?: number;\n errorClass?: string;\n traceId: string;\n}): string {\n const modelUsed =\n typeof input.attemptedModel === \"string\" && input.attemptedModel.length > 0\n ? input.attemptedModel\n : \"unknown\";\n const errorClass =\n typeof input.errorClass === \"string\" && input.errorClass.length > 0\n ? input.errorClass\n : \"none\";\n const httpStatus =\n typeof input.httpStatus === \"number\" && Number.isFinite(input.httpStatus)\n ? String(input.httpStatus)\n : \"none\";\n return [\n \"extraction fallback returned no parsed output\",\n `failureReason=${input.failureReason}`,\n `modelUsed=${modelUsed}`,\n `errorClass=${errorClass}`,\n `httpStatus=${httpStatus}`,\n `traceId=${input.traceId}`,\n ].join(\" \");\n}\n\n/**\n * The local endpoint answered, and what it said rejects this input (unusable content, or a client error that is not\n * auth, timeout or rate limiting): the chunk's problem, not an outage. Retried like an empty parse, and a trigger-drain\n * chunk that keeps drawing it is dropped after its recovery copy is saved.\n */\nexport class LocalLlmRejectedError extends Error {\n constructor(readonly httpStatus?: number) {\n super(httpStatus === undefined ? \"local LLM answered with unusable content\" : `local LLM rejected the input (HTTP ${httpStatus})`);\n this.name = \"LocalLlmRejectedError\";\n }\n}\n\n/** What the local client recorded about a failed call (`failureDiag`). */\nexport interface LocalFailureDiag {\n lastError?: unknown;\n /** The completion's `finish_reason` as the client received it (validated before it is logged). */\n finishReason?: string;\n}\n\n/** The HTTP status when the local endpoint answered and refuses this input (400, 413, 422); else undefined. A wrong model name or route (404, 405, 410), auth, timeout and rate limiting are the setup's problem, not the chunk's. */\nexport function localRejectionStatus(diag: LocalFailureDiag): number | undefined {\n const status = httpStatusFromError(diag.lastError);\n return status !== undefined && [400, 413, 422].includes(status) ? status : undefined;\n}\n"],"mappings":";;;;;AAOA,SAAS,oBAAoB,KAAkC;AAC7D,MAAI,CAAC,OAAO,OAAO,QAAQ,SAAU,QAAO;AAC5C,MAAI,YAAY,OAAO,OAAO,IAAI,WAAW,YAAY,OAAO,SAAS,IAAI,MAAM,EAAG,QAAO,IAAI;AACjG,MAAI,gBAAgB,OAAO,OAAO,IAAI,eAAe,YAAY,OAAO,SAAS,IAAI,UAAU,GAAG;AAChG,WAAO,IAAI;AAAA,EACb;AACA,SAAO;AACT;AASO,SAAS,8BAA8B,KAAsC;AAClF,MAAI;AACF,UAAM,SAAS,oBAAoB,GAAG;AACtC,QAAI,WAAW,OAAO,WAAW,IAAK,QAAO;AAC7C,QAAI,qBAAqB,GAAG,EAAG,QAAO;AACtC,WAAO;AAAA,EACT,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAQO,SAAS,6BACd,QACwB;AACxB,UAAQ,QAAQ;AAAA,IACd,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,EACX;AACF;AAMO,SAAS,gCAAgC,OAMrC;AACT,QAAM,YACJ,OAAO,MAAM,mBAAmB,YAAY,MAAM,eAAe,SAAS,IACtE,MAAM,iBACN;AACN,QAAM,aACJ,OAAO,MAAM,eAAe,YAAY,MAAM,WAAW,SAAS,IAC9D,MAAM,aACN;AACN,QAAM,aACJ,OAAO,MAAM,eAAe,YAAY,OAAO,SAAS,MAAM,UAAU,IACpE,OAAO,MAAM,UAAU,IACvB;AACN,SAAO;AAAA,IACL;AAAA,IACA,iBAAiB,MAAM,aAAa;AAAA,IACpC,aAAa,SAAS;AAAA,IACtB,cAAc,UAAU;AAAA,IACxB,cAAc,UAAU;AAAA,IACxB,WAAW,MAAM,OAAO;AAAA,EAC1B,EAAE,KAAK,GAAG;AACZ;AAOO,IAAM,wBAAN,cAAoC,MAAM;AAAA,EAC/C,YAAqB,YAAqB;AACxC,UAAM,eAAe,SAAY,6CAA6C,sCAAsC,UAAU,GAAG;AAD9G;AAEnB,SAAK,OAAO;AAAA,EACd;AAAA,EAHqB;AAIvB;AAUO,SAAS,qBAAqB,MAA4C;AAC/E,QAAM,SAAS,oBAAoB,KAAK,SAAS;AACjD,SAAO,WAAW,UAAa,CAAC,KAAK,KAAK,GAAG,EAAE,SAAS,MAAM,IAAI,SAAS;AAC7E;","names":[]}
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
} from "./chunk-B2NXOVZN.js";
|
|
5
5
|
import {
|
|
6
6
|
TranscriptManager
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7DFJ4JX2.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveCommitmentLedgerDir,
|
|
10
10
|
validateCommitmentLedgerEntry
|
|
11
11
|
} from "./chunk-ZAJLJ35W.js";
|
|
12
12
|
import {
|
|
13
13
|
parseConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VIWACB5U.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-IWULSPDY.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-B7RWBZXW.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SC76A2ZT.js";
|
|
7
7
|
import {
|
|
8
8
|
countRecallTokenOverlap,
|
|
9
9
|
normalizeRecallTokens
|
|
@@ -109,4 +109,4 @@ export {
|
|
|
109
109
|
compareVerifiedEpisodeResults,
|
|
110
110
|
searchVerifiedEpisodes
|
|
111
111
|
};
|
|
112
|
-
//# sourceMappingURL=chunk-
|
|
112
|
+
//# sourceMappingURL=chunk-JLUOSKCU.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
WHO_KNOWS_DEFAULT_LIMIT,
|
|
3
3
|
WHO_KNOWS_MAX_LIMIT,
|
|
4
4
|
validateWhoKnowsInput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AM5ZNSUK.js";
|
|
6
6
|
|
|
7
7
|
// src/who-knows-cli.ts
|
|
8
8
|
function extractWhoKnowsRawArgs(rest) {
|
|
@@ -74,4 +74,4 @@ export {
|
|
|
74
74
|
renderWhoKnowsText,
|
|
75
75
|
renderWhoKnows
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=chunk-
|
|
77
|
+
//# sourceMappingURL=chunk-JWFBN2LM.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MeilisearchBackend
|
|
3
|
+
} from "./chunk-PFUXPTBT.js";
|
|
1
4
|
import {
|
|
2
5
|
NoopSearchBackend
|
|
3
6
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -13,12 +16,9 @@ import {
|
|
|
13
16
|
import {
|
|
14
17
|
LanceDbBackend
|
|
15
18
|
} from "./chunk-DOJBV6WR.js";
|
|
16
|
-
import {
|
|
17
|
-
MeilisearchBackend
|
|
18
|
-
} from "./chunk-PFUXPTBT.js";
|
|
19
19
|
import {
|
|
20
20
|
createConversationIndexBackend
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TFA6HPOA.js";
|
|
22
22
|
import {
|
|
23
23
|
FaissConversationIndexAdapter
|
|
24
24
|
} from "./chunk-F4TWWUMP.js";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
createConversationSearchBackend,
|
|
180
180
|
createConversationIndexRuntime
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-KBO44266.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PROJECTION_REBUILD_RUNNER_FLAG
|
|
3
|
+
} from "./chunk-3OEZA5TR.js";
|
|
1
4
|
import {
|
|
2
5
|
ensureContradictionScanCron,
|
|
3
6
|
ensureDaySummaryCron,
|
|
@@ -9,29 +12,26 @@ import {
|
|
|
9
12
|
} from "./chunk-666A3MOW.js";
|
|
10
13
|
import {
|
|
11
14
|
rebuildMemoryLifecycleLedger
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
PROJECTION_REBUILD_RUNNER_FLAG
|
|
15
|
-
} from "./chunk-HOYYVQN2.js";
|
|
15
|
+
} from "./chunk-3S7VJJTG.js";
|
|
16
16
|
import {
|
|
17
17
|
startLocationAutoSync
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-X33UXMUS.js";
|
|
19
19
|
import {
|
|
20
20
|
CompoundingEngine,
|
|
21
21
|
isIsoWeekId,
|
|
22
22
|
msUntilNextIsoWeek,
|
|
23
23
|
previousIsoWeekId
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UDUJIKFQ.js";
|
|
25
25
|
import {
|
|
26
26
|
planNamespaceMaintenance,
|
|
27
27
|
runNamespaceMaintenanceBatchPlan
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-53VLXNAO.js";
|
|
29
29
|
import {
|
|
30
30
|
rebuildMemoryProjection
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-R6DTQYSK.js";
|
|
32
32
|
import {
|
|
33
33
|
LocalLlmClient
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2NGTY22Z.js";
|
|
35
35
|
import {
|
|
36
36
|
DEFAULT_TIMELINE_CATEGORIES,
|
|
37
37
|
TIMELINE_RESERVED_IDLE,
|
|
@@ -2874,4 +2874,4 @@ export {
|
|
|
2874
2874
|
ActivitySyncScheduler,
|
|
2875
2875
|
MaintenanceScheduler
|
|
2876
2876
|
};
|
|
2877
|
-
//# sourceMappingURL=chunk-
|
|
2877
|
+
//# sourceMappingURL=chunk-KU3K2WNM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isValidCapsuleSince
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7LCGFUMB.js";
|
|
4
4
|
import {
|
|
5
5
|
CAPSULE_ID_PATTERN
|
|
6
6
|
} from "./chunk-WEHSQBFR.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES,
|
|
14
14
|
OFFLINE_SYNC_MAX_MTIME_MS
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XN3F3V5H.js";
|
|
16
16
|
import {
|
|
17
17
|
validateArchiveRelativePath
|
|
18
18
|
} from "./chunk-GCGJW34D.js";
|
|
@@ -580,4 +580,4 @@ export {
|
|
|
580
580
|
actionConfidenceRequestSchema,
|
|
581
581
|
validateRequest
|
|
582
582
|
};
|
|
583
|
-
//# sourceMappingURL=chunk-
|
|
583
|
+
//# sourceMappingURL=chunk-LP326T2D.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-IEEV27BC.js";
|
|
4
4
|
import {
|
|
5
5
|
deepRecallRequestSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LP326T2D.js";
|
|
7
7
|
import {
|
|
8
8
|
EngramAccessInputError
|
|
9
9
|
} from "./chunk-CJCTKL6Y.js";
|
|
@@ -40,4 +40,4 @@ async function respondDeepRecall(req, res, respondJson, readJsonBody, service, s
|
|
|
40
40
|
export {
|
|
41
41
|
respondDeepRecall
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=chunk-
|
|
43
|
+
//# sourceMappingURL=chunk-MFKWQJRQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SC76A2ZT.js";
|
|
4
4
|
import {
|
|
5
5
|
isSafeRouteNamespace
|
|
6
6
|
} from "./chunk-PCXDUHQH.js";
|
|
@@ -416,4 +416,4 @@ export {
|
|
|
416
416
|
resolveNamespaceStorageRoot,
|
|
417
417
|
NamespaceStorageRouter
|
|
418
418
|
};
|
|
419
|
-
//# sourceMappingURL=chunk-
|
|
419
|
+
//# sourceMappingURL=chunk-NMQF4CAA.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamespaceStorageRouter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NMQF4CAA.js";
|
|
4
4
|
import {
|
|
5
5
|
namespaceCollectionName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QQ4GEUCX.js";
|
|
7
7
|
import {
|
|
8
8
|
isSafeRouteNamespace
|
|
9
9
|
} from "./chunk-PCXDUHQH.js";
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
verifyNamespaces,
|
|
214
214
|
runNamespaceMigration
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-PJIJA3MK.js.map
|
|
@@ -39,6 +39,9 @@ import {
|
|
|
39
39
|
stripUntrustedFactSpans,
|
|
40
40
|
truncateLocalExtractionConversation
|
|
41
41
|
} from "./chunk-3SL52JKD.js";
|
|
42
|
+
import {
|
|
43
|
+
attachExtractionProvenance
|
|
44
|
+
} from "./chunk-D3ZKHLN2.js";
|
|
42
45
|
import {
|
|
43
46
|
containsExtractionPlaceholder,
|
|
44
47
|
extractionAttributes,
|
|
@@ -47,15 +50,17 @@ import {
|
|
|
47
50
|
isPlainRecord
|
|
48
51
|
} from "./chunk-BVRZSI7Q.js";
|
|
49
52
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
53
|
+
buildUnusableReplyDiagnostic,
|
|
54
|
+
formatUnusableReplyDiagnostic,
|
|
55
|
+
looksLikeExtractionResultPayload
|
|
56
|
+
} from "./chunk-V24YLFJW.js";
|
|
52
57
|
import {
|
|
53
58
|
LocalLlmRejectedError,
|
|
54
59
|
classifyExtractionThrownError,
|
|
55
60
|
classifyFallbackParseFailure,
|
|
56
61
|
formatExtractionParseFailureLog,
|
|
57
62
|
localRejectionStatus
|
|
58
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-IFFCHE3O.js";
|
|
59
64
|
import {
|
|
60
65
|
delinearize
|
|
61
66
|
} from "./chunk-VEWZZM3H.js";
|
|
@@ -66,7 +71,7 @@ import {
|
|
|
66
71
|
} from "./chunk-7G5NTS7F.js";
|
|
67
72
|
import {
|
|
68
73
|
LocalLlmClient
|
|
69
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-2NGTY22Z.js";
|
|
70
75
|
import {
|
|
71
76
|
CONSOLIDATION_RESPONSE_SCHEMA,
|
|
72
77
|
CUE_ANCHOR_PROMPT_INSTRUCTION,
|
|
@@ -344,9 +349,6 @@ var ExtractionEngine = class {
|
|
|
344
349
|
hasExtractionOutputs(result) {
|
|
345
350
|
return result.facts.length > 0 || result.entities.length > 0 || result.questions.length > 0 || result.profileUpdates.length > 0 || (result.relationships?.length ?? 0) > 0;
|
|
346
351
|
}
|
|
347
|
-
looksLikeExtractionResultPayload(parsed) {
|
|
348
|
-
return !!parsed && typeof parsed === "object" && !Array.isArray(parsed) && ("facts" in parsed || "entities" in parsed || "profileUpdates" in parsed || "questions" in parsed || "relationships" in parsed || "identityReflection" in parsed);
|
|
349
|
-
}
|
|
350
352
|
normalizeExtractionResultPayload(parsed) {
|
|
351
353
|
const entities = Array.isArray(parsed?.entities) ? parsed.entities.map((candidate) => this.normalizeEntityUpdate(candidate)).filter((entity) => entity !== void 0 && entity.name.length > 0) : [];
|
|
352
354
|
const facts = Array.isArray(parsed?.facts) ? parsed.facts.map((candidate) => {
|
|
@@ -1292,7 +1294,10 @@ ${truncatedConversation}`;
|
|
|
1292
1294
|
);
|
|
1293
1295
|
if (!response?.content) {
|
|
1294
1296
|
const rejected = localRejectionStatus(failureDiag);
|
|
1295
|
-
if (rejected !== void 0)
|
|
1297
|
+
if (rejected !== void 0) {
|
|
1298
|
+
log.warn(formatUnusableReplyDiagnostic(buildUnusableReplyDiagnostic("", failureDiag.finishReason, 0)));
|
|
1299
|
+
throw new LocalLlmRejectedError(rejected);
|
|
1300
|
+
}
|
|
1296
1301
|
log.debug("extractWithLocalLlm: chatCompletion returned null or empty content");
|
|
1297
1302
|
return null;
|
|
1298
1303
|
}
|
|
@@ -1302,7 +1307,7 @@ ${truncatedConversation}`;
|
|
|
1302
1307
|
try {
|
|
1303
1308
|
log.debug(`extractWithLocalLlm: attempting JSON parse, candidate length=${candidate.length}`);
|
|
1304
1309
|
const parsed = JSON.parse(candidate);
|
|
1305
|
-
if (!
|
|
1310
|
+
if (!looksLikeExtractionResultPayload(parsed)) {
|
|
1306
1311
|
continue;
|
|
1307
1312
|
}
|
|
1308
1313
|
const result = this.normalizeExtractionResultPayload(parsed);
|
|
@@ -1319,6 +1324,7 @@ ${truncatedConversation}`;
|
|
|
1319
1324
|
log.debug(`extractWithLocalLlm: extracted ${partial.facts.length} partial facts from truncated JSON`);
|
|
1320
1325
|
return partial;
|
|
1321
1326
|
}
|
|
1327
|
+
log.warn(formatUnusableReplyDiagnostic(buildUnusableReplyDiagnostic(content, failureDiag.finishReason, partial.facts.length)));
|
|
1322
1328
|
throw new LocalLlmRejectedError();
|
|
1323
1329
|
}
|
|
1324
1330
|
/**
|
|
@@ -2443,4 +2449,4 @@ export {
|
|
|
2443
2449
|
shouldEnableLocalExtractionThinking,
|
|
2444
2450
|
ExtractionEngine
|
|
2445
2451
|
};
|
|
2446
|
-
//# sourceMappingURL=chunk-
|
|
2452
|
+
//# sourceMappingURL=chunk-Q5Q3IHPP.js.map
|