@askexenow/exe-os 0.9.345 → 0.9.346
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/deploy/compose/clickhouse-config.xml +14 -0
- package/dist/{active-agent-BAWQYSNJ.js → active-agent-JXJFAZMM.js} +3 -3
- package/dist/{active-agent-6ZH2D6IP.js → active-agent-Y7B6SUEV.js} +3 -3
- package/dist/{agentic-ontology-IUFSZUI6.js → agentic-ontology-AUJAVTHS.js} +1 -1
- package/dist/{backfill-metadata-CWMJBLNQ.js → backfill-metadata-3LUJK7D4.js} +5 -5
- package/dist/{backup-verify-NMXFX6NR.js → backup-verify-6UAZ5ETR.js} +1 -1
- package/dist/{behaviors-XZOZKID2.js → behaviors-BVOBYS73.js} +6 -6
- package/dist/bin/agentic-ontology-backfill.js +6 -6
- package/dist/bin/agentic-reflection-backfill.js +7 -7
- package/dist/bin/agentic-semantic-label.js +6 -6
- package/dist/bin/backfill-conversations.js +5 -5
- package/dist/bin/backfill-responses.js +5 -5
- package/dist/bin/backfill-vectors.js +6 -6
- package/dist/bin/bulk-sync-postgres.js +10 -10
- package/dist/bin/cc-doctor.js +4 -4
- package/dist/bin/cleanup-stale-review-tasks.js +16 -15
- package/dist/bin/cli.js +18 -18
- package/dist/bin/deferred-daemon-restart.js +72 -70
- package/dist/bin/exe-agent-config.js +3 -3
- package/dist/bin/exe-agent.js +7 -7
- package/dist/bin/exe-assign.js +6 -6
- package/dist/bin/exe-boot.js +28 -27
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +10 -10
- package/dist/bin/exe-config-dump.js +3 -3
- package/dist/bin/exe-dispatch.js +16 -15
- package/dist/bin/exe-doctor.js +4 -4
- package/dist/bin/exe-export-behaviors.js +8 -8
- package/dist/bin/exe-forget.js +7 -7
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +4 -4
- package/dist/bin/exe-heartbeat.js +18 -17
- package/dist/bin/exe-kill.js +20 -19
- package/dist/bin/exe-launch-agent.js +25 -24
- package/dist/bin/exe-mcp.js +494 -0
- package/dist/bin/exe-memory-reads.js +5 -5
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-os-mcp-proxy.js +46 -10
- package/dist/bin/exe-pending-messages.js +17 -16
- package/dist/bin/exe-pending-notifications.js +16 -15
- package/dist/bin/exe-pending-reviews.js +16 -15
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +19 -18
- package/dist/bin/exe-search.js +6 -6
- package/dist/bin/exe-session-cleanup.js +20 -19
- package/dist/bin/exe-settings.js +11 -11
- package/dist/bin/exe-start-codex.js +51 -24
- package/dist/bin/exe-start-opencode.js +9 -9
- package/dist/bin/exe-status.js +17 -16
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +17 -16
- package/dist/bin/graph-backfill.js +6 -6
- package/dist/bin/graph-export.js +6 -6
- package/dist/bin/import-history.js +9 -9
- package/dist/bin/install.js +74 -72
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.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 +16 -15
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +5 -5
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-OTC2ESGV.js → boot-generation-IF4J6UEJ.js} +3 -3
- package/dist/{boot-review-sections-RXFU3QRA.js → boot-review-sections-WEEFCSBX.js} +15 -14
- package/dist/{capability-cards-HOOLOBCU.js → capability-cards-C65NRVTL.js} +2 -2
- package/dist/{capacity-monitor-SFLPNE7M.js → capacity-monitor-PGYDR35M.js} +17 -16
- package/dist/{catchup-brief-YUCZX3CR.js → catchup-brief-QB7M3OY7.js} +20 -19
- package/dist/{chunk-MJJJSU6M.js → chunk-24BHZNOP.js} +3 -3
- package/dist/{chunk-CBWJ5DRL.js → chunk-25CXLXZQ.js} +1 -1
- package/dist/{chunk-IYCE7UES.js → chunk-2KOQKLDF.js} +1 -1
- package/dist/{chunk-JELPA53I.js → chunk-2LC2ASCN.js} +1 -1
- package/dist/{chunk-W4IUPJJ2.js → chunk-2UA263BM.js} +5 -5
- package/dist/{chunk-437JTUZZ.js → chunk-2WEUQWFQ.js} +9 -9
- package/dist/{chunk-3BO6S3L2.js → chunk-3QYE5U6D.js} +144 -103
- package/dist/{chunk-ORVC4XVZ.js → chunk-3WELJGZN.js} +1 -1
- package/dist/{chunk-QEHVKL27.js → chunk-44ZGOBMU.js} +1 -1
- package/dist/{chunk-CBZPE5J4.js → chunk-4A6RX2N6.js} +1 -1
- package/dist/{chunk-U6NQ6OEU.js → chunk-4BQYN4IJ.js} +1 -1
- package/dist/{chunk-XM3EARTG.js → chunk-4JDRUXQV.js} +2 -2
- package/dist/{chunk-OYDXYENC.js → chunk-4KLQ4GH5.js} +1 -1
- package/dist/{chunk-BLV57HND.js → chunk-6F3OMSZJ.js} +1 -1
- package/dist/{chunk-LEESW32W.js → chunk-6I6OMBYY.js} +2 -2
- package/dist/{chunk-XDO4DVSB.js → chunk-6LLDY7AL.js} +1 -1
- package/dist/{chunk-IM6FMNTO.js → chunk-6OEMGMOV.js} +3 -3
- package/dist/{chunk-5A5LNAMW.js → chunk-6YABSGAW.js} +1 -1
- package/dist/{chunk-QHDUGZVP.js → chunk-ACYZER3P.js} +3 -3
- package/dist/{chunk-B77H77VF.js → chunk-BCFWDNH7.js} +1 -1
- package/dist/{chunk-SDC5XIA5.js → chunk-BDFRAQG5.js} +4 -4
- package/dist/{chunk-RSMOYIVR.js → chunk-BUDVHNV2.js} +1 -1
- package/dist/{chunk-EK2R7ORH.js → chunk-CFA4T2HP.js} +1 -1
- package/dist/{chunk-7DZYO3Z5.js → chunk-CMTS2MLG.js} +2 -2
- package/dist/{chunk-W5SRIJU4.js → chunk-CR7XPLLC.js} +1 -1
- package/dist/{chunk-IGF7YLMD.js → chunk-DKKMBEU6.js} +1 -1
- package/dist/{chunk-TLQDDKU4.js → chunk-DSGFX3RT.js} +40 -10
- package/dist/{chunk-OJBWWOSM.js → chunk-E6TLQG2T.js} +1 -1
- package/dist/{chunk-XQASVF7H.js → chunk-EDC57TDH.js} +77 -22
- package/dist/{chunk-SDPOSTDC.js → chunk-EU2GUT67.js} +1 -1
- package/dist/{chunk-7TZ6HV4G.js → chunk-EYGMCOTV.js} +6 -3
- package/dist/{chunk-E5XAVXQG.js → chunk-FEIACXDV.js} +166 -41
- package/dist/{chunk-XWD6F6EZ.js → chunk-GGHH54QD.js} +40 -30
- package/dist/{chunk-R26I3YCN.js → chunk-GGPLVRYZ.js} +1 -1
- package/dist/chunk-GSIJL4YA.js +58 -0
- package/dist/{chunk-BG4Q4ZUW.js → chunk-H5RS3XRJ.js} +1 -1
- package/dist/{chunk-NLVOLANR.js → chunk-HBJAMWHT.js} +129 -125
- package/dist/{chunk-AEVN4MPT.js → chunk-HMVGXC4I.js} +1 -1
- package/dist/{chunk-CKZ7CI55.js → chunk-HVZKJMJX.js} +1 -1
- package/dist/{chunk-4FYXYJUX.js → chunk-HXIBVZC3.js} +3 -3
- package/dist/{chunk-4LZLQ3ZK.js → chunk-IXIQSWHV.js} +3 -3
- package/dist/{chunk-6YH44JOY.js → chunk-JNEVNS5R.js} +52 -7
- package/dist/{chunk-4YXTASUU.js → chunk-KI5PFRG6.js} +26 -1
- package/dist/{chunk-GY6VSMMB.js → chunk-KQ3HRA6Q.js} +1 -1
- package/dist/{chunk-PW557TJV.js → chunk-LNMTCTSH.js} +1 -1
- package/dist/{chunk-MHTDXXXW.js → chunk-LP6EJVVN.js} +5 -5
- package/dist/{chunk-7WGEZ5WM.js → chunk-LSTIMHL4.js} +1 -1
- package/dist/{chunk-P376KDEZ.js → chunk-LYNELMA2.js} +2 -2
- package/dist/{chunk-6Z6ZVYHA.js → chunk-MCZWZEVE.js} +1 -1
- package/dist/{chunk-FABOJ6IJ.js → chunk-MHZAUM7G.js} +3 -3
- package/dist/{chunk-QGNOYTSU.js → chunk-MWXXVXJL.js} +7 -7
- package/dist/{chunk-LF4DHB5A.js → chunk-N4XVAP7Z.js} +14 -4
- package/dist/{chunk-T5BGKRYS.js → chunk-NCMFMJMZ.js} +2 -2
- package/dist/{chunk-GGVP2B2O.js → chunk-O3XAKSKI.js} +5 -2
- package/dist/{chunk-V3AZC2K6.js → chunk-OELDRRCZ.js} +5 -5
- package/dist/{chunk-ZXQRVYRS.js → chunk-OIF65HXR.js} +1 -1
- package/dist/{chunk-6RYNOXTC.js → chunk-OM2XM5HU.js} +3 -3
- package/dist/{chunk-WD6PJ7IY.js → chunk-OQB5SKO4.js} +4 -4
- package/dist/{chunk-GWDSB25T.js → chunk-OSKWCKUC.js} +1 -1
- package/dist/{chunk-MI7OSFOA.js → chunk-OZLNCLS3.js} +1 -1
- package/dist/{chunk-VNYSLHHX.js → chunk-PJOHJ7Q4.js} +338 -64
- package/dist/{chunk-7IE3NPBV.js → chunk-Q6ZQIX7L.js} +1 -1
- package/dist/{chunk-LOK3PZP3.js → chunk-Q7UHMUCE.js} +12 -13
- package/dist/{chunk-REH7YNV4.js → chunk-QCM3YWL7.js} +1 -1
- package/dist/{chunk-SFT7M6MC.js → chunk-QS6KVXUN.js} +1 -1
- package/dist/{chunk-UHUODLGJ.js → chunk-R6C6UGVG.js} +3 -3
- package/dist/{chunk-JFLUUBQK.js → chunk-RLULWMUL.js} +1 -1
- package/dist/{chunk-PISA226N.js → chunk-RPAMFCPP.js} +2 -2
- package/dist/{chunk-Q7LTWGQK.js → chunk-RYTY7KNZ.js} +1 -1
- package/dist/{chunk-WYMGEGOM.js → chunk-SQIH3TDK.js} +4 -4
- package/dist/{chunk-SNJLKMCY.js → chunk-SVFNWBLF.js} +26 -4
- package/dist/{chunk-DWNRLCUQ.js → chunk-TIZE727O.js} +1 -1
- package/dist/{chunk-RF3O2OZL.js → chunk-VPY4CMD6.js} +2 -2
- package/dist/{chunk-4SBOGUGG.js → chunk-VQLGFSML.js} +5 -5
- package/dist/{chunk-TNZSK6L7.js → chunk-W7JPRQM2.js} +1 -0
- package/dist/{chunk-MDIVCWQW.js → chunk-WKUX5PFV.js} +9 -9
- package/dist/{chunk-Q5I5MLKV.js → chunk-WMJK4GBF.js} +1 -1
- package/dist/{chunk-UBJRI2UU.js → chunk-X2PLFBVG.js} +1 -1
- package/dist/{chunk-DUO4WGDT.js → chunk-X7NSCRCD.js} +3 -3
- package/dist/{chunk-WT6YYIEL.js → chunk-XTGZDP2L.js} +4 -4
- package/dist/{chunk-O7LWR36Z.js → chunk-Y7GJ6HXA.js} +49 -0
- package/dist/{chunk-WFEOKA2T.js → chunk-YGTKGAWM.js} +4 -4
- package/dist/{chunk-ENVO4NIX.js → chunk-YKIQF6EY.js} +1 -1
- package/dist/{chunk-ILBB65TX.js → chunk-YLLUGK6J.js} +2 -2
- package/dist/{chunk-YESAKOJE.js → chunk-ZASZQDAI.js} +1 -1
- package/dist/{chunk-442L6MA5.js → chunk-ZK6I3PUX.js} +4 -4
- package/dist/{chunk-B3Z6LHVV.js → chunk-ZZQ4AEYB.js} +31 -6
- package/dist/{cleanup-graph-garbage-EVPEOMIW.js → cleanup-graph-garbage-INHZJESS.js} +10 -6
- package/dist/{cloud-sync-shutdown-QVXYVLWQ.js → cloud-sync-shutdown-HNQ7T3LA.js} +2 -2
- package/dist/{co-activation-XGBTXQAN.js → co-activation-IMZM3IXG.js} +2 -2
- package/dist/{co-occurrence-ZQAKCA5V.js → co-occurrence-PZAEUDAP.js} +8 -4
- package/dist/{conversation-entity-extractor-CVJ43JCX.js → conversation-entity-extractor-AU55E6YT.js} +6 -2
- package/dist/{crdt-sync-FQIHFFCI.js → crdt-sync-LI6FL3DG.js} +1 -1
- package/dist/{crm-webhook-IA2N224B.js → crm-webhook-NOLMWTAP.js} +2 -2
- package/dist/{cto-delegation-gate-5OUCWJYA.js → cto-delegation-gate-SZCLR4PI.js} +15 -14
- package/dist/{daemon-orchestration-7XWMZXN4.js → daemon-orchestration-R5HT252K.js} +26 -20
- package/dist/{daemon-ready-QGU7MZZB.js → daemon-ready-56VAPZU6.js} +1 -1
- package/dist/{db-verify-stamp-YTRPEKZ5.js → db-verify-stamp-P2FCVTXK.js} +1 -1
- package/dist/{dispatch-ack-VYH3ONSS.js → dispatch-ack-VUGMAGNL.js} +2 -1
- package/dist/{doc-graph-extractor-VZ6SE7BC.js → doc-graph-extractor-E5SXO6NZ.js} +8 -4
- package/dist/{documents-7ZVGEZ2X.js → documents-PYKWTZBA.js} +6 -6
- package/dist/{dreaming-GANGWVRH.js → dreaming-JAHOTVRJ.js} +19 -18
- package/dist/{exe-drift-X62H7KFD.js → exe-drift-DGIY5YBT.js} +3 -3
- package/dist/{exe-export-DZNDPQ7I.js → exe-export-A6MC7LZ7.js} +7 -7
- package/dist/{exe-import-JZ4BOQUV.js → exe-import-HKA6LKHC.js} +7 -7
- package/dist/{exe-key-RWMZZOJI.js → exe-key-6QXOAVR4.js} +72 -70
- package/dist/{exe-snapshot-VTGR53OI.js → exe-snapshot-BUPXYKMH.js} +20 -19
- package/dist/{fast-db-init-CZSSDWDG.js → fast-db-init-BXLBA6II.js} +1 -1
- package/dist/{founder-context-7OKZVVEH.js → founder-context-5KQR3ER3.js} +2 -2
- package/dist/gateway/index.js +11 -11
- package/dist/{git-staleness-JN7YOMDP.js → git-staleness-OTIXXNBN.js} +2 -2
- package/dist/{global-procedures-NOJL7AQ7.js → global-procedures-ACYUMLIG.js} +3 -3
- package/dist/{graph-auto-extract-DNY7O7YL.js → graph-auto-extract-QWVENG4K.js} +8 -4
- package/dist/{graph-rag-HHNAX7YO.js → graph-rag-2I24BQC2.js} +6 -2
- package/dist/{hook-prefetch-LYJMDLRJ.js → hook-prefetch-22IJRGX4.js} +16 -15
- package/dist/hooks/bug-report-worker.js +19 -18
- package/dist/hooks/codex-stop-task-finalizer.js +20 -19
- package/dist/hooks/commit-complete.js +18 -17
- package/dist/hooks/error-recall.js +7 -7
- package/dist/hooks/exe-heartbeat-hook.js +3 -3
- package/dist/hooks/ingest.js +6 -6
- package/dist/hooks/instructions-loaded.js +4 -4
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +4 -4
- package/dist/hooks/post-compact.js +17 -16
- package/dist/hooks/post-tool-combined.js +9 -9
- package/dist/hooks/pre-compact.js +18 -17
- package/dist/hooks/pre-tool-use.js +83 -43
- package/dist/hooks/prompt-submit.js +35 -34
- package/dist/hooks/session-end.js +22 -21
- package/dist/hooks/session-start.js +44 -23
- package/dist/hooks/stop.js +21 -20
- package/dist/hooks/subagent-stop.js +19 -18
- package/dist/hooks/summary-worker.js +22 -21
- package/dist/index.js +27 -26
- package/dist/{installer-6O3XLAQ5.js → installer-NZ76KPYJ.js} +5 -5
- package/dist/{installer-EWFK5EBH.js → installer-QYXL3HBG.js} +5 -5
- package/dist/{installer-KBK7EE3F.js → installer-RWPVEBMJ.js} +5 -5
- package/dist/{intercom-queue-EOYSBHUA.js → intercom-queue-TAARE4O7.js} +15 -14
- package/dist/lib/agent-config.js +1 -1
- package/dist/lib/cloud-sync.js +10 -10
- package/dist/lib/consolidation.js +7 -7
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker.js +2 -2
- package/dist/lib/db.js +2 -2
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +116 -87
- package/dist/lib/hybrid-search.js +6 -6
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +16 -15
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +6 -6
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +7 -7
- package/dist/lib/store.js +5 -5
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +18 -17
- package/dist/lib/tmux-routing.js +15 -14
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-WO3NO5FX.js → license-gate-CVHDQZJV.js} +3 -3
- package/dist/{license-sync-QRG2TCBR.js → license-sync-72S7BWQY.js} +2 -2
- package/dist/mcp/register-tools.js +71 -69
- package/dist/mcp/server.js +72 -70
- package/dist/mcp/tools/complete-reminder.js +4 -4
- package/dist/mcp/tools/create-reminder.js +4 -4
- package/dist/mcp/tools/create-task.js +20 -19
- package/dist/mcp/tools/deactivate-behavior.js +8 -8
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +20 -19
- package/dist/mcp/tools/send-message.js +18 -17
- package/dist/mcp/tools/update-task.js +19 -18
- package/dist/{mcp-http-config-A2SKBXA6.js → mcp-http-config-JP3XSY2X.js} +3 -3
- package/dist/{mcp-session-identity-PGAE4IB2.js → mcp-session-identity-DDAM464U.js} +15 -14
- package/dist/{memory-cards-BMHZILXL.js → memory-cards-XJ2JMF3V.js} +5 -5
- package/dist/{memory-graph-extractor-5EDOSSZH.js → memory-graph-extractor-FJVF7RTG.js} +9 -5
- package/dist/{memory-poisoning-defense-OV75EWM6.js → memory-poisoning-defense-GM3GQPRI.js} +2 -2
- package/dist/{memory-pressure-watchdog-MEB53N4D.js → memory-pressure-watchdog-HB572OZG.js} +16 -15
- package/dist/{memory-reflection-KRYBPDHC.js → memory-reflection-WIMMTW7M.js} +2 -2
- package/dist/{notification-ledger-XPT4GVNX.js → notification-ledger-5TQXBYY2.js} +16 -15
- package/dist/{notifications-XTLG4LEM.js → notifications-LA3X57YT.js} +15 -14
- package/dist/{orchestration-events-ZZQZCV4J.js → orchestration-events-KFZMGU3D.js} +3 -3
- package/dist/{orchestrator-YXNVVWAA.js → orchestrator-MOJEAZ3K.js} +17 -16
- package/dist/{pipeline-router-4RBSYZND.js → pipeline-router-2V5NFQ2O.js} +3 -3
- package/dist/{plan-limits-5P5GMLKB.js → plan-limits-2LHFEYOT.js} +5 -5
- package/dist/{projection-worker-72KRZL37.js → projection-worker-ZMHVILPW.js} +2 -2
- package/dist/{prospective-memory-HEF2QHEU.js → prospective-memory-JEWS5GFU.js} +2 -2
- package/dist/{reranker-DA7FSOUJ.js → reranker-TBQV76K4.js} +1 -1
- package/dist/{retrieval-health-MHNE5SSF.js → retrieval-health-HYXDUNFE.js} +1 -1
- package/dist/{review-polling-GYKRBUX2.js → review-polling-OFGP5Q7M.js} +16 -15
- package/dist/runtime/index.js +23 -22
- package/dist/{session-events-Q5IYAH44.js → session-events-ABAI2KE3.js} +16 -15
- package/dist/{session-kill-telemetry-P3P3U6TE.js → session-kill-telemetry-2MHLK4Z4.js} +16 -15
- package/dist/{session-scope-GHM4GKYR.js → session-scope-MRIE7ZKS.js} +15 -14
- package/dist/{setup-wizard-5D56CWVZ.js → setup-wizard-UQ3B2E6D.js} +1 -1
- package/dist/{skill-refinement-M24DG2TN.js → skill-refinement-46QDGAGE.js} +3 -3
- package/dist/{stack-update-ABMTXOZR.js → stack-update-5BPENFJK.js} +3 -3
- package/dist/{steward-gate-DYQP3BWO.js → steward-gate-GXINMHNV.js} +3 -3
- package/dist/{support-inbox-5AG4QTKQ.js → support-inbox-TCOASPLK.js} +3 -3
- package/dist/{sweep-budget-74FIUNX3.js → sweep-budget-KMPJ7O5Z.js} +5 -1
- package/dist/{task-enforcement-6FLLHH43.js → task-enforcement-OJAG2BGJ.js} +16 -15
- package/dist/{task-scope-RR34UA2U.js → task-scope-5GKJTQL2.js} +15 -14
- package/dist/{tasks-crud-VI7Q65IE.js → tasks-crud-ZWKPTGPU.js} +19 -14
- package/dist/{tasks-notify-MLE2AVHJ.js → tasks-notify-IUDI6SYJ.js} +17 -16
- package/dist/{tasks-review-WR3XEADY.js → tasks-review-INJKVN63.js} +15 -14
- package/dist/{telemetry-upload-LIJY4IB7.js → telemetry-upload-LIC7M7AY.js} +7 -7
- package/dist/{token-budget-JTSFQTWP.js → token-budget-PABF5ZBO.js} +3 -3
- package/dist/{tool-telemetry-L62XZXK5.js → tool-telemetry-PDHE36YD.js} +1 -1
- package/dist/tui/App.js +23 -22
- package/dist/{tui-data-LY27NK2Z.js → tui-data-Y6X7A4U4.js} +15 -14
- package/dist/{update-support-G2XWFHEH.js → update-support-COJYGU2V.js} +9 -9
- package/dist/{work-state-heartbeat-QCLCEQV3.js → work-state-heartbeat-YV3MAIQY.js} +1 -1
- package/dist/{worker-gate-XJJXOMUN.js → worker-gate-BLJENHMV.js} +1 -1
- package/dist/{workflow-engine-55LTMEXZ.js → workflow-engine-AAPPPMFS.js} +2 -2
- package/dist/{worktree-EEW45PPV.js → worktree-MGYTWKCA.js} +4 -4
- package/dist/{worktree-sweep-PBDRKK7L.js → worktree-sweep-HNNHNAXN.js} +5 -5
- package/package.json +1 -1
- package/release-notes.json +23 -22
- package/dist/exe-mcp-GCZLSGCO.js +0 -286
- /package/dist/{chunk-4RM3364E.js → chunk-A3MGVYSP.js} +0 -0
- /package/dist/{chunk-EJVVGC6C.js → chunk-CHDPANT4.js} +0 -0
- /package/dist/{chunk-DQOBH5VO.js → chunk-DY7WDHMC.js} +0 -0
- /package/dist/{chunk-V7RT3NZH.js → chunk-GH5YKFE7.js} +0 -0
- /package/dist/{chunk-IGAODB3D.js → chunk-HIN6X5QB.js} +0 -0
- /package/dist/{chunk-SPV2RTA4.js → chunk-PDN25UJU.js} +0 -0
- /package/dist/{chunk-KHIBBGMT.js → chunk-PDWIUSQH.js} +0 -0
- /package/dist/{chunk-5OVON46B.js → chunk-RYWVPACG.js} +0 -0
- /package/dist/{chunk-IUMAJIHE.js → chunk-WPQ5LWMW.js} +0 -0
- /package/dist/{core-memory-X3FUV5X3.js → core-memory-TBLZ2YQQ.js} +0 -0
- /package/dist/{oauth-server-XKEJ4LE5.js → oauth-server-IB7OWY4H.js} +0 -0
- /package/dist/{project-boot-XBUAQWVL.js → project-boot-TI3PUQNN.js} +0 -0
- /package/dist/{wiki-acl-D3CNNLP5.js → wiki-acl-V5IRECJ3.js} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-2I23RPSI.js";
|
|
4
4
|
import {
|
|
5
5
|
listBackups
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Q6ZQIX7L.js";
|
|
7
7
|
import {
|
|
8
8
|
getEmotionalBaseline,
|
|
9
9
|
renderEmotionalBaselineSection
|
|
@@ -1266,13 +1266,64 @@ async function ensureIdempotencyKeyMigration(client) {
|
|
|
1266
1266
|
WHERE idempotency_key IS NOT NULL`
|
|
1267
1267
|
);
|
|
1268
1268
|
}
|
|
1269
|
+
async function ensureScopedMemoryHashIndexes(client) {
|
|
1270
|
+
await executeAddColumn(
|
|
1271
|
+
client,
|
|
1272
|
+
"ALTER TABLE memories ADD COLUMN outcome TEXT",
|
|
1273
|
+
"migration add memories.outcome for scoped hash repair"
|
|
1274
|
+
);
|
|
1275
|
+
await client.execute(
|
|
1276
|
+
`CREATE INDEX IF NOT EXISTS idx_memories_scoped_content_hash
|
|
1277
|
+
ON memories(content_hash, agent_id, project_name, memory_type)
|
|
1278
|
+
WHERE content_hash IS NOT NULL`
|
|
1279
|
+
);
|
|
1280
|
+
const createUnique = () => client.execute(
|
|
1281
|
+
`CREATE UNIQUE INDEX IF NOT EXISTS idx_memories_unique_scoped_hash
|
|
1282
|
+
ON memories(content_hash, agent_id, project_name, memory_type)
|
|
1283
|
+
WHERE content_hash IS NOT NULL
|
|
1284
|
+
AND COALESCE(status, 'active') != 'deleted'`
|
|
1285
|
+
);
|
|
1286
|
+
try {
|
|
1287
|
+
await createUnique();
|
|
1288
|
+
return;
|
|
1289
|
+
} catch (e) {
|
|
1290
|
+
if (!(e instanceof Error && e.message.includes("UNIQUE constraint"))) {
|
|
1291
|
+
throw e;
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
process.stderr.write("[migration] Cleaning up existing duplicate memories before creating unique index...\n");
|
|
1295
|
+
await client.execute(`
|
|
1296
|
+
UPDATE memories SET status = 'deleted', outcome = 'dedup-migration'
|
|
1297
|
+
WHERE id IN (
|
|
1298
|
+
SELECT m.id
|
|
1299
|
+
FROM memories m
|
|
1300
|
+
WHERE m.content_hash IS NOT NULL
|
|
1301
|
+
AND COALESCE(m.status, 'active') != 'deleted'
|
|
1302
|
+
AND EXISTS (
|
|
1303
|
+
SELECT 1
|
|
1304
|
+
FROM memories winner
|
|
1305
|
+
WHERE winner.content_hash = m.content_hash
|
|
1306
|
+
AND winner.agent_id = m.agent_id
|
|
1307
|
+
AND winner.project_name IS m.project_name
|
|
1308
|
+
AND COALESCE(winner.memory_type, 'raw') = COALESCE(m.memory_type, 'raw')
|
|
1309
|
+
AND COALESCE(winner.status, 'active') != 'deleted'
|
|
1310
|
+
AND (
|
|
1311
|
+
winner.timestamp > m.timestamp
|
|
1312
|
+
OR (winner.timestamp = m.timestamp AND winner.id > m.id)
|
|
1313
|
+
)
|
|
1314
|
+
)
|
|
1315
|
+
)
|
|
1316
|
+
`);
|
|
1317
|
+
await createUnique();
|
|
1318
|
+
process.stderr.write("[migration] Duplicate cleanup + unique index created successfully\n");
|
|
1319
|
+
}
|
|
1269
1320
|
async function migrateReflectionDedup(client) {
|
|
1270
1321
|
const added = await executeAddColumn(
|
|
1271
1322
|
client,
|
|
1272
1323
|
"ALTER TABLE memory_reflections ADD COLUMN dedup_key TEXT",
|
|
1273
1324
|
"migration add memory_reflections.dedup_key"
|
|
1274
1325
|
);
|
|
1275
|
-
const { reflectionDedupKey } = await import("./memory-reflection-
|
|
1326
|
+
const { reflectionDedupKey } = await import("./memory-reflection-WIMMTW7M.js");
|
|
1276
1327
|
const keyForRow = (row) => {
|
|
1277
1328
|
let sources = [];
|
|
1278
1329
|
try {
|
|
@@ -1453,40 +1504,64 @@ ${getOwnPidStartTimeSync() ?? ""}
|
|
|
1453
1504
|
logCatchDebug("lock pid write", e);
|
|
1454
1505
|
}
|
|
1455
1506
|
}
|
|
1507
|
+
function statDbLockIdentity(lockPath) {
|
|
1508
|
+
try {
|
|
1509
|
+
const st = statSync(lockPath);
|
|
1510
|
+
return { identity: { dev: st.dev, ino: st.ino }, mtimeMs: st.mtimeMs };
|
|
1511
|
+
} catch {
|
|
1512
|
+
return null;
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
function unlinkDbLockIfSameInode(lockPath, identity) {
|
|
1516
|
+
try {
|
|
1517
|
+
const st = statSync(lockPath);
|
|
1518
|
+
if (st.dev !== identity.dev || st.ino !== identity.ino) return false;
|
|
1519
|
+
unlinkSync3(lockPath);
|
|
1520
|
+
return true;
|
|
1521
|
+
} catch {
|
|
1522
|
+
return false;
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
async function classifyStaleDbLock(lockPath, lockMtimeMs, isAlive = pidIsAlive) {
|
|
1526
|
+
const holderPid = readLockHolderPid(lockPath);
|
|
1527
|
+
if (holderPid === null) {
|
|
1528
|
+
if (Date.now() - lockMtimeMs > DB_LOCK_STALE_MS) {
|
|
1529
|
+
return {
|
|
1530
|
+
result: "cleaned-stale",
|
|
1531
|
+
message: `unknown holder, lock older than ${DB_LOCK_STALE_MS}ms`
|
|
1532
|
+
};
|
|
1533
|
+
}
|
|
1534
|
+
return null;
|
|
1535
|
+
}
|
|
1536
|
+
if (!isAlive(holderPid)) {
|
|
1537
|
+
return { result: "cleaned-dead", message: `pid ${holderPid} is dead` };
|
|
1538
|
+
}
|
|
1539
|
+
const recordedStartTime = readLockHolderStartTime(lockPath);
|
|
1540
|
+
if (recordedStartTime !== null) {
|
|
1541
|
+
const currentStartTime = await getPidStartTime(holderPid);
|
|
1542
|
+
if (currentStartTime !== null && currentStartTime !== recordedStartTime) {
|
|
1543
|
+
return {
|
|
1544
|
+
result: "cleaned-pid-reuse",
|
|
1545
|
+
message: `pid ${holderPid} start time changed`
|
|
1546
|
+
};
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
return null;
|
|
1550
|
+
}
|
|
1456
1551
|
async function verifyAndCleanStaleDbLock() {
|
|
1457
1552
|
try {
|
|
1458
1553
|
const lockPath = dbLockPath();
|
|
1459
1554
|
if (!existsSync4(lockPath)) return "absent";
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
try {
|
|
1469
|
-
const st = statSync(lockPath);
|
|
1470
|
-
if (st.dev !== identity.dev || st.ino !== identity.ino) return false;
|
|
1471
|
-
unlinkSync3(lockPath);
|
|
1472
|
-
return true;
|
|
1473
|
-
} catch {
|
|
1474
|
-
return false;
|
|
1475
|
-
}
|
|
1476
|
-
};
|
|
1477
|
-
const holderPid = readLockHolderPid(lockPath);
|
|
1478
|
-
if (holderPid === null) return "unknown";
|
|
1479
|
-
if (!pidIsAlive(holderPid)) {
|
|
1480
|
-
return unlinkIfSameInode() ? "cleaned-dead" : "unknown";
|
|
1481
|
-
}
|
|
1482
|
-
const recordedStartTime = readLockHolderStartTime(lockPath);
|
|
1483
|
-
if (recordedStartTime !== null) {
|
|
1484
|
-
const currentStartTime = await getPidStartTime(holderPid);
|
|
1485
|
-
if (currentStartTime !== null && currentStartTime !== recordedStartTime) {
|
|
1486
|
-
return unlinkIfSameInode() ? "cleaned-pid-reuse" : "unknown";
|
|
1487
|
-
}
|
|
1555
|
+
const snapshot = statDbLockIdentity(lockPath);
|
|
1556
|
+
if (!snapshot) return "absent";
|
|
1557
|
+
const stale = await classifyStaleDbLock(lockPath, snapshot.mtimeMs);
|
|
1558
|
+
if (!stale) return readLockHolderPid(lockPath) === null ? "unknown" : "live";
|
|
1559
|
+
if (unlinkDbLockIfSameInode(lockPath, snapshot.identity)) {
|
|
1560
|
+
process.stderr.write(`[database] CRITICAL: reclaimed stale db.lock (${stale.message}).
|
|
1561
|
+
`);
|
|
1562
|
+
return stale.result;
|
|
1488
1563
|
}
|
|
1489
|
-
return "
|
|
1564
|
+
return "unknown";
|
|
1490
1565
|
} catch {
|
|
1491
1566
|
return "unknown";
|
|
1492
1567
|
}
|
|
@@ -1522,27 +1597,22 @@ async function acquireDbLock(options = {}) {
|
|
|
1522
1597
|
throw err;
|
|
1523
1598
|
}
|
|
1524
1599
|
}
|
|
1525
|
-
const
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
stale = !isAlive(holderPid);
|
|
1529
|
-
} else {
|
|
1530
|
-
try {
|
|
1531
|
-
stale = Date.now() - statSync(lockPath).mtimeMs > DB_LOCK_STALE_MS;
|
|
1532
|
-
} catch (e) {
|
|
1533
|
-
logCatchDebug("stale lock check", e);
|
|
1534
|
-
continue;
|
|
1535
|
-
}
|
|
1600
|
+
const snapshot = statDbLockIdentity(lockPath);
|
|
1601
|
+
if (!snapshot) {
|
|
1602
|
+
continue;
|
|
1536
1603
|
}
|
|
1604
|
+
const holderPid = readLockHolderPid(lockPath);
|
|
1605
|
+
const stale = await classifyStaleDbLock(lockPath, snapshot.mtimeMs, isAlive);
|
|
1537
1606
|
if (stale) {
|
|
1538
1607
|
process.stderr.write(
|
|
1539
|
-
`[database] db.lock is stale (
|
|
1608
|
+
`[database] CRITICAL: db.lock is stale (${stale.message}) \u2014 reclaiming lock.
|
|
1540
1609
|
`
|
|
1541
1610
|
);
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1611
|
+
if (!unlinkDbLockIfSameInode(lockPath, snapshot.identity)) {
|
|
1612
|
+
process.stderr.write(
|
|
1613
|
+
`[database] db.lock was replaced before stale reclaim completed \u2014 leaving replacement lock intact.
|
|
1614
|
+
`
|
|
1615
|
+
);
|
|
1546
1616
|
}
|
|
1547
1617
|
continue;
|
|
1548
1618
|
}
|
|
@@ -1935,7 +2005,7 @@ async function initDatabase(config) {
|
|
|
1935
2005
|
throw e;
|
|
1936
2006
|
}
|
|
1937
2007
|
if (!dbIsCorrupt) {
|
|
1938
|
-
const { writeDbVerifyStamp } = await import("./db-verify-stamp-
|
|
2008
|
+
const { writeDbVerifyStamp } = await import("./db-verify-stamp-P2FCVTXK.js");
|
|
1939
2009
|
writeDbVerifyStamp(config.dbPath);
|
|
1940
2010
|
}
|
|
1941
2011
|
}
|
|
@@ -2026,7 +2096,7 @@ async function sweepExpiredSoftDeletedMemories(client, options = {}) {
|
|
|
2026
2096
|
const purgeArchived = archDays !== void 0;
|
|
2027
2097
|
const BATCH_SIZE = 2e3;
|
|
2028
2098
|
const MAX_BATCHES = 500;
|
|
2029
|
-
const { cleanupCardsForMemories, cleanupGraphLinksForMemories } = await import("./graph-rag-
|
|
2099
|
+
const { cleanupCardsForMemories, cleanupGraphLinksForMemories } = await import("./graph-rag-2I24BQC2.js");
|
|
2030
2100
|
const softCutoff = `-${softDays} days`;
|
|
2031
2101
|
const selectArgsBase = [softCutoff];
|
|
2032
2102
|
let predicate = `status = 'deleted' AND COALESCE(deleted_at, timestamp) < datetime('now', ?)`;
|
|
@@ -2150,7 +2220,7 @@ function getRawClient() {
|
|
|
2150
2220
|
function tryGetRawClient() {
|
|
2151
2221
|
return _client;
|
|
2152
2222
|
}
|
|
2153
|
-
var CURRENT_SCHEMA_VERSION =
|
|
2223
|
+
var CURRENT_SCHEMA_VERSION = 21;
|
|
2154
2224
|
var _migrationBlockRuns = 0;
|
|
2155
2225
|
function _getMigrationBlockRuns() {
|
|
2156
2226
|
return _migrationBlockRuns;
|
|
@@ -2196,6 +2266,23 @@ async function ensureSchema() {
|
|
|
2196
2266
|
} catch (e) {
|
|
2197
2267
|
process.stderr.write(
|
|
2198
2268
|
`[database] idempotency index repair check failed: ${e instanceof Error ? e.message : String(e)}
|
|
2269
|
+
`
|
|
2270
|
+
);
|
|
2271
|
+
}
|
|
2272
|
+
try {
|
|
2273
|
+
const scopedHashIdxProbe = await client.execute({
|
|
2274
|
+
sql: "SELECT name FROM sqlite_master WHERE type = 'index' AND name = ?",
|
|
2275
|
+
args: ["idx_memories_unique_scoped_hash"]
|
|
2276
|
+
});
|
|
2277
|
+
if (scopedHashIdxProbe.rows.length === 0) {
|
|
2278
|
+
process.stderr.write(
|
|
2279
|
+
"[database] repairing missing idx_memories_unique_scoped_hash on already-current DB (bug 8d711f75)\n"
|
|
2280
|
+
);
|
|
2281
|
+
await ensureScopedMemoryHashIndexes(client);
|
|
2282
|
+
}
|
|
2283
|
+
} catch (e) {
|
|
2284
|
+
process.stderr.write(
|
|
2285
|
+
`[database] scoped memory hash index repair check failed: ${e instanceof Error ? e.message : String(e)}
|
|
2199
2286
|
`
|
|
2200
2287
|
);
|
|
2201
2288
|
}
|
|
@@ -3363,17 +3450,22 @@ async function ensureSchema() {
|
|
|
3363
3450
|
"ALTER TABLE tasks ADD COLUMN claimed_at TEXT",
|
|
3364
3451
|
"ALTER TABLE tasks ADD COLUMN last_heartbeat_at TEXT",
|
|
3365
3452
|
"ALTER TABLE tasks ADD COLUMN lease_expires_at TEXT",
|
|
3453
|
+
"ALTER TABLE tasks ADD COLUMN claim_session_instance_id TEXT",
|
|
3366
3454
|
"ALTER TABLE tasks ADD COLUMN claim_count INTEGER NOT NULL DEFAULT 0"
|
|
3367
3455
|
]) {
|
|
3368
3456
|
await executeAddColumn(client, col);
|
|
3369
3457
|
}
|
|
3458
|
+
await executeAddColumn(client, "ALTER TABLE tasks ADD COLUMN checkpoint_session TEXT");
|
|
3459
|
+
await executeAddColumn(client, "ALTER TABLE tasks ADD COLUMN checkpoint_session_instance_id TEXT");
|
|
3370
3460
|
await executeAddColumn(client, "ALTER TABLE tasks ADD COLUMN assertions TEXT");
|
|
3371
3461
|
await executeAddColumn(client, "ALTER TABLE tasks ADD COLUMN verification_receipts TEXT");
|
|
3372
3462
|
await executeAddColumn(client, "ALTER TABLE tasks ADD COLUMN review_sampled INTEGER NOT NULL DEFAULT 0");
|
|
3373
3463
|
for (const idx of [
|
|
3374
3464
|
"CREATE INDEX IF NOT EXISTS idx_tasks_heartbeat_stale ON tasks(status, last_heartbeat_at) WHERE status = 'in_progress'",
|
|
3375
3465
|
"CREATE INDEX IF NOT EXISTS idx_tasks_lease_expiry ON tasks(status, lease_expires_at) WHERE status = 'in_progress'",
|
|
3376
|
-
"CREATE INDEX IF NOT EXISTS idx_tasks_claimed_by ON tasks(claimed_by) WHERE claimed_by IS NOT NULL"
|
|
3466
|
+
"CREATE INDEX IF NOT EXISTS idx_tasks_claimed_by ON tasks(claimed_by) WHERE claimed_by IS NOT NULL",
|
|
3467
|
+
"CREATE INDEX IF NOT EXISTS idx_tasks_claim_session_instance ON tasks(claim_session_instance_id) WHERE claim_session_instance_id IS NOT NULL",
|
|
3468
|
+
"CREATE INDEX IF NOT EXISTS idx_tasks_checkpoint_session_instance ON tasks(checkpoint_session_instance_id) WHERE checkpoint_session_instance_id IS NOT NULL"
|
|
3377
3469
|
]) {
|
|
3378
3470
|
try {
|
|
3379
3471
|
await client.execute(idx);
|
|
@@ -3755,58 +3847,7 @@ async function ensureSchema() {
|
|
|
3755
3847
|
} catch (e) {
|
|
3756
3848
|
logCatchDebug("migration", e);
|
|
3757
3849
|
}
|
|
3758
|
-
|
|
3759
|
-
await client.execute(
|
|
3760
|
-
`CREATE INDEX IF NOT EXISTS idx_memories_scoped_content_hash
|
|
3761
|
-
ON memories(content_hash, agent_id, project_name, memory_type)
|
|
3762
|
-
WHERE content_hash IS NOT NULL`
|
|
3763
|
-
);
|
|
3764
|
-
} catch (e) {
|
|
3765
|
-
logCatchDebug("migration", e);
|
|
3766
|
-
}
|
|
3767
|
-
try {
|
|
3768
|
-
await client.execute(
|
|
3769
|
-
`CREATE UNIQUE INDEX IF NOT EXISTS idx_memories_unique_scoped_hash
|
|
3770
|
-
ON memories(content_hash, agent_id, project_name, memory_type)
|
|
3771
|
-
WHERE content_hash IS NOT NULL
|
|
3772
|
-
AND COALESCE(status, 'active') != 'deleted'`
|
|
3773
|
-
);
|
|
3774
|
-
} catch (e) {
|
|
3775
|
-
if (e instanceof Error && e.message.includes("UNIQUE constraint")) {
|
|
3776
|
-
process.stderr.write("[migration] Cleaning up existing duplicate memories before creating unique index...\n");
|
|
3777
|
-
try {
|
|
3778
|
-
await client.execute(`
|
|
3779
|
-
UPDATE memories SET status = 'deleted', outcome = 'dedup-migration'
|
|
3780
|
-
WHERE id IN (
|
|
3781
|
-
SELECT m.id FROM memories m
|
|
3782
|
-
JOIN (
|
|
3783
|
-
SELECT content_hash, agent_id, project_name, memory_type, MAX(timestamp) as max_ts
|
|
3784
|
-
FROM memories
|
|
3785
|
-
WHERE content_hash IS NOT NULL AND COALESCE(status, 'active') != 'deleted'
|
|
3786
|
-
GROUP BY content_hash, agent_id, project_name, memory_type
|
|
3787
|
-
HAVING COUNT(*) > 1
|
|
3788
|
-
) d ON m.content_hash = d.content_hash
|
|
3789
|
-
AND m.agent_id = d.agent_id
|
|
3790
|
-
AND m.project_name = d.project_name
|
|
3791
|
-
AND COALESCE(m.memory_type, 'raw') = COALESCE(d.memory_type, 'raw')
|
|
3792
|
-
AND m.timestamp < d.max_ts
|
|
3793
|
-
AND COALESCE(m.status, 'active') != 'deleted'
|
|
3794
|
-
)
|
|
3795
|
-
`);
|
|
3796
|
-
await client.execute(
|
|
3797
|
-
`CREATE UNIQUE INDEX IF NOT EXISTS idx_memories_unique_scoped_hash
|
|
3798
|
-
ON memories(content_hash, agent_id, project_name, memory_type)
|
|
3799
|
-
WHERE content_hash IS NOT NULL
|
|
3800
|
-
AND COALESCE(status, 'active') != 'deleted'`
|
|
3801
|
-
);
|
|
3802
|
-
process.stderr.write("[migration] Duplicate cleanup + unique index created successfully\n");
|
|
3803
|
-
} catch (retryErr) {
|
|
3804
|
-
logCatchDebug("migration-dedup-retry", retryErr);
|
|
3805
|
-
}
|
|
3806
|
-
} else {
|
|
3807
|
-
logCatchDebug("migration", e);
|
|
3808
|
-
}
|
|
3809
|
-
}
|
|
3850
|
+
await ensureScopedMemoryHashIndexes(client);
|
|
3810
3851
|
await executeAddColumn(client, `ALTER TABLE memories ADD COLUMN trajectory TEXT`);
|
|
3811
3852
|
for (const col of [
|
|
3812
3853
|
"ALTER TABLE memories ADD COLUMN intent TEXT",
|
|
@@ -207,7 +207,7 @@ function clearSetupState() {
|
|
|
207
207
|
}
|
|
208
208
|
async function probeDaemonHealthAfterInstall() {
|
|
209
209
|
try {
|
|
210
|
-
const { waitForDaemonReady } = await import("./daemon-ready-
|
|
210
|
+
const { waitForDaemonReady } = await import("./daemon-ready-56VAPZU6.js");
|
|
211
211
|
return await waitForDaemonReady(4, 500);
|
|
212
212
|
} catch {
|
|
213
213
|
return false;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vectorToSqlLiteral
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GGHH54QD.js";
|
|
4
4
|
import {
|
|
5
5
|
blobToVector
|
|
6
6
|
} from "./chunk-OTVEIJUQ.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3QYE5U6D.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/behaviors.ts
|
|
12
12
|
import crypto from "crypto";
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
getClient,
|
|
4
4
|
isInitialized,
|
|
5
5
|
loadEmployees
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3QYE5U6D.js";
|
|
7
7
|
import {
|
|
8
8
|
PLAN_LIMITS,
|
|
9
9
|
checkLicense,
|
|
10
10
|
isFeatureAllowed
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BUDVHNV2.js";
|
|
12
12
|
import {
|
|
13
13
|
EXE_AI_DIR
|
|
14
14
|
} from "./chunk-BCZF3AGJ.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
reserveVersions,
|
|
6
6
|
vectorToBlob
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GGHH54QD.js";
|
|
8
8
|
import {
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3QYE5U6D.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/documents.ts
|
|
13
13
|
import crypto from "crypto";
|
|
@@ -270,7 +270,7 @@ async function ingestDocument(input) {
|
|
|
270
270
|
await client.batch([documentStmt, ...chunkStmts], "write");
|
|
271
271
|
const embedded = vectors.filter((v) => v !== null).length;
|
|
272
272
|
const originalTexts = input.chunks.map((c) => c.text);
|
|
273
|
-
import("./doc-graph-extractor-
|
|
273
|
+
import("./doc-graph-extractor-E5SXO6NZ.js").then(
|
|
274
274
|
({ extractAndStoreDocumentGraph }) => extractAndStoreDocumentGraph(documentId, originalTexts)
|
|
275
275
|
).catch((err) => {
|
|
276
276
|
process.stderr.write(
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
resolveExeSession,
|
|
5
5
|
sendIntercom,
|
|
6
6
|
strictSessionScopeFilter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PJOHJ7Q4.js";
|
|
8
8
|
import {
|
|
9
9
|
parseMessage,
|
|
10
10
|
serializeMessage
|
|
11
11
|
} from "./chunk-4JERP7NT.js";
|
|
12
12
|
import {
|
|
13
13
|
recordOrchestrationEventBestEffort
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EU2GUT67.js";
|
|
15
15
|
import {
|
|
16
16
|
getClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3QYE5U6D.js";
|
|
18
18
|
|
|
19
19
|
// src/lib/messaging.ts
|
|
20
20
|
import crypto from "crypto";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession,
|
|
3
3
|
strictSessionScopeFilter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PJOHJ7Q4.js";
|
|
5
5
|
import {
|
|
6
6
|
recordOrchestrationEventBestEffort
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EU2GUT67.js";
|
|
8
8
|
import {
|
|
9
9
|
getProjectName
|
|
10
10
|
} from "./chunk-OPU3NYOO.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
13
13
|
getCoordinatorName
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3QYE5U6D.js";
|
|
15
15
|
import {
|
|
16
16
|
loadConfigSync
|
|
17
17
|
} from "./chunk-BCZF3AGJ.js";
|
|
@@ -260,7 +260,7 @@ function createRealDeps(getClient) {
|
|
|
260
260
|
});
|
|
261
261
|
},
|
|
262
262
|
createReviewForOrphan: async (task) => {
|
|
263
|
-
const { createReviewForCompletedTask } = await import("./tasks-review-
|
|
263
|
+
const { createReviewForCompletedTask } = await import("./tasks-review-INJKVN63.js");
|
|
264
264
|
const cwd = process.cwd();
|
|
265
265
|
await createReviewForCompletedTask(
|
|
266
266
|
task,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
buildClaudeHttpMcpEntry,
|
|
11
11
|
buildClaudeStdioProxyMcpEntry
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4BQYN4IJ.js";
|
|
13
13
|
import {
|
|
14
14
|
ensureAllAgentSymlinks
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-E6TLQG2T.js";
|
|
16
16
|
import {
|
|
17
17
|
MCP_LEGACY_KEY,
|
|
18
18
|
MCP_PRIMARY_KEY
|