@askexenow/exe-os 0.9.219 → 0.9.221

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 (220) hide show
  1. package/dist/{active-agent-65SRKUVF.js → active-agent-JYQI3DAH.js} +2 -2
  2. package/dist/{active-agent-YLIAU6SX.js → active-agent-YNZ7YA74.js} +2 -2
  3. package/dist/{agentic-ontology-VZWBROYO.js → agentic-ontology-6JMLSYYU.js} +1 -1
  4. package/dist/{backfill-metadata-YUN6DXIE.js → backfill-metadata-AGHTEOOS.js} +3 -3
  5. package/dist/{behaviors-4PGM7IJJ.js → behaviors-TT72JVF4.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 +5 -5
  13. package/dist/bin/cleanup-stale-review-tasks.js +8 -8
  14. package/dist/bin/cli.js +13 -13
  15. package/dist/bin/exe-agent-config.js +1 -1
  16. package/dist/bin/exe-agent.js +3 -3
  17. package/dist/bin/exe-assign.js +4 -4
  18. package/dist/bin/exe-boot.js +15 -15
  19. package/dist/bin/exe-call.js +3 -3
  20. package/dist/bin/exe-cloud.js +3 -3
  21. package/dist/bin/exe-dispatch.js +8 -8
  22. package/dist/bin/exe-doctor.js +1 -1
  23. package/dist/bin/exe-export-behaviors.js +6 -6
  24. package/dist/bin/exe-forget.js +5 -5
  25. package/dist/bin/exe-gateway.js +5 -5
  26. package/dist/bin/exe-heartbeat.js +8 -8
  27. package/dist/bin/exe-kill.js +11 -11
  28. package/dist/bin/exe-launch-agent.js +15 -15
  29. package/dist/bin/exe-new-employee.js +5 -5
  30. package/dist/bin/exe-pending-messages.js +9 -9
  31. package/dist/bin/exe-pending-notifications.js +8 -8
  32. package/dist/bin/exe-pending-reviews.js +8 -8
  33. package/dist/bin/exe-rename.js +3 -3
  34. package/dist/bin/exe-review.js +10 -10
  35. package/dist/bin/exe-search.js +4 -4
  36. package/dist/bin/exe-session-cleanup.js +13 -13
  37. package/dist/bin/exe-settings.js +3 -3
  38. package/dist/bin/exe-start-codex.js +10 -10
  39. package/dist/bin/exe-start-opencode.js +7 -7
  40. package/dist/bin/exe-status.js +9 -9
  41. package/dist/bin/exe-team.js +2 -2
  42. package/dist/bin/git-sweep.js +8 -8
  43. package/dist/bin/graph-backfill.js +3 -3
  44. package/dist/bin/graph-export.js +4 -4
  45. package/dist/bin/import-history.js +4 -4
  46. package/dist/bin/install.js +5 -5
  47. package/dist/bin/intercom-check.js +4 -4
  48. package/dist/bin/mcp-sessions.js +2 -2
  49. package/dist/bin/orchestration-metrics.js +3 -3
  50. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  51. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  52. package/dist/bin/scan-tasks.js +8 -8
  53. package/dist/bin/setup.js +1 -1
  54. package/dist/bin/shard-migrate.js +3 -3
  55. package/dist/{capacity-monitor-A6TMCY5F.js → capacity-monitor-BOAVNFBX.js} +9 -9
  56. package/dist/{catchup-brief-TU4C22MJ.js → catchup-brief-H6GBODF6.js} +10 -10
  57. package/dist/{chunk-PBI526CO.js → chunk-2H2XQJ62.js} +2 -2
  58. package/dist/{chunk-55VWU47L.js → chunk-3GUGE4K2.js} +2 -2
  59. package/dist/{chunk-5ZTZ3SHF.js → chunk-3YVPPYKT.js} +75 -70
  60. package/dist/{chunk-D7DRYXDE.js → chunk-44PHDWBT.js} +14 -9
  61. package/dist/{chunk-AAMUHY6Y.js → chunk-4DCP2XYD.js} +3 -3
  62. package/dist/{chunk-7WEP4DNC.js → chunk-5Y5I65H6.js} +2 -2
  63. package/dist/{chunk-7DYKIMN2.js → chunk-7FEIB32Y.js} +1 -1
  64. package/dist/{chunk-S5KQLCYU.js → chunk-7TKOVU64.js} +1 -1
  65. package/dist/{chunk-PXO6SF6L.js → chunk-A74RTD5M.js} +1 -1
  66. package/dist/{chunk-3XGZAFHE.js → chunk-A77WVNU2.js} +5 -0
  67. package/dist/{chunk-DF67VZ2H.js → chunk-BPV3F7M6.js} +1 -1
  68. package/dist/{chunk-R6JBGFSE.js → chunk-BRGUJ76G.js} +1 -1
  69. package/dist/{chunk-QG6IPAT6.js → chunk-BXQCL72Y.js} +1 -1
  70. package/dist/{chunk-2OERQW4L.js → chunk-DANQ4YE4.js} +2 -2
  71. package/dist/{chunk-SURCM7EO.js → chunk-DBZI5HYX.js} +3 -3
  72. package/dist/{chunk-BXLA6CQM.js → chunk-EFDIUJWC.js} +1 -1
  73. package/dist/{chunk-V2BQL663.js → chunk-EM7QXDC2.js} +8 -8
  74. package/dist/{chunk-JUWC7V2I.js → chunk-F65CKSBB.js} +3 -3
  75. package/dist/{chunk-YTPLK6QP.js → chunk-FSIPRNGL.js} +1 -1
  76. package/dist/{chunk-FJQPH2W3.js → chunk-G3RJSRAS.js} +2 -2
  77. package/dist/{chunk-Q4GGIM3A.js → chunk-GKEEC3P7.js} +1 -1
  78. package/dist/{chunk-7EUYGWPH.js → chunk-GM2SXBIN.js} +8 -8
  79. package/dist/{chunk-EUS7TKVR.js → chunk-GUY5C7LF.js} +1 -1
  80. package/dist/{chunk-V24ZGSQW.js → chunk-IC6NXF2N.js} +1 -1
  81. package/dist/{chunk-EB3AAVAK.js → chunk-ILAG5VBR.js} +5 -5
  82. package/dist/{chunk-WYPNZALJ.js → chunk-J3GQXXQR.js} +1 -1
  83. package/dist/{chunk-ILTZBCLW.js → chunk-LVAFZMP3.js} +2 -2
  84. package/dist/{chunk-DAE4I3UN.js → chunk-LZL5MGMH.js} +1 -1
  85. package/dist/{chunk-YTBT3SW2.js → chunk-MPWYUOB7.js} +1 -1
  86. package/dist/{chunk-4UHKYQZJ.js → chunk-MSSB6VBT.js} +1 -1
  87. package/dist/{chunk-SRJLG6RC.js → chunk-NERANZPH.js} +1 -1
  88. package/dist/{chunk-BMRLKOGT.js → chunk-NIXZDSJF.js} +1 -1
  89. package/dist/{chunk-IEAXNG3H.js → chunk-NJR54FIF.js} +8 -8
  90. package/dist/{chunk-QPU5QQLX.js → chunk-NLEWVXX4.js} +2 -2
  91. package/dist/{chunk-AMGEPNUB.js → chunk-OFPDYF24.js} +1 -1
  92. package/dist/{chunk-222EGJ6Z.js → chunk-OQUWRF5K.js} +1 -1
  93. package/dist/{chunk-BCREJ6FD.js → chunk-OV2DYWB6.js} +1 -1
  94. package/dist/{chunk-GYIPOKH6.js → chunk-P5IPATUA.js} +94 -29
  95. package/dist/{chunk-JEBWC4VU.js → chunk-QIWMGZOK.js} +2 -2
  96. package/dist/{chunk-V224L2GJ.js → chunk-QJ2MGXFX.js} +3 -3
  97. package/dist/{chunk-JHEABI3I.js → chunk-RA3NCLXH.js} +2 -2
  98. package/dist/{chunk-GT5E5PW6.js → chunk-RUM6GJKH.js} +1 -1
  99. package/dist/{chunk-2F7URV5H.js → chunk-SQBRX5GZ.js} +4 -4
  100. package/dist/{chunk-I3MJHU76.js → chunk-SVBCHRGC.js} +3 -3
  101. package/dist/{chunk-RQJDO6LP.js → chunk-UCHIXGLP.js} +1 -1
  102. package/dist/{chunk-E6KXZF4B.js → chunk-UTQTHZ4H.js} +2 -2
  103. package/dist/{chunk-56NWZFB2.js → chunk-X3ZMMUTS.js} +1 -1
  104. package/dist/{chunk-GJFS27NL.js → chunk-X4L6SQU5.js} +5 -5
  105. package/dist/{chunk-7F5MJSWJ.js → chunk-X6UJ4CLH.js} +3 -3
  106. package/dist/{chunk-A24RUKU6.js → chunk-XFLVRS2F.js} +1 -1
  107. package/dist/{chunk-443YQ2FS.js → chunk-XISG35R2.js} +2 -2
  108. package/dist/{chunk-OM3CETSN.js → chunk-YKTV34T6.js} +3 -3
  109. package/dist/{chunk-DZE2MBOW.js → chunk-YUHKC2X2.js} +23 -15
  110. package/dist/{co-occurrence-FBP2GTER.js → co-occurrence-VWWDUBWI.js} +1 -1
  111. package/dist/{crdt-sync-KFPZWAIE.js → crdt-sync-RCMMFHSQ.js} +1 -1
  112. package/dist/{crm-webhook-56OJDKXK.js → crm-webhook-YQULRX7T.js} +2 -2
  113. package/dist/{cto-delegation-gate-5WNDH4IL.js → cto-delegation-gate-YQ443YVD.js} +7 -7
  114. package/dist/{daemon-orchestration-KYK662AN.js → daemon-orchestration-KCIQTAGO.js} +10 -10
  115. package/dist/{exe-drift-C254MZW4.js → exe-drift-TFXY2LTU.js} +2 -2
  116. package/dist/{exe-export-S56FIA5P.js → exe-export-Q357HALA.js} +4 -4
  117. package/dist/{exe-import-7F7Y4I6T.js → exe-import-2BPJMJ6Z.js} +4 -4
  118. package/dist/{exe-key-U7TAND3I.js → exe-key-DVU3FQ3N.js} +1 -1
  119. package/dist/{fast-db-init-6DG7B7NO.js → fast-db-init-WF6BDZ46.js} +1 -1
  120. package/dist/gateway/index.js +6 -6
  121. package/dist/{git-staleness-FDYT34WP.js → git-staleness-WTLCKKNF.js} +1 -1
  122. package/dist/{git-task-sweep-EERTURH7.js → git-task-sweep-FUOVATSV.js} +8 -8
  123. package/dist/{global-procedures-74U75Y2I.js → global-procedures-S6ZVVLBM.js} +2 -2
  124. package/dist/{graph-auto-extract-VUBFSL6D.js → graph-auto-extract-ZJ7LNTSH.js} +1 -1
  125. package/dist/hooks/bug-report-worker.js +9 -9
  126. package/dist/hooks/codex-stop-task-finalizer.js +9 -9
  127. package/dist/hooks/commit-complete.js +10 -10
  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 +5 -5
  131. package/dist/hooks/instructions-loaded.js +3 -3
  132. package/dist/hooks/manifest.json +19 -19
  133. package/dist/hooks/notification.js +3 -3
  134. package/dist/hooks/post-compact.js +9 -9
  135. package/dist/hooks/post-tool-combined.js +4 -4
  136. package/dist/hooks/pre-compact.js +10 -10
  137. package/dist/hooks/pre-tool-use.js +35 -28
  138. package/dist/hooks/prompt-submit.js +19 -19
  139. package/dist/hooks/session-end.js +13 -13
  140. package/dist/hooks/session-start.js +10 -10
  141. package/dist/hooks/stop.js +13 -13
  142. package/dist/hooks/subagent-stop.js +9 -9
  143. package/dist/hooks/summary-worker.js +13 -13
  144. package/dist/{import-conversations-FO4IQCOP.js → import-conversations-O3BGXQQH.js} +6 -6
  145. package/dist/index.js +15 -15
  146. package/dist/{installer-XIP332UC.js → installer-42KVGDGD.js} +4 -4
  147. package/dist/{installer-XZ4H2J3J.js → installer-KZVGXCRL.js} +4 -4
  148. package/dist/{installer-MWLYK37L.js → installer-VH4GYJQO.js} +4 -4
  149. package/dist/lib/cloud-sync.js +3 -3
  150. package/dist/lib/consolidation.js +4 -4
  151. package/dist/lib/database.js +1 -1
  152. package/dist/lib/db.js +1 -1
  153. package/dist/lib/employee-templates.js +3 -3
  154. package/dist/lib/employees.js +1 -1
  155. package/dist/lib/exe-daemon.js +41 -37
  156. package/dist/lib/hybrid-search.js +4 -4
  157. package/dist/lib/identity.js +1 -1
  158. package/dist/lib/messaging.js +8 -8
  159. package/dist/lib/reminders.js +2 -2
  160. package/dist/lib/schedules.js +4 -4
  161. package/dist/lib/session-registry.js +3 -3
  162. package/dist/lib/skill-learning.js +3 -3
  163. package/dist/lib/store.js +3 -3
  164. package/dist/lib/task-router.js +2 -2
  165. package/dist/lib/tasks.js +8 -8
  166. package/dist/lib/tmux-routing.js +7 -7
  167. package/dist/lib/token-spend.js +2 -2
  168. package/dist/mcp/register-tools.js +47 -47
  169. package/dist/mcp/server.js +48 -48
  170. package/dist/mcp/tools/complete-reminder.js +3 -3
  171. package/dist/mcp/tools/create-reminder.js +3 -3
  172. package/dist/mcp/tools/create-task.js +10 -10
  173. package/dist/mcp/tools/deactivate-behavior.js +4 -4
  174. package/dist/mcp/tools/list-reminders.js +3 -3
  175. package/dist/mcp/tools/list-tasks.js +10 -10
  176. package/dist/mcp/tools/send-message.js +10 -10
  177. package/dist/mcp/tools/update-task.js +9 -9
  178. package/dist/{mcp-http-config-GYVAS5HQ.js → mcp-http-config-QFVZZ4P6.js} +2 -2
  179. package/dist/{memory-cards-HU5WIUTY.js → memory-cards-7TZMVN4S.js} +1 -1
  180. package/dist/{memory-graph-extractor-PNRAGL4V.js → memory-graph-extractor-ZENXY3L6.js} +2 -2
  181. package/dist/{memory-poisoning-defense-KBBWI6ZL.js → memory-poisoning-defense-T6AN332J.js} +1 -1
  182. package/dist/{memory-reflection-UP56KTJ5.js → memory-reflection-5AYMWWGN.js} +1 -1
  183. package/dist/{notifications-VWAMI4ZE.js → notifications-WDAAZ6FP.js} +7 -7
  184. package/dist/{orchestration-events-7XAYQ2MT.js → orchestration-events-IDQXVP34.js} +2 -2
  185. package/dist/{orchestrator-D7NWJTJO.js → orchestrator-CZYRJJDL.js} +9 -9
  186. package/dist/{plan-limits-EA3VBZJ2.js → plan-limits-WAZUVFZQ.js} +2 -2
  187. package/dist/{projection-worker-HNI2TOO3.js → projection-worker-4DV5SIDZ.js} +1 -1
  188. package/dist/{reranker-M52JJADT.js → reranker-EZRCPPL4.js} +1 -1
  189. package/dist/{review-polling-YT3BEKPV.js → review-polling-W32O7SNH.js} +8 -8
  190. package/dist/runtime/index.js +10 -10
  191. package/dist/{session-events-7EN6W4EX.js → session-events-AKRECMTQ.js} +8 -8
  192. package/dist/{session-kill-telemetry-XIFWDG3L.js → session-kill-telemetry-SXLEJ2PW.js} +2 -2
  193. package/dist/{session-scope-7F3JL2RJ.js → session-scope-QCZEPEZ7.js} +7 -7
  194. package/dist/{setup-wizard-OT5R6PJ6.js → setup-wizard-HOFPOKHS.js} +1 -1
  195. package/dist/{skill-refinement-N5RINY42.js → skill-refinement-OIPE7QNX.js} +1 -1
  196. package/dist/{task-enforcement-DCBYO3R6.js → task-enforcement-PYP4NBI2.js} +7 -7
  197. package/dist/{task-scope-NM2C2QZX.js → task-scope-IAIAQNYB.js} +7 -7
  198. package/dist/{tasks-crud-AVVOQKZY.js → tasks-crud-M7YVS5F3.js} +7 -7
  199. package/dist/{tasks-review-QNBO3D7U.js → tasks-review-HNNUT3QB.js} +7 -7
  200. package/dist/{telemetry-upload-ZJ4UP2RP.js → telemetry-upload-5OOAFOOI.js} +3 -3
  201. package/dist/{token-budget-SPQB44ZI.js → token-budget-D5LTVJNN.js} +1 -1
  202. package/dist/{tool-telemetry-EIRCR2VO.js → tool-telemetry-A47IJB4I.js} +1 -1
  203. package/dist/tui/App.js +15 -15
  204. package/dist/{tui-data-5B6YA4VV.js → tui-data-UCFTP4HZ.js} +7 -7
  205. package/dist/{worker-gate-WQV3FR4R.js → worker-gate-WES7AMDA.js} +1 -1
  206. package/dist/{workflow-engine-TZKS5QB7.js → workflow-engine-ZHWSK4BG.js} +2 -2
  207. package/dist/{worktree-KI3X6POI.js → worktree-EO73ZMHX.js} +3 -3
  208. package/package.json +1 -1
  209. package/release-notes.json +103 -103
  210. /package/dist/{chunk-ZPQ2RUIU.js → chunk-6MMKWEGK.js} +0 -0
  211. /package/dist/{chunk-QSWZI7NH.js → chunk-ED4MQPBW.js} +0 -0
  212. /package/dist/{chunk-V3CEFPKS.js → chunk-HR4WG32E.js} +0 -0
  213. /package/dist/{chunk-Q3YGPFZH.js → chunk-I7K6NY34.js} +0 -0
  214. /package/dist/{chunk-PN7MTAYN.js → chunk-MLCYKSTC.js} +0 -0
  215. /package/dist/{chunk-HUVQ2NUX.js → chunk-OMJW5FZ5.js} +0 -0
  216. /package/dist/{chunk-3OZ7LXUY.js → chunk-QBPEJKJ2.js} +0 -0
  217. /package/dist/{chunk-V3NHFF3Z.js → chunk-T6UW3VZN.js} +0 -0
  218. /package/dist/{chunk-4B7JKVUT.js → chunk-UHMLXFZC.js} +0 -0
  219. /package/dist/{core-memory-3XHQZ5EI.js → core-memory-XQKOWOID.js} +0 -0
  220. /package/dist/{wiki-acl-QSO37KYW.js → wiki-acl-GVQMBGRQ.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  listRecentSessionEvents
3
- } from "./chunk-EUS7TKVR.js";
3
+ } from "./chunk-GUY5C7LF.js";
4
4
  import {
5
5
  AUTO_WAKE_MAX_RETRIES
6
- } from "./chunk-7EUYGWPH.js";
6
+ } from "./chunk-GM2SXBIN.js";
7
7
  import {
8
8
  isRerankerAvailable,
9
9
  rerankWithScores
10
- } from "./chunk-4B7JKVUT.js";
10
+ } from "./chunk-UHMLXFZC.js";
11
11
  import {
12
12
  getEntityByName,
13
13
  getEntityNeighbors,
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk-E6ORBQHP.js";
29
29
  import {
30
30
  getToolUsageStats
31
- } from "./chunk-V3NHFF3Z.js";
31
+ } from "./chunk-T6UW3VZN.js";
32
32
  import {
33
33
  analyzeBlastRadius,
34
34
  buildCodeContextIndex,
@@ -42,64 +42,64 @@ import {
42
42
  exportOrchestration,
43
43
  importOrchestration,
44
44
  validatePackage
45
- } from "./chunk-AMGEPNUB.js";
45
+ } from "./chunk-OFPDYF24.js";
46
46
  import {
47
47
  registerImportConversations
48
- } from "./chunk-I3MJHU76.js";
48
+ } from "./chunk-SVBCHRGC.js";
49
49
  import {
50
50
  runDriftProbes
51
- } from "./chunk-WYPNZALJ.js";
51
+ } from "./chunk-J3GQXXQR.js";
52
52
  import {
53
53
  loadOrchestrationPhase,
54
54
  setOrchestrationPhase
55
55
  } from "./chunk-XHTOAJYD.js";
