@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.
Files changed (134) hide show
  1. package/dist/{backfill-metadata-JRWUECUS.js → backfill-metadata-7WHAJKVL.js} +1 -1
  2. package/dist/bin/agentic-ontology-backfill.js +1 -1
  3. package/dist/bin/agentic-reflection-backfill.js +1 -1
  4. package/dist/bin/agentic-semantic-label.js +1 -1
  5. package/dist/bin/backfill-conversations.js +1 -1
  6. package/dist/bin/backfill-responses.js +1 -1
  7. package/dist/bin/backfill-vectors.js +2 -2
  8. package/dist/bin/bulk-sync-postgres.js +1 -1
  9. package/dist/bin/cleanup-stale-review-tasks.js +2 -2
  10. package/dist/bin/cli.js +5 -5
  11. package/dist/bin/exe-assign.js +1 -1
  12. package/dist/bin/exe-boot.js +3 -3
  13. package/dist/bin/exe-dispatch.js +2 -2
  14. package/dist/bin/exe-doctor.js +1 -1
  15. package/dist/bin/exe-export-behaviors.js +2 -2
  16. package/dist/bin/exe-forget.js +3 -3
  17. package/dist/bin/exe-gateway.js +5 -5
  18. package/dist/bin/exe-heartbeat.js +2 -2
  19. package/dist/bin/exe-kill.js +3 -3
  20. package/dist/bin/exe-launch-agent.js +3 -3
  21. package/dist/bin/exe-pending-messages.js +3 -3
  22. package/dist/bin/exe-pending-notifications.js +2 -2
  23. package/dist/bin/exe-pending-reviews.js +2 -2
  24. package/dist/bin/exe-review.js +3 -3
  25. package/dist/bin/exe-search.js +2 -2
  26. package/dist/bin/exe-session-cleanup.js +5 -5
  27. package/dist/bin/exe-start-codex.js +1 -1
  28. package/dist/bin/exe-start-opencode.js +1 -1
  29. package/dist/bin/exe-status.js +3 -3
  30. package/dist/bin/exe-team.js +1 -1
  31. package/dist/bin/git-sweep.js +2 -2
  32. package/dist/bin/graph-backfill.js +1 -1
  33. package/dist/bin/graph-export.js +2 -2
  34. package/dist/bin/import-history.js +2 -2
  35. package/dist/bin/intercom-check.js +3 -3
  36. package/dist/bin/mcp-sessions.js +2 -2
  37. package/dist/bin/orchestration-metrics.js +1 -1
  38. package/dist/bin/scan-tasks.js +2 -2
  39. package/dist/bin/shard-migrate.js +1 -1
  40. package/dist/{capacity-monitor-HZPAFQZH.js → capacity-monitor-PRUTCTKE.js} +2 -2
  41. package/dist/{catchup-brief-CDG4KD5Y.js → catchup-brief-E2UK24I7.js} +3 -3
  42. package/dist/{chunk-YCTCKUZE.js → chunk-2AWEIMVH.js} +1 -1
  43. package/dist/{chunk-M37HYGAG.js → chunk-2EHYQKJR.js} +1 -1
  44. package/dist/{chunk-JKGAJAM7.js → chunk-2RS2DR47.js} +2 -2
  45. package/dist/{chunk-JSH5MAMM.js → chunk-2V5UDX2O.js} +1 -1
  46. package/dist/{chunk-MSCB4ACU.js → chunk-3CLQFRM6.js} +1 -1
  47. package/dist/{chunk-MJXEOKIW.js → chunk-3EFVHTTG.js} +1 -1
  48. package/dist/{chunk-BZAQ4UG7.js → chunk-5X3ISBHJ.js} +3 -3
  49. package/dist/{chunk-UWISNP4U.js → chunk-6YZ4MT2L.js} +2 -2
  50. package/dist/{chunk-JJNXFW7M.js → chunk-B5AEHLZQ.js} +1 -1
  51. package/dist/{chunk-W6TC6A73.js → chunk-EOVABUV3.js} +1 -1
  52. package/dist/{chunk-TOQZO2XX.js → chunk-F2UFRUVY.js} +2 -2
  53. package/dist/{chunk-Q7XA3SQ4.js → chunk-GTTLP5WK.js} +29 -29
  54. package/dist/{chunk-CQDSTBKT.js → chunk-I32QME33.js} +3 -3
  55. package/dist/{chunk-NUVDSQNY.js → chunk-J5VSABXD.js} +2 -2
  56. package/dist/{chunk-UBMGUX6T.js → chunk-J5WI42RB.js} +5 -5
  57. package/dist/{chunk-YKIPAQZG.js → chunk-JGZS4U4X.js} +1 -1
  58. package/dist/{chunk-3A5BZETG.js → chunk-LRRMS5OF.js} +3 -3
  59. package/dist/{chunk-NFB4N53K.js → chunk-N4C2RMEO.js} +1 -1
  60. package/dist/{chunk-F2GUJW5O.js → chunk-SJI7LQUK.js} +2 -2
  61. package/dist/{chunk-WZ2RVKRO.js → chunk-SSMXRAE2.js} +2 -2
  62. package/dist/{chunk-3DQ3IPPO.js → chunk-UILBQ5PU.js} +1 -1
  63. package/dist/{chunk-RTXGUKY3.js → chunk-UKCXMU5W.js} +3 -3
  64. package/dist/{chunk-IKTMX6N7.js → chunk-VW6UDG7E.js} +1 -1
  65. package/dist/{chunk-HFJNYSTQ.js → chunk-WEMIJFOX.js} +4 -4
  66. package/dist/{chunk-UPSZ2VKV.js → chunk-WUFPA6LR.js} +1 -1
  67. package/dist/{crm-webhook-3ODT32F7.js → crm-webhook-ZL2YFSFK.js} +2 -2
  68. package/dist/{cto-delegation-gate-4XDMTK6H.js → cto-delegation-gate-VRGO7IQ2.js} +1 -1
  69. package/dist/{daemon-orchestration-5I7RLXCP.js → daemon-orchestration-5TO3CHJQ.js} +3 -3
  70. package/dist/{exe-export-UZN6EFOR.js → exe-export-DC4MYDXH.js} +1 -1
  71. package/dist/{exe-import-OSM3U36A.js → exe-import-KTTZOAAA.js} +1 -1
  72. package/dist/{exe-snapshot-7TQIN7XI.js → exe-snapshot-NJ6BFROA.js} +1 -1
  73. package/dist/{fast-db-init-4VXDSFUY.js → fast-db-init-QYMFD4FX.js} +1 -1
  74. package/dist/gateway/index.js +6 -6
  75. package/dist/{git-task-sweep-HYAPIM44.js → git-task-sweep-WJAABZK5.js} +2 -2
  76. package/dist/hooks/bug-report-worker.js +3 -3
  77. package/dist/hooks/codex-stop-task-finalizer.js +3 -3
  78. package/dist/hooks/commit-complete.js +4 -4
  79. package/dist/hooks/error-recall.js +2 -2
  80. package/dist/hooks/ingest.js +2 -2
  81. package/dist/hooks/instructions-loaded.js +1 -1
  82. package/dist/hooks/manifest.json +18 -18
  83. package/dist/hooks/notification.js +1 -1
  84. package/dist/hooks/post-compact.js +2 -2
  85. package/dist/hooks/post-tool-combined.js +2 -2
  86. package/dist/hooks/pre-compact.js +3 -3
  87. package/dist/hooks/pre-tool-use.js +6 -6
  88. package/dist/hooks/prompt-submit.js +8 -8
  89. package/dist/hooks/session-end.js +4 -4
  90. package/dist/hooks/session-start.js +5 -5
  91. package/dist/hooks/stop.js +5 -5
  92. package/dist/hooks/subagent-stop.js +2 -2
  93. package/dist/hooks/summary-worker.js +5 -5
  94. package/dist/index.js +9 -9
  95. package/dist/lib/consolidation.js +2 -2
  96. package/dist/lib/exe-daemon.js +69 -15
  97. package/dist/lib/hybrid-search.js +2 -2
  98. package/dist/lib/messaging.js +2 -2
  99. package/dist/lib/schedules.js +2 -2
  100. package/dist/lib/store.js +1 -1
  101. package/dist/lib/tasks.js +2 -2
  102. package/dist/lib/tmux-routing.js +1 -1
  103. package/dist/mcp/register-tools.js +22 -22
  104. package/dist/mcp/server.js +23 -23
  105. package/dist/mcp/tools/create-task.js +3 -3
  106. package/dist/mcp/tools/list-tasks.js +3 -3
  107. package/dist/mcp/tools/send-message.js +3 -3
  108. package/dist/mcp/tools/update-task.js +3 -3
  109. package/dist/{notifications-H4F77BYT.js → notifications-MEW6QY57.js} +1 -1
  110. package/dist/{orchestrator-HXUZ6LYM.js → orchestrator-HGTR4YIR.js} +2 -2
  111. package/dist/{pipeline-router-QRJQWMFF.js → pipeline-router-7VGJ7635.js} +1 -1
  112. package/dist/{reranker-U6DEAT4S.js → reranker-67X4YJEW.js} +1 -1
  113. package/dist/{review-polling-W2S3XAAU.js → review-polling-ILAI4FDS.js} +2 -2
  114. package/dist/runtime/index.js +3 -3
  115. package/dist/{session-events-MNWHGZY5.js → session-events-Y2YPBY3Q.js} +2 -2
  116. package/dist/{session-scope-SMT225X3.js → session-scope-CUDNSN62.js} +1 -1
  117. package/dist/{task-enforcement-UIEWTA6H.js → task-enforcement-MGHY6IJV.js} +1 -1
  118. package/dist/{task-scope-DNQURKOQ.js → task-scope-N6GNTTVY.js} +1 -1
  119. package/dist/{tasks-crud-CLAYZZ4O.js → tasks-crud-2FX6NTL2.js} +1 -1
  120. package/dist/{tasks-review-OHR2P4QE.js → tasks-review-5NFMLQJG.js} +1 -1
  121. package/dist/tui/App.js +7 -7
  122. package/dist/{tui-data-L6XG4Z52.js → tui-data-DT4WV54Q.js} +1 -1
  123. package/dist/{worker-gate-GFKXZ6V5.js → worker-gate-SN6WCY4Q.js} +1 -1
  124. package/dist/{workflow-engine-6HTKI2ZE.js → workflow-engine-2RQLJXDG.js} +2 -2
  125. package/package.json +1 -1
  126. /package/dist/{chunk-HTCBLSIB.js → chunk-5HF7X4WH.js} +0 -0
  127. /package/dist/{chunk-DKRTWILB.js → chunk-A2G6WCUO.js} +0 -0
  128. /package/dist/{chunk-Z3ZCLTP7.js → chunk-JZ2JEXEM.js} +0 -0
  129. /package/dist/{chunk-OSMMWGJ2.js → chunk-NXF7NZEA.js} +0 -0
  130. /package/dist/{chunk-LHOIY5LQ.js → chunk-QYUWMF3P.js} +0 -0
  131. /package/dist/{chunk-7BPKHR4O.js → chunk-XWOXF4NK.js} +0 -0
  132. /package/dist/{core-memory-R7QBLN4C.js → core-memory-6JYJS3A3.js} +0 -0
  133. /package/dist/{exe-key-OG35WPBA.js → exe-key-A6WNNU4Q.js} +0 -0
  134. /package/dist/{skill-refinement-LKJHUW2U.js → skill-refinement-YCCQ5W7C.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  lightweightSearch
3
- } from "./chunk-HFJNYSTQ.js";
4
- import "./chunk-HTCBLSIB.js";
3
+ } from "./chunk-WEMIJFOX.js";
4
+ import "./chunk-5HF7X4WH.js";
5
5
  import "./chunk-CHCA3ZM2.js";
