@askexenow/exe-os 0.9.150 → 0.9.154

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 (215) hide show
  1. package/dist/{active-agent-HDUT3T3I.js → active-agent-IVY5D7DJ.js} +2 -2
  2. package/dist/{active-agent-XHERKXH6.js → active-agent-JN7A2D2E.js} +2 -2
  3. package/dist/{agentic-ontology-GMK3MB3U.js → agentic-ontology-NU5FACOX.js} +1 -1
  4. package/dist/{backfill-metadata-7IANPCAL.js → backfill-metadata-XBWBPBN2.js} +3 -3
  5. package/dist/{behaviors-JG75DNG3.js → behaviors-4USTCRU7.js} +2 -2
  6. package/dist/bin/agentic-ontology-backfill.js +4 -4
  7. package/dist/bin/agentic-reflection-backfill.js +5 -5
  8. package/dist/bin/agentic-semantic-label.js +4 -4
  9. package/dist/bin/backfill-conversations.js +3 -3
  10. package/dist/bin/backfill-responses.js +3 -3
  11. package/dist/bin/backfill-vectors.js +4 -4
  12. package/dist/bin/bulk-sync-postgres.js +8 -7
  13. package/dist/bin/cc-doctor.js +1 -1
  14. package/dist/bin/cleanup-stale-review-tasks.js +7 -7
  15. package/dist/bin/cli.js +12 -12
  16. package/dist/bin/exe-agent-config.js +1 -1
  17. package/dist/bin/exe-agent.js +8 -8
  18. package/dist/bin/exe-assign.js +4 -4
  19. package/dist/bin/exe-boot.js +15 -15
  20. package/dist/bin/exe-call.js +4 -4
  21. package/dist/bin/exe-cloud.js +3 -3
  22. package/dist/bin/exe-dispatch.js +7 -7
  23. package/dist/bin/exe-doctor.js +1 -1
  24. package/dist/bin/exe-export-behaviors.js +6 -6
  25. package/dist/bin/exe-forget.js +5 -5
  26. package/dist/bin/exe-gateway.js +5 -5
  27. package/dist/bin/exe-healthcheck.js +1 -1
  28. package/dist/bin/exe-heartbeat.js +7 -7
  29. package/dist/bin/exe-kill.js +10 -10
  30. package/dist/bin/exe-launch-agent.js +10 -10
  31. package/dist/bin/exe-new-employee.js +6 -6
  32. package/dist/bin/exe-pending-messages.js +8 -8
  33. package/dist/bin/exe-pending-notifications.js +7 -7
  34. package/dist/bin/exe-pending-reviews.js +7 -7
  35. package/dist/bin/exe-rename.js +4 -4
  36. package/dist/bin/exe-review.js +9 -9
  37. package/dist/bin/exe-search.js +4 -4
  38. package/dist/bin/exe-session-cleanup.js +14 -14
  39. package/dist/bin/exe-settings.js +3 -3
  40. package/dist/bin/exe-start-codex.js +10 -10
  41. package/dist/bin/exe-start-opencode.js +7 -7
  42. package/dist/bin/exe-status.js +8 -8
  43. package/dist/bin/exe-team.js +2 -2
  44. package/dist/bin/git-sweep.js +7 -7
  45. package/dist/bin/graph-backfill.js +3 -3
  46. package/dist/bin/graph-export.js +4 -4
  47. package/dist/bin/install.js +5 -5
  48. package/dist/bin/intercom-check.js +4 -4
  49. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  50. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  51. package/dist/bin/pre-publish.js +1 -1
  52. package/dist/bin/scan-tasks.js +7 -7
  53. package/dist/bin/setup.js +1 -1
  54. package/dist/bin/shard-migrate.js +3 -3
  55. package/dist/{capacity-monitor-J3SVO7LJ.js → capacity-monitor-VJLRBE7S.js} +8 -8
  56. package/dist/{catchup-brief-AIFZT456.js → catchup-brief-T2RPTOTZ.js} +9 -9
  57. package/dist/{chunk-DMBFPZOP.js → chunk-23H5ZURC.js} +8 -8
  58. package/dist/{chunk-DJVXUJIR.js → chunk-2BTXFKAV.js} +73 -74
  59. package/dist/{chunk-MBYJEE3B.js → chunk-2G2KOWBI.js} +12 -0
  60. package/dist/{chunk-WLSSSDAR.js → chunk-2GUTGEFX.js} +1 -1
  61. package/dist/{chunk-FSH4VWSL.js → chunk-3CZBCOYI.js} +2 -2
  62. package/dist/{chunk-GPHURFBS.js → chunk-3I44JXWH.js} +2 -2
  63. package/dist/{chunk-5NSTNICM.js → chunk-3OGN523Z.js} +1 -1
  64. package/dist/{chunk-3VHX5XFJ.js → chunk-3RJBXMWJ.js} +1 -1
  65. package/dist/{chunk-3JR37K7C.js → chunk-3S2HQUP6.js} +12 -8
  66. package/dist/{chunk-Z43CJQ7T.js → chunk-45APPAB2.js} +61 -22
  67. package/dist/{chunk-IGYF67K3.js → chunk-5KUJDZ3J.js} +3 -3
  68. package/dist/{chunk-LJX5SV6L.js → chunk-66RYFM6Z.js} +5 -5
  69. package/dist/{chunk-26VUCVSE.js → chunk-6M65LFNM.js} +2 -2
  70. package/dist/{chunk-3TXOH3SJ.js → chunk-A7KEWR6S.js} +1 -1
  71. package/dist/{chunk-GIAAHYMW.js → chunk-ABVCJBON.js} +2 -2
  72. package/dist/{chunk-SFV2XRPY.js → chunk-AL7JZARP.js} +1 -1
  73. package/dist/{chunk-7JTZNHA4.js → chunk-DMUNYW65.js} +25 -17
  74. package/dist/{chunk-BQ3KXWA7.js → chunk-DTT4TRFR.js} +1 -1
  75. package/dist/{chunk-72XIEBYJ.js → chunk-DWLDYEGO.js} +6 -6
  76. package/dist/{chunk-MNIJA5BL.js → chunk-F2WGMIFZ.js} +1 -1
  77. package/dist/{chunk-XEH3USTI.js → chunk-G7IQNOSY.js} +1 -1
  78. package/dist/{chunk-EOU4ZLRZ.js → chunk-GCB4MHTG.js} +1 -1
  79. package/dist/{chunk-X2XE65WV.js → chunk-H5STRY47.js} +9 -4
  80. package/dist/{chunk-WR45FP7O.js → chunk-HYRYMZRT.js} +2 -2
  81. package/dist/{chunk-LM7TQYLW.js → chunk-IWSXQKSB.js} +1 -1
  82. package/dist/{chunk-ODEGQCWW.js → chunk-K23KJITV.js} +3 -3
  83. package/dist/{chunk-O2Y4WJYW.js → chunk-KSOPUPQX.js} +196 -9
  84. package/dist/{chunk-EEXG4ZJS.js → chunk-KUPUTWQX.js} +9 -9
  85. package/dist/{chunk-5NQKE3X4.js → chunk-L3JRSHHU.js} +2 -2
  86. package/dist/{chunk-4WIWYUU2.js → chunk-LHMOPUZE.js} +2 -2
  87. package/dist/{chunk-UHL4QL5E.js → chunk-LVEOCWPL.js} +1 -1
  88. package/dist/{chunk-IT2JDL5L.js → chunk-MLL5ICNL.js} +17 -12
  89. package/dist/{chunk-XWQKCCCO.js → chunk-MWRHXGAB.js} +7 -0
  90. package/dist/{chunk-JM4A2E5A.js → chunk-NL4YO6I2.js} +1 -1
  91. package/dist/{chunk-EYTMNAU7.js → chunk-OC7Q4LOK.js} +19 -9
  92. package/dist/{chunk-DSKUPORS.js → chunk-OHYMA6C3.js} +2 -2
  93. package/dist/{chunk-7HONLLJ2.js → chunk-OSPZOCPU.js} +3 -3
  94. package/dist/{chunk-LLDY5HPV.js → chunk-PE6NCL7A.js} +1 -1
  95. package/dist/{chunk-GJMHN45Z.js → chunk-Q7TTJD4A.js} +1 -1
  96. package/dist/{chunk-RAMU6E5T.js → chunk-SE2DYYVB.js} +1 -1
  97. package/dist/{chunk-CRS6YTBM.js → chunk-SFZUC72J.js} +2 -2
  98. package/dist/{chunk-OEPEY47B.js → chunk-T2B7637C.js} +1 -1
  99. package/dist/{chunk-BR5UVRA2.js → chunk-TH2OFEQH.js} +1 -1
  100. package/dist/{chunk-ZGKU4PMY.js → chunk-TME75K53.js} +2 -2
  101. package/dist/{chunk-XQSGAG2G.js → chunk-UIAYIZNR.js} +2 -2
  102. package/dist/{chunk-BV2JVO2U.js → chunk-ULFBLCIP.js} +1 -1
  103. package/dist/{chunk-UPAEAL6K.js → chunk-UREIHGOQ.js} +3 -3
  104. package/dist/{chunk-Q7GVSS2J.js → chunk-VRKPBY6D.js} +1 -1
  105. package/dist/{chunk-4K7HJL37.js → chunk-VZDPV32D.js} +3 -3
  106. package/dist/{chunk-RLCZBSUB.js → chunk-X347L57O.js} +12 -0
  107. package/dist/{chunk-CO2SF5SB.js → chunk-XEN5RMGU.js} +1 -1
  108. package/dist/{chunk-TCKZYGC5.js → chunk-XYFPCAA2.js} +2 -2
  109. package/dist/{chunk-LBX2VQCC.js → chunk-Y3Z6QHUR.js} +2 -2
  110. package/dist/{crdt-sync-3VQP2ISB.js → crdt-sync-B7IUR3BR.js} +1 -1
  111. package/dist/{crm-webhook-AJYXEFZD.js → crm-webhook-YU7PDS7U.js} +2 -2
  112. package/dist/{cto-delegation-gate-7OIN66NU.js → cto-delegation-gate-JDDOHVQL.js} +6 -6
  113. package/dist/{daemon-orchestration-EHONVEHN.js → daemon-orchestration-5OYKXYSR.js} +9 -9
  114. package/dist/{exe-drift-L5ZHO3CZ.js → exe-drift-DXRU4SXJ.js} +2 -2
  115. package/dist/{exe-export-IVFME5VN.js → exe-export-X3AWJONG.js} +5 -5
  116. package/dist/{exe-import-O76AYBUE.js → exe-import-GC5HO3TD.js} +5 -5
  117. package/dist/{exe-key-6HV5GYHH.js → exe-key-R3ER4MYY.js} +1 -1
  118. package/dist/{fast-db-init-NCOIEAM6.js → fast-db-init-5DTYG5FZ.js} +1 -1
  119. package/dist/gateway/index.js +9 -9
  120. package/dist/{git-staleness-MSTOMG55.js → git-staleness-SVUTMS2F.js} +1 -1
  121. package/dist/{git-task-sweep-NOXCELFQ.js → git-task-sweep-EQHX4LXT.js} +7 -7
  122. package/dist/{global-procedures-FXWQ35RU.js → global-procedures-P7VOE476.js} +3 -3
  123. package/dist/{graph-auto-extract-D4I7DF2S.js → graph-auto-extract-UI374EYL.js} +1 -1
  124. package/dist/{hook-integrity-PR4BPZBT.js → hook-integrity-SA7S2SNI.js} +1 -1
  125. package/dist/hooks/bug-report-worker.js +8 -8
  126. package/dist/hooks/codex-stop-task-finalizer.js +8 -8
  127. package/dist/hooks/commit-complete.js +9 -9
  128. package/dist/hooks/error-recall.js +5 -5
  129. package/dist/hooks/exe-heartbeat-hook.js +2 -2
  130. package/dist/hooks/ingest.js +9 -9
  131. package/dist/hooks/instructions-loaded.js +3 -3
  132. package/dist/hooks/notification.js +3 -3
  133. package/dist/hooks/post-compact.js +8 -8
  134. package/dist/hooks/post-tool-combined.js +4 -4
  135. package/dist/hooks/pre-compact.js +9 -9
  136. package/dist/hooks/pre-tool-use.js +34 -12
  137. package/dist/hooks/prompt-submit.js +111 -47
  138. package/dist/hooks/session-end.js +13 -13
  139. package/dist/hooks/session-start.js +7 -7
  140. package/dist/hooks/stop.js +12 -12
  141. package/dist/hooks/subagent-stop.js +8 -8
  142. package/dist/hooks/summary-worker.js +12 -12
  143. package/dist/index.js +16 -16
  144. package/dist/{installer-Q4IWV2GB.js → installer-L72MRJPI.js} +4 -4
  145. package/dist/{installer-5NAISFMT.js → installer-LX2TU7RS.js} +4 -4
  146. package/dist/{installer-FTGXXYRA.js → installer-SLJ3YCHB.js} +4 -4
  147. package/dist/lib/cloud-sync.js +3 -3
  148. package/dist/lib/consolidation.js +4 -4
  149. package/dist/lib/database.js +1 -1
  150. package/dist/lib/db.js +1 -1
  151. package/dist/lib/employee-templates.js +4 -4
  152. package/dist/lib/employees.js +1 -1
  153. package/dist/lib/exe-daemon.js +86 -44
  154. package/dist/lib/hybrid-search.js +4 -4
  155. package/dist/lib/identity.js +1 -1
  156. package/dist/lib/messaging.js +7 -7
  157. package/dist/lib/reminders.js +2 -2
  158. package/dist/lib/schedules.js +4 -4
  159. package/dist/lib/skill-learning.js +3 -3
  160. package/dist/lib/store.js +3 -3
  161. package/dist/lib/task-router.js +2 -2
  162. package/dist/lib/tasks.js +7 -7
  163. package/dist/lib/tmux-routing.js +6 -6
  164. package/dist/lib/tmux-transport.js +1 -1
  165. package/dist/lib/token-spend.js +2 -2
  166. package/dist/lib/transport.js +2 -2
  167. package/dist/mcp/register-tools.js +46 -46
  168. package/dist/mcp/server.js +47 -47
  169. package/dist/mcp/tools/complete-reminder.js +3 -3
  170. package/dist/mcp/tools/create-reminder.js +3 -3
  171. package/dist/mcp/tools/create-task.js +9 -9
  172. package/dist/mcp/tools/deactivate-behavior.js +4 -4
  173. package/dist/mcp/tools/list-reminders.js +3 -3
  174. package/dist/mcp/tools/list-tasks.js +9 -9
  175. package/dist/mcp/tools/send-message.js +9 -9
  176. package/dist/mcp/tools/update-task.js +8 -8
  177. package/dist/{mcp-http-config-PSQCITKG.js → mcp-http-config-T76QB243.js} +2 -2
  178. package/dist/{memory-cards-SYVGSLXW.js → memory-cards-NTRYLVOU.js} +1 -1
  179. package/dist/{memory-poisoning-defense-T7AC4LZN.js → memory-poisoning-defense-OJ2DEGBA.js} +1 -1
  180. package/dist/{memory-reflection-FNJU7VFC.js → memory-reflection-4YOUTIMO.js} +1 -1
  181. package/dist/{notifications-LD563XOM.js → notifications-SF2XN5JE.js} +6 -6
  182. package/dist/{orchestrator-WQGPXMLN.js → orchestrator-2W3VNAKG.js} +8 -8
  183. package/dist/{plan-limits-IAUNTZUW.js → plan-limits-LEM76SOQ.js} +2 -2
  184. package/dist/{projection-worker-S6LYSY22.js → projection-worker-RQHV4VIR.js} +1 -1
  185. package/dist/{push-notifications-KDYFOJRI.js → push-notifications-NSYLKFXR.js} +1 -1
  186. package/dist/{review-polling-J3R7MLT4.js → review-polling-HD26LRW2.js} +7 -7
  187. package/dist/runtime/index.js +13 -13
  188. package/dist/{session-events-XDDQ3M4A.js → session-events-NYMENC3B.js} +7 -7
  189. package/dist/{session-kill-telemetry-TX5NCPUV.js → session-kill-telemetry-LJU2MMZC.js} +2 -2
  190. package/dist/{session-scope-6MAGVHBA.js → session-scope-QIDIKKFB.js} +6 -6
  191. package/dist/{setup-wizard-WJ73A2FY.js → setup-wizard-ANL7CVWX.js} +1 -1
  192. package/dist/signal-paths-4GOIRLGH.js +19 -0
  193. package/dist/skill-refinement-3W3CIIG3.js +156 -0
  194. package/dist/{task-enforcement-3RV64YVR.js → task-enforcement-YXEOTTUG.js} +6 -6
  195. package/dist/{task-scope-2T3WIQQY.js → task-scope-XXPTORGS.js} +6 -6
  196. package/dist/{tasks-crud-B2BGA44L.js → tasks-crud-3UCNTXKQ.js} +6 -6
  197. package/dist/{tasks-review-ZO3QDMT7.js → tasks-review-IPOWGI4L.js} +6 -6
  198. package/dist/{token-budget-LJC7HHKB.js → token-budget-NP22DW2M.js} +1 -1
  199. package/dist/{tool-telemetry-L3WQDRMH.js → tool-telemetry-5JF2OAHG.js} +1 -1
  200. package/dist/tui/App.js +15 -15
  201. package/dist/{tui-data-UAPARPDX.js → tui-data-Z7FCER3K.js} +6 -6
  202. package/dist/{worker-gate-TG6PR2S5.js → worker-gate-PJYHXNUB.js} +1 -1
  203. package/dist/{workflow-engine-VIFLD5IV.js → workflow-engine-GA7JS7X2.js} +2 -2
  204. package/package.json +1 -1
  205. package/release-notes.json +194 -194
  206. /package/dist/{chunk-34XNU32S.js → chunk-7E6ZBXO7.js} +0 -0
  207. /package/dist/{chunk-PJCTBGWN.js → chunk-7U664OM4.js} +0 -0
  208. /package/dist/{chunk-BRXDLJBU.js → chunk-LYMBXTEO.js} +0 -0
  209. /package/dist/{chunk-VN6UUZNO.js → chunk-NQND3GFO.js} +0 -0
  210. /package/dist/{chunk-OU7SLHNA.js → chunk-PBBIAKN5.js} +0 -0
  211. /package/dist/{chunk-II3NQJGV.js → chunk-UJ2KUF4C.js} +0 -0
  212. /package/dist/{chunk-OLVZBBVO.js → chunk-Z6UYJ7HZ.js} +0 -0
  213. /package/dist/{chunk-BF4W2VDS.js → chunk-ZYETFCDX.js} +0 -0
  214. /package/dist/{core-memory-MT7P34HU.js → core-memory-KL5BOUXU.js} +0 -0
  215. /package/dist/{wiki-acl-UE3CRAPQ.js → wiki-acl-ZRCU7XYC.js} +0 -0
