@askexenow/exe-os 0.9.201 → 0.9.202

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 (136) hide show
  1. package/dist/{backfill-metadata-5INYRXJX.js → backfill-metadata-IR5SAR3G.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 +4 -4
  10. package/dist/bin/cli.js +4 -4
  11. package/dist/bin/exe-assign.js +1 -1
  12. package/dist/bin/exe-boot.js +5 -5
  13. package/dist/bin/exe-dispatch.js +4 -4
  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 +4 -4
  18. package/dist/bin/exe-heartbeat.js +4 -4
  19. package/dist/bin/exe-kill.js +5 -5
  20. package/dist/bin/exe-launch-agent.js +2 -2
  21. package/dist/bin/exe-pending-messages.js +5 -5
  22. package/dist/bin/exe-pending-notifications.js +4 -4
  23. package/dist/bin/exe-pending-reviews.js +4 -4
  24. package/dist/bin/exe-review.js +5 -5
  25. package/dist/bin/exe-search.js +2 -2
  26. package/dist/bin/exe-session-cleanup.js +7 -7
  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 +5 -5
  30. package/dist/bin/exe-team.js +1 -1
  31. package/dist/bin/git-sweep.js +4 -4
  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 +1 -1
  35. package/dist/bin/intercom-check.js +4 -6
  36. package/dist/bin/orchestration-metrics.js +20 -7
  37. package/dist/bin/scan-tasks.js +4 -4
  38. package/dist/bin/shard-migrate.js +2 -2
  39. package/dist/{capacity-monitor-4VPGKKQH.js → capacity-monitor-ELS3ONND.js} +4 -4
  40. package/dist/{catchup-brief-K2A2NCMS.js → catchup-brief-RGH23CWV.js} +5 -5
  41. package/dist/{chunk-M6S7HVFP.js → chunk-3M5LROTK.js} +2 -2
  42. package/dist/{chunk-AJN3W6XB.js → chunk-3YP46SPZ.js} +1 -1
  43. package/dist/{chunk-TXWQPL2U.js → chunk-5YDHBZCO.js} +1 -1
  44. package/dist/{chunk-I5IWVRZY.js → chunk-6IKN6AJE.js} +1 -1
  45. package/dist/{chunk-MYVI6V7L.js → chunk-B4K3OTWE.js} +2 -2
  46. package/dist/{chunk-AIOJFN5D.js → chunk-BO7GOBQK.js} +1 -1
  47. package/dist/{chunk-HF7Y4UZO.js → chunk-BWRDZFPN.js} +2 -2
  48. package/dist/{chunk-IAPOGI6M.js → chunk-CL3YN3HD.js} +1 -1
  49. package/dist/{chunk-EDFYSZ4U.js → chunk-CY755JMZ.js} +23 -23
  50. package/dist/{chunk-J6CSL7AY.js → chunk-DDH7QVQN.js} +4 -4
  51. package/dist/{chunk-RC35BWOO.js → chunk-DSL243RL.js} +1 -1
  52. package/dist/{chunk-OOTPPSOX.js → chunk-DZ7FHBK6.js} +3 -3
  53. package/dist/{chunk-CSTJQDOE.js → chunk-G4QFC45N.js} +1 -1
  54. package/dist/{chunk-J2TSYNVM.js → chunk-JUKSHMDE.js} +5 -5
  55. package/dist/{chunk-MXLB2M2O.js → chunk-KMAYFYW7.js} +3 -3
  56. package/dist/{chunk-4WQIB264.js → chunk-KPUVDGLP.js} +5 -4
  57. package/dist/{chunk-K7XLE7UI.js → chunk-L756L654.js} +81 -6
  58. package/dist/{chunk-WI6BQ4T3.js → chunk-NF7JH5IY.js} +1 -1
  59. package/dist/{chunk-MSUJ3UBS.js → chunk-PQMCT335.js} +1 -1
  60. package/dist/{chunk-3V7D5SCM.js → chunk-Q4XGOMGF.js} +2 -2
  61. package/dist/{chunk-66LJM3KL.js → chunk-T2WX4H6T.js} +1 -1
  62. package/dist/{chunk-TRQJQYG5.js → chunk-W3LYG7QF.js} +1 -1
  63. package/dist/{chunk-MBFVJSSH.js → chunk-WFE44FUV.js} +1 -1
  64. package/dist/{chunk-EJM2YUF4.js → chunk-XIXDMUGJ.js} +1 -1
  65. package/dist/{chunk-B5N4DMXM.js → chunk-XKFIU4UF.js} +2 -2
  66. package/dist/{chunk-SXTHSDJQ.js → chunk-XTHI2OPC.js} +4 -4
  67. package/dist/{chunk-7LC5HGA3.js → chunk-YRSYMLEP.js} +4 -4
  68. package/dist/{chunk-GSV24ZVZ.js → chunk-ZQKD7DKB.js} +3 -3
  69. package/dist/{crm-webhook-ZQUDBLHY.js → crm-webhook-SMFGNXKL.js} +2 -2
  70. package/dist/{cto-delegation-gate-A77BCIAB.js → cto-delegation-gate-DKSKMR4E.js} +3 -3
  71. package/dist/{daemon-orchestration-AVB5PPC5.js → daemon-orchestration-NWTSPSZV.js} +5 -5
  72. package/dist/{exe-export-QJEIYCKB.js → exe-export-2QAZRK2C.js} +1 -1
  73. package/dist/{exe-import-SGSX3QML.js → exe-import-7KPJXDV5.js} +1 -1
  74. package/dist/{fast-db-init-UTA7SHEE.js → fast-db-init-BCU67WEQ.js} +1 -1
  75. package/dist/gateway/index.js +5 -5
  76. package/dist/{git-task-sweep-SHTK3F7G.js → git-task-sweep-R4DADTK5.js} +4 -4
  77. package/dist/hooks/bug-report-worker.js +5 -5
  78. package/dist/hooks/codex-stop-task-finalizer.js +5 -5
  79. package/dist/hooks/commit-complete.js +6 -6
  80. package/dist/hooks/error-recall.js +2 -2
  81. package/dist/hooks/ingest.js +2 -2
  82. package/dist/hooks/instructions-loaded.js +1 -1
  83. package/dist/hooks/manifest.json +18 -18
  84. package/dist/hooks/notification.js +1 -1
  85. package/dist/hooks/post-compact.js +4 -4
  86. package/dist/hooks/post-tool-combined.js +2 -2
  87. package/dist/hooks/pre-compact.js +5 -5
  88. package/dist/hooks/pre-tool-use.js +8 -8
  89. package/dist/hooks/prompt-submit.js +10 -10
  90. package/dist/hooks/session-end.js +6 -6
  91. package/dist/hooks/session-start.js +4 -4
  92. package/dist/hooks/stop.js +7 -7
  93. package/dist/hooks/subagent-stop.js +4 -4
  94. package/dist/hooks/summary-worker.js +7 -7
  95. package/dist/index.js +10 -10
  96. package/dist/lib/consolidation.js +2 -2
  97. package/dist/lib/exe-daemon.js +15 -15
  98. package/dist/lib/hybrid-search.js +2 -2
  99. package/dist/lib/messaging.js +4 -4
  100. package/dist/lib/schedules.js +2 -2
  101. package/dist/lib/store.js +1 -1
  102. package/dist/lib/tasks.js +4 -4
  103. package/dist/lib/tmux-routing.js +3 -3
  104. package/dist/lib/tmux-transport.js +1 -1
  105. package/dist/lib/transport.js +2 -2
  106. package/dist/mcp/register-tools.js +23 -23
  107. package/dist/mcp/server.js +24 -24
  108. package/dist/mcp/tools/create-task.js +5 -5
  109. package/dist/mcp/tools/list-tasks.js +5 -5
  110. package/dist/mcp/tools/send-message.js +5 -5
  111. package/dist/mcp/tools/update-task.js +5 -5
  112. package/dist/{notifications-SWILJ3AV.js → notifications-EN4LRYGN.js} +3 -3
  113. package/dist/{orchestrator-L6OFTLK5.js → orchestrator-USY2S6CW.js} +4 -4
  114. package/dist/{reranker-342RISOC.js → reranker-ZLTHZ2QV.js} +1 -1
  115. package/dist/{review-polling-TKQXLTIA.js → review-polling-STO2A64Z.js} +4 -4
  116. package/dist/runtime/index.js +5 -5
  117. package/dist/{session-events-OPOXDEPH.js → session-events-WD4N65IU.js} +4 -4
  118. package/dist/{session-scope-J2ODEL37.js → session-scope-6D22DUTP.js} +3 -3
  119. package/dist/{shard-manager-GWMFNY2I.js → shard-manager-4PWRZW4V.js} +1 -1
  120. package/dist/{task-enforcement-IPXSAJA5.js → task-enforcement-RVG3CLR4.js} +3 -3
  121. package/dist/{task-scope-JREB33TH.js → task-scope-SSM56VHZ.js} +3 -3
  122. package/dist/{tasks-crud-V3IQ5GLV.js → tasks-crud-JGUYPAYP.js} +3 -3
  123. package/dist/{tasks-review-PEEMO6RY.js → tasks-review-WNZ5LJUB.js} +3 -3
  124. package/dist/tui/App.js +9 -9
  125. package/dist/{tui-data-NJUK2RNW.js → tui-data-7F5DOFTZ.js} +3 -3
  126. package/dist/{worker-gate-4KF5ZRWT.js → worker-gate-BFVWIKDF.js} +1 -1
  127. package/dist/{workflow-engine-DHMTGUAO.js → workflow-engine-AHMVTNEX.js} +2 -2
  128. package/package.json +1 -1
  129. package/release-notes.json +51 -51
  130. /package/dist/{chunk-MYESASW3.js → chunk-25YHJFSE.js} +0 -0
  131. /package/dist/{chunk-KGSFR6V3.js → chunk-FMKXO3B6.js} +0 -0
  132. /package/dist/{chunk-XZCSY5ID.js → chunk-LNKK5HOA.js} +0 -0
  133. /package/dist/{chunk-ZOX6DPP3.js → chunk-QMNDQQTA.js} +0 -0
  134. /package/dist/{core-memory-B7VPSYUP.js → core-memory-65BZJEXX.js} +0 -0
  135. /package/dist/{exe-key-Y7DAEMSK.js → exe-key-7TW2INXT.js} +0 -0
  136. /package/dist/{skill-refinement-GYK7FZCH.js → skill-refinement-QKMHEVFO.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  fastDbInit
4
- } from "../chunk-ZOX6DPP3.js";
4
+ } from "../chunk-QMNDQQTA.js";
5
5
  import {
6
6
  formatOrchestrationMetrics,
7
7
  getOrchestrationMetrics
@@ -33,15 +33,28 @@ function parseSince(args) {
33
33
  return Number.isFinite(parsed) ? new Date(parsed).toISOString() : null;
34
34
  }
35
35
  async function main() {
36
- await fastDbInit();
37
- const sinceIso = parseSince(process.argv.slice(2));
38
- const metrics = await getOrchestrationMetrics({ sinceIso });
39
- console.log(formatOrchestrationMetrics(metrics));
36
+ try {
37
+ await fastDbInit();
38
+ const sinceIso = parseSince(process.argv.slice(2));
39
+ const metrics = await getOrchestrationMetrics({ sinceIso });
40
+ console.log(formatOrchestrationMetrics(metrics));
41
+ } finally {
42
+ try {
43
+ const { disconnectClient } = await import("../lib/exe-daemon-client.js");
44
+ disconnectClient();
45
+ } catch {
46
+ }
47
+ try {
48
+ const { disposeStore } = await import("../lib/store.js");
49
+ await disposeStore();
50
+ } catch {
51
+ }
52
+ }
40
53
  }
41
54
  if (isMainModule(import.meta.url)) {
42
- main().catch((err) => {
55
+ main().then(() => process.exit(0)).catch((err) => {
43
56
  process.stderr.write(`[orchestration-metrics] FATAL: ${err instanceof Error ? err.message : String(err)}
44
57
  `);
45
- process.exitCode = 1;
58
+ process.exit(1);
46
59
  });
47
60
  }
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  queryTaskRows
4
- } from "../chunk-J2TSYNVM.js";
4
+ } from "../chunk-JUKSHMDE.js";
5
5
  import "../chunk-RN6XYY7U.js";
6
6
  import "../chunk-QI4IXJN7.js";
7
7
  import "../chunk-64WZEXXA.js";
8
- import "../chunk-TXWQPL2U.js";
9
- import "../chunk-CSTJQDOE.js";
8
+ import "../chunk-5YDHBZCO.js";
9
+ import "../chunk-G4QFC45N.js";
10
10
  import "../chunk-GZIAQYGI.js";
11
11
  import "../chunk-7ZIRLFIF.js";
12
12
  import "../chunk-ZQX6UOP6.js";
@@ -73,7 +73,7 @@ function checkMcpHealth() {
73
73
  }
74
74
  }
