@askexenow/exe-os 0.9.343 → 0.9.345
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/{active-agent-SNVSJFI5.js → active-agent-6ZH2D6IP.js} +7 -7
- package/dist/{active-agent-MDGDKGCL.js → active-agent-BAWQYSNJ.js} +7 -7
- package/dist/{agentic-ontology-SCG6UUHK.js → agentic-ontology-IUFSZUI6.js} +1 -1
- package/dist/assets/com.askexe.exed.plist +6 -6
- package/dist/{backfill-gate-HARARX5F.js → backfill-gate-DA7UT6UD.js} +3 -3
- package/dist/{backfill-metadata-SCQ5FPDR.js → backfill-metadata-CWMJBLNQ.js} +11 -8
- package/dist/{background-jobs-KKRO3QRO.js → background-jobs-XGTLESKM.js} +3 -3
- package/dist/{backup-verify-KDLOT4RP.js → backup-verify-NMXFX6NR.js} +83 -33
- package/dist/{behaviors-MICGF3H3.js → behaviors-XZOZKID2.js} +12 -9
- package/dist/bin/age-ontology-load.js +3 -3
- package/dist/bin/agentic-ontology-backfill.js +13 -10
- package/dist/bin/agentic-reflection-backfill.js +14 -11
- package/dist/bin/agentic-semantic-label.js +13 -10
- package/dist/bin/backfill-conversations.js +13 -10
- package/dist/bin/backfill-responses.js +13 -10
- package/dist/bin/backfill-vectors.js +112 -26
- package/dist/bin/bulk-sync-postgres.js +20 -17
- package/dist/bin/cc-doctor.js +11 -11
- package/dist/bin/cleanup-stale-review-tasks.js +23 -23
- package/dist/bin/cli.js +102 -63
- package/dist/bin/deferred-daemon-restart.js +92 -89
- package/dist/bin/exe-agent-config.js +7 -7
- package/dist/bin/exe-agent.js +18 -18
- package/dist/bin/exe-assign.js +15 -12
- package/dist/bin/exe-boot.js +380 -222
- package/dist/bin/exe-call.js +9 -9
- package/dist/bin/exe-cloud.js +21 -18
- package/dist/bin/exe-config-dump.js +7 -7
- package/dist/bin/exe-dispatch.js +23 -23
- package/dist/bin/exe-doctor.js +10 -10
- package/dist/bin/exe-export-behaviors.js +14 -11
- package/dist/bin/exe-forget.js +13 -11
- package/dist/bin/exe-gateway.js +88 -60
- package/dist/bin/exe-grant.js +4 -4
- package/dist/bin/exe-healthcheck.js +11 -11
- package/dist/bin/exe-heartbeat.js +79 -24
- package/dist/bin/exe-kill.js +29 -26
- package/dist/bin/exe-launch-agent.js +36 -33
- package/dist/bin/exe-memory-reads.js +11 -8
- package/dist/bin/exe-new-employee.js +13 -13
- package/dist/bin/exe-os-mcp-proxy.js +8 -8
- package/dist/bin/exe-pending-messages.js +24 -24
- package/dist/bin/exe-pending-notifications.js +23 -23
- package/dist/bin/exe-pending-reviews.js +23 -23
- package/dist/bin/exe-rename.js +9 -9
- package/dist/bin/exe-review.js +28 -25
- package/dist/bin/exe-search-quality.js +1 -1
- package/dist/bin/exe-search.js +12 -10
- package/dist/bin/exe-session-cleanup.js +29 -26
- package/dist/bin/exe-settings.js +21 -18
- package/dist/bin/exe-start-codex.js +44 -19
- package/dist/bin/exe-start-opencode.js +15 -12
- package/dist/bin/exe-status.js +24 -24
- package/dist/bin/exe-support.js +5 -5
- package/dist/bin/exe-team.js +7 -7
- package/dist/bin/exe-watchdog.js +70 -17
- package/dist/bin/git-sweep.js +24 -24
- package/dist/bin/graph-backfill.js +14 -11
- package/dist/bin/graph-export.js +12 -9
- package/dist/bin/import-history.js +16 -13
- package/dist/bin/install-launchd.js +13 -1
- package/dist/bin/install.js +128 -178
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +8 -8
- package/dist/bin/postgres-agentic-reflection-backfill.js +5 -5
- package/dist/bin/postgres-agentic-semantic-backfill.js +4 -4
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +23 -23
- package/dist/bin/setup.js +4 -4
- package/dist/bin/shard-migrate.js +12 -9
- package/dist/bin/stack-update.js +6 -6
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-CFA5NKSK.js → boot-generation-OTC2ESGV.js} +7 -7
- package/dist/{boot-review-sections-FX2FYZJQ.js → boot-review-sections-RXFU3QRA.js} +22 -22
- package/dist/{branch-hygiene-PILXQQDF.js → branch-hygiene-HNSOUDJE.js} +2 -2
- package/dist/{branding-ZSC6YN63.js → branding-6FHWZQYQ.js} +3 -3
- package/dist/{browser-session-store-B2NR3LIX.js → browser-session-store-6N4YRNPH.js} +1 -1
- package/dist/{capability-cards-O27UB3J5.js → capability-cards-HOOLOBCU.js} +6 -6
- package/dist/{capacity-monitor-5DVZY3SM.js → capacity-monitor-SFLPNE7M.js} +24 -24
- package/dist/{catchup-brief-3GYI6AKV.js → catchup-brief-YUCZX3CR.js} +29 -27
- package/dist/{chunk-GD7FA6IP.js → chunk-3BO6S3L2.js} +145 -14
- package/dist/{chunk-7S3A4TOL.js → chunk-437JTUZZ.js} +7 -7
- package/dist/{chunk-34RULPS2.js → chunk-442L6MA5.js} +8 -5
- package/dist/{chunk-3OR54BBE.js → chunk-4FYXYJUX.js} +3 -3
- package/dist/{chunk-3MLSM77R.js → chunk-4LZLQ3ZK.js} +3 -3
- package/dist/{chunk-HENPNYGY.js → chunk-4SBOGUGG.js} +12 -12
- package/dist/{chunk-M6DZYWZH.js → chunk-4YXTASUU.js} +6 -1
- package/dist/{chunk-PAYVSTF2.js → chunk-5A5LNAMW.js} +1 -1
- package/dist/chunk-5MOYSU5A.js +98 -0
- package/dist/{chunk-K2G3VDCV.js → chunk-5OVON46B.js} +1 -1
- package/dist/chunk-64HUCOAL.js +540 -0
- package/dist/{chunk-BXSC34Y2.js → chunk-6RYNOXTC.js} +33 -3
- package/dist/{chunk-E4FGXPHB.js → chunk-6YH44JOY.js} +5 -5
- package/dist/{chunk-54O2FWRM.js → chunk-6Z6ZVYHA.js} +1 -1
- package/dist/{chunk-7UNIYLGV.js → chunk-7DZYO3Z5.js} +27 -30
- package/dist/{chunk-IKAGAKAI.js → chunk-7IE3NPBV.js} +2 -2
- package/dist/{chunk-A4DVMPYB.js → chunk-7TZ6HV4G.js} +7 -3
- package/dist/{chunk-BUI2CHLQ.js → chunk-7WGEZ5WM.js} +1 -1
- package/dist/{chunk-2VZMLKNS.js → chunk-A6VIK3SS.js} +2 -2
- package/dist/{chunk-SA7GZU3U.js → chunk-AEVN4MPT.js} +1 -1
- package/dist/{chunk-MOPUCPXK.js → chunk-APRVAUOR.js} +1 -0
- package/dist/{chunk-LSAH73QD.js → chunk-B3Z6LHVV.js} +1 -1
- package/dist/{chunk-X4Z5DPOC.js → chunk-B6TI3TZT.js} +1 -1
- package/dist/{chunk-FCKYJSVY.js → chunk-B77H77VF.js} +1 -1
- package/dist/{chunk-OL4JFQ2T.js → chunk-BCZF3AGJ.js} +22 -2
- package/dist/{chunk-5ERB3AWT.js → chunk-BG4Q4ZUW.js} +1 -1
- package/dist/{chunk-JBMIIBPS.js → chunk-BLV57HND.js} +1 -1
- package/dist/{chunk-JLLJ3ER3.js → chunk-CBWJ5DRL.js} +2 -2
- package/dist/{chunk-H6BVQIAF.js → chunk-CBZPE5J4.js} +14 -10
- package/dist/{chunk-DHW4DIGK.js → chunk-CKZ7CI55.js} +2 -2
- package/dist/{chunk-6L6SXVTP.js → chunk-CQN4IKRB.js} +40 -9
- package/dist/{chunk-NG2ABIDX.js → chunk-DQOBH5VO.js} +1 -1
- package/dist/{chunk-C24F7SOO.js → chunk-DUO4WGDT.js} +4 -4
- package/dist/chunk-DWNRLCUQ.js +144 -0
- package/dist/{chunk-WZTWA4G4.js → chunk-E5XAVXQG.js} +11 -11
- package/dist/{chunk-SJN5ZEDI.js → chunk-EHM4E62N.js} +1 -1
- package/dist/{chunk-4UIYLTA3.js → chunk-EK2R7ORH.js} +1 -1
- package/dist/{chunk-NDJASAXP.js → chunk-ENVO4NIX.js} +1 -1
- package/dist/{chunk-DT6LX4SV.js → chunk-FABOJ6IJ.js} +6 -6
- package/dist/chunk-FUQ2OSDV.js +129 -0
- package/dist/{chunk-3PFP7GV2.js → chunk-GGVP2B2O.js} +1 -1
- package/dist/{chunk-6IK2ME5X.js → chunk-GY6VSMMB.js} +2 -2
- package/dist/{chunk-NPFU2NPG.js → chunk-HDSDXGLV.js} +1 -1
- package/dist/{chunk-BYTDMAGB.js → chunk-HSGBZSCA.js} +2 -0
- package/dist/{chunk-62MYX7G4.js → chunk-I5AVZOL2.js} +2 -2
- package/dist/{chunk-DLGEQJ6E.js → chunk-IGAODB3D.js} +1 -1
- package/dist/{chunk-6XKIMGHA.js → chunk-IGF7YLMD.js} +1 -1
- package/dist/{chunk-BVURFD5R.js → chunk-ILBB65TX.js} +2 -2
- package/dist/{chunk-7MESPFOK.js → chunk-IM6FMNTO.js} +4 -4
- package/dist/{chunk-ZUBUP66T.js → chunk-ITRKRKS7.js} +1 -1
- package/dist/chunk-IUMAJIHE.js +327 -0
- package/dist/{chunk-2F7WGH5K.js → chunk-IYCE7UES.js} +4 -4
- package/dist/{chunk-IPB5QM4S.js → chunk-JELPA53I.js} +2 -2
- package/dist/{chunk-MVWFY7IO.js → chunk-JFLUUBQK.js} +53 -2
- package/dist/{chunk-KQ4Z2G24.js → chunk-JKOEOHOD.js} +32 -1
- package/dist/{chunk-MNIA3IOU.js → chunk-LEESW32W.js} +3 -3
- package/dist/{chunk-OZUQJZYO.js → chunk-LF4DHB5A.js} +30 -8
- package/dist/{chunk-B4LOFZLB.js → chunk-LOK3PZP3.js} +72 -29
- package/dist/{chunk-YCPZTX7V.js → chunk-MBULOZJF.js} +110 -5
- package/dist/{chunk-AGHKOBA6.js → chunk-MDIVCWQW.js} +17 -11
- package/dist/{chunk-UC37QPSR.js → chunk-MHTDXXXW.js} +4 -4
- package/dist/{chunk-V7AGCRLI.js → chunk-MI7OSFOA.js} +1 -1
- package/dist/{chunk-GGQMX4IU.js → chunk-MJJJSU6M.js} +3 -3
- package/dist/{chunk-25ORSHR7.js → chunk-NLVOLANR.js} +343 -178
- package/dist/{chunk-QFBT7CJH.js → chunk-OJBWWOSM.js} +1 -1
- package/dist/{chunk-PNQDP3OA.js → chunk-OMXJMOBD.js} +10 -9
- package/dist/{chunk-UZ2LYBY5.js → chunk-ORVC4XVZ.js} +2 -2
- package/dist/{chunk-4N2NRGCM.js → chunk-OSID72CN.js} +14 -3
- package/dist/{chunk-5HQHHQUR.js → chunk-OYDXYENC.js} +1 -1
- package/dist/{chunk-SIGS6D5R.js → chunk-P376KDEZ.js} +2 -2
- package/dist/{chunk-XZTTLTPG.js → chunk-PISA226N.js} +15 -7
- package/dist/{chunk-O5VMAZZH.js → chunk-PW557TJV.js} +1 -1
- package/dist/{chunk-TR73G4GH.js → chunk-Q5I5MLKV.js} +2 -2
- package/dist/{chunk-6ST7ZWTV.js → chunk-Q7LTWGQK.js} +1 -1
- package/dist/{chunk-Z5VL7YBR.js → chunk-QEHVKL27.js} +1 -1
- package/dist/{chunk-ZCLVPTZU.js → chunk-QGNOYTSU.js} +9 -9
- package/dist/{chunk-TI2XFHRQ.js → chunk-QHDUGZVP.js} +3 -3
- package/dist/{chunk-HRBTW62M.js → chunk-QLFN3MUW.js} +1 -1
- package/dist/{chunk-H6WLWIPN.js → chunk-QX7RWICL.js} +1 -1
- package/dist/{chunk-NUVP4CCD.js → chunk-R26I3YCN.js} +1 -1
- package/dist/{chunk-5DSVWSL5.js → chunk-REH7YNV4.js} +2 -2
- package/dist/{chunk-4AA2HRIM.js → chunk-RF3O2OZL.js} +4 -4
- package/dist/{chunk-4E3SZEEI.js → chunk-RSMOYIVR.js} +2 -2
- package/dist/{chunk-VIIHBYIP.js → chunk-RXL7A7JH.js} +1 -1
- package/dist/chunk-SDC5XIA5.js +285 -0
- package/dist/{chunk-QTKDGDR5.js → chunk-SDPOSTDC.js} +1 -1
- package/dist/{chunk-3OO34BOT.js → chunk-SFT7M6MC.js} +1 -1
- package/dist/chunk-SNJLKMCY.js +50 -0
- package/dist/{chunk-5GDTZOVS.js → chunk-T5BGKRYS.js} +2 -2
- package/dist/{chunk-KIUNO3JP.js → chunk-TG7JYSEA.js} +1 -1
- package/dist/{chunk-5MLYU6I2.js → chunk-TLQDDKU4.js} +1 -1
- package/dist/{chunk-4MLSFZLY.js → chunk-TNZSK6L7.js} +8 -4
- package/dist/{chunk-YYCKKORY.js → chunk-U6NQ6OEU.js} +3 -2
- package/dist/{chunk-6CYVBLZW.js → chunk-UBJRI2UU.js} +2 -2
- package/dist/{chunk-IRUWKANS.js → chunk-UEXJYSJX.js} +1 -1
- package/dist/{chunk-SLK3DPYU.js → chunk-UHUODLGJ.js} +9 -3
- package/dist/{chunk-6TJLBXR5.js → chunk-UPM5JP6G.js} +147 -36
- package/dist/{chunk-2YPCD2UH.js → chunk-V3AZC2K6.js} +700 -384
- package/dist/{chunk-UU4FHMON.js → chunk-V7RT3NZH.js} +12 -6
- package/dist/{chunk-5VV2YMMB.js → chunk-VMR6M6GN.js} +2 -2
- package/dist/{chunk-HDL7CXQ4.js → chunk-VNYSLHHX.js} +326 -39
- package/dist/{chunk-FQEBVYVE.js → chunk-W4IUPJJ2.js} +5 -5
- package/dist/{chunk-JMMF3PPQ.js → chunk-W5SRIJU4.js} +1 -1
- package/dist/{chunk-R3QDXB55.js → chunk-W6UB2AWP.js} +15 -4
- package/dist/{chunk-T3EJIMDX.js → chunk-WD6PJ7IY.js} +6 -4
- package/dist/{chunk-PXPBF2JZ.js → chunk-WFEOKA2T.js} +4 -4
- package/dist/{chunk-ECSNSHZ7.js → chunk-WSOA3WMC.js} +49 -3
- package/dist/{chunk-RZZ66LSS.js → chunk-WT6YYIEL.js} +12 -12
- package/dist/{chunk-6JMRRJD6.js → chunk-WYMGEGOM.js} +3 -3
- package/dist/{chunk-3EUMUSLE.js → chunk-XBOLFVMD.js} +1 -1
- package/dist/{chunk-7M5AWCR3.js → chunk-XDO4DVSB.js} +2 -2
- package/dist/{chunk-KRRZNASS.js → chunk-XM3EARTG.js} +2 -2
- package/dist/{chunk-4VUAG6DN.js → chunk-XQASVF7H.js} +183 -2
- package/dist/{chunk-ZYLKX3KB.js → chunk-XWD6F6EZ.js} +28 -13
- package/dist/{chunk-BZA4N43B.js → chunk-YEOIPUFO.js} +2 -2
- package/dist/{chunk-MTFSD6DH.js → chunk-YESAKOJE.js} +5 -32
- package/dist/{chunk-CBD64QQG.js → chunk-Z4UKLRML.js} +1 -1
- package/dist/{chunk-SXKMH4JX.js → chunk-Z5DTZ464.js} +1 -1
- package/dist/{chunk-WYRZEMRU.js → chunk-ZXQRVYRS.js} +2 -2
- package/dist/{cleanup-graph-garbage-DDVPSPI4.js → cleanup-graph-garbage-EVPEOMIW.js} +12 -10
- package/dist/cloud-sync-shutdown-QVXYVLWQ.js +44 -0
- package/dist/cloud-sync-state-DJRZORFI.js +17 -0
- package/dist/{co-activation-HLCAD44L.js → co-activation-XGBTXQAN.js} +6 -6
- package/dist/{co-occurrence-I5U2PCPX.js → co-occurrence-ZQAKCA5V.js} +10 -8
- package/dist/{code-context-index-FSYP5VF2.js → code-context-index-5RY66SWZ.js} +11 -5
- package/dist/{conversation-entity-extractor-D3EFTLT4.js → conversation-entity-extractor-CVJ43JCX.js} +4 -2
- package/dist/{conversation-wiki-populator-YVT5AYSK.js → conversation-wiki-populator-RZKG6PK4.js} +1 -1
- package/dist/{crdt-sync-EMV5EZ4J.js → crdt-sync-FQIHFFCI.js} +1 -1
- package/dist/{crm-webhook-XJ6UOBHR.js → crm-webhook-IA2N224B.js} +2 -2
- package/dist/{cto-delegation-gate-5NNZWP2M.js → cto-delegation-gate-5OUCWJYA.js} +22 -22
- package/dist/{daemon-auth-TIE7HSWF.js → daemon-auth-SXZHLUYS.js} +3 -3
- package/dist/daemon-health-log-OBHLBKVW.js +15 -0
- package/dist/{daemon-orchestration-GGSRCXR3.js → daemon-orchestration-7XWMZXN4.js} +27 -27
- package/dist/{daemon-ready-A7R6XZRF.js → daemon-ready-QGU7MZZB.js} +1 -1
- package/dist/{daemon-ready-signal-LPAZWQOV.js → daemon-ready-signal-TVCPSG7J.js} +3 -1
- package/dist/{daemon-restart-report-F3P5AQS4.js → daemon-restart-report-QDRGKLL6.js} +1 -1
- package/dist/{db-restore-events-GQGQSYHV.js → db-restore-events-ZLD2HRQV.js} +2 -2
- package/dist/db-verify-stamp-YTRPEKZ5.js +15 -0
- package/dist/{doc-graph-extractor-3OXUTEKS.js → doc-graph-extractor-VZ6SE7BC.js} +10 -8
- package/dist/{documents-M7UI6SZ6.js → documents-7ZVGEZ2X.js} +15 -12
- package/dist/dreaming-GANGWVRH.js +56 -0
- package/dist/{drift-counter-I6R3N4OQ.js → drift-counter-CW6OPY6H.js} +6 -3
- package/dist/{exe-drift-DPDRG3OM.js → exe-drift-X62H7KFD.js} +7 -7
- package/dist/{exe-export-SZVIC6KI.js → exe-export-DZNDPQ7I.js} +14 -11
- package/dist/{exe-import-Q6TCHQ6P.js → exe-import-JZ4BOQUV.js} +14 -11
- package/dist/{exe-key-EVMVLB3Y.js → exe-key-RWMZZOJI.js} +94 -91
- package/dist/exe-mcp-GCZLSGCO.js +286 -0
- package/dist/{exe-org-3Y3RWGIU.js → exe-org-UK77DUU4.js} +3 -3
- package/dist/{exe-snapshot-UX5CFSDX.js → exe-snapshot-VTGR53OI.js} +29 -26
- package/dist/fast-db-init-CZSSDWDG.js +9 -0
- package/dist/{founder-context-FCVTBCWI.js → founder-context-7OKZVVEH.js} +4 -4
- package/dist/gateway/index.js +22 -22
- package/dist/{git-staleness-AFBXWNTZ.js → git-staleness-JN7YOMDP.js} +33 -12
- package/dist/{global-procedures-BDREAJSZ.js → global-procedures-NOJL7AQ7.js} +8 -8
- package/dist/{graph-auto-extract-JJ5OGNGJ.js → graph-auto-extract-DNY7O7YL.js} +10 -8
- package/dist/{graph-rag-JZZAB7PC.js → graph-rag-HHNAX7YO.js} +4 -2
- package/dist/{hook-integrity-IKKZ6HBC.js → hook-integrity-TYGDD7OE.js} +1 -1
- package/dist/{hook-prefetch-HLCCAOSZ.js → hook-prefetch-LYJMDLRJ.js} +23 -23
- package/dist/hooks/bug-report-worker.js +28 -28
- package/dist/hooks/codex-stop-task-finalizer.js +46 -29
- package/dist/hooks/commit-complete.js +27 -27
- package/dist/hooks/error-recall.js +16 -13
- package/dist/hooks/exe-heartbeat-hook.js +8 -8
- package/dist/hooks/ingest-worker.js +11 -9
- package/dist/hooks/ingest.js +19 -19
- package/dist/hooks/instructions-loaded.js +11 -27
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +10 -10
- package/dist/hooks/post-compact.js +25 -25
- package/dist/hooks/post-tool-combined.js +14 -13
- package/dist/hooks/pre-compact.js +26 -26
- package/dist/hooks/pre-tool-use.js +35 -35
- package/dist/hooks/prompt-submit.js +94 -52
- package/dist/hooks/session-end.js +35 -34
- package/dist/hooks/session-start.js +29 -70
- package/dist/hooks/stop.js +32 -32
- package/dist/hooks/subagent-stop.js +56 -26
- package/dist/hooks/summary-worker.js +34 -31
- package/dist/index.js +35 -35
- package/dist/{installer-BZ3QV7DJ.js → installer-6O3XLAQ5.js} +11 -11
- package/dist/{installer-OJ7XKSAR.js → installer-EWFK5EBH.js} +11 -11
- package/dist/{installer-HADQQZIU.js → installer-KBK7EE3F.js} +11 -11
- package/dist/{intercom-queue-NFOLOBTT.js → intercom-queue-EOYSBHUA.js} +22 -22
- package/dist/{key-backup-status-TTO2UUYP.js → key-backup-status-YMS7YGWO.js} +9 -8
- package/dist/lib/agent-config.js +3 -3
- package/dist/lib/cloud-sync.js +22 -17
- package/dist/lib/config.js +2 -2
- package/dist/lib/consolidation.js +14 -11
- package/dist/lib/database.js +18 -8
- package/dist/lib/db-backup.js +3 -3
- package/dist/lib/db-daemon-client.js +5 -5
- package/dist/lib/db-write-worker.js +4 -2
- package/dist/lib/db.js +18 -8
- package/dist/lib/device-registry.js +3 -3
- package/dist/lib/embed-worker.js +2 -2
- package/dist/lib/embedder.js +5 -5
- package/dist/lib/employee-templates.js +9 -9
- package/dist/lib/employees.js +6 -6
- package/dist/lib/exe-daemon-client.js +4 -4
- package/dist/lib/exe-daemon.js +656 -306
- package/dist/lib/hybrid-search.js +12 -10
- package/dist/lib/identity-templates.js +1 -1
- package/dist/lib/identity.js +6 -6
- package/dist/lib/license.js +4 -4
- package/dist/lib/messaging.js +23 -23
- package/dist/lib/post-tool-memory.js +3 -1
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +7 -7
- package/dist/lib/schedules.js +12 -9
- package/dist/lib/session-registry.js +8 -8
- package/dist/lib/skill-learning.js +13 -10
- package/dist/lib/status-brief.js +4 -4
- package/dist/lib/store.js +17 -8
- package/dist/lib/task-router.js +7 -7
- package/dist/lib/tasks.js +24 -24
- package/dist/lib/tmux-routing.js +28 -22
- package/dist/lib/token-spend.js +7 -7
- package/dist/{license-gate-3KPSNYVA.js → license-gate-WO3NO5FX.js} +5 -5
- package/dist/{license-sync-CQ42HDBA.js → license-sync-QRG2TCBR.js} +4 -4
- package/dist/mcp/register-tools.js +91 -88
- package/dist/mcp/server.js +94 -91
- package/dist/mcp/tools/complete-reminder.js +8 -8
- package/dist/mcp/tools/create-reminder.js +8 -8
- package/dist/mcp/tools/create-task.js +26 -26
- package/dist/mcp/tools/deactivate-behavior.js +14 -11
- package/dist/mcp/tools/list-reminders.js +8 -8
- package/dist/mcp/tools/list-tasks.js +26 -26
- package/dist/mcp/tools/send-message.js +25 -25
- package/dist/mcp/tools/update-task.js +25 -25
- package/dist/{mcp-http-config-BHAM376G.js → mcp-http-config-A2SKBXA6.js} +8 -8
- package/dist/{mcp-port-config-PA3W3BJK.js → mcp-port-config-YY4ZI7YR.js} +2 -2
- package/dist/{mcp-session-identity-S7GSVRR6.js → mcp-session-identity-PGAE4IB2.js} +22 -22
- package/dist/{memory-cards-47NYPFC3.js → memory-cards-BMHZILXL.js} +11 -8
- package/dist/{memory-graph-extractor-IH7YBZ6U.js → memory-graph-extractor-5EDOSSZH.js} +11 -9
- package/dist/{memory-poisoning-defense-MZQFCQ2G.js → memory-poisoning-defense-OV75EWM6.js} +6 -6
- package/dist/{memory-pressure-watchdog-PSVJ5BCF.js → memory-pressure-watchdog-MEB53N4D.js} +23 -23
- package/dist/{memory-queue-ZI7DX44D.js → memory-queue-W54BYW7V.js} +3 -3
- package/dist/{memory-queue-client-6IPZTWZA.js → memory-queue-client-RRNW2IFZ.js} +6 -6
- package/dist/{memory-reflection-3VPYJS2G.js → memory-reflection-KRYBPDHC.js} +6 -6
- package/dist/{monitor-grants-OXKZ75TH.js → monitor-grants-NWSQ7ZCQ.js} +3 -3
- package/dist/{notification-ledger-A6MYLQAN.js → notification-ledger-XPT4GVNX.js} +23 -23
- package/dist/{notifications-6XCSUTJW.js → notifications-XTLG4LEM.js} +22 -22
- package/dist/{orchestration-events-5XDNVNR2.js → orchestration-events-ZZQZCV4J.js} +7 -7
- package/dist/{orchestration-phase-6DJUSFMV.js → orchestration-phase-KVF42ZKU.js} +3 -3
- package/dist/orchestrator-YXNVVWAA.js +48 -0
- package/dist/pipeline-router-4RBSYZND.js +16 -0
- package/dist/{plan-limits-7BUMNQOI.js → plan-limits-5P5GMLKB.js} +9 -9
- package/dist/{platform-procedures-VDW2R65H.js → platform-procedures-G44IYUM2.js} +1 -1
- package/dist/{preferences-TWIXZBKS.js → preferences-DGETRDMN.js} +2 -2
- package/dist/{project-boot-RXCHF3S7.js → project-boot-XBUAQWVL.js} +2 -2
- package/dist/{projection-worker-CKC2E22U.js → projection-worker-72KRZL37.js} +5 -5
- package/dist/{prospective-memory-Q7ZUCAS4.js → prospective-memory-HEF2QHEU.js} +6 -6
- package/dist/{push-notifications-VCSZYVD5.js → push-notifications-GOFTDDWW.js} +3 -3
- package/dist/{reranker-L3GLRUDY.js → reranker-DA7FSOUJ.js} +3 -3
- package/dist/{retrieval-health-DPLY6O6P.js → retrieval-health-MHNE5SSF.js} +1 -1
- package/dist/review-polling-GYKRBUX2.js +55 -0
- package/dist/runtime/index.js +26 -26
- package/dist/{session-events-N5VRC6IT.js → session-events-Q5IYAH44.js} +23 -23
- package/dist/{session-kill-telemetry-76ZVQ525.js → session-kill-telemetry-P3P3U6TE.js} +23 -23
- package/dist/{session-scope-B3BEHGHO.js → session-scope-GHM4GKYR.js} +22 -22
- package/dist/{setup-wizard-5SIRITVN.js → setup-wizard-5D56CWVZ.js} +4 -4
- package/dist/{shard-manager-OETALPDW.js → shard-manager-3L2NMJVJ.js} +3 -3
- package/dist/{skill-refinement-ACXLAK2G.js → skill-refinement-M24DG2TN.js} +7 -7
- package/dist/{stack-update-YVFP65NY.js → stack-update-ABMTXOZR.js} +5 -5
- package/dist/steward-gate-DYQP3BWO.js +16 -0
- package/dist/{support-inbox-5W2GMJGV.js → support-inbox-5AG4QTKQ.js} +5 -5
- package/dist/{sweep-budget-LQYBMDTK.js → sweep-budget-74FIUNX3.js} +3 -1
- package/dist/{task-enforcement-C7MMJTKX.js → task-enforcement-6FLLHH43.js} +23 -23
- package/dist/{task-scope-DK666AKV.js → task-scope-RR34UA2U.js} +22 -22
- package/dist/{tasks-crud-DFPIAAEC.js → tasks-crud-VI7Q65IE.js} +22 -22
- package/dist/{tasks-notify-4R5YIPZN.js → tasks-notify-MLE2AVHJ.js} +23 -23
- package/dist/{tasks-review-GOYSZEZA.js → tasks-review-WR3XEADY.js} +22 -22
- package/dist/{telemetry-upload-Y5F6WYLD.js → telemetry-upload-LIJY4IB7.js} +11 -11
- package/dist/token-budget-JTSFQTWP.js +16 -0
- package/dist/{tool-capability-index-QOFFCWDS.js → tool-capability-index-IFNZ6QUS.js} +1 -1
- package/dist/{tool-telemetry-4MF2HIWR.js → tool-telemetry-L62XZXK5.js} +1 -1
- package/dist/tui/App.js +36 -36
- package/dist/{tui-data-WMYZNTBR.js → tui-data-LY27NK2Z.js} +22 -22
- package/dist/{update-support-44SGQUA4.js → update-support-G2XWFHEH.js} +20 -17
- package/dist/whatsapp-QW3X7OCN.js +12 -0
- package/dist/{whatsapp-config-FAX6EA5K.js → whatsapp-config-GLG4DDXT.js} +7 -12
- package/dist/work-state-heartbeat-QCLCEQV3.js +26 -0
- package/dist/{worker-gate-7OK7ZRJL.js → worker-gate-XJJXOMUN.js} +3 -3
- package/dist/{workflow-engine-EDZGGHAI.js → workflow-engine-55LTMEXZ.js} +2 -2
- package/dist/{working-memory-NUVB5SFV.js → working-memory-BACVOAIV.js} +1 -1
- package/dist/{worktree-VDCY44ZP.js → worktree-EEW45PPV.js} +10 -8
- package/dist/worktree-sweep-PBDRKK7L.js +24 -0
- package/package.json +3 -2
- package/release-notes.json +65 -26
- package/src/commands/exe-reference.md +114 -0
- package/src/commands/exe.md +76 -142
- package/dist/chunk-KADUJ7PE.js +0 -258
- package/dist/dreaming-CYQWRJA5.js +0 -47
- package/dist/fast-db-init-O62SMAQL.js +0 -7
- package/dist/orchestrator-2RQBNMZL.js +0 -48
- package/dist/pipeline-router-N2LDNFJ5.js +0 -16
- package/dist/review-polling-DLPMK3QW.js +0 -139
- package/dist/steward-gate-2M66UU6A.js +0 -16
- package/dist/token-budget-BAM5QDFV.js +0 -16
- package/dist/whatsapp-SILL4V64.js +0 -9
- package/dist/worktree-sweep-VSL7TRQK.js +0 -22
- /package/dist/{chunk-DFCSGPNZ.js → chunk-4RM3364E.js} +0 -0
- /package/dist/{chunk-H73TUI4Y.js → chunk-BBMTVAE3.js} +0 -0
- /package/dist/{chunk-735SUAT4.js → chunk-EJVVGC6C.js} +0 -0
- /package/dist/{chunk-L5GFREAH.js → chunk-KHIBBGMT.js} +0 -0
- /package/dist/{chunk-EBTWNNAS.js → chunk-SPV2RTA4.js} +0 -0
- /package/dist/{chunk-CIG7FSD5.js → chunk-YL2JH3XV.js} +0 -0
- /package/dist/{core-memory-VOBMIFRX.js → core-memory-X3FUV5X3.js} +0 -0
- /package/dist/{entity-boost-N4NAK4WA.js → entity-boost-3IYDATSI.js} +0 -0
- /package/dist/{message-queue-client-WMIO5FL5.js → message-queue-client-AX6KQK7T.js} +0 -0
- /package/dist/{oauth-server-HPQCBLZQ.js → oauth-server-XKEJ4LE5.js} +0 -0
- /package/dist/{webhook-pipe-HH7XXXYC.js → webhook-pipe-A4X4SCMW.js} +0 -0
- /package/dist/{wiki-acl-NEM3L4LK.js → wiki-acl-D3CNNLP5.js} +0 -0
- /package/dist/{wiki-client-WREIYJLY.js → wiki-client-7RRYRSPS.js} +0 -0
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
getAllActiveAgents,
|
|
6
6
|
resolveActiveAgentFromTmuxSession,
|
|
7
7
|
writeActiveAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XDO4DVSB.js";
|
|
9
9
|
import "./chunk-CVYC6DUW.js";
|
|
10
10
|
import "./chunk-GJV3WDWM.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-3BO6S3L2.js";
|
|
12
12
|
import "./chunk-2I23RPSI.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-H73TUI4Y.js";
|
|
13
|
+
import "./chunk-7IE3NPBV.js";
|
|
14
|
+
import "./chunk-OMXJMOBD.js";
|
|
16
15
|
import "./chunk-7HLWBYH7.js";
|
|
16
|
+
import "./chunk-BBMTVAE3.js";
|
|
17
17
|
import "./chunk-FXU7JOXK.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-BCZF3AGJ.js";
|
|
19
|
+
import "./chunk-HSGBZSCA.js";
|
|
20
20
|
import "./chunk-MLKGABMK.js";
|
|
21
21
|
export {
|
|
22
22
|
cleanupSessionMarkers,
|
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
getAllActiveAgents,
|
|
7
7
|
resolveActiveAgentFromTmuxSession,
|
|
8
8
|
writeActiveAgent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XDO4DVSB.js";
|
|
10
10
|
import "./chunk-CVYC6DUW.js";
|
|
11
11
|
import "./chunk-GJV3WDWM.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-3BO6S3L2.js";
|
|
13
13
|
import "./chunk-2I23RPSI.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-H73TUI4Y.js";
|
|
14
|
+
import "./chunk-7IE3NPBV.js";
|
|
15
|
+
import "./chunk-OMXJMOBD.js";
|
|
17
16
|
import "./chunk-7HLWBYH7.js";
|
|
17
|
+
import "./chunk-BBMTVAE3.js";
|
|
18
18
|
import "./chunk-FXU7JOXK.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-BCZF3AGJ.js";
|
|
20
|
+
import "./chunk-HSGBZSCA.js";
|
|
21
21
|
import "./chunk-MLKGABMK.js";
|
|
22
22
|
export {
|
|
23
23
|
cleanupSessionMarkers,
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
<key>PATH</key>
|
|
48
48
|
<string>__PATH__</string>
|
|
49
49
|
<key>HOME</key>
|
|
50
|
-
<string>__HOME__</string>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
<string>__HOME__</string>
|
|
51
|
+
<key>EXE_LAUNCHD_DOMAIN</key>
|
|
52
|
+
<string>user</string>__ANTHROPIC_API_KEY_ENV__<!--
|
|
53
|
+
Secrets are never embedded here. Installer migration writes runtime
|
|
54
|
+
credentials to ~/.exe-os/daemon.env with 0600 permissions; the daemon
|
|
55
|
+
loads that env file before auth checks. -->__EXE_EMBEDDINGS_ENV__
|
|
56
56
|
</dict>
|
|
57
57
|
|
|
58
58
|
<!-- Logging -->
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
backfillKillSwitchEnabled,
|
|
6
6
|
computeBackfillDisabled,
|
|
7
7
|
countActionableNullVectors
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-QX7RWICL.js";
|
|
9
|
+
import "./chunk-BCZF3AGJ.js";
|
|
10
|
+
import "./chunk-HSGBZSCA.js";
|
|
11
11
|
import "./chunk-MLKGABMK.js";
|
|
12
12
|
export {
|
|
13
13
|
NOT_PARKED_SQL,
|
|
@@ -2,26 +2,29 @@
|
|
|
2
2
|
import {
|
|
3
3
|
disposeStore,
|
|
4
4
|
initStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XWD6F6EZ.js";
|
|
6
|
+
import "./chunk-IUMAJIHE.js";
|
|
6
7
|
import "./chunk-CHCA3ZM2.js";
|
|
7
8
|
import "./chunk-OTVEIJUQ.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-TNZSK6L7.js";
|
|
10
|
+
import "./chunk-5MOYSU5A.js";
|
|
9
11
|
import "./chunk-4QCFFW2H.js";
|
|
12
|
+
import "./chunk-76CJBM36.js";
|
|
10
13
|
import "./chunk-MP2AFCGL.js";
|
|
11
14
|
import {
|
|
12
15
|
getClient,
|
|
13
16
|
getEmployeeNamesByRole,
|
|
14
17
|
loadEmployeesSync
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3BO6S3L2.js";
|
|
16
19
|
import "./chunk-2I23RPSI.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-H73TUI4Y.js";
|
|
20
|
+
import "./chunk-7IE3NPBV.js";
|
|
21
|
+
import "./chunk-OMXJMOBD.js";
|
|
20
22
|
import "./chunk-7HLWBYH7.js";
|
|
23
|
+
import "./chunk-BBMTVAE3.js";
|
|
21
24
|
import "./chunk-FXU7JOXK.js";
|
|
22
25
|
import "./chunk-QWVXN224.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-BCZF3AGJ.js";
|
|
27
|
+
import "./chunk-HSGBZSCA.js";
|
|
25
28
|
import {
|
|
26
29
|
isMainModule
|
|
27
30
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
releaseJobLock,
|
|
10
10
|
reniceCurrentProcess,
|
|
11
11
|
startManagedJob
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-YEOIPUFO.js";
|
|
13
|
+
import "./chunk-BCZF3AGJ.js";
|
|
14
|
+
import "./chunk-HSGBZSCA.js";
|
|
15
15
|
import "./chunk-MLKGABMK.js";
|
|
16
16
|
export {
|
|
17
17
|
acquireJobLock,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getLatestBackup,
|
|
3
3
|
reasonFromBackupName
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-7IE3NPBV.js";
|
|
5
|
+
import "./chunk-BCZF3AGJ.js";
|
|
6
|
+
import "./chunk-HSGBZSCA.js";
|
|
7
7
|
import "./chunk-MLKGABMK.js";
|
|
8
8
|
|
|
9
9
|
// src/lib/backup-verify.ts
|
|
@@ -15,6 +15,7 @@ import { tmpdir } from "os";
|
|
|
15
15
|
import path from "path";
|
|
16
16
|
var MANIFEST_SCHEMA_VERSION = 1;
|
|
17
17
|
var DEFAULT_DRIFT_ALLOWANCE = 1e5;
|
|
18
|
+
var BACKUP_OPEN_PROBE_SQL = "SELECT name FROM sqlite_master LIMIT 1";
|
|
18
19
|
var CRASH_LOOP_REASONS = /* @__PURE__ */ new Set(["pre-restart", "pre-consolidation", "pre-fix"]);
|
|
19
20
|
function manifestWriteEnabled() {
|
|
20
21
|
return !/^(0|false|no|off)$/i.test(process.env.EXE_BACKUP_MANIFEST ?? "1");
|
|
@@ -86,37 +87,56 @@ async function collectCounts(client, tables) {
|
|
|
86
87
|
return out;
|
|
87
88
|
}
|
|
88
89
|
async function computeKeyEpoch(keyHex) {
|
|
89
|
-
|
|
90
|
-
if (hex === void 0) {
|
|
91
|
-
try {
|
|
92
|
-
const { getMasterKey } = await import("./lib/keychain.js");
|
|
93
|
-
const key = await getMasterKey();
|
|
94
|
-
hex = key ? key.toString("hex") : null;
|
|
95
|
-
} catch {
|
|
96
|
-
hex = null;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
90
|
+
const hex = keyHex === void 0 ? await resolveBackupKeyHex() : keyHex;
|
|
99
91
|
if (!hex) return null;
|
|
100
92
|
return createHash("sha256").update(hex).digest("hex").slice(0, 8);
|
|
101
93
|
}
|
|
94
|
+
async function resolveBackupKeyHex() {
|
|
95
|
+
try {
|
|
96
|
+
const { getCurrentDatabaseConfig } = await import("./lib/database.js");
|
|
97
|
+
const config = getCurrentDatabaseConfig();
|
|
98
|
+
if (config?.encryptionKey) return config.encryptionKey;
|
|
99
|
+
} catch {
|
|
100
|
+
}
|
|
101
|
+
try {
|
|
102
|
+
const { getMasterKey } = await import("./lib/keychain.js");
|
|
103
|
+
const key = await getMasterKey();
|
|
104
|
+
return key ? key.toString("hex") : null;
|
|
105
|
+
} catch {
|
|
106
|
+
return null;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
102
109
|
function manifestPathFor(backupPath) {
|
|
103
110
|
return `${backupPath}.manifest.json`;
|
|
104
111
|
}
|
|
105
112
|
async function writeBackupManifest(backupPath, dbName, opts = {}) {
|
|
113
|
+
let scratch = null;
|
|
114
|
+
let ownedClient = null;
|
|
106
115
|
try {
|
|
107
116
|
let client = opts.client;
|
|
108
117
|
if (!client) {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
118
|
+
scratch = await mkdtemp(path.join(tmpdir(), "exe-bkmanifest-"));
|
|
119
|
+
const scratchDb = path.join(scratch, path.basename(backupPath));
|
|
120
|
+
await copyFile(backupPath, scratchDb);
|
|
121
|
+
for (const sfx of ["-wal", "-shm"]) {
|
|
122
|
+
if (existsSync(backupPath + sfx)) {
|
|
123
|
+
try {
|
|
124
|
+
await copyFile(backupPath + sfx, scratchDb + sfx);
|
|
125
|
+
} catch {
|
|
126
|
+
}
|
|
127
|
+
}
|
|
114
128
|
}
|
|
129
|
+
const keyHex = opts.keyHex === void 0 ? await resolveBackupKeyHex() : opts.keyHex;
|
|
130
|
+
ownedClient = createClient(
|
|
131
|
+
keyHex ? { url: `file:${scratchDb}`, encryptionKey: keyHex } : { url: `file:${scratchDb}` }
|
|
132
|
+
);
|
|
133
|
+
await ownedClient.execute(BACKUP_OPEN_PROBE_SQL);
|
|
134
|
+
client = ownedClient;
|
|
115
135
|
}
|
|
116
136
|
const schemaTables = await collectSchemaTables(client);
|
|
117
137
|
const schemaHash = computeSchemaHash(schemaTables);
|
|
118
138
|
const tables = await collectCounts(client, schemaTables.map((t) => t.name));
|
|
119
|
-
const keyEpoch = opts.keyEpoch !== void 0 ? opts.keyEpoch : await computeKeyEpoch();
|
|
139
|
+
const keyEpoch = opts.keyEpoch !== void 0 ? opts.keyEpoch : await computeKeyEpoch(opts.keyHex);
|
|
120
140
|
const manifest = {
|
|
121
141
|
schemaVersion: MANIFEST_SCHEMA_VERSION,
|
|
122
142
|
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -129,6 +149,17 @@ async function writeBackupManifest(backupPath, dbName, opts = {}) {
|
|
|
129
149
|
return manifest;
|
|
130
150
|
} catch {
|
|
131
151
|
return null;
|
|
152
|
+
} finally {
|
|
153
|
+
try {
|
|
154
|
+
ownedClient?.close?.();
|
|
155
|
+
} catch {
|
|
156
|
+
}
|
|
157
|
+
if (scratch) {
|
|
158
|
+
try {
|
|
159
|
+
await rm(scratch, { recursive: true, force: true });
|
|
160
|
+
} catch {
|
|
161
|
+
}
|
|
162
|
+
}
|
|
132
163
|
}
|
|
133
164
|
}
|
|
134
165
|
async function readManifest(backupPath) {
|
|
@@ -264,7 +295,7 @@ async function compareToLive(name, gotCounts, opts) {
|
|
|
264
295
|
}
|
|
265
296
|
async function recordVerdict(res) {
|
|
266
297
|
try {
|
|
267
|
-
const { recordDbRestoreEvent } = await import("./db-restore-events-
|
|
298
|
+
const { recordDbRestoreEvent } = await import("./db-restore-events-ZLD2HRQV.js");
|
|
268
299
|
if (res.ok) {
|
|
269
300
|
recordDbRestoreEvent({
|
|
270
301
|
kind: "restore-verify-pass",
|
|
@@ -302,16 +333,35 @@ async function verifyBackup(backupPath, opts = {}) {
|
|
|
302
333
|
return res2;
|
|
303
334
|
}
|
|
304
335
|
const name = path.basename(target);
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
const
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
336
|
+
const keyHex = opts.keyHex !== void 0 ? opts.keyHex : await resolveBackupKeyHex();
|
|
337
|
+
const targetManifest = await readManifest(target);
|
|
338
|
+
if (targetManifest?.keyEpoch) {
|
|
339
|
+
const actualEpoch = keyHex ? await computeKeyEpoch(keyHex) : null;
|
|
340
|
+
if (!actualEpoch) {
|
|
341
|
+
const res2 = {
|
|
342
|
+
ok: false,
|
|
343
|
+
backup: name,
|
|
344
|
+
source: "none",
|
|
345
|
+
integrity: "unreadable",
|
|
346
|
+
tables: [],
|
|
347
|
+
reason: "no-key",
|
|
348
|
+
detail: `backup manifest requires key epoch ${targetManifest.keyEpoch}, but no live encryption key is available`
|
|
349
|
+
};
|
|
350
|
+
if (record) await recordVerdict(res2);
|
|
351
|
+
return res2;
|
|
352
|
+
}
|
|
353
|
+
if (actualEpoch !== targetManifest.keyEpoch) {
|
|
354
|
+
const res2 = {
|
|
355
|
+
ok: false,
|
|
356
|
+
backup: name,
|
|
357
|
+
source: "none",
|
|
358
|
+
integrity: "unreadable",
|
|
359
|
+
tables: [],
|
|
360
|
+
reason: "no-key",
|
|
361
|
+
detail: `backup key epoch mismatch: manifest=${targetManifest.keyEpoch} live=${actualEpoch}`
|
|
362
|
+
};
|
|
363
|
+
if (record) await recordVerdict(res2);
|
|
364
|
+
return res2;
|
|
315
365
|
}
|
|
316
366
|
}
|
|
317
367
|
const scratchParent = opts.scratchParent ?? tmpdir();
|
|
@@ -334,7 +384,7 @@ async function verifyBackup(backupPath, opts = {}) {
|
|
|
334
384
|
client = createClient(
|
|
335
385
|
keyHex ? { url: `file:${scratchDb}`, encryptionKey: keyHex } : { url: `file:${scratchDb}` }
|
|
336
386
|
);
|
|
337
|
-
await client.execute(
|
|
387
|
+
await client.execute(BACKUP_OPEN_PROBE_SQL);
|
|
338
388
|
} catch (err) {
|
|
339
389
|
res = {
|
|
340
390
|
ok: false,
|
|
@@ -343,7 +393,7 @@ async function verifyBackup(backupPath, opts = {}) {
|
|
|
343
393
|
integrity: "unreadable",
|
|
344
394
|
tables: [],
|
|
345
395
|
reason: "unreadable",
|
|
346
|
-
detail: `cannot
|
|
396
|
+
detail: `cannot read backup with configured key${targetManifest?.keyEpoch ? " (manifest key epoch matched; artifact is unreadable/corrupt)" : ""}: ${errMsg(err)}`
|
|
347
397
|
};
|
|
348
398
|
if (record) await recordVerdict(res);
|
|
349
399
|
return res;
|
|
@@ -367,7 +417,7 @@ async function verifyBackup(backupPath, opts = {}) {
|
|
|
367
417
|
const schemaHash = computeSchemaHash(schemaTables);
|
|
368
418
|
const gotCounts = await collectCounts(client, schemaTables.map((t) => t.name));
|
|
369
419
|
const wantSource = opts.source ?? "auto";
|
|
370
|
-
const manifest = wantSource === "live" ? null :
|
|
420
|
+
const manifest = wantSource === "live" ? null : targetManifest;
|
|
371
421
|
if (manifest) {
|
|
372
422
|
res = compareToManifest(name, manifest, schemaHash, gotCounts);
|
|
373
423
|
} else {
|
|
@@ -12,23 +12,26 @@ import {
|
|
|
12
12
|
reactivateBehavior,
|
|
13
13
|
storeBehavior,
|
|
14
14
|
storeReflexBehavior
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-XM3EARTG.js";
|
|
16
|
+
import "./chunk-XWD6F6EZ.js";
|
|
17
|
+
import "./chunk-IUMAJIHE.js";
|
|
17
18
|
import "./chunk-CHCA3ZM2.js";
|
|
18
19
|
import "./chunk-OTVEIJUQ.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-TNZSK6L7.js";
|
|
21
|
+
import "./chunk-5MOYSU5A.js";
|
|
20
22
|
import "./chunk-4QCFFW2H.js";
|
|
23
|
+
import "./chunk-76CJBM36.js";
|
|
21
24
|
import "./chunk-MP2AFCGL.js";
|
|
22
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-3BO6S3L2.js";
|
|
23
26
|
import "./chunk-2I23RPSI.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-H73TUI4Y.js";
|
|
27
|
+
import "./chunk-7IE3NPBV.js";
|
|
28
|
+
import "./chunk-OMXJMOBD.js";
|
|
27
29
|
import "./chunk-7HLWBYH7.js";
|
|
30
|
+
import "./chunk-BBMTVAE3.js";
|
|
28
31
|
import "./chunk-FXU7JOXK.js";
|
|
29
32
|
import "./chunk-QWVXN224.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-BCZF3AGJ.js";
|
|
34
|
+
import "./chunk-HSGBZSCA.js";
|
|
32
35
|
import "./chunk-MLKGABMK.js";
|
|
33
36
|
export {
|
|
34
37
|
GHOST_BEHAVIOR_SQL,
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
politeBatchPause,
|
|
7
7
|
startManagedJob
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-YEOIPUFO.js";
|
|
9
|
+
import "../chunk-BCZF3AGJ.js";
|
|
10
|
+
import "../chunk-HSGBZSCA.js";
|
|
11
11
|
import "../chunk-MLKGABMK.js";
|
|
12
12
|
|
|
13
13
|
// src/bin/age-ontology-load.ts
|
|
@@ -1,32 +1,35 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
insertOntologyForBatch
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-SPV2RTA4.js";
|
|
5
5
|
import {
|
|
6
6
|
politeBatchPause,
|
|
7
7
|
startManagedJob
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-YEOIPUFO.js";
|
|
9
9
|
import {
|
|
10
10
|
disposeStore,
|
|
11
11
|
initStore
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-XWD6F6EZ.js";
|
|
13
|
+
import "../chunk-IUMAJIHE.js";
|
|
13
14
|
import "../chunk-CHCA3ZM2.js";
|
|
14
15
|
import "../chunk-OTVEIJUQ.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-TNZSK6L7.js";
|
|
17
|
+
import "../chunk-5MOYSU5A.js";
|
|
16
18
|
import "../chunk-4QCFFW2H.js";
|
|
19
|
+
import "../chunk-76CJBM36.js";
|
|
17
20
|
import "../chunk-MP2AFCGL.js";
|
|
18
21
|
import {
|
|
19
22
|
getClient
|
|
20
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-3BO6S3L2.js";
|
|
21
24
|
import "../chunk-2I23RPSI.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-H73TUI4Y.js";
|
|
25
|
+
import "../chunk-7IE3NPBV.js";
|
|
26
|
+
import "../chunk-OMXJMOBD.js";
|
|
25
27
|
import "../chunk-7HLWBYH7.js";
|
|
28
|
+
import "../chunk-BBMTVAE3.js";
|
|
26
29
|
import "../chunk-FXU7JOXK.js";
|
|
27
30
|
import "../chunk-QWVXN224.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-BCZF3AGJ.js";
|
|
32
|
+
import "../chunk-HSGBZSCA.js";
|
|
30
33
|
import "../chunk-MLKGABMK.js";
|
|
31
34
|
|
|
32
35
|
// src/bin/agentic-ontology-backfill.ts
|
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
generateReflectionCheckpoints
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-IGF7YLMD.js";
|
|
5
|
+
import "../chunk-SPV2RTA4.js";
|
|
6
6
|
import {
|
|
7
7
|
startManagedJob
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-YEOIPUFO.js";
|
|
9
9
|
import {
|
|
10
10
|
initStore
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-XWD6F6EZ.js";
|
|
12
|
+
import "../chunk-IUMAJIHE.js";
|
|
12
13
|
import "../chunk-CHCA3ZM2.js";
|
|
13
14
|
import "../chunk-OTVEIJUQ.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-TNZSK6L7.js";
|
|
16
|
+
import "../chunk-5MOYSU5A.js";
|
|
15
17
|
import "../chunk-4QCFFW2H.js";
|
|
18
|
+
import "../chunk-76CJBM36.js";
|
|
16
19
|
import "../chunk-MP2AFCGL.js";
|
|
17
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-3BO6S3L2.js";
|
|
18
21
|
import "../chunk-2I23RPSI.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-H73TUI4Y.js";
|
|
22
|
+
import "../chunk-7IE3NPBV.js";
|
|
23
|
+
import "../chunk-OMXJMOBD.js";
|
|
22
24
|
import "../chunk-7HLWBYH7.js";
|
|
25
|
+
import "../chunk-BBMTVAE3.js";
|
|
23
26
|
import "../chunk-FXU7JOXK.js";
|
|
24
27
|
import "../chunk-QWVXN224.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-BCZF3AGJ.js";
|
|
29
|
+
import "../chunk-HSGBZSCA.js";
|
|
27
30
|
import "../chunk-MLKGABMK.js";
|
|
28
31
|
|
|
29
32
|
// src/bin/agentic-reflection-backfill.ts
|
|
@@ -3,31 +3,34 @@ import {
|
|
|
3
3
|
clean,
|
|
4
4
|
inferSemanticLabel,
|
|
5
5
|
stableId
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-SPV2RTA4.js";
|
|
7
7
|
import {
|
|
8
8
|
politeBatchPause,
|
|
9
9
|
startManagedJob
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-YEOIPUFO.js";
|
|
11
11
|
import {
|
|
12
12
|
initStore
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-XWD6F6EZ.js";
|
|
14
|
+
import "../chunk-IUMAJIHE.js";
|
|
14
15
|
import "../chunk-CHCA3ZM2.js";
|
|
15
16
|
import "../chunk-OTVEIJUQ.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-TNZSK6L7.js";
|
|
18
|
+
import "../chunk-5MOYSU5A.js";
|
|
17
19
|
import "../chunk-4QCFFW2H.js";
|
|
20
|
+
import "../chunk-76CJBM36.js";
|
|
18
21
|
import "../chunk-MP2AFCGL.js";
|
|
19
22
|
import {
|
|
20
23
|
getClient
|
|
21
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-3BO6S3L2.js";
|
|
22
25
|
import "../chunk-2I23RPSI.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-H73TUI4Y.js";
|
|
26
|
+
import "../chunk-7IE3NPBV.js";
|
|
27
|
+
import "../chunk-OMXJMOBD.js";
|
|
26
28
|
import "../chunk-7HLWBYH7.js";
|
|
29
|
+
import "../chunk-BBMTVAE3.js";
|
|
27
30
|
import "../chunk-FXU7JOXK.js";
|
|
28
31
|
import "../chunk-QWVXN224.js";
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-BCZF3AGJ.js";
|
|
33
|
+
import "../chunk-HSGBZSCA.js";
|
|
31
34
|
import "../chunk-MLKGABMK.js";
|
|
32
35
|
|
|
33
36
|
// src/lib/agentic-llm-labeler.ts
|
|
@@ -3,32 +3,35 @@ import {
|
|
|
3
3
|
flushBatch,
|
|
4
4
|
initStore,
|
|
5
5
|
writeMemory
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-XWD6F6EZ.js";
|
|
7
|
+
import "../chunk-IUMAJIHE.js";
|
|
7
8
|
import "../chunk-CHCA3ZM2.js";
|
|
8
9
|
import "../chunk-OTVEIJUQ.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-TNZSK6L7.js";
|
|
11
|
+
import "../chunk-5MOYSU5A.js";
|
|
10
12
|
import "../chunk-4QCFFW2H.js";
|
|
13
|
+
import "../chunk-76CJBM36.js";
|
|
11
14
|
import {
|
|
12
15
|
connectEmbedDaemon,
|
|
13
16
|
embedViaClient
|
|
14
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-W6UB2AWP.js";
|
|
15
18
|
import "../chunk-AFNRE2RV.js";
|
|
16
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-VMR6M6GN.js";
|
|
17
20
|
import "../chunk-NLEW62VC.js";
|
|
18
21
|
import "../chunk-MP2AFCGL.js";
|
|
19
22
|
import {
|
|
20
23
|
getClient,
|
|
21
24
|
isCoordinatorName
|
|
22
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-3BO6S3L2.js";
|
|
23
26
|
import "../chunk-2I23RPSI.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-H73TUI4Y.js";
|
|
27
|
+
import "../chunk-7IE3NPBV.js";
|
|
28
|
+
import "../chunk-OMXJMOBD.js";
|
|
27
29
|
import "../chunk-7HLWBYH7.js";
|
|
30
|
+
import "../chunk-BBMTVAE3.js";
|
|
28
31
|
import "../chunk-FXU7JOXK.js";
|
|
29
32
|
import "../chunk-QWVXN224.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-BCZF3AGJ.js";
|
|
34
|
+
import "../chunk-HSGBZSCA.js";
|
|
32
35
|
import {
|
|
33
36
|
isMainModule
|
|
34
37
|
} from "../chunk-6Y4B3QF6.js";
|
|
@@ -3,32 +3,35 @@ import {
|
|
|
3
3
|
flushBatch,
|
|
4
4
|
initStore,
|
|
5
5
|
writeMemory
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-XWD6F6EZ.js";
|
|
7
|
+
import "../chunk-IUMAJIHE.js";
|
|
7
8
|
import "../chunk-CHCA3ZM2.js";
|
|
8
9
|
import "../chunk-OTVEIJUQ.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-TNZSK6L7.js";
|
|
11
|
+
import "../chunk-5MOYSU5A.js";
|
|
10
12
|
import "../chunk-4QCFFW2H.js";
|
|
13
|
+
import "../chunk-76CJBM36.js";
|
|
11
14
|
import {
|
|
12
15
|
connectEmbedDaemon,
|
|
13
16
|
embedViaClient
|
|
14
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-W6UB2AWP.js";
|
|
15
18
|
import "../chunk-AFNRE2RV.js";
|
|
16
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-VMR6M6GN.js";
|
|
17
20
|
import "../chunk-NLEW62VC.js";
|
|
18
21
|
import "../chunk-MP2AFCGL.js";
|
|
19
22
|
import {
|
|
20
23
|
getClient,
|
|
21
24
|
isCoordinatorName
|
|
22
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-3BO6S3L2.js";
|
|
23
26
|
import "../chunk-2I23RPSI.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-H73TUI4Y.js";
|
|
27
|
+
import "../chunk-7IE3NPBV.js";
|
|
28
|
+
import "../chunk-OMXJMOBD.js";
|
|
27
29
|
import "../chunk-7HLWBYH7.js";
|
|
30
|
+
import "../chunk-BBMTVAE3.js";
|
|
28
31
|
import "../chunk-FXU7JOXK.js";
|
|
29
32
|
import "../chunk-QWVXN224.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-BCZF3AGJ.js";
|
|
34
|
+
import "../chunk-HSGBZSCA.js";
|
|
32
35
|
import {
|
|
33
36
|
isMainModule
|
|
34
37
|
} from "../chunk-6Y4B3QF6.js";
|