@askexenow/exe-os 0.9.200 → 0.9.202
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-LCEW3PSL.js → active-agent-3MLX4YOU.js} +2 -2
- package/dist/{active-agent-J3YKAXE2.js → active-agent-MTJPQ57G.js} +2 -2
- package/dist/{agentic-ontology-N5HXDWIN.js → agentic-ontology-HPFKQFA2.js} +1 -1
- package/dist/{backfill-metadata-LIACQP2F.js → backfill-metadata-IR5SAR3G.js} +3 -3
- package/dist/{behaviors-GXMZW7B3.js → behaviors-TIOFWD4T.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +4 -4
- package/dist/bin/agentic-reflection-backfill.js +5 -5
- package/dist/bin/agentic-semantic-label.js +4 -4
- package/dist/bin/backfill-conversations.js +3 -3
- package/dist/bin/backfill-responses.js +3 -3
- package/dist/bin/backfill-vectors.js +4 -4
- package/dist/bin/bulk-sync-postgres.js +5 -5
- package/dist/bin/cleanup-stale-review-tasks.js +8 -8
- package/dist/bin/cli.js +12 -12
- package/dist/bin/exe-agent-config.js +1 -1
- package/dist/bin/exe-agent.js +3 -3
- package/dist/bin/exe-assign.js +4 -4
- package/dist/bin/exe-boot.js +15 -15
- package/dist/bin/exe-call.js +3 -3
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +8 -8
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +6 -6
- package/dist/bin/exe-forget.js +5 -5
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +8 -8
- package/dist/bin/exe-kill.js +11 -11
- package/dist/bin/exe-launch-agent.js +9 -9
- package/dist/bin/exe-new-employee.js +5 -5
- package/dist/bin/exe-pending-messages.js +9 -9
- package/dist/bin/exe-pending-notifications.js +8 -8
- package/dist/bin/exe-pending-reviews.js +8 -8
- package/dist/bin/exe-rename.js +3 -3
- package/dist/bin/exe-review.js +10 -10
- package/dist/bin/exe-search.js +4 -4
- package/dist/bin/exe-session-cleanup.js +12 -12
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +10 -10
- package/dist/bin/exe-start-opencode.js +7 -7
- package/dist/bin/exe-status.js +9 -9
- package/dist/bin/exe-team.js +2 -2
- package/dist/bin/git-sweep.js +8 -8
- package/dist/bin/graph-backfill.js +3 -3
- package/dist/bin/graph-export.js +4 -4
- package/dist/bin/import-history.js +4 -4
- package/dist/bin/install.js +5 -5
- package/dist/bin/intercom-check.js +5 -7
- package/dist/bin/orchestration-metrics.js +22 -9
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/scan-tasks.js +8 -8
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +4 -4
- package/dist/{capacity-monitor-HJSJ2PCF.js → capacity-monitor-ELS3ONND.js} +9 -9
- package/dist/{catchup-brief-XD7IJBMN.js → catchup-brief-RGH23CWV.js} +10 -10
- package/dist/{chunk-P4LUVVX4.js → chunk-3M5LROTK.js} +2 -2
- package/dist/{chunk-SUNFUS3O.js → chunk-3YP46SPZ.js} +1 -1
- package/dist/{chunk-TXWQPL2U.js → chunk-5YDHBZCO.js} +1 -1
- package/dist/{chunk-X33TOTUD.js → chunk-6IKN6AJE.js} +2 -2
- package/dist/{chunk-XZQWEY5S.js → chunk-6NLHVC6U.js} +1 -1
- package/dist/{chunk-HVUBZOOT.js → chunk-7VU6CZCK.js} +2 -2
- package/dist/{chunk-BDRSCPCG.js → chunk-7ZIRLFIF.js} +1 -1
- package/dist/{chunk-IOEK5ZX6.js → chunk-A4NG62X6.js} +1 -1
- package/dist/{chunk-HGO5VFED.js → chunk-AVHQPIJS.js} +1 -1
- package/dist/{chunk-NOSCV7MH.js → chunk-B4K3OTWE.js} +3 -3
- package/dist/{chunk-X2KLWLCB.js → chunk-B4K4EJH7.js} +1 -1
- package/dist/{chunk-ZB3TDCXG.js → chunk-BCTU72UR.js} +1 -1
- package/dist/{chunk-K3FJHQ3F.js → chunk-BO7GOBQK.js} +2 -2
- package/dist/{chunk-PIJSZELU.js → chunk-BWRDZFPN.js} +2 -2
- package/dist/{chunk-HUIYZHN3.js → chunk-C2YR6BZY.js} +1 -1
- package/dist/{chunk-VQB4VBEQ.js → chunk-CCYOB56Q.js} +1 -1
- package/dist/{chunk-LLYF22CH.js → chunk-CL3YN3HD.js} +2 -2
- package/dist/{chunk-43HRNKQX.js → chunk-CY755JMZ.js} +53 -53
- package/dist/{chunk-AVRQWLQR.js → chunk-DDH7QVQN.js} +5 -5
- package/dist/{chunk-OW4QI3K4.js → chunk-DFQY6G4L.js} +3 -3
- package/dist/{chunk-LKBN6BFL.js → chunk-DSL243RL.js} +2 -2
- package/dist/{chunk-Z4FV45FW.js → chunk-DXFNVS44.js} +1 -1
- package/dist/{chunk-GSKJ72LT.js → chunk-DZ7FHBK6.js} +5 -5
- package/dist/{chunk-CSTJQDOE.js → chunk-G4QFC45N.js} +1 -1
- package/dist/{chunk-KEJ3HOBN.js → chunk-GKKMANTG.js} +1 -1
- package/dist/{chunk-WXQRFDY4.js → chunk-JUKSHMDE.js} +9 -9
- package/dist/{chunk-6UZHYTLV.js → chunk-KMAYFYW7.js} +10 -10
- package/dist/{chunk-LWYXWPZZ.js → chunk-KPUVDGLP.js} +8 -7
- package/dist/{chunk-XPOMXVWI.js → chunk-L756L654.js} +84 -7
- package/dist/{chunk-ZZODXCWK.js → chunk-LT26OOIB.js} +1 -1
- package/dist/{chunk-ATVB6CY7.js → chunk-MLQFGVFJ.js} +1 -1
- package/dist/{chunk-GR53PEEH.js → chunk-NC3NOZHH.js} +1 -1
- package/dist/{chunk-F3QROFHP.js → chunk-NF7JH5IY.js} +2 -2
- package/dist/{chunk-KVVCXK3J.js → chunk-P7QVZZBS.js} +3 -3
- package/dist/{chunk-YZNGBIXU.js → chunk-POS4PUM7.js} +1 -1
- package/dist/{chunk-AWYLVIGA.js → chunk-PQMCT335.js} +2 -2
- package/dist/{chunk-QOW5EEYO.js → chunk-Q3FTA4GX.js} +1 -1
- package/dist/{chunk-TJHE2HYS.js → chunk-Q4XGOMGF.js} +3 -3
- package/dist/{chunk-EEG6E34W.js → chunk-QR7CQJVJ.js} +1 -1
- package/dist/{chunk-P6PKNRFD.js → chunk-T2WX4H6T.js} +3 -3
- package/dist/{chunk-GKQXZZBT.js → chunk-T4EQ5SKI.js} +1 -1
- package/dist/{chunk-K6A7ZE2F.js → chunk-UCDMLKE5.js} +1 -1
- package/dist/{chunk-7YTVWNSS.js → chunk-VBKEAVEU.js} +2 -2
- package/dist/{chunk-OOMA2AEM.js → chunk-W3LYG7QF.js} +1 -1
- package/dist/{chunk-WVNKXOWZ.js → chunk-WFE44FUV.js} +1 -1
- package/dist/{chunk-E5P2TY4E.js → chunk-XASY3SCH.js} +1 -1
- package/dist/{chunk-LWM3FUGY.js → chunk-XIXDMUGJ.js} +1 -1
- package/dist/{chunk-TBZB4PPZ.js → chunk-XKFIU4UF.js} +4 -4
- package/dist/{chunk-C5A3L3HS.js → chunk-XTHI2OPC.js} +4 -4
- package/dist/{chunk-3HM6MZ4O.js → chunk-YCEJCFU5.js} +22 -2
- package/dist/{chunk-QQXMGLSN.js → chunk-YRSYMLEP.js} +8 -8
- package/dist/{chunk-2EYYW724.js → chunk-ZE36U2GK.js} +2 -2
- package/dist/{chunk-7Y4F7IPJ.js → chunk-ZQKD7DKB.js} +4 -4
- package/dist/{co-occurrence-6OAMOUTF.js → co-occurrence-J5WOOCWD.js} +1 -1
- package/dist/{crdt-sync-6EI7LAPI.js → crdt-sync-NGSP5WQE.js} +1 -1
- package/dist/{crm-webhook-LEWQNEDD.js → crm-webhook-SMFGNXKL.js} +2 -2
- package/dist/{cto-delegation-gate-GXRHD4WX.js → cto-delegation-gate-DKSKMR4E.js} +7 -7
- package/dist/{daemon-orchestration-QOKZVECP.js → daemon-orchestration-NWTSPSZV.js} +10 -10
- package/dist/{exe-drift-N2IDPAQ7.js → exe-drift-BUVZV7DK.js} +2 -2
- package/dist/{exe-export-63FYZTV3.js → exe-export-2QAZRK2C.js} +4 -4
- package/dist/{exe-import-T5OPTK5T.js → exe-import-7KPJXDV5.js} +4 -4
- package/dist/{exe-key-ROFJ6HUG.js → exe-key-7TW2INXT.js} +1 -1
- package/dist/{fast-db-init-GC4SYSFV.js → fast-db-init-BCU67WEQ.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-staleness-QKURDEMW.js → git-staleness-WTDE4H4D.js} +1 -1
- package/dist/{git-task-sweep-5YHZF2E5.js → git-task-sweep-R4DADTK5.js} +8 -8
- package/dist/{global-procedures-PQKUKKM6.js → global-procedures-K3B3GTHA.js} +2 -2
- package/dist/{graph-auto-extract-GUEMG3Q3.js → graph-auto-extract-ZCVUFK6M.js} +1 -1
- package/dist/hooks/bug-report-worker.js +9 -9
- package/dist/hooks/codex-stop-task-finalizer.js +9 -9
- package/dist/hooks/commit-complete.js +10 -10
- package/dist/hooks/error-recall.js +5 -5
- package/dist/hooks/exe-heartbeat-hook.js +2 -2
- package/dist/hooks/ingest.js +5 -5
- package/dist/hooks/instructions-loaded.js +3 -3
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +3 -3
- package/dist/hooks/post-compact.js +9 -9
- package/dist/hooks/post-tool-combined.js +4 -4
- package/dist/hooks/pre-compact.js +10 -10
- package/dist/hooks/pre-tool-use.js +13 -13
- package/dist/hooks/prompt-submit.js +18 -18
- package/dist/hooks/session-end.js +12 -12
- package/dist/hooks/session-start.js +7 -7
- package/dist/hooks/stop.js +13 -13
- package/dist/hooks/subagent-stop.js +9 -9
- package/dist/hooks/summary-worker.js +13 -13
- package/dist/index.js +15 -15
- package/dist/{installer-Z4LBQTL6.js → installer-D47RNEJB.js} +4 -4
- package/dist/{installer-AYN7WB62.js → installer-WVQDUS7O.js} +4 -4
- package/dist/{installer-D4XB27FY.js → installer-YBYJZLUT.js} +4 -4
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +4 -4
- package/dist/lib/database.js +1 -1
- package/dist/lib/db.js +1 -1
- package/dist/lib/employee-templates.js +3 -3
- package/dist/lib/employees.js +1 -1
- package/dist/lib/exe-daemon.js +24 -24
- package/dist/lib/hybrid-search.js +4 -4
- package/dist/lib/identity.js +1 -1
- package/dist/lib/messaging.js +8 -8
- package/dist/lib/reminders.js +2 -2
- package/dist/lib/schedules.js +4 -4
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +3 -3
- package/dist/lib/task-router.js +2 -2
- package/dist/lib/tasks.js +8 -8
- package/dist/lib/tmux-routing.js +7 -7
- package/dist/lib/tmux-transport.js +1 -1
- package/dist/lib/token-spend.js +2 -2
- package/dist/lib/transport.js +2 -2
- package/dist/mcp/register-tools.js +46 -46
- package/dist/mcp/server.js +47 -47
- package/dist/mcp/tools/complete-reminder.js +3 -3
- package/dist/mcp/tools/create-reminder.js +3 -3
- package/dist/mcp/tools/create-task.js +10 -10
- package/dist/mcp/tools/deactivate-behavior.js +4 -4
- package/dist/mcp/tools/list-reminders.js +3 -3
- package/dist/mcp/tools/list-tasks.js +10 -10
- package/dist/mcp/tools/send-message.js +10 -10
- package/dist/mcp/tools/update-task.js +9 -9
- package/dist/{mcp-http-config-JFGNXQ5M.js → mcp-http-config-DWN2POKM.js} +2 -2
- package/dist/{memory-cards-QHCHERFV.js → memory-cards-VIKEUPGO.js} +1 -1
- package/dist/{memory-graph-extractor-RAF4M3YY.js → memory-graph-extractor-OP2BSF43.js} +2 -2
- package/dist/{memory-poisoning-defense-M4E6D6NI.js → memory-poisoning-defense-EKMAAXMH.js} +1 -1
- package/dist/{memory-reflection-OVQDAOKW.js → memory-reflection-AAST2U2M.js} +1 -1
- package/dist/{notifications-QCZJTMU4.js → notifications-EN4LRYGN.js} +7 -7
- package/dist/{orchestrator-RETZBZNU.js → orchestrator-USY2S6CW.js} +9 -9
- package/dist/{plan-limits-KY5FB6FM.js → plan-limits-J2BJEBN6.js} +2 -2
- package/dist/{projection-worker-B4FYF4FS.js → projection-worker-QPE2JIKS.js} +1 -1
- package/dist/{reranker-DLESU7S4.js → reranker-ZLTHZ2QV.js} +1 -1
- package/dist/{review-polling-S4HD536T.js → review-polling-STO2A64Z.js} +8 -8
- package/dist/runtime/index.js +10 -10
- package/dist/{session-events-TRCSYKGW.js → session-events-WD4N65IU.js} +8 -8
- package/dist/{session-kill-telemetry-WBB7YHWC.js → session-kill-telemetry-GBNUQABY.js} +2 -2
- package/dist/{session-scope-H6H7EVMH.js → session-scope-6D22DUTP.js} +7 -7
- package/dist/{setup-wizard-QGJEHEJP.js → setup-wizard-FQBIZQWP.js} +1 -1
- package/dist/{shard-manager-KXLEDDBB.js → shard-manager-4PWRZW4V.js} +1 -1
- package/dist/{skill-refinement-DDFALKOD.js → skill-refinement-QKMHEVFO.js} +1 -1
- package/dist/{task-enforcement-7NCE6NJC.js → task-enforcement-RVG3CLR4.js} +7 -7
- package/dist/{task-scope-C7QECQSB.js → task-scope-SSM56VHZ.js} +7 -7
- package/dist/{tasks-crud-4VGXAUW5.js → tasks-crud-JGUYPAYP.js} +7 -7
- package/dist/{tasks-review-ATHR7IZK.js → tasks-review-WNZ5LJUB.js} +7 -7
- package/dist/{token-budget-2ZZRFSHF.js → token-budget-ES3IEZPJ.js} +1 -1
- package/dist/{tool-telemetry-EWE2YR2K.js → tool-telemetry-JVQX5FJV.js} +1 -1
- package/dist/tui/App.js +15 -15
- package/dist/{tui-data-LQQ66HCW.js → tui-data-7F5DOFTZ.js} +7 -7
- package/dist/{worker-gate-POIBNVX7.js → worker-gate-BFVWIKDF.js} +1 -1
- package/dist/{workflow-engine-MA2H5JEZ.js → workflow-engine-AHMVTNEX.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +80 -80
- /package/dist/{chunk-I3B4QG5C.js → chunk-25YHJFSE.js} +0 -0
- /package/dist/{chunk-GOA7VQT7.js → chunk-5QVJ5TBF.js} +0 -0
- /package/dist/{chunk-Z6AUK6YH.js → chunk-FMKXO3B6.js} +0 -0
- /package/dist/{chunk-SY4TZ224.js → chunk-HGU4YCR3.js} +0 -0
- /package/dist/{chunk-JMMYWY7C.js → chunk-HIECEYMN.js} +0 -0
- /package/dist/{chunk-6YFGFW4V.js → chunk-LNKK5HOA.js} +0 -0
- /package/dist/{chunk-35ES3HTI.js → chunk-QMNDQQTA.js} +0 -0
- /package/dist/{chunk-LZPZ67IT.js → chunk-TFV7MDCX.js} +0 -0
- /package/dist/{chunk-2GHDAIDB.js → chunk-YLBBPZO3.js} +0 -0
- /package/dist/{core-memory-4QNM6MZ5.js → core-memory-65BZJEXX.js} +0 -0
- /package/dist/{wiki-acl-UTITDXLT.js → wiki-acl-UOSBRX3O.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-Q3FTA4GX.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
7
|
import {
|
|
8
8
|
getIdentityInjection
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-YCEJCFU5.js";
|
|
10
10
|
import "../chunk-RVSGXGWG.js";
|
|
11
11
|
import "../chunk-FXU7JOXK.js";
|
|
12
12
|
import "../chunk-4GXRETYL.js";
|
|
@@ -49,7 +49,7 @@ process.stdin.on("end", async () => {
|
|
|
49
49
|
pass = false;
|
|
50
50
|
}
|
|
51
51
|
try {
|
|
52
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
52
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
53
53
|
await fastDbInit();
|
|
54
54
|
const { getClient } = await import("../lib/database.js");
|
|
55
55
|
const client = getClient();
|
package/dist/hooks/manifest.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-06-03T04:
|
|
3
|
+
"generatedAt": "2026-06-03T04:42:18.841Z",
|
|
4
4
|
"hashes": {
|
|
5
|
-
"bug-report-worker.js": "
|
|
6
|
-
"codex-stop-task-finalizer.js": "
|
|
7
|
-
"commit-complete.js": "
|
|
8
|
-
"error-recall.js": "
|
|
9
|
-
"exe-heartbeat-hook.js": "
|
|
5
|
+
"bug-report-worker.js": "e09e4ce9bbf4afffb655905c7c89c110e88f556d779a30604029f4591c0369eb",
|
|
6
|
+
"codex-stop-task-finalizer.js": "29b87387ed96fdfa7cc0b9f7269309087defb3c08f7f1c31f06cf4c84ca3df66",
|
|
7
|
+
"commit-complete.js": "313c5365eae1f3fcdab64c6d0f6bf3362c5b56ee7f748e31c77c448d7e95fcd7",
|
|
8
|
+
"error-recall.js": "4be9b35a5ecaf99c3e844c2e90152e5262455d386be689355dea73d6c1be20b5",
|
|
9
|
+
"exe-heartbeat-hook.js": "cb7cc243fd1523e88402bd857d67496ff036cafc50176c3f436c87c022f98171",
|
|
10
10
|
"ingest-worker.js": "f823b1a6ef69e0176dd6fe1477d84ce1f0d00331e4459273602e497c1d91073f",
|
|
11
|
-
"ingest.js": "
|
|
12
|
-
"instructions-loaded.js": "
|
|
13
|
-
"notification.js": "
|
|
14
|
-
"post-compact.js": "
|
|
15
|
-
"post-tool-combined.js": "
|
|
16
|
-
"pre-compact.js": "
|
|
17
|
-
"pre-tool-use.js": "
|
|
18
|
-
"prompt-submit.js": "
|
|
19
|
-
"session-end.js": "
|
|
20
|
-
"session-start.js": "
|
|
21
|
-
"stop.js": "
|
|
22
|
-
"subagent-stop.js": "
|
|
23
|
-
"summary-worker.js": "
|
|
11
|
+
"ingest.js": "9676279d091925fe6260f16fa3b05ccd0146192dec4f01019095b6cb9d93bf26",
|
|
12
|
+
"instructions-loaded.js": "06c7c1cbe7926aa9872276782b8b9169461aaaa188b05d580405cc23bea217d9",
|
|
13
|
+
"notification.js": "772cef9065e12ed8f3c939df333693714c0f70ed066e1bede8659324698cd38a",
|
|
14
|
+
"post-compact.js": "693045901d74d67f4f126216caf89a92697df4ac2def96e4fae08e43d40ec63f",
|
|
15
|
+
"post-tool-combined.js": "c9e3d17251c603dfdd2a6272ad5c5a3377fda13ff794305dcf44768ba4b6f754",
|
|
16
|
+
"pre-compact.js": "f13a20a166ec21402a6b644f73e76e47685182da37be92dcfa966e91286b323b",
|
|
17
|
+
"pre-tool-use.js": "033f5afa14f5dfb85b652e28094e45630edc8228c283630699314049ebb82bd0",
|
|
18
|
+
"prompt-submit.js": "c3d6e07771d97cf941888f297d484678682b0541dd52dcde09dead06379d56d7",
|
|
19
|
+
"session-end.js": "ddd9182c9ab13505732b5c47d1faeeb178e40f5eee0ba07baa5e0d637a9a823c",
|
|
20
|
+
"session-start.js": "dca98fe7354845ecfd0f67a1c5a520e4fe54ca0d5eee2ab78310dcbcf0d5e3be",
|
|
21
|
+
"stop.js": "afa6fc69e03a11ab6285e1df24d9282f643a36c51d92091fe1ca04915fb00b75",
|
|
22
|
+
"subagent-stop.js": "0b23e85539eb8c239ef6d0d09e0daa2284cd1370a56c32fa71a9cbdc8db5e342",
|
|
23
|
+
"summary-worker.js": "a32152937eebe34e83cb12142ba4d020ad6d9f0d4e8152d8e12f20ee8aedd592"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-Q3FTA4GX.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-YCEJCFU5.js";
|
|
8
8
|
import "../chunk-RVSGXGWG.js";
|
|
9
9
|
import "../chunk-FXU7JOXK.js";
|
|
10
10
|
import "../chunk-4GXRETYL.js";
|
|
@@ -36,7 +36,7 @@ process.stdin.on("end", async () => {
|
|
|
36
36
|
process.exit(0);
|
|
37
37
|
}
|
|
38
38
|
try {
|
|
39
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
39
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
40
40
|
await fastDbInit();
|
|
41
41
|
const { getClient } = await import("../lib/database.js");
|
|
42
42
|
const { randomUUID } = await import("crypto");
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-Q3FTA4GX.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-JUKSHMDE.js";
|
|
8
8
|
import "../chunk-RN6XYY7U.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-5YDHBZCO.js";
|
|
12
|
+
import "../chunk-G4QFC45N.js";
|
|
13
13
|
import "../chunk-GZIAQYGI.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-7ZIRLFIF.js";
|
|
15
15
|
import "../chunk-ZQX6UOP6.js";
|
|
16
16
|
import "../chunk-H2CFBUGF.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-CCYOB56Q.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-OPU3NYOO.js";
|
|
21
21
|
import "../chunk-GJV3WDWM.js";
|
|
22
22
|
import "../chunk-MP2AFCGL.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-MLQFGVFJ.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-YCEJCFU5.js";
|
|
26
26
|
import "../chunk-RVSGXGWG.js";
|
|
27
27
|
import "../chunk-FXU7JOXK.js";
|
|
28
28
|
import "../chunk-MVMMULOJ.js";
|
|
@@ -68,7 +68,7 @@ ${identity}`);
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
try {
|
|
71
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
71
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
72
72
|
await fastDbInit();
|
|
73
73
|
const { getClient } = await import("../lib/database.js");
|
|
74
74
|
const client = getClient();
|
|
@@ -47,7 +47,7 @@ ${context}`
|
|
|
47
47
|
try {
|
|
48
48
|
const payload = JSON.parse(input);
|
|
49
49
|
const toolName = String(payload.tool_name ?? "");
|
|
50
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
50
|
+
const { getActiveAgent } = await import("../active-agent-3MLX4YOU.js");
|
|
51
51
|
const driftAgent = getActiveAgent();
|
|
52
52
|
if (driftAgent.agentId !== "default" && toolName) {
|
|
53
53
|
const { existsSync: driftExists, readFileSync: driftRead, writeFileSync: driftWrite, mkdirSync: driftMkdir } = await import("fs");
|
|
@@ -106,12 +106,12 @@ You are **${driftAgent.agentId}** (${driftAgent.agentRole}). You've used ${misma
|
|
|
106
106
|
}
|
|
107
107
|
try {
|
|
108
108
|
const data = JSON.parse(input);
|
|
109
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
109
|
+
const { getActiveAgent } = await import("../active-agent-3MLX4YOU.js");
|
|
110
110
|
const { detectError } = await import("../lib/error-detector.js");
|
|
111
111
|
const agent = getActiveAgent();
|
|
112
112
|
try {
|
|
113
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
114
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
113
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
114
|
+
const { recordSessionEvent } = await import("../session-events-WD4N65IU.js");
|
|
115
115
|
const client = await fastDbInit();
|
|
116
116
|
const toolName = String(data.tool_name ?? "unknown");
|
|
117
117
|
const toolInput = JSON.stringify(data.tool_input ?? {});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkpointActiveTask,
|
|
3
3
|
writeContinuityCheckpoint
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-FMKXO3B6.js";
|
|
5
5
|
import "../chunk-D42R5MZU.js";
|
|
6
6
|
import "../chunk-GUCKE3GK.js";
|
|
7
7
|
import "../chunk-Y35YW6EL.js";
|
|
@@ -9,29 +9,29 @@ import "../chunk-CMFLJNP6.js";
|
|
|
9
9
|
import "../chunk-SH45SJQW.js";
|
|
10
10
|
import {
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-Q3FTA4GX.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-JUKSHMDE.js";
|
|
16
16
|
import "../chunk-RN6XYY7U.js";
|
|
17
17
|
import "../chunk-QI4IXJN7.js";
|
|
18
18
|
import "../chunk-64WZEXXA.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-5YDHBZCO.js";
|
|
20
|
+
import "../chunk-G4QFC45N.js";
|
|
21
21
|
import "../chunk-GZIAQYGI.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-7ZIRLFIF.js";
|
|
23
23
|
import "../chunk-ZQX6UOP6.js";
|
|
24
24
|
import "../chunk-H2CFBUGF.js";
|
|
25
25
|
import "../chunk-NGP6LSV2.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-CCYOB56Q.js";
|
|
27
27
|
import "../chunk-CVYC6DUW.js";
|
|
28
28
|
import "../chunk-OPU3NYOO.js";
|
|
29
29
|
import "../chunk-GJV3WDWM.js";
|
|
30
30
|
import "../chunk-MP2AFCGL.js";
|
|
31
31
|
import "../chunk-PWMMIGVQ.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-MLQFGVFJ.js";
|
|
33
33
|
import "../chunk-HYZV25LY.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-YCEJCFU5.js";
|
|
35
35
|
import "../chunk-RVSGXGWG.js";
|
|
36
36
|
import "../chunk-FXU7JOXK.js";
|
|
37
37
|
import "../chunk-MVMMULOJ.js";
|
|
@@ -61,7 +61,7 @@ process.stdin.on("end", async () => {
|
|
|
61
61
|
const agent = getActiveAgent();
|
|
62
62
|
const sections = [];
|
|
63
63
|
try {
|
|
64
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
64
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
65
65
|
const client = await fastDbInit();
|
|
66
66
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
67
67
|
const pcScope = sessionScopeFilter();
|
|
@@ -2,33 +2,33 @@ import "../chunk-YSU7JB7H.js";
|
|
|
2
2
|
import "../chunk-SH45SJQW.js";
|
|
3
3
|
import {
|
|
4
4
|
getActiveAgent
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-Q3FTA4GX.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-JUKSHMDE.js";
|
|
9
9
|
import "../chunk-RN6XYY7U.js";
|
|
10
10
|
import "../chunk-QI4IXJN7.js";
|
|
11
11
|
import "../chunk-64WZEXXA.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-5YDHBZCO.js";
|
|
13
|
+
import "../chunk-G4QFC45N.js";
|
|
14
14
|
import "../chunk-GZIAQYGI.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-7ZIRLFIF.js";
|
|
16
16
|
import "../chunk-ZQX6UOP6.js";
|
|
17
17
|
import "../chunk-H2CFBUGF.js";
|
|
18
18
|
import "../chunk-NGP6LSV2.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-CCYOB56Q.js";
|
|
20
20
|
import {
|
|
21
21
|
getSessionKey
|
|
22
22
|
} from "../chunk-CVYC6DUW.js";
|
|
23
23
|
import "../chunk-OPU3NYOO.js";
|
|
24
24
|
import "../chunk-GJV3WDWM.js";
|
|
25
25
|
import "../chunk-MP2AFCGL.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-MLQFGVFJ.js";
|
|
27
27
|
import "../chunk-HYZV25LY.js";
|
|
28
28
|
import {
|
|
29
29
|
canCoordinate,
|
|
30
30
|
loadEmployeesSync
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-YCEJCFU5.js";
|
|
32
32
|
import "../chunk-RVSGXGWG.js";
|
|
33
33
|
import "../chunk-FXU7JOXK.js";
|
|
34
34
|
import "../chunk-MVMMULOJ.js";
|
|
@@ -314,15 +314,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
314
314
|
process.exit(0);
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
317
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-DKSKMR4E.js");
|
|
318
318
|
const gatedAgent = getGatedAgent();
|
|
319
319
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
320
320
|
const filePath = data.tool_input?.file_path ?? "";
|
|
321
321
|
if (filePath) {
|
|
322
322
|
try {
|
|
323
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
323
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
324
324
|
await fastDbInit();
|
|
325
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
325
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-DKSKMR4E.js");
|
|
326
326
|
const decision = await evaluateDelegationGate({
|
|
327
327
|
agentId: agent.agentId,
|
|
328
328
|
toolName: data.tool_name,
|
|
@@ -367,7 +367,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
367
367
|
const isUpdateTaskDone = (data.tool_name === "mcp__exe-os__update_task" || data.tool_name === "mcp__exe-mem__update_task") && toolInput.status === "done" && CTO_ROLES.includes(agent.agentRole);
|
|
368
368
|
if (isUpdateTaskDone) {
|
|
369
369
|
try {
|
|
370
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
370
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
371
371
|
const client = await fastDbInit();
|
|
372
372
|
const taskId = String(toolInput.task_id ?? "");
|
|
373
373
|
const ptScope = sessionScopeFilter();
|
|
@@ -425,7 +425,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
425
425
|
}
|
|
426
426
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
427
427
|
try {
|
|
428
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
428
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
429
429
|
const client = await fastDbInit();
|
|
430
430
|
const dlScope = sessionScopeFilter();
|
|
431
431
|
const result = await client.execute({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hybridSearch,
|
|
3
3
|
lightweightSearch
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-YRSYMLEP.js";
|
|
5
5
|
import {
|
|
6
6
|
initStore
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-KMAYFYW7.js";
|
|
8
8
|
import "../chunk-CHCA3ZM2.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-HGU4YCR3.js";
|
|
10
10
|
import {
|
|
11
11
|
isCacheCold
|
|
12
12
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -14,21 +14,21 @@ import "../chunk-YSU7JB7H.js";
|
|
|
14
14
|
import "../chunk-SH45SJQW.js";
|
|
15
15
|
import {
|
|
16
16
|
getActiveAgent
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-Q3FTA4GX.js";
|
|
18
18
|
import {
|
|
19
19
|
isExeSession
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-JUKSHMDE.js";
|
|
21
21
|
import "../chunk-RN6XYY7U.js";
|
|
22
22
|
import "../chunk-QI4IXJN7.js";
|
|
23
23
|
import "../chunk-64WZEXXA.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-5YDHBZCO.js";
|
|
25
|
+
import "../chunk-G4QFC45N.js";
|
|
26
26
|
import "../chunk-GZIAQYGI.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-7ZIRLFIF.js";
|
|
28
28
|
import "../chunk-ZQX6UOP6.js";
|
|
29
29
|
import "../chunk-H2CFBUGF.js";
|
|
30
30
|
import "../chunk-NGP6LSV2.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-CCYOB56Q.js";
|
|
32
32
|
import {
|
|
33
33
|
getSessionKey
|
|
34
34
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -37,11 +37,11 @@ import {
|
|
|
37
37
|
} from "../chunk-OPU3NYOO.js";
|
|
38
38
|
import "../chunk-GJV3WDWM.js";
|
|
39
39
|
import "../chunk-MP2AFCGL.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-MLQFGVFJ.js";
|
|
41
41
|
import "../chunk-HYZV25LY.js";
|
|
42
42
|
import {
|
|
43
43
|
canCoordinate
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-YCEJCFU5.js";
|
|
45
45
|
import "../chunk-RVSGXGWG.js";
|
|
46
46
|
import "../chunk-FXU7JOXK.js";
|
|
47
47
|
import "../chunk-6D23UNXU.js";
|
|
@@ -285,7 +285,7 @@ ${fresh.map(
|
|
|
285
285
|
atomicWriteSync(counterPath, String(count));
|
|
286
286
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
287
287
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
288
|
-
const { listBehaviors } = await import("../behaviors-
|
|
288
|
+
const { listBehaviors } = await import("../behaviors-TIOFWD4T.js");
|
|
289
289
|
const behaviors = await listBehaviors(agent.agentId);
|
|
290
290
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
291
291
|
if (active.length > 0) {
|
|
@@ -310,7 +310,7 @@ ${lines.join("\n")}`;
|
|
|
310
310
|
if (!lastCheckedAt) {
|
|
311
311
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
312
312
|
}
|
|
313
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
313
|
+
const { listBehaviorsSince } = await import("../behaviors-TIOFWD4T.js");
|
|
314
314
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
315
315
|
if (newBehaviors.length > 0) {
|
|
316
316
|
const lines = newBehaviors.map(
|
|
@@ -363,7 +363,7 @@ ${body}`;
|
|
|
363
363
|
let reviewContext = "";
|
|
364
364
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
365
365
|
try {
|
|
366
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
366
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-WNZ5LJUB.js");
|
|
367
367
|
const sessionKey = getSessionKey();
|
|
368
368
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
369
369
|
let sessionScope;
|
|
@@ -420,7 +420,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
420
420
|
let coreMemoryContext = "";
|
|
421
421
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
422
422
|
try {
|
|
423
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
423
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-65BZJEXX.js");
|
|
424
424
|
const entries = await getCoreMemory(agent.agentId);
|
|
425
425
|
const block = formatCoreMemoryBlock(entries);
|
|
426
426
|
if (block) coreMemoryContext = block;
|
|
@@ -547,7 +547,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
547
547
|
let idleTaskContext = "";
|
|
548
548
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
549
549
|
try {
|
|
550
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
550
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
551
551
|
const client = await fastDbInit();
|
|
552
552
|
let taskSessionScope = null;
|
|
553
553
|
if (inTmux) {
|
|
@@ -620,8 +620,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
620
620
|
return;
|
|
621
621
|
}
|
|
622
622
|
try {
|
|
623
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
624
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
623
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
624
|
+
const { recordSessionEvent } = await import("../session-events-WD4N65IU.js");
|
|
625
625
|
const client = await fastDbInit();
|
|
626
626
|
await recordSessionEvent(client, {
|
|
627
627
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-FMKXO3B6.js";
|
|
4
4
|
import "../chunk-D42R5MZU.js";
|
|
5
5
|
import "../chunk-GUCKE3GK.js";
|
|
6
6
|
import "../chunk-Y35YW6EL.js";
|
|
@@ -13,21 +13,21 @@ import "../chunk-SH45SJQW.js";
|
|
|
13
13
|
import {
|
|
14
14
|
clearActiveAgent,
|
|
15
15
|
getActiveAgent
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-Q3FTA4GX.js";
|
|
17
17
|
import {
|
|
18
18
|
strictSessionScopeFilter
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-JUKSHMDE.js";
|
|
20
20
|
import "../chunk-RN6XYY7U.js";
|
|
21
21
|
import "../chunk-QI4IXJN7.js";
|
|
22
22
|
import "../chunk-64WZEXXA.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-5YDHBZCO.js";
|
|
24
|
+
import "../chunk-G4QFC45N.js";
|
|
25
25
|
import "../chunk-GZIAQYGI.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-7ZIRLFIF.js";
|
|
27
27
|
import "../chunk-ZQX6UOP6.js";
|
|
28
28
|
import "../chunk-H2CFBUGF.js";
|
|
29
29
|
import "../chunk-NGP6LSV2.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-CCYOB56Q.js";
|
|
31
31
|
import {
|
|
32
32
|
getSessionKey
|
|
33
33
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -35,11 +35,11 @@ import "../chunk-OPU3NYOO.js";
|
|
|
35
35
|
import "../chunk-GJV3WDWM.js";
|
|
36
36
|
import "../chunk-MP2AFCGL.js";
|
|
37
37
|
import "../chunk-PWMMIGVQ.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-MLQFGVFJ.js";
|
|
39
39
|
import "../chunk-HYZV25LY.js";
|
|
40
40
|
import {
|
|
41
41
|
canCoordinate
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-YCEJCFU5.js";
|
|
43
43
|
import "../chunk-RVSGXGWG.js";
|
|
44
44
|
import "../chunk-FXU7JOXK.js";
|
|
45
45
|
import "../chunk-MVMMULOJ.js";
|
|
@@ -112,7 +112,7 @@ process.stdin.on("end", async () => {
|
|
|
112
112
|
}
|
|
113
113
|
if (agent.agentId !== "default") {
|
|
114
114
|
try {
|
|
115
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
115
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
116
116
|
const client = await fastDbInit();
|
|
117
117
|
const seScope = strictSessionScopeFilter();
|
|
118
118
|
const orphanResult = await client.execute({
|
|
@@ -204,7 +204,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
try {
|
|
207
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
207
|
+
const { clearSessionFileReads } = await import("../git-staleness-WTDE4H4D.js");
|
|
208
208
|
await clearSessionFileReads(data.session_id);
|
|
209
209
|
} catch {
|
|
210
210
|
}
|
|
@@ -233,7 +233,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
233
233
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
234
234
|
}
|
|
235
235
|
try {
|
|
236
|
-
const { writeNotification } = await import("../notifications-
|
|
236
|
+
const { writeNotification } = await import("../notifications-EN4LRYGN.js");
|
|
237
237
|
await writeNotification({
|
|
238
238
|
agentId: agent.agentId,
|
|
239
239
|
agentRole: agent.agentRole,
|
|
@@ -29,9 +29,9 @@ process.stdin.on("data", (chunk) => {
|
|
|
29
29
|
});
|
|
30
30
|
process.stdin.on("end", async () => {
|
|
31
31
|
try {
|
|
32
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
32
|
+
const { getActiveAgent } = await import("../active-agent-3MLX4YOU.js");
|
|
33
33
|
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
34
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
34
|
+
const { getCurrentSessionScope } = await import("../task-scope-SSM56VHZ.js");
|
|
35
35
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
36
36
|
const data = JSON.parse(input);
|
|
37
37
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -63,7 +63,7 @@ process.stdin.on("end", async () => {
|
|
|
63
63
|
}
|
|
64
64
|
if (!daemonDegraded) {
|
|
65
65
|
try {
|
|
66
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
66
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
67
67
|
await fastDbInit();
|
|
68
68
|
} catch {
|
|
69
69
|
daemonDegraded = true;
|
|
@@ -111,7 +111,7 @@ process.stdin.on("end", async () => {
|
|
|
111
111
|
if (daemonDegraded) {
|
|
112
112
|
let degradedContext = "## \u26A0\uFE0F Degraded Boot\nDaemon/MCP is temporarily unavailable. This session started without memory context. MCP tools may fail \u2014 retry in 30s if they do.\n";
|
|
113
113
|
try {
|
|
114
|
-
const { getActiveAgent: getAgent } = await import("../active-agent-
|
|
114
|
+
const { getActiveAgent: getAgent } = await import("../active-agent-3MLX4YOU.js");
|
|
115
115
|
const ag = getAgent();
|
|
116
116
|
if (ag.agentId !== "default") {
|
|
117
117
|
degradedContext = `## Your Identity
|
|
@@ -135,7 +135,7 @@ You are **${ag.agentId}** (${ag.agentRole}). Daemon is degraded \u2014 memory un
|
|
|
135
135
|
query = `last actions on ${projectName}`;
|
|
136
136
|
header = "## Resuming Session\nHere's where you left off:";
|
|
137
137
|
try {
|
|
138
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
138
|
+
const { buildCatchupBrief } = await import("../catchup-brief-RGH23CWV.js");
|
|
139
139
|
const brief = await buildCatchupBrief(
|
|
140
140
|
agentId,
|
|
141
141
|
projectName,
|
|
@@ -147,7 +147,7 @@ You are **${ag.agentId}** (${ag.agentRole}). Daemon is degraded \u2014 memory un
|
|
|
147
147
|
} catch {
|
|
148
148
|
}
|
|
149
149
|
try {
|
|
150
|
-
const { detectStaleFiles } = await import("../git-staleness-
|
|
150
|
+
const { detectStaleFiles } = await import("../git-staleness-WTDE4H4D.js");
|
|
151
151
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
152
152
|
if (staleFiles.length > 0) {
|
|
153
153
|
extraContext += `${extraContext.length > 0 ? "\n\n" : ""}## \u26A0\uFE0F Stale File Warning
|
|
@@ -160,7 +160,7 @@ The following files have been modified since you last read them:
|
|
|
160
160
|
query = `recent work on ${projectName}`;
|
|
161
161
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
162
162
|
}
|
|
163
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
163
|
+
const { queryTaskRows } = await import("../tasks-crud-JGUYPAYP.js");
|
|
164
164
|
const [memories, taskResult] = await Promise.all([
|
|
165
165
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
166
166
|
queryTaskRows({
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-Q3FTA4GX.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-JUKSHMDE.js";
|
|
8
8
|
import "../chunk-RN6XYY7U.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-5YDHBZCO.js";
|
|
12
|
+
import "../chunk-G4QFC45N.js";
|
|
13
13
|
import "../chunk-GZIAQYGI.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-7ZIRLFIF.js";
|
|
15
15
|
import "../chunk-ZQX6UOP6.js";
|
|
16
16
|
import "../chunk-H2CFBUGF.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-CCYOB56Q.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-OPU3NYOO.js";
|
|
21
21
|
import "../chunk-GJV3WDWM.js";
|
|
22
22
|
import "../chunk-MP2AFCGL.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-MLQFGVFJ.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
25
|
import {
|
|
26
26
|
canCoordinate
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-YCEJCFU5.js";
|
|
28
28
|
import "../chunk-RVSGXGWG.js";
|
|
29
29
|
import "../chunk-FXU7JOXK.js";
|
|
30
30
|
import "../chunk-MVMMULOJ.js";
|
|
@@ -119,8 +119,8 @@ process.stdin.on("end", async () => {
|
|
|
119
119
|
process.exit(0);
|
|
120
120
|
}
|
|
121
121
|
try {
|
|
122
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
123
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
122
|
+
const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
|
|
123
|
+
const { recordSessionEvent } = await import("../session-events-WD4N65IU.js");
|
|
124
124
|
const client = await fastDbInit();
|
|
125
125
|
await recordSessionEvent(client, {
|
|
126
126
|
agentId: agent.agentId,
|
|
@@ -138,7 +138,7 @@ process.stdin.on("end", async () => {
|
|
|
138
138
|
if (existsSync(taskCachePath)) {
|
|
139
139
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
140
140
|
if (cached.taskId) {
|
|
141
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
141
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-ES3IEZPJ.js");
|
|
142
142
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
143
143
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
144
144
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -156,7 +156,7 @@ process.stdin.on("end", async () => {
|
|
|
156
156
|
}
|
|
157
157
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
158
158
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
159
|
-
import("../fast-db-init-
|
|
159
|
+
import("../fast-db-init-BCU67WEQ.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
160
160
|
const stScope = sessionScopeFilter();
|
|
161
161
|
const tasks = await client.execute({
|
|
162
162
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -249,7 +249,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
249
249
|
} catch {
|
|
250
250
|
}
|
|
251
251
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
252
|
-
import("../fast-db-init-
|
|
252
|
+
import("../fast-db-init-BCU67WEQ.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
253
253
|
const orScope = sessionScopeFilter();
|
|
254
254
|
return client.execute({
|
|
255
255
|
sql: `SELECT title, status FROM tasks
|