75
75
  async function scanFromDb(agentId, tmuxSession, projectName) {
76
- const { fastDbInit } = await import("../fast-db-init-UTA7SHEE.js");
76
+ const { fastDbInit } = await import("../fast-db-init-BCU67WEQ.js");
77
77
  try {
78
78
  await fastDbInit();
79
79
  } catch (err) {
@@ -4,11 +4,11 @@ import {
4
4
  getReadyShardClient,
5
5
  getShardsDir,
6
6
  initShardManager
7
- } from "../chunk-K7XLE7UI.js";
7
+ } from "../chunk-L756L654.js";
8
8
  import {
9
9
  disposeStore,
10
10
  initStore
11
- } from "../chunk-MXLB2M2O.js";
11
+ } from "../chunk-KMAYFYW7.js";
12
12
  import "../chunk-CHCA3ZM2.js";
13
13
  import "../chunk-HGU4YCR3.js";
14
14
  import "../chunk-MP2AFCGL.js";
@@ -8,14 +8,14 @@ import {
8
8
  isAtCapacity,
9
9
  isWithinRelaunchCooldown,
10
10
  pollCapacityDead
11
- } from "./chunk-B5N4DMXM.js";
11
+ } from "./chunk-XKFIU4UF.js";
12
12
  import "./chunk-LT26OOIB.js";
