@askexenow/exe-os 0.9.216 → 0.9.217

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 (139) hide show
  1. package/deploy/compose/docker-compose.yml +1 -1
  2. package/dist/{backfill-metadata-PZTWTG35.js → backfill-metadata-I6VR7JZ2.js} +1 -1
  3. package/dist/{behaviors-KL2G7ZJ7.js → behaviors-YJ3HEQED.js} +3 -1
  4. package/dist/bin/agentic-ontology-backfill.js +1 -1
  5. package/dist/bin/agentic-reflection-backfill.js +1 -1
  6. package/dist/bin/agentic-semantic-label.js +1 -1
  7. package/dist/bin/backfill-conversations.js +1 -1
  8. package/dist/bin/backfill-responses.js +1 -1
  9. package/dist/bin/backfill-vectors.js +2 -2
  10. package/dist/bin/bulk-sync-postgres.js +1 -1
  11. package/dist/bin/cleanup-stale-review-tasks.js +2 -2
  12. package/dist/bin/cli.js +4 -4
  13. package/dist/bin/exe-assign.js +1 -1
  14. package/dist/bin/exe-boot.js +3 -3
  15. package/dist/bin/exe-dispatch.js +2 -2
  16. package/dist/bin/exe-doctor.js +1 -1
  17. package/dist/bin/exe-export-behaviors.js +4 -4
  18. package/dist/bin/exe-forget.js +3 -3
  19. package/dist/bin/exe-gateway.js +4 -4
  20. package/dist/bin/exe-heartbeat.js +2 -2
  21. package/dist/bin/exe-kill.js +3 -3
  22. package/dist/bin/exe-launch-agent.js +5 -5
  23. package/dist/bin/exe-pending-messages.js +3 -3
  24. package/dist/bin/exe-pending-notifications.js +2 -2
  25. package/dist/bin/exe-pending-reviews.js +2 -2
  26. package/dist/bin/exe-review.js +3 -3
  27. package/dist/bin/exe-search.js +2 -2
  28. package/dist/bin/exe-session-cleanup.js +5 -5
  29. package/dist/bin/exe-start-codex.js +3 -3
  30. package/dist/bin/exe-start-opencode.js +3 -3
  31. package/dist/bin/exe-status.js +3 -3
  32. package/dist/bin/exe-team.js +1 -1
  33. package/dist/bin/git-sweep.js +2 -2
  34. package/dist/bin/graph-backfill.js +1 -1
  35. package/dist/bin/graph-export.js +2 -2
  36. package/dist/bin/import-history.js +1 -1
  37. package/dist/bin/intercom-check.js +4 -4
  38. package/dist/bin/mcp-sessions.js +2 -2
  39. package/dist/bin/orchestration-metrics.js +1 -1
  40. package/dist/bin/scan-tasks.js +2 -2
  41. package/dist/bin/shard-migrate.js +1 -1
  42. package/dist/{capacity-monitor-2BQAYPLD.js → capacity-monitor-XFMZSJDB.js} +2 -2
  43. package/dist/{catchup-brief-WJ7CNOQH.js → catchup-brief-D5IZFZDO.js} +3 -3
  44. package/dist/{chunk-TBNDW7US.js → chunk-2DRWIXOO.js} +1 -1
  45. package/dist/{chunk-VNP3SECD.js → chunk-4ANCHFE2.js} +1 -1
  46. package/dist/{chunk-YWLO73DO.js → chunk-5G643UWZ.js} +14 -4
  47. package/dist/{chunk-JFH5WWP7.js → chunk-64DYFA5X.js} +2 -2
  48. package/dist/{chunk-YXYJG5JX.js → chunk-6UY62EGD.js} +4 -4
  49. package/dist/{chunk-PUGYDZ4H.js → chunk-7X6QKJGM.js} +2 -2
  50. package/dist/{chunk-NJTIAI5G.js → chunk-BFLBZGPZ.js} +10 -1
  51. package/dist/{chunk-HZB5RFJI.js → chunk-BN3HRSEU.js} +1 -1
  52. package/dist/{chunk-NUMRCSLX.js → chunk-CUKIMXQ7.js} +1 -1
  53. package/dist/{chunk-34QPI5EB.js → chunk-FXD53Q32.js} +2 -2
  54. package/dist/{chunk-CCKNE7II.js → chunk-GEFZHKEN.js} +1 -1
  55. package/dist/{chunk-545RHWVW.js → chunk-GKNYEJQ3.js} +1 -1
  56. package/dist/{chunk-6GSACZON.js → chunk-HW46Q4AR.js} +4 -4
  57. package/dist/{chunk-IN5UEMCT.js → chunk-IFSAR5IX.js} +3 -3
  58. package/dist/{chunk-47N7BTNW.js → chunk-NEGJAEZ7.js} +1 -1
  59. package/dist/{chunk-F6T67NYS.js → chunk-O6LFXATW.js} +1 -1
  60. package/dist/{chunk-5U6UANGP.js → chunk-PKIOJQ2N.js} +1 -1
  61. package/dist/{chunk-NWLHYYHG.js → chunk-QOY6CTHV.js} +1 -1
  62. package/dist/{chunk-J7GQ24E3.js → chunk-R2MZDZTQ.js} +1 -1
  63. package/dist/{chunk-755ADH4S.js → chunk-RSHVFBKD.js} +4 -4
  64. package/dist/{chunk-AJJKDHAD.js → chunk-RTGN42GD.js} +1 -1
  65. package/dist/{chunk-AI4WYA6P.js → chunk-S2T7CE4P.js} +1 -1
  66. package/dist/{chunk-MUPXVKIR.js → chunk-SDQSOQOE.js} +2 -2
  67. package/dist/{chunk-XDDBA7QE.js → chunk-T43SC2XX.js} +1 -1
  68. package/dist/{chunk-47ASPR6R.js → chunk-UO3IEPSY.js} +675 -586
  69. package/dist/{chunk-GSBNSF67.js → chunk-WEJ45ZFF.js} +1 -1
  70. package/dist/{chunk-H6IQFGIG.js → chunk-XPKACO5A.js} +3 -3
  71. package/dist/{chunk-3FBZNRRS.js → chunk-YJNRRQOG.js} +2 -2
  72. package/dist/{crm-webhook-6EPM6GCJ.js → crm-webhook-WMAW6ZT2.js} +2 -2
  73. package/dist/{cto-delegation-gate-BU6HH4CY.js → cto-delegation-gate-YNWMQEQB.js} +1 -1
  74. package/dist/{daemon-orchestration-R2MVQ4CF.js → daemon-orchestration-5KUKQOZ4.js} +3 -3
  75. package/dist/{exe-export-KEL4ZR25.js → exe-export-RAYK76SO.js} +1 -1
  76. package/dist/{exe-import-ICJYV22F.js → exe-import-SAJBGUN5.js} +1 -1
  77. package/dist/{fast-db-init-6D433NQO.js → fast-db-init-5VDTKVKX.js} +1 -1
  78. package/dist/gateway/index.js +5 -5
  79. package/dist/{git-task-sweep-VIGVG2RY.js → git-task-sweep-GED54WTZ.js} +2 -2
  80. package/dist/hooks/bug-report-worker.js +3 -3
  81. package/dist/hooks/codex-stop-task-finalizer.js +3 -3
  82. package/dist/hooks/commit-complete.js +4 -4
  83. package/dist/hooks/error-recall.js +2 -2
  84. package/dist/hooks/ingest.js +2 -2
  85. package/dist/hooks/instructions-loaded.js +1 -1
  86. package/dist/hooks/manifest.json +18 -18
  87. package/dist/hooks/notification.js +1 -1
  88. package/dist/hooks/post-compact.js +2 -2
  89. package/dist/hooks/post-tool-combined.js +2 -2
  90. package/dist/hooks/pre-compact.js +3 -3
  91. package/dist/hooks/pre-tool-use.js +6 -6
  92. package/dist/hooks/prompt-submit.js +10 -10
  93. package/dist/hooks/session-end.js +152 -20
  94. package/dist/hooks/session-start.js +4 -4
  95. package/dist/hooks/stop.js +5 -5
  96. package/dist/hooks/subagent-stop.js +2 -2
  97. package/dist/hooks/summary-worker.js +5 -5
  98. package/dist/index.js +8 -8
  99. package/dist/lib/consolidation.js +2 -2
  100. package/dist/lib/exe-daemon.js +24 -14
  101. package/dist/lib/hybrid-search.js +2 -2
  102. package/dist/lib/messaging.js +2 -2
  103. package/dist/lib/schedules.js +2 -2
  104. package/dist/lib/skill-learning.js +2 -2
  105. package/dist/lib/store.js +1 -1
  106. package/dist/lib/tasks.js +2 -2
  107. package/dist/lib/tmux-routing.js +1 -1
  108. package/dist/mcp/register-tools.js +24 -24
  109. package/dist/mcp/server.js +25 -25
  110. package/dist/mcp/tools/create-task.js +3 -3
  111. package/dist/mcp/tools/deactivate-behavior.js +2 -2
  112. package/dist/mcp/tools/list-tasks.js +3 -3
  113. package/dist/mcp/tools/send-message.js +3 -3
  114. package/dist/mcp/tools/update-task.js +3 -3
  115. package/dist/{notifications-TNSU4SCZ.js → notifications-SCHILQCQ.js} +1 -1
  116. package/dist/{orchestrator-EYAPHOOD.js → orchestrator-NCEFZF32.js} +2 -2
  117. package/dist/{reranker-UMCHVO3A.js → reranker-QFLVGVRT.js} +1 -1
  118. package/dist/{review-polling-5ZEWTFQL.js → review-polling-ZKYFETP3.js} +2 -2
  119. package/dist/runtime/index.js +3 -3
  120. package/dist/{session-events-ZYNOWIQL.js → session-events-XCNQDXF4.js} +2 -2
  121. package/dist/{session-scope-UCFA2CJP.js → session-scope-FEZQJMD4.js} +1 -1
  122. package/dist/{task-enforcement-XYQN7VBA.js → task-enforcement-HVY36QRD.js} +1 -1
  123. package/dist/{task-scope-52IDTSYX.js → task-scope-ODSOEGTH.js} +1 -1
  124. package/dist/{tasks-crud-ZRB2UNNB.js → tasks-crud-RIUHZJGR.js} +1 -1
  125. package/dist/{tasks-review-DZGRPBMN.js → tasks-review-EBUVFQUJ.js} +1 -1
  126. package/dist/tui/App.js +7 -7
  127. package/dist/{tui-data-XLI7YZ75.js → tui-data-UM6LR4EQ.js} +1 -1
  128. package/dist/{worker-gate-ZS6IY5HM.js → worker-gate-K5YTO2H5.js} +1 -1
  129. package/dist/{workflow-engine-KWRAUF7M.js → workflow-engine-WUU5OZ3N.js} +2 -2
  130. package/package.json +1 -1
  131. package/release-notes.json +47 -47
  132. /package/dist/{chunk-Z3O6UJUX.js → chunk-2IMUAL3X.js} +0 -0
  133. /package/dist/{chunk-6457MEIK.js → chunk-4AJYZFDE.js} +0 -0
  134. /package/dist/{chunk-2333X7A7.js → chunk-DXB3CB2O.js} +0 -0
  135. /package/dist/{chunk-WELKUXEL.js → chunk-KVOTLCAX.js} +0 -0
  136. /package/dist/{chunk-COGICIAL.js → chunk-MQA6K7DH.js} +0 -0
  137. /package/dist/{core-memory-LN22LDJA.js → core-memory-NZOLAIOE.js} +0 -0
  138. /package/dist/{exe-key-ZJMUM57I.js → exe-key-W3CME65M.js} +0 -0
  139. /package/dist/{skill-refinement-CYK53LCM.js → skill-refinement-QHOS6CGQ.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  queryTaskRows
4
- } from "../chunk-6GSACZON.js";
4
+ } from "../chunk-HW46Q4AR.js";
5
5
  import "../chunk-ACOW43IN.js";
