dsh-botgroup 0.6.7 → 0.7.0

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 (397) hide show
  1. package/README.en.md +60 -122
  2. package/README.md +59 -121
  3. package/lib/client.js +9117 -5624
  4. package/lib/client.js.map +4 -4
  5. package/lib/host/activity/first-user.js +1 -1
  6. package/lib/host/activity/preview.js +1 -1
  7. package/lib/host/activity/remote.js +1 -1
  8. package/lib/host/activity/tracker.js +1 -1
  9. package/lib/host/automation/coordinator.js +1 -1
  10. package/lib/host/automation/delivery.js +1 -1
  11. package/lib/host/automation/errors.js +1 -1
  12. package/lib/host/automation/index.js +1 -1
  13. package/lib/host/automation/remote.js +1 -1
  14. package/lib/host/automation/store.js +1 -1
  15. package/lib/host/bot-context.js +42 -14
  16. package/lib/host/bot-context.js.map +1 -1
  17. package/lib/host/capabilities/platform.js +1 -1
  18. package/lib/host/capabilities/remote.js +1 -1
  19. package/lib/host/capabilities/service.js +1 -1
  20. package/lib/host/collaboration/remote.js +1 -1
  21. package/lib/host/collaboration/service.js +1 -1
  22. package/lib/host/common/integration-stores.js +1 -1
  23. package/lib/host/common/native-ambient-source.d.ts +7 -0
  24. package/lib/host/common/native-ambient-source.js +15 -0
  25. package/lib/host/common/native-ambient-source.js.map +1 -0
  26. package/lib/host/common/operations.js +1 -1
  27. package/lib/host/common/subagent-activation.d.ts +7 -0
  28. package/lib/host/common/subagent-activation.js +10 -0
  29. package/lib/host/common/subagent-activation.js.map +1 -0
  30. package/lib/host/composer.js +1 -1
  31. package/lib/host/connectors/remote.js +1 -1
  32. package/lib/host/connectors/service.js +1 -1
  33. package/lib/host/data-flow/agent-binding.js +1 -1
  34. package/lib/host/data-flow/connector-boundary.js +1 -1
  35. package/lib/host/data-flow/delegation.js +4 -3
  36. package/lib/host/data-flow/delegation.js.map +1 -1
  37. package/lib/host/data-flow/egress.js +1 -1
  38. package/lib/host/data-flow/grants.js +1 -1
  39. package/lib/host/data-flow/graph-capability.js +1 -1
  40. package/lib/host/data-flow/labels.js +1 -1
  41. package/lib/host/data-flow/lineage.js +1 -1
  42. package/lib/host/data-flow/managed-copies.d.ts +11 -3
  43. package/lib/host/data-flow/managed-copies.js +1 -1
  44. package/lib/host/data-flow/native-policy.js +1 -1
  45. package/lib/host/data-flow/outlets.js +1 -1
  46. package/lib/host/data-flow/tool-guard.js +12 -3
  47. package/lib/host/data-flow/tool-guard.js.map +1 -1
  48. package/lib/host/delegate/continuation.js +1 -1
  49. package/lib/host/delegate/guard.js +9 -5
  50. package/lib/host/delegate/guard.js.map +1 -1
  51. package/lib/host/delegate/tool.js +29 -2
  52. package/lib/host/delegate/tool.js.map +1 -1
  53. package/lib/host/errors.js +1 -1
  54. package/lib/host/groups/concurrent.js +12 -7
  55. package/lib/host/groups/concurrent.js.map +1 -1
  56. package/lib/host/groups/data-flow.js +10 -5
  57. package/lib/host/groups/data-flow.js.map +1 -1
  58. package/lib/host/groups/failure.js +1 -1
  59. package/lib/host/groups/members.d.ts +69 -2
  60. package/lib/host/groups/members.js +41 -3
  61. package/lib/host/groups/members.js.map +1 -1
  62. package/lib/host/groups/messages.d.ts +54 -0
  63. package/lib/host/groups/messages.js +5 -2
  64. package/lib/host/groups/messages.js.map +1 -1
  65. package/lib/host/groups/model-selection.js +1 -1
  66. package/lib/host/groups/model.d.ts +65 -0
  67. package/lib/host/groups/model.js +6 -2
  68. package/lib/host/groups/model.js.map +1 -1
  69. package/lib/host/groups/owner-follow-up.js +1 -1
  70. package/lib/host/groups/recall-sessions.js +1 -1
  71. package/lib/host/groups/recall-tool.js +1 -1
  72. package/lib/host/groups/recall.d.ts +2 -2
  73. package/lib/host/groups/recall.js +1 -1
  74. package/lib/host/groups/remote.d.ts +317 -0
  75. package/lib/host/groups/remote.js +32 -1
  76. package/lib/host/groups/remote.js.map +1 -1
  77. package/lib/host/groups/root-guard.js +1 -1
  78. package/lib/host/groups/roots.js +1 -1
  79. package/lib/host/groups/round-robin.js +1 -1
  80. package/lib/host/groups/routing.d.ts +28 -1
  81. package/lib/host/groups/routing.js +33 -3
  82. package/lib/host/groups/routing.js.map +1 -1
  83. package/lib/host/groups/service.d.ts +502 -2
  84. package/lib/host/groups/service.js +43 -5
  85. package/lib/host/groups/service.js.map +1 -1
  86. package/lib/host/groups/state.d.ts +158 -1
  87. package/lib/host/groups/state.js +4 -2
  88. package/lib/host/groups/state.js.map +1 -1
  89. package/lib/host/groups/supergroup-admission.d.ts +87 -0
  90. package/lib/host/groups/supergroup-admission.js +99 -0
  91. package/lib/host/groups/supergroup-admission.js.map +1 -0
  92. package/lib/host/groups/team-recipes.d.ts +113 -0
  93. package/lib/host/groups/team-recipes.js +92 -0
  94. package/lib/host/groups/team-recipes.js.map +1 -0
  95. package/lib/host/groups/turn-runner.d.ts +3 -0
  96. package/lib/host/groups/turn-runner.js +43 -8
  97. package/lib/host/groups/turn-runner.js.map +1 -1
  98. package/lib/host/groups/turns.d.ts +84 -1
  99. package/lib/host/groups/turns.js +44 -11
  100. package/lib/host/groups/turns.js.map +1 -1
  101. package/lib/host/groups/worker-tool.d.ts +8 -1
  102. package/lib/host/groups/worker-tool.js +80 -9
  103. package/lib/host/groups/worker-tool.js.map +1 -1
  104. package/lib/host/home.js +1 -1
  105. package/lib/host/im/service.js +1 -1
  106. package/lib/host/index.d.ts +2 -1
  107. package/lib/host/index.js +30 -2
  108. package/lib/host/index.js.map +1 -1
  109. package/lib/host/live-persona.js +1 -1
  110. package/lib/host/main-session.js +1 -1
  111. package/lib/host/memory/admission.js +1 -1
  112. package/lib/host/memory/auto-share.js +1 -1
  113. package/lib/host/memory/confirmation.d.ts +4 -4
  114. package/lib/host/memory/confirmation.js +1 -1
  115. package/lib/host/memory/conflicts.js +1 -1
  116. package/lib/host/memory/context.js +1 -1
  117. package/lib/host/memory/domain-v2.d.ts +8 -8
  118. package/lib/host/memory/domain-v2.js +1 -1
  119. package/lib/host/memory/facade.d.ts +131 -3
  120. package/lib/host/memory/facade.js +101 -2
  121. package/lib/host/memory/facade.js.map +1 -1
  122. package/lib/host/memory/forget-preview.js +1 -1
  123. package/lib/host/memory/forget-runner.js +1 -1
  124. package/lib/host/memory/forget-service.js +1 -1
  125. package/lib/host/memory/history-proof.js +1 -1
  126. package/lib/host/memory/history.js +1 -1
  127. package/lib/host/memory/layout-upgrade.js +1 -1
  128. package/lib/host/memory/migration.js +1 -1
  129. package/lib/host/memory/op-log.js +1 -1
  130. package/lib/host/memory/open-v2.js +1 -1
  131. package/lib/host/memory/owner-lease.js +1 -1
  132. package/lib/host/memory/persistent-map.js +1 -1
  133. package/lib/host/memory/port.js +1 -1
  134. package/lib/host/memory/preserve-inbox.js +1 -1
  135. package/lib/host/memory/projection.js +1 -1
  136. package/lib/host/memory/prompt.js +1 -1
  137. package/lib/host/memory/query.js +1 -1
  138. package/lib/host/memory/quota-replay.js +1 -1
  139. package/lib/host/memory/quota.d.ts +4 -4
  140. package/lib/host/memory/quota.js +1 -1
  141. package/lib/host/memory/remote.d.ts +124 -0
  142. package/lib/host/memory/remote.js +12 -1
  143. package/lib/host/memory/remote.js.map +1 -1
  144. package/lib/host/memory/retrieval-config.js +1 -1
  145. package/lib/host/memory/retrieval-rank.js +1 -1
  146. package/lib/host/memory/retrieval-text.js +1 -1
  147. package/lib/host/memory/root-instructions.js +1 -1
  148. package/lib/host/memory/secrets.js +1 -1
  149. package/lib/host/memory/service.js +1 -1
  150. package/lib/host/memory/shards.js +1 -1
  151. package/lib/host/memory/store-v2.js +1 -1
  152. package/lib/host/memory/temporal.js +1 -1
  153. package/lib/host/memory/tool-guidance.js +1 -1
  154. package/lib/host/memory/tools.js +1 -1
  155. package/lib/host/memory/trusted-ingress.js +1 -1
  156. package/lib/host/memory/version.d.ts +4 -4
  157. package/lib/host/memory/version.js +1 -1
  158. package/lib/host/messaging/config.js +1 -1
  159. package/lib/host/messaging/core.d.ts +11 -3
  160. package/lib/host/messaging/core.js +4 -3
  161. package/lib/host/messaging/core.js.map +1 -1
  162. package/lib/host/messaging/delivery.js +3 -1
  163. package/lib/host/messaging/delivery.js.map +1 -1
  164. package/lib/host/messaging/evidence.js +1 -1
  165. package/lib/host/messaging/interrupt.js +1 -1
  166. package/lib/host/messaging/recovery.js +1 -1
  167. package/lib/host/messaging/remote.d.ts +1 -1
  168. package/lib/host/messaging/remote.js +1 -1
  169. package/lib/host/messaging/reply-routing.js +1 -1
  170. package/lib/host/messaging/safety.js +8 -3
  171. package/lib/host/messaging/safety.js.map +1 -1
  172. package/lib/host/messaging/scoped-projection.d.ts +43 -0
  173. package/lib/host/messaging/scoped-projection.js +136 -0
  174. package/lib/host/messaging/scoped-projection.js.map +1 -0
  175. package/lib/host/messaging/service.d.ts +5 -2
  176. package/lib/host/messaging/service.js +16 -6
  177. package/lib/host/messaging/service.js.map +1 -1
  178. package/lib/host/messaging/store.d.ts +45 -13
  179. package/lib/host/messaging/store.js +4 -3
  180. package/lib/host/messaging/store.js.map +1 -1
  181. package/lib/host/messaging/tool.js +24 -5
  182. package/lib/host/messaging/tool.js.map +1 -1
  183. package/lib/host/messaging/wake.js +3 -3
  184. package/lib/host/messaging/wake.js.map +1 -1
  185. package/lib/host/native-schedule/outcomes.js +1 -1
  186. package/lib/host/native-schedule/service.js +1 -1
  187. package/lib/host/notifications/data-flow.js +1 -1
  188. package/lib/host/notifications/remote.js +1 -1
  189. package/lib/host/notifications/service.js +1 -1
  190. package/lib/host/notifications/time.js +1 -1
  191. package/lib/host/notifications/tool.js +1 -1
  192. package/lib/host/onboarding/coordinator.js +1 -1
  193. package/lib/host/onboarding/guard.js +1 -1
  194. package/lib/host/proactive/auto-admission.js +1 -1
  195. package/lib/host/proactive/config.js +1 -1
  196. package/lib/host/proactive/coordinator-client.js +1 -1
  197. package/lib/host/proactive/deferred-notices.js +1 -1
  198. package/lib/host/proactive/execution-prompt.js +1 -1
  199. package/lib/host/proactive/execution.js +1 -1
  200. package/lib/host/proactive/executors/command.js +1 -1
  201. package/lib/host/proactive/executors/json-command-bridge-entry.js +1 -1
  202. package/lib/host/proactive/executors/json-command-bridge.js +1 -1
  203. package/lib/host/proactive/executors/loopback.js +1 -1
  204. package/lib/host/proactive/feedback-workflow.js +1 -1
  205. package/lib/host/proactive/feedback.js +1 -1
  206. package/lib/host/proactive/follow-up-events.d.ts +2 -0
  207. package/lib/host/proactive/follow-up-events.js +63 -4
  208. package/lib/host/proactive/follow-up-events.js.map +1 -1
  209. package/lib/host/proactive/follow-up-facts.js +1 -1
  210. package/lib/host/proactive/follow-up-tool.js +3 -3
  211. package/lib/host/proactive/follow-up-tool.js.map +1 -1
  212. package/lib/host/proactive/governance-artifacts.js +1 -1
  213. package/lib/host/proactive/governance-service.js +1 -1
  214. package/lib/host/proactive/group-budget.js +1 -1
  215. package/lib/host/proactive/group-follow-up.js +1 -1
  216. package/lib/host/proactive/group-repair.js +1 -1
  217. package/lib/host/proactive/index.js +1 -1
  218. package/lib/host/proactive/lifecycle.js +1 -1
  219. package/lib/host/proactive/method-evaluation.js +1 -1
  220. package/lib/host/proactive/method-package.js +1 -1
  221. package/lib/host/proactive/method-skill.js +1 -1
  222. package/lib/host/proactive/model-budget.js +1 -1
  223. package/lib/host/proactive/notice-pump.js +1 -1
  224. package/lib/host/proactive/notification-bridge.js +1 -1
  225. package/lib/host/proactive/read-query.js +1 -1
  226. package/lib/host/proactive/remote.d.ts +166 -0
  227. package/lib/host/proactive/remote.js +1 -1
  228. package/lib/host/proactive/repair.js +1 -1
  229. package/lib/host/proactive/result-journal.js +1 -1
  230. package/lib/host/proactive/service.d.ts +1711 -51
  231. package/lib/host/proactive/service.js +1 -1
  232. package/lib/host/proactive/setup.js +1 -1
  233. package/lib/host/proactive/sources/ci-feed.js +1 -1
  234. package/lib/host/proactive/sources/ci.js +1 -1
  235. package/lib/host/proactive/sources/github-ci.js +1 -1
  236. package/lib/host/proactive/task-cost.js +1 -1
  237. package/lib/host/proactive/wire.js +1 -1
  238. package/lib/host/proactive/work-continuation.js +1 -1
  239. package/lib/host/proactive/workspace-process.js +1 -1
  240. package/lib/host/proactive/workspace-repair.js +1 -1
  241. package/lib/host/reference-memory/backend.js +1 -1
  242. package/lib/host/reference-memory/cleanup-files.js +1 -1
  243. package/lib/host/reference-memory/copies.js +1 -1
  244. package/lib/host/reference-memory/files.js +1 -1
  245. package/lib/host/reference-memory/model.js +1 -1
  246. package/lib/host/reference-memory/service.js +1 -1
  247. package/lib/host/reference-memory/writer.js +1 -1
  248. package/lib/host/registry/identity.js +1 -1
  249. package/lib/host/registry/lifecycle.d.ts +2 -1
  250. package/lib/host/registry/lifecycle.js +1 -1
  251. package/lib/host/registry/mutations.js +1 -1
  252. package/lib/host/registry/presets.js +1 -1
  253. package/lib/host/registry/types.js +1 -1
  254. package/lib/host/registry-config.d.ts +4 -1
  255. package/lib/host/registry-config.js +3 -1
  256. package/lib/host/registry-config.js.map +1 -1
  257. package/lib/host/registry.d.ts +3 -0
  258. package/lib/host/registry.js +2 -1
  259. package/lib/host/registry.js.map +1 -1
  260. package/lib/host/shadow/budget.js +1 -1
  261. package/lib/host/shadow/config.js +1 -1
  262. package/lib/host/shadow/notification-adapter.js +1 -1
  263. package/lib/host/shadow/planner.js +1 -1
  264. package/lib/host/shadow/schedule-adapter.js +1 -1
  265. package/lib/host/shadow/service.js +1 -1
  266. package/lib/host/store.js +1 -1
  267. package/lib/host/stores/activity.js +1 -1
  268. package/lib/host/stores/bots.js +1 -1
  269. package/lib/host/stores/domain.js +1 -1
  270. package/lib/host/stores/memory.js +1 -1
  271. package/lib/host/supergroup/collaboration.d.ts +99 -0
  272. package/lib/host/supergroup/collaboration.js +361 -0
  273. package/lib/host/supergroup/collaboration.js.map +1 -0
  274. package/lib/host/supergroup/config.d.ts +15 -0
  275. package/lib/host/supergroup/config.js +33 -0
  276. package/lib/host/supergroup/config.js.map +1 -0
  277. package/lib/host/supergroup/input-capability.d.ts +4 -0
  278. package/lib/host/supergroup/input-capability.js +21 -0
  279. package/lib/host/supergroup/input-capability.js.map +1 -0
  280. package/lib/host/supergroup/remote.d.ts +1944 -0
  281. package/lib/host/supergroup/remote.js +123 -0
  282. package/lib/host/supergroup/remote.js.map +1 -0
  283. package/lib/host/supergroup/service.d.ts +935 -0
  284. package/lib/host/supergroup/service.js +921 -0
  285. package/lib/host/supergroup/service.js.map +1 -0
  286. package/lib/host/supergroup/task-support.d.ts +245 -0
  287. package/lib/host/supergroup/task-support.js +310 -0
  288. package/lib/host/supergroup/task-support.js.map +1 -0
  289. package/lib/host/supergroup/tool.d.ts +4 -0
  290. package/lib/host/supergroup/tool.js +74 -0
  291. package/lib/host/supergroup/tool.js.map +1 -0
  292. package/lib/host/tools/bot-manage.js +7 -3
  293. package/lib/host/tools/bot-manage.js.map +1 -1
  294. package/lib/host/workspace/remote.js +1 -1
  295. package/lib/host/workspace/service.js +1 -1
  296. package/lib/index.d.ts +1 -1
  297. package/lib/index.js +1 -1
  298. package/lib/module-manifest.json +274 -258
  299. package/lib/proactive-coordinator/main.mjs +176 -9
  300. package/lib/proactive-coordinator/provenance.json +1 -1
  301. package/lib/shared/activity-preview.js +1 -1
  302. package/lib/shared/activity.js +1 -1
  303. package/lib/shared/automation-contract.js +1 -1
  304. package/lib/shared/automation.js +1 -1
  305. package/lib/shared/bot-brand.js +1 -1
  306. package/lib/shared/capabilities-contract.js +1 -1
  307. package/lib/shared/collaboration-contract.js +1 -1
  308. package/lib/shared/collaboration.js +1 -1
  309. package/lib/shared/connectors.js +1 -1
  310. package/lib/shared/data-flow.js +1 -1
  311. package/lib/shared/eval-budget.js +1 -1
  312. package/lib/shared/group-recall-reads.js +1 -1
  313. package/lib/shared/group-recall.js +1 -1
  314. package/lib/shared/groups-contract.d.ts +1777 -0
  315. package/lib/shared/groups-contract.js +9 -1
  316. package/lib/shared/groups-contract.js.map +1 -1
  317. package/lib/shared/groups.d.ts +161 -0
  318. package/lib/shared/groups.js +18 -1
  319. package/lib/shared/groups.js.map +1 -1
  320. package/lib/shared/identity.js +1 -1
  321. package/lib/shared/ids.js +1 -1
  322. package/lib/shared/integrations-contract.js +1 -1
  323. package/lib/shared/integrations.js +1 -1
  324. package/lib/shared/managed-flow.js +1 -1
  325. package/lib/shared/memory-forget.js +1 -1
  326. package/lib/shared/memory-management.d.ts +426 -0
  327. package/lib/shared/memory-management.js +9 -1
  328. package/lib/shared/memory-management.js.map +1 -1
  329. package/lib/shared/memory-ops.js +1 -1
  330. package/lib/shared/memory-tool-names.js +1 -1
  331. package/lib/shared/memory-v2.js +1 -1
  332. package/lib/shared/messaging-contract.d.ts +1 -1
  333. package/lib/shared/messaging-contract.js +1 -1
  334. package/lib/shared/messaging.d.ts +21 -10
  335. package/lib/shared/messaging.js +3 -1
  336. package/lib/shared/messaging.js.map +1 -1
  337. package/lib/shared/native-schedule.js +1 -1
  338. package/lib/shared/notifications.js +1 -1
  339. package/lib/shared/onboarding-source.js +1 -1
  340. package/lib/shared/onboarding.js +1 -1
  341. package/lib/shared/operation-errors.d.ts +3 -0
  342. package/lib/shared/operation-errors.js +4 -1
  343. package/lib/shared/operation-errors.js.map +1 -1
  344. package/lib/shared/proactive/activity.js +1 -1
  345. package/lib/shared/proactive/document.js +1 -1
  346. package/lib/shared/proactive/feedback.js +1 -1
  347. package/lib/shared/proactive/follow-up.d.ts +460 -0
  348. package/lib/shared/proactive/follow-up.js +15 -1
  349. package/lib/shared/proactive/follow-up.js.map +1 -1
  350. package/lib/shared/proactive/governance.js +1 -1
  351. package/lib/shared/proactive/group-follow-up.js +1 -1
  352. package/lib/shared/proactive/group-repair.js +1 -1
  353. package/lib/shared/proactive/handoff.js +1 -1
  354. package/lib/shared/proactive/method-evaluation.js +1 -1
  355. package/lib/shared/proactive/method-package.js +1 -1
  356. package/lib/shared/proactive/notices.js +1 -1
  357. package/lib/shared/proactive/outcomes.js +1 -1
  358. package/lib/shared/proactive/protocol.d.ts +627 -0
  359. package/lib/shared/proactive/protocol.js +1 -1
  360. package/lib/shared/proactive/remote-contract.d.ts +792 -0
  361. package/lib/shared/proactive/remote-contract.js +1 -1
  362. package/lib/shared/proactive/repair.js +1 -1
  363. package/lib/shared/proactive/responsibility.js +1 -1
  364. package/lib/shared/proactive/setup.d.ts +83 -0
  365. package/lib/shared/proactive/setup.js +1 -1
  366. package/lib/shared/proactive/work-progress.js +1 -1
  367. package/lib/shared/proactive/work.js +1 -1
  368. package/lib/shared/proactive/workspace-repair.js +1 -1
  369. package/lib/shared/reference-memory.js +1 -1
  370. package/lib/shared/remote-contract.d.ts +531 -8
  371. package/lib/shared/remote-contract.js +10 -2
  372. package/lib/shared/remote-contract.js.map +1 -1
  373. package/lib/shared/routine-outcomes.js +1 -1
  374. package/lib/shared/schema.js +1 -1
  375. package/lib/shared/secrets.js +1 -1
  376. package/lib/shared/shadow.js +1 -1
  377. package/lib/shared/supergroup-contract.d.ts +7119 -0
  378. package/lib/shared/supergroup-contract.js +26 -0
  379. package/lib/shared/supergroup-contract.js.map +1 -0
  380. package/lib/shared/supergroup.d.ts +1441 -0
  381. package/lib/shared/supergroup.js +56 -0
  382. package/lib/shared/supergroup.js.map +1 -0
  383. package/lib/shared/task-materials.d.ts +166 -0
  384. package/lib/shared/task-materials.js +40 -0
  385. package/lib/shared/task-materials.js.map +1 -0
  386. package/lib/shared/team-recipes.d.ts +109 -0
  387. package/lib/shared/team-recipes.js +25 -0
  388. package/lib/shared/team-recipes.js.map +1 -0
  389. package/lib/shared/version.d.ts +1 -1
  390. package/lib/shared/version.js +2 -2
  391. package/lib/shared/workspace-contract.js +1 -1
  392. package/lib/shared/workspace.js +1 -1
  393. package/lib/typert.host.js +1 -1
  394. package/lib/typert.remote-client.js +1 -1
  395. package/locale/en.json +239 -7
  396. package/locale/zh.json +239 -7
  397. package/package.json +2 -1
