@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.
Files changed (91) hide show
  1. package/dist/bin/cleanup-stale-review-tasks.js +1 -1
  2. package/dist/bin/cli.js +1 -1
  3. package/dist/bin/exe-boot.js +1 -1
  4. package/dist/bin/exe-dispatch.js +2 -2
  5. package/dist/bin/exe-forget.js +1 -1
  6. package/dist/bin/exe-gateway.js +1 -1
  7. package/dist/bin/exe-heartbeat.js +1 -1
  8. package/dist/bin/exe-new-employee.js +1 -1
  9. package/dist/bin/exe-pending-messages.js +2 -2
  10. package/dist/bin/exe-pending-notifications.js +1 -1
  11. package/dist/bin/exe-pending-reviews.js +1 -1
  12. package/dist/bin/exe-search.js +1 -1
  13. package/dist/bin/exe-session-cleanup.js +4 -4
  14. package/dist/bin/exe-status.js +2 -2
  15. package/dist/bin/git-sweep.js +2 -2
  16. package/dist/bin/install.js +1 -1
  17. package/dist/bin/intercom-check.js +2 -2
  18. package/dist/bin/scan-tasks.js +1 -1
  19. package/dist/bin/setup.js +1 -1
  20. package/dist/{capacity-monitor-3GZIHLB4.js → capacity-monitor-4CKMNAVR.js} +2 -2
  21. package/dist/{catchup-brief-67QDCINS.js → catchup-brief-W3ALZQPL.js} +2 -2
  22. package/dist/{chunk-WMC3TXJF.js → chunk-32G3EFPM.js} +1 -1
  23. package/dist/{chunk-ZBY4AUD4.js → chunk-532HQPGJ.js} +15 -15
  24. package/dist/{chunk-HVRTW3OP.js → chunk-6DFWHIHJ.js} +17 -2
  25. package/dist/{chunk-E2Q4Y22A.js → chunk-AH2Y2KXR.js} +1 -1
  26. package/dist/{chunk-MILTNDZH.js → chunk-AOOJAK6B.js} +3 -3
  27. package/dist/{chunk-MPURH6JI.js → chunk-B7VRSSWI.js} +4 -4
  28. package/dist/{chunk-LVNMOVGD.js → chunk-CPFXKD2L.js} +1 -1
  29. package/dist/{chunk-MJAE4NB7.js → chunk-EUYXAZBB.js} +1 -1
  30. package/dist/{chunk-B4TT2QQA.js → chunk-FAM2Q7PD.js} +2 -2
  31. package/dist/{chunk-7RK3AYJE.js → chunk-FYAD2TDL.js} +2 -2
  32. package/dist/{chunk-NZLCDI6Y.js → chunk-GM7YLJUV.js} +2 -2
  33. package/dist/{chunk-RJZMRZNV.js → chunk-HG4XDTSW.js} +6 -2
  34. package/dist/{chunk-JN44LQ53.js → chunk-IJ3RKFK5.js} +1 -1
  35. package/dist/{chunk-DL52JPGF.js → chunk-JJTPKTDU.js} +1 -1
  36. package/dist/{chunk-CFIM43JH.js → chunk-LPOJ37VO.js} +1 -1
  37. package/dist/{chunk-L4X5EUHR.js → chunk-LYTLP6VH.js} +2 -2
  38. package/dist/{chunk-P3CVUMEH.js → chunk-QUYZMLWE.js} +1 -1
  39. package/dist/{chunk-MVBWW2EO.js → chunk-RGZFNM54.js} +1 -1
  40. package/dist/{chunk-2QD7KBJN.js → chunk-T7RQCLMY.js} +12 -3
  41. package/dist/{chunk-N7L33TED.js → chunk-TPF6K63M.js} +1 -1
  42. package/dist/{chunk-MLCUPTP7.js → chunk-ZHMQDTGE.js} +8 -4
  43. package/dist/{crm-webhook-OAFTLJYA.js → crm-webhook-EY6Q2CBV.js} +2 -2
  44. package/dist/{cto-delegation-gate-XWHZCUJH.js → cto-delegation-gate-E7MTSILA.js} +1 -1
  45. package/dist/{daemon-orchestration-2C3TVOHO.js → daemon-orchestration-YAF22VX4.js} +2 -2
  46. package/dist/{entity-boost-IOER4VRR.js → entity-boost-CSKKVLPV.js} +5 -1
  47. package/dist/gateway/index.js +3 -3
  48. package/dist/{git-task-sweep-UEOTXRW4.js → git-task-sweep-WQ4WXMSM.js} +2 -2
  49. package/dist/hooks/bug-report-worker.js +4 -4
  50. package/dist/hooks/codex-stop-task-finalizer.js +4 -4
  51. package/dist/hooks/commit-complete.js +3 -3
  52. package/dist/hooks/error-recall.js +1 -1
  53. package/dist/hooks/ingest.js +1 -1
  54. package/dist/hooks/post-compact.js +1 -1
  55. package/dist/hooks/post-tool-combined.js +1 -1
  56. package/dist/hooks/pre-compact.js +2 -2
  57. package/dist/hooks/pre-tool-use.js +3 -3
  58. package/dist/hooks/prompt-submit.js +4 -4
  59. package/dist/hooks/session-end.js +5 -5
  60. package/dist/hooks/session-start.js +2 -2
  61. package/dist/hooks/stop.js +2 -2
  62. package/dist/hooks/subagent-stop.js +1 -1
  63. package/dist/hooks/summary-worker.js +2 -2
  64. package/dist/index.js +7 -7
  65. package/dist/lib/exe-daemon.js +13 -9
  66. package/dist/lib/hybrid-search.js +1 -1
  67. package/dist/lib/messaging.js +2 -2
  68. package/dist/lib/session-wrappers.js +1 -1
  69. package/dist/lib/tasks.js +4 -4
  70. package/dist/lib/tmux-routing.js +1 -1
  71. package/dist/mcp/register-tools.js +16 -16
  72. package/dist/mcp/server.js +16 -16
  73. package/dist/mcp/tools/create-task.js +5 -5
  74. package/dist/mcp/tools/list-tasks.js +5 -5
  75. package/dist/mcp/tools/send-message.js +3 -3
  76. package/dist/mcp/tools/update-task.js +5 -5
  77. package/dist/{notifications-CJFULBMN.js → notifications-DEKUYVRR.js} +1 -1
  78. package/dist/{orchestrator-RXIPT6PZ.js → orchestrator-AB5C2MK5.js} +3 -3
  79. package/dist/runtime/index.js +4 -4
  80. package/dist/{session-events-TQ6S5KQN.js → session-events-IZPJPGOZ.js} +2 -2
  81. package/dist/{session-scope-3MYK3YRV.js → session-scope-G327KI66.js} +2 -2
  82. package/dist/{setup-wizard-ZJ7UCRBP.js → setup-wizard-QJ4LNQ7T.js} +1 -1
  83. package/dist/{task-scope-MUU4KXE6.js → task-scope-AP57GDDD.js} +1 -1
  84. package/dist/{tasks-crud-PMLK3MM4.js → tasks-crud-5IJGRPTA.js} +2 -2
  85. package/dist/{tasks-review-56LVKKNL.js → tasks-review-47CZWQQN.js} +1 -1
  86. package/dist/tui/App.js +7 -7
  87. package/dist/{tui-data-SB45REYU.js → tui-data-SRCFI4E6.js} +1 -1
  88. package/package.json +1 -1
  89. /package/dist/{chunk-AFYIYM2K.js → chunk-3R3R4NGI.js} +0 -0
  90. /package/dist/{chunk-4CMVLKEI.js → chunk-JTQEMISA.js} +0 -0
  91. /package/dist/{chunk-4QNPADWL.js → chunk-P5O62PHD.js} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  init_task_scope,
