@askexenow/exe-os 0.9.134 → 0.9.136
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-5Z4ZFQZD.js → active-agent-DZXEPRY7.js} +3 -3
- package/dist/{active-agent-VCMF6TCC.js → active-agent-EFZ6YZIM.js} +3 -3
- package/dist/{agentic-ontology-F7DQUWYK.js → agentic-ontology-2TD5YS4O.js} +1 -1
- package/dist/{backfill-metadata-XXBEIM6J.js → backfill-metadata-5LNLRCA6.js} +6 -6
- package/dist/{background-jobs-ATB73RFI.js → background-jobs-6V4GQ5QT.js} +2 -2
- package/dist/{behaviors-WKTZOWL2.js → behaviors-PPFGGHYD.js} +5 -5
- package/dist/bin/age-ontology-load.js +2 -2
- package/dist/bin/agentic-ontology-backfill.js +8 -8
- package/dist/bin/agentic-reflection-backfill.js +9 -9
- package/dist/bin/agentic-semantic-label.js +8 -8
- package/dist/bin/backfill-conversations.js +8 -8
- package/dist/bin/backfill-responses.js +8 -8
- package/dist/bin/backfill-vectors.js +10 -10
- package/dist/bin/bulk-sync-postgres.js +9 -9
- package/dist/bin/cc-doctor.js +3 -3
- package/dist/bin/cleanup-stale-review-tasks.js +10 -10
- package/dist/bin/cli.js +15 -15
- package/dist/bin/customer-readiness.js +5 -0
- package/dist/bin/exe-agent-config.js +3 -3
- package/dist/bin/exe-agent.js +6 -6
- package/dist/bin/exe-assign.js +10 -10
- package/dist/bin/exe-boot.js +17 -17
- package/dist/bin/exe-call.js +6 -6
- package/dist/bin/exe-cloud.js +15 -8
- package/dist/bin/exe-dispatch.js +11 -11
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +9 -9
- package/dist/bin/exe-forget.js +8 -8
- package/dist/bin/exe-gateway.js +6 -6
- package/dist/bin/exe-healthcheck.js +3 -3
- package/dist/bin/exe-heartbeat.js +10 -10
- package/dist/bin/exe-kill.js +8 -8
- package/dist/bin/exe-launch-agent.js +13 -13
- package/dist/bin/exe-new-employee.js +13 -20
- package/dist/bin/exe-pending-messages.js +11 -11
- package/dist/bin/exe-pending-notifications.js +10 -10
- package/dist/bin/exe-pending-reviews.js +10 -10
- package/dist/bin/exe-rename.js +6 -6
- package/dist/bin/exe-review.js +7 -7
- package/dist/bin/exe-search.js +7 -7
- package/dist/bin/exe-session-cleanup.js +14 -14
- package/dist/bin/exe-settings.js +8 -8
- package/dist/bin/exe-start-codex.js +14 -14
- package/dist/bin/exe-start-opencode.js +10 -10
- package/dist/bin/exe-status.js +11 -11
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +5 -5
- package/dist/bin/git-sweep.js +10 -10
- package/dist/bin/graph-backfill.js +7 -7
- package/dist/bin/graph-export.js +7 -7
- package/dist/bin/install.js +7 -7
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
- package/dist/bin/postgres-agentic-semantic-backfill.js +3 -3
- package/dist/bin/scan-tasks.js +10 -10
- package/dist/bin/setup.js +2 -2
- package/dist/bin/shard-migrate.js +7 -7
- package/dist/bin/stack-update.js +2 -2
- package/dist/{capacity-monitor-SD7TFRI7.js → capacity-monitor-PFHHXTEN.js} +11 -11
- package/dist/{catchup-brief-ZZE67H6X.js → catchup-brief-Y75GOHWU.js} +12 -12
- package/dist/{chunk-7525VIRY.js → chunk-2CKP7O4F.js} +1 -1
- package/dist/{chunk-TCLLBHWX.js → chunk-2SXMWUOQ.js} +1 -1
- package/dist/{chunk-TGAZBOQV.js → chunk-37LVIZ3P.js} +2 -2
- package/dist/{chunk-SG3JQDRS.js → chunk-3BVZNKAZ.js} +5 -5
- package/dist/{chunk-K3ICF4GD.js → chunk-3UKHLUXH.js} +1 -1
- package/dist/{chunk-7K4OTYL4.js → chunk-4ADWX7S6.js} +9 -9
- package/dist/{chunk-UQFWCTKE.js → chunk-5DZTDWFU.js} +1 -1
- package/dist/{chunk-QOR7M5WH.js → chunk-5NLZS5KX.js} +3 -3
- package/dist/{chunk-UQQJV7DB.js → chunk-5XNCH6UM.js} +4 -4
- package/dist/{chunk-7CUQQAZH.js → chunk-6ZXIG7R6.js} +4 -4
- package/dist/{chunk-ZC37J6BF.js → chunk-A63V4QMR.js} +62 -62
- package/dist/{chunk-TOIDMYUI.js → chunk-ARQQ4T47.js} +1 -1
- package/dist/{chunk-JGHS2M7L.js → chunk-ARZWYVYC.js} +4 -4
- package/dist/{chunk-H3QAD2WH.js → chunk-AVUQCUZC.js} +1 -1
- package/dist/{chunk-2FBEH3A3.js → chunk-BI3COBMQ.js} +1 -1
- package/dist/{chunk-LSDG5VMO.js → chunk-BPLXSBNM.js} +1 -1
- package/dist/{chunk-J2Q3TSEM.js → chunk-CTEENZVZ.js} +7 -7
- package/dist/{chunk-5GTTS5HP.js → chunk-D7FYU6DX.js} +2 -2
- package/dist/{chunk-MFEYHPQD.js → chunk-DIQOUMHM.js} +2 -2
- package/dist/{chunk-5XDQJUZV.js → chunk-E2XB56OH.js} +2 -2
- package/dist/{chunk-B46U2TYB.js → chunk-FM4UBRBE.js} +7 -7
- package/dist/{chunk-WXRFX7C2.js → chunk-G2HJSPM4.js} +2 -2
- package/dist/{chunk-5B6EK7TA.js → chunk-GERMZD6I.js} +2 -2
- package/dist/{chunk-2HL4VLOK.js → chunk-GISRZK6K.js} +5 -5
- package/dist/{chunk-LPZ6UYNK.js → chunk-GU2Z6K2T.js} +2 -2
- package/dist/{chunk-6TNLZ3XL.js → chunk-IMZM3H6N.js} +4 -4
- package/dist/{chunk-JBDY3SWN.js → chunk-ISRQKXHM.js} +0 -2
- package/dist/{chunk-CGRQVRIF.js → chunk-IUKRBQ2B.js} +3 -3
- package/dist/{chunk-WIR7ISPK.js → chunk-J7LFCZMQ.js} +57 -16
- package/dist/{chunk-NALLK6IN.js → chunk-JXYZVTBX.js} +1 -1
- package/dist/{chunk-SC444GZ6.js → chunk-K7E72WGL.js} +1 -1
- package/dist/{chunk-SXMHIS42.js → chunk-KDM3GZ6T.js} +2 -2
- package/dist/{chunk-LNGM5OHX.js → chunk-KHUJEI3A.js} +2 -2
- package/dist/{chunk-RPH5MQWS.js → chunk-KQW5PWOA.js} +2 -2
- package/dist/{chunk-HV3NRFAG.js → chunk-KSFOG6FJ.js} +1 -1
- package/dist/{chunk-XCPOD4HP.js → chunk-KTS6MOE4.js} +1 -1
- package/dist/{chunk-OBFB27SZ.js → chunk-M6ODLM7X.js} +1 -1
- package/dist/{chunk-BYGGAO5Q.js → chunk-MPZRPM5X.js} +6 -6
- package/dist/{chunk-FNF6ASM2.js → chunk-NBJIGVPG.js} +97 -46
- package/dist/{chunk-JENH7FT4.js → chunk-NFRFF6QS.js} +1 -1
- package/dist/{chunk-CWNH6272.js → chunk-NHLW6DUE.js} +1 -1
- package/dist/{chunk-CVDBI4IN.js → chunk-NR3MPNTF.js} +4 -4
- package/dist/{chunk-BOKXKD3V.js → chunk-NSVI6RZ5.js} +1 -1
- package/dist/{chunk-PDQJA34K.js → chunk-O2ENLWKX.js} +1 -1
- package/dist/{chunk-BZKZSA4Z.js → chunk-OMHM3NGK.js} +1 -1
- package/dist/{chunk-RCLALZN6.js → chunk-P6CLMRWJ.js} +1 -1
- package/dist/{chunk-ZE46WYO3.js → chunk-PRRSSHU3.js} +1 -1
- package/dist/{chunk-G4F2EKRS.js → chunk-QCYYXXO5.js} +2 -2
- package/dist/{chunk-YJGCJFWK.js → chunk-QKBDAHFM.js} +1 -1
- package/dist/{chunk-F264RXCP.js → chunk-REFUKSCU.js} +2 -2
- package/dist/{chunk-DTERWF6K.js → chunk-S67DRFRK.js} +1 -1
- package/dist/{chunk-P4INSLEM.js → chunk-SF6H4ZME.js} +1 -1
- package/dist/{chunk-NOMUQ6C3.js → chunk-SJWW6GRT.js} +1 -1
- package/dist/{chunk-NC75HFMP.js → chunk-T65APBMF.js} +3 -3
- package/dist/{chunk-U2PFRUJW.js → chunk-TCOTFMDP.js} +2 -2
- package/dist/{chunk-PM23XC7F.js → chunk-TERS54YJ.js} +2 -2
- package/dist/{chunk-ZJYUR3HO.js → chunk-TXRDECEW.js} +4 -4
- package/dist/{chunk-EKJYATYD.js → chunk-UMLRHSAP.js} +1 -1
- package/dist/{chunk-ZXDB3XCV.js → chunk-UXGZ3V3U.js} +1 -1
- package/dist/{chunk-HWNRY6QJ.js → chunk-VAPODXIB.js} +2 -2
- package/dist/{chunk-32KXWG3Q.js → chunk-VIONSYFC.js} +1 -1
- package/dist/{chunk-UVBTYTNG.js → chunk-W7G2DOLC.js} +2 -2
- package/dist/{chunk-F53H7WLK.js → chunk-WQ6FW5JD.js} +1 -1
- package/dist/{chunk-HIDVVYWW.js → chunk-XDWCEQLH.js} +8 -8
- package/dist/{chunk-BFHUCGBO.js → chunk-XEZ64YCS.js} +2 -2
- package/dist/{chunk-ULNG2L4A.js → chunk-XK3P2PRN.js} +2 -2
- package/dist/{chunk-XJLGNOYT.js → chunk-YMMTBQQY.js} +4 -4
- package/dist/{chunk-PX3TSXNY.js → chunk-YTTVKPOQ.js} +1 -1
- package/dist/{chunk-N5V3PJUE.js → chunk-ZJ7N6BNZ.js} +2 -2
- package/dist/{chunk-DFQ3VHJQ.js → chunk-ZKYHW6KY.js} +1 -1
- package/dist/{chunk-NJ5FQH6Y.js → chunk-ZNWYU3VE.js} +4 -4
- package/dist/{code-context-index-RZOVUUQJ.js → code-context-index-I7JC7DPM.js} +4 -4
- package/dist/{conversation-wiki-populator-XVPHVT3R.js → conversation-wiki-populator-L24LNYDL.js} +1 -1
- package/dist/{crdt-sync-4K7EAN7H.js → crdt-sync-UUJDUXTJ.js} +1 -1
- package/dist/{crm-webhook-F2FP2XPU.js → crm-webhook-UXZORR4I.js} +2 -2
- package/dist/{cto-delegation-gate-LRAXRSDW.js → cto-delegation-gate-7MIMXB4T.js} +9 -9
- package/dist/{daemon-auth-STCSTDRT.js → daemon-auth-IFWQGMDT.js} +2 -2
- package/dist/{daemon-orchestration-R76H4QCE.js → daemon-orchestration-FIL7U2RV.js} +11 -11
- package/dist/{db-backup-X46NRH47.js → db-backup-RZA3JICI.js} +2 -2
- package/dist/{exe-drift-IKGS64KM.js → exe-drift-D7YCMMR3.js} +6 -6
- package/dist/{exe-export-3Z4ISZRQ.js → exe-export-YKP26EW6.js} +8 -8
- package/dist/{exe-import-I4C4ZFCX.js → exe-import-HSQORBEH.js} +8 -8
- package/dist/{exe-key-ADZ2AXQW.js → exe-key-QLXFQGNV.js} +4 -4
- package/dist/{exe-org-MHIWMBBQ.js → exe-org-F56R5P37.js} +2 -2
- package/dist/{fast-db-init-HT4JSB7L.js → fast-db-init-RFYRERZL.js} +1 -1
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-UWXPNRR4.js → git-staleness-2IBA7MM2.js} +4 -4
- package/dist/{git-task-sweep-2I2QZTM6.js → git-task-sweep-ZZQHHVXR.js} +10 -10
- package/dist/{global-procedures-XC3FSAHU.js → global-procedures-6B5JT3B5.js} +5 -5
- package/dist/hooks/bug-report-worker.js +13 -13
- package/dist/hooks/codex-stop-task-finalizer.js +13 -13
- package/dist/hooks/commit-complete.js +12 -12
- package/dist/hooks/error-recall.js +8 -8
- package/dist/hooks/exe-heartbeat-hook.js +3 -3
- package/dist/hooks/ingest-worker.js +5 -5
- package/dist/hooks/ingest.js +7 -7
- package/dist/hooks/instructions-loaded.js +7 -7
- package/dist/hooks/notification.js +4 -4
- package/dist/hooks/post-compact.js +11 -11
- package/dist/hooks/post-tool-combined.js +5 -5
- package/dist/hooks/pre-compact.js +16 -16
- package/dist/hooks/pre-tool-use.js +15 -15
- package/dist/hooks/prompt-submit.js +19 -19
- package/dist/hooks/session-end.js +20 -20
- package/dist/hooks/session-start.js +7 -7
- package/dist/hooks/stop.js +17 -17
- package/dist/hooks/subagent-stop.js +11 -11
- package/dist/hooks/summary-worker.js +19 -19
- package/dist/index.js +17 -17
- package/dist/{installer-4M35AQEU.js → installer-EIUTCCHV.js} +5 -5
- package/dist/{installer-U2JNFXOK.js → installer-GDMELU5L.js} +5 -5
- package/dist/{installer-LBYEM5CW.js → installer-WZEN2XJ7.js} +5 -5
- package/dist/{key-backup-status-TJA5I4HI.js → key-backup-status-NMUFOHXW.js} +1 -1
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +11 -7
- package/dist/lib/config.js +1 -1
- package/dist/lib/consolidation.js +7 -7
- package/dist/lib/database.js +4 -4
- package/dist/lib/db-daemon-client.js +3 -3
- package/dist/lib/db.js +4 -4
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/embedder.js +4 -4
- package/dist/lib/employee-templates.js +6 -6
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon-client.js +3 -3
- package/dist/lib/exe-daemon.js +297 -50
- package/dist/lib/hybrid-search.js +7 -7
- package/dist/lib/identity.js +5 -5
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +10 -10
- package/dist/lib/reminders.js +5 -5
- package/dist/lib/schedules.js +7 -7
- package/dist/lib/skill-learning.js +6 -6
- package/dist/lib/store.js +6 -6
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +12 -12
- package/dist/lib/tmux-routing.js +9 -9
- package/dist/lib/token-spend.js +5 -5
- package/dist/{license-gate-MX5ZWMYM.js → license-gate-VMGC326L.js} +3 -3
- package/dist/mcp/register-tools.js +60 -60
- package/dist/mcp/server.js +61 -61
- package/dist/mcp/tools/complete-reminder.js +6 -6
- package/dist/mcp/tools/create-reminder.js +6 -6
- package/dist/mcp/tools/create-task.js +14 -14
- package/dist/mcp/tools/deactivate-behavior.js +7 -7
- package/dist/mcp/tools/list-reminders.js +6 -6
- package/dist/mcp/tools/list-tasks.js +14 -14
- package/dist/mcp/tools/send-message.js +12 -12
- package/dist/mcp/tools/update-task.js +13 -13
- package/dist/{mcp-http-config-N7T35WCM.js → mcp-http-config-WPF5MBSO.js} +3 -3
- package/dist/{memory-cards-5F4IQQYX.js → memory-cards-MA5SIQKN.js} +4 -4
- package/dist/{memory-queue-FOCGY2LO.js → memory-queue-QX6UY4BP.js} +2 -2
- package/dist/{memory-queue-client-OVO7YLJJ.js → memory-queue-client-AG2QB6PK.js} +5 -5
- package/dist/{memory-reflection-2XLGAFPO.js → memory-reflection-VHCEW3UN.js} +4 -4
- package/dist/{notifications-VBTAHI35.js → notifications-NY2OVCDV.js} +9 -9
- package/dist/{orchestration-phase-PEAJAA6F.js → orchestration-phase-YKDZDERC.js} +2 -2
- package/dist/{orchestrator-JKCBGSKL.js → orchestrator-ZVOTKKV6.js} +12 -12
- package/dist/{plan-limits-N5Q6M7TX.js → plan-limits-UQTXKXJQ.js} +6 -6
- package/dist/{projection-worker-2A3JQIU2.js → projection-worker-UL47LRTS.js} +2 -2
- package/dist/{reranker-DFEFSWBV.js → reranker-EEX3UEA2.js} +2 -2
- package/dist/runtime/index.js +13 -13
- package/dist/{session-events-JUCYTOFB.js → session-events-DU6PKAJN.js} +10 -10
- package/dist/{session-kill-telemetry-6Y4AKJEO.js → session-kill-telemetry-5XGSTQJS.js} +5 -5
- package/dist/{session-scope-XF5ZIUF4.js → session-scope-WJRSCUKP.js} +10 -10
- package/dist/{setup-wizard-TMXGF64O.js → setup-wizard-36V5GCGG.js} +2 -2
- package/dist/{shard-manager-V6J6QHZ5.js → shard-manager-4QLCI2RC.js} +2 -2
- package/dist/{task-scope-CULJLUKF.js → task-scope-7XCYEZAG.js} +9 -9
- package/dist/{tasks-crud-BLLW4V65.js → tasks-crud-DUNJJUV3.js} +10 -10
- package/dist/{tasks-review-BYV33QEA.js → tasks-review-BPSW2TBZ.js} +9 -9
- package/dist/{tool-capability-index-Z6JVOY52.js → tool-capability-index-XYEJ57EL.js} +1 -1
- package/dist/{tool-telemetry-QULJ7R5K.js → tool-telemetry-Q6ZSUTHS.js} +1 -1
- package/dist/tui/App.js +22 -22
- package/dist/{tui-data-UWRAVNRE.js → tui-data-GUMMW3IG.js} +9 -9
- package/dist/{worker-gate-XQGJMV7V.js → worker-gate-IHFHRPF5.js} +2 -2
- package/dist/{workflow-engine-R27UQ6UZ.js → workflow-engine-A6K4MHN3.js} +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-E4AZQH6U.js → chunk-4AZA3DZM.js} +0 -0
- /package/dist/{chunk-4B6D4WX7.js → chunk-7U65IF2W.js} +0 -0
- /package/dist/{chunk-75GJADBE.js → chunk-FR5FFQ6G.js} +0 -0
- /package/dist/{chunk-TGCOB7MO.js → chunk-ISPV5JR2.js} +0 -0
- /package/dist/{chunk-KAOD42BV.js → chunk-KI3UEJUR.js} +0 -0
- /package/dist/{chunk-GRD5UQXZ.js → chunk-M6FENV7U.js} +0 -0
- /package/dist/{chunk-R7NM4KAJ.js → chunk-RCKUCKED.js} +0 -0
- /package/dist/{wiki-acl-XI33GTP7.js → wiki-acl-QY5EXWEQ.js} +0 -0
- /package/dist/{wiki-client-BVPFZW5I.js → wiki-client-ZWA545PZ.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vectorToBlob
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4ADWX7S6.js";
|
|
4
4
|
import {
|
|
5
5
|
init_employees,
|
|
6
6
|
isCoordinatorName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZKYHW6KY.js";
|
|
8
8
|
|
|
9
9
|
// src/lib/consolidation.ts
|
|
10
10
|
import { randomUUID } from "crypto";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PRRSSHU3.js";
|
|
4
4
|
import {
|
|
5
5
|
createTaskCore,
|
|
6
6
|
init_tasks_crud
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GISRZK6K.js";
|
|
8
8
|
import {
|
|
9
9
|
employeeSessionName,
|
|
10
10
|
ensureEmployee,
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
init_tmux_routing,
|
|
14
14
|
isEmployeeAlive,
|
|
15
15
|
sessionScopeFilter
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CTEENZVZ.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
19
19
|
getCoordinatorName,
|
|
20
20
|
init_employees
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZKYHW6KY.js";
|
|
22
22
|
|
|
23
23
|
// src/runtime/orchestrator.ts
|
|
24
24
|
init_employees();
|
|
@@ -266,9 +266,7 @@ var init_config = __esm({
|
|
|
266
266
|
sessionLifecycle: {
|
|
267
267
|
idleKillEnabled: true,
|
|
268
268
|
idleKillTicksRequired: 10,
|
|
269
|
-
// ~5 min at 30s tick. Was 3 (~90s) — too aggressive, killed healthy sessions.
|
|
270
269
|
idleKillIntercomAckWindowMs: 6e4,
|
|
271
|
-
// 60s grace after intercom ack. Was 10s — too narrow.
|
|
272
270
|
maxAutoInstances: 10
|
|
273
271
|
},
|
|
274
272
|
apiWatchdog: {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_tasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J7LFCZMQ.js";
|
|
4
4
|
import {
|
|
5
5
|
getProjectName,
|
|
6
6
|
init_project_name
|
|
7
7
|
} from "./chunk-LPGBKR4H.js";
|
|
8
8
|
import {
|
|
9
9
|
getActiveAgent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TCOTFMDP.js";
|
|
11
11
|
import {
|
|
12
12
|
listTasks
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GISRZK6K.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/list-tasks.ts
|
|
16
16
|
init_tasks();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_session_scope,
|
|
3
3
|
session_scope_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VAPODXIB.js";
|
|
5
5
|
import {
|
|
6
6
|
createTaskCore,
|
|
7
7
|
deleteTaskCore,
|
|
8
8
|
init_tasks_crud,
|
|
9
9
|
updateTaskStatus
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GISRZK6K.js";
|
|
11
11
|
import {
|
|
12
12
|
cleanupReviewFile,
|
|
13
13
|
employeeSessionName,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
sendIntercom,
|
|
23
23
|
sessionScopeFilter,
|
|
24
24
|
writeNotification
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CTEENZVZ.js";
|
|
26
26
|
import {
|
|
27
27
|
getTransport,
|
|
28
28
|
init_transport
|
|
@@ -38,17 +38,17 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
getClient,
|
|
40
40
|
init_database
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZJ7N6BNZ.js";
|
|
42
42
|
import {
|
|
43
43
|
getCoordinatorName,
|
|
44
44
|
init_employees,
|
|
45
45
|
isCoordinatorName,
|
|
46
46
|
isMultiInstance
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZKYHW6KY.js";
|
|
48
48
|
import {
|
|
49
49
|
EXE_AI_DIR,
|
|
50
50
|
init_config
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ISRQKXHM.js";
|
|
52
52
|
import {
|
|
53
53
|
__esm,
|
|
54
54
|
__toCommonJS
|
|
@@ -265,7 +265,9 @@ async function updateTask(input) {
|
|
|
265
265
|
} catch {
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
} catch {
|
|
268
|
+
} catch (e) {
|
|
269
|
+
process.stderr.write(`[tasks] trajectory tagging failed: ${e instanceof Error ? e.message : String(e)}
|
|
270
|
+
`);
|
|
269
271
|
}
|
|
270
272
|
if (input.status === "done" || input.status === "closed") {
|
|
271
273
|
await cleanupReviewFile(row, taskFile, input.baseDir);
|
|
@@ -280,7 +282,9 @@ async function updateTask(input) {
|
|
|
280
282
|
WHERE title LIKE ? ESCAPE '\\' AND status IN ('open', 'in_progress')`,
|
|
281
283
|
args: [now, `%left '${escaped}' as in\\_progress%`]
|
|
282
284
|
});
|
|
283
|
-
} catch {
|
|
285
|
+
} catch (e) {
|
|
286
|
+
process.stderr.write(`[tasks] shadow task cleanup failed: ${e instanceof Error ? e.message : String(e)}
|
|
287
|
+
`);
|
|
284
288
|
}
|
|
285
289
|
const assignedAgent = String(row.assigned_to);
|
|
286
290
|
if (!isCoordinatorName(assignedAgent)) {
|
|
@@ -298,7 +302,9 @@ async function updateTask(input) {
|
|
|
298
302
|
args: [now2, assignedAgent]
|
|
299
303
|
});
|
|
300
304
|
}
|
|
301
|
-
} catch {
|
|
305
|
+
} catch (e) {
|
|
306
|
+
process.stderr.write(`[tasks] draft memory promotion/purge failed: ${e instanceof Error ? e.message : String(e)}
|
|
307
|
+
`);
|
|
302
308
|
}
|
|
303
309
|
}
|
|
304
310
|
try {
|
|
@@ -314,7 +320,9 @@ async function updateTask(input) {
|
|
|
314
320
|
`
|
|
315
321
|
);
|
|
316
322
|
}
|
|
317
|
-
} catch {
|
|
323
|
+
} catch (e) {
|
|
324
|
+
process.stderr.write(`[tasks] review cascade close failed: ${e instanceof Error ? e.message : String(e)}
|
|
325
|
+
`);
|
|
318
326
|
}
|
|
319
327
|
}
|
|
320
328
|
const isTerminal = input.status === "done" || input.status === "needs_review" || input.status === "closed";
|
|
@@ -323,10 +331,33 @@ async function updateTask(input) {
|
|
|
323
331
|
if (!isCoordinator) {
|
|
324
332
|
notifyTaskDone();
|
|
325
333
|
}
|
|
334
|
+
if ((input.status === "done" || input.status === "needs_review") && row.reviewer && !isCoordinator) {
|
|
335
|
+
try {
|
|
336
|
+
const reviewer = String(row.reviewer);
|
|
337
|
+
const { sendIntercom: sendIntercom2, resolveExeSession: resolveExeSession2 } = await import("./lib/tmux-routing.js");
|
|
338
|
+
const exeSession = resolveExeSession2();
|
|
339
|
+
if (exeSession) {
|
|
340
|
+
const reviewerSession = `${reviewer}-${exeSession}`;
|
|
341
|
+
const result = sendIntercom2(reviewerSession);
|
|
342
|
+
if (result === "failed") {
|
|
343
|
+
if (isCoordinatorName(reviewer)) {
|
|
344
|
+
sendIntercom2(exeSession);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
process.stderr.write(
|
|
348
|
+
`[tasks] auto-notified reviewer "${reviewer}" for "${String(row.title)}"
|
|
349
|
+
`
|
|
350
|
+
);
|
|
351
|
+
}
|
|
352
|
+
} catch (e) {
|
|
353
|
+
process.stderr.write(`[tasks] reviewer notification failed: ${e instanceof Error ? e.message : String(e)}
|
|
354
|
+
`);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
326
357
|
await markTaskNotificationsRead(taskFile);
|
|
327
358
|
if (input.status === "needs_review" && !isCoordinator) {
|
|
328
359
|
try {
|
|
329
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
360
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-NY2OVCDV.js");
|
|
330
361
|
await writeNotification2({
|
|
331
362
|
agentId: String(row.assigned_to),
|
|
332
363
|
agentRole: String(row.assigned_to),
|
|
@@ -335,13 +366,17 @@ async function updateTask(input) {
|
|
|
335
366
|
summary: `"${String(row.title)}" is ready for review`,
|
|
336
367
|
taskFile
|
|
337
368
|
});
|
|
338
|
-
} catch {
|
|
369
|
+
} catch (e) {
|
|
370
|
+
process.stderr.write(`[tasks] needs_review notification failed: ${e instanceof Error ? e.message : String(e)}
|
|
371
|
+
`);
|
|
339
372
|
}
|
|
340
373
|
}
|
|
341
374
|
if (input.status === "done" || input.status === "closed") {
|
|
342
375
|
try {
|
|
343
376
|
await cascadeUnblock(taskId, input.baseDir, now);
|
|
344
|
-
} catch {
|
|
377
|
+
} catch (e) {
|
|
378
|
+
process.stderr.write(`[tasks] cascade unblock failed: ${e instanceof Error ? e.message : String(e)}
|
|
379
|
+
`);
|
|
345
380
|
}
|
|
346
381
|
orgBus.emit({
|
|
347
382
|
type: "task_completed",
|
|
@@ -353,7 +388,9 @@ async function updateTask(input) {
|
|
|
353
388
|
if (row.parent_task_id) {
|
|
354
389
|
try {
|
|
355
390
|
await checkSubtaskCompletion(String(row.parent_task_id), String(row.project_name));
|
|
356
|
-
} catch {
|
|
391
|
+
} catch (e) {
|
|
392
|
+
process.stderr.write(`[tasks] subtask completion check failed: ${e instanceof Error ? e.message : String(e)}
|
|
393
|
+
`);
|
|
357
394
|
}
|
|
358
395
|
}
|
|
359
396
|
}
|
|
@@ -361,7 +398,9 @@ async function updateTask(input) {
|
|
|
361
398
|
if (input.status === "cancelled") {
|
|
362
399
|
try {
|
|
363
400
|
await cascadeUnblock(taskId, input.baseDir, now);
|
|
364
|
-
} catch {
|
|
401
|
+
} catch (e) {
|
|
402
|
+
process.stderr.write(`[tasks] cancelled cascade unblock failed: ${e instanceof Error ? e.message : String(e)}
|
|
403
|
+
`);
|
|
365
404
|
}
|
|
366
405
|
}
|
|
367
406
|
if ((input.status === "done" || input.status === "closed") && !isCoordinatorName(String(row.assigned_to)) && !process.env.VITEST) {
|
|
@@ -383,7 +422,9 @@ async function updateTask(input) {
|
|
|
383
422
|
if (isTerminal && !isCoordinatorName(String(row.assigned_to))) {
|
|
384
423
|
try {
|
|
385
424
|
nextTask = await findNextTask(String(row.assigned_to));
|
|
386
|
-
} catch {
|
|
425
|
+
} catch (e) {
|
|
426
|
+
process.stderr.write(`[tasks] task chaining failed: ${e instanceof Error ? e.message : String(e)}
|
|
427
|
+
`);
|
|
387
428
|
}
|
|
388
429
|
}
|
|
389
430
|
return {
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
ensureDaemonToken,
|
|
3
3
|
init_daemon_auth,
|
|
4
4
|
readDaemonToken
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NHLW6DUE.js";
|
|
6
6
|
import {
|
|
7
7
|
EXE_AI_DIR,
|
|
8
8
|
init_config
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ISRQKXHM.js";
|
|
10
10
|
import {
|
|
11
11
|
__esm
|
|
12
12
|
} from "./chunk-KFQGP6VL.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-SPKE5ANC.js";
|
|
4
4
|
import {
|
|
5
5
|
buildClaudeHttpMcpEntry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KTS6MOE4.js";
|
|
7
7
|
import {
|
|
8
8
|
EXE_HOOKS,
|
|
9
9
|
isLegacyHomeDirHookCommand,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
ensureAllAgentSymlinks,
|
|
14
14
|
init_agent_symlinks
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BPLXSBNM.js";
|
|
16
16
|
import {
|
|
17
17
|
MCP_LEGACY_KEY,
|
|
18
18
|
MCP_PRIMARY_KEY,
|
|
@@ -589,7 +589,7 @@ function auditHookOwnership() {
|
|
|
589
589
|
}
|
|
590
590
|
async function auditShards() {
|
|
591
591
|
try {
|
|
592
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
592
|
+
const { auditShardHealth } = await import("./shard-manager-4QLCI2RC.js");
|
|
593
593
|
const report = await auditShardHealth();
|
|
594
594
|
return {
|
|
595
595
|
total: report.total,
|
|
@@ -605,7 +605,7 @@ async function auditShards() {
|
|
|
605
605
|
async function auditKeyHealth() {
|
|
606
606
|
try {
|
|
607
607
|
const { getMasterKey } = await import("./lib/keychain.js");
|
|
608
|
-
const { getKeyBackupStatus } = await import("./key-backup-status-
|
|
608
|
+
const { getKeyBackupStatus } = await import("./key-backup-status-NMUFOHXW.js");
|
|
609
609
|
const key = await getMasterKey();
|
|
610
610
|
const backup = getKeyBackupStatus();
|
|
611
611
|
return {
|
|
@@ -830,7 +830,7 @@ function formatReport(report, flags) {
|
|
|
830
830
|
return lines.join("\n");
|
|
831
831
|
}
|
|
832
832
|
async function fixNullVectors() {
|
|
833
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
833
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-IHFHRPF5.js");
|
|
834
834
|
if (!tryAcquireWorkerSlot()) {
|
|
835
835
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
836
836
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -914,7 +914,7 @@ async function fixBloated(client, bloated, dryRun) {
|
|
|
914
914
|
return chunksCreated;
|
|
915
915
|
}
|
|
916
916
|
async function fixShards(dryRun) {
|
|
917
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
917
|
+
const { auditShardHealth } = await import("./shard-manager-4QLCI2RC.js");
|
|
918
918
|
const report = await auditShardHealth({ repair: true, dryRun });
|
|
919
919
|
return {
|
|
920
920
|
total: report.total,
|
|
@@ -951,7 +951,7 @@ function splitAtSentences(text, maxChunkSize) {
|
|
|
951
951
|
}
|
|
952
952
|
async function main(argv = process.argv.slice(2)) {
|
|
953
953
|
const flags = parseFlags(argv);
|
|
954
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
954
|
+
const { fastDbInit } = await import("./fast-db-init-RFYRERZL.js");
|
|
955
955
|
const client = await fastDbInit();
|
|
956
956
|
const report = await runAudit(client, flags);
|
|
957
957
|
console.log(formatReport(report, flags));
|
|
@@ -962,7 +962,7 @@ ${mode} Applying repairs...
|
|
|
962
962
|
`);
|
|
963
963
|
if (!flags.dryRun) {
|
|
964
964
|
try {
|
|
965
|
-
const { createBackup } = await import("./db-backup-
|
|
965
|
+
const { createBackup } = await import("./db-backup-RZA3JICI.js");
|
|
966
966
|
const backupPath = createBackup("pre-fix");
|
|
967
967
|
if (backupPath) {
|
|
968
968
|
console.log(` Backup created: ${backupPath.split("/").pop()}`);
|