@@ -15007,6 +15007,17 @@ var groupSetModelSchema = external_exports.strictObject({
15007
15007
  modelSelection: groupModelSelectionSchema.nullable()
15008
15008
  });
15009
15009
  var name = botRecordFields.shape.name;
15010
+ var groupRoleSchema = external_exports.array(external_exports.strictObject({ bot: botKeySchema, role: external_exports.string().trim().min(1).max(64) })).max(16);
15011
+ var groupRoutingSchema = external_exports.strictObject({
15012
+ strategy: external_exports.enum(["explicit", "legacy", "local-role", "fallback"]),
15013
+ version: external_exports.literal(1),
15014
+ candidateMemberIds: external_exports.array(resourceId),
15015
+ selectedMemberIds: external_exports.array(resourceId),
15016
+ reason: external_exports.enum(["mention", "reply", "round", "disabled", "mode", "role-match", "no-match", "failed"]),
15017
+ modelRequests: external_exports.number().int().nonnegative().optional(),
15018
+ deciderCalls: external_exports.literal(0),
15019
+ plannedCalls: external_exports.number().int().nonnegative()
15020
+ });
15010
15021
  var groupRecordSchema = external_exports.strictObject({
15011
15022
  id: resourceId,
15012
15023
  operationId: resourceId,
@@ -15019,6 +15030,8 @@ var groupRecordSchema = external_exports.strictObject({
15019
15030
  rootPresetId: external_exports.literal(GROUP_ROOT_PRESET),
15020
15031
  cwd: external_exports.string(),
15021
15032
  mode: groupModeSchema,
15033
+ onDemand: external_exports.boolean().optional(),
15034
+ memberRoles: groupRoleSchema.optional(),
15022
15035
  modelSelection: groupModelSelectionSchema.optional(),
15023
15036
  memberModelSelections: groupMemberModelSelectionsSchema.optional(),
15024
15037
  modelRevision: external_exports.number().int().nonnegative().optional(),
@@ -15026,7 +15039,15 @@ var groupRecordSchema = external_exports.strictObject({
15026
15039
  membershipRevision: rev,
15027
15040
  revision: rev,
15028
15041
  archived: external_exports.boolean(),
15029
- state: external_exports.enum(["creating", "ready", "recovery_needed"])
15042
+ state: external_exports.enum(["creating", "ready", "recovery_needed"]),
15043
+ supergroup: external_exports.strictObject({
15044
+ workId: resourceId,
15045
+ originSessionId: external_exports.string().min(1),
15046
+ originMessageId: external_exports.string().min(1),
15047
+ owner: botKeySchema,
15048
+ readers: external_exports.array(botKeySchema).min(1).max(65),
15049
+ expiresAt: external_exports.number().finite()
15050
+ }).optional()
15030
15051
  });
15031
15052
  var groupMemberSchema = external_exports.strictObject({
15032
15053
  id: resourceId,
@@ -15078,6 +15099,7 @@ var groupTurnSchema = external_exports.strictObject({
15078
15099
  membershipRevision: rev,
15079
15100
  orderedMemberIds: external_exports.array(resourceId),
15080
15101
  mode: groupModeSchema,
15102
+ routing: groupRoutingSchema.optional(),
15081
15103
  contextThroughSeq: external_exports.number().int(),
15082
15104
  modelSelection: groupModelSelectionSchema.optional(),
15083
15105
  memberModelSelections: groupMemberModelSelectionsSchema.optional(),
@@ -15140,7 +15162,9 @@ var groupCreateSchema = external_exports.strictObject({
15140
15162
  members: external_exports.array(botKeySchema).min(2).max(16),
15141
15163
  mode: groupModeSchema,
15142
15164
  cwd: external_exports.string().min(1).optional(),
15143
- historyConfirmed: external_exports.literal(true)
15165
+ historyConfirmed: external_exports.literal(true),
15166
+ onDemand: external_exports.boolean().optional(),
15167
+ memberRoles: groupRoleSchema.optional()
15144
15168
  });
15145
15169
  var groupEditSchema = external_exports.strictObject({
15146
15170
  expectedRevision: rev,
@@ -15148,7 +15172,9 @@ var groupEditSchema = external_exports.strictObject({
15148
15172
  name,
15149
15173
  mode: groupModeSchema,
15150
15174
  members: external_exports.array(botKeySchema).min(2).max(16),
15151
- historyConfirmed: external_exports.literal(true)
15175
+ historyConfirmed: external_exports.literal(true),
15176
+ onDemand: external_exports.boolean().optional(),
15177
+ memberRoles: groupRoleSchema.optional()
15152
15178
  });
15153
15179
  var groupSendSchema = external_exports.strictObject({
15154
15180
  operationId: resourceId,
@@ -15324,6 +15350,25 @@ var followUpOriginSchema = external_exports.discriminatedUnion("kind", [
15324
15350
  ...localOriginSchema.options,
15325
15351
  external_exports.strictObject({ kind: external_exports.literal("watch"), watchId: resourceId })
15326
15352
  ]);
15353
+ var followUpCompletionTargetSchema = external_exports.discriminatedUnion("kind", [
15354
+ external_exports.strictObject({
15355
+ kind: external_exports.literal("subtask-completed"),
15356
+ cardId: resourceId,
15357
+ origin: localOriginSchema,
15358
+ sourceGeneration: revision2,
15359
+ afterRevision: revision2
15360
+ }),
15361
+ external_exports.strictObject({
15362
+ kind: external_exports.literal("ci-completed"),
15363
+ cardId: resourceId,
15364
+ origin: external_exports.strictObject({ kind: external_exports.literal("work"), ticketId: resourceId, assignmentId: resourceId }),
15365
+ sourceId: resourceId,
15366
+ sourceGeneration: revision2,
15367
+ threadId: resourceId,
15368
+ afterAttempt: revision2,
15369
+ afterObservedAt: external_exports.iso.datetime()
15370
+ })
15371
+ ]);
15327
15372
  var followUpWaitSchema = external_exports.strictObject({
15328
15373
  reason: summary,
15329
15374
  request: summary,
@@ -15376,7 +15421,9 @@ var watchDraft = external_exports.strictObject({
15376
15421
  external_exports.strictObject({ kind: external_exports.literal("manual") }),
15377
15422
  external_exports.strictObject({ kind: external_exports.literal("message"), sessionId: resourceId, messageId: resourceId, confirmationId: resourceId })
15378
15423
  ]),
15379
- wait: followUpWaitSchema.optional()
15424
+ wait: followUpWaitSchema.optional(),
15425
+ when: followUpCompletionTargetSchema.optional(),
15426
+ deadlineAt: external_exports.iso.datetime().optional()
15380
15427
  });
15381
15428
  var groupProposalSource = external_exports.strictObject({
15382
15429
  kind: external_exports.literal("group-proposal"),
@@ -15426,7 +15473,10 @@ var followUpCardSchema = external_exports.strictObject({
15426
15473
  observedAt: external_exports.iso.datetime(),
15427
15474
  title: summary,
15428
15475
  condition: external_exports.union([conditionSchema, approvalPending]),
15429
- state: external_exports.enum(["open", "ignored", "stopped", "closed"])
15476
+ state: external_exports.enum(["open", "ignored", "stopped", "closed"]),
15477
+ completionTarget: followUpCompletionTargetSchema.optional(),
15478
+ when: followUpCompletionTargetSchema.optional(),
15479
+ deadlineAt: external_exports.iso.datetime().optional()
15430
15480
  });
15431
15481
  var followUpPageRequestSchema = external_exports.strictObject({
15432
15482
  subject: subjectSchema,
@@ -17523,9 +17573,86 @@ function openFollowUp(db) {
17523
17573
  revision: previous ? previous.revision + 1 : 0,
17524
17574
  observedAt: fact.occurredAt,
17525
17575
  condition: fact.condition,
17526
- state: fact.condition.kind === "closed" ? "closed" : ignored ? "ignored" : "open"
17576
+ state: fact.condition.kind === "closed" ? "closed" : ignored ? "ignored" : "open",
17577
+ ...fact.completionTarget ? { completionTarget: fact.completionTarget } : {}
17527
17578
  });
17528
17579
  }
17580
+ function validateWatchTarget(subject, target, deadlineAt) {
17581
+ if (!target) return;
17582
+ if (!deadlineAt || Date.parse(deadlineAt) <= Date.now()) throw new Rejection("invalid");
17583
+ const row = readHead.get(subjectKey(subject), target.cardId);
17584
+ const card = row?.card ? decodeCard({ card: row.card }) : void 0;
17585
+ if (card?.state !== "open" || !card.completionTarget || digest3(card.completionTarget) !== digest3(target)) throw new Rejection("stale");
17586
+ }
17587
+ function settleWatch(engine, key3, raw, condition, factId) {
17588
+ const watch = followUpWatchSchema.parse(JSON.parse(String(raw.watch)));
17589
+ const card = decodeCard(raw);
17590
+ if (watch.state !== "active" || !watch.when || card.state === "stopped" || card.state === "closed") return;
17591
+ const next = project(engine, watch.subject, {
17592
+ nativeId: watch.id,
17593
+ nativeRevision: watch.revision + 1,
17594
+ payloadDigest: digest3([watch, factId]),
17595
+ occurredAt: (/* @__PURE__ */ new Date()).toISOString(),
17596
+ origin: card.origin,
17597
+ title: watch.title,
17598
+ condition
17599
+ }, 0, card);
17600
+ next.when = watch.when;
17601
+ next.deadlineAt = watch.deadlineAt;
17602
+ watch.state = condition.kind === "closed" ? "stopped" : "completed";
17603
+ watch.revision++;
17604
+ db.prepare("UPDATE pb_follow_up_head SET card=?,watch=?,observed_at=? WHERE subject=? AND id=?").run(JSON.stringify(next), JSON.stringify(watch), next.observedAt, key3, card.id);
17605
+ }
17606
+ function watchDeadlines(engine, subject) {
17607
+ const key3 = subjectKey(subject);
17608
+ for (const raw of db.prepare(`SELECT card,watch FROM pb_follow_up_head WHERE subject=?
17609
+ AND json_extract(watch,'$.state')='active' AND json_extract(watch,'$.when') IS NOT NULL`).all(key3)) {
17610
+ const watch = followUpWatchSchema.parse(JSON.parse(String(raw.watch)));
17611
+ if (!watch.when) continue;
17612
+ const revoked = watch.when.kind === "ci-completed" && db.prepare("SELECT generation FROM pb_source_revocation WHERE id=?").get(watch.when.sourceId);
17613
+ const source = watch.when.kind === "ci-completed" && db.prepare("SELECT generation FROM pb_source WHERE id=?").get(watch.when.sourceId);
17614
+ if (watch.deadlineAt && Date.parse(watch.deadlineAt) <= Date.now() || source && Number(source.generation) > (watch.when.kind === "ci-completed" ? watch.when.sourceGeneration : 0) || revoked && Number(revoked.generation) >= (watch.when.kind === "ci-completed" ? watch.when.sourceGeneration : 0))
17615
+ settleWatch(engine, key3, { card: raw.card, watch: raw.watch }, { kind: "closed", reason: "cancelled" }, "deadline-or-source-revoked");
17616
+ }
17617
+ }
17618
+ function observeCompletion(engine, subject, fact, sourceGeneration) {
17619
+ watchDeadlines(engine, subject);
17620
+ const key3 = subjectKey(subject);
17621
+ for (const raw of db.prepare(`SELECT card,watch FROM pb_follow_up_head WHERE subject=?
17622
+ AND json_extract(watch,'$.state')='active' AND json_extract(watch,'$.when.kind')='subtask-completed'`).all(key3)) {
17623
+ const watch = followUpWatchSchema.parse(JSON.parse(String(raw.watch)));
17624
+ const target = watch.when;
17625
+ if (target?.kind !== "subtask-completed" || digest3(target.origin) !== digest3(fact.origin) || target.sourceGeneration !== sourceGeneration || fact.nativeRevision <= target.afterRevision || !["closed", "failed"].includes(fact.condition.kind)) continue;
17626
+ settleWatch(
17627
+ engine,
17628
+ key3,
17629
+ { card: raw.card, watch: raw.watch },
17630
+ fact.condition.kind === "failed" ? fact.condition : fact.condition.kind === "closed" && fact.condition.reason === "cancelled" ? fact.condition : { kind: "needs-review" },
17631
+ digest3([fact.nativeId, fact.nativeRevision, fact.payloadDigest])
17632
+ );
17633
+ }
17634
+ }
17635
+ function observeCi(engine, sourceId, sourceGeneration, threadId, attempt, observedAt, conclusion) {
17636
+ for (const raw of db.prepare(`SELECT subject,card,watch FROM pb_follow_up_head
17637
+ WHERE json_extract(watch,'$.state')='active' AND json_extract(watch,'$.when.kind')='ci-completed'
17638
+ AND json_extract(watch,'$.when.sourceId')=? AND json_extract(watch,'$.when.sourceGeneration')=?
17639
+ AND json_extract(watch,'$.when.threadId')=?`).all(sourceId, sourceGeneration, threadId)) {
17640
+ const watch = followUpWatchSchema.parse(JSON.parse(String(raw.watch)));
17641
+ if (!policy(watch.subject).localEnabled) continue;
17642
+ watchDeadlines(engine, watch.subject);
17643
+ const target = watch.when;
17644
+ if (target?.kind !== "ci-completed" || attempt < target.afterAttempt || attempt === target.afterAttempt && observedAt <= target.afterObservedAt) continue;
17645
+ const current = readHead.get(subjectKey(watch.subject), decodeCard({ card: raw.card }).id);
17646
+ if (!current?.watch || !current.card) continue;
17647
+ settleWatch(
17648
+ engine,
17649
+ subjectKey(watch.subject),
17650
+ current,
17651
+ conclusion === "cancelled" ? { kind: "closed", reason: "cancelled" } : conclusion === "failure" ? { kind: "failed" } : { kind: "needs-review" },
17652
+ digest3([sourceId, sourceGeneration, threadId, attempt, observedAt, conclusion])
17653
+ );
17654
+ }
17655
+ }
17529
17656
  function saveHead(key3, id3, generation, fact, eventDigest, card) {
17530
17657
  db.prepare(`INSERT INTO pb_follow_up_head VALUES (?,?,?,?,?,?,?,NULL) ON CONFLICT(subject,id)
17531
17658
  DO UPDATE SET source_generation=excluded.source_generation,native_revision=excluded.native_revision,
@@ -17584,13 +17711,26 @@ function openFollowUp(db) {
17584
17711
  title: row.title.slice(0, 500).trim() || row.ticketId,
17585
17712
  condition
17586
17713
  };
17587
- const card = !previous && condition.kind === "closed" ? null : project(engine, subject, fact, 0, previous);
17714
+ const ci = db.prepare("SELECT source,generation,thread,attempt,observed_at FROM pb_ci_head WHERE decision=?").get(row.decisionId);
17715
+ const completionTarget = ci ? {
17716
+ kind: "ci-completed",
17717
+ cardId: id3,
17718
+ origin: origin2,
17719
+ sourceId: String(ci.source),
17720
+ sourceGeneration: Number(ci.generation),
17721
+ threadId: String(ci.thread),
17722
+ afterAttempt: Number(ci.attempt),
17723
+ afterObservedAt: String(ci.observed_at)
17724
+ } : void 0;
17725
+ const card = !previous && condition.kind === "closed" ? null : project(engine, subject, { ...fact, completionTarget }, 0, previous);
17588
17726
  saveHead(key3, id3, 0, fact, digest3(fact), card);
17727
+ observeCompletion(engine, subject, fact, 0);
17589
17728
  }
17590
17729
  function reconcileWork(engine, subject, expectedPolicyRevision) {
17591
17730
  const current = policy(subject);
17592
17731
  if (current.revision !== expectedPolicyRevision) throw new Rejection("stale");
17593
17732
  if (!current.localEnabled) throw new Rejection("forbidden");
17733
+ watchDeadlines(engine, subject);
17594
17734
  const key3 = subjectKey(subject);
17595
17735
  const source = `@work-reconcile:${digest3(key3)}`;
17596
17736
  const checkpoint2 = db.prepare("SELECT generation,checkpoint FROM pb_source WHERE id=?").get(source);
@@ -17643,8 +17783,17 @@ function openFollowUp(db) {
17643
17783
  if (Date.parse(fact.occurredAt) < current.observationStart && (!fact.current || fact.condition.kind === "failed")) continue;
17644
17784
  const previous = row?.card && decodeCard({ card: row.card });
17645
17785
  if (previous && previous.state === "stopped") continue;
17646
- const card = !previous && fact.condition.kind === "closed" ? null : project(engine, input.subject, fact, input.sourceGeneration, previous || void 0);
17786
+ const card = !previous && fact.condition.kind === "closed" ? null : project(engine, input.subject, { ...fact, ...fact.condition.kind === "tracking" ? {
17787
+ completionTarget: {
17788
+ kind: "subtask-completed",
17789
+ cardId: id3,
17790
+ origin: fact.origin,
17791
+ sourceGeneration: input.sourceGeneration,
17792
+ afterRevision: fact.nativeRevision
17793
+ }
17794
+ } : {} }, input.sourceGeneration, previous || void 0);
17647
17795
  saveHead(key3, id3, input.sourceGeneration, fact, eventDigest, card);
17796
+ observeCompletion(engine, input.subject, fact, input.sourceGeneration);
17648
17797
  stored++;
17649
17798
  }
17650
17799
  db.prepare(`INSERT INTO pb_source VALUES (?,?,?) ON CONFLICT(id)
@@ -17655,6 +17804,7 @@ function openFollowUp(db) {
17655
17804
  const current = policy(input.subject);
17656
17805
  if (current.revision !== input.expectedRevision) throw new Rejection("stale");
17657
17806
  if (!current.localEnabled) throw new Rejection("forbidden");
17807
+ validateWatchTarget(input.subject, input.watch.when, input.watch.deadlineAt);
17658
17808
  const key3 = subjectKey(input.subject);
17659
17809
  const proposed = input.watch.source.kind === "group-proposal";
17660
17810
  if (proposed && db.prepare(`SELECT 1 FROM pb_follow_up_head WHERE subject=?
@@ -17680,6 +17830,8 @@ function openFollowUp(db) {
17680
17830
  condition: proposed ? { kind: "approval-pending", completion: watch.completion, ...watch.wait ? { wait: watch.wait } : {} } : watch.wait ? { kind: "waiting-input", wait: watch.wait } : { kind: "tracking", completion: watch.completion }
17681
17831
  };
17682
17832
  const card = project(engine, input.subject, fact, 0);
17833
+ card.when = watch.when;
17834
+ card.deadlineAt = watch.deadlineAt;
17683
17835
  db.prepare("INSERT INTO pb_follow_up_head VALUES (?,?,?,?,?,?,?,?)").run(
17684
17836
  key3,
17685
17837
  id3,
@@ -17701,11 +17853,14 @@ function openFollowUp(db) {
17701
17853
  if (!row?.card || !row.watch) throw new Rejection("stale");
17702
17854
  const card = decodeCard({ card: row.card });
17703
17855
  const previous = followUpWatchSchema.parse(JSON.parse(String(row.watch)));
17856
+ validateWatchTarget(input.subject, input.watch.when, input.watch.deadlineAt);
17704
17857
  if (card.revision !== input.expectedRevision || previous.state !== "active" || card.state === "stopped" || card.state === "closed") throw new Rejection("stale");
17705
17858
  const watch = followUpWatchSchema.parse({
17706
17859
  ...previous,
17707
17860
  ...input.watch,
17708
17861
  wait: input.watch.wait,
17862
+ when: input.watch.when,
17863
+ deadlineAt: input.watch.deadlineAt,
17709
17864
  revision: previous.revision + 1
17710
17865
  });
17711
17866
  const fact = {
@@ -17718,6 +17873,8 @@ function openFollowUp(db) {
17718
17873
  condition: watch.wait ? { kind: "waiting-input", wait: watch.wait } : { kind: "tracking", completion: watch.completion }
17719
17874
  };
17720
17875
  const next = project(engine, input.subject, fact, 0, card);
17876
+ next.when = watch.when;
17877
+ next.deadlineAt = watch.deadlineAt;
17721
17878
  db.prepare("UPDATE pb_follow_up_head SET native_revision=?,payload_digest=?,observed_at=?,card=?,watch=? WHERE subject=? AND id=?").run(watch.revision, fact.payloadDigest, next.observedAt, JSON.stringify(next), JSON.stringify(watch), key3, card.id);
17722
17879
  return 1;
17723
17880
  }
@@ -17752,7 +17909,7 @@ function openFollowUp(db) {
17752
17909
  );
17753
17910
  return 1;
17754
17911
  }
17755
- if (input.action === "complete" && watch?.state !== "active") throw new Rejection("forbidden");
17912
+ if (input.action === "complete" && watch?.state !== "active" && watch?.state !== "completed") throw new Rejection("forbidden");
17756
17913
  if (input.action === "ignore" && card.state === "ignored") return 0;
17757
17914
  const next = {
17758
17915
  ...card,
@@ -17783,6 +17940,7 @@ function openFollowUp(db) {
17783
17940
  bootstrap,
17784
17941
  observeWork,
17785
17942
  reconcileWork,
17943
+ observeCi,
17786
17944
  allowsLegacy(subject) {
17787
17945
  return !scopedRecovery() && (!subject || policy(subject).legacyCi !== "denied");
17788
17946
  },
@@ -21403,6 +21561,15 @@ function openCoordinator(path, installationId, expectedStoreId, budget, external
21403
21561
  event.ci.conclusion,
21404
21562
  decision.id
21405
21563
  );
21564
+ followUp.observeCi(
21565
+ engine,
21566
+ body.sourceId,
21567
+ body.generation,
21568
+ event.threadId,
21569
+ event.ci.attempt,
21570
+ observedAt,
21571
+ event.ci.conclusion
21572
+ );
21406
21573
  } else
21407
21574
  engine.decide(id3, {
21408
21575
  kind: "ignore",
@@ -2,6 +2,6 @@
2
2
  "revision": "8c32a9dc5d72c033816c6a8110b37f40cf94fba4",
3
3
  "files": {
4
4
  "core.mjs": "45debfa0e86ddf48d1e71d5a6a077a21ce17470ea565d0853dedda450b18333e",
5
- "main.mjs": "6238ab28c9fe066930952629f2a53e38c364acaf9572815f7e84f18ade673991"
5
+ "main.mjs": "591cd22b3cfcdc46e084813398d777b28bfe534659c8e167f1337060d8a27390"
6
6
  }
7
7
  }
@@ -37,4 +37,4 @@ export function createActivityPreview(text) {
37
37
  : `${points.slice(0, ACTIVITY_PREVIEW_MAX_CHARS - 1).join('')}…`;
38
38
  }
39
39
  //# sourceMappingURL=activity-preview.js.map
40
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
40
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -47,4 +47,4 @@ export function isActivityUnread(record) {
47
47
  return record.lastMessage.role === 'assistant' && record.lastMessage.at > (record.lastReadAt ?? 0);
48
48
  }
49
49
  //# sourceMappingURL=activity.js.map
50
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
50
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -60,4 +60,4 @@ export const automationRemoteSpec = {
60
60
  export const AUTOMATION_REMOTE = createTypertRemoteInfo(automationRemoteSpec, z);
61
61
  export default AUTOMATION_REMOTE;
62
62
  //# sourceMappingURL=automation-contract.js.map
63
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
63
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -241,4 +241,4 @@ export const runRequestSchema = z.strictObject({
241
241
  timeZone: timeZoneSchema,
242
242
  });
243
243
  //# sourceMappingURL=automation.js.map
244
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
244
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -23,4 +23,4 @@ export const BOT_BRAND_PARTS = [
23
23
  },
24
24
  ];
25
25
  //# sourceMappingURL=bot-brand.js.map
26
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
26
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -35,4 +35,4 @@ export const capabilitiesSpec = { package: 'dsh-bot/capabilities', methods: {
35
35
  } };
36
36
  export const CAPABILITIES_REMOTE = createTypertRemoteInfo(capabilitiesSpec, z);
37
37
  //# sourceMappingURL=capabilities-contract.js.map
38
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
38
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -49,4 +49,4 @@ export const collaborationSpec = {
49
49
  };
50
50
  export const COLLABORATION_REMOTE = createTypertRemoteInfo(collaborationSpec, z);
51
51
  //# sourceMappingURL=collaboration-contract.js.map
52
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
52
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -60,4 +60,4 @@ export const imStatusSchema = z.strictObject({
60
60
  reason: z.enum(['plugin-missing', 'contract-unavailable', 'consumer-gate-unverified']),
61
61
  });
62
62
  //# sourceMappingURL=collaboration.js.map
63
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
63
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -118,4 +118,4 @@ export const legacyImportSchema = z.strictObject({
118
118
  });
119
119
  export const CONNECTOR_TEMPLATES = ['github', 'filesystem', 'browser', 'notion'];
120
120
  //# sourceMappingURL=connectors.js.map
121
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
121
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -50,4 +50,4 @@ export const autoShareStatusSchema = z.strictObject({
50
50
  });
51
51
  export const autoShareToggleSchema = z.strictObject({ enabled: z.boolean(), expectedRevision: z.number().int().positive() });
52
52
  //# sourceMappingURL=data-flow.js.map
53
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
53
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -31,4 +31,4 @@ export const ceiling = (row) => ({
31
31
  calls: row.calls, input: row.inputCeiling, output: row.outputCeiling, money: row.moneyCeiling,
32
32
  });
33
33
  //# sourceMappingURL=eval-budget.js.map
34
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
34
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -9,4 +9,4 @@ export const groupRecallReadsSchema = z.strictObject({
9
9
  references: z.array(groupRecallReferenceSchema).max(256),
10
10
  });
11
11
  //# sourceMappingURL=group-recall-reads.js.map
12
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
12
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';
@@ -49,4 +49,4 @@ export const groupRecallReferenceSchema = participation.extend({
49
49
  })).min(1).max(GROUP_RECALL_CONTEXT_MAX + 2),
50
50
  });
51
51
  //# sourceMappingURL=group-recall.js.map
52
- export const DSH_BOT_MODULE_VERSION = '0.6.7';
52
+ export const DSH_BOT_MODULE_VERSION = '0.7.0';