6
6
  import "./chunk-IW53DAYO.js";
7
7
  import "./chunk-F7LU65PQ.js";
8
8
  import {
9
9
  sessionScopeFilter,
10
10
  strictSessionScopeFilter
11
- } from "./chunk-UBMGUX6T.js";
11
+ } from "./chunk-J5WI42RB.js";
12
12
  import "./chunk-I2CDSGQW.js";
13
13
  import "./chunk-QI4IXJN7.js";
14
14
  import "./chunk-4JERP7NT.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getCurrentSessionScope,
3
3
  strictSessionScopeFilter
4
- } from "./chunk-UBMGUX6T.js";
4
+ } from "./chunk-J5WI42RB.js";
5
5
  import {
6
6
  getProjectName
7
7
  } from "./chunk-OPU3NYOO.js";
@@ -5,7 +5,7 @@ import {
5
5
  sessionScopeFilter,
6
6
  verifyPaneAtCapacity,
7
7
  writeNotification
8
- } from "./chunk-UBMGUX6T.js";
8
+ } from "./chunk-J5WI42RB.js";
9
9
  import {
10
10
  listSessions
11
11
  } from "./chunk-G4LLKD4Z.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-UBMGUX6T.js";
3
+ } from "./chunk-J5WI42RB.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-CLAYZZ4O.js");
181
+ const { updateTaskStatus } = await import("./tasks-crud-2FX6NTL2.js");
182
182
  await updateTaskStatus({
183
183
  taskId: task.id,
184
184
  status: "needs_review",
@@ -9,7 +9,7 @@ import {
9
9
  isEmployeeAlive,
10
10
  sessionScopeFilter,
11
11
  updateTaskStatus
12
- } from "./chunk-UBMGUX6T.js";
12
+ } from "./chunk-J5WI42RB.js";
13
13
  import {
14
14
  DEFAULT_COORDINATOR_TEMPLATE_NAME,
15
15
  getCoordinatorName
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  flushBatch,
6
6
  writeMemory
7
- } from "./chunk-HTCBLSIB.js";
7
+ } from "./chunk-5HF7X4WH.js";
8
8
  import {
9
9
  extractKeywords
10
10
  } from "./chunk-CHCA3ZM2.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  processCRMEvent