6
6
  import "../chunk-QI4IXJN7.js";
7
7
  import "../chunk-B7NO5U7H.js";
@@ -72,7 +72,7 @@ function checkMcpHealth() {
72
72
  }
73
73
  }
74
74
  async function scanFromDb(agentId, tmuxSession, projectName) {
75
- const { fastDbInit } = await import("../fast-db-init-6D433NQO.js");
75
+ const { fastDbInit } = await import("../fast-db-init-5VDTKVKX.js");
76
76
  try {
77
77
  await fastDbInit();
78
78
  } catch (err) {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  disposeStore,
10
10
  initStore
11
- } from "../chunk-Z3O6UJUX.js";
11
+ } from "../chunk-2IMUAL3X.js";
12
12
  import "../chunk-CHCA3ZM2.js";
13
13
  import "../chunk-Y2B6MB3J.js";
14
14
  import "../chunk-F7LU65PQ.js";
@@ -8,9 +8,9 @@ import {
8
8
  isAtCapacity,
9
9
  isWithinRelaunchCooldown,
10
10
  pollCapacityDead
11
- } from "./chunk-CCKNE7II.js";
11
+ } from "./chunk-GEFZHKEN.js";
12
12
  import "./chunk-W7OCXE2L.js";
13
- import "./chunk-6GSACZON.js";
13
+ import "./chunk-HW46Q4AR.js";
14
14
  import "./chunk-ACOW43IN.js";