56
56
  import {
57
57
  createOrRefreshResumeTask
58
- } from "./chunk-GJFS27NL.js";
58
+ } from "./chunk-X4L6SQU5.js";
59
59
  import {
60
60
  registerUpdateTask
61
- } from "./chunk-V224L2GJ.js";
61
+ } from "./chunk-QJ2MGXFX.js";
62
62
  import {
63
63
  registerCreateReminder
64
- } from "./chunk-QG6IPAT6.js";
64
+ } from "./chunk-BXQCL72Y.js";
65
65
  import {
66
66
  registerListReminders
67
- } from "./chunk-222EGJ6Z.js";
67
+ } from "./chunk-OQUWRF5K.js";
68
68
  import {
69
69
  registerCompleteReminder
70
- } from "./chunk-DF67VZ2H.js";
70
+ } from "./chunk-BPV3F7M6.js";
71
71
  import {
72
72
  registerDeactivateBehavior
73
- } from "./chunk-AAMUHY6Y.js";
73
+ } from "./chunk-4DCP2XYD.js";
74
74
  import {
75
75
  completeReminder,
76
76
  createReminder,
77
77
  listReminders
78
- } from "./chunk-PXO6SF6L.js";
78
+ } from "./chunk-A74RTD5M.js";
79
79
  import {
80
80
  registerSendMessage
81
- } from "./chunk-PBI526CO.js";
81
+ } from "./chunk-2H2XQJ62.js";
82
82
  import {
83
83
  registerCreateTask
84
- } from "./chunk-GYIPOKH6.js";
84
+ } from "./chunk-P5IPATUA.js";
85
85
  import {
86
86
  registerListTasks
87
- } from "./chunk-2OERQW4L.js";
87
+ } from "./chunk-DANQ4YE4.js";
88
88
  import {
89
89
  TOKENS_PER_IDLE_MINUTE,
90
90
  countKillsSince,
91
91
  sumTokensSavedSince
92
- } from "./chunk-V24ZGSQW.js";
92
+ } from "./chunk-IC6NXF2N.js";
93
93
  import {
94
94
  createSchedule,
95
95
  parseHumanCron
96
- } from "./chunk-443YQ2FS.js";
96
+ } from "./chunk-XISG35R2.js";
97
97
  import {
98
98
  status
99
- } from "./chunk-7F5MJSWJ.js";
99
+ } from "./chunk-X6UJ4CLH.js";
100
100
  import {
101
101
  getAgentSpend
102
- } from "./chunk-YTBT3SW2.js";
102
+ } from "./chunk-MPWYUOB7.js";
103
103
  import {
104
104
  exportGraphHTML,
105
105
  generateGraphReport
@@ -115,7 +115,7 @@ import {
115
115
  fixShards,
116
116
  formatReport,
117
117
  runAudit
118
- } from "./chunk-ILTZBCLW.js";
118
+ } from "./chunk-LVAFZMP3.js";
119
119
  import {
120
120
  runHealthCheck
121
121
  } from "./chunk-RAV23DU2.js";