7
7
  sessionScopeFilter
8
- } from "../chunk-N7L33TED.js";
8
+ } from "../chunk-TPF6K63M.js";
9
9
  import "../chunk-NEAHEC5G.js";
10
10
  import "../chunk-KRLOFIPI.js";
11
11
  import "../chunk-R4M6XCMU.js";
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-ZJ7UCRBP.js");
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");
@@ -28,7 +28,7 @@ import {
28
28
  readUnreadNotifications,
29
29
  resolveExeSession,
30
30
  sessionScopeFilter
31
- } from "../chunk-N7L33TED.js";
31
+ } from "../chunk-TPF6K63M.js";
32
32
  import "../chunk-NEAHEC5G.js";
33
33
  import {
34
34
  init_session_registry,
@@ -5,12 +5,12 @@ import {
5
5
  import {
6
6
  createTaskCore,
7
7
  init_tasks_crud
8
- } from "../chunk-2QD7KBJN.js";
8
+ } from "../chunk-T7RQCLMY.js";
9
9
  import {
10
10
  ensureEmployee,
11
11
  init_tmux_routing,
12
12
  resolveExeSession
13
- } from "../chunk-N7L33TED.js";
13
+ } from "../chunk-TPF6K63M.js";
14
14
  import "../chunk-NEAHEC5G.js";
15
15
  import "../chunk-KRLOFIPI.js";
16
16
  import "../chunk-R4M6XCMU.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "../chunk-CURJUF3W.js";
5
5
  import {
6
6
  lightweightSearch
7
- } from "../chunk-DL52JPGF.js";
7
+ } from "../chunk-JJTPKTDU.js";
8
8
  import "../chunk-HSRM6PNM.js";