15
15
  import "./chunk-QI4IXJN7.js";
16
16
  import "./chunk-B7NO5U7H.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  lightweightSearch
3
- } from "./chunk-755ADH4S.js";
4
- import "./chunk-Z3O6UJUX.js";
3
+ } from "./chunk-RSHVFBKD.js";
4
+ import "./chunk-2IMUAL3X.js";
5
5
  import "./chunk-CHCA3ZM2.js";
6
6
  import "./chunk-Y2B6MB3J.js";
7
7
  import "./chunk-F7LU65PQ.js";
8
8
  import {
9
9
  sessionScopeFilter,
10
10
  strictSessionScopeFilter
11
- } from "./chunk-6GSACZON.js";
11
+ } from "./chunk-HW46Q4AR.js";
12
12
  import "./chunk-ACOW43IN.js";
13
13
  import "./chunk-QI4IXJN7.js";
14
14
  import "./chunk-B7NO5U7H.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-S4I3UITZ.js";
4
4
  import {
5
5
  listTasks
6
- } from "./chunk-6GSACZON.js";
6
+ } from "./chunk-HW46Q4AR.js";
7
7
 
8
8
  // src/mcp/tools/list-tasks.ts
9
9
  import { z } from "zod";
@@ -111,7 +111,7 @@ function releaseBackfillLock() {
111
111
  }