3
- } from "./chunk-Z3ZCLTP7.js";
3
+ } from "./chunk-JZ2JEXEM.js";
4
4
 
5
5
  // src/gateway/adapters/crm-webhook.ts
6
6
  function parseTwentyWebhook(payload) {
@@ -11,7 +11,7 @@ import {
11
11
  sessionScopeFilter,
12
12
  updateTaskStatus,
13
13
  writeNotification
14
- } from "./chunk-UBMGUX6T.js";
14
+ } from "./chunk-J5WI42RB.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-SMT225X3.js");
162
+ const { assertSessionScope } = await import("./session-scope-CUDNSN62.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-H4F77BYT.js");
503
+ const { writeNotification: writeNotification2 } = await import("./notifications-MEW6QY57.js");
504
504
  await writeNotification2({
505
505
  agentId: String(row.assigned_to),
506
506
  agentRole: String(row.assigned_to),
@@ -859,7 +859,7 @@ function formatReport(report, flags) {
859
859
  return lines.join("\n");
860
860
  }
861
861
  async function fixNullVectors() {
862
- const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-GFKXZ6V5.js");
862
+ const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-SN6WCY4Q.js");
863
863
  if (!tryAcquireWorkerSlot()) {
864
864
  process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
865
865
  await new Promise((r) => setTimeout(r, 5e3));
@@ -982,7 +982,7 @@ function splitAtSentences(text, maxChunkSize) {
982
982
  }
983
983
  async function main(argv = process.argv.slice(2)) {
984
984
  const flags = parseFlags(argv);
985
- const { fastDbInit } = await import("./fast-db-init-4VXDSFUY.js");
985
+ const { fastDbInit } = await import("./fast-db-init-QYMFD4FX.js");
986
986
  const client = await fastDbInit();
987
987
  const report = await runAudit(client, flags);
988
988
  console.log(formatReport(report, flags));
@@ -4,7 +4,7 @@ import {
4
4
  resolveExeSession,
5
5
  sendIntercom,
6
6
  strictSessionScopeFilter
7
- } from "./chunk-UBMGUX6T.js";
7
+ } from "./chunk-J5WI42RB.js";
8
8
  import {
9
9
  parseMessage,
10
10
  serializeMessage
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DLXTKVBO.js";
4
4
  import {
5
5
  listTasks
6
- } from "./chunk-UBMGUX6T.js";
6
+ } from "./chunk-J5WI42RB.js";
7
7
 
8
8
  // src/mcp/tools/list-tasks.ts
9
9
  import { z } from "zod";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  fastDbInit
3
- } from "./chunk-DKRTWILB.js";
3
+ } from "./chunk-A2G6WCUO.js";
4
4
  import {
5
5
  sessionScopeFilter
6
- } from "./chunk-UBMGUX6T.js";
6
+ } from "./chunk-J5WI42RB.js";
7
7
  import {
8
8
  formatStatusAll,
9
9
  formatStatusDeep,
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-CHT3THVG.js";
4
4
  import {
5
5
  listRecentSessionEvents
6
- } from "./chunk-YCTCKUZE.js";
6
+ } from "./chunk-2AWEIMVH.js";
7
7
  import {
8
8
  isRerankerAvailable,
9
9
  rerankWithScores
10
- } from "./chunk-LHOIY5LQ.js";
10
+ } from "./chunk-QYUWMF3P.js";
11
11
  import {
12
12
  getEntityByName,
13
13
  getEntityNeighbors,
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-E6ORBQHP.js";
23
23
  import {
24
24
  AUTO_WAKE_MAX_RETRIES
25
- } from "./chunk-CQDSTBKT.js";
25
+ } from "./chunk-I32QME33.js";
26
26
  import {
27
27
  getCachedLicenseGate
28
28
  } from "./chunk-GGV3PFUW.js";