@@ -1,15 +1,18 @@
1
+ import {
2
+ getToolCapabilityIndex
3
+ } from "./chunk-J2OPV5FE.js";
1
4
  import {
2
5
  getCachedLicenseGate
3
6
  } from "./chunk-VB23RNNI.js";
4
7
  import {
5
8
  getToolUsageStats
6
- } from "./chunk-PJCTBGWN.js";
9
+ } from "./chunk-7U664OM4.js";
7
10
  import {
8
11
  AUTO_WAKE_MAX_RETRIES
9
- } from "./chunk-Z43CJQ7T.js";
12
+ } from "./chunk-45APPAB2.js";
10
13
  import {
11
- getToolCapabilityIndex
12
- } from "./chunk-J2OPV5FE.js";
14
+ listRecentSessionEvents
15
+ } from "./chunk-G7IQNOSY.js";
13
16
  import {
14
17
  isRerankerAvailable,
15
18
  rerankWithScores
@@ -26,9 +29,6 @@ import {
26
29
  isToolAllowed,
27
30
  isToolAllowedForPlan
28
31
  } from "./chunk-E6ORBQHP.js";
29
- import {
30
- listRecentSessionEvents
31
- } from "./chunk-XEH3USTI.js";
32
32
  import {
33
33
  analyzeBlastRadius,
34
34
  buildCodeContextIndex,
@@ -40,63 +40,63 @@ import {
40
40
  } from "./chunk-V4MKR32F.js";
41
41
  import {
42
42
  runDriftProbes
43
- } from "./chunk-BV2JVO2U.js";
43
+ } from "./chunk-ULFBLCIP.js";
44
44
  import {
45
45
  exportOrchestration,
46
46
  importOrchestration,
47
47
  validatePackage
48
- } from "./chunk-WR45FP7O.js";
48
+ } from "./chunk-HYRYMZRT.js";
49
49
  import {
50
50
  loadOrchestrationPhase,
51
51
  setOrchestrationPhase
52
52
  } from "./chunk-6HFZ2KUC.js";