13
- import "./chunk-J2TSYNVM.js";
13
+ import "./chunk-JUKSHMDE.js";
14
14
  import "./chunk-RN6XYY7U.js";
15
15
  import "./chunk-QI4IXJN7.js";
16
16
  import "./chunk-64WZEXXA.js";
17
- import "./chunk-TXWQPL2U.js";
18
- import "./chunk-CSTJQDOE.js";
17
+ import "./chunk-5YDHBZCO.js";
18
+ import "./chunk-G4QFC45N.js";
19
19
  import "./chunk-GZIAQYGI.js";
20
20
  import "./chunk-7ZIRLFIF.js";
21
21
  import "./chunk-ZQX6UOP6.js";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  lightweightSearch
3
- } from "./chunk-7LC5HGA3.js";
4
- import "./chunk-MXLB2M2O.js";
3
+ } from "./chunk-YRSYMLEP.js";
4
+ import "./chunk-KMAYFYW7.js";
5
5
  import "./chunk-CHCA3ZM2.js";
6
6
  import "./chunk-HGU4YCR3.js";
7
7
  import {
8
8
  sessionScopeFilter,
9
9
  strictSessionScopeFilter
10
- } from "./chunk-J2TSYNVM.js";
10
+ } from "./chunk-JUKSHMDE.js";
11
11
  import "./chunk-RN6XYY7U.js";