112
112
  async function getTaskAwareCapacity() {
113
113
  const { getClient } = await import("./lib/database.js");
114
- const { sessionScopeFilter } = await import("./task-scope-52IDTSYX.js");
114
+ const { sessionScopeFilter } = await import("./task-scope-ODSOEGTH.js");
115
115
  const client = getClient();
116
116
  const scope = sessionScopeFilter();
117
117
  const result = await client.execute({
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-W7OCXE2L.js";
4
4
  import {
5
5
  updateTask
6
- } from "./chunk-IN5UEMCT.js";
6
+ } from "./chunk-IFSAR5IX.js";
7
7
  import {
8
8
  ensureEmployee,
9
9
  extractRootExe,
@@ -14,7 +14,7 @@ import {
14
14
  sessionScopeFilter,
15
15
  strictSessionScopeFilter,
16
16
  writeNotification
17
- } from "./chunk-6GSACZON.js";
17
+ } from "./chunk-HW46Q4AR.js";
18
18
  import {
19
19
  queueIntercom
20
20
  } from "./chunk-QI4IXJN7.js";
@@ -1265,6 +1265,14 @@ var HOOK_PROCESS_PATTERNS = [
1265
1265
  "intercom-check.js",
1266
1266
  "exe-heartbeat-hook.js"
1267
1267
  ];
1268
+ var AGENT_CLI_EXECUTABLES = /* @__PURE__ */ new Set(["claude", "codex", "opencode"]);
1269
+ function getProcessExecutable(args) {
1270
+ const first = args.trim().split(/\s+/)[0] ?? "";
1271
+ return first.split("/").pop() ?? first;
1272
+ }
1273
+ function getProcessCommandPrefix(args) {
1274
+ return args.split(/\s+--system-prompt\b/)[0] ?? args;
1275
+ }
1268
1276
  var ZOMBIE_AGENT_MAX_AGE_SECS = 300;
1269
1277
  function reapZombieAgentProcesses(deps) {
1270
1278
  let liveSessions;
@@ -1490,9 +1498,11 @@ function reapOrphanedMcpProcesses(deps) {
1490
1498
  const etime = match[3];
1491
1499
  const args = match[4];
1492
1500
  if (pid === deps.selfPid) continue;
1493
- const isPpid1Orphan = ppid === 1 && ORPHAN_PATTERNS.some((pat) => args.includes(pat));
1501
+ if (AGENT_CLI_EXECUTABLES.has(getProcessExecutable(args))) continue;
1502
+ const matchScope = getProcessCommandPrefix(args);
1503
+ const isPpid1Orphan = ppid === 1 && ORPHAN_PATTERNS.some((pat) => matchScope.includes(pat));
1494
1504
  const ageSecs = parseEtime(etime);
1495
- const isAgedHookOrphan = ageSecs > ORPHAN_MAX_AGE_SECS && HOOK_PROCESS_PATTERNS.some((pat) => args.includes(pat));
1505
+ const isAgedHookOrphan = ageSecs > ORPHAN_MAX_AGE_SECS && HOOK_PROCESS_PATTERNS.some((pat) => matchScope.includes(pat));
1496
1506
  if (!isPpid1Orphan && !isAgedHookOrphan) continue;
1497
1507
  try {
1498
1508
  deps.killProcess(pid, "SIGTERM");
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  updateTask
3
- } from "./chunk-IN5UEMCT.js";
3
+ } from "./chunk-IFSAR5IX.js";
4
4
  import {
5
5
  TASK_ALREADY_CLAIMED_PREFIX
6
- } from "./chunk-6GSACZON.js";
6
+ } from "./chunk-HW46Q4AR.js";
7
7
 
8
8
  // src/mcp/tools/update-task.ts
9
9
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MultiAgentOrchestrator
3
- } from "./chunk-F6T67NYS.js";
3
+ } from "./chunk-O6LFXATW.js";
4
4
  import {
5
5
  createQuietRenderer,
6
6
  createTerminalRenderer,
@@ -206,7 +206,7 @@ function createExeOSHooks(config) {
206
206
  );
207
207
  }