53
53
  import {
54
54
  createOrRefreshResumeTask
55
- } from "./chunk-7JTZNHA4.js";
55
+ } from "./chunk-DMUNYW65.js";
56
56
  import {
57
57
  registerCompleteReminder
58
- } from "./chunk-OEPEY47B.js";
58
+ } from "./chunk-T2B7637C.js";
59
59
  import {
60
60
  registerDeactivateBehavior
61
- } from "./chunk-UPAEAL6K.js";
61
+ } from "./chunk-UREIHGOQ.js";
62
62
  import {
63
63
  registerSendMessage
64
- } from "./chunk-GPHURFBS.js";
64
+ } from "./chunk-3I44JXWH.js";
65
65
  import {
66
66
  registerCreateTask
67
- } from "./chunk-3JR37K7C.js";
67
+ } from "./chunk-3S2HQUP6.js";
68
68
  import {
69
69
  registerListTasks
70
- } from "./chunk-XQSGAG2G.js";
70
+ } from "./chunk-UIAYIZNR.js";
71
71
  import {
72
72
  registerUpdateTask
73
- } from "./chunk-7HONLLJ2.js";
73
+ } from "./chunk-OSPZOCPU.js";
74
74
  import {
75
75
  registerCreateReminder
76
- } from "./chunk-SFV2XRPY.js";
76
+ } from "./chunk-AL7JZARP.js";
77
77
  import {
78
78
  registerListReminders
79
- } from "./chunk-GJMHN45Z.js";
79
+ } from "./chunk-Q7TTJD4A.js";
80
80
  import {
81
81
  completeReminder,
82
82
  createReminder,
83
83
  listReminders
84
- } from "./chunk-Q7GVSS2J.js";
84
+ } from "./chunk-VRKPBY6D.js";
85
85
  import {
86
86
  status
87
- } from "./chunk-IGYF67K3.js";
87
+ } from "./chunk-5KUJDZ3J.js";
88
88
  import {
89
89
  TOKENS_PER_IDLE_MINUTE,
90
90
  countKillsSince,
91
91
  sumTokensSavedSince
92
- } from "./chunk-CO2SF5SB.js";
92
+ } from "./chunk-XEN5RMGU.js";
93
93
  import {
94
94
  getAgentSpend
95
- } from "./chunk-WLSSSDAR.js";
95
+ } from "./chunk-2GUTGEFX.js";
96
96
  import {
97
97
  createSchedule,
98
98
  parseHumanCron
99
- } from "./chunk-5NQKE3X4.js";
99
+ } from "./chunk-L3JRSHHU.js";
100
100
  import {
101
101
  exportGraphHTML,
102
102
  generateGraphReport
@@ -108,10 +108,10 @@ import {
108
108
  import {
109
109
  formatReport,
110
110
  runAudit
111
- } from "./chunk-4WIWYUU2.js";
111
+ } from "./chunk-LHMOPUZE.js";
112
112
  import {
113
113
  runHealthCheck
114
- } from "./chunk-ODEGQCWW.js";
114
+ } from "./chunk-K23KJITV.js";
115
115
  import {
116
116
  hasFailures,
117
117
  runHealth,
@@ -120,36 +120,36 @@ import {
120
120
  import {
121
121
  findSimilarTrajectories,
122
122
  hashSignature
123
- } from "./chunk-ZGKU4PMY.js";
123
+ } from "./chunk-TME75K53.js";
124
124
  import {
125
125
  deactivateBehavior,
126
126
  listBehaviorsByDomain,
127
127
  listSharedSkills,
128
128
  storeBehavior
129
- } from "./chunk-EOU4ZLRZ.js";
129
+ } from "./chunk-GCB4MHTG.js";
130
130
  import {
131
131
  countUnconsolidated,
132
132
  groupMemories,
133
133
  runConsolidation,
134
134
  selectUnconsolidated
135
- } from "./chunk-26VUCVSE.js";
135
+ } from "./chunk-6M65LFNM.js";
136
136
  import {
137
137
  renderClientCOOTemplate
138
- } from "./chunk-LLDY5HPV.js";
138
+ } from "./chunk-PE6NCL7A.js";
139
139
  import {
140
140
  deactivateGlobalProcedure,
141
141
  loadGlobalProcedures,
142
142
  storeGlobalProcedure
143
- } from "./chunk-LBX2VQCC.js";
143
+ } from "./chunk-Y3Z6QHUR.js";
144
144
  import {
145
145
  PLATFORM_PROCEDURES
146
- } from "./chunk-XWQKCCCO.js";
146
+ } from "./chunk-MWRHXGAB.js";
147
147
  import {
148
148
  clearCloudReuploadRequired,
149
149
  cloudSync,
150
150
  getCloudReuploadRequired,
151
151
  markCloudReuploadRequired
152
- } from "./chunk-IT2JDL5L.js";
152
+ } from "./chunk-MLL5ICNL.js";
153
153
  import {
154
154
  encryptSyncBlob,
155
155
  isSyncCryptoInitialized
@@ -167,20 +167,20 @@ import {
167
167
  } from "./chunk-LWJ4AMMY.js";
168
168
  import {
169
169
  updateTask
170
- } from "./chunk-EEXG4ZJS.js";
170
+ } from "./chunk-KUPUTWQX.js";
171
171
  import {
172
172
  fastDbInit
173
- } from "./chunk-34XNU32S.js";
173
+ } from "./chunk-7E6ZBXO7.js";
174
174
  import {
175
175
  MAX_CONCURRENT_WORKERS
176
- } from "./chunk-3VHX5XFJ.js";
176
+ } from "./chunk-3RJBXMWJ.js";
177
177
  import {
178
178
  hybridSearch,
179
179
  recentRecords
180
- } from "./chunk-O2Y4WJYW.js";
180
+ } from "./chunk-KSOPUPQX.js";
181
181
  import {
182
182
  getActiveAgent
183
- } from "./chunk-UHL4QL5E.js";
183
+ } from "./chunk-LVEOCWPL.js";
184
184
  import {
185
185
  attachDocumentMetadata,
186
186
  flushBatch,
@@ -188,7 +188,7 @@ import {
188
188
  reserveVersions,
189
189
  vectorToBlob,
190
190
  writeMemory
191
- } from "./chunk-72XIEBYJ.js";
191
+ } from "./chunk-DWLDYEGO.js";
192
192
  import {
193
193
  getMySession,
194
194
  resolveExeSession,
@@ -196,7 +196,7 @@ import {
196
196
  sessionScopeFilter,
197
197
  updateTaskStatus,
198
198
  writeCheckpoint
199
- } from "./chunk-EYTMNAU7.js";
199
+ } from "./chunk-OC7Q4LOK.js";
200
200
  import {
201
201
  listSessions
202
202
  } from "./chunk-64WZEXXA.js";