@@ -126,12 +126,12 @@ import {
126
126
  } from "./chunk-WSZS2KVV.js";
127
127
  import {
128
128
  renderClientCOOTemplate
129
- } from "./chunk-RQJDO6LP.js";
129
+ } from "./chunk-UCHIXGLP.js";
130
130
  import {
131
131
  deactivateGlobalProcedure,
132
132
  loadGlobalProcedures,
133
133
  storeGlobalProcedure
134
- } from "./chunk-D7DRYXDE.js";
134
+ } from "./chunk-44PHDWBT.js";
135
135
  import {
136
136
  PLATFORM_PROCEDURES
137
137
  } from "./chunk-2ZYEO7U7.js";
@@ -140,27 +140,27 @@ import {
140
140
  cloudSync,
141
141
  getCloudReuploadRequired,
142
142
  markCloudReuploadRequired
143
- } from "./chunk-OM3CETSN.js";
143
+ } from "./chunk-YKTV34T6.js";
144
144
  import {
145
145
  createARecord
146
146
  } from "./chunk-X2Z5GT3V.js";
147
147
  import {
148
148
  findSimilarTrajectories,
149
149
  hashSignature
150
- } from "./chunk-E6KXZF4B.js";
150
+ } from "./chunk-UTQTHZ4H.js";
151
151
  import {
152
152
  deactivateBehavior,
153
153
  listBehaviorsByDomain,
154
154
  listSharedSkills,
155
155
  reactivateBehavior,
156
156
  storeBehavior
157
- } from "./chunk-S5KQLCYU.js";
157
+ } from "./chunk-7TKOVU64.js";
158
158
  import {
159
159
  countUnconsolidated,
160
160
  groupMemories,
161
161
  runConsolidation,
162
162
  selectUnconsolidated
163
- } from "./chunk-55VWU47L.js";
163
+ } from "./chunk-3GUGE4K2.js";
164
164
  import {
165
165
  embed
166
166
  } from "./chunk-OUHHUKPC.js";
