dsh-botgroup 0.0.0-stage → 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 (858) hide show
  1. package/LICENSE +18 -0
  2. package/README.en.md +118 -0
  3. package/README.md +117 -2
  4. package/THIRD_PARTY_NOTICES.txt +212 -0
  5. package/assets/logo-1024.png +0 -0
  6. package/cordis.patch.yml +13 -0
  7. package/icon.svg +9 -0
  8. package/lib/client.js +31791 -0
  9. package/lib/client.js.map +7 -0
  10. package/lib/host/activity/first-user.d.ts +16 -0
  11. package/lib/host/activity/first-user.js +25 -0
  12. package/lib/host/activity/first-user.js.map +1 -0
  13. package/lib/host/activity/preview.d.ts +2 -0
  14. package/lib/host/activity/preview.js +5 -0
  15. package/lib/host/activity/preview.js.map +1 -0
  16. package/lib/host/activity/remote.d.ts +15 -0
  17. package/lib/host/activity/remote.js +66 -0
  18. package/lib/host/activity/remote.js.map +1 -0
  19. package/lib/host/activity/tracker.d.ts +12 -0
  20. package/lib/host/activity/tracker.js +157 -0
  21. package/lib/host/activity/tracker.js.map +1 -0
  22. package/lib/host/automation/coordinator.d.ts +26 -0
  23. package/lib/host/automation/coordinator.js +58 -0
  24. package/lib/host/automation/coordinator.js.map +1 -0
  25. package/lib/host/automation/delivery.d.ts +16 -0
  26. package/lib/host/automation/delivery.js +65 -0
  27. package/lib/host/automation/delivery.js.map +1 -0
  28. package/lib/host/automation/errors.d.ts +16 -0
  29. package/lib/host/automation/errors.js +19 -0
  30. package/lib/host/automation/errors.js.map +1 -0
  31. package/lib/host/automation/index.d.ts +2 -0
  32. package/lib/host/automation/index.js +4 -0
  33. package/lib/host/automation/index.js.map +1 -0
  34. package/lib/host/automation/remote.d.ts +280 -0
  35. package/lib/host/automation/remote.js +152 -0
  36. package/lib/host/automation/remote.js.map +1 -0
  37. package/lib/host/automation/store.d.ts +297 -0
  38. package/lib/host/automation/store.js +286 -0
  39. package/lib/host/automation/store.js.map +1 -0
  40. package/lib/host/bot-context.d.ts +11 -0
  41. package/lib/host/bot-context.js +346 -0
  42. package/lib/host/bot-context.js.map +1 -0
  43. package/lib/host/capabilities/platform.d.ts +17 -0
  44. package/lib/host/capabilities/platform.js +17 -0
  45. package/lib/host/capabilities/platform.js.map +1 -0
  46. package/lib/host/capabilities/remote.d.ts +94 -0
  47. package/lib/host/capabilities/remote.js +59 -0
  48. package/lib/host/capabilities/remote.js.map +1 -0
  49. package/lib/host/capabilities/service.d.ts +82 -0
  50. package/lib/host/capabilities/service.js +144 -0
  51. package/lib/host/capabilities/service.js.map +1 -0
  52. package/lib/host/collaboration/remote.d.ts +89 -0
  53. package/lib/host/collaboration/remote.js +109 -0
  54. package/lib/host/collaboration/remote.js.map +1 -0
  55. package/lib/host/collaboration/service.d.ts +61 -0
  56. package/lib/host/collaboration/service.js +191 -0
  57. package/lib/host/collaboration/service.js.map +1 -0
  58. package/lib/host/common/integration-stores.d.ts +162 -0
  59. package/lib/host/common/integration-stores.js +50 -0
  60. package/lib/host/common/integration-stores.js.map +1 -0
  61. package/lib/host/common/native-ambient-source.d.ts +7 -0
  62. package/lib/host/common/native-ambient-source.js +15 -0
  63. package/lib/host/common/native-ambient-source.js.map +1 -0
  64. package/lib/host/common/operations.d.ts +23 -0
  65. package/lib/host/common/operations.js +38 -0
  66. package/lib/host/common/operations.js.map +1 -0
  67. package/lib/host/common/subagent-activation.d.ts +7 -0
  68. package/lib/host/common/subagent-activation.js +10 -0
  69. package/lib/host/common/subagent-activation.js.map +1 -0
  70. package/lib/host/composer.d.ts +15 -0
  71. package/lib/host/composer.js +102 -0
  72. package/lib/host/composer.js.map +1 -0
  73. package/lib/host/connectors/remote.d.ts +215 -0
  74. package/lib/host/connectors/remote.js +111 -0
  75. package/lib/host/connectors/remote.js.map +1 -0
  76. package/lib/host/connectors/service.d.ts +150 -0
  77. package/lib/host/connectors/service.js +491 -0
  78. package/lib/host/connectors/service.js.map +1 -0
  79. package/lib/host/data-flow/agent-binding.d.ts +8 -0
  80. package/lib/host/data-flow/agent-binding.js +4 -0
  81. package/lib/host/data-flow/agent-binding.js.map +1 -0
  82. package/lib/host/data-flow/connector-boundary.d.ts +7 -0
  83. package/lib/host/data-flow/connector-boundary.js +33 -0
  84. package/lib/host/data-flow/connector-boundary.js.map +1 -0
  85. package/lib/host/data-flow/delegation.d.ts +6 -0
  86. package/lib/host/data-flow/delegation.js +73 -0
  87. package/lib/host/data-flow/delegation.js.map +1 -0
  88. package/lib/host/data-flow/egress.d.ts +26 -0
  89. package/lib/host/data-flow/egress.js +118 -0
  90. package/lib/host/data-flow/egress.js.map +1 -0
  91. package/lib/host/data-flow/grants.d.ts +18 -0
  92. package/lib/host/data-flow/grants.js +39 -0
  93. package/lib/host/data-flow/grants.js.map +1 -0
  94. package/lib/host/data-flow/graph-capability.d.ts +3 -0
  95. package/lib/host/data-flow/graph-capability.js +21 -0
  96. package/lib/host/data-flow/graph-capability.js.map +1 -0
  97. package/lib/host/data-flow/labels.d.ts +6 -0
  98. package/lib/host/data-flow/labels.js +30 -0
  99. package/lib/host/data-flow/labels.js.map +1 -0
  100. package/lib/host/data-flow/lineage.d.ts +10 -0
  101. package/lib/host/data-flow/lineage.js +35 -0
  102. package/lib/host/data-flow/lineage.js.map +1 -0
  103. package/lib/host/data-flow/managed-copies.d.ts +216 -0
  104. package/lib/host/data-flow/managed-copies.js +37 -0
  105. package/lib/host/data-flow/managed-copies.js.map +1 -0
  106. package/lib/host/data-flow/native-policy.d.ts +26 -0
  107. package/lib/host/data-flow/native-policy.js +86 -0
  108. package/lib/host/data-flow/native-policy.js.map +1 -0
  109. package/lib/host/data-flow/outlets.d.ts +55 -0
  110. package/lib/host/data-flow/outlets.js +307 -0
  111. package/lib/host/data-flow/outlets.js.map +1 -0
  112. package/lib/host/data-flow/tool-guard.d.ts +13 -0
  113. package/lib/host/data-flow/tool-guard.js +123 -0
  114. package/lib/host/data-flow/tool-guard.js.map +1 -0
  115. package/lib/host/delegate/continuation.d.ts +5 -0
  116. package/lib/host/delegate/continuation.js +44 -0
  117. package/lib/host/delegate/continuation.js.map +1 -0
  118. package/lib/host/delegate/guard.d.ts +7 -0
  119. package/lib/host/delegate/guard.js +53 -0
  120. package/lib/host/delegate/guard.js.map +1 -0
  121. package/lib/host/delegate/tool.d.ts +3 -0
  122. package/lib/host/delegate/tool.js +207 -0
  123. package/lib/host/delegate/tool.js.map +1 -0
  124. package/lib/host/errors.d.ts +9 -0
  125. package/lib/host/errors.js +17 -0
  126. package/lib/host/errors.js.map +1 -0
  127. package/lib/host/groups/concurrent.d.ts +29 -0
  128. package/lib/host/groups/concurrent.js +277 -0
  129. package/lib/host/groups/concurrent.js.map +1 -0
  130. package/lib/host/groups/data-flow.d.ts +21 -0
  131. package/lib/host/groups/data-flow.js +59 -0
  132. package/lib/host/groups/data-flow.js.map +1 -0
  133. package/lib/host/groups/failure.d.ts +10 -0
  134. package/lib/host/groups/failure.js +36 -0
  135. package/lib/host/groups/failure.js.map +1 -0
  136. package/lib/host/groups/members.d.ts +172 -0
  137. package/lib/host/groups/members.js +242 -0
  138. package/lib/host/groups/members.js.map +1 -0
  139. package/lib/host/groups/messages.d.ts +389 -0
  140. package/lib/host/groups/messages.js +151 -0
  141. package/lib/host/groups/messages.js.map +1 -0
  142. package/lib/host/groups/model-selection.d.ts +15 -0
  143. package/lib/host/groups/model-selection.js +12 -0
  144. package/lib/host/groups/model-selection.js.map +1 -0
  145. package/lib/host/groups/model.d.ts +331 -0
  146. package/lib/host/groups/model.js +26 -0
  147. package/lib/host/groups/model.js.map +1 -0
  148. package/lib/host/groups/owner-follow-up.d.ts +4 -0
  149. package/lib/host/groups/owner-follow-up.js +34 -0
  150. package/lib/host/groups/owner-follow-up.js.map +1 -0
  151. package/lib/host/groups/recall-sessions.d.ts +32 -0
  152. package/lib/host/groups/recall-sessions.js +145 -0
  153. package/lib/host/groups/recall-sessions.js.map +1 -0
  154. package/lib/host/groups/recall-tool.d.ts +9 -0
  155. package/lib/host/groups/recall-tool.js +275 -0
  156. package/lib/host/groups/recall-tool.js.map +1 -0
  157. package/lib/host/groups/recall.d.ts +37 -0
  158. package/lib/host/groups/recall.js +406 -0
  159. package/lib/host/groups/recall.js.map +1 -0
  160. package/lib/host/groups/remote.d.ts +1219 -0
  161. package/lib/host/groups/remote.js +177 -0
  162. package/lib/host/groups/remote.js.map +1 -0
  163. package/lib/host/groups/root-guard.d.ts +26 -0
  164. package/lib/host/groups/root-guard.js +59 -0
  165. package/lib/host/groups/root-guard.js.map +1 -0
  166. package/lib/host/groups/roots.d.ts +25 -0
  167. package/lib/host/groups/roots.js +225 -0
  168. package/lib/host/groups/roots.js.map +1 -0
  169. package/lib/host/groups/round-robin.d.ts +2 -0
  170. package/lib/host/groups/round-robin.js +7 -0
  171. package/lib/host/groups/round-robin.js.map +1 -0
  172. package/lib/host/groups/routing.d.ts +35 -0
  173. package/lib/host/groups/routing.js +92 -0
  174. package/lib/host/groups/routing.js.map +1 -0
  175. package/lib/host/groups/service.d.ts +1704 -0
  176. package/lib/host/groups/service.js +324 -0
  177. package/lib/host/groups/service.js.map +1 -0
  178. package/lib/host/groups/state.d.ts +975 -0
  179. package/lib/host/groups/state.js +229 -0
  180. package/lib/host/groups/state.js.map +1 -0
  181. package/lib/host/groups/supergroup-admission.d.ts +87 -0
  182. package/lib/host/groups/supergroup-admission.js +99 -0
  183. package/lib/host/groups/supergroup-admission.js.map +1 -0
  184. package/lib/host/groups/team-recipes.d.ts +113 -0
  185. package/lib/host/groups/team-recipes.js +92 -0
  186. package/lib/host/groups/team-recipes.js.map +1 -0
  187. package/lib/host/groups/turn-runner.d.ts +184 -0
  188. package/lib/host/groups/turn-runner.js +613 -0
  189. package/lib/host/groups/turn-runner.js.map +1 -0
  190. package/lib/host/groups/turns.d.ts +740 -0
  191. package/lib/host/groups/turns.js +513 -0
  192. package/lib/host/groups/turns.js.map +1 -0
  193. package/lib/host/groups/worker-tool.d.ts +50 -0
  194. package/lib/host/groups/worker-tool.js +157 -0
  195. package/lib/host/groups/worker-tool.js.map +1 -0
  196. package/lib/host/home.d.ts +27 -0
  197. package/lib/host/home.js +221 -0
  198. package/lib/host/home.js.map +1 -0
  199. package/lib/host/im/service.d.ts +4 -0
  200. package/lib/host/im/service.js +20 -0
  201. package/lib/host/im/service.js.map +1 -0
  202. package/lib/host/index.d.ts +10 -0
  203. package/lib/host/index.js +298 -0
  204. package/lib/host/index.js.map +1 -0
  205. package/lib/host/live-persona.d.ts +9 -0
  206. package/lib/host/live-persona.js +102 -0
  207. package/lib/host/live-persona.js.map +1 -0
  208. package/lib/host/main-session.d.ts +45 -0
  209. package/lib/host/main-session.js +249 -0
  210. package/lib/host/main-session.js.map +1 -0
  211. package/lib/host/memory/admission.d.ts +46 -0
  212. package/lib/host/memory/admission.js +269 -0
  213. package/lib/host/memory/admission.js.map +1 -0
  214. package/lib/host/memory/auto-share.d.ts +36 -0
  215. package/lib/host/memory/auto-share.js +38 -0
  216. package/lib/host/memory/auto-share.js.map +1 -0
  217. package/lib/host/memory/confirmation.d.ts +145 -0
  218. package/lib/host/memory/confirmation.js +88 -0
  219. package/lib/host/memory/confirmation.js.map +1 -0
  220. package/lib/host/memory/conflicts.d.ts +16 -0
  221. package/lib/host/memory/conflicts.js +87 -0
  222. package/lib/host/memory/conflicts.js.map +1 -0
  223. package/lib/host/memory/context.d.ts +16 -0
  224. package/lib/host/memory/context.js +96 -0
  225. package/lib/host/memory/context.js.map +1 -0
  226. package/lib/host/memory/domain-v2.d.ts +338 -0
  227. package/lib/host/memory/domain-v2.js +21 -0
  228. package/lib/host/memory/domain-v2.js.map +1 -0
  229. package/lib/host/memory/facade.d.ts +159 -0
  230. package/lib/host/memory/facade.js +281 -0
  231. package/lib/host/memory/facade.js.map +1 -0
  232. package/lib/host/memory/forget-preview.d.ts +27 -0
  233. package/lib/host/memory/forget-preview.js +100 -0
  234. package/lib/host/memory/forget-preview.js.map +1 -0
  235. package/lib/host/memory/forget-runner.d.ts +31 -0
  236. package/lib/host/memory/forget-runner.js +167 -0
  237. package/lib/host/memory/forget-runner.js.map +1 -0
  238. package/lib/host/memory/forget-service.d.ts +65 -0
  239. package/lib/host/memory/forget-service.js +169 -0
  240. package/lib/host/memory/forget-service.js.map +1 -0
  241. package/lib/host/memory/history-proof.d.ts +5 -0
  242. package/lib/host/memory/history-proof.js +37 -0
  243. package/lib/host/memory/history-proof.js.map +1 -0
  244. package/lib/host/memory/history.d.ts +31 -0
  245. package/lib/host/memory/history.js +45 -0
  246. package/lib/host/memory/history.js.map +1 -0
  247. package/lib/host/memory/layout-upgrade.d.ts +8 -0
  248. package/lib/host/memory/layout-upgrade.js +51 -0
  249. package/lib/host/memory/layout-upgrade.js.map +1 -0
  250. package/lib/host/memory/migration.d.ts +23 -0
  251. package/lib/host/memory/migration.js +105 -0
  252. package/lib/host/memory/migration.js.map +1 -0
  253. package/lib/host/memory/op-log.d.ts +44 -0
  254. package/lib/host/memory/op-log.js +155 -0
  255. package/lib/host/memory/op-log.js.map +1 -0
  256. package/lib/host/memory/open-v2.d.ts +7 -0
  257. package/lib/host/memory/open-v2.js +30 -0
  258. package/lib/host/memory/open-v2.js.map +1 -0
  259. package/lib/host/memory/owner-lease.d.ts +9 -0
  260. package/lib/host/memory/owner-lease.js +105 -0
  261. package/lib/host/memory/owner-lease.js.map +1 -0
  262. package/lib/host/memory/persistent-map.d.ts +40 -0
  263. package/lib/host/memory/persistent-map.js +88 -0
  264. package/lib/host/memory/persistent-map.js.map +1 -0
  265. package/lib/host/memory/port.d.ts +10 -0
  266. package/lib/host/memory/port.js +3 -0
  267. package/lib/host/memory/port.js.map +1 -0
  268. package/lib/host/memory/preserve-inbox.d.ts +7 -0
  269. package/lib/host/memory/preserve-inbox.js +45 -0
  270. package/lib/host/memory/preserve-inbox.js.map +1 -0
  271. package/lib/host/memory/projection.d.ts +22 -0
  272. package/lib/host/memory/projection.js +89 -0
  273. package/lib/host/memory/projection.js.map +1 -0
  274. package/lib/host/memory/prompt.d.ts +3 -0
  275. package/lib/host/memory/prompt.js +56 -0
  276. package/lib/host/memory/prompt.js.map +1 -0
  277. package/lib/host/memory/query.d.ts +5 -0
  278. package/lib/host/memory/query.js +8 -0
  279. package/lib/host/memory/query.js.map +1 -0
  280. package/lib/host/memory/quota-replay.d.ts +4 -0
  281. package/lib/host/memory/quota-replay.js +22 -0
  282. package/lib/host/memory/quota-replay.js.map +1 -0
  283. package/lib/host/memory/quota.d.ts +152 -0
  284. package/lib/host/memory/quota.js +101 -0
  285. package/lib/host/memory/quota.js.map +1 -0
  286. package/lib/host/memory/remote.d.ts +288 -0
  287. package/lib/host/memory/remote.js +202 -0
  288. package/lib/host/memory/remote.js.map +1 -0
  289. package/lib/host/memory/retrieval-aliases.json +55 -0
  290. package/lib/host/memory/retrieval-config.d.ts +15 -0
  291. package/lib/host/memory/retrieval-config.js +17 -0
  292. package/lib/host/memory/retrieval-config.js.map +1 -0
  293. package/lib/host/memory/retrieval-rank.d.ts +16 -0
  294. package/lib/host/memory/retrieval-rank.js +88 -0
  295. package/lib/host/memory/retrieval-rank.js.map +1 -0
  296. package/lib/host/memory/retrieval-text.d.ts +3 -0
  297. package/lib/host/memory/retrieval-text.js +34 -0
  298. package/lib/host/memory/retrieval-text.js.map +1 -0
  299. package/lib/host/memory/root-instructions.d.ts +4 -0
  300. package/lib/host/memory/root-instructions.js +21 -0
  301. package/lib/host/memory/root-instructions.js.map +1 -0
  302. package/lib/host/memory/secrets.d.ts +6 -0
  303. package/lib/host/memory/secrets.js +12 -0
  304. package/lib/host/memory/secrets.js.map +1 -0
  305. package/lib/host/memory/service.d.ts +59 -0
  306. package/lib/host/memory/service.js +148 -0
  307. package/lib/host/memory/service.js.map +1 -0
  308. package/lib/host/memory/shards.d.ts +4 -0
  309. package/lib/host/memory/shards.js +12 -0
  310. package/lib/host/memory/shards.js.map +1 -0
  311. package/lib/host/memory/store-v2.d.ts +37 -0
  312. package/lib/host/memory/store-v2.js +156 -0
  313. package/lib/host/memory/store-v2.js.map +1 -0
  314. package/lib/host/memory/temporal.d.ts +18 -0
  315. package/lib/host/memory/temporal.js +53 -0
  316. package/lib/host/memory/temporal.js.map +1 -0
  317. package/lib/host/memory/tool-guidance.d.ts +3 -0
  318. package/lib/host/memory/tool-guidance.js +11 -0
  319. package/lib/host/memory/tool-guidance.js.map +1 -0
  320. package/lib/host/memory/tools.d.ts +6 -0
  321. package/lib/host/memory/tools.js +121 -0
  322. package/lib/host/memory/tools.js.map +1 -0
  323. package/lib/host/memory/trusted-ingress.d.ts +14 -0
  324. package/lib/host/memory/trusted-ingress.js +13 -0
  325. package/lib/host/memory/trusted-ingress.js.map +1 -0
  326. package/lib/host/memory/version.d.ts +135 -0
  327. package/lib/host/memory/version.js +17 -0
  328. package/lib/host/memory/version.js.map +1 -0
  329. package/lib/host/messaging/config.d.ts +55 -0
  330. package/lib/host/messaging/config.js +44 -0
  331. package/lib/host/messaging/config.js.map +1 -0
  332. package/lib/host/messaging/core.d.ts +287 -0
  333. package/lib/host/messaging/core.js +110 -0
  334. package/lib/host/messaging/core.js.map +1 -0
  335. package/lib/host/messaging/delivery.d.ts +6 -0
  336. package/lib/host/messaging/delivery.js +239 -0
  337. package/lib/host/messaging/delivery.js.map +1 -0
  338. package/lib/host/messaging/evidence.d.ts +15 -0
  339. package/lib/host/messaging/evidence.js +63 -0
  340. package/lib/host/messaging/evidence.js.map +1 -0
  341. package/lib/host/messaging/interrupt.d.ts +3 -0
  342. package/lib/host/messaging/interrupt.js +15 -0
  343. package/lib/host/messaging/interrupt.js.map +1 -0
  344. package/lib/host/messaging/recovery.d.ts +19 -0
  345. package/lib/host/messaging/recovery.js +114 -0
  346. package/lib/host/messaging/recovery.js.map +1 -0
  347. package/lib/host/messaging/remote.d.ts +92 -0
  348. package/lib/host/messaging/remote.js +119 -0
  349. package/lib/host/messaging/remote.js.map +1 -0
  350. package/lib/host/messaging/reply-routing.d.ts +6 -0
  351. package/lib/host/messaging/reply-routing.js +203 -0
  352. package/lib/host/messaging/reply-routing.js.map +1 -0
  353. package/lib/host/messaging/safety.d.ts +29 -0
  354. package/lib/host/messaging/safety.js +83 -0
  355. package/lib/host/messaging/safety.js.map +1 -0
  356. package/lib/host/messaging/scoped-projection.d.ts +43 -0
  357. package/lib/host/messaging/scoped-projection.js +136 -0
  358. package/lib/host/messaging/scoped-projection.js.map +1 -0
  359. package/lib/host/messaging/service.d.ts +25 -0
  360. package/lib/host/messaging/service.js +66 -0
  361. package/lib/host/messaging/service.js.map +1 -0
  362. package/lib/host/messaging/store.d.ts +764 -0
  363. package/lib/host/messaging/store.js +311 -0
  364. package/lib/host/messaging/store.js.map +1 -0
  365. package/lib/host/messaging/tool.d.ts +3 -0
  366. package/lib/host/messaging/tool.js +119 -0
  367. package/lib/host/messaging/tool.js.map +1 -0
  368. package/lib/host/messaging/wake.d.ts +5 -0
  369. package/lib/host/messaging/wake.js +14 -0
  370. package/lib/host/messaging/wake.js.map +1 -0
  371. package/lib/host/native-schedule/outcomes.d.ts +30 -0
  372. package/lib/host/native-schedule/outcomes.js +31 -0
  373. package/lib/host/native-schedule/outcomes.js.map +1 -0
  374. package/lib/host/native-schedule/service.d.ts +47 -0
  375. package/lib/host/native-schedule/service.js +164 -0
  376. package/lib/host/native-schedule/service.js.map +1 -0
  377. package/lib/host/notifications/data-flow.d.ts +6 -0
  378. package/lib/host/notifications/data-flow.js +56 -0
  379. package/lib/host/notifications/data-flow.js.map +1 -0
  380. package/lib/host/notifications/remote.d.ts +111 -0
  381. package/lib/host/notifications/remote.js +78 -0
  382. package/lib/host/notifications/remote.js.map +1 -0
  383. package/lib/host/notifications/service.d.ts +443 -0
  384. package/lib/host/notifications/service.js +466 -0
  385. package/lib/host/notifications/service.js.map +1 -0
  386. package/lib/host/notifications/time.d.ts +6 -0
  387. package/lib/host/notifications/time.js +21 -0
  388. package/lib/host/notifications/time.js.map +1 -0
  389. package/lib/host/notifications/tool.d.ts +4 -0
  390. package/lib/host/notifications/tool.js +97 -0
  391. package/lib/host/notifications/tool.js.map +1 -0
  392. package/lib/host/onboarding/coordinator.d.ts +87 -0
  393. package/lib/host/onboarding/coordinator.js +332 -0
  394. package/lib/host/onboarding/coordinator.js.map +1 -0
  395. package/lib/host/onboarding/guard.d.ts +5 -0
  396. package/lib/host/onboarding/guard.js +71 -0
  397. package/lib/host/onboarding/guard.js.map +1 -0
  398. package/lib/host/proactive/auto-admission.d.ts +17 -0
  399. package/lib/host/proactive/auto-admission.js +51 -0
  400. package/lib/host/proactive/auto-admission.js.map +1 -0
  401. package/lib/host/proactive/config.d.ts +192 -0
  402. package/lib/host/proactive/config.js +78 -0
  403. package/lib/host/proactive/config.js.map +1 -0
  404. package/lib/host/proactive/coordinator-client.d.ts +17 -0
  405. package/lib/host/proactive/coordinator-client.js +143 -0
  406. package/lib/host/proactive/coordinator-client.js.map +1 -0
  407. package/lib/host/proactive/deferred-notices.d.ts +21 -0
  408. package/lib/host/proactive/deferred-notices.js +147 -0
  409. package/lib/host/proactive/deferred-notices.js.map +1 -0
  410. package/lib/host/proactive/execution-prompt.d.ts +4 -0
  411. package/lib/host/proactive/execution-prompt.js +23 -0
  412. package/lib/host/proactive/execution-prompt.js.map +1 -0
  413. package/lib/host/proactive/execution.d.ts +36 -0
  414. package/lib/host/proactive/execution.js +607 -0
  415. package/lib/host/proactive/execution.js.map +1 -0
  416. package/lib/host/proactive/executors/command.d.ts +49 -0
  417. package/lib/host/proactive/executors/command.js +117 -0
  418. package/lib/host/proactive/executors/command.js.map +1 -0
  419. package/lib/host/proactive/executors/json-command-bridge-entry.d.ts +1 -0
  420. package/lib/host/proactive/executors/json-command-bridge-entry.js +29 -0
  421. package/lib/host/proactive/executors/json-command-bridge-entry.js.map +1 -0
  422. package/lib/host/proactive/executors/json-command-bridge.d.ts +46 -0
  423. package/lib/host/proactive/executors/json-command-bridge.js +135 -0
  424. package/lib/host/proactive/executors/json-command-bridge.js.map +1 -0
  425. package/lib/host/proactive/executors/loopback.d.ts +23 -0
  426. package/lib/host/proactive/executors/loopback.js +136 -0
  427. package/lib/host/proactive/executors/loopback.js.map +1 -0
  428. package/lib/host/proactive/feedback-workflow.d.ts +1336 -0
  429. package/lib/host/proactive/feedback-workflow.js +194 -0
  430. package/lib/host/proactive/feedback-workflow.js.map +1 -0
  431. package/lib/host/proactive/feedback.d.ts +25 -0
  432. package/lib/host/proactive/feedback.js +107 -0
  433. package/lib/host/proactive/feedback.js.map +1 -0
  434. package/lib/host/proactive/follow-up-events.d.ts +47 -0
  435. package/lib/host/proactive/follow-up-events.js +387 -0
  436. package/lib/host/proactive/follow-up-events.js.map +1 -0
  437. package/lib/host/proactive/follow-up-facts.d.ts +5 -0
  438. package/lib/host/proactive/follow-up-facts.js +34 -0
  439. package/lib/host/proactive/follow-up-facts.js.map +1 -0
  440. package/lib/host/proactive/follow-up-tool.d.ts +4 -0
  441. package/lib/host/proactive/follow-up-tool.js +195 -0
  442. package/lib/host/proactive/follow-up-tool.js.map +1 -0
  443. package/lib/host/proactive/governance-artifacts.d.ts +8 -0
  444. package/lib/host/proactive/governance-artifacts.js +182 -0
  445. package/lib/host/proactive/governance-artifacts.js.map +1 -0
  446. package/lib/host/proactive/governance-service.d.ts +39 -0
  447. package/lib/host/proactive/governance-service.js +146 -0
  448. package/lib/host/proactive/governance-service.js.map +1 -0
  449. package/lib/host/proactive/group-budget.d.ts +25 -0
  450. package/lib/host/proactive/group-budget.js +145 -0
  451. package/lib/host/proactive/group-budget.js.map +1 -0
  452. package/lib/host/proactive/group-follow-up.d.ts +10 -0
  453. package/lib/host/proactive/group-follow-up.js +95 -0
  454. package/lib/host/proactive/group-follow-up.js.map +1 -0
  455. package/lib/host/proactive/group-repair.d.ts +93 -0
  456. package/lib/host/proactive/group-repair.js +283 -0
  457. package/lib/host/proactive/group-repair.js.map +1 -0
  458. package/lib/host/proactive/index.d.ts +10 -0
  459. package/lib/host/proactive/index.js +26 -0
  460. package/lib/host/proactive/index.js.map +1 -0
  461. package/lib/host/proactive/lifecycle.d.ts +24 -0
  462. package/lib/host/proactive/lifecycle.js +187 -0
  463. package/lib/host/proactive/lifecycle.js.map +1 -0
  464. package/lib/host/proactive/method-evaluation.d.ts +5 -0
  465. package/lib/host/proactive/method-evaluation.js +41 -0
  466. package/lib/host/proactive/method-evaluation.js.map +1 -0
  467. package/lib/host/proactive/method-package.d.ts +33 -0
  468. package/lib/host/proactive/method-package.js +25 -0
  469. package/lib/host/proactive/method-package.js.map +1 -0
  470. package/lib/host/proactive/method-skill.d.ts +7 -0
  471. package/lib/host/proactive/method-skill.js +20 -0
  472. package/lib/host/proactive/method-skill.js.map +1 -0
  473. package/lib/host/proactive/model-budget.d.ts +10 -0
  474. package/lib/host/proactive/model-budget.js +48 -0
  475. package/lib/host/proactive/model-budget.js.map +1 -0
  476. package/lib/host/proactive/notice-pump.d.ts +16 -0
  477. package/lib/host/proactive/notice-pump.js +174 -0
  478. package/lib/host/proactive/notice-pump.js.map +1 -0
  479. package/lib/host/proactive/notification-bridge.d.ts +3 -0
  480. package/lib/host/proactive/notification-bridge.js +26 -0
  481. package/lib/host/proactive/notification-bridge.js.map +1 -0
  482. package/lib/host/proactive/read-query.d.ts +4 -0
  483. package/lib/host/proactive/read-query.js +53 -0
  484. package/lib/host/proactive/read-query.js.map +1 -0
  485. package/lib/host/proactive/remote.d.ts +5076 -0
  486. package/lib/host/proactive/remote.js +351 -0
  487. package/lib/host/proactive/remote.js.map +1 -0
  488. package/lib/host/proactive/repair.d.ts +48 -0
  489. package/lib/host/proactive/repair.js +205 -0
  490. package/lib/host/proactive/repair.js.map +1 -0
  491. package/lib/host/proactive/result-journal.d.ts +215 -0
  492. package/lib/host/proactive/result-journal.js +132 -0
  493. package/lib/host/proactive/result-journal.js.map +1 -0
  494. package/lib/host/proactive/service.d.ts +32106 -0
  495. package/lib/host/proactive/service.js +1632 -0
  496. package/lib/host/proactive/service.js.map +1 -0
  497. package/lib/host/proactive/setup.d.ts +13 -0
  498. package/lib/host/proactive/setup.js +94 -0
  499. package/lib/host/proactive/setup.js.map +1 -0
  500. package/lib/host/proactive/sources/ci-feed.d.ts +21 -0
  501. package/lib/host/proactive/sources/ci-feed.js +86 -0
  502. package/lib/host/proactive/sources/ci-feed.js.map +1 -0
  503. package/lib/host/proactive/sources/ci.d.ts +35 -0
  504. package/lib/host/proactive/sources/ci.js +72 -0
  505. package/lib/host/proactive/sources/ci.js.map +1 -0
  506. package/lib/host/proactive/sources/github-ci.d.ts +16 -0
  507. package/lib/host/proactive/sources/github-ci.js +117 -0
  508. package/lib/host/proactive/sources/github-ci.js.map +1 -0
  509. package/lib/host/proactive/task-cost.d.ts +10 -0
  510. package/lib/host/proactive/task-cost.js +70 -0
  511. package/lib/host/proactive/task-cost.js.map +1 -0
  512. package/lib/host/proactive/wire.d.ts +5 -0
  513. package/lib/host/proactive/wire.js +48 -0
  514. package/lib/host/proactive/wire.js.map +1 -0
  515. package/lib/host/proactive/work-continuation.d.ts +21 -0
  516. package/lib/host/proactive/work-continuation.js +66 -0
  517. package/lib/host/proactive/work-continuation.js.map +1 -0
  518. package/lib/host/proactive/workspace-process.d.ts +25 -0
  519. package/lib/host/proactive/workspace-process.js +80 -0
  520. package/lib/host/proactive/workspace-process.js.map +1 -0
  521. package/lib/host/proactive/workspace-repair.d.ts +425 -0
  522. package/lib/host/proactive/workspace-repair.js +352 -0
  523. package/lib/host/proactive/workspace-repair.js.map +1 -0
  524. package/lib/host/reference-memory/backend.d.ts +13 -0
  525. package/lib/host/reference-memory/backend.js +134 -0
  526. package/lib/host/reference-memory/backend.js.map +1 -0
  527. package/lib/host/reference-memory/cleanup-files.d.ts +7 -0
  528. package/lib/host/reference-memory/cleanup-files.js +36 -0
  529. package/lib/host/reference-memory/cleanup-files.js.map +1 -0
  530. package/lib/host/reference-memory/copies.d.ts +87 -0
  531. package/lib/host/reference-memory/copies.js +218 -0
  532. package/lib/host/reference-memory/copies.js.map +1 -0
  533. package/lib/host/reference-memory/files.d.ts +4 -0
  534. package/lib/host/reference-memory/files.js +43 -0
  535. package/lib/host/reference-memory/files.js.map +1 -0
  536. package/lib/host/reference-memory/model.d.ts +195 -0
  537. package/lib/host/reference-memory/model.js +66 -0
  538. package/lib/host/reference-memory/model.js.map +1 -0
  539. package/lib/host/reference-memory/service.d.ts +157 -0
  540. package/lib/host/reference-memory/service.js +124 -0
  541. package/lib/host/reference-memory/service.js.map +1 -0
  542. package/lib/host/reference-memory/writer.d.ts +55 -0
  543. package/lib/host/reference-memory/writer.js +265 -0
  544. package/lib/host/reference-memory/writer.js.map +1 -0
  545. package/lib/host/registry/identity.d.ts +3 -0
  546. package/lib/host/registry/identity.js +9 -0
  547. package/lib/host/registry/identity.js.map +1 -0
  548. package/lib/host/registry/lifecycle.d.ts +119 -0
  549. package/lib/host/registry/lifecycle.js +226 -0
  550. package/lib/host/registry/lifecycle.js.map +1 -0
  551. package/lib/host/registry/mutations.d.ts +7 -0
  552. package/lib/host/registry/mutations.js +25 -0
  553. package/lib/host/registry/mutations.js.map +1 -0
  554. package/lib/host/registry/presets.d.ts +13 -0
  555. package/lib/host/registry/presets.js +169 -0
  556. package/lib/host/registry/presets.js.map +1 -0
  557. package/lib/host/registry/types.d.ts +11 -0
  558. package/lib/host/registry/types.js +3 -0
  559. package/lib/host/registry/types.js.map +1 -0
  560. package/lib/host/registry-config.d.ts +69 -0
  561. package/lib/host/registry-config.js +125 -0
  562. package/lib/host/registry-config.js.map +1 -0
  563. package/lib/host/registry.d.ts +145 -0
  564. package/lib/host/registry.js +490 -0
  565. package/lib/host/registry.js.map +1 -0
  566. package/lib/host/shadow/budget.d.ts +106 -0
  567. package/lib/host/shadow/budget.js +112 -0
  568. package/lib/host/shadow/budget.js.map +1 -0
  569. package/lib/host/shadow/config.d.ts +13 -0
  570. package/lib/host/shadow/config.js +13 -0
  571. package/lib/host/shadow/config.js.map +1 -0
  572. package/lib/host/shadow/notification-adapter.d.ts +5 -0
  573. package/lib/host/shadow/notification-adapter.js +16 -0
  574. package/lib/host/shadow/notification-adapter.js.map +1 -0
  575. package/lib/host/shadow/planner.d.ts +39 -0
  576. package/lib/host/shadow/planner.js +76 -0
  577. package/lib/host/shadow/planner.js.map +1 -0
  578. package/lib/host/shadow/schedule-adapter.d.ts +23 -0
  579. package/lib/host/shadow/schedule-adapter.js +15 -0
  580. package/lib/host/shadow/schedule-adapter.js.map +1 -0
  581. package/lib/host/shadow/service.d.ts +23 -0
  582. package/lib/host/shadow/service.js +25 -0
  583. package/lib/host/shadow/service.js.map +1 -0
  584. package/lib/host/store.d.ts +25 -0
  585. package/lib/host/store.js +74 -0
  586. package/lib/host/store.js.map +1 -0
  587. package/lib/host/stores/activity.d.ts +35 -0
  588. package/lib/host/stores/activity.js +188 -0
  589. package/lib/host/stores/activity.js.map +1 -0
  590. package/lib/host/stores/bots.d.ts +21 -0
  591. package/lib/host/stores/bots.js +128 -0
  592. package/lib/host/stores/bots.js.map +1 -0
  593. package/lib/host/stores/domain.d.ts +343 -0
  594. package/lib/host/stores/domain.js +98 -0
  595. package/lib/host/stores/domain.js.map +1 -0
  596. package/lib/host/stores/memory.d.ts +29 -0
  597. package/lib/host/stores/memory.js +139 -0
  598. package/lib/host/stores/memory.js.map +1 -0
  599. package/lib/host/supergroup/collaboration.d.ts +99 -0
  600. package/lib/host/supergroup/collaboration.js +361 -0
  601. package/lib/host/supergroup/collaboration.js.map +1 -0
  602. package/lib/host/supergroup/config.d.ts +15 -0
  603. package/lib/host/supergroup/config.js +33 -0
  604. package/lib/host/supergroup/config.js.map +1 -0
  605. package/lib/host/supergroup/input-capability.d.ts +4 -0
  606. package/lib/host/supergroup/input-capability.js +21 -0
  607. package/lib/host/supergroup/input-capability.js.map +1 -0
  608. package/lib/host/supergroup/remote.d.ts +1944 -0
  609. package/lib/host/supergroup/remote.js +123 -0
  610. package/lib/host/supergroup/remote.js.map +1 -0
  611. package/lib/host/supergroup/service.d.ts +935 -0
  612. package/lib/host/supergroup/service.js +921 -0
  613. package/lib/host/supergroup/service.js.map +1 -0
  614. package/lib/host/supergroup/task-support.d.ts +245 -0
  615. package/lib/host/supergroup/task-support.js +310 -0
  616. package/lib/host/supergroup/task-support.js.map +1 -0
  617. package/lib/host/supergroup/tool.d.ts +4 -0
  618. package/lib/host/supergroup/tool.js +74 -0
  619. package/lib/host/supergroup/tool.js.map +1 -0
  620. package/lib/host/tools/bot-manage.d.ts +14 -0
  621. package/lib/host/tools/bot-manage.js +440 -0
  622. package/lib/host/tools/bot-manage.js.map +1 -0
  623. package/lib/host/workspace/remote.d.ts +194 -0
  624. package/lib/host/workspace/remote.js +98 -0
  625. package/lib/host/workspace/remote.js.map +1 -0
  626. package/lib/host/workspace/service.d.ts +185 -0
  627. package/lib/host/workspace/service.js +261 -0
  628. package/lib/host/workspace/service.js.map +1 -0
  629. package/lib/index.d.ts +10 -0
  630. package/lib/index.js +58 -0
  631. package/lib/index.js.map +1 -0
  632. package/lib/module-manifest.json +278 -0
  633. package/lib/proactive-coordinator/LICENSE +21 -0
  634. package/lib/proactive-coordinator/core.mjs +19067 -0
  635. package/lib/proactive-coordinator/main.mjs +22363 -0
  636. package/lib/proactive-coordinator/package.json +1 -0
  637. package/lib/proactive-coordinator/prompts/admission.md +68 -0
  638. package/lib/proactive-coordinator/prompts/cli.md +17 -0
  639. package/lib/proactive-coordinator/prompts/dispatch.md +59 -0
  640. package/lib/proactive-coordinator/prompts/handoff-orchestrator.md +4 -0
  641. package/lib/proactive-coordinator/prompts/handoff-worker.md +7 -0
  642. package/lib/proactive-coordinator/prompts/handoff.md +6 -0
  643. package/lib/proactive-coordinator/prompts/orchestrator.md +16 -0
  644. package/lib/proactive-coordinator/prompts/replies.md +35 -0
  645. package/lib/proactive-coordinator/prompts/shared.md +7 -0
  646. package/lib/proactive-coordinator/prompts/subscriptions.md +13 -0
  647. package/lib/proactive-coordinator/prompts/team/communication.md +97 -0
  648. package/lib/proactive-coordinator/prompts/team/delivery.md +28 -0
  649. package/lib/proactive-coordinator/prompts/team/scope.md +22 -0
  650. package/lib/proactive-coordinator/prompts/work.md +49 -0
  651. package/lib/proactive-coordinator/prompts/worker.md +10 -0
  652. package/lib/proactive-coordinator/provenance.json +7 -0
  653. package/lib/proactive-coordinator/skills/dsh-superagent-feishu/SKILL.md +12 -0
  654. package/lib/proactive-coordinator/skills/dsh-superagent-github/SKILL.md +14 -0
  655. package/lib/shared/activity-preview.d.ts +5 -0
  656. package/lib/shared/activity-preview.js +40 -0
  657. package/lib/shared/activity-preview.js.map +1 -0
  658. package/lib/shared/activity.d.ts +107 -0
  659. package/lib/shared/activity.js +50 -0
  660. package/lib/shared/activity.js.map +1 -0
  661. package/lib/shared/automation-contract.d.ts +1138 -0
  662. package/lib/shared/automation-contract.js +63 -0
  663. package/lib/shared/automation-contract.js.map +1 -0
  664. package/lib/shared/automation.d.ts +336 -0
  665. package/lib/shared/automation.js +244 -0
  666. package/lib/shared/automation.js.map +1 -0
  667. package/lib/shared/bot-brand.d.ts +20 -0
  668. package/lib/shared/bot-brand.js +26 -0
  669. package/lib/shared/bot-brand.js.map +1 -0
  670. package/lib/shared/capabilities-contract.d.ts +685 -0
  671. package/lib/shared/capabilities-contract.js +38 -0
  672. package/lib/shared/capabilities-contract.js.map +1 -0
  673. package/lib/shared/collaboration-contract.d.ts +614 -0
  674. package/lib/shared/collaboration-contract.js +52 -0
  675. package/lib/shared/collaboration-contract.js.map +1 -0
  676. package/lib/shared/collaboration.d.ts +132 -0
  677. package/lib/shared/collaboration.js +63 -0
  678. package/lib/shared/collaboration.js.map +1 -0
  679. package/lib/shared/connectors.d.ts +216 -0
  680. package/lib/shared/connectors.js +121 -0
  681. package/lib/shared/connectors.js.map +1 -0
  682. package/lib/shared/data-flow.d.ts +135 -0
  683. package/lib/shared/data-flow.js +53 -0
  684. package/lib/shared/data-flow.js.map +1 -0
  685. package/lib/shared/eval-budget.d.ts +100 -0
  686. package/lib/shared/eval-budget.js +34 -0
  687. package/lib/shared/eval-budget.js.map +1 -0
  688. package/lib/shared/group-recall-reads.d.ts +35 -0
  689. package/lib/shared/group-recall-reads.js +12 -0
  690. package/lib/shared/group-recall-reads.js.map +1 -0
  691. package/lib/shared/group-recall.d.ts +132 -0
  692. package/lib/shared/group-recall.js +52 -0
  693. package/lib/shared/group-recall.js.map +1 -0
  694. package/lib/shared/groups-contract.d.ts +5905 -0
  695. package/lib/shared/groups-contract.js +105 -0
  696. package/lib/shared/groups-contract.js.map +1 -0
  697. package/lib/shared/groups.d.ts +1127 -0
  698. package/lib/shared/groups.js +257 -0
  699. package/lib/shared/groups.js.map +1 -0
  700. package/lib/shared/identity.d.ts +14 -0
  701. package/lib/shared/identity.js +13 -0
  702. package/lib/shared/identity.js.map +1 -0
  703. package/lib/shared/ids.d.ts +5 -0
  704. package/lib/shared/ids.js +6 -0
  705. package/lib/shared/ids.js.map +1 -0
  706. package/lib/shared/integrations-contract.d.ts +1916 -0
  707. package/lib/shared/integrations-contract.js +71 -0
  708. package/lib/shared/integrations-contract.js.map +1 -0
  709. package/lib/shared/integrations.d.ts +216 -0
  710. package/lib/shared/integrations.js +20 -0
  711. package/lib/shared/integrations.js.map +1 -0
  712. package/lib/shared/managed-flow.d.ts +199 -0
  713. package/lib/shared/managed-flow.js +15 -0
  714. package/lib/shared/managed-flow.js.map +1 -0
  715. package/lib/shared/memory-forget.d.ts +122 -0
  716. package/lib/shared/memory-forget.js +32 -0
  717. package/lib/shared/memory-forget.js.map +1 -0
  718. package/lib/shared/memory-management.d.ts +1014 -0
  719. package/lib/shared/memory-management.js +48 -0
  720. package/lib/shared/memory-management.js.map +1 -0
  721. package/lib/shared/memory-ops.d.ts +274 -0
  722. package/lib/shared/memory-ops.js +35 -0
  723. package/lib/shared/memory-ops.js.map +1 -0
  724. package/lib/shared/memory-tool-names.d.ts +2 -0
  725. package/lib/shared/memory-tool-names.js +9 -0
  726. package/lib/shared/memory-tool-names.js.map +1 -0
  727. package/lib/shared/memory-v2.d.ts +268 -0
  728. package/lib/shared/memory-v2.js +51 -0
  729. package/lib/shared/memory-v2.js.map +1 -0
  730. package/lib/shared/messaging-contract.d.ts +161 -0
  731. package/lib/shared/messaging-contract.js +24 -0
  732. package/lib/shared/messaging-contract.js.map +1 -0
  733. package/lib/shared/messaging.d.ts +808 -0
  734. package/lib/shared/messaging.js +231 -0
  735. package/lib/shared/messaging.js.map +1 -0
  736. package/lib/shared/native-schedule.d.ts +35 -0
  737. package/lib/shared/native-schedule.js +25 -0
  738. package/lib/shared/native-schedule.js.map +1 -0
  739. package/lib/shared/notifications.d.ts +167 -0
  740. package/lib/shared/notifications.js +104 -0
  741. package/lib/shared/notifications.js.map +1 -0
  742. package/lib/shared/onboarding-source.d.ts +19 -0
  743. package/lib/shared/onboarding-source.js +9 -0
  744. package/lib/shared/onboarding-source.js.map +1 -0
  745. package/lib/shared/onboarding.d.ts +115 -0
  746. package/lib/shared/onboarding.js +14 -0
  747. package/lib/shared/onboarding.js.map +1 -0
  748. package/lib/shared/operation-errors.d.ts +18 -0
  749. package/lib/shared/operation-errors.js +18 -0
  750. package/lib/shared/operation-errors.js.map +1 -0
  751. package/lib/shared/proactive/activity.d.ts +152 -0
  752. package/lib/shared/proactive/activity.js +23 -0
  753. package/lib/shared/proactive/activity.js.map +1 -0
  754. package/lib/shared/proactive/document.d.ts +31 -0
  755. package/lib/shared/proactive/document.js +17 -0
  756. package/lib/shared/proactive/document.js.map +1 -0
  757. package/lib/shared/proactive/feedback.d.ts +2315 -0
  758. package/lib/shared/proactive/feedback.js +177 -0
  759. package/lib/shared/proactive/feedback.js.map +1 -0
  760. package/lib/shared/proactive/follow-up.d.ts +1241 -0
  761. package/lib/shared/proactive/follow-up.js +178 -0
  762. package/lib/shared/proactive/follow-up.js.map +1 -0
  763. package/lib/shared/proactive/governance.d.ts +147 -0
  764. package/lib/shared/proactive/governance.js +92 -0
  765. package/lib/shared/proactive/governance.js.map +1 -0
  766. package/lib/shared/proactive/group-follow-up.d.ts +228 -0
  767. package/lib/shared/proactive/group-follow-up.js +24 -0
  768. package/lib/shared/proactive/group-follow-up.js.map +1 -0
  769. package/lib/shared/proactive/group-repair.d.ts +185 -0
  770. package/lib/shared/proactive/group-repair.js +95 -0
  771. package/lib/shared/proactive/group-repair.js.map +1 -0
  772. package/lib/shared/proactive/handoff.d.ts +17 -0
  773. package/lib/shared/proactive/handoff.js +15 -0
  774. package/lib/shared/proactive/handoff.js.map +1 -0
  775. package/lib/shared/proactive/method-evaluation.d.ts +187 -0
  776. package/lib/shared/proactive/method-evaluation.js +46 -0
  777. package/lib/shared/proactive/method-evaluation.js.map +1 -0
  778. package/lib/shared/proactive/method-package.d.ts +131 -0
  779. package/lib/shared/proactive/method-package.js +28 -0
  780. package/lib/shared/proactive/method-package.js.map +1 -0
  781. package/lib/shared/proactive/notices.d.ts +126 -0
  782. package/lib/shared/proactive/notices.js +64 -0
  783. package/lib/shared/proactive/notices.js.map +1 -0
  784. package/lib/shared/proactive/outcomes.d.ts +23 -0
  785. package/lib/shared/proactive/outcomes.js +41 -0
  786. package/lib/shared/proactive/outcomes.js.map +1 -0
  787. package/lib/shared/proactive/protocol.d.ts +12730 -0
  788. package/lib/shared/proactive/protocol.js +688 -0
  789. package/lib/shared/proactive/protocol.js.map +1 -0
  790. package/lib/shared/proactive/remote-contract.d.ts +30326 -0
  791. package/lib/shared/proactive/remote-contract.js +248 -0
  792. package/lib/shared/proactive/remote-contract.js.map +1 -0
  793. package/lib/shared/proactive/repair.d.ts +65 -0
  794. package/lib/shared/proactive/repair.js +55 -0
  795. package/lib/shared/proactive/repair.js.map +1 -0
  796. package/lib/shared/proactive/responsibility.d.ts +1085 -0
  797. package/lib/shared/proactive/responsibility.js +222 -0
  798. package/lib/shared/proactive/responsibility.js.map +1 -0
  799. package/lib/shared/proactive/setup.d.ts +250 -0
  800. package/lib/shared/proactive/setup.js +26 -0
  801. package/lib/shared/proactive/setup.js.map +1 -0
  802. package/lib/shared/proactive/work-progress.d.ts +14 -0
  803. package/lib/shared/proactive/work-progress.js +22 -0
  804. package/lib/shared/proactive/work-progress.js.map +1 -0
  805. package/lib/shared/proactive/work.d.ts +2887 -0
  806. package/lib/shared/proactive/work.js +250 -0
  807. package/lib/shared/proactive/work.js.map +1 -0
  808. package/lib/shared/proactive/workspace-repair.d.ts +283 -0
  809. package/lib/shared/proactive/workspace-repair.js +195 -0
  810. package/lib/shared/proactive/workspace-repair.js.map +1 -0
  811. package/lib/shared/reference-memory.d.ts +517 -0
  812. package/lib/shared/reference-memory.js +188 -0
  813. package/lib/shared/reference-memory.js.map +1 -0
  814. package/lib/shared/remote-contract.d.ts +5109 -0
  815. package/lib/shared/remote-contract.js +213 -0
  816. package/lib/shared/remote-contract.js.map +1 -0
  817. package/lib/shared/routine-outcomes.d.ts +20 -0
  818. package/lib/shared/routine-outcomes.js +9 -0
  819. package/lib/shared/routine-outcomes.js.map +1 -0
  820. package/lib/shared/schema.d.ts +785 -0
  821. package/lib/shared/schema.js +203 -0
  822. package/lib/shared/schema.js.map +1 -0
  823. package/lib/shared/secrets.d.ts +2 -0
  824. package/lib/shared/secrets.js +15 -0
  825. package/lib/shared/secrets.js.map +1 -0
  826. package/lib/shared/shadow.d.ts +12 -0
  827. package/lib/shared/shadow.js +8 -0
  828. package/lib/shared/shadow.js.map +1 -0
  829. package/lib/shared/supergroup-contract.d.ts +7119 -0
  830. package/lib/shared/supergroup-contract.js +26 -0
  831. package/lib/shared/supergroup-contract.js.map +1 -0
  832. package/lib/shared/supergroup.d.ts +1441 -0
  833. package/lib/shared/supergroup.js +56 -0
  834. package/lib/shared/supergroup.js.map +1 -0
  835. package/lib/shared/task-materials.d.ts +166 -0
  836. package/lib/shared/task-materials.js +40 -0
  837. package/lib/shared/task-materials.js.map +1 -0
  838. package/lib/shared/team-recipes.d.ts +109 -0
  839. package/lib/shared/team-recipes.js +25 -0
  840. package/lib/shared/team-recipes.js.map +1 -0
  841. package/lib/shared/version.d.ts +1 -0
  842. package/lib/shared/version.js +3 -0
  843. package/lib/shared/version.js.map +1 -0
  844. package/lib/shared/workspace-contract.d.ts +2284 -0
  845. package/lib/shared/workspace-contract.js +37 -0
  846. package/lib/shared/workspace-contract.js.map +1 -0
  847. package/lib/shared/workspace.d.ts +496 -0
  848. package/lib/shared/workspace.js +120 -0
  849. package/lib/shared/workspace.js.map +1 -0
  850. package/lib/typert.host.d.ts +12 -0
  851. package/lib/typert.host.js +13 -0
  852. package/lib/typert.host.js.map +1 -0
  853. package/lib/typert.remote-client.d.ts +4 -0
  854. package/lib/typert.remote-client.js +9 -0
  855. package/lib/typert.remote-client.js.map +1 -0
  856. package/locale/en.json +1876 -0
  857. package/locale/zh.json +1876 -0
  858. package/package.json +177 -3