12
12
  import "./chunk-QI4IXJN7.js";
13
13
  import "./chunk-64WZEXXA.js";
14
- import "./chunk-TXWQPL2U.js";
15
- import "./chunk-CSTJQDOE.js";
14
+ import "./chunk-5YDHBZCO.js";
15
+ import "./chunk-G4QFC45N.js";
16
16
  import "./chunk-GZIAQYGI.js";
17
17
  import "./chunk-7ZIRLFIF.js";
18
18
  import "./chunk-ZQX6UOP6.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createCRMWebhookHandler,
3
3
  parseTwentyWebhook
4
- } from "./chunk-TRQJQYG5.js";
4
+ } from "./chunk-W3LYG7QF.js";
5
5
  import {
6
6
  WhatsAppAdapter
7
7
  } from "./chunk-ECSNSHZ7.js";
@@ -42,7 +42,7 @@ import {
42
42
  retryWithBackoff,
43
43
  routeMessage,
44
44
  validateGatewayConfig
45
- } from "./chunk-MSUJ3UBS.js";
45
+ } from "./chunk-PQMCT335.js";
46
46
  import {
47
47
  OllamaProvider
48
48
  } from "./chunk-FWFFZGSC.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAction,
3
3
  substituteTemplate
4
- } from "./chunk-MYESASW3.js";
4
+ } from "./chunk-25YHJFSE.js";
5
5
 
6
6
  // src/automation/workflow-engine.ts
7
7
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TmuxTransport
3
- } from "./chunk-CSTJQDOE.js";
3
+ } from "./chunk-G4QFC45N.js";
4
4
 
5
5
  // src/lib/transport.ts
6
6
  var _transport = null;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sendMessage
3
- } from "./chunk-RC35BWOO.js";
3
+ } from "./chunk-DSL243RL.js";
4
4
  import {
5
5
  getActiveAgent
6
6
  } from "./chunk-Q3FTA4GX.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  fastDbInit