@@ -58,7 +58,7 @@ import {
58
58
  } from "./chunk-ZVSG2KKG.js";
59
59
  import {
60
60
  createOrRefreshResumeTask
61
- } from "./chunk-M37HYGAG.js";
61
+ } from "./chunk-2EHYQKJR.js";
62
62
  import {
63
63
  registerCreateReminder
64
64
  } from "./chunk-EHKIJPVX.js";
@@ -78,19 +78,19 @@ import {
78
78
  } from "./chunk-R2E4TV5V.js";
79
79
  import {
80
80
  registerImportConversations
81
- } from "./chunk-MSCB4ACU.js";
81
+ } from "./chunk-3CLQFRM6.js";
82
82
  import {
83
83
  registerSendMessage
84
- } from "./chunk-3DQ3IPPO.js";
84
+ } from "./chunk-UILBQ5PU.js";
85
85
  import {
86
86
  registerCreateTask
87
- } from "./chunk-3A5BZETG.js";
87
+ } from "./chunk-LRRMS5OF.js";
88
88
  import {
89
89
  registerListTasks
90
- } from "./chunk-W6TC6A73.js";
90
+ } from "./chunk-EOVABUV3.js";
91
91
  import {
92
92
  registerUpdateTask
93
- } from "./chunk-WZ2RVKRO.js";
93
+ } from "./chunk-SSMXRAE2.js";
94
94
  import {
95
95
  TOKENS_PER_IDLE_MINUTE,
96
96
  countKillsSince,
@@ -99,10 +99,10 @@ import {
99
99
  import {
100
100
  createSchedule,
101
101
  parseHumanCron
102
- } from "./chunk-UPSZ2VKV.js";
102
+ } from "./chunk-WUFPA6LR.js";
103
103
  import {
104
104
  status
105
- } from "./chunk-TOQZO2XX.js";
105
+ } from "./chunk-F2UFRUVY.js";
106
106
  import {
107
107
  getAgentSpend
108
108
  } from "./chunk-WA67SFFZ.js";
