@askexenow/exe-os 0.9.129 → 0.9.130
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/bin/cleanup-stale-review-tasks.js +1 -1
- package/dist/bin/cli.js +1 -1
- package/dist/bin/exe-boot.js +1 -1
- package/dist/bin/exe-dispatch.js +2 -2
- package/dist/bin/exe-forget.js +1 -1
- package/dist/bin/exe-gateway.js +1 -1
- package/dist/bin/exe-heartbeat.js +1 -1
- package/dist/bin/exe-new-employee.js +1 -1
- package/dist/bin/exe-pending-messages.js +2 -2
- package/dist/bin/exe-pending-notifications.js +1 -1
- package/dist/bin/exe-pending-reviews.js +1 -1
- package/dist/bin/exe-search.js +1 -1
- package/dist/bin/exe-session-cleanup.js +4 -4
- package/dist/bin/exe-status.js +2 -2
- package/dist/bin/git-sweep.js +2 -2
- package/dist/bin/install.js +1 -1
- package/dist/bin/intercom-check.js +2 -2
- package/dist/bin/scan-tasks.js +1 -1
- package/dist/bin/setup.js +1 -1
- package/dist/{capacity-monitor-3GZIHLB4.js → capacity-monitor-4CKMNAVR.js} +2 -2
- package/dist/{catchup-brief-67QDCINS.js → catchup-brief-W3ALZQPL.js} +2 -2
- package/dist/{chunk-WMC3TXJF.js → chunk-32G3EFPM.js} +1 -1
- package/dist/{chunk-ZBY4AUD4.js → chunk-532HQPGJ.js} +15 -15
- package/dist/{chunk-HVRTW3OP.js → chunk-6DFWHIHJ.js} +17 -2
- package/dist/{chunk-E2Q4Y22A.js → chunk-AH2Y2KXR.js} +1 -1
- package/dist/{chunk-MILTNDZH.js → chunk-AOOJAK6B.js} +3 -3
- package/dist/{chunk-MPURH6JI.js → chunk-B7VRSSWI.js} +4 -4
- package/dist/{chunk-LVNMOVGD.js → chunk-CPFXKD2L.js} +1 -1
- package/dist/{chunk-MJAE4NB7.js → chunk-EUYXAZBB.js} +1 -1
- package/dist/{chunk-B4TT2QQA.js → chunk-FAM2Q7PD.js} +2 -2
- package/dist/{chunk-7RK3AYJE.js → chunk-FYAD2TDL.js} +2 -2
- package/dist/{chunk-NZLCDI6Y.js → chunk-GM7YLJUV.js} +2 -2
- package/dist/{chunk-RJZMRZNV.js → chunk-HG4XDTSW.js} +6 -2
- package/dist/{chunk-JN44LQ53.js → chunk-IJ3RKFK5.js} +1 -1
- package/dist/{chunk-DL52JPGF.js → chunk-JJTPKTDU.js} +1 -1
- package/dist/{chunk-CFIM43JH.js → chunk-LPOJ37VO.js} +1 -1
- package/dist/{chunk-L4X5EUHR.js → chunk-LYTLP6VH.js} +2 -2
- package/dist/{chunk-P3CVUMEH.js → chunk-QUYZMLWE.js} +1 -1
- package/dist/{chunk-MVBWW2EO.js → chunk-RGZFNM54.js} +1 -1
- package/dist/{chunk-2QD7KBJN.js → chunk-T7RQCLMY.js} +12 -3
- package/dist/{chunk-N7L33TED.js → chunk-TPF6K63M.js} +1 -1
- package/dist/{chunk-MLCUPTP7.js → chunk-ZHMQDTGE.js} +8 -4
- package/dist/{crm-webhook-OAFTLJYA.js → crm-webhook-EY6Q2CBV.js} +2 -2
- package/dist/{cto-delegation-gate-XWHZCUJH.js → cto-delegation-gate-E7MTSILA.js} +1 -1
- package/dist/{daemon-orchestration-2C3TVOHO.js → daemon-orchestration-YAF22VX4.js} +2 -2
- package/dist/{entity-boost-IOER4VRR.js → entity-boost-CSKKVLPV.js} +5 -1
- package/dist/gateway/index.js +3 -3
- package/dist/{git-task-sweep-UEOTXRW4.js → git-task-sweep-WQ4WXMSM.js} +2 -2
- package/dist/hooks/bug-report-worker.js +4 -4
- package/dist/hooks/codex-stop-task-finalizer.js +4 -4
- package/dist/hooks/commit-complete.js +3 -3
- package/dist/hooks/error-recall.js +1 -1
- package/dist/hooks/ingest.js +1 -1
- package/dist/hooks/post-compact.js +1 -1
- package/dist/hooks/post-tool-combined.js +1 -1
- package/dist/hooks/pre-compact.js +2 -2
- package/dist/hooks/pre-tool-use.js +3 -3
- package/dist/hooks/prompt-submit.js +4 -4
- package/dist/hooks/session-end.js +5 -5
- package/dist/hooks/session-start.js +2 -2
- package/dist/hooks/stop.js +2 -2
- package/dist/hooks/subagent-stop.js +1 -1
- package/dist/hooks/summary-worker.js +2 -2
- package/dist/index.js +7 -7
- package/dist/lib/exe-daemon.js +13 -9
- package/dist/lib/hybrid-search.js +1 -1
- package/dist/lib/messaging.js +2 -2
- package/dist/lib/session-wrappers.js +1 -1
- package/dist/lib/tasks.js +4 -4
- package/dist/lib/tmux-routing.js +1 -1
- package/dist/mcp/register-tools.js +16 -16
- package/dist/mcp/server.js +16 -16
- package/dist/mcp/tools/create-task.js +5 -5
- package/dist/mcp/tools/list-tasks.js +5 -5
- package/dist/mcp/tools/send-message.js +3 -3
- package/dist/mcp/tools/update-task.js +5 -5
- package/dist/{notifications-CJFULBMN.js → notifications-DEKUYVRR.js} +1 -1
- package/dist/{orchestrator-RXIPT6PZ.js → orchestrator-AB5C2MK5.js} +3 -3
- package/dist/runtime/index.js +4 -4
- package/dist/{session-events-TQ6S5KQN.js → session-events-IZPJPGOZ.js} +2 -2
- package/dist/{session-scope-3MYK3YRV.js → session-scope-G327KI66.js} +2 -2
- package/dist/{setup-wizard-ZJ7UCRBP.js → setup-wizard-QJ4LNQ7T.js} +1 -1
- package/dist/{task-scope-MUU4KXE6.js → task-scope-AP57GDDD.js} +1 -1
- package/dist/{tasks-crud-PMLK3MM4.js → tasks-crud-5IJGRPTA.js} +2 -2
- package/dist/{tasks-review-56LVKKNL.js → tasks-review-47CZWQQN.js} +1 -1
- package/dist/tui/App.js +7 -7
- package/dist/{tui-data-SB45REYU.js → tui-data-SRCFI4E6.js} +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-AFYIYM2K.js → chunk-3R3R4NGI.js} +0 -0
- /package/dist/{chunk-4CMVLKEI.js → chunk-JTQEMISA.js} +0 -0
- /package/dist/{chunk-4QNPADWL.js → chunk-P5O62PHD.js} +0 -0
package/dist/bin/cli.js
CHANGED
|
@@ -237,7 +237,7 @@ ID: ${result.id}`);
|
|
|
237
237
|
process.exit(failed > 0 ? 1 : 0);
|
|
238
238
|
}
|
|
239
239
|
} else if (args[0] === "setup" || args[0] === "-setup" || args[0] === "--setup") {
|
|
240
|
-
const { runSetupWizard } = await import("../setup-wizard-
|
|
240
|
+
const { runSetupWizard } = await import("../setup-wizard-QJ4LNQ7T.js");
|
|
241
241
|
await runSetupWizard({ skipModel: args.includes("--skip-model") });
|
|
242
242
|
} else if (args[0] === "update") {
|
|
243
243
|
const { runUpdate } = await import("./update.js");
|
package/dist/bin/exe-boot.js
CHANGED
package/dist/bin/exe-dispatch.js
CHANGED
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
createTaskCore,
|
|
7
7
|
init_tasks_crud
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-T7RQCLMY.js";
|
|
9
9
|
import {
|
|
10
10
|
ensureEmployee,
|
|
11
11
|
init_tmux_routing,
|
|
12
12
|
resolveExeSession
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-TPF6K63M.js";
|
|
14
14
|
import "../chunk-NEAHEC5G.js";
|
|
15
15
|
import "../chunk-KRLOFIPI.js";
|
|
16
16
|
import "../chunk-R4M6XCMU.js";
|
package/dist/bin/exe-forget.js
CHANGED
package/dist/bin/exe-gateway.js
CHANGED
|
@@ -959,7 +959,7 @@ async function main() {
|
|
|
959
959
|
console.log("[exe-gateway] Generic webhook adapter registered");
|
|
960
960
|
}
|
|
961
961
|
{
|
|
962
|
-
const { createCRMWebhookHandler } = await import("../crm-webhook-
|
|
962
|
+
const { createCRMWebhookHandler } = await import("../crm-webhook-EY6Q2CBV.js");
|
|
963
963
|
const handler = createCRMWebhookHandler();
|
|
964
964
|
server.onPlatform("crm", handler);
|
|
965
965
|
console.log("[exe-gateway] CRM webhook adapter registered");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getPendingMessages,
|
|
3
3
|
markRead
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-HG4XDTSW.js";
|
|
5
5
|
import {
|
|
6
6
|
fastDbInit
|
|
7
7
|
} from "../chunk-CURJUF3W.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-TPF6K63M.js";
|
|
9
9
|
import "../chunk-NEAHEC5G.js";
|
|
10
10
|
import "../chunk-KRLOFIPI.js";
|
|
11
11
|
import "../chunk-R4M6XCMU.js";
|
package/dist/bin/exe-search.js
CHANGED
|
@@ -12,7 +12,7 @@ import "../chunk-NHK5KW6Y.js";
|
|
|
12
12
|
import {
|
|
13
13
|
init_task_scope,
|
|
14
14
|
sessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-TPF6K63M.js";
|
|
16
16
|
import "../chunk-NEAHEC5G.js";
|
|
17
17
|
import "../chunk-KRLOFIPI.js";
|
|
18
18
|
import "../chunk-R4M6XCMU.js";
|
|
@@ -141,7 +141,7 @@ try {
|
|
|
141
141
|
`
|
|
142
142
|
);
|
|
143
143
|
try {
|
|
144
|
-
const { createReviewForCompletedTask } = await import("../tasks-review-
|
|
144
|
+
const { createReviewForCompletedTask } = await import("../tasks-review-47CZWQQN.js");
|
|
145
145
|
await createReviewForCompletedTask(
|
|
146
146
|
{
|
|
147
147
|
id: String(dt.id),
|
|
@@ -177,7 +177,7 @@ try {
|
|
|
177
177
|
if (result.rows.length === 0) process.exit(0);
|
|
178
178
|
let commits = [];
|
|
179
179
|
try {
|
|
180
|
-
const { getRecentCommits } = await import("../git-task-sweep-
|
|
180
|
+
const { getRecentCommits } = await import("../git-task-sweep-WQ4WXMSM.js");
|
|
181
181
|
commits = getRecentCommits(30);
|
|
182
182
|
} catch {
|
|
183
183
|
}
|
|
@@ -190,7 +190,7 @@ try {
|
|
|
190
190
|
const context = row.context ? String(row.context) : void 0;
|
|
191
191
|
if (commits.length > 0) {
|
|
192
192
|
try {
|
|
193
|
-
const { findBestMatch } = await import("../git-task-sweep-
|
|
193
|
+
const { findBestMatch } = await import("../git-task-sweep-WQ4WXMSM.js");
|
|
194
194
|
const match = findBestMatch({ id: taskId, title, context }, commits);
|
|
195
195
|
if (match) {
|
|
196
196
|
await client.execute({
|
package/dist/bin/exe-status.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
status
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-AH2Y2KXR.js";
|
|
5
5
|
import "../chunk-DC4ZD76Y.js";
|
|
6
6
|
import "../chunk-CURJUF3W.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-TPF6K63M.js";
|
|
8
8
|
import "../chunk-NEAHEC5G.js";
|
|
9
9
|
import "../chunk-KRLOFIPI.js";
|
|
10
10
|
import "../chunk-R4M6XCMU.js";
|
package/dist/bin/git-sweep.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
sweepTasks
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-GM7YLJUV.js";
|
|
5
|
+
import "../chunk-TPF6K63M.js";
|
|
6
6
|
import "../chunk-NEAHEC5G.js";
|
|
7
7
|
import "../chunk-KRLOFIPI.js";
|
|
8
8
|
import "../chunk-R4M6XCMU.js";
|
package/dist/bin/install.js
CHANGED
|
@@ -16,7 +16,7 @@ async function main() {
|
|
|
16
16
|
}
|
|
17
17
|
if (isCoordinator) {
|
|
18
18
|
try {
|
|
19
|
-
const { listPendingReviews, cleanupOrphanedReviews, formatAge, isStale } = await import("../tasks-review-
|
|
19
|
+
const { listPendingReviews, cleanupOrphanedReviews, formatAge, isStale } = await import("../tasks-review-47CZWQQN.js");
|
|
20
20
|
const { extractRootExe } = await import("../lib/tmux-routing.js");
|
|
21
21
|
await cleanupOrphanedReviews();
|
|
22
22
|
let sessionScope = process.env.EXE_SESSION ? extractRootExe(process.env.EXE_SESSION) ?? void 0 : void 0;
|
|
@@ -106,7 +106,7 @@ async function main() {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
try {
|
|
109
|
-
const { readUnreadNotifications, markAsRead } = await import("../notifications-
|
|
109
|
+
const { readUnreadNotifications, markAsRead } = await import("../notifications-DEKUYVRR.js");
|
|
110
110
|
const notifications = await readUnreadNotifications(agent);
|
|
111
111
|
const recentCutoff = Date.now() - 24 * 60 * 60 * 1e3;
|
|
112
112
|
const pending = notifications.filter((row) => new Date(row.timestamp).getTime() > recentCutoff);
|
package/dist/bin/scan-tasks.js
CHANGED
package/dist/bin/setup.js
CHANGED
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
isAtCapacity,
|
|
10
10
|
isWithinRelaunchCooldown,
|
|
11
11
|
pollCapacityDead
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IJ3RKFK5.js";
|
|
13
13
|
import "./chunk-IHDHL5ML.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-TPF6K63M.js";
|
|
15
15
|
import "./chunk-NEAHEC5G.js";
|
|
16
16
|
import "./chunk-KRLOFIPI.js";
|
|
17
17
|
import "./chunk-R4M6XCMU.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lightweightSearch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JJTPKTDU.js";
|
|
4
4
|
import "./chunk-HSRM6PNM.js";
|
|
5
5
|
import "./chunk-NHK5KW6Y.js";
|
|
6
6
|
import {
|
|
7
7
|
init_task_scope,
|
|
8
8
|
sessionScopeFilter,
|
|
9
9
|
strictSessionScopeFilter
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TPF6K63M.js";
|
|
11
11
|
import "./chunk-NEAHEC5G.js";
|
|
12
12
|
import "./chunk-KRLOFIPI.js";
|
|
13
13
|
import "./chunk-R4M6XCMU.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-4FLUOZTR.js";
|
|
10
10
|
import {
|
|
11
11
|
AUTO_WAKE_MAX_RETRIES
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LPOJ37VO.js";
|
|
13
13
|
import {
|
|
14
14
|
isRerankerAvailable,
|
|
15
15
|
rerankWithScores
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-GU56L7OY.js";
|
|
29
29
|
import {
|
|
30
30
|
listRecentSessionEvents
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-CPFXKD2L.js";
|
|
32
32
|
import {
|
|
33
33
|
analyzeBlastRadius,
|
|
34
34
|
buildCodeContextIndex,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
import {
|
|
54
54
|
createOrRefreshResumeTask,
|
|
55
55
|
init_capacity_monitor
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-IJ3RKFK5.js";
|
|
57
57
|
import {
|
|
58
58
|
registerCompleteReminder
|
|
59
59
|
} from "./chunk-O4VFZRA5.js";
|
|
@@ -62,16 +62,16 @@ import {
|
|
|
62
62
|
} from "./chunk-WPOA7XAE.js";
|
|
63
63
|
import {
|
|
64
64
|
registerSendMessage
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-32G3EFPM.js";
|
|
66
66
|
import {
|
|
67
67
|
registerCreateTask
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-6DFWHIHJ.js";
|
|
69
69
|
import {
|
|
70
70
|
registerListTasks
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-FAM2Q7PD.js";
|
|
72
72
|
import {
|
|
73
73
|
registerUpdateTask
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-FYAD2TDL.js";
|
|
75
75
|
import {
|
|
76
76
|
registerCreateReminder
|
|
77
77
|
} from "./chunk-P4HIF72O.js";
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
} from "./chunk-4Y6QZBEO.js";
|
|
86
86
|
import {
|
|
87
87
|
status
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-AH2Y2KXR.js";
|
|
89
89
|
import {
|
|
90
90
|
TOKENS_PER_IDLE_MINUTE,
|
|
91
91
|
countKillsSince,
|
|
@@ -168,7 +168,7 @@ import {
|
|
|
168
168
|
import {
|
|
169
169
|
init_tasks,
|
|
170
170
|
updateTask
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-B7VRSSWI.js";
|
|
172
172
|
import {
|
|
173
173
|
fastDbInit
|
|
174
174
|
} from "./chunk-CURJUF3W.js";
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
import {
|
|
188
188
|
hybridSearch,
|
|
189
189
|
recentRecords
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-JJTPKTDU.js";
|
|
191
191
|
import {
|
|
192
192
|
getActiveAgent
|
|
193
193
|
} from "./chunk-ZTZQ5A6B.js";
|
|
@@ -202,7 +202,7 @@ import {
|
|
|
202
202
|
import {
|
|
203
203
|
resolveTask,
|
|
204
204
|
writeCheckpoint
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-T7RQCLMY.js";
|
|
206
206
|
import {
|
|
207
207
|
init_task_scope,
|
|
208
208
|
init_tmux_routing,
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
sessionScopeFilter,
|
|
211
211
|
strictSessionScopeFilter,
|
|
212
212
|
tmux_routing_exports
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-TPF6K63M.js";
|
|
214
214
|
import {
|
|
215
215
|
init_session_registry,
|
|
216
216
|
listSessions
|
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
createNewTrigger,
|
|
244
244
|
isScheduledTrigger,
|
|
245
245
|
loadTriggers
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-3R3R4NGI.js";
|
|
247
247
|
import {
|
|
248
248
|
pushConversationToCRM
|
|
249
249
|
} from "./chunk-GCNWCYJI.js";
|
|
@@ -2009,7 +2009,7 @@ function registerResumeEmployee(server) {
|
|
|
2009
2009
|
};
|
|
2010
2010
|
}
|
|
2011
2011
|
try {
|
|
2012
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2012
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-5IJGRPTA.js");
|
|
2013
2013
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2014
2014
|
for (const row of openTasks.rows) {
|
|
2015
2015
|
const status2 = String(row.status);
|
|
@@ -4770,7 +4770,7 @@ async function getAgentSessionLoad() {
|
|
|
4770
4770
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
4771
4771
|
}
|
|
4772
4772
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
4773
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
4773
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-AP57GDDD.js");
|
|
4774
4774
|
const client = getClient2();
|
|
4775
4775
|
const scope = sessionScopeFilter2();
|
|
4776
4776
|
for (const s of liveAgentSessions) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask,
|
|
3
3
|
init_tasks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B7VRSSWI.js";
|
|
5
5
|
import {
|
|
6
6
|
getActiveAgent
|
|
7
7
|
} from "./chunk-ZTZQ5A6B.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
ensureEmployee,
|
|
10
10
|
init_tmux_routing,
|
|
11
11
|
resolveExeSession
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TPF6K63M.js";
|
|
13
13
|
import {
|
|
14
14
|
getLicenseSync,
|
|
15
15
|
init_plan_limits
|
|
@@ -108,6 +108,21 @@ function registerCreateTask(server) {
|
|
|
108
108
|
try {
|
|
109
109
|
const exeSession = resolveExeSession();
|
|
110
110
|
if (exeSession) {
|
|
111
|
+
const callerTmux = process.env.EXE_SESSION_NAME || process.env.EXE_SESSION || "";
|
|
112
|
+
const callerRoot = callerTmux.includes("-") ? callerTmux.split("-").pop() ?? "" : callerTmux;
|
|
113
|
+
if (callerRoot && exeSession !== callerRoot && callerRoot !== exeSession) {
|
|
114
|
+
process.stderr.write(
|
|
115
|
+
`[create_task] SESSION ISOLATION BLOCKED: caller is "${callerRoot}" but scope resolved to "${exeSession}". Refusing cross-session dispatch. Task created but NOT dispatched.
|
|
116
|
+
`
|
|
117
|
+
);
|
|
118
|
+
dispatchStatus = `
|
|
119
|
+
Warning: \u26A0\uFE0F Session isolation \u2014 task created but NOT dispatched (caller ${callerRoot} \u2260 scope ${exeSession})`;
|
|
120
|
+
return {
|
|
121
|
+
content: [{ type: "text", text: `Task created: ${task.id}
|
|
122
|
+
File: ${task.taskFile}
|
|
123
|
+
Assigned to: ${task.assignedTo} [${task.priority.toUpperCase()}]${dispatchStatus}` }]
|
|
124
|
+
};
|
|
125
|
+
}
|
|
111
126
|
const { isMultiInstance } = await import("./lib/employees.js");
|
|
112
127
|
const useAutoInstance = isMultiInstance(assigned_to);
|
|
113
128
|
const { loadConfigSync } = await import("./lib/config.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiAgentOrchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LYTLP6VH.js";
|
|
4
4
|
import {
|
|
5
5
|
createQuietRenderer,
|
|
6
6
|
createTerminalRenderer,
|
|
@@ -332,7 +332,7 @@ function createExeOSHooks(config) {
|
|
|
332
332
|
async onSubagentStop(_reason) {
|
|
333
333
|
try {
|
|
334
334
|
const { getClient } = await import("./lib/database.js");
|
|
335
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
335
|
+
const { sessionScopeFilter } = await import("./task-scope-AP57GDDD.js");
|
|
336
336
|
const client = getClient();
|
|
337
337
|
const ehScope = sessionScopeFilter();
|
|
338
338
|
const tasks = await client.execute({
|
|
@@ -424,7 +424,7 @@ function createExeOSHooks(config) {
|
|
|
424
424
|
try {
|
|
425
425
|
const { writeMemory, flushBatch } = await import("./lib/store.js");
|
|
426
426
|
const { getClient } = await import("./lib/database.js");
|
|
427
|
-
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-
|
|
427
|
+
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-AP57GDDD.js");
|
|
428
428
|
const client = getClient();
|
|
429
429
|
const cpScope = cpScopeFilter();
|
|
430
430
|
const tasks = await client.execute({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_session_scope,
|
|
3
3
|
session_scope_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RGZFNM54.js";
|
|
5
5
|
import {
|
|
6
6
|
createTaskCore,
|
|
7
7
|
deleteTaskCore,
|
|
8
8
|
init_tasks_crud,
|
|
9
9
|
updateTaskStatus
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-T7RQCLMY.js";
|
|
11
11
|
import {
|
|
12
12
|
cleanupReviewFile,
|
|
13
13
|
employeeSessionName,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
sendIntercom,
|
|
23
23
|
sessionScopeFilter,
|
|
24
24
|
writeNotification
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TPF6K63M.js";
|
|
26
26
|
import {
|
|
27
27
|
getTransport,
|
|
28
28
|
init_transport
|
|
@@ -326,7 +326,7 @@ async function updateTask(input) {
|
|
|
326
326
|
await markTaskNotificationsRead(taskFile);
|
|
327
327
|
if (input.status === "needs_review" && !isCoordinator) {
|
|
328
328
|
try {
|
|
329
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
329
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-DEKUYVRR.js");
|
|
330
330
|
await writeNotification2({
|
|
331
331
|
agentId: String(row.assigned_to),
|
|
332
332
|
agentRole: String(row.assigned_to),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_tasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B7VRSSWI.js";
|
|
4
4
|
import {
|
|
5
5
|
getProjectName,
|
|
6
6
|
init_project_name
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-ZTZQ5A6B.js";
|
|
11
11
|
import {
|
|
12
12
|
listTasks
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-T7RQCLMY.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/list-tasks.ts
|
|
16
16
|
init_tasks();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_tasks,
|
|
3
3
|
updateTask
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B7VRSSWI.js";
|
|
5
5
|
import {
|
|
6
6
|
TASK_ALREADY_CLAIMED_PREFIX,
|
|
7
7
|
init_tasks_crud,
|
|
8
8
|
resolveTask
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-T7RQCLMY.js";
|
|
10
10
|
import {
|
|
11
11
|
getClient,
|
|
12
12
|
init_database
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_task_scope,
|
|
3
3
|
sessionScopeFilter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TPF6K63M.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/git-task-sweep.ts
|
|
7
7
|
init_task_scope();
|
|
@@ -180,7 +180,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
180
180
|
}
|
|
181
181
|
if (!dryRun) {
|
|
182
182
|
try {
|
|
183
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
183
|
+
const { updateTaskStatus } = await import("./tasks-crud-5IJGRPTA.js");
|
|
184
184
|
await updateTaskStatus({
|
|
185
185
|
taskId: task.id,
|
|
186
186
|
status: "needs_review",
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
resolveExeSession,
|
|
7
7
|
sendIntercom,
|
|
8
8
|
strictSessionScopeFilter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TPF6K63M.js";
|
|
10
10
|
import {
|
|
11
11
|
getClient,
|
|
12
12
|
init_database
|
|
@@ -142,7 +142,11 @@ async function deliverLocalMessage(messageId) {
|
|
|
142
142
|
args: [now, messageId]
|
|
143
143
|
});
|
|
144
144
|
return true;
|
|
145
|
-
} catch {
|
|
145
|
+
} catch (err) {
|
|
146
|
+
process.stderr.write(
|
|
147
|
+
`[messaging] delivery failed for message ${messageId}: ${err instanceof Error ? err.message : String(err)}
|
|
148
|
+
`
|
|
149
|
+
);
|
|
146
150
|
const newRetryCount = msg.retryCount + 1;
|
|
147
151
|
if (newRetryCount >= MAX_RETRIES) {
|
|
148
152
|
await markFailed(messageId, "session unavailable after 10 retries", msg.sessionScope);
|
|
@@ -152,7 +152,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
152
152
|
let entityBoostRan = false;
|
|
153
153
|
if (merged.length > 0) {
|
|
154
154
|
try {
|
|
155
|
-
const { applyEntityBoost } = await import("./entity-boost-
|
|
155
|
+
const { applyEntityBoost } = await import("./entity-boost-CSKKVLPV.js");
|
|
156
156
|
const boosted = await applyEntityBoost(merged, effectiveQuery, getClient());
|
|
157
157
|
merged = boosted.results;
|
|
158
158
|
graphContextMap = boosted.graphContext;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createTaskCore,
|
|
6
6
|
init_tasks_crud
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-T7RQCLMY.js";
|
|
8
8
|
import {
|
|
9
9
|
employeeSessionName,
|
|
10
10
|
ensureEmployee,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
init_tmux_routing,
|
|
14
14
|
isEmployeeAlive,
|
|
15
15
|
sessionScopeFilter
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TPF6K63M.js";
|
|
17
17
|
import {
|
|
18
18
|
getCoordinatorName,
|
|
19
19
|
init_employees
|