@askexenow/exe-os 0.9.229 → 0.9.231
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-JRWUECUS.js → backfill-metadata-7WHAJKVL.js} +1 -1
- 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 +1 -1
- package/dist/bin/cleanup-stale-review-tasks.js +2 -2
- package/dist/bin/cli.js +5 -5
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +3 -3
- package/dist/bin/exe-dispatch.js +2 -2
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +2 -2
- package/dist/bin/exe-forget.js +3 -3
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +2 -2
- package/dist/bin/exe-kill.js +3 -3
- package/dist/bin/exe-launch-agent.js +3 -3
- package/dist/bin/exe-pending-messages.js +3 -3
- package/dist/bin/exe-pending-notifications.js +2 -2
- package/dist/bin/exe-pending-reviews.js +2 -2
- package/dist/bin/exe-review.js +3 -3
- package/dist/bin/exe-search.js +2 -2
- package/dist/bin/exe-session-cleanup.js +5 -5
- package/dist/bin/exe-start-codex.js +1 -1
- package/dist/bin/exe-start-opencode.js +1 -1
- package/dist/bin/exe-status.js +3 -3
- package/dist/bin/exe-team.js +1 -1
- package/dist/bin/git-sweep.js +2 -2
- 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/intercom-check.js +3 -3
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +1 -1
- package/dist/bin/scan-tasks.js +2 -2
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{capacity-monitor-HZPAFQZH.js → capacity-monitor-PRUTCTKE.js} +2 -2
- package/dist/{catchup-brief-CDG4KD5Y.js → catchup-brief-E2UK24I7.js} +3 -3
- package/dist/{chunk-YCTCKUZE.js → chunk-2AWEIMVH.js} +1 -1
- package/dist/{chunk-M37HYGAG.js → chunk-2EHYQKJR.js} +1 -1
- package/dist/{chunk-JKGAJAM7.js → chunk-2RS2DR47.js} +2 -2
- package/dist/{chunk-JSH5MAMM.js → chunk-2V5UDX2O.js} +1 -1
- package/dist/{chunk-MSCB4ACU.js → chunk-3CLQFRM6.js} +1 -1
- package/dist/{chunk-MJXEOKIW.js → chunk-3EFVHTTG.js} +1 -1
- package/dist/{chunk-BZAQ4UG7.js → chunk-5X3ISBHJ.js} +3 -3
- package/dist/{chunk-UWISNP4U.js → chunk-6YZ4MT2L.js} +2 -2
- package/dist/{chunk-JJNXFW7M.js → chunk-B5AEHLZQ.js} +1 -1
- package/dist/{chunk-W6TC6A73.js → chunk-EOVABUV3.js} +1 -1
- package/dist/{chunk-TOQZO2XX.js → chunk-F2UFRUVY.js} +2 -2
- package/dist/{chunk-Q7XA3SQ4.js → chunk-GTTLP5WK.js} +29 -29
- package/dist/{chunk-CQDSTBKT.js → chunk-I32QME33.js} +3 -3
- package/dist/{chunk-NUVDSQNY.js → chunk-J5VSABXD.js} +2 -2
- package/dist/{chunk-UBMGUX6T.js → chunk-J5WI42RB.js} +5 -5
- package/dist/{chunk-YKIPAQZG.js → chunk-JGZS4U4X.js} +1 -1
- package/dist/{chunk-3A5BZETG.js → chunk-LRRMS5OF.js} +3 -3
- package/dist/{chunk-NFB4N53K.js → chunk-N4C2RMEO.js} +1 -1
- package/dist/{chunk-F2GUJW5O.js → chunk-SJI7LQUK.js} +2 -2
- package/dist/{chunk-WZ2RVKRO.js → chunk-SSMXRAE2.js} +2 -2
- package/dist/{chunk-3DQ3IPPO.js → chunk-UILBQ5PU.js} +1 -1
- package/dist/{chunk-RTXGUKY3.js → chunk-UKCXMU5W.js} +3 -3
- package/dist/{chunk-IKTMX6N7.js → chunk-VW6UDG7E.js} +1 -1
- package/dist/{chunk-HFJNYSTQ.js → chunk-WEMIJFOX.js} +4 -4
- package/dist/{chunk-UPSZ2VKV.js → chunk-WUFPA6LR.js} +1 -1
- package/dist/{crm-webhook-3ODT32F7.js → crm-webhook-ZL2YFSFK.js} +2 -2
- package/dist/{cto-delegation-gate-4XDMTK6H.js → cto-delegation-gate-VRGO7IQ2.js} +1 -1
- package/dist/{daemon-orchestration-5I7RLXCP.js → daemon-orchestration-5TO3CHJQ.js} +3 -3
- package/dist/{exe-export-UZN6EFOR.js → exe-export-DC4MYDXH.js} +1 -1
- package/dist/{exe-import-OSM3U36A.js → exe-import-KTTZOAAA.js} +1 -1
- package/dist/{exe-snapshot-7TQIN7XI.js → exe-snapshot-NJ6BFROA.js} +1 -1
- package/dist/{fast-db-init-4VXDSFUY.js → fast-db-init-QYMFD4FX.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-task-sweep-HYAPIM44.js → git-task-sweep-WJAABZK5.js} +2 -2
- package/dist/hooks/bug-report-worker.js +3 -3
- package/dist/hooks/codex-stop-task-finalizer.js +3 -3
- package/dist/hooks/commit-complete.js +4 -4
- 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 +2 -2
- package/dist/hooks/post-tool-combined.js +2 -2
- package/dist/hooks/pre-compact.js +3 -3
- package/dist/hooks/pre-tool-use.js +6 -6
- package/dist/hooks/prompt-submit.js +8 -8
- package/dist/hooks/session-end.js +4 -4
- package/dist/hooks/session-start.js +5 -5
- package/dist/hooks/stop.js +5 -5
- package/dist/hooks/subagent-stop.js +2 -2
- package/dist/hooks/summary-worker.js +5 -5
- package/dist/index.js +9 -9
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/exe-daemon.js +69 -15
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +2 -2
- package/dist/lib/schedules.js +2 -2
- package/dist/lib/store.js +1 -1
- package/dist/lib/tasks.js +2 -2
- package/dist/lib/tmux-routing.js +1 -1
- package/dist/mcp/register-tools.js +22 -22
- package/dist/mcp/server.js +23 -23
- package/dist/mcp/tools/create-task.js +3 -3
- package/dist/mcp/tools/list-tasks.js +3 -3
- package/dist/mcp/tools/send-message.js +3 -3
- package/dist/mcp/tools/update-task.js +3 -3
- package/dist/{notifications-H4F77BYT.js → notifications-MEW6QY57.js} +1 -1
- package/dist/{orchestrator-HXUZ6LYM.js → orchestrator-HGTR4YIR.js} +2 -2
- package/dist/{pipeline-router-QRJQWMFF.js → pipeline-router-7VGJ7635.js} +1 -1
- package/dist/{reranker-U6DEAT4S.js → reranker-67X4YJEW.js} +1 -1
- package/dist/{review-polling-W2S3XAAU.js → review-polling-ILAI4FDS.js} +2 -2
- package/dist/runtime/index.js +3 -3
- package/dist/{session-events-MNWHGZY5.js → session-events-Y2YPBY3Q.js} +2 -2
- package/dist/{session-scope-SMT225X3.js → session-scope-CUDNSN62.js} +1 -1
- package/dist/{task-enforcement-UIEWTA6H.js → task-enforcement-MGHY6IJV.js} +1 -1
- package/dist/{task-scope-DNQURKOQ.js → task-scope-N6GNTTVY.js} +1 -1
- package/dist/{tasks-crud-CLAYZZ4O.js → tasks-crud-2FX6NTL2.js} +1 -1
- package/dist/{tasks-review-OHR2P4QE.js → tasks-review-5NFMLQJG.js} +1 -1
- package/dist/tui/App.js +7 -7
- package/dist/{tui-data-L6XG4Z52.js → tui-data-DT4WV54Q.js} +1 -1
- package/dist/{worker-gate-GFKXZ6V5.js → worker-gate-SN6WCY4Q.js} +1 -1
- package/dist/{workflow-engine-6HTKI2ZE.js → workflow-engine-2RQLJXDG.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-HTCBLSIB.js → chunk-5HF7X4WH.js} +0 -0
- /package/dist/{chunk-DKRTWILB.js → chunk-A2G6WCUO.js} +0 -0
- /package/dist/{chunk-Z3ZCLTP7.js → chunk-JZ2JEXEM.js} +0 -0
- /package/dist/{chunk-OSMMWGJ2.js → chunk-NXF7NZEA.js} +0 -0
- /package/dist/{chunk-LHOIY5LQ.js → chunk-QYUWMF3P.js} +0 -0
- /package/dist/{chunk-7BPKHR4O.js → chunk-XWOXF4NK.js} +0 -0
- /package/dist/{core-memory-R7QBLN4C.js → core-memory-6JYJS3A3.js} +0 -0
- /package/dist/{exe-key-OG35WPBA.js → exe-key-A6WNNU4Q.js} +0 -0
- /package/dist/{skill-refinement-LKJHUW2U.js → skill-refinement-YCCQ5W7C.js} +0 -0
|
@@ -50,10 +50,10 @@ import {
|
|
|
50
50
|
shouldKillIdleSession,
|
|
51
51
|
shouldKillSession,
|
|
52
52
|
shouldNudgeEmployee
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-I32QME33.js";
|
|
54
54
|
import "./chunk-FIPU4BDF.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-5X3ISBHJ.js";
|
|
56
|
+
import "./chunk-J5WI42RB.js";
|
|
57
57
|
import "./chunk-I2CDSGQW.js";
|
|
58
58
|
import "./chunk-QI4IXJN7.js";
|
|
59
59
|
import "./chunk-4JERP7NT.js";
|
package/dist/gateway/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createSignupBot,
|
|
12
12
|
ensureCRMContact,
|
|
13
13
|
formatAlert
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-SJI7LQUK.js";
|
|
15
15
|
import {
|
|
16
16
|
WhatsAppAdapter
|
|
17
17
|
} from "../chunk-ECSNSHZ7.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
createCRMWebhookHandler,
|
|
35
35
|
parseTwentyWebhook
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-3EFVHTTG.js";
|
|
37
37
|
import {
|
|
38
38
|
OllamaProvider
|
|
39
39
|
} from "../chunk-FWFFZGSC.js";
|
|
@@ -63,16 +63,16 @@ import {
|
|
|
63
63
|
retryWithBackoff,
|
|
64
64
|
routeMessage,
|
|
65
65
|
validateGatewayConfig
|
|
66
|
-
} from "../chunk-
|
|
67
|
-
import "../chunk-
|
|
68
|
-
import "../chunk-
|
|
66
|
+
} from "../chunk-J5VSABXD.js";
|
|
67
|
+
import "../chunk-NXF7NZEA.js";
|
|
68
|
+
import "../chunk-JGZS4U4X.js";
|
|
69
69
|
import {
|
|
70
70
|
getAccountByName,
|
|
71
71
|
getAccountByPhoneNumberId,
|
|
72
72
|
getDefaultAccount,
|
|
73
73
|
loadAccounts
|
|
74
74
|
} from "../chunk-YGAAZN3E.js";
|
|
75
|
-
import "../chunk-
|
|
75
|
+
import "../chunk-JZ2JEXEM.js";
|
|
76
76
|
import {
|
|
77
77
|
createPerson,
|
|
78
78
|
findPersonByContact,
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
getRecentCommits,
|
|
5
5
|
matchScore,
|
|
6
6
|
sweepTasks
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2RS2DR47.js";
|
|
8
|
+
import "./chunk-J5WI42RB.js";
|
|
9
9
|
import "./chunk-I2CDSGQW.js";
|
|
10
10
|
import "./chunk-QI4IXJN7.js";
|
|
11
11
|
import "./chunk-4JERP7NT.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-5X3ISBHJ.js";
|
|
4
4
|
import {
|
|
5
5
|
fastDbInit
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-A2G6WCUO.js";
|
|
7
|
+
import "../chunk-J5WI42RB.js";
|
|
8
8
|
import "../chunk-I2CDSGQW.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-5X3ISBHJ.js";
|
|
4
4
|
import {
|
|
5
5
|
fastDbInit
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-A2G6WCUO.js";
|
|
7
7
|
import {
|
|
8
8
|
listTasks
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-J5WI42RB.js";
|
|
10
10
|
import "../chunk-I2CDSGQW.js";
|
|
11
11
|
import "../chunk-QI4IXJN7.js";
|
|
12
12
|
import "../chunk-4JERP7NT.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractKeywords,
|
|
3
3
|
matchScore
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-2RS2DR47.js";
|
|
5
|
+
import "../chunk-J5WI42RB.js";
|
|
6
6
|
import "../chunk-I2CDSGQW.js";
|
|
7
7
|
import "../chunk-QI4IXJN7.js";
|
|
8
8
|
import "../chunk-4JERP7NT.js";
|
|
@@ -80,13 +80,13 @@ async function main() {
|
|
|
80
80
|
const changedFiles = getChangedFiles(commitHash);
|
|
81
81
|
let client;
|
|
82
82
|
try {
|
|
83
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
83
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
84
84
|
client = await fastDbInit();
|
|
85
85
|
} catch {
|
|
86
86
|
process.stderr.write("[commit-complete] DB init failed \u2014 skipping\n");
|
|
87
87
|
return;
|
|
88
88
|
}
|
|
89
|
-
const { listTasks, updateTaskStatus } = await import("../tasks-crud-
|
|
89
|
+
const { listTasks, updateTaskStatus } = await import("../tasks-crud-2FX6NTL2.js");
|
|
90
90
|
const tasks = await listTasks({
|
|
91
91
|
assignedTo: agentId,
|
|
92
92
|
status: "in_progress",
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
hybridSearch,
|
|
6
6
|
lightweightSearch
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-WEMIJFOX.js";
|
|
8
8
|
import {
|
|
9
9
|
initStore
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-5HF7X4WH.js";
|
|
11
11
|
import "../chunk-CHCA3ZM2.js";
|
|
12
12
|
import "../chunk-IW53DAYO.js";
|
|
13
13
|
import "../chunk-SH45SJQW.js";
|
package/dist/hooks/ingest.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerWorkerPid,
|
|
3
3
|
tryAcquireWorkerSlot
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-N4C2RMEO.js";
|
|
5
5
|
import {
|
|
6
6
|
classifyError,
|
|
7
7
|
detectError,
|
|
@@ -320,7 +320,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
320
320
|
if (taskData.taskId) {
|
|
321
321
|
const { initStore: cpInit } = await import("../lib/store.js");
|
|
322
322
|
await cpInit();
|
|
323
|
-
const { writeCheckpoint } = await import("../tasks-crud-
|
|
323
|
+
const { writeCheckpoint } = await import("../tasks-crud-2FX6NTL2.js");
|
|
324
324
|
await writeCheckpoint({
|
|
325
325
|
taskId: taskData.taskId,
|
|
326
326
|
step: `auto_checkpoint_${counter.total}`,
|
|
@@ -54,7 +54,7 @@ process.stdin.on("end", async () => {
|
|
|
54
54
|
pass = false;
|
|
55
55
|
}
|
|
56
56
|
try {
|
|
57
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
57
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
58
58
|
await fastDbInit();
|
|
59
59
|
const { getClient } = await import("../lib/database.js");
|
|
60
60
|
const client = getClient();
|
package/dist/hooks/manifest.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-06-08T03:
|
|
3
|
+
"generatedAt": "2026-06-08T03:47:01.913Z",
|
|
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": "01b9c06e313084241bff02fa8f4f2a164ac48d922faedeb0a2637a25b21649dc",
|
|
6
|
+
"codex-stop-task-finalizer.js": "d0cfdc99c6da41f5c4d44314852222471fea4a176d482c615dbaa1e484a745bf",
|
|
7
|
+
"commit-complete.js": "e97abe8430aa08e9a25e1e3b74cb8ddafeb3b89523f25451f24187582223bb83",
|
|
8
|
+
"error-recall.js": "3ff0510696c03a11d4be53ffdcb55a631ddff0ceb9f8dc8feff99c30a36090a4",
|
|
9
9
|
"exe-heartbeat-hook.js": "1f1dfe200b0a62ce2415e3ac32542ca19f2a0c4e95449ebf1ba25f7a80968333",
|
|
10
10
|
"ingest-worker.js": "a1da6ba99eea1d10cfd0b63d6a7fe8cd31998cc7525a39313bbbab185d15d94f",
|
|
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": "6910886671f4ba1b109ced2f9291aaad8ea324aebb82d194edaa06fd94d90567",
|
|
12
|
+
"instructions-loaded.js": "3460768f1bc6c06a78f831cc9dc7fee982a27918446830259a4a00bf2d3eea24",
|
|
13
|
+
"notification.js": "24982ad1f7fe8c3c5429f7ca22444fe0a43f623cfefdcb9d8483fad7d4481848",
|
|
14
|
+
"post-compact.js": "43d068f997fde89451fb01e6d8f896a23e46a338cc6575fbb860dbd4a5a3b013",
|
|
15
|
+
"post-tool-combined.js": "2acf37fca35c5a4bb17810da1a927d9d122482330cff6060cee2ef050e566e7f",
|
|
16
|
+
"pre-compact.js": "83ac5ed38c752a33b80d34bdbac9c5d51cc86423b1f15e05f37fffb0dd1cbddb",
|
|
17
|
+
"pre-tool-use.js": "55f2a87419aad34e5a4ae4538344f480b8f01b8f89acee86c3b404507828b228",
|
|
18
|
+
"prompt-submit.js": "92fd2762c200bb50aa1fd422f477332eebf44de8cc4c743e45fe71923caa0d7d",
|
|
19
|
+
"session-end.js": "e5e345a1a1e468cd6023feab779742d97fe076d87522cba574e399691a4c8d45",
|
|
20
|
+
"session-start.js": "78a0c0f1cf801f394cabde75ced8e4275da8ccd01de2de77ebd30e5673a91c34",
|
|
21
|
+
"stop.js": "3d38cec62727dc91fd6859a379db7032ae1e80c17fb5054203a92fe754bd7e07",
|
|
22
|
+
"subagent-stop.js": "14d29e1d8d68529958561d7e25c09ce2035c0abeacb150f9f933c811e6cd5e59",
|
|
23
|
+
"summary-worker.js": "bdf460c21ecae4b2805a9f8dc5b1fe438ad689df998b8000746ea96b3f46ddf0"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -41,7 +41,7 @@ process.stdin.on("end", async () => {
|
|
|
41
41
|
process.exit(0);
|
|
42
42
|
}
|
|
43
43
|
try {
|
|
44
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
44
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
45
45
|
await fastDbInit();
|
|
46
46
|
const { getClient } = await import("../lib/database.js");
|
|
47
47
|
const { randomUUID } = await import("crypto");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-DLXTKVBO.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-J5WI42RB.js";
|
|
8
8
|
import "../chunk-I2CDSGQW.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
@@ -73,7 +73,7 @@ ${identity}`);
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
try {
|
|
76
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
76
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
77
77
|
await fastDbInit();
|
|
78
78
|
const { getClient } = await import("../lib/database.js");
|
|
79
79
|
const client = getClient();
|
|
@@ -115,8 +115,8 @@ You are **${driftAgent.agentId}** (${driftAgent.agentRole}). You've used ${misma
|
|
|
115
115
|
const { detectError } = await import("../lib/error-detector.js");
|
|
116
116
|
const agent = getActiveAgent();
|
|
117
117
|
try {
|
|
118
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
119
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
118
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
119
|
+
const { recordSessionEvent } = await import("../session-events-Y2YPBY3Q.js");
|
|
120
120
|
const client = await fastDbInit();
|
|
121
121
|
const toolName = String(data.tool_name ?? "unknown");
|
|
122
122
|
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-XWOXF4NK.js";
|
|
5
5
|
import "../chunk-ETSREHYC.js";
|
|
6
6
|
import "../chunk-AZSCW64F.js";
|
|
7
7
|
import "../chunk-L24HYX62.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "../chunk-DLXTKVBO.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-J5WI42RB.js";
|
|
16
16
|
import "../chunk-I2CDSGQW.js";
|
|
17
17
|
import "../chunk-QI4IXJN7.js";
|
|
18
18
|
import "../chunk-4JERP7NT.js";
|
|
@@ -66,7 +66,7 @@ process.stdin.on("end", async () => {
|
|
|
66
66
|
const agent = getActiveAgent();
|
|
67
67
|
const sections = [];
|
|
68
68
|
try {
|
|
69
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
69
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
70
70
|
const client = await fastDbInit();
|
|
71
71
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
72
72
|
const pcScope = sessionScopeFilter();
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "../chunk-DLXTKVBO.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-J5WI42RB.js";
|
|
9
9
|
import "../chunk-I2CDSGQW.js";
|
|
10
10
|
import "../chunk-QI4IXJN7.js";
|
|
11
11
|
import "../chunk-4JERP7NT.js";
|
|
@@ -325,15 +325,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
325
325
|
process.exit(0);
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
328
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-VRGO7IQ2.js");
|
|
329
329
|
const gatedAgent = getGatedAgent();
|
|
330
330
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
331
331
|
const filePath = data.tool_input?.file_path ?? "";
|
|
332
332
|
if (filePath) {
|
|
333
333
|
try {
|
|
334
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
334
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
335
335
|
await fastDbInit();
|
|
336
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
336
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-VRGO7IQ2.js");
|
|
337
337
|
const decision = await evaluateDelegationGate({
|
|
338
338
|
agentId: agent.agentId,
|
|
339
339
|
toolName: data.tool_name,
|
|
@@ -379,7 +379,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
379
379
|
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);
|
|
380
380
|
if (isUpdateTaskDone) {
|
|
381
381
|
try {
|
|
382
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
382
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
383
383
|
const client = await fastDbInit();
|
|
384
384
|
const taskId = String(toolInput.task_id ?? "");
|
|
385
385
|
const ptScope = sessionScopeFilter();
|
|
@@ -437,7 +437,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
437
437
|
}
|
|
438
438
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
439
439
|
try {
|
|
440
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
440
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
441
441
|
const client = await fastDbInit();
|
|
442
442
|
const dlScope = sessionScopeFilter();
|
|
443
443
|
const result = await client.execute({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hybridSearch,
|
|
3
3
|
lightweightSearch
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-WEMIJFOX.js";
|
|
5
5
|
import {
|
|
6
6
|
initStore
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-5HF7X4WH.js";
|
|
8
8
|
import "../chunk-CHCA3ZM2.js";
|
|
9
9
|
import "../chunk-IW53DAYO.js";
|
|
10
10
|
import {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import "../chunk-F7LU65PQ.js";
|
|
19
19
|
import {
|
|
20
20
|
isExeSession
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-J5WI42RB.js";
|
|
22
22
|
import "../chunk-I2CDSGQW.js";
|
|
23
23
|
import "../chunk-QI4IXJN7.js";
|
|
24
24
|
import "../chunk-4JERP7NT.js";
|
|
@@ -369,7 +369,7 @@ ${body}`;
|
|
|
369
369
|
let reviewContext = "";
|
|
370
370
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
371
371
|
try {
|
|
372
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
372
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-5NFMLQJG.js");
|
|
373
373
|
const sessionKey = getSessionKey();
|
|
374
374
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
375
375
|
let sessionScope;
|
|
@@ -426,7 +426,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
426
426
|
let coreMemoryContext = "";
|
|
427
427
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
428
428
|
try {
|
|
429
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
429
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-6JYJS3A3.js");
|
|
430
430
|
const entries = await getCoreMemory(agent.agentId);
|
|
431
431
|
const block = formatCoreMemoryBlock(entries);
|
|
432
432
|
if (block) coreMemoryContext = block;
|
|
@@ -564,7 +564,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
564
564
|
let idleTaskContext = "";
|
|
565
565
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
566
566
|
try {
|
|
567
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
567
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
568
568
|
const client = await fastDbInit();
|
|
569
569
|
let taskSessionScope = null;
|
|
570
570
|
if (inTmux) {
|
|
@@ -657,8 +657,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
657
657
|
return;
|
|
658
658
|
}
|
|
659
659
|
try {
|
|
660
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
661
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
660
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
661
|
+
const { recordSessionEvent } = await import("../session-events-Y2YPBY3Q.js");
|
|
662
662
|
const client = await fastDbInit();
|
|
663
663
|
await recordSessionEvent(client, {
|
|
664
664
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-XWOXF4NK.js";
|
|
4
4
|
import "../chunk-ETSREHYC.js";
|
|
5
5
|
import "../chunk-AZSCW64F.js";
|
|
6
6
|
import "../chunk-L24HYX62.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "../chunk-DLXTKVBO.js";
|
|
17
17
|
import {
|
|
18
18
|
strictSessionScopeFilter
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-J5WI42RB.js";
|
|
20
20
|
import "../chunk-I2CDSGQW.js";
|
|
21
21
|
import "../chunk-QI4IXJN7.js";
|
|
22
22
|
import "../chunk-4JERP7NT.js";
|
|
@@ -263,7 +263,7 @@ process.stdin.on("end", async () => {
|
|
|
263
263
|
}
|
|
264
264
|
if (agent.agentId !== "default") {
|
|
265
265
|
try {
|
|
266
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
266
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
267
267
|
const client = await fastDbInit();
|
|
268
268
|
const seScope = strictSessionScopeFilter();
|
|
269
269
|
const orphanResult = await client.execute({
|
|
@@ -421,7 +421,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
421
421
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
422
422
|
}
|
|
423
423
|
try {
|
|
424
|
-
const { writeNotification } = await import("../notifications-
|
|
424
|
+
const { writeNotification } = await import("../notifications-MEW6QY57.js");
|
|
425
425
|
await writeNotification({
|
|
426
426
|
agentId: agent.agentId,
|
|
427
427
|
agentRole: agent.agentRole,
|
|
@@ -36,7 +36,7 @@ process.stdin.on("end", async () => {
|
|
|
36
36
|
try {
|
|
37
37
|
const { getActiveAgent } = await import("../active-agent-WOP3ZHLN.js");
|
|
38
38
|
const { getProjectName } = await import("../project-name-4SKOH2UO.js");
|
|
39
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
39
|
+
const { getCurrentSessionScope } = await import("../task-scope-N6GNTTVY.js");
|
|
40
40
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
41
41
|
const data = JSON.parse(input);
|
|
42
42
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -78,7 +78,7 @@ process.stdin.on("end", async () => {
|
|
|
78
78
|
}
|
|
79
79
|
if (!daemonDegraded) {
|
|
80
80
|
try {
|
|
81
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
81
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
82
82
|
await fastDbInit();
|
|
83
83
|
} catch {
|
|
84
84
|
daemonDegraded = true;
|
|
@@ -163,7 +163,7 @@ You are **${ag.agentId}** (${ag.agentRole}). Daemon is degraded \u2014 memory un
|
|
|
163
163
|
query = `last actions on ${projectName}`;
|
|
164
164
|
header = "## Resuming Session\nHere's where you left off:";
|
|
165
165
|
try {
|
|
166
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
166
|
+
const { buildCatchupBrief } = await import("../catchup-brief-E2UK24I7.js");
|
|
167
167
|
const brief = await buildCatchupBrief(
|
|
168
168
|
agentId,
|
|
169
169
|
projectName,
|
|
@@ -188,7 +188,7 @@ The following files have been modified since you last read them:
|
|
|
188
188
|
query = `recent work on ${projectName}`;
|
|
189
189
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
190
190
|
}
|
|
191
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
191
|
+
const { queryTaskRows } = await import("../tasks-crud-2FX6NTL2.js");
|
|
192
192
|
const [memories, taskResult] = await Promise.all([
|
|
193
193
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
194
194
|
queryTaskRows({
|
|
@@ -259,7 +259,7 @@ ${wmContent}
|
|
|
259
259
|
`;
|
|
260
260
|
if (agentId !== "default" && !daemonDegraded) {
|
|
261
261
|
try {
|
|
262
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
262
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-2FX6NTL2.js");
|
|
263
263
|
const checkpoint = await readLatestCheckpoint(agentId);
|
|
264
264
|
if (checkpoint) {
|
|
265
265
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none recorded";
|
package/dist/hooks/stop.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-DLXTKVBO.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-J5WI42RB.js";
|
|
8
8
|
import "../chunk-I2CDSGQW.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
@@ -124,8 +124,8 @@ process.stdin.on("end", async () => {
|
|
|
124
124
|
process.exit(0);
|
|
125
125
|
}
|
|
126
126
|
try {
|
|
127
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
128
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
127
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
128
|
+
const { recordSessionEvent } = await import("../session-events-Y2YPBY3Q.js");
|
|
129
129
|
const client = await fastDbInit();
|
|
130
130
|
await recordSessionEvent(client, {
|
|
131
131
|
agentId: agent.agentId,
|
|
@@ -161,7 +161,7 @@ process.stdin.on("end", async () => {
|
|
|
161
161
|
}
|
|
162
162
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
163
163
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
164
|
-
import("../fast-db-init-
|
|
164
|
+
import("../fast-db-init-QYMFD4FX.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
165
165
|
const stScope = sessionScopeFilter();
|
|
166
166
|
const tasks = await client.execute({
|
|
167
167
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -254,7 +254,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
254
254
|
} catch {
|
|
255
255
|
}
|
|
256
256
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
257
|
-
import("../fast-db-init-
|
|
257
|
+
import("../fast-db-init-QYMFD4FX.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
258
258
|
const orScope = sessionScopeFilter();
|
|
259
259
|
return client.execute({
|
|
260
260
|
sql: `SELECT title, status FROM tasks
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-DLXTKVBO.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-J5WI42RB.js";
|
|
8
8
|
import "../chunk-I2CDSGQW.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
@@ -61,7 +61,7 @@ process.stdin.on("end", async () => {
|
|
|
61
61
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
62
62
|
process.exit(0);
|
|
63
63
|
}
|
|
64
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
64
|
+
const { fastDbInit } = await import("../fast-db-init-QYMFD4FX.js");
|
|
65
65
|
const client = await fastDbInit();
|
|
66
66
|
const saScope = sessionScopeFilter();
|
|
67
67
|
const pendingResult = await client.execute({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-XWOXF4NK.js";
|
|
4
4
|
import "../chunk-ETSREHYC.js";
|
|
5
5
|
import "../chunk-AZSCW64F.js";
|
|
6
6
|
import "../chunk-L24HYX62.js";
|
|
@@ -8,14 +8,14 @@ import "../chunk-YADYM2DE.js";
|
|
|
8
8
|
import {
|
|
9
9
|
initStore,
|
|
10
10
|
vectorToBlob
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-5HF7X4WH.js";
|
|
12
12
|
import "../chunk-CHCA3ZM2.js";
|
|
13
13
|
import "../chunk-IW53DAYO.js";
|
|
14
14
|
import "../chunk-F7LU65PQ.js";
|
|
15
15
|
import {
|
|
16
16
|
sessionScopeFilter,
|
|
17
17
|
writeNotification
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-J5WI42RB.js";
|
|
19
19
|
import "../chunk-I2CDSGQW.js";
|
|
20
20
|
import "../chunk-QI4IXJN7.js";
|
|
21
21
|
import "../chunk-4JERP7NT.js";
|
|
@@ -183,7 +183,7 @@ async function main() {
|
|
|
183
183
|
const { EXE_AI_DIR } = await import("../lib/config.js");
|
|
184
184
|
const flagPath = path.join(EXE_AI_DIR, "session-cache", "needs-backfill");
|
|
185
185
|
if (existsSync(flagPath)) {
|
|
186
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-
|
|
186
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-SN6WCY4Q.js");
|
|
187
187
|
if (!tryAcquireWorkerSlot()) {
|
|
188
188
|
process.stderr.write("[summary-worker] Backfill needed but worker gate full \u2014 skipping\n");
|
|
189
189
|
} else {
|
|
@@ -290,7 +290,7 @@ main().catch((err) => {
|
|
|
290
290
|
process.stderr.write("[summary-worker] FATAL: " + (err instanceof Error ? err.message : String(err)) + "\n");
|
|
291
291
|
}).finally(async () => {
|
|
292
292
|
try {
|
|
293
|
-
const { cleanupWorkerPid } = await import("../worker-gate-
|
|
293
|
+
const { cleanupWorkerPid } = await import("../worker-gate-SN6WCY4Q.js");
|
|
294
294
|
cleanupWorkerPid();
|
|
295
295
|
} catch {
|
|
296
296
|
}
|