@@ -216,7 +216,7 @@ import {
216
216
  assertEmployeeLimit,
217
217
  assertFeature,
218
218
  assertMemoryLimit
219
- } from "./chunk-5NSTNICM.js";
219
+ } from "./chunk-3OGN523Z.js";
220
220
  import {
221
221
  getProjectName
222
222
  } from "./chunk-OPU3NYOO.js";
@@ -229,7 +229,7 @@ import {
229
229
  isScheduledTrigger,
230
230
  loadTriggers,
231
231
  sanitizeParam
232
- } from "./chunk-BF4W2VDS.js";
232
+ } from "./chunk-ZYETFCDX.js";
233
233
  import {
234
234
  pushConversationToCRM
235
235
  } from "./chunk-GCNWCYJI.js";
@@ -249,7 +249,7 @@ import {
249
249
  loadEmployeesSync,
250
250
  saveEmployees,
251
251
  updateIdentity
252
- } from "./chunk-MBYJEE3B.js";
252
+ } from "./chunk-2G2KOWBI.js";
253
253
  import {
254
254
  getMasterKey
255
255
  } from "./chunk-6D23UNXU.js";
@@ -440,7 +440,7 @@ function registerRecallMyMemory(server) {
440
440
  }
441
441
  const FEDERATION_THRESHOLD = 3;