3
- } from "./chunk-ZOX6DPP3.js";
3
+ } from "./chunk-QMNDQQTA.js";
4
4
  import {
5
5
  sessionScopeFilter
6
- } from "./chunk-J2TSYNVM.js";
6
+ } from "./chunk-JUKSHMDE.js";
7
7
  import {
8
8
  formatStatusAll,
9
9
  formatStatusDeep,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-Q3FTA4GX.js";
4
4
  import {
5
5
  listTasks
6
- } from "./chunk-J2TSYNVM.js";
6
+ } from "./chunk-JUKSHMDE.js";
7
7
 
8
8
  // src/mcp/tools/list-tasks.ts
9
9
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-J2TSYNVM.js";
3
+ } from "./chunk-JUKSHMDE.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-V3IQ5GLV.js");
181
+ const { updateTaskStatus } = await import("./tasks-crud-JGUYPAYP.js");
182
182
  await updateTaskStatus({
183
183
  taskId: task.id,
184
184
  status: "needs_review",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  initStore
3
- } from "./chunk-MXLB2M2O.js";
3
+ } from "./chunk-KMAYFYW7.js";
4
4
  import {
5
5
  getClient,
6
6
  isInitialized
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isRerankerAvailable,
3
3
  rerankWithScores
4
- } from "./chunk-XZCSY5ID.js";
4
+ } from "./chunk-LNKK5HOA.js";
5
5
  import {
6
6
  getEntityByName,
7
7
  getEntityNeighbors,
@@ -12,13 +12,13 @@ import {
12
12
  } from "./chunk-KH5Y6RR4.js";
13
13
  import {
14
14
  listRecentSessionEvents
15
- } from "./chunk-EJM2YUF4.js";
15
+ } from "./chunk-XIXDMUGJ.js";
16
16
  import {
17
17
  getToolUsageStats
18
18
  } from "./chunk-HIECEYMN.js";
19
19
  import {
20
20
  AUTO_WAKE_MAX_RETRIES
21
- } from "./chunk-OOTPPSOX.js";
21
+ } from "./chunk-DZ7FHBK6.js";
22
22
  import {
23
23
  getCachedLicenseGate
24
24
  } from "./chunk-PLNYW6PA.js";
@@ -52,7 +52,7 @@ import {
52
52
  } from "./chunk-DH65L4XI.js";
53
53
  import {
54
54
  createOrRefreshResumeTask
55
- } from "./chunk-B5N4DMXM.js";
55
+ } from "./chunk-XKFIU4UF.js";
56
56
  import {
57
57
  registerCreateReminder
58
58
  } from "./chunk-6NLHVC6U.js";
@@ -72,16 +72,16 @@ import {
72
72
  } from "./chunk-DXFNVS44.js";
73
73
  import {
74
74
  registerSendMessage
75
- } from "./chunk-I5IWVRZY.js";
75
+ } from "./chunk-6IKN6AJE.js";
76
76
  import {
77
77
  registerCreateTask
78
- } from "./chunk-4WQIB264.js";
78
+ } from "./chunk-KPUVDGLP.js";
79
79
  import {
80
80
  registerListTasks
81
- } from "./chunk-AIOJFN5D.js";
81
+ } from "./chunk-BO7GOBQK.js";
82
82
  import {
83
83
  registerUpdateTask
84
- } from "./chunk-3V7D5SCM.js";
84
+ } from "./chunk-Q4XGOMGF.js";
85
85
  import {
86
86
  TOKENS_PER_IDLE_MINUTE,
87
87
  countKillsSince,
@@ -100,10 +100,10 @@ import {
100
100
  import {
101
101
  createSchedule,
102
102
  parseHumanCron
103
- } from "./chunk-IAPOGI6M.js";
103
+ } from "./chunk-CL3YN3HD.js";
104
104
  import {
105
105
  status
106
- } from "./chunk-MYVI6V7L.js";
106
+ } from "./chunk-B4K3OTWE.js";
107
107
  import {
108
108
  getAgentSpend
109
109
  } from "./chunk-AVHQPIJS.js";
@@ -122,7 +122,7 @@ import {
122
122
  fixShards,
123
123
  formatReport,
124
124
  runAudit
125
- } from "./chunk-SXTHSDJQ.js";
125
+ } from "./chunk-XTHI2OPC.js";
126
126
  import {
127
127
  runHealthCheck
128
128
  } from "./chunk-J73N5EJ6.js";