@@ -0,0 +1,1336 @@
1
+ import type { MethodRunReceipt } from "../../shared/proactive/method-evaluation.js";
2
+ import type { ExportMethodRequest, ImportMethodRequest } from "../../shared/proactive/method-package.js";
3
+ import type { DshBotRegistry } from "../registry.js";
4
+ import type { Capabilities } from "../capabilities/service.js";
5
+ import { type BotKey } from "../../shared/identity.js";
6
+ import { FeedbackApplications } from "./feedback.js";
7
+ import { type FeedbackCandidate, type FeedbackContext, type FeedbackWorkflowAction } from "../../shared/proactive/feedback.js";
8
+ import type { CommandBody, ProactiveStatus, Reply, Suggestion } from "../../shared/proactive/protocol.js";
9
+ import type { ProactiveWork } from "../../shared/proactive/work.js";
10
+ import type { SuggestionActionReply } from "../../shared/proactive/remote-contract.js";
11
+ export type FeedbackRead = {
12
+ kind: "receipt";
13
+ commandId: string;
14
+ } | {
15
+ kind: "checkpoint";
16
+ sourceId: string;
17
+ } | {
18
+ kind: "feedback-overview";
19
+ cursor?: string;
20
+ } | {
21
+ kind: "feedback-candidate";
22
+ id: string;
23
+ } | {
24
+ kind: "feedback-history";
25
+ id: string;
26
+ afterRevision?: number;
27
+ };
28
+ export interface FeedbackWorkflowPort {
29
+ feedbackRead(input: FeedbackRead): Promise<Reply>;
30
+ change(commandId: string, input: CommandBody): Promise<SuggestionActionReply>;
31
+ workList(): Promise<ProactiveWork[]>;
32
+ suggestions(owner?: BotKey, includeFiltered?: boolean): Promise<Suggestion[]>;
33
+ status(): Promise<ProactiveStatus>;
34
+ runMethodEvaluation?(candidate: FeedbackCandidate): Promise<MethodRunReceipt[]>;
35
+ }
36
+ /** Owner Remote adapter; candidate facts and adoption claims remain core-owned. */
37
+ export declare class FeedbackWorkflow {
38
+ #private;
39
+ private readonly registry;
40
+ private readonly capabilities;
41
+ private readonly port;
42
+ constructor(registry: DshBotRegistry, capabilities: Pick<Capabilities, "request">, port: FeedbackWorkflowPort, rework: ConstructorParameters<typeof FeedbackApplications>[2]);
43
+ exportMethod(input: ExportMethodRequest): Promise<{
44
+ manifest: {
45
+ format: "dsh-bot-method/v1";
46
+ name: string;
47
+ content: string;
48
+ parentHash: string | null;
49
+ contract: {
50
+ input: string;
51
+ output: string;
52
+ scope: string;
53
+ forbidden: string;
54
+ };
55
+ dependencies: [{
56
+ name: "dsh";
57
+ version: "0.2.1-rc.2";
58
+ }];
59
+ examples: {
60
+ input: string;
61
+ expected: string;
62
+ }[];
63
+ evaluation: "unverified";
64
+ publicContentConfirmed: true;
65
+ reportedEvidence?: {
66
+ judge: "exact-json-v1";
67
+ planDigest: string;
68
+ outcome: "inconclusive" | "improved" | "no-benefit";
69
+ model: string;
70
+ runDigests: string[];
71
+ } | undefined;
72
+ };
73
+ digest: string;
74
+ }>;
75
+ importMethod(input: ImportMethodRequest): Promise<{
76
+ kind: "receipt";
77
+ receipt: {
78
+ scope: "core";
79
+ status: "committed" | "duplicate";
80
+ commandId: string;
81
+ receiptId: string;
82
+ committedSeq: number;
83
+ stored: number;
84
+ };
85
+ } | {
86
+ kind: "unknown";
87
+ commandId: string;
88
+ } | {
89
+ kind: "rejected";
90
+ code: "unsupported" | "stale" | "forbidden" | "conflict" | "invalid";
91
+ }>;
92
+ overview(cursor?: string): Promise<{
93
+ candidates: {
94
+ id: string;
95
+ revision: number;
96
+ createdAt: number;
97
+ datasetDigests: string[];
98
+ proposal: {
99
+ kind: "rework";
100
+ reason: string;
101
+ ticketId: string;
102
+ expectedWorkRevision: number;
103
+ origin: {
104
+ bot: {
105
+ botId: string;
106
+ botCreatedAt: number;
107
+ };
108
+ taskId: string;
109
+ evidenceDigest: string;
110
+ trace?: {
111
+ assignmentId: string;
112
+ generation: number;
113
+ provider: string;
114
+ model: string;
115
+ turnIds: string[];
116
+ deliveryIds: string[];
117
+ sessionId?: string | undefined;
118
+ groupDigest?: string | undefined;
119
+ membershipRevision?: number | undefined;
120
+ modelRevision?: number | undefined;
121
+ artifactDigest?: string | undefined;
122
+ } | undefined;
123
+ source?: {
124
+ id: string;
125
+ generation: number;
126
+ } | undefined;
127
+ };
128
+ attribution?: {
129
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
130
+ basis: "owner-hypothesis";
131
+ problem: string;
132
+ reproducer: string;
133
+ scope: string;
134
+ counterexample: string;
135
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
136
+ } | undefined;
137
+ } | {
138
+ kind: "false-positive";
139
+ change: {
140
+ sourceId: string;
141
+ sourceGeneration: number;
142
+ job: string;
143
+ attempt: number;
144
+ mode: "suppress";
145
+ };
146
+ origin: {
147
+ bot: {
148
+ botId: string;
149
+ botCreatedAt: number;
150
+ };
151
+ taskId: string;
152
+ evidenceDigest: string;
153
+ trace?: {
154
+ assignmentId: string;
155
+ generation: number;
156
+ provider: string;
157
+ model: string;
158
+ turnIds: string[];
159
+ deliveryIds: string[];
160
+ sessionId?: string | undefined;
161
+ groupDigest?: string | undefined;
162
+ membershipRevision?: number | undefined;
163
+ modelRevision?: number | undefined;
164
+ artifactDigest?: string | undefined;
165
+ } | undefined;
166
+ source?: {
167
+ id: string;
168
+ generation: number;
169
+ } | undefined;
170
+ };
171
+ reason: string;
172
+ attribution?: {
173
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
174
+ basis: "owner-hypothesis";
175
+ problem: string;
176
+ reproducer: string;
177
+ scope: string;
178
+ counterexample: string;
179
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
180
+ } | undefined;
181
+ } | {
182
+ kind: "false-negative";
183
+ change: {
184
+ sourceId: string;
185
+ sourceGeneration: number;
186
+ job: string;
187
+ attempt: number;
188
+ mode: "include";
189
+ };
190
+ origin: {
191
+ bot: {
192
+ botId: string;
193
+ botCreatedAt: number;
194
+ };
195
+ taskId: string;
196
+ evidenceDigest: string;
197
+ trace?: {
198
+ assignmentId: string;
199
+ generation: number;
200
+ provider: string;
201
+ model: string;
202
+ turnIds: string[];
203
+ deliveryIds: string[];
204
+ sessionId?: string | undefined;
205
+ groupDigest?: string | undefined;
206
+ membershipRevision?: number | undefined;
207
+ modelRevision?: number | undefined;
208
+ artifactDigest?: string | undefined;
209
+ } | undefined;
210
+ source?: {
211
+ id: string;
212
+ generation: number;
213
+ } | undefined;
214
+ };
215
+ reason: string;
216
+ attribution?: {
217
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
218
+ basis: "owner-hypothesis";
219
+ problem: string;
220
+ reproducer: string;
221
+ scope: string;
222
+ counterexample: string;
223
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
224
+ } | undefined;
225
+ } | {
226
+ kind: "attention";
227
+ change: {
228
+ sourceId: string;
229
+ sourceGeneration: number;
230
+ job: string;
231
+ attempt: number;
232
+ mode: "mute";
233
+ };
234
+ origin: {
235
+ bot: {
236
+ botId: string;
237
+ botCreatedAt: number;
238
+ };
239
+ taskId: string;
240
+ evidenceDigest: string;
241
+ trace?: {
242
+ assignmentId: string;
243
+ generation: number;
244
+ provider: string;
245
+ model: string;
246
+ turnIds: string[];
247
+ deliveryIds: string[];
248
+ sessionId?: string | undefined;
249
+ groupDigest?: string | undefined;
250
+ membershipRevision?: number | undefined;
251
+ modelRevision?: number | undefined;
252
+ artifactDigest?: string | undefined;
253
+ } | undefined;
254
+ source?: {
255
+ id: string;
256
+ generation: number;
257
+ } | undefined;
258
+ };
259
+ reason: string;
260
+ attribution?: {
261
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
262
+ basis: "owner-hypothesis";
263
+ problem: string;
264
+ reproducer: string;
265
+ scope: string;
266
+ counterexample: string;
267
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
268
+ } | undefined;
269
+ } | {
270
+ kind: "preference";
271
+ content: string;
272
+ origin: {
273
+ bot: {
274
+ botId: string;
275
+ botCreatedAt: number;
276
+ };
277
+ taskId: string;
278
+ evidenceDigest: string;
279
+ trace?: {
280
+ assignmentId: string;
281
+ generation: number;
282
+ provider: string;
283
+ model: string;
284
+ turnIds: string[];
285
+ deliveryIds: string[];
286
+ sessionId?: string | undefined;
287
+ groupDigest?: string | undefined;
288
+ membershipRevision?: number | undefined;
289
+ modelRevision?: number | undefined;
290
+ artifactDigest?: string | undefined;
291
+ } | undefined;
292
+ source?: {
293
+ id: string;
294
+ generation: number;
295
+ } | undefined;
296
+ };
297
+ reason: string;
298
+ attribution?: {
299
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
300
+ basis: "owner-hypothesis";
301
+ problem: string;
302
+ reproducer: string;
303
+ scope: string;
304
+ counterexample: string;
305
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
306
+ } | undefined;
307
+ } | {
308
+ kind: "skill";
309
+ name: string;
310
+ before: string | null;
311
+ beforeHash: string | null;
312
+ content: string;
313
+ origin: {
314
+ bot: {
315
+ botId: string;
316
+ botCreatedAt: number;
317
+ };
318
+ taskId: string;
319
+ evidenceDigest: string;
320
+ trace?: {
321
+ assignmentId: string;
322
+ generation: number;
323
+ provider: string;
324
+ model: string;
325
+ turnIds: string[];
326
+ deliveryIds: string[];
327
+ sessionId?: string | undefined;
328
+ groupDigest?: string | undefined;
329
+ membershipRevision?: number | undefined;
330
+ modelRevision?: number | undefined;
331
+ artifactDigest?: string | undefined;
332
+ } | undefined;
333
+ source?: {
334
+ id: string;
335
+ generation: number;
336
+ } | undefined;
337
+ };
338
+ reason: string;
339
+ importedMethod?: {
340
+ format: "dsh-bot-method/v1";
341
+ contract: {
342
+ input: string;
343
+ output: string;
344
+ scope: string;
345
+ forbidden: string;
346
+ };
347
+ dependencies: [{
348
+ name: "dsh";
349
+ version: "0.2.1-rc.2";
350
+ }];
351
+ examples: {
352
+ input: string;
353
+ expected: string;
354
+ }[];
355
+ evaluation: "unverified";
356
+ publicContentConfirmed: true;
357
+ packageDigest: string;
358
+ reportedEvidence?: {
359
+ judge: "exact-json-v1";
360
+ planDigest: string;
361
+ outcome: "inconclusive" | "improved" | "no-benefit";
362
+ model: string;
363
+ runDigests: string[];
364
+ } | undefined;
365
+ } | undefined;
366
+ attribution?: {
367
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
368
+ basis: "owner-hypothesis";
369
+ problem: string;
370
+ reproducer: string;
371
+ scope: string;
372
+ counterexample: string;
373
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
374
+ } | undefined;
375
+ } | {
376
+ kind: "permission";
377
+ setting: "model" | "tools" | "proactive" | "notifications" | "workspace";
378
+ origin: {
379
+ bot: {
380
+ botId: string;
381
+ botCreatedAt: number;
382
+ };
383
+ taskId: string;
384
+ evidenceDigest: string;
385
+ trace?: {
386
+ assignmentId: string;
387
+ generation: number;
388
+ provider: string;
389
+ model: string;
390
+ turnIds: string[];
391
+ deliveryIds: string[];
392
+ sessionId?: string | undefined;
393
+ groupDigest?: string | undefined;
394
+ membershipRevision?: number | undefined;
395
+ modelRevision?: number | undefined;
396
+ artifactDigest?: string | undefined;
397
+ } | undefined;
398
+ source?: {
399
+ id: string;
400
+ generation: number;
401
+ } | undefined;
402
+ };
403
+ reason: string;
404
+ attribution?: {
405
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
406
+ basis: "owner-hypothesis";
407
+ problem: string;
408
+ reproducer: string;
409
+ scope: string;
410
+ counterexample: string;
411
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
412
+ } | undefined;
413
+ };
414
+ proposalDigest: string;
415
+ state: "unknown" | "candidate" | "revoked" | "rejected" | "eligible" | "adopted" | "applying" | "revoking";
416
+ methodEvaluation?: {
417
+ plan: {
418
+ version: 1;
419
+ judge: "exact-json-v1";
420
+ provider: string;
421
+ model: string;
422
+ maxCalls: number;
423
+ maxTokensPerCall: number;
424
+ cases: {
425
+ id: string;
426
+ split: "development" | "validation" | "final";
427
+ scenario: "personal" | "background" | "handoff";
428
+ input: string;
429
+ expected: Record<string, string | number | boolean | null>;
430
+ }[];
431
+ };
432
+ digest: string;
433
+ candidateHash: string;
434
+ parentHash: string | null;
435
+ registeredAt: number;
436
+ state: "unknown" | "running" | "completed" | "registered";
437
+ receipts: {
438
+ caseId: string;
439
+ arm: "parent" | "candidate" | "noop" | "negative";
440
+ ticketId: string;
441
+ assignmentId: string;
442
+ state: "completed" | "inconclusive";
443
+ passed?: boolean | undefined;
444
+ evidenceDigest?: string | undefined;
445
+ method?: {
446
+ planDigest: string;
447
+ caseId: string;
448
+ arm: "parent" | "candidate" | "noop" | "negative";
449
+ name: string;
450
+ methodHash: string;
451
+ inputHash: string;
452
+ loadedBodyHash: string;
453
+ requestHash: string;
454
+ contextHash: string;
455
+ tools: "none";
456
+ permission: "read-only-no-egress";
457
+ } | undefined;
458
+ }[];
459
+ operationId?: string | undefined;
460
+ outcome?: "inconclusive" | "improved" | "no-benefit" | undefined;
461
+ } | undefined;
462
+ failureKey?: string | undefined;
463
+ evaluation?: {
464
+ datasetId: string;
465
+ datasetVersion: number;
466
+ digest: string;
467
+ maxAddedMisses: number;
468
+ evaluatedAt: number;
469
+ batches: {
470
+ id: string;
471
+ samples: number;
472
+ disputed: number;
473
+ beforeFalsePositives: number;
474
+ afterFalsePositives: number;
475
+ beforeMissed: number;
476
+ afterMissed: number;
477
+ beforeUnwantedNotices: number;
478
+ afterUnwantedNotices: number;
479
+ beforeMissedNotices: number;
480
+ afterMissedNotices: number;
481
+ }[];
482
+ passed: boolean;
483
+ } | undefined;
484
+ application?: {
485
+ kind: "memory";
486
+ memoryId: string;
487
+ versionId: string;
488
+ } | {
489
+ kind: "skill";
490
+ hash: string | null;
491
+ } | {
492
+ kind: "rework";
493
+ ticketId: string;
494
+ assignmentId: string;
495
+ } | undefined;
496
+ operationId?: string | undefined;
497
+ unknownAction?: "revoke" | "adopt" | undefined;
498
+ bodyPurgedAt?: number | undefined;
499
+ }[];
500
+ datasets: {
501
+ id: string;
502
+ version: number;
503
+ owner: {
504
+ botId: string;
505
+ botCreatedAt: number;
506
+ };
507
+ digest: string;
508
+ frozenAt: number;
509
+ samples: number;
510
+ disputed: number;
511
+ exceptions: number;
512
+ }[];
513
+ nextCursor?: string | undefined;
514
+ }>;
515
+ candidate(id: string): Promise<{
516
+ id: string;
517
+ revision: number;
518
+ createdAt: number;
519
+ datasetDigests: string[];
520
+ proposal: {
521
+ kind: "rework";
522
+ reason: string;
523
+ ticketId: string;
524
+ expectedWorkRevision: number;
525
+ origin: {
526
+ bot: {
527
+ botId: string;
528
+ botCreatedAt: number;
529
+ };
530
+ taskId: string;
531
+ evidenceDigest: string;
532
+ trace?: {
533
+ assignmentId: string;
534
+ generation: number;
535
+ provider: string;
536
+ model: string;
537
+ turnIds: string[];
538
+ deliveryIds: string[];
539
+ sessionId?: string | undefined;
540
+ groupDigest?: string | undefined;
541
+ membershipRevision?: number | undefined;
542
+ modelRevision?: number | undefined;
543
+ artifactDigest?: string | undefined;
544
+ } | undefined;
545
+ source?: {
546
+ id: string;
547
+ generation: number;
548
+ } | undefined;
549
+ };
550
+ attribution?: {
551
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
552
+ basis: "owner-hypothesis";
553
+ problem: string;
554
+ reproducer: string;
555
+ scope: string;
556
+ counterexample: string;
557
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
558
+ } | undefined;
559
+ } | {
560
+ kind: "false-positive";
561
+ change: {
562
+ sourceId: string;
563
+ sourceGeneration: number;
564
+ job: string;
565
+ attempt: number;
566
+ mode: "suppress";
567
+ };
568
+ origin: {
569
+ bot: {
570
+ botId: string;
571
+ botCreatedAt: number;
572
+ };
573
+ taskId: string;
574
+ evidenceDigest: string;
575
+ trace?: {
576
+ assignmentId: string;
577
+ generation: number;
578
+ provider: string;
579
+ model: string;
580
+ turnIds: string[];
581
+ deliveryIds: string[];
582
+ sessionId?: string | undefined;
583
+ groupDigest?: string | undefined;
584
+ membershipRevision?: number | undefined;
585
+ modelRevision?: number | undefined;
586
+ artifactDigest?: string | undefined;
587
+ } | undefined;
588
+ source?: {
589
+ id: string;
590
+ generation: number;
591
+ } | undefined;
592
+ };
593
+ reason: string;
594
+ attribution?: {
595
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
596
+ basis: "owner-hypothesis";
597
+ problem: string;
598
+ reproducer: string;
599
+ scope: string;
600
+ counterexample: string;
601
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
602
+ } | undefined;
603
+ } | {
604
+ kind: "false-negative";
605
+ change: {
606
+ sourceId: string;
607
+ sourceGeneration: number;
608
+ job: string;
609
+ attempt: number;
610
+ mode: "include";
611
+ };
612
+ origin: {
613
+ bot: {
614
+ botId: string;
615
+ botCreatedAt: number;
616
+ };
617
+ taskId: string;
618
+ evidenceDigest: string;
619
+ trace?: {
620
+ assignmentId: string;
621
+ generation: number;
622
+ provider: string;
623
+ model: string;
624
+ turnIds: string[];
625
+ deliveryIds: string[];
626
+ sessionId?: string | undefined;
627
+ groupDigest?: string | undefined;
628
+ membershipRevision?: number | undefined;
629
+ modelRevision?: number | undefined;
630
+ artifactDigest?: string | undefined;
631
+ } | undefined;
632
+ source?: {
633
+ id: string;
634
+ generation: number;
635
+ } | undefined;
636
+ };
637
+ reason: string;
638
+ attribution?: {
639
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
640
+ basis: "owner-hypothesis";
641
+ problem: string;
642
+ reproducer: string;
643
+ scope: string;
644
+ counterexample: string;
645
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
646
+ } | undefined;
647
+ } | {
648
+ kind: "attention";
649
+ change: {
650
+ sourceId: string;
651
+ sourceGeneration: number;
652
+ job: string;
653
+ attempt: number;
654
+ mode: "mute";
655
+ };
656
+ origin: {
657
+ bot: {
658
+ botId: string;
659
+ botCreatedAt: number;
660
+ };
661
+ taskId: string;
662
+ evidenceDigest: string;
663
+ trace?: {
664
+ assignmentId: string;
665
+ generation: number;
666
+ provider: string;
667
+ model: string;
668
+ turnIds: string[];
669
+ deliveryIds: string[];
670
+ sessionId?: string | undefined;
671
+ groupDigest?: string | undefined;
672
+ membershipRevision?: number | undefined;
673
+ modelRevision?: number | undefined;
674
+ artifactDigest?: string | undefined;
675
+ } | undefined;
676
+ source?: {
677
+ id: string;
678
+ generation: number;
679
+ } | undefined;
680
+ };
681
+ reason: string;
682
+ attribution?: {
683
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
684
+ basis: "owner-hypothesis";
685
+ problem: string;
686
+ reproducer: string;
687
+ scope: string;
688
+ counterexample: string;
689
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
690
+ } | undefined;
691
+ } | {
692
+ kind: "preference";
693
+ content: string;
694
+ origin: {
695
+ bot: {
696
+ botId: string;
697
+ botCreatedAt: number;
698
+ };
699
+ taskId: string;
700
+ evidenceDigest: string;
701
+ trace?: {
702
+ assignmentId: string;
703
+ generation: number;
704
+ provider: string;
705
+ model: string;
706
+ turnIds: string[];
707
+ deliveryIds: string[];
708
+ sessionId?: string | undefined;
709
+ groupDigest?: string | undefined;
710
+ membershipRevision?: number | undefined;
711
+ modelRevision?: number | undefined;
712
+ artifactDigest?: string | undefined;
713
+ } | undefined;
714
+ source?: {
715
+ id: string;
716
+ generation: number;
717
+ } | undefined;
718
+ };
719
+ reason: string;
720
+ attribution?: {
721
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
722
+ basis: "owner-hypothesis";
723
+ problem: string;
724
+ reproducer: string;
725
+ scope: string;
726
+ counterexample: string;
727
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
728
+ } | undefined;
729
+ } | {
730
+ kind: "skill";
731
+ name: string;
732
+ before: string | null;
733
+ beforeHash: string | null;
734
+ content: string;
735
+ origin: {
736
+ bot: {
737
+ botId: string;
738
+ botCreatedAt: number;
739
+ };
740
+ taskId: string;
741
+ evidenceDigest: string;
742
+ trace?: {
743
+ assignmentId: string;
744
+ generation: number;
745
+ provider: string;
746
+ model: string;
747
+ turnIds: string[];
748
+ deliveryIds: string[];
749
+ sessionId?: string | undefined;
750
+ groupDigest?: string | undefined;
751
+ membershipRevision?: number | undefined;
752
+ modelRevision?: number | undefined;
753
+ artifactDigest?: string | undefined;
754
+ } | undefined;
755
+ source?: {
756
+ id: string;
757
+ generation: number;
758
+ } | undefined;
759
+ };
760
+ reason: string;
761
+ importedMethod?: {
762
+ format: "dsh-bot-method/v1";
763
+ contract: {
764
+ input: string;
765
+ output: string;
766
+ scope: string;
767
+ forbidden: string;
768
+ };
769
+ dependencies: [{
770
+ name: "dsh";
771
+ version: "0.2.1-rc.2";
772
+ }];
773
+ examples: {
774
+ input: string;
775
+ expected: string;
776
+ }[];
777
+ evaluation: "unverified";
778
+ publicContentConfirmed: true;
779
+ packageDigest: string;
780
+ reportedEvidence?: {
781
+ judge: "exact-json-v1";
782
+ planDigest: string;
783
+ outcome: "inconclusive" | "improved" | "no-benefit";
784
+ model: string;
785
+ runDigests: string[];
786
+ } | undefined;
787
+ } | undefined;
788
+ attribution?: {
789
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
790
+ basis: "owner-hypothesis";
791
+ problem: string;
792
+ reproducer: string;
793
+ scope: string;
794
+ counterexample: string;
795
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
796
+ } | undefined;
797
+ } | {
798
+ kind: "permission";
799
+ setting: "model" | "tools" | "proactive" | "notifications" | "workspace";
800
+ origin: {
801
+ bot: {
802
+ botId: string;
803
+ botCreatedAt: number;
804
+ };
805
+ taskId: string;
806
+ evidenceDigest: string;
807
+ trace?: {
808
+ assignmentId: string;
809
+ generation: number;
810
+ provider: string;
811
+ model: string;
812
+ turnIds: string[];
813
+ deliveryIds: string[];
814
+ sessionId?: string | undefined;
815
+ groupDigest?: string | undefined;
816
+ membershipRevision?: number | undefined;
817
+ modelRevision?: number | undefined;
818
+ artifactDigest?: string | undefined;
819
+ } | undefined;
820
+ source?: {
821
+ id: string;
822
+ generation: number;
823
+ } | undefined;
824
+ };
825
+ reason: string;
826
+ attribution?: {
827
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
828
+ basis: "owner-hypothesis";
829
+ problem: string;
830
+ reproducer: string;
831
+ scope: string;
832
+ counterexample: string;
833
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
834
+ } | undefined;
835
+ };
836
+ proposalDigest: string;
837
+ state: "unknown" | "candidate" | "revoked" | "rejected" | "eligible" | "adopted" | "applying" | "revoking";
838
+ methodEvaluation?: {
839
+ plan: {
840
+ version: 1;
841
+ judge: "exact-json-v1";
842
+ provider: string;
843
+ model: string;
844
+ maxCalls: number;
845
+ maxTokensPerCall: number;
846
+ cases: {
847
+ id: string;
848
+ split: "development" | "validation" | "final";
849
+ scenario: "personal" | "background" | "handoff";
850
+ input: string;
851
+ expected: Record<string, string | number | boolean | null>;
852
+ }[];
853
+ };
854
+ digest: string;
855
+ candidateHash: string;
856
+ parentHash: string | null;
857
+ registeredAt: number;
858
+ state: "unknown" | "running" | "completed" | "registered";
859
+ receipts: {
860
+ caseId: string;
861
+ arm: "parent" | "candidate" | "noop" | "negative";
862
+ ticketId: string;
863
+ assignmentId: string;
864
+ state: "completed" | "inconclusive";
865
+ passed?: boolean | undefined;
866
+ evidenceDigest?: string | undefined;
867
+ method?: {
868
+ planDigest: string;
869
+ caseId: string;
870
+ arm: "parent" | "candidate" | "noop" | "negative";
871
+ name: string;
872
+ methodHash: string;
873
+ inputHash: string;
874
+ loadedBodyHash: string;
875
+ requestHash: string;
876
+ contextHash: string;
877
+ tools: "none";
878
+ permission: "read-only-no-egress";
879
+ } | undefined;
880
+ }[];
881
+ operationId?: string | undefined;
882
+ outcome?: "inconclusive" | "improved" | "no-benefit" | undefined;
883
+ } | undefined;
884
+ failureKey?: string | undefined;
885
+ evaluation?: {
886
+ datasetId: string;
887
+ datasetVersion: number;
888
+ digest: string;
889
+ maxAddedMisses: number;
890
+ evaluatedAt: number;
891
+ batches: {
892
+ id: string;
893
+ samples: number;
894
+ disputed: number;
895
+ beforeFalsePositives: number;
896
+ afterFalsePositives: number;
897
+ beforeMissed: number;
898
+ afterMissed: number;
899
+ beforeUnwantedNotices: number;
900
+ afterUnwantedNotices: number;
901
+ beforeMissedNotices: number;
902
+ afterMissedNotices: number;
903
+ }[];
904
+ passed: boolean;
905
+ } | undefined;
906
+ application?: {
907
+ kind: "memory";
908
+ memoryId: string;
909
+ versionId: string;
910
+ } | {
911
+ kind: "skill";
912
+ hash: string | null;
913
+ } | {
914
+ kind: "rework";
915
+ ticketId: string;
916
+ assignmentId: string;
917
+ } | undefined;
918
+ operationId?: string | undefined;
919
+ unknownAction?: "revoke" | "adopt" | undefined;
920
+ bodyPurgedAt?: number | undefined;
921
+ } | null>;
922
+ history(id: string, afterRevision?: number): Promise<{
923
+ rows: {
924
+ id: string;
925
+ revision: number;
926
+ createdAt: number;
927
+ datasetDigests: string[];
928
+ proposal: {
929
+ kind: "rework";
930
+ reason: string;
931
+ ticketId: string;
932
+ expectedWorkRevision: number;
933
+ origin: {
934
+ bot: {
935
+ botId: string;
936
+ botCreatedAt: number;
937
+ };
938
+ taskId: string;
939
+ evidenceDigest: string;
940
+ trace?: {
941
+ assignmentId: string;
942
+ generation: number;
943
+ provider: string;
944
+ model: string;
945
+ turnIds: string[];
946
+ deliveryIds: string[];
947
+ sessionId?: string | undefined;
948
+ groupDigest?: string | undefined;
949
+ membershipRevision?: number | undefined;
950
+ modelRevision?: number | undefined;
951
+ artifactDigest?: string | undefined;
952
+ } | undefined;
953
+ source?: {
954
+ id: string;
955
+ generation: number;
956
+ } | undefined;
957
+ };
958
+ attribution?: {
959
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
960
+ basis: "owner-hypothesis";
961
+ problem: string;
962
+ reproducer: string;
963
+ scope: string;
964
+ counterexample: string;
965
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
966
+ } | undefined;
967
+ } | {
968
+ kind: "false-positive";
969
+ change: {
970
+ sourceId: string;
971
+ sourceGeneration: number;
972
+ job: string;
973
+ attempt: number;
974
+ mode: "suppress";
975
+ };
976
+ origin: {
977
+ bot: {
978
+ botId: string;
979
+ botCreatedAt: number;
980
+ };
981
+ taskId: string;
982
+ evidenceDigest: string;
983
+ trace?: {
984
+ assignmentId: string;
985
+ generation: number;
986
+ provider: string;
987
+ model: string;
988
+ turnIds: string[];
989
+ deliveryIds: string[];
990
+ sessionId?: string | undefined;
991
+ groupDigest?: string | undefined;
992
+ membershipRevision?: number | undefined;
993
+ modelRevision?: number | undefined;
994
+ artifactDigest?: string | undefined;
995
+ } | undefined;
996
+ source?: {
997
+ id: string;
998
+ generation: number;
999
+ } | undefined;
1000
+ };
1001
+ reason: string;
1002
+ attribution?: {
1003
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
1004
+ basis: "owner-hypothesis";
1005
+ problem: string;
1006
+ reproducer: string;
1007
+ scope: string;
1008
+ counterexample: string;
1009
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
1010
+ } | undefined;
1011
+ } | {
1012
+ kind: "false-negative";
1013
+ change: {
1014
+ sourceId: string;
1015
+ sourceGeneration: number;
1016
+ job: string;
1017
+ attempt: number;
1018
+ mode: "include";
1019
+ };
1020
+ origin: {
1021
+ bot: {
1022
+ botId: string;
1023
+ botCreatedAt: number;
1024
+ };
1025
+ taskId: string;
1026
+ evidenceDigest: string;
1027
+ trace?: {
1028
+ assignmentId: string;
1029
+ generation: number;
1030
+ provider: string;
1031
+ model: string;
1032
+ turnIds: string[];
1033
+ deliveryIds: string[];
1034
+ sessionId?: string | undefined;
1035
+ groupDigest?: string | undefined;
1036
+ membershipRevision?: number | undefined;
1037
+ modelRevision?: number | undefined;
1038
+ artifactDigest?: string | undefined;
1039
+ } | undefined;
1040
+ source?: {
1041
+ id: string;
1042
+ generation: number;
1043
+ } | undefined;
1044
+ };
1045
+ reason: string;
1046
+ attribution?: {
1047
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
1048
+ basis: "owner-hypothesis";
1049
+ problem: string;
1050
+ reproducer: string;
1051
+ scope: string;
1052
+ counterexample: string;
1053
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
1054
+ } | undefined;
1055
+ } | {
1056
+ kind: "attention";
1057
+ change: {
1058
+ sourceId: string;
1059
+ sourceGeneration: number;
1060
+ job: string;
1061
+ attempt: number;
1062
+ mode: "mute";
1063
+ };
1064
+ origin: {
1065
+ bot: {
1066
+ botId: string;
1067
+ botCreatedAt: number;
1068
+ };
1069
+ taskId: string;
1070
+ evidenceDigest: string;
1071
+ trace?: {
1072
+ assignmentId: string;
1073
+ generation: number;
1074
+ provider: string;
1075
+ model: string;
1076
+ turnIds: string[];
1077
+ deliveryIds: string[];
1078
+ sessionId?: string | undefined;
1079
+ groupDigest?: string | undefined;
1080
+ membershipRevision?: number | undefined;
1081
+ modelRevision?: number | undefined;
1082
+ artifactDigest?: string | undefined;
1083
+ } | undefined;
1084
+ source?: {
1085
+ id: string;
1086
+ generation: number;
1087
+ } | undefined;
1088
+ };
1089
+ reason: string;
1090
+ attribution?: {
1091
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
1092
+ basis: "owner-hypothesis";
1093
+ problem: string;
1094
+ reproducer: string;
1095
+ scope: string;
1096
+ counterexample: string;
1097
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
1098
+ } | undefined;
1099
+ } | {
1100
+ kind: "preference";
1101
+ content: string;
1102
+ origin: {
1103
+ bot: {
1104
+ botId: string;
1105
+ botCreatedAt: number;
1106
+ };
1107
+ taskId: string;
1108
+ evidenceDigest: string;
1109
+ trace?: {
1110
+ assignmentId: string;
1111
+ generation: number;
1112
+ provider: string;
1113
+ model: string;
1114
+ turnIds: string[];
1115
+ deliveryIds: string[];
1116
+ sessionId?: string | undefined;
1117
+ groupDigest?: string | undefined;
1118
+ membershipRevision?: number | undefined;
1119
+ modelRevision?: number | undefined;
1120
+ artifactDigest?: string | undefined;
1121
+ } | undefined;
1122
+ source?: {
1123
+ id: string;
1124
+ generation: number;
1125
+ } | undefined;
1126
+ };
1127
+ reason: string;
1128
+ attribution?: {
1129
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
1130
+ basis: "owner-hypothesis";
1131
+ problem: string;
1132
+ reproducer: string;
1133
+ scope: string;
1134
+ counterexample: string;
1135
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
1136
+ } | undefined;
1137
+ } | {
1138
+ kind: "skill";
1139
+ name: string;
1140
+ before: string | null;
1141
+ beforeHash: string | null;
1142
+ content: string;
1143
+ origin: {
1144
+ bot: {
1145
+ botId: string;
1146
+ botCreatedAt: number;
1147
+ };
1148
+ taskId: string;
1149
+ evidenceDigest: string;
1150
+ trace?: {
1151
+ assignmentId: string;
1152
+ generation: number;
1153
+ provider: string;
1154
+ model: string;
1155
+ turnIds: string[];
1156
+ deliveryIds: string[];
1157
+ sessionId?: string | undefined;
1158
+ groupDigest?: string | undefined;
1159
+ membershipRevision?: number | undefined;
1160
+ modelRevision?: number | undefined;
1161
+ artifactDigest?: string | undefined;
1162
+ } | undefined;
1163
+ source?: {
1164
+ id: string;
1165
+ generation: number;
1166
+ } | undefined;
1167
+ };
1168
+ reason: string;
1169
+ importedMethod?: {
1170
+ format: "dsh-bot-method/v1";
1171
+ contract: {
1172
+ input: string;
1173
+ output: string;
1174
+ scope: string;
1175
+ forbidden: string;
1176
+ };
1177
+ dependencies: [{
1178
+ name: "dsh";
1179
+ version: "0.2.1-rc.2";
1180
+ }];
1181
+ examples: {
1182
+ input: string;
1183
+ expected: string;
1184
+ }[];
1185
+ evaluation: "unverified";
1186
+ publicContentConfirmed: true;
1187
+ packageDigest: string;
1188
+ reportedEvidence?: {
1189
+ judge: "exact-json-v1";
1190
+ planDigest: string;
1191
+ outcome: "inconclusive" | "improved" | "no-benefit";
1192
+ model: string;
1193
+ runDigests: string[];
1194
+ } | undefined;
1195
+ } | undefined;
1196
+ attribution?: {
1197
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
1198
+ basis: "owner-hypothesis";
1199
+ problem: string;
1200
+ reproducer: string;
1201
+ scope: string;
1202
+ counterexample: string;
1203
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
1204
+ } | undefined;
1205
+ } | {
1206
+ kind: "permission";
1207
+ setting: "model" | "tools" | "proactive" | "notifications" | "workspace";
1208
+ origin: {
1209
+ bot: {
1210
+ botId: string;
1211
+ botCreatedAt: number;
1212
+ };
1213
+ taskId: string;
1214
+ evidenceDigest: string;
1215
+ trace?: {
1216
+ assignmentId: string;
1217
+ generation: number;
1218
+ provider: string;
1219
+ model: string;
1220
+ turnIds: string[];
1221
+ deliveryIds: string[];
1222
+ sessionId?: string | undefined;
1223
+ groupDigest?: string | undefined;
1224
+ membershipRevision?: number | undefined;
1225
+ modelRevision?: number | undefined;
1226
+ artifactDigest?: string | undefined;
1227
+ } | undefined;
1228
+ source?: {
1229
+ id: string;
1230
+ generation: number;
1231
+ } | undefined;
1232
+ };
1233
+ reason: string;
1234
+ attribution?: {
1235
+ category: "unknown" | "handoff" | "method" | "preference" | "environment";
1236
+ basis: "owner-hypothesis";
1237
+ problem: string;
1238
+ reproducer: string;
1239
+ scope: string;
1240
+ counterexample: string;
1241
+ confounds: ("human-fix" | "model-change" | "environment-change" | "tool-change")[];
1242
+ } | undefined;
1243
+ };
1244
+ proposalDigest: string;
1245
+ state: "unknown" | "candidate" | "revoked" | "rejected" | "eligible" | "adopted" | "applying" | "revoking";
1246
+ methodEvaluation?: {
1247
+ plan: {
1248
+ version: 1;
1249
+ judge: "exact-json-v1";
1250
+ provider: string;
1251
+ model: string;
1252
+ maxCalls: number;
1253
+ maxTokensPerCall: number;
1254
+ cases: {
1255
+ id: string;
1256
+ split: "development" | "validation" | "final";
1257
+ scenario: "personal" | "background" | "handoff";
1258
+ input: string;
1259
+ expected: Record<string, string | number | boolean | null>;
1260
+ }[];
1261
+ };
1262
+ digest: string;
1263
+ candidateHash: string;
1264
+ parentHash: string | null;
1265
+ registeredAt: number;
1266
+ state: "unknown" | "running" | "completed" | "registered";
1267
+ receipts: {
1268
+ caseId: string;
1269
+ arm: "parent" | "candidate" | "noop" | "negative";
1270
+ ticketId: string;
1271
+ assignmentId: string;
1272
+ state: "completed" | "inconclusive";
1273
+ passed?: boolean | undefined;
1274
+ evidenceDigest?: string | undefined;
1275
+ method?: {
1276
+ planDigest: string;
1277
+ caseId: string;
1278
+ arm: "parent" | "candidate" | "noop" | "negative";
1279
+ name: string;
1280
+ methodHash: string;
1281
+ inputHash: string;
1282
+ loadedBodyHash: string;
1283
+ requestHash: string;
1284
+ contextHash: string;
1285
+ tools: "none";
1286
+ permission: "read-only-no-egress";
1287
+ } | undefined;
1288
+ }[];
1289
+ operationId?: string | undefined;
1290
+ outcome?: "inconclusive" | "improved" | "no-benefit" | undefined;
1291
+ } | undefined;
1292
+ failureKey?: string | undefined;
1293
+ evaluation?: {
1294
+ datasetId: string;
1295
+ datasetVersion: number;
1296
+ digest: string;
1297
+ maxAddedMisses: number;
1298
+ evaluatedAt: number;
1299
+ batches: {
1300
+ id: string;
1301
+ samples: number;
1302
+ disputed: number;
1303
+ beforeFalsePositives: number;
1304
+ afterFalsePositives: number;
1305
+ beforeMissed: number;
1306
+ afterMissed: number;
1307
+ beforeUnwantedNotices: number;
1308
+ afterUnwantedNotices: number;
1309
+ beforeMissedNotices: number;
1310
+ afterMissedNotices: number;
1311
+ }[];
1312
+ passed: boolean;
1313
+ } | undefined;
1314
+ application?: {
1315
+ kind: "memory";
1316
+ memoryId: string;
1317
+ versionId: string;
1318
+ } | {
1319
+ kind: "skill";
1320
+ hash: string | null;
1321
+ } | {
1322
+ kind: "rework";
1323
+ ticketId: string;
1324
+ assignmentId: string;
1325
+ } | undefined;
1326
+ operationId?: string | undefined;
1327
+ unknownAction?: "revoke" | "adopt" | undefined;
1328
+ bodyPurgedAt?: number | undefined;
1329
+ }[];
1330
+ nextRevision?: number | undefined;
1331
+ }>;
1332
+ contexts(owner: BotKey): Promise<FeedbackContext[]>;
1333
+ private validate;
1334
+ change(commandId: string, raw: FeedbackWorkflowAction): Promise<SuggestionActionReply>;
1335
+ close(): Promise<void>;
1336
+ }