442
442
  let federatedCount = 0;
443
- if (!recent && query) {
443
+ if (!recent && query && results.length < FEDERATION_THRESHOLD) {
444
444
  try {
445
445
  const { searchCodeContextSemantic: searchCodeContextSemantic2 } = await import("./code-context-index-I5A7I4JQ.js");
446
446
  const codeResults = await Promise.race([
@@ -1453,7 +1453,7 @@ async function handleSupersede(input) {
1453
1453
  }
1454
1454
  try {
1455
1455
  const { getClient: getClient2 } = await import("./lib/database.js");
1456
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-HDUT3T3I.js");
1456
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-IVY5D7DJ.js");
1457
1457
  const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
1458
1458
  const { randomUUID: randomUUID2 } = await import("crypto");
1459
1459
  const client = getClient2();
@@ -1562,9 +1562,9 @@ function registerMemory(server) {
1562
1562
  return handleSupersede(input);
1563
1563
  }
1564
1564
  if (action === "core_get" || action === "core_set" || action === "core_delete") {
1565
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-HDUT3T3I.js");
1565
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-IVY5D7DJ.js");
1566
1566
  const { agentId } = getActiveAgent2();
1567
- const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-MT7P34HU.js");
1567
+ const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-KL5BOUXU.js");
1568
1568
  if (action === "core_get") {
1569
1569
  const entries = await getCoreMemory(agentId);
1570
1570
  const block = formatCoreMemoryBlock(entries);
@@ -2173,7 +2173,7 @@ function registerResumeEmployee(server) {
2173
2173
  };
2174
2174
  }
2175
2175
  try {
2176
- const { isTmuxSessionAlive } = await import("./tasks-crud-B2BGA44L.js");
2176
+ const { isTmuxSessionAlive } = await import("./tasks-crud-3UCNTXKQ.js");
2177
2177
  const now = (/* @__PURE__ */ new Date()).toISOString();
2178
2178
  for (const row of openTasks.rows) {
2179
2179
  const status2 = String(row.status);
@@ -3214,8 +3214,8 @@ function registerIngestDocument(server) {
3214
3214
  },
3215
3215
  async (input) => {
3216
3216
  try {
3217
- const { assertFeature: assertFeature2 } = await import("./plan-limits-IAUNTZUW.js");
3218
- const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-IAUNTZUW.js");
3217
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-LEM76SOQ.js");
3218
+ const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-LEM76SOQ.js");
3219
3219
  await assertFeature2("wiki");
3220
3220
  await assertMemoryLimit2();
3221
3221
  const result3 = await ingestDocument(input);
@@ -5335,7 +5335,7 @@ async function getAgentSessionLoad() {
5335
5335
  return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
5336
5336
  }
5337
5337
  const { getClient: getClient2 } = await import("./lib/database.js");
5338
- const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-2T3WIQQY.js");
5338
+ const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-XXPTORGS.js");
5339
5339
  const client = getClient2();
5340
5340
  const scope = sessionScopeFilter2();
5341
5341
  for (const s of liveAgentSessions) {
@@ -6928,7 +6928,7 @@ function registerCreateTrigger(server) {
6928
6928
  }
6929
6929
  },
6930
6930
  async ({ name, event, conditions, actions, project, enabled, schedule, query }) => {
6931
- const { assertFeature: assertFeature2 } = await import("./plan-limits-IAUNTZUW.js");
6931
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-LEM76SOQ.js");
6932
6932
  const gatedActions = {
6933
6933
  send_whatsapp: "external_agents",
6934
6934
  update_wiki: "wiki"
@@ -7832,7 +7832,7 @@ function registerConfig(server) {
7832
7832
  const existing = loadEmployeesSync2();
7833
7833
  if (existing.some((e) => e.name === employeeName)) return errorResult8(`Employee "${employeeName}" already exists.`);
7834
7834
  try {
7835
- const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-IAUNTZUW.js");
7835
+ const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-LEM76SOQ.js");
7836
7836
  await assertEmployeeLimit2();
7837
7837
  } catch (e) {
7838
7838
  return errorResult8(e instanceof Error ? e.message : "Employee limit reached.");
@@ -7847,12 +7847,12 @@ function registerConfig(server) {
7847
7847
  try {
7848
7848
  const { getTemplate: getIdentityTemplate, getTemplateForTitle } = await import("./lib/identity-templates.js");
7849
7849
  const { identityPath } = await import("./lib/identity.js");
7850
- const { existsSync: existsSync10, mkdirSync: mkdirSync4, writeFileSync: writeFileSync5 } = await import("fs");
7850
+ const { existsSync: existsSync11, mkdirSync: mkdirSync4, writeFileSync: writeFileSync5 } = await import("fs");
7851
7851
  const path18 = await import("path");
7852
7852
  const template = getIdentityTemplate(role) ?? getTemplateForTitle(role);
7853
7853
  const idPath = identityPath(employeeName);
7854
7854
  const dir = path18.dirname(idPath);
7855
- if (!existsSync10(dir)) mkdirSync4(dir, { recursive: true });
7855
+ if (!existsSync11(dir)) mkdirSync4(dir, { recursive: true });
7856
7856
  if (template) {
7857
7857
  writeFileSync5(idPath, template.replace(/^agent_id: \w+/m, `agent_id: ${employeeName}`), "utf-8");
7858
7858
  } else {
@@ -7873,7 +7873,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
7873
7873
  }
7874
7874
  try {
7875
7875
  const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
7876
- const { resolvePackageRoot } = await import("./installer-Q4IWV2GB.js");
7876
+ const { resolvePackageRoot } = await import("./installer-L72MRJPI.js");
7877
7877
  generateSessionWrappers(resolvePackageRoot());
7878
7878
  } catch {
7879
7879
  }
@@ -7909,7 +7909,7 @@ function registerListWikiPages(server) {
7909
7909
  }
7910
7910
  },
7911
7911
  async ({ workspace, folder }) => {
7912
- const { assertFeature: assertFeature2 } = await import("./plan-limits-IAUNTZUW.js");
7912
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-LEM76SOQ.js");
7913
7913
  await assertFeature2("wiki");
7914
7914
  const apiUrl = process.env.EXE_WIKI_API_URL;
7915
7915
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -8009,7 +8009,7 @@ function registerGetWikiPage(server) {
8009
8009
  }
8010
8010
  },
8011
8011
  async ({ workspace, document_id, title }) => {
8012
- const { assertFeature: assertFeature2 } = await import("./plan-limits-IAUNTZUW.js");
8012
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-LEM76SOQ.js");
8013
8013
  await assertFeature2("wiki");
8014
8014
  const apiUrl = process.env.EXE_WIKI_API_URL;
8015
8015
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -8204,7 +8204,7 @@ function registerWiki(server) {
8204
8204
  if (!legacyToolName) return errorResult9(`Unknown wiki action: ${String(input.action)}`);
8205
8205
  const { action: _action, user_id, ...legacyArgs } = input;
8206
8206
  if (user_id && legacyArgs.workspace) {
8207
- const { checkWikiAccess } = await import("./wiki-acl-UE3CRAPQ.js");
8207
+ const { checkWikiAccess } = await import("./wiki-acl-ZRCU7XYC.js");
8208
8208
  const { allowed } = await checkWikiAccess(
8209
8209
  String(user_id),
8210
8210
  String(legacyArgs.workspace),
@@ -9375,7 +9375,7 @@ function registerWorkflowTool(server) {
9375
9375
  getWorkflowInstance,
9376
9376
  listWorkflowInstances,
9377
9377
  approveWorkflowStep
9378
- } = await import("./workflow-engine-VIFLD5IV.js");
9378
+ } = await import("./workflow-engine-GA7JS7X2.js");
9379
9379
  try {
9380
9380
  switch (input.action) {
9381
9381
  case "create_workflow": {
@@ -10256,8 +10256,20 @@ function registerSupportTools(server) {
10256
10256
 
10257
10257
  // src/mcp/tools/cli-parity.ts
10258
10258
  import { execFile as execFile2 } from "child_process";
10259
+ import { existsSync as existsSync10 } from "fs";
10260
+ import { dirname, join as join2, parse as pathParse } from "path";
10261
+ import { fileURLToPath as fileURLToPath2 } from "url";
10259
10262
  import { promisify as promisify2 } from "util";
10260
10263
  import { z as z87 } from "zod";
10264
+ function findPackageRoot() {
10265
+ let dir = dirname(fileURLToPath2(import.meta.url));
10266
+ const { root } = pathParse(dir);
10267
+ while (dir !== root) {
10268
+ if (existsSync10(join2(dir, "package.json"))) return dir;
10269
+ dir = dirname(dir);
10270
+ }
10271
+ throw new Error("Cannot find package root");
10272
+ }
10261
10273
  var execFileAsync2 = promisify2(execFile2);
10262
10274
  async function runCommand(command, args, timeout = 6e4) {
10263
10275
  const printable = [command, ...args].join(" ");
@@ -10372,20 +10384,7 @@ function registerCliParityTools(server) {
10372
10384
  description: "Check npm for an available exe-os update without installing it.",
10373
10385
  inputSchema: {}
10374
10386
  }, async () => {
10375
- let packageRoot = new URL("../../..", import.meta.url).pathname;
10376
- const { existsSync: existsSync10 } = await import("fs");
10377
- const { dirname, join: join2, parse } = await import("path");
10378
- if (!existsSync10(join2(packageRoot, "package.json"))) {
10379
- let dir = dirname(new URL(import.meta.url).pathname);
10380
- const { root } = parse(dir);
10381
- while (dir !== root) {
10382
- if (existsSync10(join2(dir, "package.json"))) {
10383
- packageRoot = dir;
10384
- break;
10385
- }
10386
- dir = dirname(dir);
10387
- }
10388
- }
10387
+ const packageRoot = findPackageRoot();
10389
10388
  const info = checkForUpdate(packageRoot);
10390
10389
  const text3 = info.error ? `Update check failed: ${info.error}` : info.updateAvailable ? `Update available: v${info.localVersion} \u2192 v${info.remoteVersion}` : `exe-os is up to date (v${info.localVersion})`;
10391
10390
  return result2(text3, { ok: !info.error, ...info }, Boolean(info.error));
@@ -10555,7 +10554,7 @@ function registerCodeContext(server) {
10555
10554
  const index = buildCodeContextIndex(opts);
10556
10555
  let graphExtract;
10557
10556
  try {
10558
- const { autoExtractGraphEntities } = await import("./graph-auto-extract-D4I7DF2S.js");
10557
+ const { autoExtractGraphEntities } = await import("./graph-auto-extract-UI374EYL.js");
10559
10558
  graphExtract = await autoExtractGraphEntities(opts.projectRoot);
10560
10559
  } catch {
10561
10560
  }
@@ -3099,6 +3099,18 @@ async function ensureSchema() {
3099
3099
  } catch (e) {
3100
3100
  logCatchDebug("migration", e);
3101
3101
  }
3102
+ for (const col of [
3103
+ "use_count INTEGER DEFAULT 0",
3104
+ "success_count INTEGER DEFAULT 0",
3105
+ "last_used_at TEXT",
3106
+ "last_refined_at TEXT"
3107
+ ]) {
3108
+ try {
3109
+ await client.execute({ sql: `ALTER TABLE behaviors ADD COLUMN ${col}`, args: [] });
3110
+ } catch (e) {
3111
+ logCatchDebug("migration", e);
3112
+ }
3113
+ }
3102
3114
  }
3103
3115
  var disposeTurso = disposeDatabase;
3104
3116
  async function disposeDatabase() {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-MBYJEE3B.js";
3
+ } from "./chunk-2G2KOWBI.js";
4
4
 
5
5
  // src/lib/token-spend.ts
6
6
  import { readdir } from "fs/promises";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-EYTMNAU7.js";
3
+ } from "./chunk-OC7Q4LOK.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-B2BGA44L.js");
181
+ const { updateTaskStatus } = await import("./tasks-crud-3UCNTXKQ.js");
182
182
  await updateTaskStatus({
183
183
  taskId: task.id,
184
184
  status: "needs_review",
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  sendMessage
3
- } from "./chunk-CRS6YTBM.js";
3
+ } from "./chunk-SFZUC72J.js";
4
4
  import {
5
5
  getActiveAgent
6
- } from "./chunk-UHL4QL5E.js";
6
+ } from "./chunk-LVEOCWPL.js";
7
7
 
8
8
  // src/mcp/tools/send-message.ts
9
9
  import { z } from "zod";
@@ -3,7 +3,7 @@ import {
3
3
  getClient,
4
4
  isInitialized,
5
5
  loadEmployees
6
- } from "./chunk-MBYJEE3B.js";
6
+ } from "./chunk-2G2KOWBI.js";
7
7
  import {
8
8
  PLAN_LIMITS,
9
9
  checkLicense,
@@ -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-2T3WIQQY.js");
114
+ const { sessionScopeFilter } = await import("./task-scope-XXPTORGS.js");
115
115
  const client = getClient();
116
116
  const scope = sessionScopeFilter();
117
117
  const result = await client.execute({
@@ -3,24 +3,24 @@ import {
3
3
  } from "./chunk-MLXJ5EZG.js";
4
4
  import {
5
5
  createTask
6
- } from "./chunk-EEXG4ZJS.js";
6
+ } from "./chunk-KUPUTWQX.js";
7
7
  import {
8
8
  getActiveAgent
9
- } from "./chunk-UHL4QL5E.js";
9
+ } from "./chunk-LVEOCWPL.js";
10
10
  import {
11
11
  ensureEmployee,
12
12
  logTaskDispatch,
13
13
  resolveExeSession
14
- } from "./chunk-EYTMNAU7.js";
14
+ } from "./chunk-OC7Q4LOK.js";
15
15
  import {
16
16
  getLicenseSync
17
- } from "./chunk-5NSTNICM.js";
17
+ } from "./chunk-3OGN523Z.js";
18
18
  import {
19
19
  getAgentContext
20
20
  } from "./chunk-GJV3WDWM.js";
21
21
  import {
22
22
  isCoordinatorName
23
- } from "./chunk-MBYJEE3B.js";
23
+ } from "./chunk-2G2KOWBI.js";
24
24
 
25
25
  // src/mcp/tools/create-task.ts
26
26
  import { z } from "zod";
@@ -149,14 +149,18 @@ function registerCreateTask(server) {
149
149
  } catch {
150
150
  }
151
151
  try {
152
- const signalDir = join(homedir(), ".exe-os", "task-signals");
152
+ const sessionScope = task.sessionScope || callerRoot || "default";
153
+ const { taskSignalPath: getSignalPath } = await import("./signal-paths-4GOIRLGH.js");
154
+ const { taskSignalDir } = await import("./signal-paths-4GOIRLGH.js");
155
+ const signalDir = taskSignalDir(sessionScope);
153
156
  mkdirSync(signalDir, { recursive: true });
154
- const signalPath = join(signalDir, `${assigned_to}.${task.id}.pending`);
157
+ const signalPath = getSignalPath(sessionScope, assigned_to, task.id);
155
158
  writeFileSync(signalPath, JSON.stringify({
156
159
  task_id: task.id,
157
160
  title,
158
161
  priority,
159
162
  assigned_by: assignedBy,
163
+ session_scope: sessionScope,
160
164
  created_at: (/* @__PURE__ */ new Date()).toISOString()
161
165
  }), "utf-8");
162
166
  } catch {
@@ -181,7 +185,7 @@ function registerCreateTask(server) {
181
185
  let projectConflictOpts = {};
182
186
  try {
183
187
  const { getClient } = await import("./lib/database.js");
184
- const { sessionScopeFilter } = await import("./task-scope-2T3WIQQY.js");
188
+ const { sessionScopeFilter } = await import("./task-scope-XXPTORGS.js");
185
189
  const client = getClient();
186
190
  const scope = sessionScopeFilter();
187
191
  const existing = await client.execute({