@@ -166,7 +166,7 @@ import {
166
166
  groupMemories,
167
167
  runConsolidation,
168
168
  selectUnconsolidated
169
- } from "./chunk-WI6BQ4T3.js";
169
+ } from "./chunk-NF7JH5IY.js";
170
170
  import {
171
171
  embed
172
172
  } from "./chunk-CBAW3YFB.js";
@@ -177,17 +177,17 @@ import {
177
177
  } from "./chunk-T5YT64SZ.js";
178
178
  import {
179
179
  updateTask
180
- } from "./chunk-J6CSL7AY.js";
180
+ } from "./chunk-DDH7QVQN.js";
181
181
  import {
182
182
  fastDbInit
183
- } from "./chunk-ZOX6DPP3.js";
183
+ } from "./chunk-QMNDQQTA.js";
184
184
  import {
185
185
  MAX_CONCURRENT_WORKERS
186
- } from "./chunk-MBFVJSSH.js";
186
+ } from "./chunk-WFE44FUV.js";
187
187
  import {
188
188
  hybridSearch,
189
189
  recentRecords
190
- } from "./chunk-7LC5HGA3.js";
190
+ } from "./chunk-YRSYMLEP.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-MXLB2M2O.js";
198
+ } from "./chunk-KMAYFYW7.js";
199
199
  import {
200
200
  extractKeywords,
201
201
  keywordsToString
@@ -210,7 +210,7 @@ import {
210
210
  sessionScopeFilter,
211
211
  updateTaskStatus,
212
212
  writeCheckpoint
213
- } from "./chunk-J2TSYNVM.js";
213
+ } from "./chunk-JUKSHMDE.js";
214
214
  import {
215
215
  listSessions
216
216
  } from "./chunk-64WZEXXA.js";
@@ -243,7 +243,7 @@ import {
243
243
  isScheduledTrigger,
244
244
  loadTriggers,
245
245
  sanitizeParam
246
- } from "./chunk-MYESASW3.js";
246
+ } from "./chunk-25YHJFSE.js";
247
247
  import {
248
248
  pushConversationToCRM
249
249
  } from "./chunk-ONKIWA3R.js";