@@ -121,7 +121,7 @@ import {
121
121
  fixShards,
122
122
  formatReport,
123
123
  runAudit
124
- } from "./chunk-UWISNP4U.js";
124
+ } from "./chunk-6YZ4MT2L.js";
125
125
  import {
126
126
  runHealthCheck
127
127
  } from "./chunk-DGOGCPYU.js";
@@ -166,7 +166,7 @@ import {
166
166
  groupMemories,
167
167
  runConsolidation,
168
168
  selectUnconsolidated
169
- } from "./chunk-IKTMX6N7.js";
169
+ } from "./chunk-VW6UDG7E.js";
170
170
  import {
171
171
  embed
172
172
  } from "./chunk-HQMEOIUJ.js";
@@ -177,17 +177,17 @@ import {
177
177
  } from "./chunk-YZKJLGWL.js";
178
178
  import {
179
179
  updateTask
180
- } from "./chunk-BZAQ4UG7.js";
180
+ } from "./chunk-5X3ISBHJ.js";
181
181
  import {
182
182
  fastDbInit
183
- } from "./chunk-DKRTWILB.js";
183
+ } from "./chunk-A2G6WCUO.js";
184
184
  import {
185
185
  MAX_CONCURRENT_WORKERS
186
- } from "./chunk-NFB4N53K.js";
186
+ } from "./chunk-N4C2RMEO.js";
187
187
  import {
188
188
  hybridSearch,
189
189
  recentRecords
190
- } from "./chunk-HFJNYSTQ.js";
190
+ } from "./chunk-WEMIJFOX.js";
191
191
  import {
192
192
  attachDocumentMetadata,
193
193
  flushBatch,
@@ -195,7 +195,7 @@ import {
195
195
  reserveVersions,
196
196
  vectorToBlob,
197
197
  writeMemory
198
- } from "./chunk-HTCBLSIB.js";
198
+ } from "./chunk-5HF7X4WH.js";
199
199
  import {
200
200
  getActiveAgent
201
201
  } from "./chunk-DLXTKVBO.js";
@@ -206,7 +206,7 @@ import {
206
206
  sessionScopeFilter,
207
207
  updateTaskStatus,
208
208
  writeCheckpoint
209
- } from "./chunk-UBMGUX6T.js";
209
+ } from "./chunk-J5WI42RB.js";
210
210
  import {
211
211
  listSessions
212
212
  } from "./chunk-G4LLKD4Z.js";
@@ -242,7 +242,7 @@ import {
242
242
  isScheduledTrigger,
243
243
  loadTriggers,
244
244
  sanitizeParam
245
- } from "./chunk-Z3ZCLTP7.js";
245
+ } from "./chunk-JZ2JEXEM.js";
246
246
  import {
247
247
  pushConversationToCRM
248
248
  } from "./chunk-ONKIWA3R.js";
