@askexenow/exe-os 0.9.332 → 0.9.335
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/{backfill-metadata-FDQVVGRQ.js → backfill-metadata-7JFKICS3.js} +1 -1
- package/dist/{behaviors-SAS6JALZ.js → behaviors-QTG3MHDO.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +1 -1
- package/dist/bin/agentic-reflection-backfill.js +1 -1
- package/dist/bin/agentic-semantic-label.js +1 -1
- package/dist/bin/backfill-conversations.js +1 -1
- package/dist/bin/backfill-responses.js +1 -1
- package/dist/bin/backfill-vectors.js +2 -2
- package/dist/bin/bulk-sync-postgres.js +3 -3
- package/dist/bin/cleanup-stale-review-tasks.js +4 -4
- package/dist/bin/cli.js +6 -6
- package/dist/bin/deferred-daemon-restart.js +34 -34
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +8 -8
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +4 -4
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +4 -4
- package/dist/bin/exe-forget.js +3 -3
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +4 -4
- package/dist/bin/exe-kill.js +6 -6
- package/dist/bin/exe-launch-agent.js +7 -7
- package/dist/bin/exe-pending-messages.js +5 -5
- package/dist/bin/exe-pending-notifications.js +4 -4
- package/dist/bin/exe-pending-reviews.js +4 -4
- package/dist/bin/exe-review.js +5 -5
- package/dist/bin/exe-search.js +2 -2
- package/dist/bin/exe-session-cleanup.js +7 -7
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +4 -4
- package/dist/bin/exe-start-opencode.js +3 -3
- package/dist/bin/exe-status.js +5 -5
- package/dist/bin/exe-team.js +1 -1
- package/dist/bin/git-sweep.js +5 -5
- package/dist/bin/graph-backfill.js +1 -1
- package/dist/bin/graph-export.js +2 -2
- package/dist/bin/import-history.js +2 -2
- package/dist/bin/install.js +34 -34
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +1 -1
- package/dist/bin/scan-tasks.js +4 -4
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{capacity-monitor-I6TX3OZA.js → capacity-monitor-4U2Y7CSW.js} +5 -5
- package/dist/{catchup-brief-RAZTRECT.js → catchup-brief-LFSFSDBA.js} +5 -5
- package/dist/{chunk-BST5NSJC.js → chunk-2OZMCTYQ.js} +1 -1
- package/dist/{chunk-RGBABIFH.js → chunk-54X2PQBA.js} +3 -3
- package/dist/{chunk-MPUIO6GF.js → chunk-5ZG2JMZH.js} +1 -1
- package/dist/{chunk-OXZHAERM.js → chunk-6L4LI4VQ.js} +1 -1
- package/dist/{chunk-7YTO3LHB.js → chunk-6UJ4CX5L.js} +2 -2
- package/dist/{chunk-JRRNRSZC.js → chunk-75L2YCD4.js} +1 -1
- package/dist/{chunk-L6CLX2QF.js → chunk-AQGBOSA4.js} +1 -1
- package/dist/{chunk-LB5B4NJ6.js → chunk-D2527Q5Y.js} +1 -1
- package/dist/{chunk-YSU4JO3J.js → chunk-ESIZMMWY.js} +1 -1
- package/dist/chunk-FLNSJ2TC.js +23 -0
- package/dist/{chunk-CDVA67B2.js → chunk-GFWND35H.js} +21 -0
- package/dist/{chunk-TK7ZDWU3.js → chunk-H5C4PS64.js} +2 -2
- package/dist/{chunk-267TDVN7.js → chunk-I33GPQUB.js} +1 -1
- package/dist/{chunk-OIMQGA62.js → chunk-J6REQ7CV.js} +1 -1
- package/dist/{chunk-HRUI3Q42.js → chunk-JEDQHPPC.js} +2 -2
- package/dist/{chunk-QUZ4VK3R.js → chunk-JKSK4VFX.js} +1 -1
- package/dist/{chunk-QGVXUTHX.js → chunk-LK5RBBMQ.js} +1 -1
- package/dist/{chunk-JRTJKLON.js → chunk-QFNRI3PS.js} +2 -2
- package/dist/{chunk-EC4O5ITE.js → chunk-QLZ3HCNN.js} +1 -1
- package/dist/{chunk-HG7ZX2UT.js → chunk-QYTUXYAM.js} +51 -51
- package/dist/{chunk-2ES3ACCO.js → chunk-RGHT5J2L.js} +4 -4
- package/dist/{chunk-N2J6FWMQ.js → chunk-ROHUOHJI.js} +2 -2
- package/dist/{chunk-IVN7UUKK.js → chunk-SDZ654BU.js} +6 -6
- package/dist/{chunk-M6E76DMO.js → chunk-SRGBHZ3H.js} +1 -1
- package/dist/{chunk-6AY7VXSF.js → chunk-U6M5C3MB.js} +6 -6
- package/dist/{chunk-OEA44GCC.js → chunk-U7N2GEBI.js} +1 -1
- package/dist/{chunk-TQM7RGOB.js → chunk-UDX46CNG.js} +2 -2
- package/dist/{chunk-SNJEQPPA.js → chunk-UWT664G5.js} +1 -1
- package/dist/{chunk-KNLQAVLI.js → chunk-VAEYG5V5.js} +2 -2
- package/dist/{chunk-FZQBWOIB.js → chunk-VI7I6K4G.js} +2 -2
- package/dist/{chunk-YFYUNROP.js → chunk-VINX2BZI.js} +1 -1
- package/dist/{chunk-4X3VWI22.js → chunk-VST5V263.js} +1 -1
- package/dist/{chunk-5CZ2ZH6L.js → chunk-VXSORLMJ.js} +1 -1
- package/dist/{chunk-3PHTJIC3.js → chunk-WI3T3GTH.js} +1 -1
- package/dist/{chunk-3KAYKHVB.js → chunk-X3VIRILN.js} +10 -87
- package/dist/{chunk-ZJSH3L6R.js → chunk-X5EGTW2P.js} +1 -1
- package/dist/{chunk-YDUS2DFZ.js → chunk-XA753DUQ.js} +1 -1
- package/dist/{chunk-J53PHGGC.js → chunk-XMVEGUPC.js} +1 -1
- package/dist/{chunk-NUPU7TRA.js → chunk-ZA7NMOTA.js} +1 -1
- package/dist/{chunk-B3ZUS3UU.js → chunk-ZHKMRKH3.js} +1 -1
- package/dist/{chunk-T5JJBIUB.js → chunk-ZWIYJV2F.js} +5 -5
- package/dist/{cleanup-graph-garbage-6QGLERF2.js → cleanup-graph-garbage-OP7NAXDZ.js} +1 -1
- package/dist/{crm-webhook-DHFRIRLN.js → crm-webhook-REDANIV7.js} +2 -2
- package/dist/{cto-delegation-gate-Z7UVTVYO.js → cto-delegation-gate-HN3J76UI.js} +3 -3
- package/dist/{daemon-orchestration-XWDFUFJG.js → daemon-orchestration-KIAYDBWN.js} +7 -7
- package/dist/daemon-ready-5XI5BIJD.js +7 -0
- package/dist/{documents-OMKCMWR7.js → documents-J4MQBIYZ.js} +2 -2
- package/dist/{dreaming-SDFWY5FY.js → dreaming-RCAAKENX.js} +4 -4
- package/dist/{exe-export-BY6IFTEP.js → exe-export-Z626JBSJ.js} +3 -3
- package/dist/{exe-import-55UKB2X7.js → exe-import-47MHFJUB.js} +3 -3
- package/dist/{exe-key-F3BM5GEW.js → exe-key-RLMYYUTW.js} +34 -34
- package/dist/{exe-snapshot-RGIJJ2ZX.js → exe-snapshot-VHSZP5VK.js} +6 -6
- package/dist/{fast-db-init-OZDG42SZ.js → fast-db-init-KIS7XQO5.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/hooks/bug-report-worker.js +6 -6
- package/dist/hooks/codex-stop-task-finalizer.js +6 -6
- package/dist/hooks/commit-complete.js +6 -6
- package/dist/hooks/error-recall.js +2 -2
- package/dist/hooks/ingest.js +2 -2
- package/dist/hooks/instructions-loaded.js +1 -1
- package/dist/hooks/manifest.json +18 -18
- package/dist/hooks/notification.js +1 -1
- package/dist/hooks/post-compact.js +4 -4
- package/dist/hooks/post-tool-combined.js +2 -2
- package/dist/hooks/pre-compact.js +5 -5
- package/dist/hooks/pre-tool-use.js +8 -8
- package/dist/hooks/prompt-submit.js +36 -39
- package/dist/hooks/session-end.js +7 -7
- package/dist/hooks/session-start.js +9 -28
- package/dist/hooks/stop.js +7 -7
- package/dist/hooks/subagent-stop.js +4 -4
- package/dist/hooks/summary-worker.js +7 -7
- package/dist/index.js +11 -11
- package/dist/{intercom-queue-JFBMDV6J.js → intercom-queue-XJ3RTJ2C.js} +3 -3
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/exe-daemon.js +31 -31
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +4 -4
- package/dist/lib/schedules.js +2 -2
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +1 -1
- package/dist/lib/tasks.js +5 -5
- package/dist/lib/tmux-routing.js +3 -3
- package/dist/mcp/register-tools.js +33 -33
- package/dist/mcp/server.js +34 -34
- package/dist/mcp/tools/create-task.js +6 -6
- package/dist/mcp/tools/deactivate-behavior.js +3 -3
- package/dist/mcp/tools/list-tasks.js +6 -6
- package/dist/mcp/tools/send-message.js +5 -5
- package/dist/mcp/tools/update-task.js +6 -6
- package/dist/{memory-cards-7YIZUWSJ.js → memory-cards-E5O4IPYV.js} +1 -1
- package/dist/{memory-pressure-watchdog-MZWX4YIA.js → memory-pressure-watchdog-4RVYB2JC.js} +4 -4
- package/dist/{notifications-42Z4ZRNV.js → notifications-LDDVXMH7.js} +3 -3
- package/dist/{orchestrator-ALAA4P6M.js → orchestrator-UFYOUXGZ.js} +4 -4
- package/dist/{pipeline-router-F226AZRB.js → pipeline-router-PLYAEQN7.js} +1 -1
- package/dist/{projection-worker-UL2HHHPO.js → projection-worker-N4KVTVZE.js} +1 -1
- package/dist/{reranker-G24KWZKH.js → reranker-267LQRRT.js} +1 -1
- package/dist/{review-polling-REHBTRU6.js → review-polling-4IFCCPGQ.js} +4 -4
- package/dist/runtime/index.js +5 -5
- package/dist/{session-events-F3DPBY4P.js → session-events-CVNW7DBW.js} +4 -4
- package/dist/{session-kill-telemetry-USNB6ND7.js → session-kill-telemetry-56HNNXLH.js} +4 -4
- package/dist/{session-scope-CJQE4LVB.js → session-scope-RMKL6YLU.js} +3 -3
- package/dist/{setup-wizard-S6XYW2WH.js → setup-wizard-L6JMCB33.js} +1 -1
- package/dist/{skill-refinement-XXYCXA2U.js → skill-refinement-FA5DM3NA.js} +1 -1
- package/dist/{task-enforcement-ZKB2VZ6W.js → task-enforcement-XO6CYQVG.js} +4 -4
- package/dist/{task-scope-CATQQNVX.js → task-scope-7BWIG4G3.js} +3 -3
- package/dist/{tasks-crud-RDWLWYWV.js → tasks-crud-IW3ZBFHL.js} +3 -3
- package/dist/{tasks-notify-CKT5A6WK.js → tasks-notify-MOSUAR3U.js} +4 -4
- package/dist/{tasks-review-UXWXJ6H3.js → tasks-review-S2IYB6AA.js} +3 -3
- package/dist/{telemetry-upload-UUJULBSV.js → telemetry-upload-IG4AGZFK.js} +1 -1
- package/dist/tui/App.js +9 -9
- package/dist/{tui-data-7SQLIY2O.js → tui-data-KCMCI6Z5.js} +3 -3
- package/dist/{worker-gate-2O27EXUE.js → worker-gate-YY7OZOJH.js} +1 -1
- package/dist/{workflow-engine-QGSEQV2Z.js → workflow-engine-TZW4ZQV3.js} +2 -2
- package/dist/{worktree-3RKV6KQO.js → worktree-WF7X43XI.js} +1 -1
- package/dist/{worktree-sweep-PYREGLPP.js → worktree-sweep-QOAXY6CT.js} +2 -2
- package/package.json +3 -3
- package/release-notes.json +6 -3
- /package/dist/{chunk-BAXNI3A5.js → chunk-45AA4HOH.js} +0 -0
- /package/dist/{chunk-YWIOFMHL.js → chunk-6A5DGGRT.js} +0 -0
- /package/dist/{chunk-26GM62C3.js → chunk-FXS5YIK5.js} +0 -0
- /package/dist/{chunk-3HIYBZ62.js → chunk-NF2OBCEI.js} +0 -0
- /package/dist/{chunk-G3UK4TTT.js → chunk-OMJH4DQ7.js} +0 -0
- /package/dist/{chunk-VYLDGF4D.js → chunk-S4Y5YXPX.js} +0 -0
- /package/dist/{core-memory-KMBRE2HU.js → core-memory-HCJMR32C.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
DreamingEngine
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5ZG2JMZH.js";
|
|
5
5
|
import {
|
|
6
6
|
storeBehavior
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JKSK4VFX.js";
|
|
8
8
|
import {
|
|
9
9
|
disposeStore,
|
|
10
10
|
flushBatch,
|
|
11
11
|
initStore,
|
|
12
12
|
writeMemory
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-J6REQ7CV.js";
|
|
14
14
|
import {
|
|
15
15
|
extractKeywords,
|
|
16
16
|
keywordsToString
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
import "./chunk-OTVEIJUQ.js";
|
|
19
19
|
import "./chunk-66RCRDIF.js";
|
|
20
20
|
import "./chunk-Y25OJWOQ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-X3VIRILN.js";
|
|
22
22
|
import "./chunk-YYKY45TM.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-UWT664G5.js";
|
|
24
|
+
import "./chunk-45AA4HOH.js";
|
|
25
25
|
import "./chunk-EIKATSE4.js";
|
|
26
26
|
import "./chunk-E23LNUWJ.js";
|
|
27
27
|
import "./chunk-4JERP7NT.js";
|
package/dist/gateway/index.js
CHANGED
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
createSignupBot,
|
|
12
12
|
ensureCRMContact,
|
|
13
13
|
formatAlert
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-UDX46CNG.js";
|
|
15
15
|
import {
|
|
16
16
|
createCRMWebhookHandler,
|
|
17
17
|
parseTwentyWebhook
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-SRGBHZ3H.js";
|
|
19
19
|
import {
|
|
20
20
|
WhatsAppAdapter
|
|
21
21
|
} from "../chunk-ECSNSHZ7.js";
|
|
@@ -56,9 +56,9 @@ import {
|
|
|
56
56
|
retryWithBackoff,
|
|
57
57
|
routeMessage,
|
|
58
58
|
validateGatewayConfig
|
|
59
|
-
} from "../chunk-
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
59
|
+
} from "../chunk-VI7I6K4G.js";
|
|
60
|
+
import "../chunk-VXSORLMJ.js";
|
|
61
|
+
import "../chunk-FXS5YIK5.js";
|
|
62
62
|
import {
|
|
63
63
|
OllamaProvider
|
|
64
64
|
} from "../chunk-FWFFZGSC.js";
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
getDefaultAccount,
|
|
73
73
|
loadAccounts
|
|
74
74
|
} from "../chunk-YGAAZN3E.js";
|
|
75
|
-
import "../chunk-
|
|
75
|
+
import "../chunk-S4Y5YXPX.js";
|
|
76
76
|
import {
|
|
77
77
|
createPerson,
|
|
78
78
|
findPersonByContact,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-U6M5C3MB.js";
|
|
4
|
+
import "../chunk-JEDQHPPC.js";
|
|
5
5
|
import {
|
|
6
6
|
fastDbInit
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-OMJH4DQ7.js";
|
|
8
|
+
import "../chunk-X3VIRILN.js";
|
|
9
9
|
import "../chunk-YYKY45TM.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-UWT664G5.js";
|
|
11
|
+
import "../chunk-45AA4HOH.js";
|
|
12
12
|
import "../chunk-EIKATSE4.js";
|
|
13
13
|
import "../chunk-E23LNUWJ.js";
|
|
14
14
|
import "../chunk-4JERP7NT.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-U6M5C3MB.js";
|
|
4
|
+
import "../chunk-JEDQHPPC.js";
|
|
5
5
|
import {
|
|
6
6
|
fastDbInit
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-OMJH4DQ7.js";
|
|
8
8
|
import {
|
|
9
9
|
listTasks
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-X3VIRILN.js";
|
|
11
11
|
import "../chunk-YYKY45TM.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-UWT664G5.js";
|
|
13
|
+
import "../chunk-45AA4HOH.js";
|
|
14
14
|
import "../chunk-EIKATSE4.js";
|
|
15
15
|
import "../chunk-E23LNUWJ.js";
|
|
16
16
|
import "../chunk-4JERP7NT.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractKeywords,
|
|
3
3
|
matchScore
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-QFNRI3PS.js";
|
|
5
|
+
import "../chunk-X3VIRILN.js";
|
|
6
6
|
import "../chunk-YYKY45TM.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-UWT664G5.js";
|
|
8
|
+
import "../chunk-45AA4HOH.js";
|
|
9
9
|
import "../chunk-EIKATSE4.js";
|
|
10
10
|
import "../chunk-E23LNUWJ.js";
|
|
11
11
|
import "../chunk-4JERP7NT.js";
|
|
@@ -109,13 +109,13 @@ async function main() {
|
|
|
109
109
|
const changedFiles = getChangedFiles(commitHash);
|
|
110
110
|
let client;
|
|
111
111
|
try {
|
|
112
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
112
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
113
113
|
client = await fastDbInit();
|
|
114
114
|
} catch {
|
|
115
115
|
process.stderr.write("[commit-complete] DB init failed \u2014 skipping\n");
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
|
-
const { listTasks, updateTaskStatus } = await import("../tasks-crud-
|
|
118
|
+
const { listTasks, updateTaskStatus } = await import("../tasks-crud-IW3ZBFHL.js");
|
|
119
119
|
const tasks = await listTasks({
|
|
120
120
|
assignedTo: agentId,
|
|
121
121
|
status: "in_progress",
|
|
@@ -5,14 +5,14 @@ import "../chunk-SH45SJQW.js";
|
|
|
5
5
|
import {
|
|
6
6
|
hybridSearch,
|
|
7
7
|
lightweightSearch
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-SDZ654BU.js";
|
|
9
9
|
import "../chunk-AB4PAQYK.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveHookSearchEnabled
|
|
12
12
|
} from "../chunk-KWOAM7TA.js";
|
|
13
13
|
import {
|
|
14
14
|
initStore
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-J6REQ7CV.js";
|
|
16
16
|
import "../chunk-CHCA3ZM2.js";
|
|
17
17
|
import "../chunk-OTVEIJUQ.js";
|
|
18
18
|
import "../chunk-66RCRDIF.js";
|
package/dist/hooks/ingest.js
CHANGED
|
@@ -12,7 +12,7 @@ import "../chunk-SH45SJQW.js";
|
|
|
12
12
|
import {
|
|
13
13
|
registerWorkerPid,
|
|
14
14
|
tryAcquireWorkerSlot
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-XA753DUQ.js";
|
|
16
16
|
import {
|
|
17
17
|
getActiveAgent
|
|
18
18
|
} from "../chunk-EOYVD5U3.js";
|
|
@@ -377,7 +377,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
377
377
|
if (cpDaemonReady()) {
|
|
378
378
|
const { initStore: cpInit } = await import("../lib/store.js");
|
|
379
379
|
await cpInit();
|
|
380
|
-
const { writeCheckpoint } = await import("../tasks-crud-
|
|
380
|
+
const { writeCheckpoint } = await import("../tasks-crud-IW3ZBFHL.js");
|
|
381
381
|
await writeCheckpoint({
|
|
382
382
|
taskId: taskData.taskId,
|
|
383
383
|
step: `auto_checkpoint_${counter.total}`,
|
|
@@ -74,7 +74,7 @@ process.stdin.on("end", async () => {
|
|
|
74
74
|
pass = false;
|
|
75
75
|
}
|
|
76
76
|
try {
|
|
77
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
77
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
78
78
|
await fastDbInit();
|
|
79
79
|
const { getClient } = await import("../lib/database.js");
|
|
80
80
|
const client = getClient();
|
package/dist/hooks/manifest.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-04T13:11:58.545Z",
|
|
4
4
|
"hashes": {
|
|
5
|
-
"bug-report-worker.js": "
|
|
6
|
-
"codex-stop-task-finalizer.js": "
|
|
7
|
-
"commit-complete.js": "
|
|
8
|
-
"error-recall.js": "
|
|
5
|
+
"bug-report-worker.js": "3d1f6025bf556a0996908cb32605bdfd8246d8dab62e5571a06d0551c33c9c8e",
|
|
6
|
+
"codex-stop-task-finalizer.js": "2c2ed9a80df18fa95dcc6a0267ec7d2d4937e853d8d34292e6d087ddc1b1ab8c",
|
|
7
|
+
"commit-complete.js": "02a39d73434f5d9bb027e3c439425fc8918d341ffbc07fa46ed647e8b35c0821",
|
|
8
|
+
"error-recall.js": "b9a6b40bfd69c8c38b5c529da07a12a99515d6e6f4a3a70d5e38f6c2f49e8cae",
|
|
9
9
|
"exe-heartbeat-hook.js": "82642ced69749061da2cdf51ad1bd09ec856de8f4b11329a61901ab1295d7037",
|
|
10
10
|
"ingest-worker.js": "fb42110931002e4078cd2b85ce604ae9205e5c1511601e87ab38bfef6e6ed284",
|
|
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": "8fbbedb25bf468dda2c53740518e7974a0ee1f4ef00f66c423514ef739c96d9f",
|
|
12
|
+
"instructions-loaded.js": "523d30e02a8da8ad7ffdf7ccf12b5d27f2a2c8fc6d7b2f743ccbab3396dfc5d1",
|
|
13
|
+
"notification.js": "b4b41bf783af86a5db7ca6bfa4810a7154cb53805d90f7c2225551f8927af802",
|
|
14
|
+
"post-compact.js": "717e0b79bdebc6f44c3b8e5fc98149974cf49b4ac08d185c5ea73040b1392890",
|
|
15
|
+
"post-tool-combined.js": "3cad47a5b13e15225013fa92a20c70cfec3e7981fdd7c61365f1edf097f8442c",
|
|
16
|
+
"pre-compact.js": "e70fff6cd8e77e269d21f3d489339b0724f770060a41e6dbe4565a60611d2d8b",
|
|
17
|
+
"pre-tool-use.js": "adab047f90770ce826d06c0a20b5211002116b6df2282cca58197e4bd61d6ba5",
|
|
18
|
+
"prompt-submit.js": "5c22dd2cb9c81a168d6b9105639c1a70a3427aa80467fc12c1cfe66b1d57d267",
|
|
19
|
+
"session-end.js": "486ecc1e7c89b0ed673146214bcb8bcb5e358ff76dfd956fdab339e6a38546bf",
|
|
20
|
+
"session-start.js": "0350db24033c062b6108d294b8611c2e439de100fe33a1730363d1a80d362623",
|
|
21
|
+
"stop.js": "6267e2806489e0665473696400d402ef4f607d61103bd263291b8c9df49d0c37",
|
|
22
|
+
"subagent-stop.js": "0d4543010a827dc66067e4e51f81689b888416c0d6f574e3957ddc4fa31cc72d",
|
|
23
|
+
"summary-worker.js": "b85a510f96f94d79ddea0ce95c1fb733d41a7f52a480e03dd8ed81dc539a07c9"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -61,7 +61,7 @@ process.stdin.on("end", async () => {
|
|
|
61
61
|
process.exit(0);
|
|
62
62
|
}
|
|
63
63
|
try {
|
|
64
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
64
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
65
65
|
await fastDbInit();
|
|
66
66
|
const { getClient } = await import("../lib/database.js");
|
|
67
67
|
const { randomUUID } = await import("crypto");
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "../chunk-EOYVD5U3.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-X3VIRILN.js";
|
|
8
8
|
import "../chunk-YYKY45TM.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-UWT664G5.js";
|
|
10
|
+
import "../chunk-45AA4HOH.js";
|
|
11
11
|
import "../chunk-EIKATSE4.js";
|
|
12
12
|
import "../chunk-E23LNUWJ.js";
|
|
13
13
|
import "../chunk-4JERP7NT.js";
|
|
@@ -102,7 +102,7 @@ ${identity}`);
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
try {
|
|
105
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
105
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
106
106
|
await fastDbInit({ socketOnly: true });
|
|
107
107
|
const { getClient } = await import("../lib/database.js");
|
|
108
108
|
const client = getClient();
|
|
@@ -201,8 +201,8 @@ Your task token budget has been reached (${budgetResult.percentUsed}% used). Wra
|
|
|
201
201
|
const { detectError } = await import("../lib/error-detector.js");
|
|
202
202
|
const agent = getActiveAgent();
|
|
203
203
|
try {
|
|
204
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
205
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
204
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
205
|
+
const { recordSessionEvent } = await import("../session-events-CVNW7DBW.js");
|
|
206
206
|
const client = await fastDbInit({ daemonOnly: true });
|
|
207
207
|
const toolName = String(data.tool_name ?? "unknown");
|
|
208
208
|
const toolInput = JSON.stringify(data.tool_input ?? {});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkpointActiveTask,
|
|
3
3
|
writeContinuityCheckpoint
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-6A5DGGRT.js";
|
|
5
5
|
import "../chunk-SH45SJQW.js";
|
|
6
6
|
import {
|
|
7
7
|
getActiveAgent
|
|
8
8
|
} from "../chunk-EOYVD5U3.js";
|
|
9
9
|
import {
|
|
10
10
|
sessionScopeFilter
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-X3VIRILN.js";
|
|
12
12
|
import "../chunk-YYKY45TM.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-UWT664G5.js";
|
|
14
|
+
import "../chunk-45AA4HOH.js";
|
|
15
15
|
import "../chunk-EIKATSE4.js";
|
|
16
16
|
import "../chunk-E23LNUWJ.js";
|
|
17
17
|
import "../chunk-4JERP7NT.js";
|
|
@@ -90,7 +90,7 @@ process.stdin.on("end", async () => {
|
|
|
90
90
|
const agent = getActiveAgent();
|
|
91
91
|
const sections = [];
|
|
92
92
|
try {
|
|
93
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
93
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
94
94
|
const client = await fastDbInit({ socketOnly: true });
|
|
95
95
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
96
96
|
const pcScope = sessionScopeFilter();
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from "../chunk-EOYVD5U3.js";
|
|
9
9
|
import {
|
|
10
10
|
sessionScopeFilter
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-X3VIRILN.js";
|
|
12
12
|
import "../chunk-YYKY45TM.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-UWT664G5.js";
|
|
14
|
+
import "../chunk-45AA4HOH.js";
|
|
15
15
|
import "../chunk-EIKATSE4.js";
|
|
16
16
|
import "../chunk-E23LNUWJ.js";
|
|
17
17
|
import "../chunk-4JERP7NT.js";
|
|
@@ -430,15 +430,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
430
430
|
process.exit(0);
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
433
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-HN3J76UI.js");
|
|
434
434
|
const gatedAgent = getGatedAgent();
|
|
435
435
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
436
436
|
const filePath = data.tool_input?.file_path ?? "";
|
|
437
437
|
if (filePath) {
|
|
438
438
|
try {
|
|
439
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
439
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
440
440
|
await fastDbInit();
|
|
441
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
441
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-HN3J76UI.js");
|
|
442
442
|
const decision = await evaluateDelegationGate({
|
|
443
443
|
agentId: agent.agentId,
|
|
444
444
|
toolName: data.tool_name,
|
|
@@ -491,7 +491,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
|
|
|
491
491
|
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);
|
|
492
492
|
if (isUpdateTaskDone) {
|
|
493
493
|
try {
|
|
494
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
494
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
495
495
|
const client = await fastDbInit();
|
|
496
496
|
const taskId = String(toolInput.task_id ?? "");
|
|
497
497
|
const ptScope = sessionScopeFilter();
|
|
@@ -549,7 +549,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
|
|
|
549
549
|
}
|
|
550
550
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
551
551
|
try {
|
|
552
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
552
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
553
553
|
const client = await fastDbInit();
|
|
554
554
|
const dlScope = sessionScopeFilter();
|
|
555
555
|
const result = await client.execute({
|
|
@@ -6,12 +6,12 @@ import "../chunk-SH45SJQW.js";
|
|
|
6
6
|
import {
|
|
7
7
|
hybridSearch,
|
|
8
8
|
lightweightSearch
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-SDZ654BU.js";
|
|
10
10
|
import "../chunk-AB4PAQYK.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveHookSearchEnabled
|
|
13
13
|
} from "../chunk-KWOAM7TA.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-J6REQ7CV.js";
|
|
15
15
|
import "../chunk-CHCA3ZM2.js";
|
|
16
16
|
import "../chunk-OTVEIJUQ.js";
|
|
17
17
|
import "../chunk-66RCRDIF.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
countScopedPendingReviews,
|
|
24
24
|
decideQueuedNudgeDrain,
|
|
25
25
|
isExeSession
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-X3VIRILN.js";
|
|
27
27
|
import "../chunk-YYKY45TM.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-UWT664G5.js";
|
|
29
|
+
import "../chunk-45AA4HOH.js";
|
|
30
30
|
import "../chunk-EIKATSE4.js";
|
|
31
31
|
import "../chunk-E23LNUWJ.js";
|
|
32
32
|
import "../chunk-4JERP7NT.js";
|
|
@@ -78,7 +78,6 @@ import "../chunk-MLKGABMK.js";
|
|
|
78
78
|
|
|
79
79
|
// src/adapters/claude/hooks/prompt-submit.ts
|
|
80
80
|
import { readFileSync, mkdirSync, existsSync, unlinkSync, statSync } from "fs";
|
|
81
|
-
import { execFileSync } from "child_process";
|
|
82
81
|
import path from "path";
|
|
83
82
|
import os from "os";
|
|
84
83
|
process.on("uncaughtException", (err) => {
|
|
@@ -209,28 +208,26 @@ process.stdin.on("end", async () => {
|
|
|
209
208
|
const prompt = data.prompt;
|
|
210
209
|
const agent = getActiveAgent();
|
|
211
210
|
const inTmux = !!(process.env.TMUX || process.env.TMUX_PANE);
|
|
212
|
-
let
|
|
213
|
-
const
|
|
214
|
-
if (
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
211
|
+
let _cachedSessionName = null;
|
|
212
|
+
const getCurrentSessionName = () => {
|
|
213
|
+
if (_cachedSessionName !== null) return _cachedSessionName;
|
|
214
|
+
const ownSession = process.env.EXE_SESSION_NAME?.trim();
|
|
215
|
+
if (ownSession) {
|
|
216
|
+
_cachedSessionName = ownSession;
|
|
217
|
+
return ownSession;
|
|
218
218
|
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
}).trim();
|
|
224
|
-
} catch {
|
|
225
|
-
_cachedTmuxSession = "";
|
|
219
|
+
const coordinatorSession = process.env.EXE_SESSION?.trim();
|
|
220
|
+
if (coordinatorSession) {
|
|
221
|
+
_cachedSessionName = canCoordinate(agent.agentId, agent.agentRole) ? coordinatorSession : `${agent.agentId}-${coordinatorSession}`;
|
|
222
|
+
return _cachedSessionName;
|
|
226
223
|
}
|
|
227
|
-
|
|
224
|
+
_cachedSessionName = "";
|
|
225
|
+
return "";
|
|
228
226
|
};
|
|
229
227
|
if (inTmux) {
|
|
230
228
|
try {
|
|
231
|
-
const { getMySession } = await import("../lib/tmux-routing.js");
|
|
232
229
|
const { refreshSessionProject } = await import("../lib/session-registry.js");
|
|
233
|
-
const mySession =
|
|
230
|
+
const mySession = getCurrentSessionName();
|
|
234
231
|
if (mySession) refreshSessionProject(mySession, process.cwd());
|
|
235
232
|
} catch {
|
|
236
233
|
}
|
|
@@ -242,7 +239,7 @@ process.stdin.on("end", async () => {
|
|
|
242
239
|
process.exit(0);
|
|
243
240
|
}
|
|
244
241
|
try {
|
|
245
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
242
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
246
243
|
await withHookTimeout(fastDbInit(), HOOK_DAEMON_INIT_TIMEOUT_MS, null);
|
|
247
244
|
} catch {
|
|
248
245
|
}
|
|
@@ -258,9 +255,9 @@ process.stdin.on("end", async () => {
|
|
|
258
255
|
}
|
|
259
256
|
let drainedNudgeContext = "";
|
|
260
257
|
if (inTmux) try {
|
|
261
|
-
const currentSession =
|
|
258
|
+
const currentSession = getCurrentSessionName();
|
|
262
259
|
if (currentSession) {
|
|
263
|
-
const { drainForSession, readQueue } = await import("../intercom-queue-
|
|
260
|
+
const { drainForSession, readQueue } = await import("../intercom-queue-XJ3RTJ2C.js");
|
|
264
261
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
265
262
|
const queuedForMe = readQueue().filter((q) => q.targetSession === currentSession);
|
|
266
263
|
if (queuedForMe.length > 0) {
|
|
@@ -298,7 +295,7 @@ process.stdin.on("end", async () => {
|
|
|
298
295
|
let openTaskCount = null;
|
|
299
296
|
if (queuedForMe.some((q) => q.intercomReason === "nudge" || q.intercomReason === "signal" || !q.intercomReason)) {
|
|
300
297
|
try {
|
|
301
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
298
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
302
299
|
const client = await fastDbInit();
|
|
303
300
|
const sessionScope = currentSession.includes("-") ? currentSession.split("-").pop() ?? "" : currentSession;
|
|
304
301
|
openTaskCount = await countOpenTasksForPromptHook(client, agent.agentId, sessionScope || null, getProjectName());
|
|
@@ -465,7 +462,7 @@ ${fresh.map(
|
|
|
465
462
|
atomicWriteSync(counterPath, String(count));
|
|
466
463
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
467
464
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
468
|
-
const { listBehaviors } = await import("../behaviors-
|
|
465
|
+
const { listBehaviors } = await import("../behaviors-QTG3MHDO.js");
|
|
469
466
|
const behaviors = await listBehaviors(agent.agentId);
|
|
470
467
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
471
468
|
if (active.length > 0) {
|
|
@@ -505,7 +502,7 @@ ${parts.join("\n\n")}`;
|
|
|
505
502
|
if (!lastCheckedAt) {
|
|
506
503
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
507
504
|
}
|
|
508
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
505
|
+
const { listBehaviorsSince } = await import("../behaviors-QTG3MHDO.js");
|
|
509
506
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
510
507
|
if (newBehaviors.length > 0) {
|
|
511
508
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -573,13 +570,13 @@ ${body}`;
|
|
|
573
570
|
let reviewContext = "";
|
|
574
571
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
575
572
|
try {
|
|
576
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
573
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-S2IYB6AA.js");
|
|
577
574
|
const sessionKey = getSessionKey();
|
|
578
575
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
579
576
|
let sessionScope;
|
|
580
577
|
let tmuxDetectionFailed = false;
|
|
581
578
|
try {
|
|
582
|
-
const tmuxSession =
|
|
579
|
+
const tmuxSession = getCurrentSessionName();
|
|
583
580
|
if (isExeSession(tmuxSession)) sessionScope = tmuxSession;
|
|
584
581
|
else tmuxDetectionFailed = true;
|
|
585
582
|
} catch {
|
|
@@ -630,7 +627,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
630
627
|
let coreMemoryContext = "";
|
|
631
628
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
632
629
|
try {
|
|
633
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
630
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-HCJMR32C.js");
|
|
634
631
|
const entries = await getCoreMemory(agent.agentId);
|
|
635
632
|
const block = formatCoreMemoryBlock(entries);
|
|
636
633
|
if (block) coreMemoryContext = block;
|
|
@@ -650,7 +647,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
650
647
|
let signalTmuxSession = "";
|
|
651
648
|
if (inTmux) {
|
|
652
649
|
try {
|
|
653
|
-
const tmuxSess =
|
|
650
|
+
const tmuxSess = getCurrentSessionName();
|
|
654
651
|
signalTmuxSession = tmuxSess;
|
|
655
652
|
signalSessionScope = tmuxSess.includes("-") ? tmuxSess.split("-").pop() ?? "" : tmuxSess;
|
|
656
653
|
} catch {
|
|
@@ -661,7 +658,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
661
658
|
const signalProjectName = getProjectName();
|
|
662
659
|
let signalDbClient = null;
|
|
663
660
|
try {
|
|
664
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
661
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
665
662
|
signalDbClient = await fastDbInit();
|
|
666
663
|
} catch {
|
|
667
664
|
signalDbClient = null;
|
|
@@ -750,7 +747,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
750
747
|
let reviewSessionScope = "";
|
|
751
748
|
if (inTmux) {
|
|
752
749
|
try {
|
|
753
|
-
const tmuxSess =
|
|
750
|
+
const tmuxSess = getCurrentSessionName();
|
|
754
751
|
reviewSessionScope = tmuxSess.includes("-") ? tmuxSess.split("-").pop() ?? "" : tmuxSess;
|
|
755
752
|
} catch {
|
|
756
753
|
}
|
|
@@ -799,12 +796,12 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
799
796
|
let idleTaskContext = "";
|
|
800
797
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
801
798
|
try {
|
|
802
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
799
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
803
800
|
const client = await fastDbInit();
|
|
804
801
|
let taskSessionScope = null;
|
|
805
802
|
if (inTmux) {
|
|
806
803
|
try {
|
|
807
|
-
const tmuxSess =
|
|
804
|
+
const tmuxSess = getCurrentSessionName();
|
|
808
805
|
taskSessionScope = tmuxSess.includes("-") ? tmuxSess.split("-").pop() ?? "" : tmuxSess;
|
|
809
806
|
} catch {
|
|
810
807
|
}
|
|
@@ -867,7 +864,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
867
864
|
}
|
|
868
865
|
if (hints.length === 0) {
|
|
869
866
|
try {
|
|
870
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
867
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
871
868
|
const client = await fastDbInit();
|
|
872
869
|
const reminderResult = await client.execute({
|
|
873
870
|
sql: `SELECT COUNT(*) as cnt FROM reminders WHERE completed_at IS NULL AND due_date IS NOT NULL AND due_date <= date('now', '+1 day')`,
|
|
@@ -946,8 +943,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
946
943
|
return;
|
|
947
944
|
}
|
|
948
945
|
try {
|
|
949
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
950
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
946
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
947
|
+
const { recordSessionEvent } = await import("../session-events-CVNW7DBW.js");
|
|
951
948
|
const client = await fastDbInit();
|
|
952
949
|
await recordSessionEvent(client, {
|
|
953
950
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-6A5DGGRT.js";
|
|
4
4
|
import {
|
|
5
5
|
clearCacheState
|
|
6
6
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "../chunk-EOYVD5U3.js";
|
|
13
13
|
import {
|
|
14
14
|
strictSessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-X3VIRILN.js";
|
|
16
16
|
import "../chunk-YYKY45TM.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-UWT664G5.js";
|
|
18
|
+
import "../chunk-45AA4HOH.js";
|
|
19
19
|
import "../chunk-EIKATSE4.js";
|
|
20
20
|
import "../chunk-E23LNUWJ.js";
|
|
21
21
|
import "../chunk-4JERP7NT.js";
|
|
@@ -288,7 +288,7 @@ process.stdin.on("end", async () => {
|
|
|
288
288
|
}
|
|
289
289
|
if (agent.agentId) {
|
|
290
290
|
try {
|
|
291
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
291
|
+
const { fastDbInit } = await import("../fast-db-init-KIS7XQO5.js");
|
|
292
292
|
const client = await fastDbInit();
|
|
293
293
|
const seScope = strictSessionScopeFilter();
|
|
294
294
|
const orphanResult = await client.execute({
|
|
@@ -385,7 +385,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
385
385
|
} catch {
|
|
386
386
|
}
|
|
387
387
|
try {
|
|
388
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
388
|
+
const { DreamingEngine } = await import("../dreaming-RCAAKENX.js");
|
|
389
389
|
const engine = new DreamingEngine();
|
|
390
390
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
391
391
|
let promoted = 0;
|
|
@@ -461,7 +461,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
461
461
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
462
462
|
}
|
|
463
463
|
try {
|
|
464
|
-
const { writeNotification } = await import("../notifications-
|
|
464
|
+
const { writeNotification } = await import("../notifications-LDDVXMH7.js");
|
|
465
465
|
await writeNotification({
|
|
466
466
|
agentId: agent.agentId,
|
|
467
467
|
agentRole: agent.agentRole,
|