dsh-botgroup 0.7.0 → 0.7.1

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 (431) hide show
  1. package/README.en.md +25 -25
  2. package/README.md +25 -25
  3. package/lib/client.js +13516 -12857
  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.d.ts +3 -0
  16. package/lib/host/bot-context.js +56 -9
  17. package/lib/host/bot-context.js.map +1 -1
  18. package/lib/host/capabilities/platform.js +1 -1
  19. package/lib/host/capabilities/remote.js +1 -1
  20. package/lib/host/capabilities/service.js +1 -1
  21. package/lib/host/collaboration/remote.js +1 -1
  22. package/lib/host/collaboration/service.js +1 -1
  23. package/lib/host/common/integration-stores.js +1 -1
  24. package/lib/host/common/native-ambient-source.js +1 -1
  25. package/lib/host/common/operations.js +1 -1
  26. package/lib/host/common/subagent-activation.js +1 -1
  27. package/lib/host/composer.js +1 -1
  28. package/lib/host/connectors/remote.js +1 -1
  29. package/lib/host/connectors/service.js +1 -1
  30. package/lib/host/data-flow/agent-binding.js +1 -1
  31. package/lib/host/data-flow/connector-boundary.js +1 -1
  32. package/lib/host/data-flow/delegation.js +1 -1
  33. package/lib/host/data-flow/egress.d.ts +6 -0
  34. package/lib/host/data-flow/egress.js +32 -2
  35. package/lib/host/data-flow/egress.js.map +1 -1
  36. package/lib/host/data-flow/grants.js +1 -1
  37. package/lib/host/data-flow/graph-capability.js +1 -1
  38. package/lib/host/data-flow/labels.js +3 -2
  39. package/lib/host/data-flow/labels.js.map +1 -1
  40. package/lib/host/data-flow/lineage.js +3 -2
  41. package/lib/host/data-flow/lineage.js.map +1 -1
  42. package/lib/host/data-flow/managed-copies.js +1 -1
  43. package/lib/host/data-flow/native-policy.js +1 -1
  44. package/lib/host/data-flow/outlets.d.ts +66 -1
  45. package/lib/host/data-flow/outlets.js +61 -2
  46. package/lib/host/data-flow/outlets.js.map +1 -1
  47. package/lib/host/data-flow/tool-guard.js +1 -1
  48. package/lib/host/delegate/continuation.js +1 -1
  49. package/lib/host/delegate/guard.js +1 -1
  50. package/lib/host/delegate/tool.js +1 -1
  51. package/lib/host/errors.js +1 -1
  52. package/lib/host/groups/concurrent.js +17 -11
  53. package/lib/host/groups/concurrent.js.map +1 -1
  54. package/lib/host/groups/context-flow.d.ts +28 -0
  55. package/lib/host/groups/context-flow.js +127 -0
  56. package/lib/host/groups/context-flow.js.map +1 -0
  57. package/lib/host/groups/data-flow.d.ts +9 -3
  58. package/lib/host/groups/data-flow.js +75 -18
  59. package/lib/host/groups/data-flow.js.map +1 -1
  60. package/lib/host/groups/export-pending.d.ts +5 -0
  61. package/lib/host/groups/export-pending.js +36 -0
  62. package/lib/host/groups/export-pending.js.map +1 -0
  63. package/lib/host/groups/export-review.d.ts +35 -0
  64. package/lib/host/groups/export-review.js +235 -0
  65. package/lib/host/groups/export-review.js.map +1 -0
  66. package/lib/host/groups/export-settings.d.ts +94 -0
  67. package/lib/host/groups/export-settings.js +78 -0
  68. package/lib/host/groups/export-settings.js.map +1 -0
  69. package/lib/host/groups/failure.js +3 -1
  70. package/lib/host/groups/failure.js.map +1 -1
  71. package/lib/host/groups/members.d.ts +36 -0
  72. package/lib/host/groups/members.js +7 -2
  73. package/lib/host/groups/members.js.map +1 -1
  74. package/lib/host/groups/memory-status.d.ts +7 -0
  75. package/lib/host/groups/memory-status.js +66 -0
  76. package/lib/host/groups/memory-status.js.map +1 -0
  77. package/lib/host/groups/messages.d.ts +36 -0
  78. package/lib/host/groups/messages.js +16 -7
  79. package/lib/host/groups/messages.js.map +1 -1
  80. package/lib/host/groups/model-selection.js +1 -1
  81. package/lib/host/groups/model.d.ts +30 -0
  82. package/lib/host/groups/model.js +16 -1
  83. package/lib/host/groups/model.js.map +1 -1
  84. package/lib/host/groups/owner-follow-up.js +1 -1
  85. package/lib/host/groups/recall-sessions.d.ts +8 -0
  86. package/lib/host/groups/recall-sessions.js +20 -1
  87. package/lib/host/groups/recall-sessions.js.map +1 -1
  88. package/lib/host/groups/recall-tool.js +1 -1
  89. package/lib/host/groups/recall.d.ts +4 -0
  90. package/lib/host/groups/recall.js +63 -16
  91. package/lib/host/groups/recall.js.map +1 -1
  92. package/lib/host/groups/remote.d.ts +214 -0
  93. package/lib/host/groups/remote.js +50 -1
  94. package/lib/host/groups/remote.js.map +1 -1
  95. package/lib/host/groups/root-guard.js +1 -1
  96. package/lib/host/groups/roots.js +1 -1
  97. package/lib/host/groups/round-robin.js +1 -1
  98. package/lib/host/groups/routing.d.ts +2 -1
  99. package/lib/host/groups/routing.js +4 -3
  100. package/lib/host/groups/routing.js.map +1 -1
  101. package/lib/host/groups/service.d.ts +160 -2
  102. package/lib/host/groups/service.js +54 -5
  103. package/lib/host/groups/service.js.map +1 -1
  104. package/lib/host/groups/state.d.ts +71 -1
  105. package/lib/host/groups/state.js +29 -2
  106. package/lib/host/groups/state.js.map +1 -1
  107. package/lib/host/groups/supergroup-admission.js +1 -1
  108. package/lib/host/groups/team-recipes.d.ts +12 -0
  109. package/lib/host/groups/team-recipes.js +10 -2
  110. package/lib/host/groups/team-recipes.js.map +1 -1
  111. package/lib/host/groups/turn-runner.d.ts +78 -0
  112. package/lib/host/groups/turn-runner.js +48 -13
  113. package/lib/host/groups/turn-runner.js.map +1 -1
  114. package/lib/host/groups/turns.d.ts +30 -0
  115. package/lib/host/groups/turns.js +28 -14
  116. package/lib/host/groups/turns.js.map +1 -1
  117. package/lib/host/groups/worker-tool.js +9 -2
  118. package/lib/host/groups/worker-tool.js.map +1 -1
  119. package/lib/host/home.js +1 -1
  120. package/lib/host/im/service.js +1 -1
  121. package/lib/host/index.js +1 -1
  122. package/lib/host/live-persona.js +1 -1
  123. package/lib/host/main-session.d.ts +5 -2
  124. package/lib/host/main-session.js +118 -12
  125. package/lib/host/main-session.js.map +1 -1
  126. package/lib/host/memory/admission.d.ts +1 -0
  127. package/lib/host/memory/admission.js +24 -1
  128. package/lib/host/memory/admission.js.map +1 -1
  129. package/lib/host/memory/auto-share.js +1 -1
  130. package/lib/host/memory/confirmation.d.ts +17 -1
  131. package/lib/host/memory/confirmation.js +1 -1
  132. package/lib/host/memory/conflicts.js +1 -1
  133. package/lib/host/memory/consolidation-config.d.ts +12 -0
  134. package/lib/host/memory/consolidation-config.js +13 -0
  135. package/lib/host/memory/consolidation-config.js.map +1 -0
  136. package/lib/host/memory/consolidation-native.d.ts +14 -0
  137. package/lib/host/memory/consolidation-native.js +72 -0
  138. package/lib/host/memory/consolidation-native.js.map +1 -0
  139. package/lib/host/memory/consolidation-source.d.ts +4 -0
  140. package/lib/host/memory/consolidation-source.js +25 -0
  141. package/lib/host/memory/consolidation-source.js.map +1 -0
  142. package/lib/host/memory/consolidation.d.ts +80 -0
  143. package/lib/host/memory/consolidation.js +270 -0
  144. package/lib/host/memory/consolidation.js.map +1 -0
  145. package/lib/host/memory/context.js +1 -1
  146. package/lib/host/memory/domain-v2.d.ts +45 -2
  147. package/lib/host/memory/domain-v2.js +5 -3
  148. package/lib/host/memory/domain-v2.js.map +1 -1
  149. package/lib/host/memory/facade.d.ts +17 -1
  150. package/lib/host/memory/facade.js +15 -4
  151. package/lib/host/memory/facade.js.map +1 -1
  152. package/lib/host/memory/forget-preview.js +1 -1
  153. package/lib/host/memory/forget-runner.js +1 -1
  154. package/lib/host/memory/forget-service.js +1 -1
  155. package/lib/host/memory/history-proof.js +1 -1
  156. package/lib/host/memory/history.js +1 -1
  157. package/lib/host/memory/layout-upgrade.js +23 -6
  158. package/lib/host/memory/layout-upgrade.js.map +1 -1
  159. package/lib/host/memory/migration.js +1 -1
  160. package/lib/host/memory/op-log.js +1 -1
  161. package/lib/host/memory/open-v2.js +1 -1
  162. package/lib/host/memory/owner-lease.js +1 -1
  163. package/lib/host/memory/persistent-map.js +1 -1
  164. package/lib/host/memory/port.js +1 -1
  165. package/lib/host/memory/preserve-inbox.js +1 -1
  166. package/lib/host/memory/projection.js +6 -1
  167. package/lib/host/memory/projection.js.map +1 -1
  168. package/lib/host/memory/prompt.js +1 -1
  169. package/lib/host/memory/query.js +1 -1
  170. package/lib/host/memory/quota-replay.js +1 -1
  171. package/lib/host/memory/quota.d.ts +17 -1
  172. package/lib/host/memory/quota.js +1 -1
  173. package/lib/host/memory/remote.d.ts +95 -1
  174. package/lib/host/memory/remote.js +30 -1
  175. package/lib/host/memory/remote.js.map +1 -1
  176. package/lib/host/memory/retrieval-config.js +1 -1
  177. package/lib/host/memory/retrieval-rank.js +1 -1
  178. package/lib/host/memory/retrieval-text.js +1 -1
  179. package/lib/host/memory/root-instructions.js +1 -1
  180. package/lib/host/memory/secrets.js +1 -1
  181. package/lib/host/memory/service.js +1 -1
  182. package/lib/host/memory/shards.js +1 -1
  183. package/lib/host/memory/store-v2.js +5 -2
  184. package/lib/host/memory/store-v2.js.map +1 -1
  185. package/lib/host/memory/temporal.js +3 -2
  186. package/lib/host/memory/temporal.js.map +1 -1
  187. package/lib/host/memory/tool-guidance.js +1 -1
  188. package/lib/host/memory/tools.js +1 -1
  189. package/lib/host/memory/trusted-ingress.js +1 -1
  190. package/lib/host/memory/version.d.ts +16 -0
  191. package/lib/host/memory/version.js +1 -1
  192. package/lib/host/messaging/config.js +1 -1
  193. package/lib/host/messaging/core.js +1 -1
  194. package/lib/host/messaging/delivery.js +1 -1
  195. package/lib/host/messaging/evidence.js +1 -1
  196. package/lib/host/messaging/interrupt.js +1 -1
  197. package/lib/host/messaging/recovery.js +1 -1
  198. package/lib/host/messaging/remote.js +1 -1
  199. package/lib/host/messaging/reply-routing.js +1 -1
  200. package/lib/host/messaging/safety.js +1 -1
  201. package/lib/host/messaging/scoped-projection.js +1 -1
  202. package/lib/host/messaging/service.js +1 -1
  203. package/lib/host/messaging/store.js +1 -1
  204. package/lib/host/messaging/tool.js +1 -1
  205. package/lib/host/messaging/wake.js +1 -1
  206. package/lib/host/native-schedule/outcomes.js +1 -1
  207. package/lib/host/native-schedule/service.js +10 -7
  208. package/lib/host/native-schedule/service.js.map +1 -1
  209. package/lib/host/notifications/data-flow.js +1 -1
  210. package/lib/host/notifications/remote.js +1 -1
  211. package/lib/host/notifications/service.js +1 -1
  212. package/lib/host/notifications/time.js +1 -1
  213. package/lib/host/notifications/tool.js +1 -1
  214. package/lib/host/onboarding/coordinator.js +1 -1
  215. package/lib/host/onboarding/guard.js +1 -1
  216. package/lib/host/proactive/auto-admission.js +1 -1
  217. package/lib/host/proactive/config.js +1 -1
  218. package/lib/host/proactive/coordinator-client.js +1 -1
  219. package/lib/host/proactive/deferred-notices.js +1 -1
  220. package/lib/host/proactive/execution-prompt.js +1 -1
  221. package/lib/host/proactive/execution.js +1 -1
  222. package/lib/host/proactive/executors/command.js +1 -1
  223. package/lib/host/proactive/executors/json-command-bridge-entry.js +1 -1
  224. package/lib/host/proactive/executors/json-command-bridge.js +1 -1
  225. package/lib/host/proactive/executors/loopback.js +1 -1
  226. package/lib/host/proactive/feedback-workflow.d.ts +3 -0
  227. package/lib/host/proactive/feedback-workflow.js +8 -3
  228. package/lib/host/proactive/feedback-workflow.js.map +1 -1
  229. package/lib/host/proactive/feedback.js +1 -1
  230. package/lib/host/proactive/follow-up-events.js +1 -1
  231. package/lib/host/proactive/follow-up-facts.js +1 -1
  232. package/lib/host/proactive/follow-up-tool.js +1 -1
  233. package/lib/host/proactive/governance-artifacts.js +1 -1
  234. package/lib/host/proactive/governance-service.js +1 -1
  235. package/lib/host/proactive/group-budget.js +1 -1
  236. package/lib/host/proactive/group-follow-up.js +1 -1
  237. package/lib/host/proactive/group-repair.js +1 -1
  238. package/lib/host/proactive/index.js +1 -1
  239. package/lib/host/proactive/lifecycle.js +1 -1
  240. package/lib/host/proactive/method-evaluation.js +1 -1
  241. package/lib/host/proactive/method-package.js +1 -1
  242. package/lib/host/proactive/method-skill.js +1 -1
  243. package/lib/host/proactive/model-budget.js +1 -1
  244. package/lib/host/proactive/notice-pump.js +1 -1
  245. package/lib/host/proactive/notification-bridge.js +1 -1
  246. package/lib/host/proactive/read-query.js +1 -1
  247. package/lib/host/proactive/remote.d.ts +3 -0
  248. package/lib/host/proactive/remote.js +1 -1
  249. package/lib/host/proactive/repair.js +1 -1
  250. package/lib/host/proactive/result-journal.js +1 -1
  251. package/lib/host/proactive/service.d.ts +18 -0
  252. package/lib/host/proactive/service.js +48 -37
  253. package/lib/host/proactive/service.js.map +1 -1
  254. package/lib/host/proactive/session-history.d.ts +3 -0
  255. package/lib/host/proactive/session-history.js +21 -0
  256. package/lib/host/proactive/session-history.js.map +1 -0
  257. package/lib/host/proactive/setup.js +1 -1
  258. package/lib/host/proactive/sources/ci-feed.js +1 -1
  259. package/lib/host/proactive/sources/ci.js +1 -1
  260. package/lib/host/proactive/sources/github-ci.js +1 -1
  261. package/lib/host/proactive/task-cost.js +1 -1
  262. package/lib/host/proactive/wire.js +1 -1
  263. package/lib/host/proactive/work-continuation.js +1 -1
  264. package/lib/host/proactive/workspace-process.js +1 -1
  265. package/lib/host/proactive/workspace-repair.js +1 -1
  266. package/lib/host/reference-memory/backend.js +1 -1
  267. package/lib/host/reference-memory/cleanup-files.js +1 -1
  268. package/lib/host/reference-memory/copies.js +1 -1
  269. package/lib/host/reference-memory/files.js +1 -1
  270. package/lib/host/reference-memory/model.js +1 -1
  271. package/lib/host/reference-memory/service.js +1 -1
  272. package/lib/host/reference-memory/writer.js +1 -1
  273. package/lib/host/registry/identity.js +1 -1
  274. package/lib/host/registry/lifecycle.d.ts +2 -0
  275. package/lib/host/registry/lifecycle.js +3 -1
  276. package/lib/host/registry/lifecycle.js.map +1 -1
  277. package/lib/host/registry/mutations.js +1 -1
  278. package/lib/host/registry/presets.js +1 -1
  279. package/lib/host/registry/types.js +1 -1
  280. package/lib/host/registry-config.d.ts +1 -0
  281. package/lib/host/registry-config.js +9 -2
  282. package/lib/host/registry-config.js.map +1 -1
  283. package/lib/host/registry.d.ts +5 -0
  284. package/lib/host/registry.js +44 -4
  285. package/lib/host/registry.js.map +1 -1
  286. package/lib/host/shadow/budget.js +1 -1
  287. package/lib/host/shadow/config.js +1 -1
  288. package/lib/host/shadow/notification-adapter.js +1 -1
  289. package/lib/host/shadow/planner.js +1 -1
  290. package/lib/host/shadow/schedule-adapter.js +1 -1
  291. package/lib/host/shadow/service.js +1 -1
  292. package/lib/host/store.js +1 -1
  293. package/lib/host/stores/activity.js +1 -1
  294. package/lib/host/stores/bots.js +1 -1
  295. package/lib/host/stores/domain.js +1 -1
  296. package/lib/host/stores/memory.js +1 -1
  297. package/lib/host/supergroup/collaboration.js +4 -3
  298. package/lib/host/supergroup/collaboration.js.map +1 -1
  299. package/lib/host/supergroup/config.js +3 -2
  300. package/lib/host/supergroup/config.js.map +1 -1
  301. package/lib/host/supergroup/input-capability.js +1 -1
  302. package/lib/host/supergroup/recovery-view.d.ts +16 -0
  303. package/lib/host/supergroup/recovery-view.js +38 -0
  304. package/lib/host/supergroup/recovery-view.js.map +1 -0
  305. package/lib/host/supergroup/remote.d.ts +120 -0
  306. package/lib/host/supergroup/remote.js +1 -1
  307. package/lib/host/supergroup/service.d.ts +52 -0
  308. package/lib/host/supergroup/service.js +28 -4
  309. package/lib/host/supergroup/service.js.map +1 -1
  310. package/lib/host/supergroup/task-support.d.ts +21 -0
  311. package/lib/host/supergroup/task-support.js +15 -2
  312. package/lib/host/supergroup/task-support.js.map +1 -1
  313. package/lib/host/supergroup/tool.js +1 -1
  314. package/lib/host/tools/bot-manage.js +1 -1
  315. package/lib/host/workspace/remote.js +1 -1
  316. package/lib/host/workspace/service.js +1 -1
  317. package/lib/index.d.ts +1 -1
  318. package/lib/index.js +1 -1
  319. package/lib/module-manifest.json +288 -274
  320. package/lib/proactive-coordinator/main.mjs +60 -16
  321. package/lib/proactive-coordinator/provenance.json +1 -1
  322. package/lib/shared/activity-preview.js +1 -1
  323. package/lib/shared/activity.js +1 -1
  324. package/lib/shared/automation-contract.js +1 -1
  325. package/lib/shared/automation.js +1 -1
  326. package/lib/shared/bot-brand.js +1 -1
  327. package/lib/shared/capabilities-contract.js +1 -1
  328. package/lib/shared/collaboration-contract.js +1 -1
  329. package/lib/shared/collaboration.js +1 -1
  330. package/lib/shared/connectors.js +1 -1
  331. package/lib/shared/data-flow.d.ts +1 -0
  332. package/lib/shared/data-flow.js +3 -1
  333. package/lib/shared/data-flow.js.map +1 -1
  334. package/lib/shared/eval-budget.js +1 -1
  335. package/lib/shared/group-export-review.d.ts +3 -0
  336. package/lib/shared/group-export-review.js +12 -0
  337. package/lib/shared/group-export-review.js.map +1 -0
  338. package/lib/shared/group-limits.d.ts +4 -0
  339. package/lib/shared/group-limits.js +6 -0
  340. package/lib/shared/group-limits.js.map +1 -0
  341. package/lib/shared/group-recall-reads.js +1 -1
  342. package/lib/shared/group-recall.js +1 -1
  343. package/lib/shared/groups-contract.d.ts +1222 -0
  344. package/lib/shared/groups-contract.js +17 -2
  345. package/lib/shared/groups-contract.js.map +1 -1
  346. package/lib/shared/groups.d.ts +156 -0
  347. package/lib/shared/groups.js +52 -8
  348. package/lib/shared/groups.js.map +1 -1
  349. package/lib/shared/identity.js +1 -1
  350. package/lib/shared/ids.js +1 -1
  351. package/lib/shared/integrations-contract.js +1 -1
  352. package/lib/shared/integrations.js +1 -1
  353. package/lib/shared/managed-flow.d.ts +4 -0
  354. package/lib/shared/managed-flow.js +2 -2
  355. package/lib/shared/managed-flow.js.map +1 -1
  356. package/lib/shared/memory-consolidation.d.ts +104 -0
  357. package/lib/shared/memory-consolidation.js +23 -0
  358. package/lib/shared/memory-consolidation.js.map +1 -0
  359. package/lib/shared/memory-forget.js +1 -1
  360. package/lib/shared/memory-management.d.ts +65 -1
  361. package/lib/shared/memory-management.js +1 -1
  362. package/lib/shared/memory-ops.d.ts +17 -1
  363. package/lib/shared/memory-ops.js +1 -1
  364. package/lib/shared/memory-tool-names.js +1 -1
  365. package/lib/shared/memory-v2.d.ts +16 -0
  366. package/lib/shared/memory-v2.js +3 -1
  367. package/lib/shared/memory-v2.js.map +1 -1
  368. package/lib/shared/messaging-contract.js +1 -1
  369. package/lib/shared/messaging.js +1 -1
  370. package/lib/shared/native-schedule.d.ts +21 -0
  371. package/lib/shared/native-schedule.js +15 -1
  372. package/lib/shared/native-schedule.js.map +1 -1
  373. package/lib/shared/notifications.js +1 -1
  374. package/lib/shared/onboarding-source.js +1 -1
  375. package/lib/shared/onboarding.js +1 -1
  376. package/lib/shared/operation-errors.d.ts +3 -0
  377. package/lib/shared/operation-errors.js +4 -1
  378. package/lib/shared/operation-errors.js.map +1 -1
  379. package/lib/shared/proactive/activity.js +1 -1
  380. package/lib/shared/proactive/document.js +1 -1
  381. package/lib/shared/proactive/feedback.d.ts +12 -0
  382. package/lib/shared/proactive/feedback.js +2 -2
  383. package/lib/shared/proactive/feedback.js.map +1 -1
  384. package/lib/shared/proactive/follow-up.js +1 -1
  385. package/lib/shared/proactive/governance.js +1 -1
  386. package/lib/shared/proactive/group-follow-up.js +1 -1
  387. package/lib/shared/proactive/group-repair.js +1 -1
  388. package/lib/shared/proactive/handoff.js +1 -1
  389. package/lib/shared/proactive/method-evaluation.d.ts +4 -0
  390. package/lib/shared/proactive/method-evaluation.js +2 -1
  391. package/lib/shared/proactive/method-evaluation.js.map +1 -1
  392. package/lib/shared/proactive/method-package.js +1 -1
  393. package/lib/shared/proactive/notices.js +1 -1
  394. package/lib/shared/proactive/outcomes.js +1 -1
  395. package/lib/shared/proactive/protocol.d.ts +24 -0
  396. package/lib/shared/proactive/protocol.js +1 -1
  397. package/lib/shared/proactive/remote-contract.d.ts +36 -0
  398. package/lib/shared/proactive/remote-contract.js +1 -1
  399. package/lib/shared/proactive/repair.js +1 -1
  400. package/lib/shared/proactive/responsibility.js +1 -1
  401. package/lib/shared/proactive/setup.js +1 -1
  402. package/lib/shared/proactive/work-progress.js +1 -1
  403. package/lib/shared/proactive/work.js +1 -1
  404. package/lib/shared/proactive/workspace-repair.js +1 -1
  405. package/lib/shared/reference-memory.js +1 -1
  406. package/lib/shared/remote-contract.d.ts +513 -2
  407. package/lib/shared/remote-contract.js +19 -1
  408. package/lib/shared/remote-contract.js.map +1 -1
  409. package/lib/shared/routine-outcomes.js +1 -1
  410. package/lib/shared/schema.js +1 -1
  411. package/lib/shared/secrets.js +1 -1
  412. package/lib/shared/shadow.js +1 -1
  413. package/lib/shared/supergroup-contract.d.ts +416 -0
  414. package/lib/shared/supergroup-contract.js +1 -1
  415. package/lib/shared/supergroup.d.ts +54 -0
  416. package/lib/shared/supergroup.js +1 -1
  417. package/lib/shared/task-materials.d.ts +34 -0
  418. package/lib/shared/task-materials.js +5 -1
  419. package/lib/shared/task-materials.js.map +1 -1
  420. package/lib/shared/team-recipes.d.ts +21 -0
  421. package/lib/shared/team-recipes.js +4 -1
  422. package/lib/shared/team-recipes.js.map +1 -1
  423. package/lib/shared/version.d.ts +1 -1
  424. package/lib/shared/version.js +2 -2
  425. package/lib/shared/workspace-contract.js +1 -1
  426. package/lib/shared/workspace.js +1 -1
  427. package/lib/typert.host.js +1 -1
  428. package/lib/typert.remote-client.js +1 -1
  429. package/locale/en.json +128 -62
  430. package/locale/zh.json +128 -62
  431. package/package.json +1 -1