@@ -1580,7 +1580,7 @@ function registerMemory(server) {
1580
1580
  if (action === "core_get" || action === "core_set" || action === "core_delete") {
1581
1581
  const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-GJDG4CAW.js");
1582
1582
  const { agentId } = getActiveAgent2();
1583
- const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-R7QBLN4C.js");
1583
+ const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-6JYJS3A3.js");
1584
1584
  if (action === "core_get") {
1585
1585
  const entries = await getCoreMemory(agentId);
1586
1586
  const block = formatCoreMemoryBlock(entries);
@@ -2314,7 +2314,7 @@ function registerResumeEmployee(server) {
2314
2314
  };
2315
2315
  }
2316
2316
  try {
2317
- const { isTmuxSessionAlive } = await import("./tasks-crud-CLAYZZ4O.js");
2317
+ const { isTmuxSessionAlive } = await import("./tasks-crud-2FX6NTL2.js");
2318
2318
  const now = (/* @__PURE__ */ new Date()).toISOString();
2319
2319
  for (const row of openTasks.rows) {
2320
2320
  const status2 = String(row.status);
@@ -2342,7 +2342,7 @@ function registerResumeEmployee(server) {
2342
2342
  }
2343
2343
  let checkpointInfo = "";
2344
2344
  try {
2345
- const { readLatestCheckpoint } = await import("./tasks-crud-CLAYZZ4O.js");
2345
+ const { readLatestCheckpoint } = await import("./tasks-crud-2FX6NTL2.js");
2346
2346
  const checkpoint = await readLatestCheckpoint(agent_id);
2347
2347
  if (checkpoint) {
2348
2348
  const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none";
@@ -2702,7 +2702,7 @@ function registerTask(server) {
2702
2702
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
2703
2703
  if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
2704
2704
  try {
2705
- const { createTaskGroup } = await import("./tasks-crud-CLAYZZ4O.js");
2705
+ const { createTaskGroup } = await import("./tasks-crud-2FX6NTL2.js");
2706
2706
  const group = await createTaskGroup({
2707
2707
  title: args.title,
2708
2708
  coordinator: args.coordinator,
@@ -2721,7 +2721,7 @@ function registerTask(server) {
2721
2721
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
2722
2722
  if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
2723
2723
  try {
2724
- const { getGroupStatus } = await import("./tasks-crud-CLAYZZ4O.js");
2724
+ const { getGroupStatus } = await import("./tasks-crud-2FX6NTL2.js");
2725
2725
  const status2 = await getGroupStatus(args.group_id);
2726
2726
  return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
2727
2727
  } catch (err) {
@@ -2733,7 +2733,7 @@ function registerTask(server) {
2733
2733
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
2734
2734
  if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
2735
2735
  try {
2736
- const { getGroupResults } = await import("./tasks-crud-CLAYZZ4O.js");
2736
+ const { getGroupResults } = await import("./tasks-crud-2FX6NTL2.js");
2737
2737
  const results = await getGroupResults(args.group_id);
2738
2738
  return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
2739
2739
  } catch (err) {
@@ -5775,7 +5775,7 @@ async function getAgentSessionLoad() {
5775
5775
  return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
5776
5776
  }
5777
5777
  const { getClient: getClient2 } = await import("./lib/database.js");
5778
- const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-DNQURKOQ.js");
5778
+ const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-N6GNTTVY.js");
5779
5779
  const client = getClient2();
5780
5780
  const scope = sessionScopeFilter2();
5781
5781
  for (const s of liveAgentSessions) {
@@ -10034,7 +10034,7 @@ function registerWorkflowTool(server) {
10034
10034
  getWorkflowInstance,
10035
10035
  listWorkflowInstances,
10036
10036
  approveWorkflowStep
10037
- } = await import("./workflow-engine-6HTKI2ZE.js");
10037
+ } = await import("./workflow-engine-2RQLJXDG.js");
10038
10038
  try {
10039
10039
  switch (input.action) {
10040
10040
  case "create_workflow": {
@@ -12544,7 +12544,7 @@ async function handleTrigger(limit) {
12544
12544
  if (rows.rows.length === 0) {
12545
12545
  return text3("No conversations found to re-process.");
12546
12546
  }
12547
- const { ingest } = await import("./pipeline-router-QRJQWMFF.js");
12547
+ const { ingest } = await import("./pipeline-router-7VGJ7635.js");
12548
12548
  const results = [];
12549
12549
  for (const row of rows.rows) {
12550
12550
  const r = row;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-FIPU4BDF.js";
4
4
  import {
5
5
  updateTask
6
- } from "./chunk-BZAQ4UG7.js";
6
+ } from "./chunk-5X3ISBHJ.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-UBMGUX6T.js";
17
+ } from "./chunk-J5WI42RB.js";
18
18
  import {
19
19
  queueIntercom
20
20
  } from "./chunk-QI4IXJN7.js";
@@ -1796,7 +1796,7 @@ async function gcStaleCheckpoints() {
1796
1796
  }
1797
1797
  async function pollTaskGroupBarriers() {
1798
1798
  try {
1799
- const { checkAndFireBarriers } = await import("./tasks-crud-CLAYZZ4O.js");
1799
+ const { checkAndFireBarriers } = await import("./tasks-crud-2FX6NTL2.js");
1800
1800
  const firedGroupIds = await checkAndFireBarriers();
1801
1801
  if (firedGroupIds.length === 0) return 0;
1802
1802
  const { getClient } = await import("./lib/database.js");
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  ingest
3
- } from "./chunk-OSMMWGJ2.js";
3
+ } from "./chunk-NXF7NZEA.js";
4
4
  import {
5
5
  listWorkflowDefinitions,
6
6
  runWorkflow,
7
7
  startWorkflow
8
- } from "./chunk-YKIPAQZG.js";
8
+ } from "./chunk-JGZS4U4X.js";
9
9
  import {
10
10
  initCRMBridge
11
11
  } from "./chunk-ONKIWA3R.js";
@@ -503,7 +503,7 @@ async function createTaskCore(input) {
503
503
  if (isCoordinatorSession) {
504
504
  earlySessionScope = resolved;
505
505
  } else {
506
- const { getSessionProject } = await import("./session-scope-SMT225X3.js");
506
+ const { getSessionProject } = await import("./session-scope-CUDNSN62.js");
507
507
  const sessionProject = getSessionProject(resolved);
508
508
  if (sessionProject && sessionProject !== input.projectName) {
509
509
  scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
@@ -970,7 +970,7 @@ async function updateTaskStatus(input) {
970
970
  } catch {
971
971
  }
972
972
  try {
973
- const { writeNotification: writeNotification2 } = await import("./notifications-H4F77BYT.js");
973
+ const { writeNotification: writeNotification2 } = await import("./notifications-MEW6QY57.js");
974
974
  await writeNotification2({
975
975
  agentId: reviewer,
976
976
  agentRole: isCoordinatorName(reviewer) ? "COO" : "manager",
@@ -1309,7 +1309,7 @@ ${input.result ?? ""}`;
1309
1309
  args: [taskId]
1310
1310
  });
1311
1311
  let merged = { assertions: [], resolved: [] };
1312
- if (existing.rows.length > 0 && existing.rows[0].assertions) {
1312
+ if (existing.rows.length > 0 && existing.rows[0]?.assertions) {
1313
1313
  try {
1314
1314
  const prev = JSON.parse(String(existing.rows[0].assertions));
1315
1315
  merged.assertions = prev.assertions ?? [];
@@ -1479,7 +1479,7 @@ ${input.result ?? ""}`;
1479
1479
  }
1480
1480
  if (input.status === "done" || input.status === "needs_review") {
1481
1481
  try {
1482
- const { incrementSkillSuccess } = await import("./skill-refinement-LKJHUW2U.js");
1482
+ const { incrementSkillSuccess } = await import("./skill-refinement-YCCQ5W7C.js");
1483
1483
  await incrementSkillSuccess(
1484
1484
  String(row.assigned_to),
1485
1485
  row.project_name ? String(row.project_name) : null
@@ -2913,7 +2913,7 @@ async function verifyPaneAtCapacity(sessionName) {
2913
2913
  reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
2914
2914
  };
2915
2915
  }
2916
- const { isAtCapacity } = await import("./capacity-monitor-HZPAFQZH.js");
2916
+ const { isAtCapacity } = await import("./capacity-monitor-PRUTCTKE.js");
2917
2917
  if (!isAtCapacity(pane)) {
2918
2918
  return {
2919
2919
  atCapacity: false,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAction,
3
3
  substituteTemplate
4
- } from "./chunk-Z3ZCLTP7.js";
4
+ } from "./chunk-JZ2JEXEM.js";
5
5
 
6
6
  // src/automation/workflow-engine.ts
7
7
  import { randomUUID } from "crypto";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MLXJ5EZG.js";
4
4
  import {
5
5
  createTask
6
- } from "./chunk-BZAQ4UG7.js";
6
+ } from "./chunk-5X3ISBHJ.js";
7
7
  import {
8
8
  getActiveAgent
9
9
  } from "./chunk-DLXTKVBO.js";
@@ -11,7 +11,7 @@ import {
11
11
  ensureEmployee,
12
12
  logTaskDispatch,
13
13
  resolveExeSession
14
- } from "./chunk-UBMGUX6T.js";
14
+ } from "./chunk-J5WI42RB.js";
15
15
  import {
16
16
  recordOrchestrationEventBestEffort
17
17
  } from "./chunk-CTFKTUYN.js";
@@ -307,7 +307,7 @@ function registerCreateTask(server) {
307
307
  let projectConflictOpts = {};
308
308
  try {
309
309
  const { getClient } = await import("./lib/database.js");
310
- const { sessionScopeFilter } = await import("./task-scope-DNQURKOQ.js");
310
+ const { sessionScopeFilter } = await import("./task-scope-N6GNTTVY.js");
311
311
  const client = getClient();
312
312
  const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
313
313
  const existing = await client.execute({
@@ -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-DNQURKOQ.js");
114
+ const { sessionScopeFilter } = await import("./task-scope-N6GNTTVY.js");
115
115
  const client = getClient();
116
116
  const scope = sessionScopeFilter();
117
117
  const result = await client.execute({
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  createCRMWebhookHandler,
21
21
  parseTwentyWebhook
22
- } from "./chunk-MJXEOKIW.js";
22
+ } from "./chunk-3EFVHTTG.js";
23
23
  import {
24
24
  OllamaProvider
25
25
  } from "./chunk-FWFFZGSC.js";
@@ -49,7 +49,7 @@ import {
49
49
  retryWithBackoff,
50
50
  routeMessage,
51
51
  validateGatewayConfig
52
- } from "./chunk-NUVDSQNY.js";
52
+ } from "./chunk-J5VSABXD.js";
53
53
  import {
54
54
  getAccountByName,
55
55
  getAccountByPhoneNumberId,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  updateTask
3
- } from "./chunk-BZAQ4UG7.js";
3
+ } from "./chunk-5X3ISBHJ.js";
4
4
  import {
5
5
  TASK_ALREADY_CLAIMED_PREFIX
6
- } from "./chunk-UBMGUX6T.js";
6
+ } from "./chunk-J5WI42RB.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
  sendMessage
3
- } from "./chunk-JJNXFW7M.js";
3
+ } from "./chunk-B5AEHLZQ.js";
4
4
  import {
5
5
  getActiveAgent
6
6
  } from "./chunk-DLXTKVBO.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MultiAgentOrchestrator
3
- } from "./chunk-JSH5MAMM.js";
3
+ } from "./chunk-2V5UDX2O.js";
4
4
  import {
5
5
  createQuietRenderer,
6
6
  createTerminalRenderer,
@@ -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-DNQURKOQ.js");
330
+ const { sessionScopeFilter } = await import("./task-scope-N6GNTTVY.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-DNQURKOQ.js");
422
+ const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-N6GNTTVY.js");
423
423
  const client = getClient();
424
424
  const cpScope = cpScopeFilter();
425
425
  const tasks = await client.execute({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  vectorToBlob
3
- } from "./chunk-HTCBLSIB.js";
3
+ } from "./chunk-5HF7X4WH.js";
4
4
  import {
5
5
  extractKeywords,
6
6
  keywordsToString
@@ -3,7 +3,7 @@ import {
3
3
  buildRawVisibilityFilter,
4
4
  buildWikiScopeFilter,
5
5
  searchMemories
6
- } from "./chunk-HTCBLSIB.js";
6
+ } from "./chunk-5HF7X4WH.js";
7
7
  import {
8
8
  getClient
9
9
  } from "./chunk-UJOSFVWG.js";
@@ -240,7 +240,7 @@ async function hybridSearch(queryText, agentId, options) {
240
240
  let rerankerAvailable = false;
241
241
  if (process.env.EXE_IS_DAEMON === "1") {
242
242
  try {
243
- const { isRerankerAvailable } = await import("./reranker-U6DEAT4S.js");
243
+ const { isRerankerAvailable } = await import("./reranker-67X4YJEW.js");
244
244
  rerankerAvailable = isRerankerAvailable();
245
245
  } catch {
246
246
  }
@@ -404,7 +404,7 @@ async function hybridSearch(queryText, agentId, options) {
404
404
  try {
405
405
  let rerankedRecords;
406
406
  if (graphContextMap.size > 0) {
407
- const { rerankWithContext } = await import("./reranker-U6DEAT4S.js");
407
+ const { rerankWithContext } = await import("./reranker-67X4YJEW.js");
408
408
  const candidates = merged.map((m) => ({
409
409
  text: m.raw_text,
410
410
  context: graphContextMap.get(m.id)
@@ -412,7 +412,7 @@ async function hybridSearch(queryText, agentId, options) {
412
412
  const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
413
413
  rerankedRecords = scored.map((s) => merged[s.index]);
414
414
  } else {
415
- const { rerank } = await import("./reranker-U6DEAT4S.js");
415
+ const { rerank } = await import("./reranker-67X4YJEW.js");
416
416
  rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
417
417
  }
418
418
  if (rerankedRecords.length > 0) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  initStore
3
- } from "./chunk-HTCBLSIB.js";
3
+ } from "./chunk-5HF7X4WH.js";
4
4
  import {
5
5
  getClient,
6
6
  isInitialized
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createCRMWebhookHandler,
3
3
  parseTwentyWebhook
4
- } from "./chunk-MJXEOKIW.js";
5
- import "./chunk-Z3ZCLTP7.js";
4
+ } from "./chunk-3EFVHTTG.js";
5
+ import "./chunk-JZ2JEXEM.js";
6
6
  import "./chunk-R5U7XKVJ.js";
7
7
  export {
8
8
  createCRMWebhookHandler,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-UBMGUX6T.js";
3
+ } from "./chunk-J5WI42RB.js";
4
4
  import "./chunk-I2CDSGQW.js";
5
5
  import "./chunk-QI4IXJN7.js";
6
6
  import "./chunk-4JERP7NT.js";