@remnic/core 10.0.74 → 10.0.76
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 +46 -45
- package/dist/access-authorization-probe.js +47 -46
- package/dist/access-boundary.js +46 -45
- package/dist/access-cli.js +102 -101
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.js +46 -45
- package/dist/access-http-briefing.js +47 -46
- package/dist/access-http-query.js +48 -47
- package/dist/access-http.js +65 -64
- package/dist/access-identity-continuity-surface.js +46 -45
- package/dist/access-lcm-surface.js +46 -45
- package/dist/access-mcp.js +55 -54
- package/dist/access-namespace-preflight.js +46 -45
- package/dist/access-observe-write-category.js +6 -6
- package/dist/access-observe-write-surface.js +46 -45
- package/dist/access-offline-manifest.js +5 -5
- package/dist/access-operations-batch.js +47 -46
- package/dist/access-operations.js +54 -53
- package/dist/access-recall-concurrency.js +46 -45
- package/dist/access-recall-response.js +46 -45
- package/dist/access-recall-surface.js +46 -45
- package/dist/access-schema.js +5 -5
- package/dist/access-service.js +46 -45
- package/dist/access-surface-catalog.js +48 -47
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/active-recall.js +16 -16
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/{auto-sync-ANOJDQD4.js → auto-sync-XHSS3XPL.js} +5 -5
- package/dist/briefing.js +13 -13
- package/dist/buffer.js +3 -3
- package/dist/calibration.js +5 -4
- package/dist/calibration.js.map +1 -1
- package/dist/causal-consolidation.js +14 -14
- package/dist/{chunk-NHTEEGE4.js → chunk-233S3MXC.js} +3 -3
- package/dist/{chunk-N7NAGECH.js → chunk-36B5VPRU.js} +2 -2
- package/dist/{chunk-LC55ZXLR.js → chunk-3GGCMRO7.js} +2 -2
- package/dist/{chunk-RZED7FAU.js → chunk-3M7YP42P.js} +2 -2
- package/dist/{chunk-KPCTZB3U.js → chunk-3MBSD53O.js} +2 -2
- package/dist/{chunk-VWHWWIFS.js → chunk-4DLZ2ITE.js} +2 -2
- package/dist/{chunk-WN2DASTS.js → chunk-5BE3FLKL.js} +4 -4
- package/dist/{chunk-45SFSQON.js → chunk-5IQL4N37.js} +9 -9
- package/dist/{chunk-CIL4GHMD.js → chunk-6Q6AQ36B.js} +2 -2
- package/dist/{chunk-XV7PJVQO.js → chunk-6RPPZL7W.js} +2 -2
- package/dist/{chunk-EQ6EMJRG.js → chunk-6Y5ANLDH.js} +2 -2
- package/dist/{chunk-V33ETCF6.js → chunk-7FFGWIBN.js} +2 -2
- package/dist/{chunk-5RW247F5.js → chunk-AY2UK5XK.js} +14 -9
- package/dist/chunk-AY2UK5XK.js.map +1 -0
- package/dist/{chunk-5QV6CE6K.js → chunk-B36ACJG7.js} +2 -2
- package/dist/{chunk-2WDFLORC.js → chunk-BZTA7DR4.js} +3 -3
- package/dist/{chunk-5XOCAJHC.js → chunk-C44DRDZM.js} +2 -2
- package/dist/{chunk-UIFWZMO7.js → chunk-CLVILSBR.js} +7 -7
- package/dist/{chunk-KH2HB3OW.js → chunk-COIQ5N4J.js} +2 -2
- package/dist/{chunk-CU5N4RDI.js → chunk-DANFOVQG.js} +2 -2
- package/dist/{chunk-FU2ZLXVN.js → chunk-DEGE32C3.js} +2 -2
- package/dist/{chunk-YIJECSIX.js → chunk-DJDJBMFX.js} +9 -2
- package/dist/chunk-DJDJBMFX.js.map +1 -0
- package/dist/{chunk-LUXVW5UU.js → chunk-E22CQZ3H.js} +14 -14
- package/dist/{chunk-DVDRKCZK.js → chunk-ELUG6NKQ.js} +2 -2
- package/dist/{chunk-DLLQMNYQ.js → chunk-F3FNXE7C.js} +3 -3
- package/dist/{chunk-YIXWY4OZ.js → chunk-FETPTCQZ.js} +2 -2
- package/dist/{chunk-WPPAXTW6.js → chunk-FGUWCE5I.js} +2 -2
- package/dist/{chunk-FDUCIUQ5.js → chunk-FJ2VJTGA.js} +2 -2
- package/dist/{chunk-ENPJX3BB.js → chunk-FMFCQRDM.js} +3 -3
- package/dist/{chunk-BNU5TQLR.js → chunk-FOQ7TW2T.js} +2 -2
- package/dist/{chunk-DHQLVS7J.js → chunk-FP2AT4WL.js} +2 -2
- package/dist/{chunk-DLZGSZVC.js → chunk-FYQUUIPI.js} +4 -4
- package/dist/{chunk-XTN54NML.js → chunk-G3T6YMBO.js} +4 -4
- package/dist/{chunk-MUH7RR6T.js → chunk-G5NH3SSX.js} +5 -5
- package/dist/{chunk-G7I2RQ64.js → chunk-GCJA5KKT.js} +2 -2
- package/dist/{chunk-A2BH2VE2.js → chunk-GWOFCHPN.js} +2 -2
- package/dist/{chunk-TJ5YGCPV.js → chunk-GXVK754R.js} +2 -2
- package/dist/{chunk-Y2ZGT4W7.js → chunk-HB5TNQMM.js} +2 -2
- package/dist/{chunk-QYLEE4UQ.js → chunk-HCFNZWFB.js} +2 -2
- package/dist/{chunk-F4ZHKDBW.js → chunk-HLWXCDUQ.js} +2 -2
- package/dist/{chunk-Q2QPHGEC.js → chunk-HR6NTVYZ.js} +51 -66
- package/dist/{chunk-Q2QPHGEC.js.map → chunk-HR6NTVYZ.js.map} +1 -1
- package/dist/{chunk-62O7YWBR.js → chunk-HTDXNIO6.js} +2 -2
- package/dist/{chunk-4RASUAN3.js → chunk-HXFIILGF.js} +4 -4
- package/dist/{chunk-6EKP7BJW.js → chunk-I4LJJ44E.js} +2 -2
- package/dist/{chunk-STDAR7M7.js → chunk-IBQ7LGUJ.js} +6 -6
- package/dist/{chunk-PUP7NTNB.js → chunk-IRFQKR4Y.js} +2 -2
- package/dist/{chunk-BEQU6QGW.js → chunk-IVXOYE43.js} +2 -2
- package/dist/{chunk-WXPBDEMW.js → chunk-JDQEQE2R.js} +2 -2
- package/dist/{chunk-CAVXVGYK.js → chunk-KAED7IBB.js} +2 -2
- package/dist/{chunk-OFOV6TTZ.js → chunk-KNZDGZSY.js} +2 -2
- package/dist/{chunk-KFZ3A2EA.js → chunk-L4QYW2HO.js} +2 -2
- package/dist/{chunk-IXBIL5WY.js → chunk-LJUQPT5G.js} +3 -3
- package/dist/{chunk-4SOISEZ3.js → chunk-MBENRPMY.js} +10 -10
- package/dist/chunk-MJFL75J6.js +42 -0
- package/dist/chunk-MJFL75J6.js.map +1 -0
- package/dist/{chunk-OKBGLAAI.js → chunk-N6GEGRCT.js} +2 -2
- package/dist/{chunk-U2A56LLF.js → chunk-OBQ2NZAR.js} +10 -10
- package/dist/{chunk-WGRAB3KB.js → chunk-ORVPS4ZW.js} +2 -2
- package/dist/{chunk-PFUXPTBT.js → chunk-P3AQ2YSX.js} +4 -4
- package/dist/{chunk-DE4U5PTV.js → chunk-P4TEQSIZ.js} +2 -2
- package/dist/{chunk-DQVT45LZ.js → chunk-P7HNMNN2.js} +7 -7
- package/dist/{chunk-ZG4GNPRE.js → chunk-PBE7NFB5.js} +5 -5
- package/dist/{chunk-T64HVBAP.js → chunk-PLGBPFEO.js} +2 -2
- package/dist/{chunk-5MA7ZLPD.js → chunk-QNUNAXBE.js} +35 -1
- package/dist/chunk-QNUNAXBE.js.map +1 -0
- package/dist/{chunk-GO2GCJ7S.js → chunk-R24RYSQX.js} +41 -41
- package/dist/{chunk-YJX3K5LK.js → chunk-RXGFITWS.js} +4 -4
- package/dist/{chunk-JEX2JL3U.js → chunk-SHVLNI4L.js} +2 -2
- package/dist/{chunk-LIGA5KHG.js → chunk-SY4AFWUZ.js} +31 -31
- package/dist/{chunk-GI47WZWA.js → chunk-SYDPJUFR.js} +2 -2
- package/dist/{chunk-55NKJDKX.js → chunk-SZBZOUHR.js} +2 -2
- package/dist/{chunk-UEY5TPEE.js → chunk-T6C3G67T.js} +2 -2
- package/dist/{chunk-HPCWJMMQ.js → chunk-TD5VTVPT.js} +5 -5
- package/dist/{chunk-E3NBMTTX.js → chunk-TLTBACYX.js} +2 -2
- package/dist/{chunk-AVVCPA7U.js → chunk-UCPH56YX.js} +2 -2
- package/dist/{chunk-GJOBCNST.js → chunk-VEQVXNWR.js} +4 -4
- package/dist/{chunk-2H3SITYD.js → chunk-VEWTHVX2.js} +2 -2
- package/dist/{chunk-K5Y42U2P.js → chunk-VPEMGBTI.js} +2 -2
- package/dist/{chunk-5JBVPJCT.js → chunk-WIAXVBQH.js} +2 -2
- package/dist/{chunk-KWUMXJN7.js → chunk-X53HJENJ.js} +2 -2
- package/dist/{chunk-KY3KJUNN.js → chunk-XC7OYOQC.js} +6 -6
- package/dist/{chunk-43FLJLT2.js → chunk-Y5HZFIQO.js} +1 -1
- package/dist/{chunk-DOJBV6WR.js → chunk-YK6SFDP2.js} +4 -4
- package/dist/{chunk-WBMT3C6A.js → chunk-Z3CKK5RR.js} +3 -3
- package/dist/{chunk-RQHIN3PY.js → chunk-ZG57BEUS.js} +2 -2
- package/dist/{chunk-MOJ4UDA3.js → chunk-ZZSFRWKD.js} +2 -2
- package/dist/cli.js +78 -77
- package/dist/coding/export-okf-codegraph.js +12 -12
- package/dist/compounding/engine.js +14 -14
- package/dist/config.js +16 -16
- package/dist/connectors/codex-materialize-runner.js +13 -13
- package/dist/connectors/index.js +13 -13
- package/dist/convergence-refresh.js +15 -15
- package/dist/corpus-watermark.js +15 -15
- package/dist/deep-recall-http-glue.js +6 -6
- package/dist/deep-recall-policy-llm.js +3 -3
- package/dist/deep-recall.js +2 -2
- package/dist/entity-retrieval.js +13 -13
- package/dist/external-wiki-access.js +47 -46
- package/dist/extraction-faithfulness.js +3 -3
- package/dist/extraction-judge.js +3 -3
- package/dist/extraction.js +21 -20
- package/dist/fallback-llm-codex-subscription.d.ts.map +1 -1
- package/dist/fallback-llm-codex-subscription.js +1 -1
- package/dist/fallback-llm.js +2 -2
- package/dist/{first-start-migration-A6PHIBUQ.js → first-start-migration-QVD22WWS.js} +4 -4
- package/dist/harmonic-retrieval.js +13 -13
- package/dist/index.js +127 -126
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.js +5 -5
- package/dist/local-llm-native-schema.d.ts +50 -0
- package/dist/local-llm-native-schema.d.ts.map +1 -0
- package/dist/local-llm-native-schema.js +8 -0
- package/dist/local-llm-native-schema.js.map +1 -0
- package/dist/local-llm.d.ts +1 -0
- package/dist/local-llm.d.ts.map +1 -1
- package/dist/local-llm.js +4 -3
- package/dist/location/index.js +15 -15
- package/dist/maintenance/memory-governance.js +13 -13
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +13 -13
- package/dist/maintenance/rebuild-memory-projection-runner.js +15 -15
- package/dist/maintenance/rebuild-memory-projection.js +14 -14
- package/dist/memory-browse-operations.js +47 -46
- package/dist/memory-browse.js +3 -3
- package/dist/model-registry.d.ts +11 -0
- package/dist/model-registry.d.ts.map +1 -1
- package/dist/model-registry.js +1 -1
- package/dist/namespaces/migrate.js +14 -14
- package/dist/namespaces/search.js +7 -7
- package/dist/namespaces/storage.js +13 -13
- 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 +16 -16
- package/dist/operator-toolkit.js +25 -25
- package/dist/orchestration/backlog-scheduler.d.ts +8 -0
- package/dist/orchestration/backlog-scheduler.d.ts.map +1 -1
- package/dist/orchestration/backlog-scheduler.js +115 -103
- package/dist/orchestration/backlog-scheduler.js.map +1 -1
- package/dist/orchestration/buffer-drain-runner.js +103 -102
- package/dist/orchestration/extraction-queue-coordinator.d.ts +4 -9
- package/dist/orchestration/extraction-queue-coordinator.d.ts.map +1 -1
- package/dist/orchestration/maintenance.js +26 -25
- package/dist/orchestrator.js +102 -101
- package/dist/recall-navigation-operations.js +47 -46
- package/dist/recall-navigation.js +46 -45
- package/dist/recall-planner-llm.js +2 -2
- package/dist/recall-state-view-admission.js +3 -3
- package/dist/recall-why-service.js +3 -3
- package/dist/resume-bundles.js +16 -16
- package/dist/search/factory.js +6 -6
- package/dist/search/index.js +11 -11
- package/dist/search/lancedb-backend.js +2 -2
- package/dist/search/meilisearch-backend.js +2 -2
- package/dist/search/orama-backend.js +2 -2
- package/dist/semantic-consolidation.js +14 -14
- package/dist/semantic-rule-promotion.js +13 -13
- package/dist/semantic-rule-verifier.js +13 -13
- package/dist/source-agent-qualifier.js +16 -16
- package/dist/standup/build.js +13 -13
- package/dist/storage.js +12 -12
- package/dist/summarizer.js +7 -6
- package/dist/support-passport/index.js +49 -48
- package/dist/transfer/export-okf.js +13 -13
- package/dist/verified-recall.js +13 -13
- package/dist/who-knows-cli.js +14 -14
- package/dist/who-knows.js +13 -13
- package/package.json +2 -2
- package/src/backlog-scheduler.test.ts +104 -0
- package/src/fallback-llm-codex-subscription.ts +10 -1
- package/src/local-llm-json-schema-fallback.test.ts +315 -0
- package/src/local-llm-native-schema.ts +78 -0
- package/src/local-llm.ts +8 -9
- package/src/model-registry.ts +40 -0
- package/src/orchestration/backlog-scheduler.ts +32 -0
- package/src/orchestration/extraction-queue-coordinator.ts +4 -19
- package/src/orchestrator-extraction-queue.test.ts +70 -13
- package/dist/chunk-5MA7ZLPD.js.map +0 -1
- package/dist/chunk-5RW247F5.js.map +0 -1
- package/dist/chunk-YIJECSIX.js.map +0 -1
- /package/dist/{auto-sync-ANOJDQD4.js.map → auto-sync-XHSS3XPL.js.map} +0 -0
- /package/dist/{chunk-NHTEEGE4.js.map → chunk-233S3MXC.js.map} +0 -0
- /package/dist/{chunk-N7NAGECH.js.map → chunk-36B5VPRU.js.map} +0 -0
- /package/dist/{chunk-LC55ZXLR.js.map → chunk-3GGCMRO7.js.map} +0 -0
- /package/dist/{chunk-RZED7FAU.js.map → chunk-3M7YP42P.js.map} +0 -0
- /package/dist/{chunk-KPCTZB3U.js.map → chunk-3MBSD53O.js.map} +0 -0
- /package/dist/{chunk-VWHWWIFS.js.map → chunk-4DLZ2ITE.js.map} +0 -0
- /package/dist/{chunk-WN2DASTS.js.map → chunk-5BE3FLKL.js.map} +0 -0
- /package/dist/{chunk-45SFSQON.js.map → chunk-5IQL4N37.js.map} +0 -0
- /package/dist/{chunk-CIL4GHMD.js.map → chunk-6Q6AQ36B.js.map} +0 -0
- /package/dist/{chunk-XV7PJVQO.js.map → chunk-6RPPZL7W.js.map} +0 -0
- /package/dist/{chunk-EQ6EMJRG.js.map → chunk-6Y5ANLDH.js.map} +0 -0
- /package/dist/{chunk-V33ETCF6.js.map → chunk-7FFGWIBN.js.map} +0 -0
- /package/dist/{chunk-5QV6CE6K.js.map → chunk-B36ACJG7.js.map} +0 -0
- /package/dist/{chunk-2WDFLORC.js.map → chunk-BZTA7DR4.js.map} +0 -0
- /package/dist/{chunk-5XOCAJHC.js.map → chunk-C44DRDZM.js.map} +0 -0
- /package/dist/{chunk-UIFWZMO7.js.map → chunk-CLVILSBR.js.map} +0 -0
- /package/dist/{chunk-KH2HB3OW.js.map → chunk-COIQ5N4J.js.map} +0 -0
- /package/dist/{chunk-CU5N4RDI.js.map → chunk-DANFOVQG.js.map} +0 -0
- /package/dist/{chunk-FU2ZLXVN.js.map → chunk-DEGE32C3.js.map} +0 -0
- /package/dist/{chunk-LUXVW5UU.js.map → chunk-E22CQZ3H.js.map} +0 -0
- /package/dist/{chunk-DVDRKCZK.js.map → chunk-ELUG6NKQ.js.map} +0 -0
- /package/dist/{chunk-DLLQMNYQ.js.map → chunk-F3FNXE7C.js.map} +0 -0
- /package/dist/{chunk-YIXWY4OZ.js.map → chunk-FETPTCQZ.js.map} +0 -0
- /package/dist/{chunk-WPPAXTW6.js.map → chunk-FGUWCE5I.js.map} +0 -0
- /package/dist/{chunk-FDUCIUQ5.js.map → chunk-FJ2VJTGA.js.map} +0 -0
- /package/dist/{chunk-ENPJX3BB.js.map → chunk-FMFCQRDM.js.map} +0 -0
- /package/dist/{chunk-BNU5TQLR.js.map → chunk-FOQ7TW2T.js.map} +0 -0
- /package/dist/{chunk-DHQLVS7J.js.map → chunk-FP2AT4WL.js.map} +0 -0
- /package/dist/{chunk-DLZGSZVC.js.map → chunk-FYQUUIPI.js.map} +0 -0
- /package/dist/{chunk-XTN54NML.js.map → chunk-G3T6YMBO.js.map} +0 -0
- /package/dist/{chunk-MUH7RR6T.js.map → chunk-G5NH3SSX.js.map} +0 -0
- /package/dist/{chunk-G7I2RQ64.js.map → chunk-GCJA5KKT.js.map} +0 -0
- /package/dist/{chunk-A2BH2VE2.js.map → chunk-GWOFCHPN.js.map} +0 -0
- /package/dist/{chunk-TJ5YGCPV.js.map → chunk-GXVK754R.js.map} +0 -0
- /package/dist/{chunk-Y2ZGT4W7.js.map → chunk-HB5TNQMM.js.map} +0 -0
- /package/dist/{chunk-QYLEE4UQ.js.map → chunk-HCFNZWFB.js.map} +0 -0
- /package/dist/{chunk-F4ZHKDBW.js.map → chunk-HLWXCDUQ.js.map} +0 -0
- /package/dist/{chunk-62O7YWBR.js.map → chunk-HTDXNIO6.js.map} +0 -0
- /package/dist/{chunk-4RASUAN3.js.map → chunk-HXFIILGF.js.map} +0 -0
- /package/dist/{chunk-6EKP7BJW.js.map → chunk-I4LJJ44E.js.map} +0 -0
- /package/dist/{chunk-STDAR7M7.js.map → chunk-IBQ7LGUJ.js.map} +0 -0
- /package/dist/{chunk-PUP7NTNB.js.map → chunk-IRFQKR4Y.js.map} +0 -0
- /package/dist/{chunk-BEQU6QGW.js.map → chunk-IVXOYE43.js.map} +0 -0
- /package/dist/{chunk-WXPBDEMW.js.map → chunk-JDQEQE2R.js.map} +0 -0
- /package/dist/{chunk-CAVXVGYK.js.map → chunk-KAED7IBB.js.map} +0 -0
- /package/dist/{chunk-OFOV6TTZ.js.map → chunk-KNZDGZSY.js.map} +0 -0
- /package/dist/{chunk-KFZ3A2EA.js.map → chunk-L4QYW2HO.js.map} +0 -0
- /package/dist/{chunk-IXBIL5WY.js.map → chunk-LJUQPT5G.js.map} +0 -0
- /package/dist/{chunk-4SOISEZ3.js.map → chunk-MBENRPMY.js.map} +0 -0
- /package/dist/{chunk-OKBGLAAI.js.map → chunk-N6GEGRCT.js.map} +0 -0
- /package/dist/{chunk-U2A56LLF.js.map → chunk-OBQ2NZAR.js.map} +0 -0
- /package/dist/{chunk-WGRAB3KB.js.map → chunk-ORVPS4ZW.js.map} +0 -0
- /package/dist/{chunk-PFUXPTBT.js.map → chunk-P3AQ2YSX.js.map} +0 -0
- /package/dist/{chunk-DE4U5PTV.js.map → chunk-P4TEQSIZ.js.map} +0 -0
- /package/dist/{chunk-DQVT45LZ.js.map → chunk-P7HNMNN2.js.map} +0 -0
- /package/dist/{chunk-ZG4GNPRE.js.map → chunk-PBE7NFB5.js.map} +0 -0
- /package/dist/{chunk-T64HVBAP.js.map → chunk-PLGBPFEO.js.map} +0 -0
- /package/dist/{chunk-GO2GCJ7S.js.map → chunk-R24RYSQX.js.map} +0 -0
- /package/dist/{chunk-YJX3K5LK.js.map → chunk-RXGFITWS.js.map} +0 -0
- /package/dist/{chunk-JEX2JL3U.js.map → chunk-SHVLNI4L.js.map} +0 -0
- /package/dist/{chunk-LIGA5KHG.js.map → chunk-SY4AFWUZ.js.map} +0 -0
- /package/dist/{chunk-GI47WZWA.js.map → chunk-SYDPJUFR.js.map} +0 -0
- /package/dist/{chunk-55NKJDKX.js.map → chunk-SZBZOUHR.js.map} +0 -0
- /package/dist/{chunk-UEY5TPEE.js.map → chunk-T6C3G67T.js.map} +0 -0
- /package/dist/{chunk-HPCWJMMQ.js.map → chunk-TD5VTVPT.js.map} +0 -0
- /package/dist/{chunk-E3NBMTTX.js.map → chunk-TLTBACYX.js.map} +0 -0
- /package/dist/{chunk-AVVCPA7U.js.map → chunk-UCPH56YX.js.map} +0 -0
- /package/dist/{chunk-GJOBCNST.js.map → chunk-VEQVXNWR.js.map} +0 -0
- /package/dist/{chunk-2H3SITYD.js.map → chunk-VEWTHVX2.js.map} +0 -0
- /package/dist/{chunk-K5Y42U2P.js.map → chunk-VPEMGBTI.js.map} +0 -0
- /package/dist/{chunk-5JBVPJCT.js.map → chunk-WIAXVBQH.js.map} +0 -0
- /package/dist/{chunk-KWUMXJN7.js.map → chunk-X53HJENJ.js.map} +0 -0
- /package/dist/{chunk-KY3KJUNN.js.map → chunk-XC7OYOQC.js.map} +0 -0
- /package/dist/{chunk-43FLJLT2.js.map → chunk-Y5HZFIQO.js.map} +0 -0
- /package/dist/{chunk-DOJBV6WR.js.map → chunk-YK6SFDP2.js.map} +0 -0
- /package/dist/{chunk-WBMT3C6A.js.map → chunk-Z3CKK5RR.js.map} +0 -0
- /package/dist/{chunk-RQHIN3PY.js.map → chunk-ZG57BEUS.js.map} +0 -0
- /package/dist/{chunk-MOJ4UDA3.js.map → chunk-ZZSFRWKD.js.map} +0 -0
- /package/dist/{first-start-migration-A6PHIBUQ.js.map → first-start-migration-QVD22WWS.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
computeCorpusWatermarks,
|
|
6
6
|
resolveCorpusNamespaceRoots
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HCFNZWFB.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-HTDXNIO6.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
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-3UXOZBHV.js";
|
|
15
15
|
import {
|
|
16
16
|
StorageManager
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5IQL4N37.js";
|
|
18
18
|
import {
|
|
19
19
|
OKF_PROFILE_TYPE,
|
|
20
20
|
okfTypeForMemory
|
|
@@ -272,4 +272,4 @@ export {
|
|
|
272
272
|
exportOkfBundle,
|
|
273
273
|
firstHeading
|
|
274
274
|
};
|
|
275
|
-
//# sourceMappingURL=chunk-
|
|
275
|
+
//# sourceMappingURL=chunk-I4LJJ44E.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildStandup,
|
|
3
3
|
parseStandupDate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SYDPJUFR.js";
|
|
5
5
|
import {
|
|
6
6
|
backfillMemoryStorage,
|
|
7
7
|
runLocationBackfill,
|
|
@@ -9,23 +9,23 @@ import {
|
|
|
9
9
|
runLocationDay,
|
|
10
10
|
runLocationStatus,
|
|
11
11
|
runLocationSync
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-233S3MXC.js";
|
|
13
13
|
import {
|
|
14
14
|
externalWikiSearchOperation
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VPEMGBTI.js";
|
|
16
16
|
import {
|
|
17
17
|
DECISION_SUBCOMMANDS,
|
|
18
18
|
DELTA_SUBCOMMANDS,
|
|
19
19
|
defineOperation,
|
|
20
20
|
isCodegraphToolName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-R24RYSQX.js";
|
|
22
22
|
import {
|
|
23
23
|
CorrectionContractError
|
|
24
24
|
} from "./chunk-ETSJD5IV.js";
|
|
25
25
|
import {
|
|
26
26
|
memoryStoreRequestSchema,
|
|
27
27
|
retainedCategoryAlias
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6Q6AQ36B.js";
|
|
29
29
|
import {
|
|
30
30
|
serializeMutations,
|
|
31
31
|
withHeldFileLock
|
|
@@ -1916,4 +1916,4 @@ export {
|
|
|
1916
1916
|
codegraphIngestTracesOperation,
|
|
1917
1917
|
REGISTERED_OPERATIONS
|
|
1918
1918
|
};
|
|
1919
|
-
//# sourceMappingURL=chunk-
|
|
1919
|
+
//# sourceMappingURL=chunk-IBQ7LGUJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runLocationSync
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-233S3MXC.js";
|
|
4
4
|
import {
|
|
5
5
|
log
|
|
6
6
|
} from "./chunk-3WCASNQZ.js";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
LOCATION_SYNC_DEFAULT_INTERVAL_MS,
|
|
59
59
|
startLocationAutoSync
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=chunk-
|
|
61
|
+
//# sourceMappingURL=chunk-IRFQKR4Y.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-5IQL4N37.js";
|
|
17
17
|
import {
|
|
18
18
|
excludeSupportPassportPrivateMemories
|
|
19
19
|
} from "./chunk-PWPIERBM.js";
|
|
@@ -134,4 +134,4 @@ export {
|
|
|
134
134
|
runCodexMaterialize,
|
|
135
135
|
runPostConsolidationMaterialize
|
|
136
136
|
};
|
|
137
|
-
//# sourceMappingURL=chunk-
|
|
137
|
+
//# sourceMappingURL=chunk-IVXOYE43.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-AAD2ZS6P.js";
|
|
5
5
|
import {
|
|
6
6
|
gatewayTaskChainOptions
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UCPH56YX.js";
|
|
8
8
|
import {
|
|
9
9
|
extractJsonCandidates
|
|
10
10
|
} from "./chunk-YBA52OKG.js";
|
|
@@ -685,4 +685,4 @@ export {
|
|
|
685
685
|
serializeFaithfulnessFields,
|
|
686
686
|
parseFaithfulnessField
|
|
687
687
|
};
|
|
688
|
-
//# sourceMappingURL=chunk-
|
|
688
|
+
//# sourceMappingURL=chunk-JDQEQE2R.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R24RYSQX.js";
|
|
4
4
|
import {
|
|
5
5
|
EngramAccessInputError
|
|
6
6
|
} from "./chunk-LGEH473S.js";
|
|
@@ -22,4 +22,4 @@ async function respondBriefingHttp(options) {
|
|
|
22
22
|
export {
|
|
23
23
|
respondBriefingHttp
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-KAED7IBB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isNamespaceKind
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DEGE32C3.js";
|
|
4
4
|
import {
|
|
5
5
|
EngramAccessInputError
|
|
6
6
|
} from "./chunk-LGEH473S.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
positiveIntQueryParam,
|
|
41
41
|
optionalNamespaceKindQueryParam
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=chunk-
|
|
43
|
+
//# sourceMappingURL=chunk-KNZDGZSY.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-5JMAGU26.js";
|
|
6
6
|
import {
|
|
7
7
|
runPostConsolidationMaterialize
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IVXOYE43.js";
|
|
9
9
|
import {
|
|
10
10
|
isSemanticConsolidationLlmOperator
|
|
11
11
|
} from "./chunk-G7D6GZ5J.js";
|
|
@@ -220,4 +220,4 @@ export {
|
|
|
220
220
|
buildExtensionsBlockForConsolidation,
|
|
221
221
|
materializeAfterSemanticConsolidation
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-L4QYW2HO.js.map
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
} from "./chunk-YUTT4ZTI.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveDefaultNamespaceRoot
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DANFOVQG.js";
|
|
12
12
|
import {
|
|
13
13
|
StorageManager,
|
|
14
14
|
readRawMemoryDocument
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5IQL4N37.js";
|
|
16
16
|
import {
|
|
17
17
|
parseContinuityImprovementLoops
|
|
18
18
|
} from "./chunk-LDXUBPMO.js";
|
|
@@ -1869,4 +1869,4 @@ export {
|
|
|
1869
1869
|
defaultTierMigrationCycleBudget,
|
|
1870
1870
|
CompoundingEngine
|
|
1871
1871
|
};
|
|
1872
|
-
//# sourceMappingURL=chunk-
|
|
1872
|
+
//# sourceMappingURL=chunk-LJUQPT5G.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PROJECTION_REBUILD_RUNNER_FLAG
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4DLZ2ITE.js";
|
|
4
4
|
import {
|
|
5
5
|
startLocationAutoSync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IRFQKR4Y.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureContradictionScanCron,
|
|
9
9
|
ensureDaySummaryCron,
|
|
@@ -18,17 +18,17 @@ import {
|
|
|
18
18
|
isIsoWeekId,
|
|
19
19
|
msUntilNextIsoWeek,
|
|
20
20
|
previousIsoWeekId
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LJUQPT5G.js";
|
|
22
22
|
import {
|
|
23
23
|
rebuildMemoryLifecycleLedger
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3MBSD53O.js";
|
|
25
25
|
import {
|
|
26
26
|
planNamespaceMaintenance,
|
|
27
27
|
runNamespaceMaintenanceBatchPlan
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Z3CKK5RR.js";
|
|
29
29
|
import {
|
|
30
30
|
rebuildMemoryProjection
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-F3FNXE7C.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_TIMELINE_CATEGORIES,
|
|
34
34
|
TIMELINE_RESERVED_IDLE,
|
|
@@ -45,13 +45,13 @@ import {
|
|
|
45
45
|
} from "./chunk-EWMRFW3F.js";
|
|
46
46
|
import {
|
|
47
47
|
LocalLlmClient
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-AY2UK5XK.js";
|
|
49
49
|
import {
|
|
50
50
|
FallbackLlmClient
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-UCPH56YX.js";
|
|
52
52
|
import {
|
|
53
53
|
fallbackLlmRuntimeContextFromConfig
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-DJDJBMFX.js";
|
|
55
55
|
import {
|
|
56
56
|
activityDateInTimezone,
|
|
57
57
|
activityDayWindow,
|
|
@@ -2874,4 +2874,4 @@ export {
|
|
|
2874
2874
|
ActivitySyncScheduler,
|
|
2875
2875
|
MaintenanceScheduler
|
|
2876
2876
|
};
|
|
2877
|
-
//# sourceMappingURL=chunk-
|
|
2877
|
+
//# sourceMappingURL=chunk-MBENRPMY.js.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// src/local-llm-native-schema.ts
|
|
2
|
+
var NativeSchemaGate = class {
|
|
3
|
+
constructor(registry) {
|
|
4
|
+
this.registry = registry;
|
|
5
|
+
}
|
|
6
|
+
registry;
|
|
7
|
+
/** Models rejected in this process — the fallback for registry-less clients. */
|
|
8
|
+
rejectedByProcess = /* @__PURE__ */ new Set();
|
|
9
|
+
/** False when the model is known to reject the native json_schema payload. */
|
|
10
|
+
usable(modelId) {
|
|
11
|
+
const registry = this.registry();
|
|
12
|
+
if (registry) return registry.getStructuredOutput(modelId) !== "none";
|
|
13
|
+
return !this.rejectedByProcess.has(modelId);
|
|
14
|
+
}
|
|
15
|
+
rememberRejection(modelId) {
|
|
16
|
+
const registry = this.registry();
|
|
17
|
+
if (registry) registry.setStructuredOutput(modelId, "none");
|
|
18
|
+
else this.rejectedByProcess.add(modelId);
|
|
19
|
+
}
|
|
20
|
+
/** Attach the schema format unless the gate suppresses it for this model. */
|
|
21
|
+
attach(requestBody, options, modelId) {
|
|
22
|
+
if (options.responseFormat?.type === "json_schema" && this.usable(modelId)) {
|
|
23
|
+
requestBody.response_format = options.responseFormat;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
/** A schema-carrying 200: persist the native capability once. A CURRENT
|
|
27
|
+
* "none" stands — that success is stale in-flight evidence from before the
|
|
28
|
+
* rejection, and overwriting it would make later requests re-send the
|
|
29
|
+
* rejected schema. */
|
|
30
|
+
recordSuccess(requestBody, modelId) {
|
|
31
|
+
const registry = this.registry();
|
|
32
|
+
if (!requestBody.response_format || !registry || registry.getStructuredOutput(modelId) !== void 0) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
registry.setStructuredOutput(modelId, "native");
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
NativeSchemaGate
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=chunk-MJFL75J6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/local-llm-native-schema.ts"],"sourcesContent":["/**\n * Native json_schema capability shaping for the local LLM client.\n *\n * A provider that rejects the schema PAYLOAD itself (strict parsers that die\n * on draft-7 nullable `type` unions, e.g. MiniMax-M3.1-Flash on 2026-11-05:\n * \"invalid params, Mismatch type string with value array\") gets the pre-#3248\n * shape: no response_format, the JSON contract stays in the prompt. The\n * rejection is learned per model and persisted through the ModelRegistry so\n * fresh runtimes shape requests correctly without re-proving it; a\n * schema-carrying success persists `structuredOutput: \"native\"`.\n */\n\nimport type { ResponseFormatJSONSchema } from \"openai/resources/shared\";\nimport type { LocalLlmChatCompletionOptions } from \"./local-llm-helpers.js\";\nimport type { ModelRegistry } from \"./model-registry.js\";\n\n/** The chat-completions wire body; optional keys are capability-gated additions. */\nexport interface LocalLlmChatRequestBody {\n model: string;\n messages: Array<{ role: string; content: string }>;\n temperature: number;\n max_tokens: number;\n stream: boolean;\n response_format?: { type: string } | ResponseFormatJSONSchema;\n chat_template_kwargs?: { enable_thinking: boolean };\n reasoning_effort?: string;\n}\n\n/** Learned structured-output shaping for one local endpoint. */\nexport class NativeSchemaGate {\n /** Models rejected in this process — the fallback for registry-less clients. */\n private readonly rejectedByProcess = new Set<string>();\n\n constructor(private readonly registry: () => ModelRegistry | undefined) {}\n\n /** False when the model is known to reject the native json_schema payload. */\n usable(modelId: string): boolean {\n const registry = this.registry();\n // Registry-backed decisions honor the registry TTL: an expired entry is\n // re-probed instead of being honored forever. The in-memory set only\n // serves clients without a registry.\n if (registry) return registry.getStructuredOutput(modelId) !== \"none\";\n return !this.rejectedByProcess.has(modelId);\n }\n\n rememberRejection(modelId: string): void {\n const registry = this.registry();\n if (registry) registry.setStructuredOutput(modelId, \"none\");\n else this.rejectedByProcess.add(modelId);\n }\n\n /** Attach the schema format unless the gate suppresses it for this model. */\n attach(\n requestBody: LocalLlmChatRequestBody,\n options: Pick<LocalLlmChatCompletionOptions, \"responseFormat\">,\n modelId: string,\n ): void {\n if (options.responseFormat?.type === \"json_schema\" && this.usable(modelId)) {\n requestBody.response_format = options.responseFormat;\n }\n }\n\n /** A schema-carrying 200: persist the native capability once. A CURRENT\n * \"none\" stands — that success is stale in-flight evidence from before the\n * rejection, and overwriting it would make later requests re-send the\n * rejected schema. */\n recordSuccess(requestBody: LocalLlmChatRequestBody, modelId: string): void {\n const registry = this.registry();\n if (\n !requestBody.response_format ||\n !registry ||\n registry.getStructuredOutput(modelId) !== undefined\n ) {\n return;\n }\n registry.setStructuredOutput(modelId, \"native\");\n }\n}\n"],"mappings":";AA6BO,IAAM,mBAAN,MAAuB;AAAA,EAI5B,YAA6B,UAA2C;AAA3C;AAAA,EAA4C;AAAA,EAA5C;AAAA;AAAA,EAFZ,oBAAoB,oBAAI,IAAY;AAAA;AAAA,EAKrD,OAAO,SAA0B;AAC/B,UAAM,WAAW,KAAK,SAAS;AAI/B,QAAI,SAAU,QAAO,SAAS,oBAAoB,OAAO,MAAM;AAC/D,WAAO,CAAC,KAAK,kBAAkB,IAAI,OAAO;AAAA,EAC5C;AAAA,EAEA,kBAAkB,SAAuB;AACvC,UAAM,WAAW,KAAK,SAAS;AAC/B,QAAI,SAAU,UAAS,oBAAoB,SAAS,MAAM;AAAA,QACrD,MAAK,kBAAkB,IAAI,OAAO;AAAA,EACzC;AAAA;AAAA,EAGA,OACE,aACA,SACA,SACM;AACN,QAAI,QAAQ,gBAAgB,SAAS,iBAAiB,KAAK,OAAO,OAAO,GAAG;AAC1E,kBAAY,kBAAkB,QAAQ;AAAA,IACxC;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,cAAc,aAAsC,SAAuB;AACzE,UAAM,WAAW,KAAK,SAAS;AAC/B,QACE,CAAC,YAAY,mBACb,CAAC,YACD,SAAS,oBAAoB,OAAO,MAAM,QAC1C;AACA;AAAA,IACF;AACA,aAAS,oBAAoB,SAAS,QAAQ;AAAA,EAChD;AACF;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineOperation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R24RYSQX.js";
|
|
4
4
|
import {
|
|
5
5
|
EngramAccessInputError
|
|
6
6
|
} from "./chunk-LGEH473S.js";
|
|
@@ -92,4 +92,4 @@ defineOperation({
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
|
-
//# sourceMappingURL=chunk-
|
|
95
|
+
//# sourceMappingURL=chunk-N6GEGRCT.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RemoteSearchBackend
|
|
3
|
+
} from "./chunk-OVZIYLBZ.js";
|
|
4
|
+
import {
|
|
5
|
+
EmbedHelper
|
|
6
|
+
} from "./chunk-EXYT52NR.js";
|
|
1
7
|
import {
|
|
2
8
|
LanceDbBackend
|
|
3
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YK6SFDP2.js";
|
|
4
10
|
import {
|
|
5
11
|
MeilisearchBackend
|
|
6
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P3AQ2YSX.js";
|
|
7
13
|
import {
|
|
8
14
|
NoopSearchBackend
|
|
9
15
|
} from "./chunk-CYEPCZN5.js";
|
|
10
16
|
import {
|
|
11
17
|
OramaBackend
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
RemoteSearchBackend
|
|
15
|
-
} from "./chunk-OVZIYLBZ.js";
|
|
16
|
-
import {
|
|
17
|
-
EmbedHelper
|
|
18
|
-
} from "./chunk-EXYT52NR.js";
|
|
18
|
+
} from "./chunk-FYQUUIPI.js";
|
|
19
19
|
import {
|
|
20
20
|
createConversationIndexBackend
|
|
21
21
|
} from "./chunk-TFA6HPOA.js";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
createConversationSearchBackend,
|
|
180
180
|
createConversationIndexRuntime
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-OBQ2NZAR.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
isArtifactMemoryPath,
|
|
4
4
|
isLocationDayPath,
|
|
5
5
|
isMeetingRecordPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Y5HZFIQO.js";
|
|
7
7
|
import {
|
|
8
8
|
isExternalWikiCollectionName
|
|
9
9
|
} from "./chunk-JV3C2MNQ.js";
|
|
@@ -228,4 +228,4 @@ export {
|
|
|
228
228
|
isGenericRecallExcludedPath,
|
|
229
229
|
filterRecallCandidates
|
|
230
230
|
};
|
|
231
|
-
//# sourceMappingURL=chunk-
|
|
231
|
+
//# sourceMappingURL=chunk-ORVPS4ZW.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
scanMemoryDir
|
|
3
|
-
} from "./chunk-WNEVEMJ3.js";
|
|
4
1
|
import {
|
|
5
2
|
isSearchAborted,
|
|
6
3
|
throwIfSearchAborted
|
|
7
4
|
} from "./chunk-Y5NLBXPV.js";
|
|
5
|
+
import {
|
|
6
|
+
scanMemoryDir
|
|
7
|
+
} from "./chunk-WNEVEMJ3.js";
|
|
8
8
|
import {
|
|
9
9
|
reportSearchDegradation,
|
|
10
10
|
resolveEnsureCollectionArgs
|
|
@@ -274,4 +274,4 @@ function isMeilisearchIndexNotFoundError(err) {
|
|
|
274
274
|
export {
|
|
275
275
|
MeilisearchBackend
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=chunk-
|
|
277
|
+
//# sourceMappingURL=chunk-P3AQ2YSX.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
raceRecallAbort,
|
|
3
3
|
throwIfRecallAborted
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y5HZFIQO.js";
|
|
5
5
|
import {
|
|
6
6
|
emitExtractionLlmFailureError,
|
|
7
7
|
recordExtractionLlmFailure,
|
|
@@ -1149,4 +1149,4 @@ export {
|
|
|
1149
1149
|
ExtractionDeadlineError,
|
|
1150
1150
|
ExtractionRunCoordinator
|
|
1151
1151
|
};
|
|
1152
|
-
//# sourceMappingURL=chunk-
|
|
1152
|
+
//# sourceMappingURL=chunk-P4TEQSIZ.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
readNamespaceMaintenanceLastRanStatuses,
|
|
4
4
|
readNamespaceMaintenanceStatuses,
|
|
5
5
|
runNamespaceMaintenancePlan
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z3CKK5RR.js";
|
|
7
7
|
import {
|
|
8
8
|
analyzeSessionIntegrity,
|
|
9
9
|
applySessionRepair,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-CMTINOFS.js";
|
|
15
15
|
import {
|
|
16
16
|
summarizeCorpusAndReplica
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HTDXNIO6.js";
|
|
18
18
|
import {
|
|
19
19
|
readJudgeVerdictStats
|
|
20
20
|
} from "./chunk-OZKOPQCM.js";
|
|
@@ -41,14 +41,14 @@ import {
|
|
|
41
41
|
} from "./chunk-T6T2RMWW.js";
|
|
42
42
|
import {
|
|
43
43
|
readAggregateExtractionWatermark
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ZZSFRWKD.js";
|
|
45
45
|
import {
|
|
46
46
|
listMemoryGovernanceRuns,
|
|
47
47
|
readMemoryGovernanceRunArtifact
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GWOFCHPN.js";
|
|
49
49
|
import {
|
|
50
50
|
listNamespaces
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-BZTA7DR4.js";
|
|
52
52
|
import {
|
|
53
53
|
analyzeGraphHealth
|
|
54
54
|
} from "./chunk-BFBS7OFQ.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
} from "./chunk-AWD36R4D.js";
|
|
58
58
|
import {
|
|
59
59
|
StorageManager
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-5IQL4N37.js";
|
|
61
61
|
import {
|
|
62
62
|
lintWorkspaceFiles
|
|
63
63
|
} from "./chunk-DM2T26WE.js";
|
|
@@ -1683,4 +1683,4 @@ export {
|
|
|
1683
1683
|
runBenchmarkRecall,
|
|
1684
1684
|
runOperatorRepair
|
|
1685
1685
|
};
|
|
1686
|
-
//# sourceMappingURL=chunk-
|
|
1686
|
+
//# sourceMappingURL=chunk-P7HNMNN2.js.map
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ensureLcmStateDir,
|
|
3
|
+
openLcmDatabase
|
|
4
|
+
} from "./chunk-DDA47TES.js";
|
|
1
5
|
import {
|
|
2
6
|
LcmSummarizer
|
|
3
7
|
} from "./chunk-AQNHEDXP.js";
|
|
@@ -13,10 +17,6 @@ import {
|
|
|
13
17
|
import {
|
|
14
18
|
assembleCompressedHistoryWithTrace
|
|
15
19
|
} from "./chunk-UXPUUL3G.js";
|
|
16
|
-
import {
|
|
17
|
-
ensureLcmStateDir,
|
|
18
|
-
openLcmDatabase
|
|
19
|
-
} from "./chunk-DDA47TES.js";
|
|
20
20
|
import {
|
|
21
21
|
nativeBindingRecoveryHint
|
|
22
22
|
} from "./chunk-LD72P4YS.js";
|
|
@@ -768,4 +768,4 @@ export {
|
|
|
768
768
|
extractLcmConfig,
|
|
769
769
|
LcmEngine
|
|
770
770
|
};
|
|
771
|
-
//# sourceMappingURL=chunk-
|
|
771
|
+
//# sourceMappingURL=chunk-PBE7NFB5.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS,
|
|
3
3
|
SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R24RYSQX.js";
|
|
5
5
|
import {
|
|
6
6
|
SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH
|
|
7
7
|
} from "./chunk-PWPIERBM.js";
|
|
@@ -343,4 +343,4 @@ export {
|
|
|
343
343
|
parseSupportPassportModelJob,
|
|
344
344
|
SupportPassportModelBridge
|
|
345
345
|
};
|
|
346
|
-
//# sourceMappingURL=chunk-
|
|
346
|
+
//# sourceMappingURL=chunk-PLGBPFEO.js.map
|
|
@@ -142,6 +142,9 @@ var ModelRegistry = class {
|
|
|
142
142
|
...capabilities,
|
|
143
143
|
modelId: normalizedId,
|
|
144
144
|
source: "default",
|
|
145
|
+
// Reachable only with a missing or expired cached record, so any
|
|
146
|
+
// learned structuredOutput is stale here — leave it unset and let
|
|
147
|
+
// getStructuredOutput's freshness rules drive the re-probe.
|
|
145
148
|
fetchedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
146
149
|
};
|
|
147
150
|
this.data.models[normalizedId] = caps;
|
|
@@ -160,8 +163,13 @@ var ModelRegistry = class {
|
|
|
160
163
|
*/
|
|
161
164
|
setCapabilities(modelId, capabilities) {
|
|
162
165
|
const normalizedId = this.normalizeModelId(modelId);
|
|
166
|
+
const previous = this.data.models[normalizedId];
|
|
163
167
|
const caps = {
|
|
164
168
|
...capabilities,
|
|
169
|
+
// A replacement record (e.g. fresh LM Studio detection) must not erase a
|
|
170
|
+
// learned structuredOutput shaping — but an EXPIRED decision must not be
|
|
171
|
+
// renewed either: drop it so the re-probe stays due.
|
|
172
|
+
structuredOutput: capabilities.structuredOutput ?? (previous && !this.isCacheExpired(previous) ? previous.structuredOutput : void 0),
|
|
165
173
|
modelId: normalizedId,
|
|
166
174
|
fetchedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
167
175
|
};
|
|
@@ -169,6 +177,32 @@ var ModelRegistry = class {
|
|
|
169
177
|
this.saveRegistry();
|
|
170
178
|
log.info(`ModelRegistry: stored capabilities for ${modelId}`);
|
|
171
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* Learned structured-output shaping for a model, persisted so fresh
|
|
182
|
+
* runtimes shape requests correctly without re-proving a rejection.
|
|
183
|
+
* Honors the cache TTL: a provider that later gains schema support is
|
|
184
|
+
* re-probed (one degraded request) after the window lapses.
|
|
185
|
+
*/
|
|
186
|
+
getStructuredOutput(modelId) {
|
|
187
|
+
const cached = this.data.models[this.normalizeModelId(modelId)];
|
|
188
|
+
if (!cached || this.isCacheExpired(cached)) return void 0;
|
|
189
|
+
return cached.structuredOutput;
|
|
190
|
+
}
|
|
191
|
+
/** Merge-and-persist: preserves any previously learned capabilities. */
|
|
192
|
+
setStructuredOutput(modelId, mode) {
|
|
193
|
+
const normalizedId = this.normalizeModelId(modelId);
|
|
194
|
+
const base = this.data.models[normalizedId] ?? {
|
|
195
|
+
...DEFAULT_CAPABILITIES,
|
|
196
|
+
modelId: normalizedId
|
|
197
|
+
};
|
|
198
|
+
this.data.models[normalizedId] = {
|
|
199
|
+
...base,
|
|
200
|
+
structuredOutput: mode,
|
|
201
|
+
fetchedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
202
|
+
};
|
|
203
|
+
this.saveRegistry();
|
|
204
|
+
log.info(`ModelRegistry: stored structuredOutput=${mode} for ${modelId}`);
|
|
205
|
+
}
|
|
172
206
|
/**
|
|
173
207
|
* Calculate optimal input/output sizes for a model
|
|
174
208
|
* @param maxContextOverride - Optional override for max context (e.g., if LLM server defaults to smaller window)
|
|
@@ -234,4 +268,4 @@ var ModelRegistry = class {
|
|
|
234
268
|
export {
|
|
235
269
|
ModelRegistry
|
|
236
270
|
};
|
|
237
|
-
//# sourceMappingURL=chunk-
|
|
271
|
+
//# sourceMappingURL=chunk-QNUNAXBE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/model-registry.ts"],"sourcesContent":["/**\n * Model Registry - Stores and retrieves model capabilities\n * Avoids repeated external lookups by caching model info locally\n */\n\nimport { log } from \"./logger.js\";\nimport fs from \"node:fs\";\nimport { dirname, join } from \"node:path\";\n\nexport interface ModelCapabilities {\n modelId: string;\n maxPositionEmbeddings: number;\n contextWindow: number;\n supportsExtendedContext: boolean;\n ropeScaling?: {\n type: string;\n factor: number;\n originalMaxPositionEmbeddings: number;\n };\n typicalOutputTokens: number;\n source: \"huggingface\" | \"lmstudio\" | \"manual\" | \"default\";\n /** Learned structured-output shaping (see ModelRegistry.getStructuredOutput). */\n structuredOutput?: \"native\" | \"none\";\n fetchedAt: string;\n}\n\ninterface ModelRegistryData {\n models: Record<string, ModelCapabilities>;\n version: number;\n}\n\nconst DEFAULT_CAPABILITIES: ModelCapabilities = {\n modelId: \"default\",\n maxPositionEmbeddings: 32768,\n contextWindow: 32768,\n supportsExtendedContext: false,\n typicalOutputTokens: 8192,\n source: \"default\",\n fetchedAt: new Date().toISOString(),\n};\n\n// Known model capabilities (fallback when offline)\n// NOTE: Context windows here are the MODEL's theoretical maximum. Local LLM servers\n// (LM Studio, Ollama, etc.) often load models with smaller default context windows.\n// If you get \"context length exceeded\" errors, either:\n// 1. Increase the context window in your LLM server UI (recommended)\n// 2. Set localLlmMaxContext in openclaw.json to limit prompts (fallback)\nconst KNOWN_MODELS: Record<string, Partial<ModelCapabilities>> = {\n \"qwen3-30b-a3b-instruct\": {\n maxPositionEmbeddings: 40960,\n contextWindow: 131072, // 128K with YaRN - but LM Studio defaults to ~32K\n supportsExtendedContext: true,\n ropeScaling: {\n type: \"yarn\",\n factor: 4.0,\n originalMaxPositionEmbeddings: 32768,\n },\n typicalOutputTokens: 8192,\n },\n \"qwen3-coder-30b-a3b-instruct\": {\n maxPositionEmbeddings: 40960,\n contextWindow: 131072, // 128K with YaRN - but LM Studio defaults to ~32K\n supportsExtendedContext: true,\n ropeScaling: {\n type: \"yarn\",\n factor: 4.0,\n originalMaxPositionEmbeddings: 32768,\n },\n typicalOutputTokens: 8192,\n },\n \"qwen3-8b\": {\n maxPositionEmbeddings: 40960,\n contextWindow: 131072,\n supportsExtendedContext: true,\n typicalOutputTokens: 4096,\n },\n \"qwen3-14b\": {\n maxPositionEmbeddings: 40960,\n contextWindow: 131072,\n supportsExtendedContext: true,\n typicalOutputTokens: 4096,\n },\n \"qwen3-32b\": {\n maxPositionEmbeddings: 40960,\n contextWindow: 131072,\n supportsExtendedContext: true,\n typicalOutputTokens: 4096,\n },\n \"llama-3.1\": {\n maxPositionEmbeddings: 131072,\n contextWindow: 131072,\n supportsExtendedContext: false,\n typicalOutputTokens: 8192,\n },\n \"llama-3.2\": {\n maxPositionEmbeddings: 131072,\n contextWindow: 131072,\n supportsExtendedContext: false,\n typicalOutputTokens: 8192,\n },\n \"mistral-nemo\": {\n maxPositionEmbeddings: 131072,\n contextWindow: 131072,\n supportsExtendedContext: false,\n typicalOutputTokens: 8192,\n },\n \"gemma-2\": {\n maxPositionEmbeddings: 8192,\n contextWindow: 8192,\n supportsExtendedContext: false,\n typicalOutputTokens: 4096,\n },\n};\n\nexport class ModelRegistry {\n private registryPath: string;\n private data: ModelRegistryData;\n private readonly CACHE_TTL_DAYS = 7;\n\n constructor(memoryDir: string) {\n this.registryPath = join(memoryDir, \".registry\", \"model-capabilities.json\");\n this.data = this.loadRegistry();\n }\n\n private loadRegistry(): ModelRegistryData {\n try {\n if (fs.existsSync(this.registryPath)) {\n const content = fs.readFileSync(this.registryPath, \"utf-8\");\n const data = JSON.parse(content) as ModelRegistryData;\n log.info(`ModelRegistry: loaded ${Object.keys(data.models).length} cached models`);\n return data;\n }\n } catch (err) {\n log.warn(`ModelRegistry: failed to load registry: ${err}`);\n }\n return { models: {}, version: 1 };\n }\n\n private saveRegistry(): void {\n try {\n // Created on first save, never at construction: building a registry\n // happens on every plugin registration, including read-only discovery\n // passes, and must not touch the operator's memory dir.\n const registryDir = dirname(this.registryPath);\n if (!fs.existsSync(registryDir)) fs.mkdirSync(registryDir, { recursive: true });\n fs.writeFileSync(this.registryPath, JSON.stringify(this.data, null, 2));\n } catch (err) {\n log.warn(`ModelRegistry: failed to save registry: ${err}`);\n }\n }\n\n private isCacheExpired(model: ModelCapabilities): boolean {\n const fetched = new Date(model.fetchedAt);\n const now = new Date();\n const daysDiff = (now.getTime() - fetched.getTime()) / (1000 * 60 * 60 * 24);\n return daysDiff > this.CACHE_TTL_DAYS;\n }\n\n private normalizeModelId(modelId: string): string {\n // Remove common suffixes and prefixes for matching\n return modelId\n .toLowerCase()\n .replace(/@\\d+bit$/, \"\") // Remove @4bit, @8bit\n .replace(/-mlx$/, \"\")\n .replace(/-awq$/, \"\")\n .replace(/-gptq$/, \"\")\n .replace(/-gguf$/, \"\")\n .replace(/^mlx-community\\//, \"\")\n .replace(/^models\\//, \"\")\n .trim();\n }\n\n /**\n * Get capabilities for a model, using cache if available\n */\n getCapabilities(modelId: string): ModelCapabilities {\n const normalizedId = this.normalizeModelId(modelId);\n\n // Check cache first\n if (this.data.models[normalizedId]) {\n const cached = this.data.models[normalizedId];\n if (!this.isCacheExpired(cached)) {\n log.info(`ModelRegistry: using cached capabilities for ${modelId}`);\n return cached;\n }\n log.info(`ModelRegistry: cache expired for ${modelId}, will refresh`);\n }\n\n // Check known models\n for (const [knownId, capabilities] of Object.entries(KNOWN_MODELS)) {\n if (normalizedId.includes(knownId)) {\n log.info(`ModelRegistry: using known capabilities for ${modelId}`);\n const caps: ModelCapabilities = {\n ...DEFAULT_CAPABILITIES,\n ...capabilities,\n modelId: normalizedId,\n source: \"default\",\n // Reachable only with a missing or expired cached record, so any\n // learned structuredOutput is stale here — leave it unset and let\n // getStructuredOutput's freshness rules drive the re-probe.\n fetchedAt: new Date().toISOString(),\n };\n this.data.models[normalizedId] = caps;\n this.saveRegistry();\n return caps;\n }\n }\n\n // Return defaults\n log.info(`ModelRegistry: using default capabilities for ${modelId}`);\n return {\n ...DEFAULT_CAPABILITIES,\n modelId: normalizedId,\n };\n }\n\n /**\n * Store capabilities for a model\n */\n setCapabilities(modelId: string, capabilities: Omit<ModelCapabilities, \"modelId\" | \"fetchedAt\">): void {\n const normalizedId = this.normalizeModelId(modelId);\n const previous = this.data.models[normalizedId];\n const caps: ModelCapabilities = {\n ...capabilities,\n // A replacement record (e.g. fresh LM Studio detection) must not erase a\n // learned structuredOutput shaping — but an EXPIRED decision must not be\n // renewed either: drop it so the re-probe stays due.\n structuredOutput:\n capabilities.structuredOutput ??\n (previous && !this.isCacheExpired(previous) ? previous.structuredOutput : undefined),\n modelId: normalizedId,\n fetchedAt: new Date().toISOString(),\n };\n this.data.models[normalizedId] = caps;\n this.saveRegistry();\n log.info(`ModelRegistry: stored capabilities for ${modelId}`);\n }\n\n /**\n * Learned structured-output shaping for a model, persisted so fresh\n * runtimes shape requests correctly without re-proving a rejection.\n * Honors the cache TTL: a provider that later gains schema support is\n * re-probed (one degraded request) after the window lapses.\n */\n getStructuredOutput(modelId: string): \"native\" | \"none\" | undefined {\n const cached = this.data.models[this.normalizeModelId(modelId)];\n if (!cached || this.isCacheExpired(cached)) return undefined;\n return cached.structuredOutput;\n }\n\n /** Merge-and-persist: preserves any previously learned capabilities. */\n setStructuredOutput(modelId: string, mode: \"native\" | \"none\"): void {\n const normalizedId = this.normalizeModelId(modelId);\n const base = this.data.models[normalizedId] ?? {\n ...DEFAULT_CAPABILITIES,\n modelId: normalizedId,\n };\n this.data.models[normalizedId] = {\n ...base,\n structuredOutput: mode,\n fetchedAt: new Date().toISOString(),\n };\n this.saveRegistry();\n log.info(`ModelRegistry: stored structuredOutput=${mode} for ${modelId}`);\n }\n\n /**\n * Calculate optimal input/output sizes for a model\n * @param maxContextOverride - Optional override for max context (e.g., if LLM server defaults to smaller window)\n */\n calculateContextSizes(modelId: string, maxContextOverride?: number): {\n maxInputChars: number;\n maxOutputTokens: number;\n description: string;\n } {\n const caps = this.getCapabilities(modelId);\n\n // Use override if provided (e.g., user knows their LLM server limits), otherwise use detected caps\n const sanitizedOverride =\n typeof maxContextOverride === \"number\" &&\n Number.isFinite(maxContextOverride) &&\n Number.isInteger(maxContextOverride) &&\n maxContextOverride >= 1024\n ? maxContextOverride\n : undefined;\n const effectiveContextWindow = sanitizedOverride ?? Math.max(1024, Math.floor(caps.contextWindow));\n\n // Guardrails: never allow output budget to exceed the model/server context window.\n // If we do, input budget goes negative and we end up generating huge, invalid prompts.\n const overheadTokens = Math.min(1000, Math.floor(effectiveContextWindow / 10)); // <=10% overhead, max 1k\n const minInputTokens = Math.min(512, Math.floor(effectiveContextWindow / 4)); // keep some room even on small contexts\n const minOutputTokens = Math.min(256, Math.max(1, effectiveContextWindow - overheadTokens - minInputTokens));\n\n // Base output budget: typical output, but scaled down for small contexts.\n let outputTokens = caps.typicalOutputTokens;\n\n // For very large contexts, default to ~12.5% output (capped), which tends to be plenty for JSON extraction.\n if (effectiveContextWindow > 65536) {\n outputTokens = Math.min(Math.floor(effectiveContextWindow / 8), 16384);\n }\n\n // Never let output exceed 25% of context.\n outputTokens = Math.min(outputTokens, Math.floor(effectiveContextWindow / 4));\n\n // Clamp output so we always have positive input headroom.\n const maxOutputTokens = Math.max(1, effectiveContextWindow - overheadTokens - minInputTokens);\n outputTokens = Math.min(maxOutputTokens, Math.max(minOutputTokens, outputTokens));\n\n const availableForInput = Math.max(\n 0,\n effectiveContextWindow - outputTokens - overheadTokens,\n );\n\n // Convert to characters (rough estimate: 1 token ≈ 4 chars)\n const maxInputChars = Math.max(0, Math.floor(availableForInput * 3.5)); // Conservative: 3.5 chars/token\n\n const source = sanitizedOverride ? \"user override\" : caps.source;\n return {\n maxInputChars,\n maxOutputTokens: outputTokens,\n description: `${caps.modelId}: ${effectiveContextWindow.toLocaleString()} context (${source}), using ${maxInputChars.toLocaleString()} chars input / ${outputTokens} tokens output`,\n };\n }\n\n /**\n * Fetch capabilities from Hugging Face (if available)\n * Returns true if successful\n */\n async fetchFromHuggingFace(modelId: string): Promise<boolean> {\n // This would be implemented to fetch from HF Hub API\n // For now, we rely on the known models and manual updates\n log.info(`ModelRegistry: fetchFromHuggingFace not yet implemented for ${modelId}`);\n return false;\n }\n\n /**\n * List all cached models\n */\n listCached(): string[] {\n return Object.keys(this.data.models);\n }\n\n /**\n * Clear expired cache entries\n */\n cleanExpired(): number {\n const before = Object.keys(this.data.models).length;\n this.data.models = Object.fromEntries(\n Object.entries(this.data.models).filter(([_, caps]) => !this.isCacheExpired(caps))\n );\n const after = Object.keys(this.data.models).length;\n const removed = before - after;\n if (removed > 0) {\n this.saveRegistry();\n log.info(`ModelRegistry: cleaned ${removed} expired entries`);\n }\n return removed;\n }\n}\n"],"mappings":";;;;;AAMA,OAAO,QAAQ;AACf,SAAS,SAAS,YAAY;AAwB9B,IAAM,uBAA0C;AAAA,EAC9C,SAAS;AAAA,EACT,uBAAuB;AAAA,EACvB,eAAe;AAAA,EACf,yBAAyB;AAAA,EACzB,qBAAqB;AAAA,EACrB,QAAQ;AAAA,EACR,YAAW,oBAAI,KAAK,GAAE,YAAY;AACpC;AAQA,IAAM,eAA2D;AAAA,EAC/D,0BAA0B;AAAA,IACxB,uBAAuB;AAAA,IACvB,eAAe;AAAA;AAAA,IACf,yBAAyB;AAAA,IACzB,aAAa;AAAA,MACX,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,+BAA+B;AAAA,IACjC;AAAA,IACA,qBAAqB;AAAA,EACvB;AAAA,EACA,gCAAgC;AAAA,IAC9B,uBAAuB;AAAA,IACvB,eAAe;AAAA;AAAA,IACf,yBAAyB;AAAA,IACzB,aAAa;AAAA,MACX,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,+BAA+B;AAAA,IACjC;AAAA,IACA,qBAAqB;AAAA,EACvB;AAAA,EACA,YAAY;AAAA,IACV,uBAAuB;AAAA,IACvB,eAAe;AAAA,IACf,yBAAyB;AAAA,IACzB,qBAAqB;AAAA,EACvB;AAAA,EACA,aAAa;AAAA,IACX,uBAAuB;AAAA,IACvB,eAAe;AAAA,IACf,yBAAyB;AAAA,IACzB,qBAAqB;AAAA,EACvB;AAAA,EACA,aAAa;AAAA,IACX,uBAAuB;AAAA,IACvB,eAAe;AAAA,IACf,yBAAyB;AAAA,IACzB,qBAAq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