9
9
  import "../chunk-NHK5KW6Y.js";
10
10
  import "../chunk-WZQ4CPRG.js";
@@ -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-OAFTLJYA.js");
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");
@@ -9,7 +9,7 @@ import {
9
9
  isExeSession,
10
10
  listPendingReviews,
11
11
  strictSessionScopeFilter
12
- } from "../chunk-N7L33TED.js";
12
+ } from "../chunk-TPF6K63M.js";
13
13
  import "../chunk-NEAHEC5G.js";
14
14
  import "../chunk-KRLOFIPI.js";
15
15
  import "../chunk-R4M6XCMU.js";
@@ -16,7 +16,7 @@ import "../chunk-A2NZP64U.js";
16
16
  import "../chunk-4NYQAS33.js";
17
17
  import {
18
18
  generateSessionWrappers
19
- } from "../chunk-MLCUPTP7.js";
19
+ } from "../chunk-ZHMQDTGE.js";
20
20
  import {
21
21
  hireEmployee,
22
22
  init_employees,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getPendingMessages,
3
3
  markRead
4
- } from "../chunk-RJZMRZNV.js";
4
+ } from "../chunk-HG4XDTSW.js";
5
5
  import {
6
6
  fastDbInit
7
7
  } from "../chunk-CURJUF3W.js";
8
- import "../chunk-N7L33TED.js";
8
+ import "../chunk-TPF6K63M.js";
9
9
  import "../chunk-NEAHEC5G.js";
10
10
  import "../chunk-KRLOFIPI.js";
11
11
  import "../chunk-R4M6XCMU.js";
@@ -6,7 +6,7 @@ import {
6
6
  init_notifications,
7
7
  markAsRead,
8
8
  readUnreadNotifications
9
- } from "../chunk-N7L33TED.js";
9
+ } from "../chunk-TPF6K63M.js";
10
10
  import "../chunk-NEAHEC5G.js";
11
11
  import "../chunk-KRLOFIPI.js";
12
12
  import "../chunk-R4M6XCMU.js";
@@ -11,7 +11,7 @@ import {
11
11
  isExeSession,
12
12
  isStale,
13
13
  listPendingReviews
14
- } from "../chunk-N7L33TED.js";
14
+ } from "../chunk-TPF6K63M.js";
15
15
  import "../chunk-NEAHEC5G.js";
16
16
  import "../chunk-KRLOFIPI.js";
17
17
  import "../chunk-R4M6XCMU.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  hybridSearch,
4
4
  lightweightSearch
5
- } from "../chunk-DL52JPGF.js";
5
+ } from "../chunk-JJTPKTDU.js";
6
6
  import {
7
7
  initStore
8
8
  } from "../chunk-HSRM6PNM.js";
@@ -12,7 +12,7 @@ import "../chunk-NHK5KW6Y.js";
12
12
  import {
13
13
  init_task_scope,
14
14
  sessionScopeFilter
15
- } from "../chunk-N7L33TED.js";
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-56LVKKNL.js");
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-UEOTXRW4.js");
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-UEOTXRW4.js");
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({
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  status
4
- } from "../chunk-E2Q4Y22A.js";
4
+ } from "../chunk-AH2Y2KXR.js";
5
5
  import "../chunk-DC4ZD76Y.js";
6
6
  import "../chunk-CURJUF3W.js";
7
- import "../chunk-N7L33TED.js";
7
+ import "../chunk-TPF6K63M.js";
8
8
  import "../chunk-NEAHEC5G.js";
9
9
  import "../chunk-KRLOFIPI.js";
10
10
  import "../chunk-R4M6XCMU.js";
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sweepTasks
4
- } from "../chunk-NZLCDI6Y.js";
5
- import "../chunk-N7L33TED.js";
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";
@@ -9,7 +9,7 @@ import {
9
9
  import "../chunk-SPKE5ANC.js";
10
10
  import {
11
11
  generateSessionWrappers
12
- } from "../chunk-MLCUPTP7.js";
12
+ } from "../chunk-ZHMQDTGE.js";
13
13
  import "../chunk-L3TB7CC3.js";
14
14
  import "../chunk-OFK72LTZ.js";
15
15
  import "../chunk-6BFIFI5F.js";
@@ -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-56LVKKNL.js");
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-CJFULBMN.js");
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);
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  init_task_scope,
4
4
  sessionScopeFilter
5
- } from "../chunk-N7L33TED.js";
5
+ } from "../chunk-TPF6K63M.js";
6
6
  import "../chunk-NEAHEC5G.js";
7
7
  import "../chunk-KRLOFIPI.js";
8
8
  import "../chunk-R4M6XCMU.js";
package/dist/bin/setup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runSetupWizard
4
- } from "../chunk-4QNPADWL.js";
4
+ } from "../chunk-P5O62PHD.js";
5
5
  import "../chunk-XUHFQHGZ.js";