@@ -1557,7 +1557,7 @@ function registerMemory(server) {
1557
1557
  if (action === "core_get" || action === "core_set" || action === "core_delete") {
1558
1558
  const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-MTJPQ57G.js");
1559
1559
  const { agentId } = getActiveAgent2();
1560
- const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-B7VPSYUP.js");
1560
+ const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-65BZJEXX.js");
1561
1561
  if (action === "core_get") {
1562
1562
  const entries = await getCoreMemory(agentId);
1563
1563
  const block = formatCoreMemoryBlock(entries);
@@ -2266,7 +2266,7 @@ function registerResumeEmployee(server) {
2266
2266
  };
2267
2267
  }
2268
2268
  try {
2269
- const { isTmuxSessionAlive } = await import("./tasks-crud-V3IQ5GLV.js");
2269
+ const { isTmuxSessionAlive } = await import("./tasks-crud-JGUYPAYP.js");
2270
2270
  const now = (/* @__PURE__ */ new Date()).toISOString();
2271
2271
  for (const row of openTasks.rows) {
2272
2272
  const status2 = String(row.status);
@@ -5433,7 +5433,7 @@ async function getAgentSessionLoad() {
5433
5433
  return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
5434
5434
  }
5435
5435
  const { getClient: getClient2 } = await import("./lib/database.js");
5436
- const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-JREB33TH.js");
5436
+ const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-SSM56VHZ.js");
5437
5437
  const client = getClient2();
5438
5438
  const scope = sessionScopeFilter2();
5439
5439
  for (const s of liveAgentSessions) {
@@ -9529,7 +9529,7 @@ function registerWorkflowTool(server) {
9529
9529
  getWorkflowInstance,
9530
9530
  listWorkflowInstances,
9531
9531
  approveWorkflowStep
9532
- } = await import("./workflow-engine-DHMTGUAO.js");
9532
+ } = await import("./workflow-engine-AHMVTNEX.js");
9533
9533
  try {
9534
9534
  switch (input.action) {
9535
9535
  case "create_workflow": {
@@ -11,10 +11,10 @@ import {
11
11
  sessionScopeFilter,
12
12
  updateTaskStatus,
13
13
  writeNotification
14
- } from "./chunk-J2TSYNVM.js";
14
+ } from "./chunk-JUKSHMDE.js";
15
15
  import {
16
16
  getTransport
17
- } from "./chunk-TXWQPL2U.js";
17
+ } from "./chunk-5YDHBZCO.js";
18
18
  import {
19
19
  getSessionKey
20
20
  } from "./chunk-CVYC6DUW.js";
@@ -136,7 +136,7 @@ async function dispatchTaskToEmployee(input) {
136
136
  let crossProject = false;
137
137
  if (input.projectName) {
138
138
  try {
139
- const { assertSessionScope } = await import("./session-scope-J2ODEL37.js");
139
+ const { assertSessionScope } = await import("./session-scope-6D22DUTP.js");
140
140
  const check = assertSessionScope("dispatch_task", input.projectName);
141
141
  if (check.reason === "cross_session_denied") {
142
142
  crossProject = true;
@@ -396,7 +396,7 @@ async function updateTask(input) {
396
396
  await markTaskNotificationsRead(taskFile);
397
397
  if (input.status === "needs_review" && !isCoordinator) {
398
398
  try {
399
- const { writeNotification: writeNotification2 } = await import("./notifications-SWILJ3AV.js");
399
+ const { writeNotification: writeNotification2 } = await import("./notifications-EN4LRYGN.js");
400
400
  await writeNotification2({
401
401
  agentId: String(row.assigned_to),
402
402
  agentRole: String(row.assigned_to),
@@ -4,7 +4,7 @@ import {
4
4
  resolveExeSession,
5
5
  sendIntercom,
6
6
  strictSessionScopeFilter
7
- } from "./chunk-J2TSYNVM.js";
7
+ } from "./chunk-JUKSHMDE.js";
8
8
  import {
9
9
  getClient
10
10
  } from "./chunk-YCEJCFU5.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-LT26OOIB.js";
4
4
  import {
5
5
  updateTask
6
- } from "./chunk-J6CSL7AY.js";
6
+ } from "./chunk-DDH7QVQN.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-J2TSYNVM.js";
17
+ } from "./chunk-JUKSHMDE.js";
18
18
  import {
19
19
  queueIntercom
20
20
  } from "./chunk-QI4IXJN7.js";
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-64WZEXXA.js";
24
24
  import {
25
25
  getTransport
26
- } from "./chunk-TXWQPL2U.js";
26
+ } from "./chunk-5YDHBZCO.js";
27
27
  import {
28
28
  listTmuxSessions,
29
29
  parseContextPercentage
@@ -56,7 +56,7 @@ var TmuxTransport = class {
56
56
  try {
57
57
  writeFileSync(tmpFile, text, "utf-8");
58
58
  execFileSync("tmux", ["load-buffer", tmpFile], QUIET);
59
- execFileSync("tmux", ["paste-buffer", "-t", target], QUIET);
59
+ execFileSync("tmux", ["paste-buffer", "-p", "-t", target], QUIET);
60
60
  execFileSync("tmux", ["send-keys", "-t", target, "Enter"], QUIET);
61
61
  } finally {
62
62
  try {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-64WZEXXA.js";
10
10
  import {
11
11
  getTransport
12
- } from "./chunk-TXWQPL2U.js";
12
+ } from "./chunk-5YDHBZCO.js";
13
13
  import {
14
14
  listTmuxSessions
15
15
  } from "./chunk-GZIAQYGI.js";
@@ -363,7 +363,7 @@ async function createTaskCore(input) {
363
363
  if (isCoordinatorSession) {
364
364
  earlySessionScope = resolved;
365
365
  } else {
366
- const { getSessionProject } = await import("./session-scope-J2ODEL37.js");
366
+ const { getSessionProject } = await import("./session-scope-6D22DUTP.js");
367
367
  const sessionProject = getSessionProject(resolved);
368
368
  if (sessionProject && sessionProject !== input.projectName) {
369
369
  scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
@@ -812,7 +812,7 @@ async function updateTaskStatus(input) {
812
812
  } catch {
813
813
  }
814
814
  try {
815
- const { writeNotification: writeNotification2 } = await import("./notifications-SWILJ3AV.js");
815
+ const { writeNotification: writeNotification2 } = await import("./notifications-EN4LRYGN.js");
816
816
  await writeNotification2({
817
817
  agentId: reviewer,
818
818
  agentRole: isCoordinatorName(reviewer) ? "COO" : "manager",
@@ -1096,7 +1096,7 @@ ${input.result}` : `\u26A0\uFE0F ${warning}`;
1096
1096
  }
1097
1097
  if (input.status === "done" || input.status === "needs_review") {
1098
1098
  try {
1099
- const { incrementSkillSuccess } = await import("./skill-refinement-GYK7FZCH.js");
1099
+ const { incrementSkillSuccess } = await import("./skill-refinement-QKMHEVFO.js");
1100
1100
  await incrementSkillSuccess(
1101
1101
  String(row.assigned_to),
1102
1102
  row.project_name ? String(row.project_name) : null
@@ -2174,7 +2174,7 @@ async function verifyPaneAtCapacity(sessionName) {
2174
2174
  reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
2175
2175
  };
2176
2176
  }
2177
- const { isAtCapacity } = await import("./capacity-monitor-4VPGKKQH.js");
2177
+ const { isAtCapacity } = await import("./capacity-monitor-ELS3ONND.js");
2178
2178
  if (!isAtCapacity(pane)) {
2179
2179
  return {
2180
2180
  atCapacity: false,
@@ -139,7 +139,7 @@ async function initStore(options) {
139
139
  if (!options?.lightweight) {
140
140
  try {
141
141
  if (process.env.EXE_DISABLE_SHARDING !== "1") {
142
- const { initShardManager } = await import("./shard-manager-GWMFNY2I.js");
142
+ const { initShardManager } = await import("./shard-manager-4PWRZW4V.js");
143
143
  initShardManager(hexKey);
144
144
  }
145
145
  } catch (e) {
@@ -485,7 +485,7 @@ async function flushBatch() {
485
485
  schedulePostWriteMemoryHygiene(batch.map((row) => row.id));
486
486
  _pendingRecords.splice(0, batch.length);
487
487
  try {
488
- const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-GWMFNY2I.js");
488
+ const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-4PWRZW4V.js");
489
489
  if (process.env.EXE_DISABLE_SHARDING !== "1" && isShardingEnabled()) {
490
490
  const byProject = /* @__PURE__ */ new Map();
491
491
  let skippedUnknown = 0;
@@ -562,7 +562,7 @@ function buildRawVisibilityFilter(options, columnPrefix) {
562
562
  async function searchMemories(queryVector, agentId, options) {
563
563
  let client;
564
564
  try {
565
- const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-GWMFNY2I.js");
565
+ const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-4PWRZW4V.js");
566
566
  if (isShardingEnabled() && options?.projectName && shardExists(options.projectName)) {
567
567
  client = await getReadyShardClient(options.projectName);
568
568
  } else {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MLXJ5EZG.js";
4
4
  import {
5
5
  createTask
6
- } from "./chunk-J6CSL7AY.js";
6
+ } from "./chunk-DDH7QVQN.js";
7
7
  import {
8
8
  getActiveAgent
9
9
  } from "./chunk-Q3FTA4GX.js";
@@ -11,7 +11,7 @@ import {
11
11
  ensureEmployee,
12
12
  logTaskDispatch,
13
13
  resolveExeSession
14
- } from "./chunk-J2TSYNVM.js";
14
+ } from "./chunk-JUKSHMDE.js";
15
15
  import {
16
16
  getLicenseSync
17
17
  } from "./chunk-CCYOB56Q.js";
@@ -33,7 +33,8 @@ async function resolveProjectDir(projectName, callerSession) {
33
33
  try {
34
34
  const { listSessions } = await import("./lib/session-registry.js");
35
35
  const sessions = listSessions();
36
- const coordSession = sessions.find((s) => s.windowName === callerSession);
36
+ const coordName = callerSession.includes("-") ? callerSession.slice(callerSession.indexOf("-") + 1) : callerSession;
37
+ const coordSession = sessions.find((s) => s.windowName === coordName) ?? sessions.find((s) => s.windowName === callerSession);
37
38
  if (coordSession?.projectDir && existsSync(coordSession.projectDir)) {
38
39
  const dirBasename = (await import("path")).basename(coordSession.projectDir).toLowerCase();
39
40
  const normalizedProject = projectName.toLowerCase();
@@ -208,7 +209,7 @@ function registerCreateTask(server) {
208
209
  let projectConflictOpts = {};
209
210
  try {
210
211
  const { getClient } = await import("./lib/database.js");
211
- const { sessionScopeFilter } = await import("./task-scope-JREB33TH.js");
212
+ const { sessionScopeFilter } = await import("./task-scope-SSM56VHZ.js");
212
213
  const client = getClient();
213
214
  const scope = sessionScopeFilter();
214
215
  const existing = await client.execute({