@askexenow/exe-os 0.9.329 → 0.9.331
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-AOBUSHNL.js → active-agent-AIK6FSYE.js} +3 -3
- package/dist/{active-agent-4UCWOZB3.js → active-agent-GXV65DNN.js} +3 -3
- package/dist/{agentic-ontology-6LFZFXSL.js → agentic-ontology-V2BQY4DH.js} +1 -1
- package/dist/{backfill-metadata-NMABBVPQ.js → backfill-metadata-AVWHS332.js} +4 -4
- package/dist/{behaviors-TLSLTFGO.js → behaviors-ZV6HNI2M.js} +5 -5
- package/dist/bin/agentic-ontology-backfill.js +5 -5
- package/dist/bin/agentic-reflection-backfill.js +6 -6
- package/dist/bin/agentic-semantic-label.js +5 -5
- package/dist/bin/backfill-conversations.js +4 -4
- package/dist/bin/backfill-responses.js +4 -4
- package/dist/bin/backfill-vectors.js +5 -5
- 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 +12 -12
- package/dist/bin/cli.js +15 -15
- package/dist/bin/deferred-daemon-restart.js +62 -62
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +4 -4
- package/dist/bin/exe-assign.js +5 -5
- package/dist/bin/exe-boot.js +20 -20
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +10 -10
- package/dist/bin/exe-config-dump.js +2 -2
- package/dist/bin/exe-dispatch.js +12 -12
- package/dist/bin/exe-doctor.js +4 -4
- package/dist/bin/exe-export-behaviors.js +7 -7
- package/dist/bin/exe-forget.js +6 -6
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +4 -4
- package/dist/bin/exe-heartbeat.js +12 -12
- package/dist/bin/exe-kill.js +15 -15
- package/dist/bin/exe-launch-agent.js +21 -21
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-pending-messages.js +13 -13
- package/dist/bin/exe-pending-notifications.js +12 -12
- package/dist/bin/exe-pending-reviews.js +12 -12
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +14 -14
- package/dist/bin/exe-search.js +5 -5
- package/dist/bin/exe-session-cleanup.js +16 -16
- package/dist/bin/exe-settings.js +10 -10
- package/dist/bin/exe-start-codex.js +12 -12
- package/dist/bin/exe-start-opencode.js +8 -8
- package/dist/bin/exe-status.js +13 -13
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +13 -13
- package/dist/bin/graph-backfill.js +4 -4
- package/dist/bin/graph-export.js +5 -5
- package/dist/bin/import-history.js +7 -7
- package/dist/bin/install.js +64 -64
- 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/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +12 -12
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +4 -4
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{capability-cards-FSKEW55G.js → capability-cards-QKTDMIWO.js} +2 -2
- package/dist/{capacity-monitor-IDCXFFZ7.js → capacity-monitor-VNAUNTTH.js} +13 -13
- package/dist/{catchup-brief-BQNGG4M2.js → catchup-brief-5ELWS6IF.js} +15 -15
- package/dist/{chunk-YUTK6VGJ.js → chunk-3CHTRPOU.js} +1 -1
- package/dist/{chunk-JRNXYANV.js → chunk-3HMHSTHQ.js} +1 -1
- package/dist/{chunk-CNBHDIED.js → chunk-4NGPNH3F.js} +1 -1
- package/dist/{chunk-KZLEO5BP.js → chunk-5EP4TCZ2.js} +1 -1
- package/dist/{chunk-C4VHNWH2.js → chunk-5JILQMRS.js} +7 -7
- package/dist/{chunk-QSHHRSL3.js → chunk-5QJFZYDD.js} +1 -1
- package/dist/{chunk-CQ6WS6UH.js → chunk-67547XFJ.js} +1 -1
- package/dist/{chunk-NWLILQAM.js → chunk-6J5FWFAI.js} +1 -1
- package/dist/{chunk-QVTLKT5Z.js → chunk-7ODTT6WK.js} +1 -1
- package/dist/{chunk-IVZK65BU.js → chunk-7QFR2QUD.js} +2 -2
- package/dist/{chunk-Q5MQFGTV.js → chunk-7RDZDCWY.js} +5 -5
- package/dist/{chunk-CAITCAO5.js → chunk-AREY6CD2.js} +1 -1
- package/dist/{chunk-BKQQCJLP.js → chunk-BGCJZQGQ.js} +1 -1
- package/dist/{chunk-LB7VU543.js → chunk-BIM763ML.js} +3 -3
- package/dist/{chunk-QNOJPFOE.js → chunk-BPH6YPHA.js} +1 -1
- package/dist/{chunk-OHFQDOOS.js → chunk-CASOKILE.js} +9 -9
- package/dist/{chunk-ZC5UBL6U.js → chunk-CERY66PJ.js} +2 -2
- package/dist/{chunk-Q5ADEVNA.js → chunk-CPXFQBBN.js} +3 -3
- package/dist/{chunk-U6TCQOYH.js → chunk-D5SZ3U5L.js} +3 -3
- package/dist/{chunk-GWY3NSKL.js → chunk-DDA7IAWM.js} +3 -3
- package/dist/{chunk-TCACWXYB.js → chunk-DSL5D3TH.js} +2 -2
- package/dist/{chunk-LIKADO5U.js → chunk-DTFFLCFM.js} +1 -1
- package/dist/{chunk-LPMUZCCE.js → chunk-E5UHM2KN.js} +108 -1
- package/dist/{chunk-3PKMM7QQ.js → chunk-EOYVD5U3.js} +1 -1
- package/dist/{chunk-MCNBCNFU.js → chunk-EQCYEYCJ.js} +2 -2
- package/dist/{chunk-32XG7TO3.js → chunk-FAVEOPZD.js} +1 -1
- package/dist/{chunk-GJFYVU6C.js → chunk-FZALT2G7.js} +1 -1
- package/dist/{chunk-BH4IK5FP.js → chunk-GSFGVYCG.js} +2 -2
- package/dist/{chunk-KBYINTOY.js → chunk-GTCJU2RF.js} +1 -1
- package/dist/{chunk-4PWXZYL7.js → chunk-IJTCNN5I.js} +1 -1
- package/dist/{chunk-ASM2MYNI.js → chunk-IJYBKQDJ.js} +5 -5
- package/dist/{chunk-HWMGT6YQ.js → chunk-JCBQQIUV.js} +2 -2
- package/dist/{chunk-CYYIWNU2.js → chunk-JT3I3OWU.js} +1 -1
- package/dist/{chunk-MXMYZFHO.js → chunk-KCHIJUYX.js} +2 -2
- package/dist/{chunk-7S3GUMYM.js → chunk-KKZPF6YI.js} +9 -9
- package/dist/{chunk-J3I3MAVE.js → chunk-LKB2VIIV.js} +7 -7
- package/dist/{chunk-MKP3MEGN.js → chunk-ME3WDWL6.js} +1 -1
- package/dist/{chunk-U4KIMDH5.js → chunk-MNLSPTWM.js} +3 -3
- package/dist/{chunk-KT36VFOY.js → chunk-MTHQR76V.js} +8 -8
- package/dist/{chunk-IU4BZTHU.js → chunk-MTX3FQRR.js} +3 -3
- package/dist/{chunk-PPG33XHJ.js → chunk-MZ2MBZ3E.js} +1 -1
- package/dist/{chunk-P52DLOLU.js → chunk-N5ACQ7C2.js} +3 -3
- package/dist/{chunk-2BZ24BXH.js → chunk-O6RMSGXQ.js} +3 -3
- package/dist/{chunk-PO4MLC7T.js → chunk-OEEQGXCG.js} +1 -1
- package/dist/{chunk-B2ELTSP7.js → chunk-OLQYIAOQ.js} +26 -8
- package/dist/{chunk-5H3CJPKV.js → chunk-ORU5LDIT.js} +1 -1
- package/dist/{chunk-ZHARKQVQ.js → chunk-OV7OFYIR.js} +1 -1
- package/dist/{chunk-GBUXYGXK.js → chunk-P3PGU2OC.js} +1 -1
- package/dist/{chunk-CDBWONNT.js → chunk-QAYGX7KA.js} +2 -2
- package/dist/{chunk-EMYWFV4D.js → chunk-QOMCLPQI.js} +2 -2
- package/dist/{chunk-4TTJQCQ6.js → chunk-QQCZLNUC.js} +1 -1
- package/dist/{chunk-2ANCDQ5H.js → chunk-QVM5KATG.js} +2 -2
- package/dist/{chunk-WSF6R6IS.js → chunk-QXXG2MCZ.js} +3 -3
- package/dist/{chunk-UAIC5L4H.js → chunk-RKBVTCPY.js} +1 -1
- package/dist/{chunk-TECS4WT3.js → chunk-RY7UV6CU.js} +1 -1
- package/dist/{chunk-7N7H23WJ.js → chunk-SNJEQPPA.js} +1 -1
- package/dist/{chunk-QAUXAILJ.js → chunk-SPCO7SNH.js} +2 -2
- package/dist/{chunk-O5MMHBU5.js → chunk-TXUSQZLH.js} +11 -1
- package/dist/{chunk-47PIQRBR.js → chunk-UCQITDLM.js} +7 -2
- package/dist/{chunk-K7FFR7XO.js → chunk-UJRZD77V.js} +2 -2
- package/dist/{chunk-IDTF3DST.js → chunk-UUY3USYA.js} +1 -1
- package/dist/{chunk-BQ4ZCKOM.js → chunk-UX5YA6ZY.js} +5 -5
- package/dist/{chunk-6JDUBDS3.js → chunk-VAZHL55P.js} +1 -1
- package/dist/{chunk-2MGW2U6S.js → chunk-W7F3ZBHH.js} +130 -108
- package/dist/{chunk-2NVAL2WO.js → chunk-XDJEPGMF.js} +3 -3
- package/dist/{chunk-7GPYOJPH.js → chunk-XWH7QGCU.js} +1 -1
- package/dist/{chunk-WU75OCKE.js → chunk-YL5S6I3R.js} +4 -4
- package/dist/{chunk-VN2SAARW.js → chunk-YSU4JO3J.js} +1 -1
- package/dist/{chunk-OEBEFJVD.js → chunk-YYKY45TM.js} +1 -1
- package/dist/{chunk-AJVH2WVF.js → chunk-ZSMF37M6.js} +12 -12
- package/dist/{chunk-LL4FUDHA.js → chunk-ZWWHEX3Y.js} +4 -4
- package/dist/{cleanup-graph-garbage-USRL5SL6.js → cleanup-graph-garbage-FD34BPLR.js} +4 -4
- package/dist/{co-activation-NE4Y3N6J.js → co-activation-EVNRLGPH.js} +2 -2
- package/dist/{co-occurrence-CZ6PSVPI.js → co-occurrence-FEU6RXQI.js} +2 -2
- package/dist/{crdt-sync-RAZ2HT7L.js → crdt-sync-YI5LFAUY.js} +1 -1
- package/dist/{crm-webhook-ZVRVHJSL.js → crm-webhook-6YDLPLVH.js} +2 -2
- package/dist/{cto-delegation-gate-NFQ65FMA.js → cto-delegation-gate-JMO6VVTO.js} +11 -11
- package/dist/{daemon-orchestration-WQ5ZNWIU.js → daemon-orchestration-U5HW7YT5.js} +15 -15
- package/dist/{db-backup-XBDH47QZ.js → db-backup-UBKQZVEI.js} +1 -1
- package/dist/{doc-graph-extractor-7QGZQD2O.js → doc-graph-extractor-BPXVTZ4L.js} +2 -2
- package/dist/{documents-K2LZA3BL.js → documents-TXMACEEP.js} +5 -5
- package/dist/{dreaming-HNCFPTOC.js → dreaming-KJ4P52EC.js} +12 -12
- package/dist/{exe-drift-A5SJR4QW.js → exe-drift-PVUYHYKG.js} +3 -3
- package/dist/{exe-export-DW2JMG4Y.js → exe-export-PH23G3F7.js} +6 -6
- package/dist/{exe-import-SNGN4URX.js → exe-import-QCAFH4AM.js} +6 -6
- package/dist/{exe-key-UWEG6MWU.js → exe-key-MGEOBRCI.js} +62 -62
- package/dist/{exe-snapshot-D3FTR45Y.js → exe-snapshot-DDSSZ377.js} +15 -15
- package/dist/{fast-db-init-AUT2AAKL.js → fast-db-init-6KBEZK66.js} +1 -1
- package/dist/{founder-context-5AQIGSQX.js → founder-context-NSXLHXJ4.js} +2 -2
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-ZB25BUKV.js → git-staleness-7N4H6ZE3.js} +2 -2
- package/dist/{global-procedures-TGTL43TX.js → global-procedures-3PJSNL4Q.js} +3 -3
- package/dist/{graph-auto-extract-UREB6V7Y.js → graph-auto-extract-S5TSHNFY.js} +2 -2
- package/dist/hooks/bug-report-worker.js +14 -14
- package/dist/hooks/codex-stop-task-finalizer.js +14 -14
- package/dist/hooks/commit-complete.js +14 -14
- package/dist/hooks/error-recall.js +6 -6
- 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 +13 -13
- package/dist/hooks/post-tool-combined.js +7 -7
- package/dist/hooks/pre-compact.js +14 -14
- package/dist/hooks/pre-tool-use.js +17 -17
- package/dist/hooks/prompt-submit.js +28 -28
- package/dist/hooks/session-end.js +18 -18
- package/dist/hooks/session-start.js +12 -12
- package/dist/hooks/stop.js +17 -17
- package/dist/hooks/subagent-stop.js +13 -13
- package/dist/hooks/summary-worker.js +17 -17
- package/dist/index.js +21 -21
- package/dist/{installer-LFFKJLYO.js → installer-3X5QNMTD.js} +5 -5
- package/dist/{installer-BY7PZYSS.js → installer-FQKJ6ULZ.js} +5 -5
- package/dist/{installer-Y7DN3MR6.js → installer-TYK3XXK7.js} +5 -5
- package/dist/{intercom-queue-UIN67LJZ.js → intercom-queue-4A7XH72M.js} +11 -11
- package/dist/lib/cloud-sync.js +10 -10
- package/dist/lib/consolidation.js +5 -5
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-daemon-client.js +1 -1
- 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 +49 -49
- package/dist/lib/hybrid-search.js +5 -5
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +12 -12
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +5 -5
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +6 -6
- package/dist/lib/store.js +4 -4
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +13 -13
- package/dist/lib/tmux-routing.js +11 -11
- package/dist/lib/token-spend.js +11 -5
- package/dist/{license-gate-5AGUZF3C.js → license-gate-B4HB3ZDR.js} +3 -3
- package/dist/{license-sync-KFAHAPJE.js → license-sync-LSKU2X6F.js} +2 -2
- package/dist/mcp/register-tools.js +61 -61
- package/dist/mcp/server.js +62 -62
- 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 +15 -15
- package/dist/mcp/tools/deactivate-behavior.js +7 -7
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +15 -15
- package/dist/mcp/tools/send-message.js +14 -14
- package/dist/mcp/tools/update-task.js +14 -14
- package/dist/{mcp-http-config-M646QGF3.js → mcp-http-config-D4EBSK3R.js} +3 -3
- package/dist/{memory-cards-6X3CIDKU.js → memory-cards-7Z66A6AF.js} +4 -4
- package/dist/{memory-graph-extractor-NHZQMRWR.js → memory-graph-extractor-3NQUGAA5.js} +3 -3
- package/dist/{memory-poisoning-defense-KSHNQK2V.js → memory-poisoning-defense-DPCHNN7S.js} +2 -2
- package/dist/{memory-pressure-watchdog-SZCMH46U.js → memory-pressure-watchdog-Z25XTMNY.js} +12 -12
- package/dist/{memory-reflection-O2TWMACR.js → memory-reflection-EGLE4DZ5.js} +2 -2
- package/dist/{notifications-WEHR34W5.js → notifications-3MIUQXX6.js} +11 -11
- package/dist/{orchestration-events-5PLWK6PM.js → orchestration-events-2QYYCFSI.js} +3 -3
- package/dist/{orchestrator-XU6W2Y2J.js → orchestrator-IKRGCGWD.js} +13 -13
- package/dist/{pipeline-router-BDZB3LIQ.js → pipeline-router-BNKNM454.js} +3 -3
- package/dist/{plan-limits-I4ECOTG5.js → plan-limits-ETP2IFM4.js} +5 -5
- package/dist/{projection-worker-7KG5RGBJ.js → projection-worker-RIOEZPKQ.js} +2 -2
- package/dist/{prospective-memory-VBOSSFDF.js → prospective-memory-JPTTRFYJ.js} +2 -2
- package/dist/{reranker-HMP3TLSW.js → reranker-WHMDMYZP.js} +1 -1
- package/dist/{retrieval-health-TRG32A5O.js → retrieval-health-GFGXNPSN.js} +1 -1
- package/dist/{review-polling-RIUP7V4D.js → review-polling-FDHBFWSY.js} +12 -12
- package/dist/runtime/index.js +15 -15
- package/dist/{session-events-MDGIJFXX.js → session-events-GM2OUFON.js} +12 -12
- package/dist/{session-kill-telemetry-MWOE7PCB.js → session-kill-telemetry-XN6LYPWA.js} +12 -12
- package/dist/{session-scope-JSVV2TGZ.js → session-scope-3OGEPOW7.js} +11 -11
- package/dist/{setup-wizard-VDXYNARB.js → setup-wizard-ISCAH4EV.js} +1 -1
- package/dist/{skill-refinement-SWAYWZJJ.js → skill-refinement-X4HZANPI.js} +3 -3
- package/dist/{stack-update-SOKQION6.js → stack-update-2TGPFH6E.js} +3 -3
- package/dist/{steward-gate-MDR6LXM5.js → steward-gate-L2FBY7U4.js} +3 -3
- package/dist/{task-enforcement-MXFIB5YB.js → task-enforcement-7GXGH6DB.js} +12 -12
- package/dist/{task-scope-7GYL7HSQ.js → task-scope-J3OMPV5A.js} +11 -11
- package/dist/{tasks-crud-2E22HP6S.js → tasks-crud-NGMRLJH5.js} +11 -11
- package/dist/{tasks-notify-FCG3IG2C.js → tasks-notify-4OZXON6S.js} +12 -12
- package/dist/{tasks-review-PW3W5ALU.js → tasks-review-U5QEKLNP.js} +11 -11
- package/dist/{telemetry-upload-D5D7UOID.js → telemetry-upload-QCM44FAE.js} +7 -7
- package/dist/{token-budget-QCT42Q6K.js → token-budget-EVNOJQ7H.js} +3 -3
- package/dist/{tool-telemetry-K2FSVBPZ.js → tool-telemetry-UPADF5DF.js} +1 -1
- package/dist/tui/App.js +30 -30
- package/dist/{tui-data-I73PKMNS.js → tui-data-YPS2SMWF.js} +11 -11
- package/dist/{worker-gate-FUEVUE54.js → worker-gate-M6OGQF7H.js} +1 -1
- package/dist/{workflow-engine-7HBHBJN2.js → workflow-engine-OVVJRMD2.js} +2 -2
- package/dist/{worktree-2NBVFQEZ.js → worktree-3RKV6KQO.js} +4 -4
- package/dist/{worktree-sweep-RCPTUWGS.js → worktree-sweep-PYREGLPP.js} +5 -5
- package/package.json +1 -1
- package/release-notes.json +57 -36
- /package/dist/{chunk-MNSTHX5W.js → chunk-66RCRDIF.js} +0 -0
- /package/dist/{chunk-LUH4MNZC.js → chunk-INT5PHNK.js} +0 -0
- /package/dist/{chunk-SGPYKZFG.js → chunk-JMGYZLJX.js} +0 -0
- /package/dist/{chunk-GBMGBQ3V.js → chunk-N4G4M6LE.js} +0 -0
- /package/dist/{chunk-Q6LTWR37.js → chunk-NPAGBSEN.js} +0 -0
- /package/dist/{chunk-DFYM2FT5.js → chunk-O4522BYB.js} +0 -0
- /package/dist/{chunk-CMDL26WF.js → chunk-OHSJOKKW.js} +0 -0
- /package/dist/{chunk-ECN5GDYS.js → chunk-TOEQZTYB.js} +0 -0
- /package/dist/{chunk-GUVTBENP.js → chunk-VV422PGC.js} +0 -0
- /package/dist/{chunk-MO2JEWEX.js → chunk-XWIVAMVX.js} +0 -0
- /package/dist/{chunk-MA5FRTS6.js → chunk-YOOK5NOZ.js} +0 -0
- /package/dist/{core-memory-6C6HA6GV.js → core-memory-YHACNEAS.js} +0 -0
- /package/dist/{oauth-server-MOWBHWSG.js → oauth-server-YVREFZMD.js} +0 -0
- /package/dist/{project-boot-NDRHMSH3.js → project-boot-OZA6KYFP.js} +0 -0
- /package/dist/{wiki-acl-YRXN6FTR.js → wiki-acl-XWSASBWZ.js} +0 -0
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
reserveVersions,
|
|
6
6
|
vectorToBlob
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KKZPF6YI.js";
|
|
8
8
|
import {
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BIM763ML.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-BPXVTZ4L.js").then(
|
|
274
274
|
({ extractAndStoreDocumentGraph }) => extractAndStoreDocumentGraph(documentId, originalTexts)
|
|
275
275
|
).catch((err) => {
|
|
276
276
|
process.stderr.write(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5JILQMRS.js";
|
|
4
4
|
import {
|
|
5
5
|
TASK_ALREADY_CLAIMED_PREFIX
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZSMF37M6.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/tools/update-task.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -40,7 +40,7 @@ function registerUpdateTask(server) {
|
|
|
40
40
|
let callerAgentId;
|
|
41
41
|
let callerSession;
|
|
42
42
|
try {
|
|
43
|
-
const { getActiveAgent: getAgent } = await import("./active-agent-
|
|
43
|
+
const { getActiveAgent: getAgent } = await import("./active-agent-AIK6FSYE.js");
|
|
44
44
|
callerAgentId = getAgent().agentId;
|
|
45
45
|
const { getAgentContext } = await import("./agent-context-AZTTMUHP.js");
|
|
46
46
|
callerSession = getAgentContext()?.sessionHint || process.env.EXE_SESSION_NAME || process.env.EXE_SESSION || void 0;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fastDbInit
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NPAGBSEN.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZSMF37M6.js";
|
|
7
7
|
import {
|
|
8
8
|
formatStatusAll,
|
|
9
9
|
formatStatusDeep,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getClient,
|
|
15
15
|
isCoordinatorRole,
|
|
16
16
|
loadEmployees
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BIM763ML.js";
|
|
18
18
|
import {
|
|
19
19
|
isMainModule
|
|
20
20
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
listWorkflowDefinitions,
|
|
3
3
|
runWorkflow,
|
|
4
4
|
startWorkflow
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GTCJU2RF.js";
|
|
6
6
|
import {
|
|
7
7
|
ingest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ME3WDWL6.js";
|
|
9
9
|
import {
|
|
10
10
|
initCRMBridge
|
|
11
11
|
} from "./chunk-ML4S5SHZ.js";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BIM763ML.js";
|
|
4
|
+
import {
|
|
5
|
+
loadConfigSync
|
|
6
|
+
} from "./chunk-7Y5UDEVM.js";
|
|
4
7
|
|
|
5
8
|
// src/lib/token-spend.ts
|
|
6
9
|
import { readdir, stat } from "fs/promises";
|
|
@@ -8,6 +11,107 @@ import { createReadStream } from "fs";
|
|
|
8
11
|
import { createInterface } from "readline";
|
|
9
12
|
import path from "path";
|
|
10
13
|
import os from "os";
|
|
14
|
+
var DEFAULT_SPEND_WARNING_THRESHOLD = 0.8;
|
|
15
|
+
function asRecord(value) {
|
|
16
|
+
return value && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
17
|
+
}
|
|
18
|
+
function finitePositiveNumber(value) {
|
|
19
|
+
if (typeof value === "number" && Number.isFinite(value) && value > 0) return value;
|
|
20
|
+
if (typeof value === "string" && value.trim() !== "") {
|
|
21
|
+
const parsed = Number(value);
|
|
22
|
+
if (Number.isFinite(parsed) && parsed > 0) return parsed;
|
|
23
|
+
}
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
function normalizeWarningThreshold(value) {
|
|
27
|
+
const parsed = finitePositiveNumber(value);
|
|
28
|
+
if (parsed === null) return DEFAULT_SPEND_WARNING_THRESHOLD;
|
|
29
|
+
const ratio = parsed > 1 ? parsed / 100 : parsed;
|
|
30
|
+
return ratio > 0 && ratio <= 1 ? ratio : DEFAULT_SPEND_WARNING_THRESHOLD;
|
|
31
|
+
}
|
|
32
|
+
function firstPositiveNumber(records, keys) {
|
|
33
|
+
for (const { source, record } of records) {
|
|
34
|
+
for (const key of keys) {
|
|
35
|
+
const value = finitePositiveNumber(record[key]);
|
|
36
|
+
if (value !== null) return { value, source: `${source}.${key}` };
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
function resolveGlobalSpendCapConfig(config, env = process.env) {
|
|
42
|
+
const envCap = finitePositiveNumber(env.EXE_GLOBAL_SPEND_CAP_USD ?? env.EXE_TOKEN_SPEND_CAP_USD ?? env.EXE_SPEND_CAP_USD);
|
|
43
|
+
if (envCap !== null) {
|
|
44
|
+
return {
|
|
45
|
+
capUSD: envCap,
|
|
46
|
+
warningThreshold: normalizeWarningThreshold(
|
|
47
|
+
env.EXE_GLOBAL_SPEND_WARN_THRESHOLD ?? env.EXE_TOKEN_SPEND_WARN_THRESHOLD ?? env.EXE_SPEND_WARN_THRESHOLD
|
|
48
|
+
),
|
|
49
|
+
source: env.EXE_GLOBAL_SPEND_CAP_USD ? "env.EXE_GLOBAL_SPEND_CAP_USD" : env.EXE_TOKEN_SPEND_CAP_USD ? "env.EXE_TOKEN_SPEND_CAP_USD" : "env.EXE_SPEND_CAP_USD"
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
const tokenSpend = asRecord(config.tokenSpend);
|
|
53
|
+
const spend = asRecord(config.spend);
|
|
54
|
+
const records = [
|
|
55
|
+
...tokenSpend ? [{ source: "config.tokenSpend", record: tokenSpend }] : [],
|
|
56
|
+
...spend ? [{ source: "config.spend", record: spend }] : [],
|
|
57
|
+
{ source: "config", record: config }
|
|
58
|
+
];
|
|
59
|
+
const cap = firstPositiveNumber(records, [
|
|
60
|
+
"globalCapUSD",
|
|
61
|
+
"globalSpendCapUSD",
|
|
62
|
+
"capUSD",
|
|
63
|
+
"spendCapUSD"
|
|
64
|
+
]);
|
|
65
|
+
if (!cap) return null;
|
|
66
|
+
const warning = firstPositiveNumber(records, [
|
|
67
|
+
"warningThreshold",
|
|
68
|
+
"warningThresholdPercent",
|
|
69
|
+
"warnAt",
|
|
70
|
+
"warnAtPercent"
|
|
71
|
+
]);
|
|
72
|
+
return {
|
|
73
|
+
capUSD: cap.value,
|
|
74
|
+
warningThreshold: normalizeWarningThreshold(warning?.value),
|
|
75
|
+
source: cap.source
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
function getConfiguredGlobalSpendCap() {
|
|
79
|
+
try {
|
|
80
|
+
return resolveGlobalSpendCapConfig(loadConfigSync());
|
|
81
|
+
} catch {
|
|
82
|
+
return resolveGlobalSpendCapConfig({});
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function evaluateGlobalSpendCap(totalCostUSD, period, config = getConfiguredGlobalSpendCap()) {
|
|
86
|
+
const normalizedCost = Number.isFinite(totalCostUSD) && totalCostUSD > 0 ? totalCostUSD : 0;
|
|
87
|
+
if (!config) {
|
|
88
|
+
return {
|
|
89
|
+
configured: false,
|
|
90
|
+
period,
|
|
91
|
+
capUSD: null,
|
|
92
|
+
totalCostUSD: normalizedCost,
|
|
93
|
+
percentUsed: 0,
|
|
94
|
+
warningThresholdPercent: null,
|
|
95
|
+
status: "unconfigured",
|
|
96
|
+
message: "No global spend cap configured. Set tokenSpend.globalCapUSD in config.json or EXE_GLOBAL_SPEND_CAP_USD to enable spend warnings.",
|
|
97
|
+
source: null
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
const percentUsed = Math.round(normalizedCost / config.capUSD * 100);
|
|
101
|
+
const status = normalizedCost >= config.capUSD ? "over_cap" : normalizedCost >= config.capUSD * config.warningThreshold ? "near_cap" : "ok";
|
|
102
|
+
const warningThresholdPercent = Math.round(config.warningThreshold * 100);
|
|
103
|
+
return {
|
|
104
|
+
configured: true,
|
|
105
|
+
period,
|
|
106
|
+
capUSD: config.capUSD,
|
|
107
|
+
totalCostUSD: normalizedCost,
|
|
108
|
+
percentUsed,
|
|
109
|
+
warningThresholdPercent,
|
|
110
|
+
status,
|
|
111
|
+
message: status === "over_cap" ? `Global spend cap exceeded for ${period}: $${normalizedCost.toFixed(2)} / $${config.capUSD.toFixed(2)} (${percentUsed}%).` : status === "near_cap" ? `Global spend is near cap for ${period}: $${normalizedCost.toFixed(2)} / $${config.capUSD.toFixed(2)} (${percentUsed}%, warning at ${warningThresholdPercent}%).` : `Global spend is within cap for ${period}: $${normalizedCost.toFixed(2)} / $${config.capUSD.toFixed(2)} (${percentUsed}%).`,
|
|
112
|
+
source: config.source
|
|
113
|
+
};
|
|
114
|
+
}
|
|
11
115
|
var MODEL_PRICING = {
|
|
12
116
|
// Opus 4.5+ ($5/$25 — Anthropic price drop from original Opus 4)
|
|
13
117
|
"claude-opus-4-7": { input: 5 / 1e6, output: 25 / 1e6, cacheRead: 0.5 / 1e6, cacheWrite: 6.25 / 1e6 },
|
|
@@ -223,6 +327,9 @@ function periodToCutoff(period) {
|
|
|
223
327
|
}
|
|
224
328
|
|
|
225
329
|
export {
|
|
330
|
+
resolveGlobalSpendCapConfig,
|
|
331
|
+
getConfiguredGlobalSpendCap,
|
|
332
|
+
evaluateGlobalSpendCap,
|
|
226
333
|
getPricing,
|
|
227
334
|
getAgentSpend
|
|
228
335
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZSMF37M6.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/git-task-sweep.ts
|
|
6
6
|
import { execSync } from "child_process";
|
|
@@ -238,7 +238,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
238
238
|
}
|
|
239
239
|
if (!dryRun) {
|
|
240
240
|
try {
|
|
241
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
241
|
+
const { updateTaskStatus } = await import("./tasks-crud-NGMRLJH5.js");
|
|
242
242
|
await updateTaskStatus({
|
|
243
243
|
taskId: task.id,
|
|
244
244
|
status: "needs_review",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatDegradations,
|
|
3
3
|
getRetrievalHealth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TXUSQZLH.js";
|
|
5
5
|
import {
|
|
6
6
|
buildRestartReport,
|
|
7
7
|
formatRestartReport
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-OTVEIJUQ.js";
|
|
17
17
|
import {
|
|
18
18
|
offloadReadIfMain
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BIM763ML.js";
|
|
20
20
|
import {
|
|
21
21
|
isMainModule
|
|
22
22
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -959,7 +959,7 @@ function formatReport(report, flags) {
|
|
|
959
959
|
return lines.join("\n");
|
|
960
960
|
}
|
|
961
961
|
async function fixNullVectors() {
|
|
962
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
962
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-M6OGQF7H.js");
|
|
963
963
|
if (!tryAcquireWorkerSlot()) {
|
|
964
964
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
965
965
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -1144,7 +1144,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
1144
1144
|
console.log(formatRestartReport(restartReport));
|
|
1145
1145
|
return emptyAuditReport();
|
|
1146
1146
|
}
|
|
1147
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
1147
|
+
const { fastDbInit } = await import("./fast-db-init-6KBEZK66.js");
|
|
1148
1148
|
const client = await fastDbInit();
|
|
1149
1149
|
const report = await runAudit(client, flags);
|
|
1150
1150
|
console.log(formatReport(report, flags));
|
|
@@ -1155,7 +1155,7 @@ ${mode} Applying repairs...
|
|
|
1155
1155
|
`);
|
|
1156
1156
|
if (!flags.dryRun) {
|
|
1157
1157
|
try {
|
|
1158
|
-
const { createBackup } = await import("./db-backup-
|
|
1158
|
+
const { createBackup } = await import("./db-backup-UBKQZVEI.js");
|
|
1159
1159
|
const backupPath = await createBackup("pre-fix");
|
|
1160
1160
|
if (backupPath) {
|
|
1161
1161
|
console.log(` Backup created: ${backupPath.split("/").pop()}`);
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-A47MXY2I.js";
|
|
4
4
|
import {
|
|
5
5
|
isGhostBehaviorRow
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KCHIJUYX.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
getIdentity,
|
|
10
10
|
listIdentities,
|
|
11
11
|
updateIdentity
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BIM763ML.js";
|
|
13
13
|
import {
|
|
14
14
|
atomicWriteJsonSync
|
|
15
15
|
} from "./chunk-SHIICYJW.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vectorToSqlLiteral
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KKZPF6YI.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-BIM763ML.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/behaviors.ts
|
|
12
12
|
import crypto from "crypto";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
findScopedDuplicate,
|
|
10
10
|
governMemoryRecord,
|
|
11
11
|
schedulePostWriteMemoryHygiene
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-66RCRDIF.js";
|
|
13
13
|
import {
|
|
14
14
|
orgBus
|
|
15
15
|
} from "./chunk-MP2AFCGL.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ensureSchema,
|
|
19
19
|
getClient,
|
|
20
20
|
initTurso
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BIM763ML.js";
|
|
22
22
|
import {
|
|
23
23
|
EMBEDDING_DIM
|
|
24
24
|
} from "./chunk-FXU7JOXK.js";
|
|
@@ -68,7 +68,7 @@ function recordShardFailure(project, error) {
|
|
|
68
68
|
`[store] Shard circuit OPEN for "${project}" after ${state.failures} consecutive failures. Will retry in ${SHARD_CB_COOLDOWN_MS / 6e4}min. Last error: ${error}
|
|
69
69
|
`
|
|
70
70
|
);
|
|
71
|
-
void import("./orchestration-events-
|
|
71
|
+
void import("./orchestration-events-2QYYCFSI.js").then(({ recordOrchestrationEventBestEffort }) => {
|
|
72
72
|
recordOrchestrationEventBestEffort({
|
|
73
73
|
eventType: "shard.circuit_open",
|
|
74
74
|
source: "store.recordShardFailure",
|
|
@@ -165,7 +165,7 @@ async function initStore(options) {
|
|
|
165
165
|
);
|
|
166
166
|
_nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
|
|
167
167
|
try {
|
|
168
|
-
const { loadGlobalProcedures } = await import("./global-procedures-
|
|
168
|
+
const { loadGlobalProcedures } = await import("./global-procedures-3PJSNL4Q.js");
|
|
169
169
|
await loadGlobalProcedures();
|
|
170
170
|
} catch (e) {
|
|
171
171
|
logStoreWarn("catch", e);
|
|
@@ -293,7 +293,7 @@ async function writeMemory(record) {
|
|
|
293
293
|
founder_id: record.founder_id ?? null
|
|
294
294
|
};
|
|
295
295
|
try {
|
|
296
|
-
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-
|
|
296
|
+
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-DPCHNN7S.js");
|
|
297
297
|
const poisonResult = await checkMemoryPoisoning({
|
|
298
298
|
memoryId: dbRow.id,
|
|
299
299
|
vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
|
|
@@ -486,19 +486,19 @@ async function flushBatch() {
|
|
|
486
486
|
}
|
|
487
487
|
_nextVersion = baseVersion;
|
|
488
488
|
try {
|
|
489
|
-
const { insertMemoryCardsForBatch } = await import("./memory-cards-
|
|
489
|
+
const { insertMemoryCardsForBatch } = await import("./memory-cards-7Z66A6AF.js");
|
|
490
490
|
await insertMemoryCardsForBatch(batch);
|
|
491
491
|
} catch (e) {
|
|
492
492
|
logStoreWarn("catch", e);
|
|
493
493
|
}
|
|
494
494
|
try {
|
|
495
|
-
const { insertOntologyForBatch } = await import("./agentic-ontology-
|
|
495
|
+
const { insertOntologyForBatch } = await import("./agentic-ontology-V2BQY4DH.js");
|
|
496
496
|
await insertOntologyForBatch(batch);
|
|
497
497
|
} catch (e) {
|
|
498
498
|
logStoreWarn("catch", e);
|
|
499
499
|
}
|
|
500
500
|
try {
|
|
501
|
-
const { extractGraphForBatch } = await import("./memory-graph-extractor-
|
|
501
|
+
const { extractGraphForBatch } = await import("./memory-graph-extractor-3NQUGAA5.js");
|
|
502
502
|
await extractGraphForBatch(batch);
|
|
503
503
|
} catch (e) {
|
|
504
504
|
logStoreWarn("catch", e);
|
|
@@ -629,7 +629,7 @@ async function searchMemories(queryVector, agentId, options) {
|
|
|
629
629
|
args.push(activeEmbeddingModel);
|
|
630
630
|
}
|
|
631
631
|
try {
|
|
632
|
-
const { founderScopeFilter } = await import("./founder-context-
|
|
632
|
+
const { founderScopeFilter } = await import("./founder-context-NSXLHXJ4.js");
|
|
633
633
|
const founderFilter = founderScopeFilter(options?.founderId);
|
|
634
634
|
sql += founderFilter.sql;
|
|
635
635
|
args.push(...founderFilter.args.filter((a) => a !== null));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isCrdtSyncEnabled
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JMGYZLJX.js";
|
|
4
4
|
import {
|
|
5
5
|
GHOST_BEHAVIOR_SQL,
|
|
6
6
|
isGhostBehaviorRow
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KCHIJUYX.js";
|
|
8
8
|
import {
|
|
9
9
|
decryptSyncBlob,
|
|
10
10
|
encryptSyncBlob,
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
} from "./chunk-LO6L5ADL.js";
|
|
14
14
|
import {
|
|
15
15
|
retryOnDaemonTransportError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UCQITDLM.js";
|
|
17
17
|
import {
|
|
18
18
|
getClient,
|
|
19
19
|
loadEmployees,
|
|
20
20
|
registerBinSymlinks,
|
|
21
21
|
saveEmployees
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BIM763ML.js";
|
|
23
23
|
import {
|
|
24
24
|
loadDeviceId
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DTFFLCFM.js";
|
|
26
26
|
import {
|
|
27
27
|
EXE_AI_DIR
|
|
28
28
|
} from "./chunk-7Y5UDEVM.js";
|
|
@@ -706,7 +706,7 @@ async function cloudSync(config, options) {
|
|
|
706
706
|
let pulled = 0;
|
|
707
707
|
if (pullResult.records.length > 0) {
|
|
708
708
|
if (shouldUseCrdtMergeForCloudSync()) {
|
|
709
|
-
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-
|
|
709
|
+
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-YI5LFAUY.js");
|
|
710
710
|
initCrdtDoc();
|
|
711
711
|
importExistingMemories(
|
|
712
712
|
pullResult.records.map((rec) => ({
|
|
@@ -1092,7 +1092,7 @@ async function cloudSync(config, options) {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
|
|
1094
1094
|
try {
|
|
1095
|
-
const { getLatestBackup } = await import("./db-backup-
|
|
1095
|
+
const { getLatestBackup } = await import("./db-backup-UBKQZVEI.js");
|
|
1096
1096
|
const latestBackup = getLatestBackup();
|
|
1097
1097
|
if (latestBackup) {
|
|
1098
1098
|
const backupSize = statSync(latestBackup).size;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZSMF37M6.js";
|
|
4
4
|
import {
|
|
5
5
|
recordOrchestrationEventBestEffort
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AREY6CD2.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isCoordinatorName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BIM763ML.js";
|
|
11
11
|
import {
|
|
12
12
|
isDaemonAlive
|
|
13
13
|
} from "./chunk-7HLWBYH7.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recordSessionKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MNLSPTWM.js";
|
|
4
4
|
import {
|
|
5
5
|
updateTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5JILQMRS.js";
|
|
7
7
|
import {
|
|
8
8
|
countPendingReviews,
|
|
9
9
|
ensureEmployeeAsync,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
sessionScopeFilter,
|
|
17
17
|
strictSessionScopeFilter,
|
|
18
18
|
writeNotification
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZSMF37M6.js";
|
|
20
20
|
import {
|
|
21
21
|
isLeaseExpired
|
|
22
22
|
} from "./chunk-E23LNUWJ.js";
|
|
23
23
|
import {
|
|
24
24
|
listSessions
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3HMHSTHQ.js";
|
|
26
26
|
import {
|
|
27
27
|
listTmuxSessions,
|
|
28
28
|
parseContextPercentage
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-RMOBQ6A5.js";
|
|
33
33
|
import {
|
|
34
34
|
recordOrchestrationEventBestEffort
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-AREY6CD2.js";
|
|
36
36
|
import {
|
|
37
37
|
getAgentRuntime
|
|
38
38
|
} from "./chunk-HDZF7FQF.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
getCoordinatorName,
|
|
42
42
|
isCoordinatorName,
|
|
43
43
|
shouldAutoInstance
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-BIM763ML.js";
|
|
45
45
|
import {
|
|
46
46
|
loadConfigSync
|
|
47
47
|
} from "./chunk-7Y5UDEVM.js";
|
|
@@ -2298,7 +2298,7 @@ async function reapOrphanedWorktrees(deps, nowMs = Date.now()) {
|
|
|
2298
2298
|
}
|
|
2299
2299
|
async function createWorktreeReaperRealDeps() {
|
|
2300
2300
|
const { getPaneCwdAsync } = await import("./lib/tmux-status.js");
|
|
2301
|
-
const { getGitRoot, isWorktreeDirty: isDirty } = await import("./worktree-
|
|
2301
|
+
const { getGitRoot, isWorktreeDirty: isDirty } = await import("./worktree-3RKV6KQO.js");
|
|
2302
2302
|
const { statSync: statSync3 } = await import("fs");
|
|
2303
2303
|
const { basename: basename2 } = await import("path");
|
|
2304
2304
|
const { promisify: promisify2 } = await import("util");
|
|
@@ -2513,7 +2513,7 @@ async function gcStaleCheckpoints() {
|
|
|
2513
2513
|
}
|
|
2514
2514
|
async function pollTaskGroupBarriers() {
|
|
2515
2515
|
try {
|
|
2516
|
-
const { checkAndFireBarriers } = await import("./tasks-crud-
|
|
2516
|
+
const { checkAndFireBarriers } = await import("./tasks-crud-NGMRLJH5.js");
|
|
2517
2517
|
const firedGroupIds = await checkAndFireBarriers();
|
|
2518
2518
|
if (firedGroupIds.length === 0) return 0;
|
|
2519
2519
|
const { getClient } = await import("./lib/database.js");
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractMemoryGraph
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SPCO7SNH.js";
|
|
4
4
|
import {
|
|
5
5
|
flushBatch,
|
|
6
6
|
writeMemory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KKZPF6YI.js";
|
|
8
8
|
import {
|
|
9
9
|
extractKeywords
|
|
10
10
|
} from "./chunk-CHCA3ZM2.js";
|
|
11
11
|
import {
|
|
12
12
|
getActiveAgent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EOYVD5U3.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/import-conversations.ts
|
|
16
16
|
import { z } from "zod";
|
|
@@ -119,7 +119,7 @@ function releaseBackfillLock() {
|
|
|
119
119
|
}
|
|
120
120
|
async function getTaskAwareCapacity() {
|
|
121
121
|
const { getClient } = await import("./lib/database.js");
|
|
122
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
122
|
+
const { sessionScopeFilter } = await import("./task-scope-J3OMPV5A.js");
|
|
123
123
|
const client = getClient();
|
|
124
124
|
const scope = sessionScopeFilter();
|
|
125
125
|
const result = await client.execute({
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
resolveExeSession,
|
|
5
5
|
sendIntercom,
|
|
6
6
|
strictSessionScopeFilter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZSMF37M6.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-AREY6CD2.js";
|
|
15
15
|
import {
|
|
16
16
|
getClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BIM763ML.js";
|
|
18
18
|
|
|
19
19
|
// src/lib/messaging.ts
|
|
20
20
|
import crypto from "crypto";
|