@@ -171,17 +171,17 @@ import {
171
171
  } from "./chunk-GD4VXNXO.js";
172
172
  import {
173
173
  updateTask
174
- } from "./chunk-EB3AAVAK.js";
174
+ } from "./chunk-ILAG5VBR.js";
175
175
  import {
176
176
  fastDbInit
177
- } from "./chunk-V3CEFPKS.js";
177
+ } from "./chunk-HR4WG32E.js";
178
178
  import {
179
179
  MAX_CONCURRENT_WORKERS
180
- } from "./chunk-R6JBGFSE.js";
180
+ } from "./chunk-BRGUJ76G.js";
181
181
  import {
182
182
  hybridSearch,
183
183
  recentRecords
184
- } from "./chunk-V2BQL663.js";
184
+ } from "./chunk-EM7QXDC2.js";
185
185
  import {
186
186
  attachDocumentMetadata,
187
187
  flushBatch,
@@ -189,10 +189,10 @@ import {
189
189
  reserveVersions,
190
190
  vectorToBlob,
191
191
  writeMemory
192
- } from "./chunk-IEAXNG3H.js";
192
+ } from "./chunk-NJR54FIF.js";
193
193
  import {
194
194
  getActiveAgent
195
- } from "./chunk-BXLA6CQM.js";
195
+ } from "./chunk-EFDIUJWC.js";
196
196
  import {
197
197
  getMySession,
198
198
  resolveExeSession,
@@ -200,13 +200,13 @@ import {
200
200
  sessionScopeFilter,
201
201
  updateTaskStatus,
202
202
  writeCheckpoint
203
- } from "./chunk-DZE2MBOW.js";
203
+ } from "./chunk-YUHKC2X2.js";
204
204
  import {
205
205
  listSessions
206
- } from "./chunk-Q4GGIM3A.js";
206
+ } from "./chunk-GKEEC3P7.js";
207
207
  import {
208
208
  recordOrchestrationEventBestEffort
209
- } from "./chunk-BCREJ6FD.js";
209
+ } from "./chunk-OV2DYWB6.js";
210
210
  import {
211
211
  DEFAULT_MODELS,
212
212
  KNOWN_RUNTIMES,
@@ -223,7 +223,7 @@ import {
223
223
  assertEmployeeLimit,
224
224
  assertFeature,
225
225
  assertMemoryLimit
226
- } from "./chunk-GT5E5PW6.js";
226
+ } from "./chunk-RUM6GJKH.js";
227
227
  import {
228
228
  getProjectName
229
229
  } from "./chunk-OPU3NYOO.js";