6
6
  import "../chunk-KVPG5UT6.js";
7
7
  import "../chunk-X2IMCCM5.js";
@@ -9,9 +9,9 @@ import {
9
9
  isAtCapacity,
10
10
  isWithinRelaunchCooldown,
11
11
  pollCapacityDead
12
- } from "./chunk-JN44LQ53.js";
12
+ } from "./chunk-IJ3RKFK5.js";
13
13
  import "./chunk-IHDHL5ML.js";
14
- import "./chunk-N7L33TED.js";
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-DL52JPGF.js";
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-N7L33TED.js";
10
+ } from "./chunk-TPF6K63M.js";
11
11
  import "./chunk-NEAHEC5G.js";
12
12
  import "./chunk-KRLOFIPI.js";
13
13
  import "./chunk-R4M6XCMU.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sendMessage
3
- } from "./chunk-RJZMRZNV.js";
3
+ } from "./chunk-HG4XDTSW.js";
4
4
  import {
5
5
  getActiveAgent
6
6
  } from "./chunk-ZTZQ5A6B.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-4FLUOZTR.js";
10
10
  import {
11
11
  AUTO_WAKE_MAX_RETRIES
12
- } from "./chunk-CFIM43JH.js";
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-LVNMOVGD.js";
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-JN44LQ53.js";
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-WMC3TXJF.js";
65
+ } from "./chunk-32G3EFPM.js";
66
66
  import {
67
67
  registerCreateTask
68
- } from "./chunk-HVRTW3OP.js";
68
+ } from "./chunk-6DFWHIHJ.js";
69
69
  import {
70
70
  registerListTasks
71
- } from "./chunk-B4TT2QQA.js";
71
+ } from "./chunk-FAM2Q7PD.js";
72
72
  import {
73
73
  registerUpdateTask
74
- } from "./chunk-7RK3AYJE.js";
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-E2Q4Y22A.js";
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-MPURH6JI.js";
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-DL52JPGF.js";
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-2QD7KBJN.js";
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-N7L33TED.js";
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-AFYIYM2K.js";
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-PMLK3MM4.js");
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-MUU4KXE6.js");
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-MPURH6JI.js";
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-N7L33TED.js";
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");
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  init_task_scope,
13
13
  sessionScopeFilter
14
- } from "./chunk-N7L33TED.js";
14
+ } from "./chunk-TPF6K63M.js";
15
15
  import {
16
16
  getClient,
17
17
  init_database
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MultiAgentOrchestrator
3
- } from "./chunk-L4X5EUHR.js";
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-MUU4KXE6.js");
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-MUU4KXE6.js");
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-MVBWW2EO.js";
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-2QD7KBJN.js";
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-N7L33TED.js";
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-CJFULBMN.js");
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),
@@ -6,7 +6,7 @@ import {
6
6
  getCurrentSessionScope,
7
7
  init_task_scope,
8
8
  strictSessionScopeFilter
9
- } from "./chunk-N7L33TED.js";
9
+ } from "./chunk-TPF6K63M.js";
10
10
 
11
11
  // src/lib/session-events.ts
12
12
  init_task_scope();
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  createCRMWebhookHandler,
9
9
  parseTwentyWebhook
10
- } from "./chunk-P3CVUMEH.js";
10
+ } from "./chunk-QUYZMLWE.js";
11
11
  import {
12
12
  WhatsAppAdapter
13
13
  } from "./chunk-BU3ID2WT.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_tasks
3
- } from "./chunk-MPURH6JI.js";
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-2QD7KBJN.js";
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-MPURH6JI.js";
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-2QD7KBJN.js";
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-N7L33TED.js";
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-PMLK3MM4.js");
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-N7L33TED.js";
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);
@@ -9,7 +9,7 @@ import {
9
9
  sessionScopeFilter,
10
10
  verifyPaneAtCapacity,
11
11
  writeNotification
12
- } from "./chunk-N7L33TED.js";
12
+ } from "./chunk-TPF6K63M.js";
13
13
  import {
14
14
  init_session_registry,
15
15
  listSessions
@@ -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-IOER4VRR.js");
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;
@@ -14,7 +14,7 @@ import {
14
14
  notifications_exports,
15
15
  sessionScopeFilter,
16
16
  tmux_routing_exports
17
- } from "./chunk-N7L33TED.js";
17
+ } from "./chunk-TPF6K63M.js";
18
18
  import {
19
19
  init_intercom_queue,
20
20
  intercom_queue_exports
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createTaskCore,
6
6
  init_tasks_crud
7
- } from "./chunk-2QD7KBJN.js";
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-N7L33TED.js";
16
+ } from "./chunk-TPF6K63M.js";
17
17
  import {
18
18
  getCoordinatorName,
19
19
  init_employees