208
208
  try {
209
- const { listBehaviors } = await import("./behaviors-KL2G7ZJ7.js");
209
+ const { listBehaviors } = await import("./behaviors-YJ3HEQED.js");
210
210
  const behaviors = await listBehaviors(config.agentId, config.projectName, 12);
211
211
  if (behaviors.length > 0) {
212
212
  process.stderr.write(
@@ -327,7 +327,7 @@ function createExeOSHooks(config) {
327
327
  async onSubagentStop(_reason) {
328
328
  try {
329
329
  const { getClient } = await import("./lib/database.js");
330
- const { sessionScopeFilter } = await import("./task-scope-52IDTSYX.js");
330
+ const { sessionScopeFilter } = await import("./task-scope-ODSOEGTH.js");
331
331
  const client = getClient();
332
332
  const ehScope = sessionScopeFilter();
333
333
  const tasks = await client.execute({
@@ -419,7 +419,7 @@ function createExeOSHooks(config) {
419
419
  try {
420
420
  const { writeMemory, flushBatch } = await import("./lib/store.js");
421
421
  const { getClient } = await import("./lib/database.js");
422
- const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-52IDTSYX.js");
422
+ const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-ODSOEGTH.js");
423
423
  const client = getClient();
424
424
  const cpScope = cpScopeFilter();
425
425
  const tasks = await client.execute({
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  createCRMWebhookHandler,
15
15
  parseTwentyWebhook
16
- } from "./chunk-AI4WYA6P.js";
16
+ } from "./chunk-S2T7CE4P.js";
17
17
  import {
18
18
  WhatsAppAdapter
19
19
  } from "./chunk-ECSNSHZ7.js";
@@ -49,7 +49,7 @@ import {
49
49
  retryWithBackoff,
50
50
  routeMessage,
51
51
  validateGatewayConfig
52
- } from "./chunk-XDDBA7QE.js";
52
+ } from "./chunk-T43SC2XX.js";
53
53
  import {
54
54
  getAccountByName,
55
55
  getAccountByPhoneNumberId,
@@ -224,6 +224,14 @@ async function deactivateBehavior(id) {
224
224
  });
225
225
  return (result.rowsAffected ?? 0) > 0;
226
226
  }
227
+ async function reactivateBehavior(id) {
228
+ const client = getClient();
229
+ const result = await client.execute({
230
+ sql: `UPDATE behaviors SET active = 1, updated_at = ? WHERE id = ? AND active = 0`,
231
+ args: [(/* @__PURE__ */ new Date()).toISOString(), id]
232
+ });
233
+ return (result.rowsAffected ?? 0) > 0;
234
+ }
227
235
 
228
236
  export {
229
237
  storeBehavior,
@@ -231,5 +239,6 @@ export {
231
239
  listBehaviorsByDomain,
232
240
  listBehaviorsSince,
233
241
  listSharedSkills,
234
- deactivateBehavior
242
+ deactivateBehavior,
243
+ reactivateBehavior
235
244
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  initStore
3
- } from "./chunk-Z3O6UJUX.js";
3
+ } from "./chunk-2IMUAL3X.js";
4
4
  import {
5
5
  getClient,
6
6
  isInitialized
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAction,
3
3
  substituteTemplate
4
- } from "./chunk-2333X7A7.js";
4
+ } from "./chunk-DXB3CB2O.js";
5
5
 
6
6
  // src/automation/workflow-engine.ts
7
7
  import { randomUUID } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  fastDbInit
3
- } from "./chunk-6457MEIK.js";
3
+ } from "./chunk-4AJYZFDE.js";
4
4
  import {
5
5
  sessionScopeFilter
6
- } from "./chunk-6GSACZON.js";
6
+ } from "./chunk-HW46Q4AR.js";
7
7
  import {
8
8
  formatStatusAll,
9
9
  formatStatusDeep,
@@ -5,7 +5,7 @@ import {
5
5
  sessionScopeFilter,
6
6
  verifyPaneAtCapacity,
7
7
  writeNotification
8
- } from "./chunk-6GSACZON.js";
8
+ } from "./chunk-HW46Q4AR.js";
9
9
  import {
10
10
  listSessions
11
11
  } from "./chunk-B7NO5U7H.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listBehaviors
3
- } from "./chunk-NJTIAI5G.js";
3
+ } from "./chunk-BFLBZGPZ.js";
4
4
  import {
5
5
  loadConfigSync
6
6
  } from "./chunk-WXW3XGWX.js";
@@ -490,7 +490,7 @@ async function createTaskCore(input) {
490
490
  if (isCoordinatorSession) {
491
491
  earlySessionScope = resolved;
492
492
  } else {
493
- const { getSessionProject } = await import("./session-scope-UCFA2CJP.js");
493
+ const { getSessionProject } = await import("./session-scope-FEZQJMD4.js");
494
494
  const sessionProject = getSessionProject(resolved);
495
495
  if (sessionProject && sessionProject !== input.projectName) {
496
496
  scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
@@ -947,7 +947,7 @@ async function updateTaskStatus(input) {
947
947
  } catch {
948
948
  }
949
949
  try {
950
- const { writeNotification: writeNotification2 } = await import("./notifications-TNSU4SCZ.js");
950
+ const { writeNotification: writeNotification2 } = await import("./notifications-SCHILQCQ.js");
951
951
  await writeNotification2({
952
952
  agentId: reviewer,
953
953
  agentRole: isCoordinatorName(reviewer) ? "COO" : "manager",
@@ -1334,7 +1334,7 @@ ${input.result}` : `\u26A0\uFE0F ${warning}`;
1334
1334
  }
1335
1335
  if (input.status === "done" || input.status === "needs_review") {
1336
1336
  try {
1337
- const { incrementSkillSuccess } = await import("./skill-refinement-CYK53LCM.js");
1337
+ const { incrementSkillSuccess } = await import("./skill-refinement-QHOS6CGQ.js");
1338
1338
  await incrementSkillSuccess(
1339
1339
  String(row.assigned_to),
1340
1340
  row.project_name ? String(row.project_name) : null
@@ -2463,7 +2463,7 @@ async function verifyPaneAtCapacity(sessionName) {
2463
2463
  reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
2464
2464
  };
2465
2465
  }
2466
- const { isAtCapacity } = await import("./capacity-monitor-2BQAYPLD.js");
2466
+ const { isAtCapacity } = await import("./capacity-monitor-XFMZSJDB.js");
2467
2467
  if (!isAtCapacity(pane)) {
2468
2468
  return {
2469
2469
  atCapacity: false,
@@ -11,7 +11,7 @@ import {
11
11
  sessionScopeFilter,
12
12
  updateTaskStatus,
13
13
  writeNotification
14
- } from "./chunk-6GSACZON.js";
14
+ } from "./chunk-HW46Q4AR.js";
15
15
  import {
16
16
  getTransport
17
17
  } from "./chunk-MVW62NIZ.js";
@@ -159,7 +159,7 @@ async function dispatchTaskToEmployee(input) {
159
159
  let crossProject = false;
160
160
  if (input.projectName) {
161
161
  try {
162
- const { assertSessionScope } = await import("./session-scope-UCFA2CJP.js");
162
+ const { assertSessionScope } = await import("./session-scope-FEZQJMD4.js");
163
163
  const check = assertSessionScope("dispatch_task", input.projectName);
164
164
  if (check.reason === "cross_session_denied") {
165
165
  crossProject = true;
@@ -500,7 +500,7 @@ async function updateTask(input) {
500
500
  await markTaskNotificationsRead(taskFile);
501
501
  if (input.status === "needs_review" && !isCoordinator) {
502
502
  try {
503
- const { writeNotification: writeNotification2 } = await import("./notifications-TNSU4SCZ.js");
503
+ const { writeNotification: writeNotification2 } = await import("./notifications-SCHILQCQ.js");
504
504
  await writeNotification2({
505
505
  agentId: String(row.assigned_to),
506
506
  agentRole: String(row.assigned_to),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  deactivateBehavior
3
- } from "./chunk-NJTIAI5G.js";
3
+ } from "./chunk-BFLBZGPZ.js";
4
4
  import {
5
5
  getActiveAgent
6
6
  } from "./chunk-S4I3UITZ.js";
@@ -9,7 +9,7 @@ import {
9
9
  isEmployeeAlive,
10
10
  sessionScopeFilter,
11
11
  updateTaskStatus
12
- } from "./chunk-6GSACZON.js";
12
+ } from "./chunk-HW46Q4AR.js";
13
13
  import {
14
14
  DEFAULT_COORDINATOR_TEMPLATE_NAME,
15
15
  getCoordinatorName
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getCurrentSessionScope,
3
3
  strictSessionScopeFilter
4
- } from "./chunk-6GSACZON.js";
4
+ } from "./chunk-HW46Q4AR.js";
5
5
  import {
6
6
  getProjectName
7
7
  } from "./chunk-OPU3NYOO.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  vectorToBlob
3
- } from "./chunk-Z3O6UJUX.js";
3
+ } from "./chunk-2IMUAL3X.js";
4
4
  import {
5
5
  extractKeywords,
6
6
  keywordsToString
@@ -4,7 +4,7 @@ import {
4
4
  resolveExeSession,
5
5
  sendIntercom,
6
6
  strictSessionScopeFilter
7
- } from "./chunk-6GSACZON.js";
7
+ } from "./chunk-HW46Q4AR.js";
8
8
  import {
9
9
  recordOrchestrationEventBestEffort
10
10
  } from "./chunk-HURS5JVX.js";
@@ -3,7 +3,7 @@ import {
3
3
  buildRawVisibilityFilter,
4
4
  buildWikiScopeFilter,
5
5
  searchMemories
6
- } from "./chunk-Z3O6UJUX.js";
6
+ } from "./chunk-2IMUAL3X.js";
7
7
  import {
8
8
  getClient
9
9
  } from "./chunk-4GXXYDNU.js";
@@ -237,7 +237,7 @@ async function hybridSearch(queryText, agentId, options) {
237
237
  let rerankerAvailable = false;
238
238
  if (process.env.EXE_IS_DAEMON === "1") {
239
239
  try {
240
- const { isRerankerAvailable } = await import("./reranker-UMCHVO3A.js");
240
+ const { isRerankerAvailable } = await import("./reranker-QFLVGVRT.js");
241
241
  rerankerAvailable = isRerankerAvailable();
242
242
  } catch {
243
243
  }
@@ -401,7 +401,7 @@ async function hybridSearch(queryText, agentId, options) {
401
401
  try {
402
402
  let rerankedRecords;
403
403
  if (graphContextMap.size > 0) {
404
- const { rerankWithContext } = await import("./reranker-UMCHVO3A.js");
404
+ const { rerankWithContext } = await import("./reranker-QFLVGVRT.js");
405
405
  const candidates = merged.map((m) => ({
406
406
  text: m.raw_text,
407
407
  context: graphContextMap.get(m.id)
@@ -409,7 +409,7 @@ async function hybridSearch(queryText, agentId, options) {
409
409
  const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
410
410
  rerankedRecords = scored.map((s) => merged[s.index]);
411
411
  } else {
412
- const { rerank } = await import("./reranker-UMCHVO3A.js");
412
+ const { rerank } = await import("./reranker-QFLVGVRT.js");
413
413
  rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
414
414
  }
415
415
  if (rerankedRecords.length > 0) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  storeBehavior
3
- } from "./chunk-NJTIAI5G.js";
3
+ } from "./chunk-BFLBZGPZ.js";
4
4
  import {
5
5
  getClient
6
6
  } from "./chunk-4GXXYDNU.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  processCRMEvent
3
- } from "./chunk-2333X7A7.js";
3
+ } from "./chunk-DXB3CB2O.js";
4
4
 
5
5
  // src/gateway/adapters/crm-webhook.ts
6
6
  function parseTwentyWebhook(payload) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-6GSACZON.js";
3
+ } from "./chunk-HW46Q4AR.js";
4
4
 
5
5
  // src/lib/git-task-sweep.ts
6
6
  import { execSync } from "child_process";
@@ -178,7 +178,7 @@ async function sweepTasks(projectName, options = {}) {
178
178
  }
179
179
  if (!dryRun) {
180
180
  try {
181
- const { updateTaskStatus } = await import("./tasks-crud-ZRB2UNNB.js");
181
+ const { updateTaskStatus } = await import("./tasks-crud-RIUHZJGR.js");
182
182
  await updateTaskStatus({
183
183
  taskId: task.id,
184
184
  status: "needs_review",
@@ -2,7 +2,7 @@ import {
2
2
  listWorkflowDefinitions,
3
3
  runWorkflow,
4
4
  startWorkflow
5
- } from "./chunk-NUMRCSLX.js";
5
+ } from "./chunk-CUKIMXQ7.js";
6
6
  import {
7
7
  initCRMBridge
8
8
  } from "./chunk-ONKIWA3R.js";