@@ -40,6 +40,23 @@ export declare const supergroupSpec: {
40
40
  mode: "strict";
41
41
  typeSymbol: string;
42
42
  create: () => z.ZodObject<{
43
+ recovery: z.ZodOptional<z.ZodObject<{
44
+ state: z.ZodEnum<{
45
+ unknown: "unknown";
46
+ queued: "queued";
47
+ running: "running";
48
+ delivered: "delivered";
49
+ "waiting-input": "waiting-input";
50
+ closed: "closed";
51
+ "waiting-approval": "waiting-approval";
52
+ "dispatch-intent": "dispatch-intent";
53
+ "ready-to-resume": "ready-to-resume";
54
+ }>;
55
+ nativeApprovalCount: z.ZodNumber;
56
+ holdsAgent: z.ZodBoolean;
57
+ timerWakeup: z.ZodLiteral<false>;
58
+ durableToolResume: z.ZodLiteral<false>;
59
+ }, z.core.$strict>>;
43
60
  workId: z.ZodString;
44
61
  revision: z.ZodNumber;
45
62
  originSessionId: z.ZodString;
@@ -182,6 +199,13 @@ export declare const supergroupSpec: {
182
199
  version: string;
183
200
  citation: string;
184
201
  }[];
202
+ recovery?: {
203
+ state: "unknown" | "queued" | "running" | "delivered" | "waiting-input" | "closed" | "waiting-approval" | "dispatch-intent" | "ready-to-resume";
204
+ nativeApprovalCount: number;
205
+ holdsAgent: boolean;
206
+ timerWakeup: false;
207
+ durableToolResume: false;
208
+ } | undefined;
185
209
  ownerName?: string | undefined;
186
210
  originalQuestion?: string | undefined;
187
211
  readerNames?: string[] | undefined;
@@ -249,6 +273,13 @@ export declare const supergroupSpec: {
249
273
  version: string;
250
274
  citation: string;
251
275
  }[];
276
+ recovery?: {
277
+ state: "unknown" | "queued" | "running" | "delivered" | "waiting-input" | "closed" | "waiting-approval" | "dispatch-intent" | "ready-to-resume";
278
+ nativeApprovalCount: number;
279
+ holdsAgent: boolean;
280
+ timerWakeup: false;
281
+ durableToolResume: false;
282
+ } | undefined;
252
283
  ownerName?: string | undefined;
253
284
  originalQuestion?: string | undefined;
254
285
  readerNames?: string[] | undefined;
@@ -390,6 +421,23 @@ export declare const supergroupSpec: {
390
421
  mode: "strict";
391
422
  typeSymbol: string;
392
423
  create: () => z.ZodObject<{
424
+ recovery: z.ZodOptional<z.ZodObject<{
425
+ state: z.ZodEnum<{
426
+ unknown: "unknown";
427
+ queued: "queued";
428
+ running: "running";
429
+ delivered: "delivered";
430
+ "waiting-input": "waiting-input";
431
+ closed: "closed";
432
+ "waiting-approval": "waiting-approval";
433
+ "dispatch-intent": "dispatch-intent";
434
+ "ready-to-resume": "ready-to-resume";
435
+ }>;
436
+ nativeApprovalCount: z.ZodNumber;
437
+ holdsAgent: z.ZodBoolean;
438
+ timerWakeup: z.ZodLiteral<false>;
439
+ durableToolResume: z.ZodLiteral<false>;
440
+ }, z.core.$strict>>;
393
441
  workId: z.ZodString;
394
442
  revision: z.ZodNumber;
395
443
  originSessionId: z.ZodString;
@@ -532,6 +580,13 @@ export declare const supergroupSpec: {
532
580
  version: string;
533
581
  citation: string;
534
582
  }[];
583
+ recovery?: {
584
+ state: "unknown" | "queued" | "running" | "delivered" | "waiting-input" | "closed" | "waiting-approval" | "dispatch-intent" | "ready-to-resume";
585
+ nativeApprovalCount: number;
586
+ holdsAgent: boolean;
587
+ timerWakeup: false;
588
+ durableToolResume: false;
589
+ } | undefined;
535
590
  ownerName?: string | undefined;
536
591
  originalQuestion?: string | undefined;
537
592
  readerNames?: string[] | undefined;
@@ -599,6 +654,13 @@ export declare const supergroupSpec: {
599
654
  version: string;
600
655
  citation: string;
601
656
  }[];
657
+ recovery?: {
658
+ state: "unknown" | "queued" | "running" | "delivered" | "waiting-input" | "closed" | "waiting-approval" | "dispatch-intent" | "ready-to-resume";
659
+ nativeApprovalCount: number;
660
+ holdsAgent: boolean;
661
+ timerWakeup: false;
662
+ durableToolResume: false;
663
+ } | undefined;
602
664
  ownerName?: string | undefined;
603
665
  originalQuestion?: string | undefined;
604
666
  readerNames?: string[] | undefined;
@@ -668,6 +730,23 @@ export declare const supergroupSpec: {
668
730
  mode: "strict";
669
731
  typeSymbol: string;
670
732
  create: () => z.ZodObject<{
733
+ recovery: z.ZodOptional<z.ZodObject<{
734
+ state: z.ZodEnum<{
735
+ unknown: "unknown";
736
+ queued: "queued";
737
+ running: "running";
738
+ delivered: "delivered";
739
+ "waiting-input": "waiting-input";
740
+ closed: "closed";
741
+ "waiting-approval": "waiting-approval";
742
+ "dispatch-intent": "dispatch-intent";
743
+ "ready-to-resume": "ready-to-resume";
744
+ }>;
745
+ nativeApprovalCount: z.ZodNumber;
746
+ holdsAgent: z.ZodBoolean;
747
+ timerWakeup: z.ZodLiteral<false>;
748
+ durableToolResume: z.ZodLiteral<false>;
749
+ }, z.core.$strict>>;
671
750
  workId: z.ZodString;
672
751
  revision: z.ZodNumber;
673
752
  originSessionId: z.ZodString;
@@ -810,6 +889,13 @@ export declare const supergroupSpec: {
810
889
  version: string;
811
890
  citation: string;
812
891
  }[];
892
+ recovery?: {
893
+ state: "unknown" | "queued" | "running" | "delivered" | "waiting-input" | "closed" | "waiting-approval" | "dispatch-intent" | "ready-to-resume";
894
+ nativeApprovalCount: number;
895
+ holdsAgent: boolean;
896
+ timerWakeup: false;
897
+ durableToolResume: false;
898
+ } | undefined;
813
899
  ownerName?: string | undefined;
814
900
  originalQuestion?: string | undefined;
815
901
  readerNames?: string[] | undefined;
@@ -877,6 +963,13 @@ export declare const supergroupSpec: {
877
963
  version: string;
878
964
  citation: string;
879
965
  }[];
966
+ recovery?: {
967
+ state: "unknown" | "queued" | "running" | "delivered" | "waiting-input" | "closed" | "waiting-approval" | "dispatch-intent" | "ready-to-resume";
968
+ nativeApprovalCount: number;
969
+ holdsAgent: boolean;
970
+ timerWakeup: false;
971
+ durableToolResume: false;
972
+ } | undefined;
880
973
  ownerName?: string | undefined;
881
974
  originalQuestion?: string | undefined;
882
975
  readerNames?: string[] | undefined;
@@ -893,6 +986,23 @@ export declare const supergroupSpec: {
893
986
  mode: "strict";
894
987
  typeSymbol: string;
895
988
  create: () => z.ZodArray<z.ZodObject<{
989
+ recovery: z.ZodOptional<z.ZodObject<{
990
+ state: z.ZodEnum<{
991
+ unknown: "unknown";
992
+ queued: "queued";
993
+ running: "running";
994
+ delivered: "delivered";
995
+ "waiting-input": "waiting-input";
996
+ closed: "closed";
997
+ "waiting-approval": "waiting-approval";
998
+ "dispatch-intent": "dispatch-intent";
999
+ "ready-to-resume": "ready-to-resume";
1000
+ }>;
1001
+ nativeApprovalCount: z.ZodNumber;
1002
+ holdsAgent: z.ZodBoolean;
1003
+ timerWakeup: z.ZodLiteral<false>;
1004
+ durableToolResume: z.ZodLiteral<false>;
1005
+ }, z.core.$strict>>;
896
1006
  workId: z.ZodString;
897
1007
  revision: z.ZodNumber;
898
1008
  originSessionId: z.ZodString;
@@ -1035,6 +1145,13 @@ export declare const supergroupSpec: {
1035
1145
  version: string;
1036
1146
  citation: string;
1037
1147
  }[];
1148
+ recovery?: {
1149
+ state: "unknown" | "queued" | "running" | "delivered" | "waiting-input" | "closed" | "waiting-approval" | "dispatch-intent" | "ready-to-resume";
1150
+ nativeApprovalCount: number;
1151
+ holdsAgent: boolean;
1152
+ timerWakeup: false;
1153
+ durableToolResume: false;
1154
+ } | undefined;
1038
1155
  ownerName?: string | undefined;
1039
1156
  originalQuestion?: string | undefined;
1040
1157
  readerNames?: string[] | undefined;
@@ -1102,6 +1219,13 @@ export declare const supergroupSpec: {
1102
1219
  version: string;
1103
1220
  citation: string;
1104
1221
  }[];
1222
+ recovery?: {
1223
+ state: "unknown" | "queued" | "running" | "delivered" | "waiting-input" | "closed" | "waiting-approval" | "dispatch-intent" | "ready-to-resume";
1224
+ nativeApprovalCount: number;
1225
+ holdsAgent: boolean;
1226
+ timerWakeup: false;
1227
+ durableToolResume: false;
1228
+ } | undefined;
1105
1229
  ownerName?: string | undefined;
1106
1230
  originalQuestion?: string | undefined;
1107
1231
  readerNames?: string[] | undefined;
@@ -1352,6 +1476,7 @@ export declare const supergroupSpec: {
1352
1476
  reason: z.ZodOptional<z.ZodString>;
1353
1477
  }, z.core.$strict>;
1354
1478
  group: z.ZodOptional<z.ZodObject<{
1479
+ exportPendingCount: z.ZodOptional<z.ZodNumber>;
1355
1480
  latest: z.ZodOptional<z.ZodObject<{
1356
1481
  seq: z.ZodNumber;
1357
1482
  at: z.ZodNumber;
@@ -1429,6 +1554,18 @@ export declare const supergroupSpec: {
1429
1554
  modelRevision: z.ZodOptional<z.ZodNumber>;
1430
1555
  nextMemberId: z.ZodOptional<z.ZodString>;
1431
1556
  membershipRevision: z.ZodNumber;
1557
+ exportApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
1558
+ bot: z.ZodObject<{
1559
+ botId: z.ZodString;
1560
+ botCreatedAt: z.ZodNumber;
1561
+ }, z.core.$strict>;
1562
+ membershipRevision: z.ZodNumber;
1563
+ members: z.ZodArray<z.ZodObject<{
1564
+ botId: z.ZodString;
1565
+ botCreatedAt: z.ZodNumber;
1566
+ }, z.core.$strict>>;
1567
+ enabledAt: z.ZodNumber;
1568
+ }, z.core.$strict>>>;
1432
1569
  revision: z.ZodNumber;
1433
1570
  archived: z.ZodBoolean;
1434
1571
  state: z.ZodEnum<{
@@ -1482,6 +1619,8 @@ export declare const supergroupSpec: {
1482
1619
  operationId: z.ZodString;
1483
1620
  requestDigest: z.ZodString;
1484
1621
  inputMessageId: z.ZodString;
1622
+ inputFlowId: z.ZodOptional<z.ZodUUID>;
1623
+ inputFlowSessionId: z.ZodOptional<z.ZodString>;
1485
1624
  ownerFollowUp: z.ZodOptional<z.ZodObject<{
1486
1625
  predecessorTurnId: z.ZodString;
1487
1626
  predecessorTurnRevision: z.ZodNumber;
@@ -1602,6 +1741,7 @@ export declare const supergroupSpec: {
1602
1741
  }, z.core.$strict>>>;
1603
1742
  replyTo: z.ZodOptional<z.ZodString>;
1604
1743
  protocol: z.ZodOptional<z.ZodLiteral<2>>;
1744
+ memoryStatusOnly: z.ZodOptional<z.ZodLiteral<true>>;
1605
1745
  automaticExecutions: z.ZodOptional<z.ZodNumber>;
1606
1746
  continuationAllowance: z.ZodOptional<z.ZodNumber>;
1607
1747
  stoppedMemberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1648,6 +1788,8 @@ export declare const supergroupSpec: {
1648
1788
  childMessageId: z.ZodOptional<z.ZodString>;
1649
1789
  joinedDeliveryId: z.ZodOptional<z.ZodString>;
1650
1790
  childSessionId: z.ZodOptional<z.ZodString>;
1791
+ inputFlowId: z.ZodOptional<z.ZodUUID>;
1792
+ inputFlowSessionId: z.ZodOptional<z.ZodString>;
1651
1793
  triggerMessageId: z.ZodOptional<z.ZodString>;
1652
1794
  returnMemberId: z.ZodOptional<z.ZodString>;
1653
1795
  requestDigest: z.ZodOptional<z.ZodString>;
@@ -1656,11 +1798,19 @@ export declare const supergroupSpec: {
1656
1798
  outputSeq: z.ZodOptional<z.ZodNumber>;
1657
1799
  stopReason: z.ZodOptional<z.ZodString>;
1658
1800
  reasonCode: z.ZodOptional<z.ZodString>;
1801
+ exportFlowId: z.ZodOptional<z.ZodUUID>;
1802
+ memoryWriteStatus: z.ZodOptional<z.ZodEnum<{
1803
+ failed: "failed";
1804
+ saved: "saved";
1805
+ unverified: "unverified";
1806
+ }>>;
1659
1807
  failure: z.ZodOptional<z.ZodObject<{
1660
1808
  code: z.ZodOptional<z.ZodString>;
1809
+ requestId: z.ZodOptional<z.ZodString>;
1661
1810
  status: z.ZodOptional<z.ZodNumber>;
1662
1811
  message: z.ZodString;
1663
1812
  }, z.core.$strict>>;
1813
+ staleExportClosedAt: z.ZodOptional<z.ZodNumber>;
1664
1814
  }, z.core.$strict>>;
1665
1815
  messages: z.ZodArray<z.ZodObject<{
1666
1816
  id: z.ZodString;
@@ -1739,6 +1889,7 @@ export declare const supergroupSpec: {
1739
1889
  stopReason: z.ZodOptional<z.ZodString>;
1740
1890
  failure: z.ZodOptional<z.ZodObject<{
1741
1891
  code: z.ZodOptional<z.ZodString>;
1892
+ requestId: z.ZodOptional<z.ZodString>;
1742
1893
  status: z.ZodOptional<z.ZodNumber>;
1743
1894
  message: z.ZodString;
1744
1895
  }, z.core.$strict>>;
@@ -1905,6 +2056,18 @@ export declare const supergroupSpec: {
1905
2056
  }[] | undefined;
1906
2057
  modelRevision?: number | undefined;
1907
2058
  nextMemberId?: string | undefined;
2059
+ exportApprovals?: {
2060
+ bot: {
2061
+ botId: string;
2062
+ botCreatedAt: number;
2063
+ };
2064
+ membershipRevision: number;
2065
+ members: {
2066
+ botId: string;
2067
+ botCreatedAt: number;
2068
+ }[];
2069
+ enabledAt: number;
2070
+ }[] | undefined;
1908
2071
  supergroup?: {
1909
2072
  workId: string;
1910
2073
  originSessionId: string;
@@ -1955,6 +2118,8 @@ export declare const supergroupSpec: {
1955
2118
  mode: "natural" | "mention" | "round-robin";
1956
2119
  contextThroughSeq: number;
1957
2120
  state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
2121
+ inputFlowId?: string | undefined;
2122
+ inputFlowSessionId?: string | undefined;
1958
2123
  ownerFollowUp?: {
1959
2124
  predecessorTurnId: string;
1960
2125
  predecessorTurnRevision: number;
@@ -2041,6 +2206,7 @@ export declare const supergroupSpec: {
2041
2206
  }[] | undefined;
2042
2207
  replyTo?: string | undefined;
2043
2208
  protocol?: 2 | undefined;
2209
+ memoryStatusOnly?: true | undefined;
2044
2210
  automaticExecutions?: number | undefined;
2045
2211
  continuationAllowance?: number | undefined;
2046
2212
  stoppedMemberIds?: string[] | undefined;
@@ -2068,6 +2234,8 @@ export declare const supergroupSpec: {
2068
2234
  childMessageId?: string | undefined;
2069
2235
  joinedDeliveryId?: string | undefined;
2070
2236
  childSessionId?: string | undefined;
2237
+ inputFlowId?: string | undefined;
2238
+ inputFlowSessionId?: string | undefined;
2071
2239
  triggerMessageId?: string | undefined;
2072
2240
  returnMemberId?: string | undefined;
2073
2241
  requestDigest?: string | undefined;
@@ -2076,11 +2244,15 @@ export declare const supergroupSpec: {
2076
2244
  outputSeq?: number | undefined;
2077
2245
  stopReason?: string | undefined;
2078
2246
  reasonCode?: string | undefined;
2247
+ exportFlowId?: string | undefined;
2248
+ memoryWriteStatus?: "failed" | "saved" | "unverified" | undefined;
2079
2249
  failure?: {
2080
2250
  message: string;
2081
2251
  code?: string | undefined;
2252
+ requestId?: string | undefined;
2082
2253
  status?: number | undefined;
2083
2254
  } | undefined;
2255
+ staleExportClosedAt?: number | undefined;
2084
2256
  }[];
2085
2257
  messages: {
2086
2258
  id: string;
@@ -2130,10 +2302,12 @@ export declare const supergroupSpec: {
2130
2302
  failure?: {
2131
2303
  message: string;
2132
2304
  code?: string | undefined;
2305
+ requestId?: string | undefined;
2133
2306
  status?: number | undefined;
2134
2307
  } | undefined;
2135
2308
  }[];
2136
2309
  hasEarlier: boolean;
2310
+ exportPendingCount?: number | undefined;
2137
2311
  latest?: {
2138
2312
  seq: number;
2139
2313
  at: number;
@@ -2310,6 +2484,18 @@ export declare const supergroupSpec: {
2310
2484
  }[] | undefined;
2311
2485
  modelRevision?: number | undefined;
2312
2486
  nextMemberId?: string | undefined;
2487
+ exportApprovals?: {
2488
+ bot: {
2489
+ botId: string;
2490
+ botCreatedAt: number;
2491
+ };
2492
+ membershipRevision: number;
2493
+ members: {
2494
+ botId: string;
2495
+ botCreatedAt: number;
2496
+ }[];
2497
+ enabledAt: number;
2498
+ }[] | undefined;
2313
2499
  supergroup?: {
2314
2500
  workId: string;
2315
2501
  originSessionId: string;
@@ -2360,6 +2546,8 @@ export declare const supergroupSpec: {
2360
2546
  mode: "natural" | "mention" | "round-robin";
2361
2547
  contextThroughSeq: number;
2362
2548
  state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
2549
+ inputFlowId?: string | undefined;
2550
+ inputFlowSessionId?: string | undefined;
2363
2551
  ownerFollowUp?: {
2364
2552
  predecessorTurnId: string;
2365
2553
  predecessorTurnRevision: number;
@@ -2446,6 +2634,7 @@ export declare const supergroupSpec: {
2446
2634
  }[] | undefined;
2447
2635
  replyTo?: string | undefined;
2448
2636
  protocol?: 2 | undefined;
2637
+ memoryStatusOnly?: true | undefined;
2449
2638
  automaticExecutions?: number | undefined;
2450
2639
  continuationAllowance?: number | undefined;
2451
2640
  stoppedMemberIds?: string[] | undefined;
@@ -2473,6 +2662,8 @@ export declare const supergroupSpec: {
2473
2662
  childMessageId?: string | undefined;
2474
2663
  joinedDeliveryId?: string | undefined;
2475
2664
  childSessionId?: string | undefined;
2665
+ inputFlowId?: string | undefined;
2666
+ inputFlowSessionId?: string | undefined;
2476
2667
  triggerMessageId?: string | undefined;
2477
2668
  returnMemberId?: string | undefined;
2478
2669
  requestDigest?: string | undefined;
@@ -2481,11 +2672,15 @@ export declare const supergroupSpec: {
2481
2672
  outputSeq?: number | undefined;
2482
2673
  stopReason?: string | undefined;
2483
2674
  reasonCode?: string | undefined;
2675
+ exportFlowId?: string | undefined;
2676
+ memoryWriteStatus?: "failed" | "saved" | "unverified" | undefined;
2484
2677
  failure?: {
2485
2678
  message: string;
2486
2679
  code?: string | undefined;
2680
+ requestId?: string | undefined;
2487
2681
  status?: number | undefined;
2488
2682
  } | undefined;
2683
+ staleExportClosedAt?: number | undefined;
2489
2684
  }[];
2490
2685
  messages: {
2491
2686
  id: string;
@@ -2535,10 +2730,12 @@ export declare const supergroupSpec: {
2535
2730
  failure?: {
2536
2731
  message: string;
2537
2732
  code?: string | undefined;
2733
+ requestId?: string | undefined;
2538
2734
  status?: number | undefined;
2539
2735
  } | undefined;
2540
2736
  }[];
2541
2737
  hasEarlier: boolean;
2738
+ exportPendingCount?: number | undefined;
2542
2739
  latest?: {
2543
2740
  seq: number;
2544
2741
  at: number;
@@ -2778,6 +2975,7 @@ export declare const supergroupSpec: {
2778
2975
  reason: z.ZodOptional<z.ZodString>;
2779
2976
  }, z.core.$strict>;
2780
2977
  group: z.ZodOptional<z.ZodObject<{
2978
+ exportPendingCount: z.ZodOptional<z.ZodNumber>;
2781
2979
  latest: z.ZodOptional<z.ZodObject<{
2782
2980
  seq: z.ZodNumber;
2783
2981
  at: z.ZodNumber;
@@ -2855,6 +3053,18 @@ export declare const supergroupSpec: {
2855
3053
  modelRevision: z.ZodOptional<z.ZodNumber>;
2856
3054
  nextMemberId: z.ZodOptional<z.ZodString>;
2857
3055
  membershipRevision: z.ZodNumber;
3056
+ exportApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
3057
+ bot: z.ZodObject<{
3058
+ botId: z.ZodString;
3059
+ botCreatedAt: z.ZodNumber;
3060
+ }, z.core.$strict>;
3061
+ membershipRevision: z.ZodNumber;
3062
+ members: z.ZodArray<z.ZodObject<{
3063
+ botId: z.ZodString;
3064
+ botCreatedAt: z.ZodNumber;
3065
+ }, z.core.$strict>>;
3066
+ enabledAt: z.ZodNumber;
3067
+ }, z.core.$strict>>>;
2858
3068
  revision: z.ZodNumber;
2859
3069
  archived: z.ZodBoolean;
2860
3070
  state: z.ZodEnum<{
@@ -2908,6 +3118,8 @@ export declare const supergroupSpec: {
2908
3118
  operationId: z.ZodString;
2909
3119
  requestDigest: z.ZodString;
2910
3120
  inputMessageId: z.ZodString;
3121
+ inputFlowId: z.ZodOptional<z.ZodUUID>;
3122
+ inputFlowSessionId: z.ZodOptional<z.ZodString>;
2911
3123
  ownerFollowUp: z.ZodOptional<z.ZodObject<{
2912
3124
  predecessorTurnId: z.ZodString;
2913
3125
  predecessorTurnRevision: z.ZodNumber;
@@ -3028,6 +3240,7 @@ export declare const supergroupSpec: {
3028
3240
  }, z.core.$strict>>>;
3029
3241
  replyTo: z.ZodOptional<z.ZodString>;
3030
3242
  protocol: z.ZodOptional<z.ZodLiteral<2>>;
3243
+ memoryStatusOnly: z.ZodOptional<z.ZodLiteral<true>>;
3031
3244
  automaticExecutions: z.ZodOptional<z.ZodNumber>;
3032
3245
  continuationAllowance: z.ZodOptional<z.ZodNumber>;
3033
3246
  stoppedMemberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -3074,6 +3287,8 @@ export declare const supergroupSpec: {
3074
3287
  childMessageId: z.ZodOptional<z.ZodString>;
3075
3288
  joinedDeliveryId: z.ZodOptional<z.ZodString>;
3076
3289
  childSessionId: z.ZodOptional<z.ZodString>;
3290
+ inputFlowId: z.ZodOptional<z.ZodUUID>;
3291
+ inputFlowSessionId: z.ZodOptional<z.ZodString>;
3077
3292
  triggerMessageId: z.ZodOptional<z.ZodString>;
3078
3293
  returnMemberId: z.ZodOptional<z.ZodString>;
3079
3294
  requestDigest: z.ZodOptional<z.ZodString>;
@@ -3082,11 +3297,19 @@ export declare const supergroupSpec: {
3082
3297
  outputSeq: z.ZodOptional<z.ZodNumber>;
3083
3298
  stopReason: z.ZodOptional<z.ZodString>;
3084
3299
  reasonCode: z.ZodOptional<z.ZodString>;
3300
+ exportFlowId: z.ZodOptional<z.ZodUUID>;
3301
+ memoryWriteStatus: z.ZodOptional<z.ZodEnum<{
3302
+ failed: "failed";
3303
+ saved: "saved";
3304
+ unverified: "unverified";
3305
+ }>>;
3085
3306
  failure: z.ZodOptional<z.ZodObject<{
3086
3307
  code: z.ZodOptional<z.ZodString>;
3308
+ requestId: z.ZodOptional<z.ZodString>;
3087
3309
  status: z.ZodOptional<z.ZodNumber>;
3088
3310
  message: z.ZodString;
3089
3311
  }, z.core.$strict>>;
3312
+ staleExportClosedAt: z.ZodOptional<z.ZodNumber>;
3090
3313
  }, z.core.$strict>>;
3091
3314
  messages: z.ZodArray<z.ZodObject<{
3092
3315
  id: z.ZodString;
@@ -3165,6 +3388,7 @@ export declare const supergroupSpec: {
3165
3388
  stopReason: z.ZodOptional<z.ZodString>;
3166
3389
  failure: z.ZodOptional<z.ZodObject<{
3167
3390
  code: z.ZodOptional<z.ZodString>;
3391
+ requestId: z.ZodOptional<z.ZodString>;
3168
3392
  status: z.ZodOptional<z.ZodNumber>;
3169
3393
  message: z.ZodString;
3170
3394
  }, z.core.$strict>>;
@@ -3331,6 +3555,18 @@ export declare const supergroupSpec: {
3331
3555
  }[] | undefined;
3332
3556
  modelRevision?: number | undefined;
3333
3557
  nextMemberId?: string | undefined;
3558
+ exportApprovals?: {
3559
+ bot: {
3560
+ botId: string;
3561
+ botCreatedAt: number;
3562
+ };
3563
+ membershipRevision: number;
3564
+ members: {
3565
+ botId: string;
3566
+ botCreatedAt: number;
3567
+ }[];
3568
+ enabledAt: number;
3569
+ }[] | undefined;
3334
3570
  supergroup?: {
3335
3571
  workId: string;
3336
3572
  originSessionId: string;
@@ -3381,6 +3617,8 @@ export declare const supergroupSpec: {
3381
3617
  mode: "natural" | "mention" | "round-robin";
3382
3618
  contextThroughSeq: number;
3383
3619
  state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
3620
+ inputFlowId?: string | undefined;
3621
+ inputFlowSessionId?: string | undefined;
3384
3622
  ownerFollowUp?: {
3385
3623
  predecessorTurnId: string;
3386
3624
  predecessorTurnRevision: number;
@@ -3467,6 +3705,7 @@ export declare const supergroupSpec: {
3467
3705
  }[] | undefined;
3468
3706
  replyTo?: string | undefined;
3469
3707
  protocol?: 2 | undefined;
3708
+ memoryStatusOnly?: true | undefined;
3470
3709
  automaticExecutions?: number | undefined;
3471
3710
  continuationAllowance?: number | undefined;
3472
3711
  stoppedMemberIds?: string[] | undefined;
@@ -3494,6 +3733,8 @@ export declare const supergroupSpec: {
3494
3733
  childMessageId?: string | undefined;
3495
3734
  joinedDeliveryId?: string | undefined;
3496
3735
  childSessionId?: string | undefined;
3736
+ inputFlowId?: string | undefined;
3737
+ inputFlowSessionId?: string | undefined;
3497
3738
  triggerMessageId?: string | undefined;
3498
3739
  returnMemberId?: string | undefined;
3499
3740
  requestDigest?: string | undefined;
@@ -3502,11 +3743,15 @@ export declare const supergroupSpec: {
3502
3743
  outputSeq?: number | undefined;
3503
3744
  stopReason?: string | undefined;
3504
3745
  reasonCode?: string | undefined;
3746
+ exportFlowId?: string | undefined;
3747
+ memoryWriteStatus?: "failed" | "saved" | "unverified" | undefined;
3505
3748
  failure?: {
3506
3749
  message: string;
3507
3750
  code?: string | undefined;
3751
+ requestId?: string | undefined;
3508
3752
  status?: number | undefined;
3509
3753
  } | undefined;
3754
+ staleExportClosedAt?: number | undefined;
3510
3755
  }[];
3511
3756
  messages: {
3512
3757
  id: string;
@@ -3556,10 +3801,12 @@ export declare const supergroupSpec: {
3556
3801
  failure?: {
3557
3802
  message: string;
3558
3803
  code?: string | undefined;
3804
+ requestId?: string | undefined;
3559
3805
  status?: number | undefined;
3560
3806
  } | undefined;
3561
3807
  }[];
3562
3808
  hasEarlier: boolean;
3809
+ exportPendingCount?: number | undefined;
3563
3810
  latest?: {
3564
3811
  seq: number;
3565
3812
  at: number;
@@ -3736,6 +3983,18 @@ export declare const supergroupSpec: {
3736
3983
  }[] | undefined;
3737
3984
  modelRevision?: number | undefined;
3738
3985
  nextMemberId?: string | undefined;
3986
+ exportApprovals?: {
3987
+ bot: {
3988
+ botId: string;
3989
+ botCreatedAt: number;
3990
+ };
3991
+ membershipRevision: number;
3992
+ members: {
3993
+ botId: string;
3994
+ botCreatedAt: number;
3995
+ }[];
3996
+ enabledAt: number;
3997
+ }[] | undefined;
3739
3998
  supergroup?: {
3740
3999
  workId: string;
3741
4000
  originSessionId: string;
@@ -3786,6 +4045,8 @@ export declare const supergroupSpec: {
3786
4045
  mode: "natural" | "mention" | "round-robin";
3787
4046
  contextThroughSeq: number;
3788
4047
  state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
4048
+ inputFlowId?: string | undefined;
4049
+ inputFlowSessionId?: string | undefined;
3789
4050
  ownerFollowUp?: {
3790
4051
  predecessorTurnId: string;
3791
4052
  predecessorTurnRevision: number;
@@ -3872,6 +4133,7 @@ export declare const supergroupSpec: {
3872
4133
  }[] | undefined;
3873
4134
  replyTo?: string | undefined;
3874
4135
  protocol?: 2 | undefined;
4136
+ memoryStatusOnly?: true | undefined;
3875
4137
  automaticExecutions?: number | undefined;
3876
4138
  continuationAllowance?: number | undefined;
3877
4139
  stoppedMemberIds?: string[] | undefined;
@@ -3899,6 +4161,8 @@ export declare const supergroupSpec: {
3899
4161
  childMessageId?: string | undefined;
3900
4162
  joinedDeliveryId?: string | undefined;
3901
4163
  childSessionId?: string | undefined;
4164
+ inputFlowId?: string | undefined;
4165
+ inputFlowSessionId?: string | undefined;
3902
4166
  triggerMessageId?: string | undefined;
3903
4167
  returnMemberId?: string | undefined;
3904
4168
  requestDigest?: string | undefined;
@@ -3907,11 +4171,15 @@ export declare const supergroupSpec: {
3907
4171
  outputSeq?: number | undefined;
3908
4172
  stopReason?: string | undefined;
3909
4173
  reasonCode?: string | undefined;
4174
+ exportFlowId?: string | undefined;
4175
+ memoryWriteStatus?: "failed" | "saved" | "unverified" | undefined;
3910
4176
  failure?: {
3911
4177
  message: string;
3912
4178
  code?: string | undefined;
4179
+ requestId?: string | undefined;
3913
4180
  status?: number | undefined;
3914
4181
  } | undefined;
4182
+ staleExportClosedAt?: number | undefined;
3915
4183
  }[];
3916
4184
  messages: {
3917
4185
  id: string;
@@ -3961,10 +4229,12 @@ export declare const supergroupSpec: {
3961
4229
  failure?: {
3962
4230
  message: string;
3963
4231
  code?: string | undefined;
4232
+ requestId?: string | undefined;
3964
4233
  status?: number | undefined;
3965
4234
  } | undefined;
3966
4235
  }[];
3967
4236
  hasEarlier: boolean;
4237
+ exportPendingCount?: number | undefined;
3968
4238
  latest?: {
3969
4239
  seq: number;
3970
4240
  at: number;
@@ -4241,6 +4511,7 @@ export declare const supergroupSpec: {
4241
4511
  reason: z.ZodOptional<z.ZodString>;
4242
4512
  }, z.core.$strict>;
4243
4513
  group: z.ZodOptional<z.ZodObject<{
4514
+ exportPendingCount: z.ZodOptional<z.ZodNumber>;
4244
4515
  latest: z.ZodOptional<z.ZodObject<{
4245
4516
  seq: z.ZodNumber;
4246
4517
  at: z.ZodNumber;
@@ -4318,6 +4589,18 @@ export declare const supergroupSpec: {
4318
4589
  modelRevision: z.ZodOptional<z.ZodNumber>;
4319
4590
  nextMemberId: z.ZodOptional<z.ZodString>;
4320
4591
  membershipRevision: z.ZodNumber;
4592
+ exportApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
4593
+ bot: z.ZodObject<{
4594
+ botId: z.ZodString;
4595
+ botCreatedAt: z.ZodNumber;
4596
+ }, z.core.$strict>;
4597
+ membershipRevision: z.ZodNumber;
4598
+ members: z.ZodArray<z.ZodObject<{
4599
+ botId: z.ZodString;
4600
+ botCreatedAt: z.ZodNumber;
4601
+ }, z.core.$strict>>;
4602
+ enabledAt: z.ZodNumber;
4603
+ }, z.core.$strict>>>;
4321
4604
  revision: z.ZodNumber;
4322
4605
  archived: z.ZodBoolean;
4323
4606
  state: z.ZodEnum<{
@@ -4371,6 +4654,8 @@ export declare const supergroupSpec: {
4371
4654
  operationId: z.ZodString;
4372
4655
  requestDigest: z.ZodString;
4373
4656
  inputMessageId: z.ZodString;
4657
+ inputFlowId: z.ZodOptional<z.ZodUUID>;
4658
+ inputFlowSessionId: z.ZodOptional<z.ZodString>;
4374
4659
  ownerFollowUp: z.ZodOptional<z.ZodObject<{
4375
4660
  predecessorTurnId: z.ZodString;
4376
4661
  predecessorTurnRevision: z.ZodNumber;
@@ -4491,6 +4776,7 @@ export declare const supergroupSpec: {
4491
4776
  }, z.core.$strict>>>;
4492
4777
  replyTo: z.ZodOptional<z.ZodString>;
4493
4778
  protocol: z.ZodOptional<z.ZodLiteral<2>>;
4779
+ memoryStatusOnly: z.ZodOptional<z.ZodLiteral<true>>;
4494
4780
  automaticExecutions: z.ZodOptional<z.ZodNumber>;
4495
4781
  continuationAllowance: z.ZodOptional<z.ZodNumber>;
4496
4782
  stoppedMemberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -4537,6 +4823,8 @@ export declare const supergroupSpec: {
4537
4823
  childMessageId: z.ZodOptional<z.ZodString>;
4538
4824
  joinedDeliveryId: z.ZodOptional<z.ZodString>;
4539
4825
  childSessionId: z.ZodOptional<z.ZodString>;
4826
+ inputFlowId: z.ZodOptional<z.ZodUUID>;
4827
+ inputFlowSessionId: z.ZodOptional<z.ZodString>;
4540
4828
  triggerMessageId: z.ZodOptional<z.ZodString>;
4541
4829
  returnMemberId: z.ZodOptional<z.ZodString>;
4542
4830
  requestDigest: z.ZodOptional<z.ZodString>;
@@ -4545,11 +4833,19 @@ export declare const supergroupSpec: {
4545
4833
  outputSeq: z.ZodOptional<z.ZodNumber>;
4546
4834
  stopReason: z.ZodOptional<z.ZodString>;
4547
4835
  reasonCode: z.ZodOptional<z.ZodString>;
4836
+ exportFlowId: z.ZodOptional<z.ZodUUID>;
4837
+ memoryWriteStatus: z.ZodOptional<z.ZodEnum<{
4838
+ failed: "failed";
4839
+ saved: "saved";
4840
+ unverified: "unverified";
4841
+ }>>;
4548
4842
  failure: z.ZodOptional<z.ZodObject<{
4549
4843
  code: z.ZodOptional<z.ZodString>;
4844
+ requestId: z.ZodOptional<z.ZodString>;
4550
4845
  status: z.ZodOptional<z.ZodNumber>;
4551
4846
  message: z.ZodString;
4552
4847
  }, z.core.$strict>>;
4848
+ staleExportClosedAt: z.ZodOptional<z.ZodNumber>;
4553
4849
  }, z.core.$strict>>;
4554
4850
  messages: z.ZodArray<z.ZodObject<{
4555
4851
  id: z.ZodString;
@@ -4628,6 +4924,7 @@ export declare const supergroupSpec: {
4628
4924
  stopReason: z.ZodOptional<z.ZodString>;
4629
4925
  failure: z.ZodOptional<z.ZodObject<{
4630
4926
  code: z.ZodOptional<z.ZodString>;
4927
+ requestId: z.ZodOptional<z.ZodString>;
4631
4928
  status: z.ZodOptional<z.ZodNumber>;
4632
4929
  message: z.ZodString;
4633
4930
  }, z.core.$strict>>;
@@ -4835,6 +5132,18 @@ export declare const supergroupSpec: {
4835
5132
  }[] | undefined;
4836
5133
  modelRevision?: number | undefined;
4837
5134
  nextMemberId?: string | undefined;
5135
+ exportApprovals?: {
5136
+ bot: {
5137
+ botId: string;
5138
+ botCreatedAt: number;
5139
+ };
5140
+ membershipRevision: number;
5141
+ members: {
5142
+ botId: string;
5143
+ botCreatedAt: number;
5144
+ }[];
5145
+ enabledAt: number;
5146
+ }[] | undefined;
4838
5147
  supergroup?: {
4839
5148
  workId: string;
4840
5149
  originSessionId: string;
@@ -4885,6 +5194,8 @@ export declare const supergroupSpec: {
4885
5194
  mode: "natural" | "mention" | "round-robin";
4886
5195
  contextThroughSeq: number;
4887
5196
  state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
5197
+ inputFlowId?: string | undefined;
5198
+ inputFlowSessionId?: string | undefined;
4888
5199
  ownerFollowUp?: {
4889
5200
  predecessorTurnId: string;
4890
5201
  predecessorTurnRevision: number;
@@ -4971,6 +5282,7 @@ export declare const supergroupSpec: {
4971
5282
  }[] | undefined;
4972
5283
  replyTo?: string | undefined;
4973
5284
  protocol?: 2 | undefined;
5285
+ memoryStatusOnly?: true | undefined;
4974
5286
  automaticExecutions?: number | undefined;
4975
5287
  continuationAllowance?: number | undefined;
4976
5288
  stoppedMemberIds?: string[] | undefined;
@@ -4998,6 +5310,8 @@ export declare const supergroupSpec: {
4998
5310
  childMessageId?: string | undefined;
4999
5311
  joinedDeliveryId?: string | undefined;
5000
5312
  childSessionId?: string | undefined;
5313
+ inputFlowId?: string | undefined;
5314
+ inputFlowSessionId?: string | undefined;
5001
5315
  triggerMessageId?: string | undefined;
5002
5316
  returnMemberId?: string | undefined;
5003
5317
  requestDigest?: string | undefined;
@@ -5006,11 +5320,15 @@ export declare const supergroupSpec: {
5006
5320
  outputSeq?: number | undefined;
5007
5321
  stopReason?: string | undefined;
5008
5322
  reasonCode?: string | undefined;
5323
+ exportFlowId?: string | undefined;
5324
+ memoryWriteStatus?: "failed" | "saved" | "unverified" | undefined;
5009
5325
  failure?: {
5010
5326
  message: string;
5011
5327
  code?: string | undefined;
5328
+ requestId?: string | undefined;
5012
5329
  status?: number | undefined;
5013
5330
  } | undefined;
5331
+ staleExportClosedAt?: number | undefined;
5014
5332
  }[];
5015
5333
  messages: {
5016
5334
  id: string;
@@ -5060,10 +5378,12 @@ export declare const supergroupSpec: {
5060
5378
  failure?: {
5061
5379
  message: string;
5062
5380
  code?: string | undefined;
5381
+ requestId?: string | undefined;
5063
5382
  status?: number | undefined;
5064
5383
  } | undefined;
5065
5384
  }[];
5066
5385
  hasEarlier: boolean;
5386
+ exportPendingCount?: number | undefined;
5067
5387
  latest?: {
5068
5388
  seq: number;
5069
5389
  at: number;
@@ -5265,6 +5585,18 @@ export declare const supergroupSpec: {
5265
5585
  }[] | undefined;
5266
5586
  modelRevision?: number | undefined;
5267
5587
  nextMemberId?: string | undefined;
5588
+ exportApprovals?: {
5589
+ bot: {
5590
+ botId: string;
5591
+ botCreatedAt: number;
5592
+ };
5593
+ membershipRevision: number;
5594
+ members: {
5595
+ botId: string;
5596
+ botCreatedAt: number;
5597
+ }[];
5598
+ enabledAt: number;
5599
+ }[] | undefined;
5268
5600
  supergroup?: {
5269
5601
  workId: string;
5270
5602
  originSessionId: string;
@@ -5315,6 +5647,8 @@ export declare const supergroupSpec: {
5315
5647
  mode: "natural" | "mention" | "round-robin";
5316
5648
  contextThroughSeq: number;
5317
5649
  state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
5650
+ inputFlowId?: string | undefined;
5651
+ inputFlowSessionId?: string | undefined;
5318
5652
  ownerFollowUp?: {
5319
5653
  predecessorTurnId: string;
5320
5654
  predecessorTurnRevision: number;
@@ -5401,6 +5735,7 @@ export declare const supergroupSpec: {
5401
5735
  }[] | undefined;
5402
5736
  replyTo?: string | undefined;
5403
5737
  protocol?: 2 | undefined;
5738
+ memoryStatusOnly?: true | undefined;
5404
5739
  automaticExecutions?: number | undefined;
5405
5740
  continuationAllowance?: number | undefined;
5406
5741
  stoppedMemberIds?: string[] | undefined;
@@ -5428,6 +5763,8 @@ export declare const supergroupSpec: {
5428
5763
  childMessageId?: string | undefined;
5429
5764
  joinedDeliveryId?: string | undefined;
5430
5765
  childSessionId?: string | undefined;
5766
+ inputFlowId?: string | undefined;
5767
+ inputFlowSessionId?: string | undefined;
5431
5768
  triggerMessageId?: string | undefined;
5432
5769
  returnMemberId?: string | undefined;
5433
5770
  requestDigest?: string | undefined;
@@ -5436,11 +5773,15 @@ export declare const supergroupSpec: {
5436
5773
  outputSeq?: number | undefined;
5437
5774
  stopReason?: string | undefined;
5438
5775
  reasonCode?: string | undefined;
5776
+ exportFlowId?: string | undefined;
5777
+ memoryWriteStatus?: "failed" | "saved" | "unverified" | undefined;
5439
5778
  failure?: {
5440
5779
  message: string;
5441
5780
  code?: string | undefined;
5781
+ requestId?: string | undefined;
5442
5782
  status?: number | undefined;
5443
5783
  } | undefined;
5784
+ staleExportClosedAt?: number | undefined;
5444
5785
  }[];
5445
5786
  messages: {
5446
5787
  id: string;
@@ -5490,10 +5831,12 @@ export declare const supergroupSpec: {
5490
5831
  failure?: {
5491
5832
  message: string;
5492
5833
  code?: string | undefined;
5834
+ requestId?: string | undefined;
5493
5835
  status?: number | undefined;
5494
5836
  } | undefined;
5495
5837
  }[];
5496
5838
  hasEarlier: boolean;
5839
+ exportPendingCount?: number | undefined;
5497
5840
  latest?: {
5498
5841
  seq: number;
5499
5842
  at: number;
@@ -5745,6 +6088,7 @@ export declare const supergroupSpec: {
5745
6088
  reason: z.ZodOptional<z.ZodString>;
5746
6089
  }, z.core.$strict>;
5747
6090
  group: z.ZodOptional<z.ZodObject<{
6091
+ exportPendingCount: z.ZodOptional<z.ZodNumber>;
5748
6092
  latest: z.ZodOptional<z.ZodObject<{
5749
6093
  seq: z.ZodNumber;
5750
6094
  at: z.ZodNumber;
@@ -5822,6 +6166,18 @@ export declare const supergroupSpec: {
5822
6166
  modelRevision: z.ZodOptional<z.ZodNumber>;
5823
6167
  nextMemberId: z.ZodOptional<z.ZodString>;
5824
6168
  membershipRevision: z.ZodNumber;
6169
+ exportApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
6170
+ bot: z.ZodObject<{
6171
+ botId: z.ZodString;
6172
+ botCreatedAt: z.ZodNumber;
6173
+ }, z.core.$strict>;
6174
+ membershipRevision: z.ZodNumber;
6175
+ members: z.ZodArray<z.ZodObject<{
6176
+ botId: z.ZodString;
6177
+ botCreatedAt: z.ZodNumber;
6178
+ }, z.core.$strict>>;
6179
+ enabledAt: z.ZodNumber;
6180
+ }, z.core.$strict>>>;
5825
6181
  revision: z.ZodNumber;
5826
6182
  archived: z.ZodBoolean;
5827
6183
  state: z.ZodEnum<{
@@ -5875,6 +6231,8 @@ export declare const supergroupSpec: {
5875
6231
  operationId: z.ZodString;
5876
6232
  requestDigest: z.ZodString;
5877
6233
  inputMessageId: z.ZodString;
6234
+ inputFlowId: z.ZodOptional<z.ZodUUID>;
6235
+ inputFlowSessionId: z.ZodOptional<z.ZodString>;
5878
6236
  ownerFollowUp: z.ZodOptional<z.ZodObject<{
5879
6237
  predecessorTurnId: z.ZodString;
5880
6238
  predecessorTurnRevision: z.ZodNumber;
@@ -5995,6 +6353,7 @@ export declare const supergroupSpec: {
5995
6353
  }, z.core.$strict>>>;
5996
6354
  replyTo: z.ZodOptional<z.ZodString>;
5997
6355
  protocol: z.ZodOptional<z.ZodLiteral<2>>;
6356
+ memoryStatusOnly: z.ZodOptional<z.ZodLiteral<true>>;
5998
6357
  automaticExecutions: z.ZodOptional<z.ZodNumber>;
5999
6358
  continuationAllowance: z.ZodOptional<z.ZodNumber>;
6000
6359
  stoppedMemberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -6041,6 +6400,8 @@ export declare const supergroupSpec: {
6041
6400
  childMessageId: z.ZodOptional<z.ZodString>;
6042
6401
  joinedDeliveryId: z.ZodOptional<z.ZodString>;
6043
6402
  childSessionId: z.ZodOptional<z.ZodString>;
6403
+ inputFlowId: z.ZodOptional<z.ZodUUID>;
6404
+ inputFlowSessionId: z.ZodOptional<z.ZodString>;
6044
6405
  triggerMessageId: z.ZodOptional<z.ZodString>;
6045
6406
  returnMemberId: z.ZodOptional<z.ZodString>;
6046
6407
  requestDigest: z.ZodOptional<z.ZodString>;
@@ -6049,11 +6410,19 @@ export declare const supergroupSpec: {
6049
6410
  outputSeq: z.ZodOptional<z.ZodNumber>;
6050
6411
  stopReason: z.ZodOptional<z.ZodString>;
6051
6412
  reasonCode: z.ZodOptional<z.ZodString>;
6413
+ exportFlowId: z.ZodOptional<z.ZodUUID>;
6414
+ memoryWriteStatus: z.ZodOptional<z.ZodEnum<{
6415
+ failed: "failed";
6416
+ saved: "saved";
6417
+ unverified: "unverified";
6418
+ }>>;
6052
6419
  failure: z.ZodOptional<z.ZodObject<{
6053
6420
  code: z.ZodOptional<z.ZodString>;
6421
+ requestId: z.ZodOptional<z.ZodString>;
6054
6422
  status: z.ZodOptional<z.ZodNumber>;
6055
6423
  message: z.ZodString;
6056
6424
  }, z.core.$strict>>;
6425
+ staleExportClosedAt: z.ZodOptional<z.ZodNumber>;
6057
6426
  }, z.core.$strict>>;
6058
6427
  messages: z.ZodArray<z.ZodObject<{
6059
6428
  id: z.ZodString;
@@ -6132,6 +6501,7 @@ export declare const supergroupSpec: {
6132
6501
  stopReason: z.ZodOptional<z.ZodString>;
6133
6502
  failure: z.ZodOptional<z.ZodObject<{
6134
6503
  code: z.ZodOptional<z.ZodString>;
6504
+ requestId: z.ZodOptional<z.ZodString>;
6135
6505
  status: z.ZodOptional<z.ZodNumber>;
6136
6506
  message: z.ZodString;
6137
6507
  }, z.core.$strict>>;
@@ -6298,6 +6668,18 @@ export declare const supergroupSpec: {
6298
6668
  }[] | undefined;
6299
6669
  modelRevision?: number | undefined;
6300
6670
  nextMemberId?: string | undefined;
6671
+ exportApprovals?: {
6672
+ bot: {
6673
+ botId: string;
6674
+ botCreatedAt: number;
6675
+ };
6676
+ membershipRevision: number;
6677
+ members: {
6678
+ botId: string;
6679
+ botCreatedAt: number;
6680
+ }[];
6681
+ enabledAt: number;
6682
+ }[] | undefined;
6301
6683
  supergroup?: {
6302
6684
  workId: string;
6303
6685
  originSessionId: string;
@@ -6348,6 +6730,8 @@ export declare const supergroupSpec: {
6348
6730
  mode: "natural" | "mention" | "round-robin";
6349
6731
  contextThroughSeq: number;
6350
6732
  state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
6733
+ inputFlowId?: string | undefined;
6734
+ inputFlowSessionId?: string | undefined;
6351
6735
  ownerFollowUp?: {
6352
6736
  predecessorTurnId: string;
6353
6737
  predecessorTurnRevision: number;
@@ -6434,6 +6818,7 @@ export declare const supergroupSpec: {
6434
6818
  }[] | undefined;
6435
6819
  replyTo?: string | undefined;
6436
6820
  protocol?: 2 | undefined;
6821
+ memoryStatusOnly?: true | undefined;
6437
6822
  automaticExecutions?: number | undefined;
6438
6823
  continuationAllowance?: number | undefined;
6439
6824
  stoppedMemberIds?: string[] | undefined;
@@ -6461,6 +6846,8 @@ export declare const supergroupSpec: {
6461
6846
  childMessageId?: string | undefined;
6462
6847
  joinedDeliveryId?: string | undefined;
6463
6848
  childSessionId?: string | undefined;
6849
+ inputFlowId?: string | undefined;
6850
+ inputFlowSessionId?: string | undefined;
6464
6851
  triggerMessageId?: string | undefined;
6465
6852
  returnMemberId?: string | undefined;
6466
6853
  requestDigest?: string | undefined;
@@ -6469,11 +6856,15 @@ export declare const supergroupSpec: {
6469
6856
  outputSeq?: number | undefined;
6470
6857
  stopReason?: string | undefined;
6471
6858
  reasonCode?: string | undefined;
6859
+ exportFlowId?: string | undefined;
6860
+ memoryWriteStatus?: "failed" | "saved" | "unverified" | undefined;
6472
6861
  failure?: {
6473
6862
  message: string;
6474
6863
  code?: string | undefined;
6864
+ requestId?: string | undefined;
6475
6865
  status?: number | undefined;
6476
6866
  } | undefined;
6867
+ staleExportClosedAt?: number | undefined;
6477
6868
  }[];
6478
6869
  messages: {
6479
6870
  id: string;
@@ -6523,10 +6914,12 @@ export declare const supergroupSpec: {
6523
6914
  failure?: {
6524
6915
  message: string;
6525
6916
  code?: string | undefined;
6917
+ requestId?: string | undefined;
6526
6918
  status?: number | undefined;
6527
6919
  } | undefined;
6528
6920
  }[];
6529
6921
  hasEarlier: boolean;
6922
+ exportPendingCount?: number | undefined;
6530
6923
  latest?: {
6531
6924
  seq: number;
6532
6925
  at: number;
@@ -6703,6 +7096,18 @@ export declare const supergroupSpec: {
6703
7096
  }[] | undefined;
6704
7097
  modelRevision?: number | undefined;
6705
7098
  nextMemberId?: string | undefined;
7099
+ exportApprovals?: {
7100
+ bot: {
7101
+ botId: string;
7102
+ botCreatedAt: number;
7103
+ };
7104
+ membershipRevision: number;
7105
+ members: {
7106
+ botId: string;
7107
+ botCreatedAt: number;
7108
+ }[];
7109
+ enabledAt: number;
7110
+ }[] | undefined;
6706
7111
  supergroup?: {
6707
7112
  workId: string;
6708
7113
  originSessionId: string;
@@ -6753,6 +7158,8 @@ export declare const supergroupSpec: {
6753
7158
  mode: "natural" | "mention" | "round-robin";
6754
7159
  contextThroughSeq: number;
6755
7160
  state: "running" | "completed" | "cancelled" | "accepted" | "recovery_needed" | "idle" | "paused" | "partial";
7161
+ inputFlowId?: string | undefined;
7162
+ inputFlowSessionId?: string | undefined;
6756
7163
  ownerFollowUp?: {
6757
7164
  predecessorTurnId: string;
6758
7165
  predecessorTurnRevision: number;
@@ -6839,6 +7246,7 @@ export declare const supergroupSpec: {
6839
7246
  }[] | undefined;
6840
7247
  replyTo?: string | undefined;
6841
7248
  protocol?: 2 | undefined;
7249
+ memoryStatusOnly?: true | undefined;
6842
7250
  automaticExecutions?: number | undefined;
6843
7251
  continuationAllowance?: number | undefined;
6844
7252
  stoppedMemberIds?: string[] | undefined;
@@ -6866,6 +7274,8 @@ export declare const supergroupSpec: {
6866
7274
  childMessageId?: string | undefined;
6867
7275
  joinedDeliveryId?: string | undefined;
6868
7276
  childSessionId?: string | undefined;
7277
+ inputFlowId?: string | undefined;
7278
+ inputFlowSessionId?: string | undefined;
6869
7279
  triggerMessageId?: string | undefined;
6870
7280
  returnMemberId?: string | undefined;
6871
7281
  requestDigest?: string | undefined;
@@ -6874,11 +7284,15 @@ export declare const supergroupSpec: {
6874
7284
  outputSeq?: number | undefined;
6875
7285
  stopReason?: string | undefined;
6876
7286
  reasonCode?: string | undefined;
7287
+ exportFlowId?: string | undefined;
7288
+ memoryWriteStatus?: "failed" | "saved" | "unverified" | undefined;
6877
7289
  failure?: {
6878
7290
  message: string;
6879
7291
  code?: string | undefined;
7292
+ requestId?: string | undefined;
6880
7293
  status?: number | undefined;
6881
7294
  } | undefined;
7295
+ staleExportClosedAt?: number | undefined;
6882
7296
  }[];
6883
7297
  messages: {
6884
7298
  id: string;
@@ -6928,10 +7342,12 @@ export declare const supergroupSpec: {
6928
7342
  failure?: {
6929
7343
  message: string;
6930
7344
  code?: string | undefined;
7345
+ requestId?: string | undefined;
6931
7346
  status?: number | undefined;
6932
7347
  } | undefined;
6933
7348
  }[];
6934
7349
  hasEarlier: boolean;
7350
+ exportPendingCount?: number | undefined;
6935
7351
  latest?: {
6936
7352
  seq: number;
6937
7353
  at: number;