@@ -236,7 +236,7 @@ import {
236
236
  isScheduledTrigger,
237
237
  loadTriggers,
238
238
  sanitizeParam
239
- } from "./chunk-ZPQ2RUIU.js";
239
+ } from "./chunk-6MMKWEGK.js";
240
240
  import {
241
241
  pushConversationToCRM
242
242
  } from "./chunk-ONKIWA3R.js";
@@ -256,7 +256,7 @@ import {
256
256
  loadEmployeesSync,
257
257
  saveEmployees,
258
258
  updateIdentity
259
- } from "./chunk-3XGZAFHE.js";
259
+ } from "./chunk-A77WVNU2.js";
260
260
  import {
261
261
  getMasterKey
262
262
  } from "./chunk-6D23UNXU.js";
@@ -1442,7 +1442,7 @@ async function handleSupersede(input) {
1442
1442
  }
1443
1443
  try {
1444
1444
  const { getClient: getClient2 } = await import("./lib/database.js");
1445
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-YLIAU6SX.js");
1445
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-YNZ7YA74.js");
1446
1446
  const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
1447
1447
  const { randomUUID: randomUUID2 } = await import("crypto");
1448
1448
  const client = getClient2();
@@ -1552,7 +1552,7 @@ function registerMemory(server) {
1552
1552
  return handleSupersede(input);
1553
1553
  }
1554
1554
  if (action === "update_working_memory" || action === "get_working_memory") {
1555
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-YLIAU6SX.js");
1555
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-YNZ7YA74.js");
1556
1556
  const { agentId } = getActiveAgent2();
1557
1557
  const { readWorkingMemory, writeWorkingMemory, WORKING_MEMORY_MAX_BYTES } = await import("./working-memory-PKUUMWZK.js");
1558
1558
  if (action === "get_working_memory") {
@@ -1569,9 +1569,9 @@ function registerMemory(server) {
1569
1569
  }
1570
1570
  }
1571
1571
  if (action === "core_get" || action === "core_set" || action === "core_delete") {
1572
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-YLIAU6SX.js");
1572
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-YNZ7YA74.js");
1573
1573
  const { agentId } = getActiveAgent2();
1574
- const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-3XHQZ5EI.js");
1574
+ const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-XQKOWOID.js");
1575
1575
  if (action === "core_get") {
1576
1576
  const entries = await getCoreMemory(agentId);
1577
1577
  const block = formatCoreMemoryBlock(entries);
@@ -2296,7 +2296,7 @@ function registerResumeEmployee(server) {
2296
2296
  };
2297
2297
  }
2298
2298
  try {
2299
- const { isTmuxSessionAlive } = await import("./tasks-crud-AVVOQKZY.js");
2299
+ const { isTmuxSessionAlive } = await import("./tasks-crud-M7YVS5F3.js");
2300
2300
  const now = (/* @__PURE__ */ new Date()).toISOString();
2301
2301
  for (const row of openTasks.rows) {
2302
2302
  const status2 = String(row.status);
@@ -2324,7 +2324,7 @@ function registerResumeEmployee(server) {
2324
2324
  }
2325
2325
  let checkpointInfo = "";
2326
2326
  try {
2327
- const { readLatestCheckpoint } = await import("./tasks-crud-AVVOQKZY.js");
2327
+ const { readLatestCheckpoint } = await import("./tasks-crud-M7YVS5F3.js");
2328
2328
  const checkpoint = await readLatestCheckpoint(agent_id);
2329
2329
  if (checkpoint) {
2330
2330
  const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none";
@@ -2684,7 +2684,7 @@ function registerTask(server) {
2684
2684
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
2685
2685
  if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
2686
2686
  try {
2687
- const { createTaskGroup } = await import("./tasks-crud-AVVOQKZY.js");
2687
+ const { createTaskGroup } = await import("./tasks-crud-M7YVS5F3.js");
2688
2688
  const group = await createTaskGroup({
2689
2689
  title: args.title,
2690
2690
  coordinator: args.coordinator,
@@ -2703,7 +2703,7 @@ function registerTask(server) {
2703
2703
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
2704
2704
  if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
2705
2705
  try {
2706
- const { getGroupStatus } = await import("./tasks-crud-AVVOQKZY.js");
2706
+ const { getGroupStatus } = await import("./tasks-crud-M7YVS5F3.js");
2707
2707
  const status2 = await getGroupStatus(args.group_id);
2708
2708
  return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
2709
2709
  } catch (err) {
@@ -2715,7 +2715,7 @@ function registerTask(server) {
2715
2715
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
2716
2716
  if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
2717
2717
  try {
2718
- const { getGroupResults } = await import("./tasks-crud-AVVOQKZY.js");
2718
+ const { getGroupResults } = await import("./tasks-crud-M7YVS5F3.js");
2719
2719
  const results = await getGroupResults(args.group_id);
2720
2720
  return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
2721
2721
  } catch (err) {
@@ -3522,8 +3522,8 @@ function registerIngestDocument(server) {
3522
3522
  },
3523
3523
  async (input) => {
3524
3524
  try {
3525
- const { assertFeature: assertFeature2 } = await import("./plan-limits-EA3VBZJ2.js");
3526
- const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-EA3VBZJ2.js");
3525
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-WAZUVFZQ.js");
3526
+ const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-WAZUVFZQ.js");
3527
3527
  await assertFeature2("wiki");
3528
3528
  await assertMemoryLimit2();
3529
3529
  const result3 = await ingestDocument(input);
@@ -5640,7 +5640,7 @@ async function getAgentSessionLoad() {
5640
5640
  return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
5641
5641
  }
5642
5642
  const { getClient: getClient2 } = await import("./lib/database.js");
5643
- const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-NM2C2QZX.js");
5643
+ const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-IAIAQNYB.js");
5644
5644
  const client = getClient2();
5645
5645
  const scope = sessionScopeFilter2();
5646
5646
  for (const s of liveAgentSessions) {
@@ -7290,7 +7290,7 @@ function registerCreateTrigger(server) {
7290
7290
  }
7291
7291
  },
7292
7292
  async ({ name, event, conditions, actions, project, enabled, schedule, query }) => {
7293
- const { assertFeature: assertFeature2 } = await import("./plan-limits-EA3VBZJ2.js");
7293
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-WAZUVFZQ.js");
7294
7294
  const gatedActions = {
7295
7295
  send_whatsapp: "external_agents",
7296
7296
  update_wiki: "wiki"
@@ -7925,17 +7925,18 @@ function registerCompanyProcedureTool(server, toolName) {
7925
7925
  toolName,
7926
7926
  {
7927
7927
  title: "Company Procedure",
7928
- description: "Manage company procedures (customer-owned Layer 0 rules) that supersede identity, expertise, and experience. Actions: store (create new, restricted), list (view all, open), deactivate (soft-delete, restricted).",
7928
+ description: "Manage company procedures and values (customer-owned Layer 0 rules) that supersede identity, expertise, and experience. Actions: store (create new, restricted), list (view all, open), deactivate (soft-delete, restricted). Use kind='value' for company values (principles/beliefs), kind='procedure' for operational instructions.",
7929
7929
  inputSchema: {
7930
7930
  action: z68.enum(["store", "list", "deactivate"]).describe("Action to perform"),
7931
- title: z68.string().optional().describe("Short title for the procedure (store)"),
7932
- content: z68.string().max(500).optional().describe("The procedure content \u2014 clear, actionable instruction (store)"),
7931
+ title: z68.string().optional().describe("Short title for the procedure or value (store)"),
7932
+ content: z68.string().max(500).optional().describe("The content \u2014 clear, actionable instruction or guiding principle (store)"),
7933
7933
  priority: z68.enum(["p0", "p1", "p2"]).optional().describe("Priority tier. p0 = always (default). p1 = standard. p2 = nice-to-have."),
7934
7934
  domain: z68.string().optional().describe("Category: workflow, code-style, communication, architecture, testing, security"),
7935
+ kind: z68.enum(["procedure", "value"]).optional().describe("Type: 'procedure' (operational instruction) or 'value' (company principle). Default: procedure."),
7935
7936
  procedure_id: z68.string().optional().describe("UUID of the company procedure (deactivate)")
7936
7937
  }
7937
7938
  },
7938
- async ({ action, title, content, priority, domain, procedure_id }) => {
7939
+ async ({ action, title, content, priority, domain, kind, procedure_id }) => {
7939
7940
  if (action === "list") {
7940
7941
  const customerProcs = await loadGlobalProcedures();
7941
7942
  if (customerProcs.length === 0) {
@@ -7981,18 +7982,22 @@ ${lines.join("\n\n")}`
7981
7982
  isError: true
7982
7983
  };
7983
7984
  }
7985
+ const effectiveKind = kind ?? "procedure";
7984
7986
  const id = await storeGlobalProcedure({
7985
7987
  title,
7986
7988
  content,
7987
7989
  priority: priority ?? "p0",
7988
- domain: domain ?? void 0
7990
+ domain: domain ?? void 0,
7991
+ kind: effectiveKind
7989
7992
  });
7993
+ const label = effectiveKind === "value" ? "Company value" : "Company procedure";
7990
7994
  return {
7991
7995
  content: [{
7992
7996
  type: "text",
7993
- text: `Company procedure stored.
7997
+ text: `${label} stored.
7994
7998
  ID: ${id}
7995
7999
  Title: ${title}
8000
+ Kind: ${effectiveKind}
7996
8001
  Priority: ${priority ?? "p0"}
7997
8002
  Domain: ${domain ?? "none"}`
7998
8003
  }]
@@ -8194,7 +8199,7 @@ function registerConfig(server) {
8194
8199
  const existing = loadEmployeesSync2();
8195
8200
  if (existing.some((e) => e.name === employeeName)) return errorResult8(`Employee "${employeeName}" already exists.`);
8196
8201
  try {
8197
- const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-EA3VBZJ2.js");
8202
+ const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-WAZUVFZQ.js");
8198
8203
  await assertEmployeeLimit2();
8199
8204
  } catch (e) {
8200
8205
  return errorResult8(e instanceof Error ? e.message : "Employee limit reached.");
@@ -8235,7 +8240,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
8235
8240
  }
8236
8241
  try {
8237
8242
  const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
8238
- const { resolvePackageRoot } = await import("./installer-MWLYK37L.js");
8243
+ const { resolvePackageRoot } = await import("./installer-VH4GYJQO.js");
8239
8244
  generateSessionWrappers(resolvePackageRoot());
8240
8245
  } catch {
8241
8246
  }
@@ -8271,7 +8276,7 @@ function registerListWikiPages(server) {
8271
8276
  }
8272
8277
  },
8273
8278
  async ({ workspace, folder }) => {
8274
- const { assertFeature: assertFeature2 } = await import("./plan-limits-EA3VBZJ2.js");
8279
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-WAZUVFZQ.js");
8275
8280
  await assertFeature2("wiki");
8276
8281
  const apiUrl = process.env.EXE_WIKI_API_URL;
8277
8282
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -8371,7 +8376,7 @@ function registerGetWikiPage(server) {
8371
8376
  }
8372
8377
  },
8373
8378
  async ({ workspace, document_id, title }) => {
8374
- const { assertFeature: assertFeature2 } = await import("./plan-limits-EA3VBZJ2.js");
8379
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-WAZUVFZQ.js");
8375
8380
  await assertFeature2("wiki");
8376
8381
  const apiUrl = process.env.EXE_WIKI_API_URL;
8377
8382
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -8566,7 +8571,7 @@ function registerWiki(server) {
8566
8571
  if (!legacyToolName) return errorResult9(`Unknown wiki action: ${String(input.action)}`);
8567
8572
  const { action: _action, user_id, ...legacyArgs } = input;
8568
8573
  if (user_id && legacyArgs.workspace) {
8569
- const { checkWikiAccess } = await import("./wiki-acl-QSO37KYW.js");
8574
+ const { checkWikiAccess } = await import("./wiki-acl-GVQMBGRQ.js");
8570
8575
  const { allowed } = await checkWikiAccess(
8571
8576
  String(user_id),
8572
8577
  String(legacyArgs.workspace),
@@ -8892,7 +8897,7 @@ Use /exe-forget to remove any that this supersedes.`;
8892
8897
  return { content: [{ type: "text", text: `Behavior not found: ${behavior_id}` }], isError: true };
8893
8898
  }
8894
8899
  const row2 = result4.rows[0];
8895
- const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-4PGM7IJJ.js");
8900
+ const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-TT72JVF4.js");
8896
8901
  const wasReactivated = await reactivateBehavior2(behavior_id);
8897
8902
  if (!wasReactivated) {
8898
8903
  return { content: [{ type: "text", text: `Behavior ${behavior_id} is already active.` }] };
@@ -9830,7 +9835,7 @@ function registerWorkflowTool(server) {
9830
9835
  getWorkflowInstance,
9831
9836
  listWorkflowInstances,
9832
9837
  approveWorkflowStep
9833
- } = await import("./workflow-engine-TZKS5QB7.js");
9838
+ } = await import("./workflow-engine-ZHWSK4BG.js");
9834
9839
  try {
9835
9840
  switch (input.action) {
9836
9841
  case "create_workflow": {
@@ -10263,7 +10268,7 @@ function registerCreateBugReport(server) {
10263
10268
  const version = package_version ?? "unknown";
10264
10269
  let metricsSnapshot = "";
10265
10270
  try {
10266
- const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-7XAYQ2MT.js");
10271
+ const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-IDQXVP34.js");
10267
10272
  const sinceIso = new Date(Date.now() - 60 * 60 * 1e3).toISOString();
10268
10273
  const metrics = await getOrchestrationMetrics({ sinceIso });
10269
10274
  if (metrics.totalEvents > 0) {
@@ -11061,7 +11066,7 @@ function registerCodeContext(server) {
11061
11066
  const index = buildCodeContextIndex(opts);
11062
11067
  let graphExtract;
11063
11068
  try {
11064
- const { autoExtractGraphEntities } = await import("./graph-auto-extract-VUBFSL6D.js");
11069
+ const { autoExtractGraphEntities } = await import("./graph-auto-extract-ZJ7LNTSH.js");
11065
11070
  graphExtract = await autoExtractGraphEntities(opts.projectRoot);
11066
11071
  } catch {
11067
11072
  }
@@ -11734,7 +11739,7 @@ function registerSupportConsolidated(server) {
11734
11739
  const action = input.action;
11735
11740
  if (action === "send_telemetry") {
11736
11741
  try {
11737
- const { sendTelemetry, isTelemetryEnabled } = await import("./telemetry-upload-ZJ4UP2RP.js");
11742
+ const { sendTelemetry, isTelemetryEnabled } = await import("./telemetry-upload-5OOAFOOI.js");
11738
11743
  if (!isTelemetryEnabled()) {
11739
11744
  return { content: [{ type: "text", text: "Telemetry disabled (EXE_TELEMETRY=0)." }] };
11740
11745
  }
@@ -12125,7 +12130,7 @@ function registerAllTools(server, license, hasKey) {
12125
12130
  if (license && !isToolAllowedForPlan(name, license.plan)) return;
12126
12131
  fn(server);
12127
12132
  };
12128
- const mcpToolSurface = process.env.EXE_MCP_TOOL_SURFACE ?? "legacy";
12133
+ const mcpToolSurface = process.env.EXE_MCP_TOOL_SURFACE ?? "consolidated";
12129
12134
  const exposeConsolidatedTasks = mcpToolSurface === "both" || mcpToolSurface === "consolidated";
12130
12135
  const exposeLegacyTasks = mcpToolSurface !== "consolidated";
12131
12136
  const exposeConsolidatedMemory = mcpToolSurface === "both" || mcpToolSurface === "consolidated";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-2ZYEO7U7.js";
5
5
  import {
6
6
  getClient
7
- } from "./chunk-3XGZAFHE.js";
7
+ } from "./chunk-A77WVNU2.js";
8
8
 
9
9
  // src/lib/global-procedures.ts
10
10
  import { randomUUID } from "crypto";
@@ -20,12 +20,17 @@ async function loadGlobalProcedures() {
20
20
  });
21
21
  const allRows = result.rows;
22
22
  const customerOnly = allRows.filter((p) => !PLATFORM_PROCEDURE_TITLES.has(p.title));
23
- if (customerOnly.length > 0) {
24
- _customerCache = customerOnly.map((p) => `### ${p.title}
25
- ${p.content}`).join("\n\n");
26
- } else {
27
- _customerCache = "";
23
+ const values = customerOnly.filter((p) => p.kind === "value");
24
+ const procedures = customerOnly.filter((p) => p.kind !== "value");
25
+ const parts = [];
26
+ if (values.length > 0) {
27
+ parts.push("### Company Values\n" + values.map((v) => `- **${v.title}:** ${v.content}`).join("\n"));
28
+ }
29
+ if (procedures.length > 0) {
30
+ parts.push(procedures.map((p) => `### ${p.title}
31
+ ${p.content}`).join("\n\n"));
28
32
  }
33
+ _customerCache = parts.join("\n\n");
29
34
  _cacheLoaded = true;
30
35
  return customerOnly;
31
36
  }
@@ -44,9 +49,9 @@ async function storeGlobalProcedure(input) {
44
49
  const now = (/* @__PURE__ */ new Date()).toISOString();
45
50
  const client = getClient();
46
51
  await client.execute({
47
- sql: `INSERT INTO company_procedures (id, title, content, priority, domain, active, created_at, updated_at)
48
- VALUES (?, ?, ?, ?, ?, 1, ?, ?)`,
49
- args: [id, input.title, input.content, input.priority ?? "p0", input.domain ?? null, now, now]
52
+ sql: `INSERT INTO company_procedures (id, title, content, priority, domain, kind, active, created_at, updated_at)
53
+ VALUES (?, ?, ?, ?, ?, ?, 1, ?, ?)`,
54
+ args: [id, input.title, input.content, input.priority ?? "p0", input.domain ?? null, input.kind ?? "procedure", now, now]
50
55
  });
51
56
  await loadGlobalProcedures();
52
57
  return id;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  deactivateBehavior
3
- } from "./chunk-S5KQLCYU.js";
3
+ } from "./chunk-7TKOVU64.js";
4
4
  import {
5
5
  getActiveAgent
6
- } from "./chunk-BXLA6CQM.js";
6
+ } from "./chunk-EFDIUJWC.js";
7
7
  import {
8
8
  canCoordinate,
9
9
  getClient
10
- } from "./chunk-3XGZAFHE.js";
10
+ } from "./chunk-A77WVNU2.js";
11
11
 
12
12
  // src/mcp/tools/deactivate-behavior.ts
13
13
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-3XGZAFHE.js";
3
+ } from "./chunk-A77WVNU2.js";
4
4
 
5
5
  // src/lib/memory-graph-extractor.ts
6
6
  function entityId(type, name) {
@@ -247,7 +247,7 @@ async function upsertMemoryGraph(result, memoryId) {
247
247
  });
248
248
  }
249
249
  try {
250
- const { createCoOccurrenceEdges } = await import("./co-occurrence-FBP2GTER.js");
250
+ const { createCoOccurrenceEdges } = await import("./co-occurrence-VWWDUBWI.js");
251
251
  await createCoOccurrenceEdges(result.entities, memoryId);
252
252
  } catch {
253
253
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listBehaviors
3
- } from "./chunk-S5KQLCYU.js";
3
+ } from "./chunk-7TKOVU64.js";
4
4
  import {
5
5
  loadConfigSync
6
6
  } from "./chunk-WXW3XGWX.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-3XGZAFHE.js";
3
+ } from "./chunk-A77WVNU2.js";
4
4
 
5
5
  // src/lib/behaviors.ts
6
6
  import crypto from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-3XGZAFHE.js";
3
+ } from "./chunk-A77WVNU2.js";
4
4
 
5
5
  // src/lib/reminders.ts
6
6
  import crypto from "crypto";
@@ -2551,11 +2551,16 @@ async function ensureSchema() {
2551
2551
  content TEXT NOT NULL,
2552
2552
  priority TEXT NOT NULL DEFAULT 'p0',
2553
2553
  domain TEXT,
2554
+ kind TEXT NOT NULL DEFAULT 'procedure',
2554
2555
  active INTEGER NOT NULL DEFAULT 1,
2555
2556
  created_at TEXT NOT NULL,
2556
2557
  updated_at TEXT NOT NULL
2557
2558
  )
2558
2559
  `);
2560
+ try {
2561
+ await client.execute("ALTER TABLE company_procedures ADD COLUMN kind TEXT NOT NULL DEFAULT 'procedure'");
2562
+ } catch {
2563
+ }
2559
2564
  const legacyProcedureObject = await client.execute({
2560
2565
  sql: "SELECT type FROM sqlite_master WHERE name = 'global_procedures'",
2561
2566
  args: []
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  completeReminder
3
- } from "./chunk-PXO6SF6L.js";
3
+ } from "./chunk-A74RTD5M.js";
4
4
 
5
5
  // src/mcp/tools/complete-reminder.ts
6
6
  import { z } from "zod";
@@ -111,7 +111,7 @@ function releaseBackfillLock() {
111
111
  }
112
112
  async function getTaskAwareCapacity() {
113
113
  const { getClient } = await import("./lib/database.js");
114
- const { sessionScopeFilter } = await import("./task-scope-NM2C2QZX.js");
114
+ const { sessionScopeFilter } = await import("./task-scope-IAIAQNYB.js");
115
115
  const client = getClient();
116
116
  const scope = sessionScopeFilter();
117
117
  const result = await client.execute({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createReminder
3
- } from "./chunk-PXO6SF6L.js";
3
+ } from "./chunk-A74RTD5M.js";
4
4
 
5
5
  // src/mcp/tools/create-reminder.ts
6
6
  import { z } from "zod";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveAgent
3
- } from "./chunk-BXLA6CQM.js";
3
+ } from "./chunk-EFDIUJWC.js";
4
4
  import {
5
5
  listTasks
6
- } from "./chunk-DZE2MBOW.js";
6
+ } from "./chunk-YUHKC2X2.js";
7
7
 
8
8
  // src/mcp/tools/list-tasks.ts
9
9
  import { z } from "zod";