@stigmer/protos 0.0.34

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 (510) hide show
  1. package/LICENSE +190 -0
  2. package/README.md +35 -0
  3. package/ai/stigmer/agentic/agent/v1/api_pb.d.ts +53 -0
  4. package/ai/stigmer/agentic/agent/v1/api_pb.js +18 -0
  5. package/ai/stigmer/agentic/agent/v1/api_pb.js.map +1 -0
  6. package/ai/stigmer/agentic/agent/v1/command_connect.d.ts +60 -0
  7. package/ai/stigmer/agentic/agent/v1/command_connect.js +66 -0
  8. package/ai/stigmer/agentic/agent/v1/command_connect.js.map +1 -0
  9. package/ai/stigmer/agentic/agent/v1/command_pb.d.ts +60 -0
  10. package/ai/stigmer/agentic/agent/v1/command_pb.js +19 -0
  11. package/ai/stigmer/agentic/agent/v1/command_pb.js.map +1 -0
  12. package/ai/stigmer/agentic/agent/v1/io_pb.d.ts +22 -0
  13. package/ai/stigmer/agentic/agent/v1/io_pb.js +15 -0
  14. package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -0
  15. package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +32 -0
  16. package/ai/stigmer/agentic/agent/v1/query_connect.js +38 -0
  17. package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -0
  18. package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +35 -0
  19. package/ai/stigmer/agentic/agent/v1/query_pb.js +20 -0
  20. package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -0
  21. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +373 -0
  22. package/ai/stigmer/agentic/agent/v1/spec_pb.js +38 -0
  23. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -0
  24. package/ai/stigmer/agentic/agent/v1/status_pb.d.ts +34 -0
  25. package/ai/stigmer/agentic/agent/v1/status_pb.js +15 -0
  26. package/ai/stigmer/agentic/agent/v1/status_pb.js.map +1 -0
  27. package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +296 -0
  28. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +35 -0
  29. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -0
  30. package/ai/stigmer/agentic/agentexecution/v1/approval_pb.d.ts +206 -0
  31. package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js +19 -0
  32. package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js.map +1 -0
  33. package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.d.ts +91 -0
  34. package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.js +16 -0
  35. package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.js.map +1 -0
  36. package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +413 -0
  37. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +419 -0
  38. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js.map +1 -0
  39. package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +407 -0
  40. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js +21 -0
  41. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -0
  42. package/ai/stigmer/agentic/agentexecution/v1/context_pb.d.ts +403 -0
  43. package/ai/stigmer/agentic/agentexecution/v1/context_pb.js +30 -0
  44. package/ai/stigmer/agentic/agentexecution/v1/context_pb.js.map +1 -0
  45. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +526 -0
  46. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +538 -0
  47. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -0
  48. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +1335 -0
  49. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +148 -0
  50. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -0
  51. package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +316 -0
  52. package/ai/stigmer/agentic/agentexecution/v1/message_pb.js +27 -0
  53. package/ai/stigmer/agentic/agentexecution/v1/message_pb.js.map +1 -0
  54. package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +146 -0
  55. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +152 -0
  56. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -0
  57. package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +142 -0
  58. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +19 -0
  59. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -0
  60. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +562 -0
  61. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +31 -0
  62. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -0
  63. package/ai/stigmer/agentic/agentexecution/v1/subagent_pb.d.ts +129 -0
  64. package/ai/stigmer/agentic/agentexecution/v1/subagent_pb.js +20 -0
  65. package/ai/stigmer/agentic/agentexecution/v1/subagent_pb.js.map +1 -0
  66. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +413 -0
  67. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +24 -0
  68. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -0
  69. package/ai/stigmer/agentic/agentinstance/v1/api_pb.d.ts +52 -0
  70. package/ai/stigmer/agentic/agentinstance/v1/api_pb.js +18 -0
  71. package/ai/stigmer/agentic/agentinstance/v1/api_pb.js.map +1 -0
  72. package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +71 -0
  73. package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +77 -0
  74. package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -0
  75. package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +71 -0
  76. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js +20 -0
  77. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -0
  78. package/ai/stigmer/agentic/agentinstance/v1/io_pb.d.ts +74 -0
  79. package/ai/stigmer/agentic/agentinstance/v1/io_pb.js +27 -0
  80. package/ai/stigmer/agentic/agentinstance/v1/io_pb.js.map +1 -0
  81. package/ai/stigmer/agentic/agentinstance/v1/query_connect.d.ts +46 -0
  82. package/ai/stigmer/agentic/agentinstance/v1/query_connect.js +52 -0
  83. package/ai/stigmer/agentic/agentinstance/v1/query_connect.js.map +1 -0
  84. package/ai/stigmer/agentic/agentinstance/v1/query_pb.d.ts +48 -0
  85. package/ai/stigmer/agentic/agentinstance/v1/query_pb.js +20 -0
  86. package/ai/stigmer/agentic/agentinstance/v1/query_pb.js.map +1 -0
  87. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +42 -0
  88. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js +16 -0
  89. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js.map +1 -0
  90. package/ai/stigmer/agentic/environment/v1/api_pb.d.ts +54 -0
  91. package/ai/stigmer/agentic/environment/v1/api_pb.js +18 -0
  92. package/ai/stigmer/agentic/environment/v1/api_pb.js.map +1 -0
  93. package/ai/stigmer/agentic/environment/v1/command_connect.d.ts +56 -0
  94. package/ai/stigmer/agentic/environment/v1/command_connect.js +62 -0
  95. package/ai/stigmer/agentic/environment/v1/command_connect.js.map +1 -0
  96. package/ai/stigmer/agentic/environment/v1/command_pb.d.ts +56 -0
  97. package/ai/stigmer/agentic/environment/v1/command_pb.js +19 -0
  98. package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -0
  99. package/ai/stigmer/agentic/environment/v1/io_pb.d.ts +22 -0
  100. package/ai/stigmer/agentic/environment/v1/io_pb.js +15 -0
  101. package/ai/stigmer/agentic/environment/v1/io_pb.js.map +1 -0
  102. package/ai/stigmer/agentic/environment/v1/query_connect.d.ts +32 -0
  103. package/ai/stigmer/agentic/environment/v1/query_connect.js +38 -0
  104. package/ai/stigmer/agentic/environment/v1/query_connect.js.map +1 -0
  105. package/ai/stigmer/agentic/environment/v1/query_pb.d.ts +34 -0
  106. package/ai/stigmer/agentic/environment/v1/query_pb.js +19 -0
  107. package/ai/stigmer/agentic/environment/v1/query_pb.js.map +1 -0
  108. package/ai/stigmer/agentic/environment/v1/spec_pb.d.ts +79 -0
  109. package/ai/stigmer/agentic/environment/v1/spec_pb.js +19 -0
  110. package/ai/stigmer/agentic/environment/v1/spec_pb.js.map +1 -0
  111. package/ai/stigmer/agentic/executioncontext/v1/api_pb.d.ts +54 -0
  112. package/ai/stigmer/agentic/executioncontext/v1/api_pb.js +18 -0
  113. package/ai/stigmer/agentic/executioncontext/v1/api_pb.js.map +1 -0
  114. package/ai/stigmer/agentic/executioncontext/v1/command_connect.d.ts +46 -0
  115. package/ai/stigmer/agentic/executioncontext/v1/command_connect.js +52 -0
  116. package/ai/stigmer/agentic/executioncontext/v1/command_connect.js.map +1 -0
  117. package/ai/stigmer/agentic/executioncontext/v1/command_pb.d.ts +47 -0
  118. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js +20 -0
  119. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js.map +1 -0
  120. package/ai/stigmer/agentic/executioncontext/v1/io_pb.d.ts +44 -0
  121. package/ai/stigmer/agentic/executioncontext/v1/io_pb.js +20 -0
  122. package/ai/stigmer/agentic/executioncontext/v1/io_pb.js.map +1 -0
  123. package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +54 -0
  124. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +60 -0
  125. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -0
  126. package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +56 -0
  127. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js +20 -0
  128. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -0
  129. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.d.ts +69 -0
  130. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js +20 -0
  131. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js.map +1 -0
  132. package/ai/stigmer/agentic/mcpserver/v1/api_pb.d.ts +129 -0
  133. package/ai/stigmer/agentic/mcpserver/v1/api_pb.js +23 -0
  134. package/ai/stigmer/agentic/mcpserver/v1/api_pb.js.map +1 -0
  135. package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +136 -0
  136. package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +142 -0
  137. package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -0
  138. package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +136 -0
  139. package/ai/stigmer/agentic/mcpserver/v1/command_pb.js +29 -0
  140. package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -0
  141. package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +62 -0
  142. package/ai/stigmer/agentic/mcpserver/v1/io_pb.js +21 -0
  143. package/ai/stigmer/agentic/mcpserver/v1/io_pb.js.map +1 -0
  144. package/ai/stigmer/agentic/mcpserver/v1/query_connect.d.ts +59 -0
  145. package/ai/stigmer/agentic/mcpserver/v1/query_connect.js +65 -0
  146. package/ai/stigmer/agentic/mcpserver/v1/query_connect.js.map +1 -0
  147. package/ai/stigmer/agentic/mcpserver/v1/query_pb.d.ts +61 -0
  148. package/ai/stigmer/agentic/mcpserver/v1/query_pb.js +25 -0
  149. package/ai/stigmer/agentic/mcpserver/v1/query_pb.js.map +1 -0
  150. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +332 -0
  151. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js +31 -0
  152. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -0
  153. package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +290 -0
  154. package/ai/stigmer/agentic/mcpserver/v1/status_pb.js +104 -0
  155. package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -0
  156. package/ai/stigmer/agentic/session/v1/api_pb.d.ts +52 -0
  157. package/ai/stigmer/agentic/session/v1/api_pb.js +18 -0
  158. package/ai/stigmer/agentic/session/v1/api_pb.js.map +1 -0
  159. package/ai/stigmer/agentic/session/v1/command_connect.d.ts +57 -0
  160. package/ai/stigmer/agentic/session/v1/command_connect.js +63 -0
  161. package/ai/stigmer/agentic/session/v1/command_connect.js.map +1 -0
  162. package/ai/stigmer/agentic/session/v1/command_pb.d.ts +57 -0
  163. package/ai/stigmer/agentic/session/v1/command_pb.js +19 -0
  164. package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -0
  165. package/ai/stigmer/agentic/session/v1/io_pb.d.ts +123 -0
  166. package/ai/stigmer/agentic/session/v1/io_pb.js +36 -0
  167. package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -0
  168. package/ai/stigmer/agentic/session/v1/query_connect.d.ts +43 -0
  169. package/ai/stigmer/agentic/session/v1/query_connect.js +49 -0
  170. package/ai/stigmer/agentic/session/v1/query_connect.js.map +1 -0
  171. package/ai/stigmer/agentic/session/v1/query_pb.d.ts +44 -0
  172. package/ai/stigmer/agentic/session/v1/query_pb.js +19 -0
  173. package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -0
  174. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +66 -0
  175. package/ai/stigmer/agentic/session/v1/spec_pb.js +16 -0
  176. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -0
  177. package/ai/stigmer/agentic/session/v1/workspace_pb.d.ts +167 -0
  178. package/ai/stigmer/agentic/session/v1/workspace_pb.js +30 -0
  179. package/ai/stigmer/agentic/session/v1/workspace_pb.js.map +1 -0
  180. package/ai/stigmer/agentic/skill/v1/api_pb.d.ts +85 -0
  181. package/ai/stigmer/agentic/skill/v1/api_pb.js +23 -0
  182. package/ai/stigmer/agentic/skill/v1/api_pb.js.map +1 -0
  183. package/ai/stigmer/agentic/skill/v1/command_connect.d.ts +50 -0
  184. package/ai/stigmer/agentic/skill/v1/command_connect.js +56 -0
  185. package/ai/stigmer/agentic/skill/v1/command_connect.js.map +1 -0
  186. package/ai/stigmer/agentic/skill/v1/command_pb.d.ts +52 -0
  187. package/ai/stigmer/agentic/skill/v1/command_pb.js +19 -0
  188. package/ai/stigmer/agentic/skill/v1/command_pb.js.map +1 -0
  189. package/ai/stigmer/agentic/skill/v1/io_pb.d.ts +118 -0
  190. package/ai/stigmer/agentic/skill/v1/io_pb.js +31 -0
  191. package/ai/stigmer/agentic/skill/v1/io_pb.js.map +1 -0
  192. package/ai/stigmer/agentic/skill/v1/query_connect.d.ts +57 -0
  193. package/ai/stigmer/agentic/skill/v1/query_connect.js +63 -0
  194. package/ai/stigmer/agentic/skill/v1/query_connect.js.map +1 -0
  195. package/ai/stigmer/agentic/skill/v1/query_pb.d.ts +59 -0
  196. package/ai/stigmer/agentic/skill/v1/query_pb.js +20 -0
  197. package/ai/stigmer/agentic/skill/v1/query_pb.js.map +1 -0
  198. package/ai/stigmer/agentic/skill/v1/spec_pb.d.ts +59 -0
  199. package/ai/stigmer/agentic/skill/v1/spec_pb.js +15 -0
  200. package/ai/stigmer/agentic/skill/v1/spec_pb.js.map +1 -0
  201. package/ai/stigmer/agentic/skill/v1/status_pb.d.ts +146 -0
  202. package/ai/stigmer/agentic/skill/v1/status_pb.js +57 -0
  203. package/ai/stigmer/agentic/skill/v1/status_pb.js.map +1 -0
  204. package/ai/stigmer/agentic/skill/v1/synth_pb.d.ts +125 -0
  205. package/ai/stigmer/agentic/skill/v1/synth_pb.js +24 -0
  206. package/ai/stigmer/agentic/skill/v1/synth_pb.js.map +1 -0
  207. package/ai/stigmer/agentic/workflow/v1/api_pb.d.ts +53 -0
  208. package/ai/stigmer/agentic/workflow/v1/api_pb.js +18 -0
  209. package/ai/stigmer/agentic/workflow/v1/api_pb.js.map +1 -0
  210. package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +60 -0
  211. package/ai/stigmer/agentic/workflow/v1/command_connect.js +66 -0
  212. package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -0
  213. package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +60 -0
  214. package/ai/stigmer/agentic/workflow/v1/command_pb.js +19 -0
  215. package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -0
  216. package/ai/stigmer/agentic/workflow/v1/enum_pb.d.ts +138 -0
  217. package/ai/stigmer/agentic/workflow/v1/enum_pb.js +143 -0
  218. package/ai/stigmer/agentic/workflow/v1/enum_pb.js.map +1 -0
  219. package/ai/stigmer/agentic/workflow/v1/io_pb.d.ts +22 -0
  220. package/ai/stigmer/agentic/workflow/v1/io_pb.js +15 -0
  221. package/ai/stigmer/agentic/workflow/v1/io_pb.js.map +1 -0
  222. package/ai/stigmer/agentic/workflow/v1/query_connect.d.ts +32 -0
  223. package/ai/stigmer/agentic/workflow/v1/query_connect.js +38 -0
  224. package/ai/stigmer/agentic/workflow/v1/query_connect.js.map +1 -0
  225. package/ai/stigmer/agentic/workflow/v1/query_pb.d.ts +35 -0
  226. package/ai/stigmer/agentic/workflow/v1/query_pb.js +20 -0
  227. package/ai/stigmer/agentic/workflow/v1/query_pb.js.map +1 -0
  228. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.d.ts +119 -0
  229. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js +63 -0
  230. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js.map +1 -0
  231. package/ai/stigmer/agentic/workflow/v1/spec_pb.d.ts +222 -0
  232. package/ai/stigmer/agentic/workflow/v1/spec_pb.js +39 -0
  233. package/ai/stigmer/agentic/workflow/v1/spec_pb.js.map +1 -0
  234. package/ai/stigmer/agentic/workflow/v1/status_pb.d.ts +48 -0
  235. package/ai/stigmer/agentic/workflow/v1/status_pb.js +16 -0
  236. package/ai/stigmer/agentic/workflow/v1/status_pb.js.map +1 -0
  237. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +153 -0
  238. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js +22 -0
  239. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -0
  240. package/ai/stigmer/agentic/workflow/v1/tasks/call_activity_pb.d.ts +45 -0
  241. package/ai/stigmer/agentic/workflow/v1/tasks/call_activity_pb.js +17 -0
  242. package/ai/stigmer/agentic/workflow/v1/tasks/call_activity_pb.js.map +1 -0
  243. package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.d.ts +58 -0
  244. package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js +17 -0
  245. package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js.map +1 -0
  246. package/ai/stigmer/agentic/workflow/v1/tasks/fork_pb.d.ts +77 -0
  247. package/ai/stigmer/agentic/workflow/v1/tasks/fork_pb.js +22 -0
  248. package/ai/stigmer/agentic/workflow/v1/tasks/fork_pb.js.map +1 -0
  249. package/ai/stigmer/agentic/workflow/v1/tasks/grpc_call_pb.d.ts +53 -0
  250. package/ai/stigmer/agentic/workflow/v1/tasks/grpc_call_pb.js +17 -0
  251. package/ai/stigmer/agentic/workflow/v1/tasks/grpc_call_pb.js.map +1 -0
  252. package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.d.ts +87 -0
  253. package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.js +22 -0
  254. package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.js.map +1 -0
  255. package/ai/stigmer/agentic/workflow/v1/tasks/listen_pb.d.ts +90 -0
  256. package/ai/stigmer/agentic/workflow/v1/tasks/listen_pb.js +26 -0
  257. package/ai/stigmer/agentic/workflow/v1/tasks/listen_pb.js.map +1 -0
  258. package/ai/stigmer/agentic/workflow/v1/tasks/raise_pb.d.ts +41 -0
  259. package/ai/stigmer/agentic/workflow/v1/tasks/raise_pb.js +16 -0
  260. package/ai/stigmer/agentic/workflow/v1/tasks/raise_pb.js.map +1 -0
  261. package/ai/stigmer/agentic/workflow/v1/tasks/run_pb.d.ts +43 -0
  262. package/ai/stigmer/agentic/workflow/v1/tasks/run_pb.js +17 -0
  263. package/ai/stigmer/agentic/workflow/v1/tasks/run_pb.js.map +1 -0
  264. package/ai/stigmer/agentic/workflow/v1/tasks/set_pb.d.ts +39 -0
  265. package/ai/stigmer/agentic/workflow/v1/tasks/set_pb.js +16 -0
  266. package/ai/stigmer/agentic/workflow/v1/tasks/set_pb.js.map +1 -0
  267. package/ai/stigmer/agentic/workflow/v1/tasks/switch_pb.d.ts +71 -0
  268. package/ai/stigmer/agentic/workflow/v1/tasks/switch_pb.js +21 -0
  269. package/ai/stigmer/agentic/workflow/v1/tasks/switch_pb.js.map +1 -0
  270. package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.d.ts +80 -0
  271. package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js +22 -0
  272. package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js.map +1 -0
  273. package/ai/stigmer/agentic/workflow/v1/tasks/wait_pb.d.ts +121 -0
  274. package/ai/stigmer/agentic/workflow/v1/tasks/wait_pb.js +22 -0
  275. package/ai/stigmer/agentic/workflow/v1/tasks/wait_pb.js.map +1 -0
  276. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +716 -0
  277. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js +31 -0
  278. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js.map +1 -0
  279. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +833 -0
  280. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +839 -0
  281. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js.map +1 -0
  282. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +827 -0
  283. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js +33 -0
  284. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -0
  285. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.d.ts +693 -0
  286. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js +700 -0
  287. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js.map +1 -0
  288. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +1198 -0
  289. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +211 -0
  290. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -0
  291. package/ai/stigmer/agentic/workflowexecution/v1/query_connect.d.ts +391 -0
  292. package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js +397 -0
  293. package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js.map +1 -0
  294. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.d.ts +391 -0
  295. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js +32 -0
  296. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js.map +1 -0
  297. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.d.ts +332 -0
  298. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js +15 -0
  299. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js.map +1 -0
  300. package/ai/stigmer/agentic/workflowinstance/v1/api_pb.d.ts +82 -0
  301. package/ai/stigmer/agentic/workflowinstance/v1/api_pb.js +18 -0
  302. package/ai/stigmer/agentic/workflowinstance/v1/api_pb.js.map +1 -0
  303. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.d.ts +139 -0
  304. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js +145 -0
  305. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js.map +1 -0
  306. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.d.ts +139 -0
  307. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js +29 -0
  308. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js.map +1 -0
  309. package/ai/stigmer/agentic/workflowinstance/v1/io_pb.d.ts +119 -0
  310. package/ai/stigmer/agentic/workflowinstance/v1/io_pb.js +27 -0
  311. package/ai/stigmer/agentic/workflowinstance/v1/io_pb.js.map +1 -0
  312. package/ai/stigmer/agentic/workflowinstance/v1/query_connect.d.ts +142 -0
  313. package/ai/stigmer/agentic/workflowinstance/v1/query_connect.js +148 -0
  314. package/ai/stigmer/agentic/workflowinstance/v1/query_connect.js.map +1 -0
  315. package/ai/stigmer/agentic/workflowinstance/v1/query_pb.d.ts +144 -0
  316. package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js +30 -0
  317. package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js.map +1 -0
  318. package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.d.ts +97 -0
  319. package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.js +16 -0
  320. package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.js.map +1 -0
  321. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.d.ts +68 -0
  322. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.js +53 -0
  323. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.js.map +1 -0
  324. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +253 -0
  325. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +199 -0
  326. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -0
  327. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.d.ts +257 -0
  328. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js +128 -0
  329. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js.map +1 -0
  330. package/ai/stigmer/commons/apiresource/enum_pb.d.ts +122 -0
  331. package/ai/stigmer/commons/apiresource/enum_pb.js +129 -0
  332. package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -0
  333. package/ai/stigmer/commons/apiresource/field_options_pb.d.ts +48 -0
  334. package/ai/stigmer/commons/apiresource/field_options_pb.js +52 -0
  335. package/ai/stigmer/commons/apiresource/field_options_pb.js.map +1 -0
  336. package/ai/stigmer/commons/apiresource/io_pb.d.ts +185 -0
  337. package/ai/stigmer/commons/apiresource/io_pb.js +37 -0
  338. package/ai/stigmer/commons/apiresource/io_pb.js.map +1 -0
  339. package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +115 -0
  340. package/ai/stigmer/commons/apiresource/metadata_pb.js +21 -0
  341. package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -0
  342. package/ai/stigmer/commons/apiresource/rpc_service_options_pb.d.ts +11 -0
  343. package/ai/stigmer/commons/apiresource/rpc_service_options_pb.js +15 -0
  344. package/ai/stigmer/commons/apiresource/rpc_service_options_pb.js.map +1 -0
  345. package/ai/stigmer/commons/apiresource/status_pb.d.ts +115 -0
  346. package/ai/stigmer/commons/apiresource/status_pb.js +30 -0
  347. package/ai/stigmer/commons/apiresource/status_pb.js.map +1 -0
  348. package/ai/stigmer/commons/rpc/pagination_pb.d.ts +49 -0
  349. package/ai/stigmer/commons/rpc/pagination_pb.js +19 -0
  350. package/ai/stigmer/commons/rpc/pagination_pb.js.map +1 -0
  351. package/ai/stigmer/iam/apikey/v1/api_pb.d.ts +74 -0
  352. package/ai/stigmer/iam/apikey/v1/api_pb.js +24 -0
  353. package/ai/stigmer/iam/apikey/v1/api_pb.js.map +1 -0
  354. package/ai/stigmer/iam/apikey/v1/command_connect.d.ts +43 -0
  355. package/ai/stigmer/iam/apikey/v1/command_connect.js +49 -0
  356. package/ai/stigmer/iam/apikey/v1/command_connect.js.map +1 -0
  357. package/ai/stigmer/iam/apikey/v1/command_pb.d.ts +44 -0
  358. package/ai/stigmer/iam/apikey/v1/command_pb.js +19 -0
  359. package/ai/stigmer/iam/apikey/v1/command_pb.js.map +1 -0
  360. package/ai/stigmer/iam/apikey/v1/io_pb.d.ts +55 -0
  361. package/ai/stigmer/iam/apikey/v1/io_pb.js +26 -0
  362. package/ai/stigmer/iam/apikey/v1/io_pb.js.map +1 -0
  363. package/ai/stigmer/iam/apikey/v1/query_connect.d.ts +46 -0
  364. package/ai/stigmer/iam/apikey/v1/query_connect.js +52 -0
  365. package/ai/stigmer/iam/apikey/v1/query_connect.js.map +1 -0
  366. package/ai/stigmer/iam/apikey/v1/query_pb.d.ts +48 -0
  367. package/ai/stigmer/iam/apikey/v1/query_pb.js +20 -0
  368. package/ai/stigmer/iam/apikey/v1/query_pb.js.map +1 -0
  369. package/ai/stigmer/iam/apikey/v1/spec_pb.d.ts +46 -0
  370. package/ai/stigmer/iam/apikey/v1/spec_pb.js +16 -0
  371. package/ai/stigmer/iam/apikey/v1/spec_pb.js.map +1 -0
  372. package/ai/stigmer/iam/iampolicy/v1/api_pb.d.ts +81 -0
  373. package/ai/stigmer/iam/iampolicy/v1/api_pb.js +23 -0
  374. package/ai/stigmer/iam/iampolicy/v1/api_pb.js.map +1 -0
  375. package/ai/stigmer/iam/iampolicy/v1/command_connect.d.ts +225 -0
  376. package/ai/stigmer/iam/iampolicy/v1/command_connect.js +231 -0
  377. package/ai/stigmer/iam/iampolicy/v1/command_connect.js.map +1 -0
  378. package/ai/stigmer/iam/iampolicy/v1/command_pb.d.ts +225 -0
  379. package/ai/stigmer/iam/iampolicy/v1/command_pb.js +34 -0
  380. package/ai/stigmer/iam/iampolicy/v1/command_pb.js.map +1 -0
  381. package/ai/stigmer/iam/iampolicy/v1/io_pb.d.ts +555 -0
  382. package/ai/stigmer/iam/iampolicy/v1/io_pb.js +122 -0
  383. package/ai/stigmer/iam/iampolicy/v1/io_pb.js.map +1 -0
  384. package/ai/stigmer/iam/iampolicy/v1/query_connect.d.ts +91 -0
  385. package/ai/stigmer/iam/iampolicy/v1/query_connect.js +97 -0
  386. package/ai/stigmer/iam/iampolicy/v1/query_connect.js.map +1 -0
  387. package/ai/stigmer/iam/iampolicy/v1/query_pb.d.ts +91 -0
  388. package/ai/stigmer/iam/iampolicy/v1/query_pb.js +19 -0
  389. package/ai/stigmer/iam/iampolicy/v1/query_pb.js.map +1 -0
  390. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.d.ts +171 -0
  391. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js +176 -0
  392. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js.map +1 -0
  393. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.d.ts +58 -0
  394. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js +16 -0
  395. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js.map +1 -0
  396. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.d.ts +19 -0
  397. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js +23 -0
  398. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js.map +1 -0
  399. package/ai/stigmer/iam/iampolicy/v1/spec_pb.d.ts +105 -0
  400. package/ai/stigmer/iam/iampolicy/v1/spec_pb.js +20 -0
  401. package/ai/stigmer/iam/iampolicy/v1/spec_pb.js.map +1 -0
  402. package/ai/stigmer/iam/identityaccount/v1/api_pb.d.ts +51 -0
  403. package/ai/stigmer/iam/identityaccount/v1/api_pb.js +18 -0
  404. package/ai/stigmer/iam/identityaccount/v1/api_pb.js.map +1 -0
  405. package/ai/stigmer/iam/identityaccount/v1/command_connect.d.ts +59 -0
  406. package/ai/stigmer/iam/identityaccount/v1/command_connect.js +65 -0
  407. package/ai/stigmer/iam/identityaccount/v1/command_connect.js.map +1 -0
  408. package/ai/stigmer/iam/identityaccount/v1/command_pb.d.ts +60 -0
  409. package/ai/stigmer/iam/identityaccount/v1/command_pb.js +20 -0
  410. package/ai/stigmer/iam/identityaccount/v1/command_pb.js.map +1 -0
  411. package/ai/stigmer/iam/identityaccount/v1/enum_pb.d.ts +40 -0
  412. package/ai/stigmer/iam/identityaccount/v1/enum_pb.js +45 -0
  413. package/ai/stigmer/iam/identityaccount/v1/enum_pb.js.map +1 -0
  414. package/ai/stigmer/iam/identityaccount/v1/io_pb.d.ts +138 -0
  415. package/ai/stigmer/iam/identityaccount/v1/io_pb.js +47 -0
  416. package/ai/stigmer/iam/identityaccount/v1/io_pb.js.map +1 -0
  417. package/ai/stigmer/iam/identityaccount/v1/query_connect.d.ts +79 -0
  418. package/ai/stigmer/iam/identityaccount/v1/query_connect.js +85 -0
  419. package/ai/stigmer/iam/identityaccount/v1/query_connect.js.map +1 -0
  420. package/ai/stigmer/iam/identityaccount/v1/query_pb.d.ts +80 -0
  421. package/ai/stigmer/iam/identityaccount/v1/query_pb.js +21 -0
  422. package/ai/stigmer/iam/identityaccount/v1/query_pb.js.map +1 -0
  423. package/ai/stigmer/iam/identityaccount/v1/spec_pb.d.ts +95 -0
  424. package/ai/stigmer/iam/identityaccount/v1/spec_pb.js +17 -0
  425. package/ai/stigmer/iam/identityaccount/v1/spec_pb.js.map +1 -0
  426. package/ai/stigmer/iam/identityaccount/v1/webhook_pb.d.ts +50 -0
  427. package/ai/stigmer/iam/identityaccount/v1/webhook_pb.js +14 -0
  428. package/ai/stigmer/iam/identityaccount/v1/webhook_pb.js.map +1 -0
  429. package/ai/stigmer/iam/identityprovider/v1/api_pb.d.ts +72 -0
  430. package/ai/stigmer/iam/identityprovider/v1/api_pb.js +18 -0
  431. package/ai/stigmer/iam/identityprovider/v1/api_pb.js.map +1 -0
  432. package/ai/stigmer/iam/identityprovider/v1/command_connect.d.ts +59 -0
  433. package/ai/stigmer/iam/identityprovider/v1/command_connect.js +65 -0
  434. package/ai/stigmer/iam/identityprovider/v1/command_connect.js.map +1 -0
  435. package/ai/stigmer/iam/identityprovider/v1/command_pb.d.ts +59 -0
  436. package/ai/stigmer/iam/identityprovider/v1/command_pb.js +19 -0
  437. package/ai/stigmer/iam/identityprovider/v1/command_pb.js.map +1 -0
  438. package/ai/stigmer/iam/identityprovider/v1/io_pb.d.ts +65 -0
  439. package/ai/stigmer/iam/identityprovider/v1/io_pb.js +26 -0
  440. package/ai/stigmer/iam/identityprovider/v1/io_pb.js.map +1 -0
  441. package/ai/stigmer/iam/identityprovider/v1/query_connect.d.ts +32 -0
  442. package/ai/stigmer/iam/identityprovider/v1/query_connect.js +38 -0
  443. package/ai/stigmer/iam/identityprovider/v1/query_connect.js.map +1 -0
  444. package/ai/stigmer/iam/identityprovider/v1/query_pb.d.ts +34 -0
  445. package/ai/stigmer/iam/identityprovider/v1/query_pb.js +19 -0
  446. package/ai/stigmer/iam/identityprovider/v1/query_pb.js.map +1 -0
  447. package/ai/stigmer/iam/identityprovider/v1/spec_pb.d.ts +106 -0
  448. package/ai/stigmer/iam/identityprovider/v1/spec_pb.js +15 -0
  449. package/ai/stigmer/iam/identityprovider/v1/spec_pb.js.map +1 -0
  450. package/ai/stigmer/search/v1/io_pb.d.ts +320 -0
  451. package/ai/stigmer/search/v1/io_pb.js +29 -0
  452. package/ai/stigmer/search/v1/io_pb.js.map +1 -0
  453. package/ai/stigmer/search/v1/query_connect.d.ts +67 -0
  454. package/ai/stigmer/search/v1/query_connect.js +73 -0
  455. package/ai/stigmer/search/v1/query_connect.js.map +1 -0
  456. package/ai/stigmer/search/v1/query_pb.d.ts +69 -0
  457. package/ai/stigmer/search/v1/query_pb.js +40 -0
  458. package/ai/stigmer/search/v1/query_pb.js.map +1 -0
  459. package/ai/stigmer/tenancy/organization/v1/api_pb.d.ts +54 -0
  460. package/ai/stigmer/tenancy/organization/v1/api_pb.js +18 -0
  461. package/ai/stigmer/tenancy/organization/v1/api_pb.js.map +1 -0
  462. package/ai/stigmer/tenancy/organization/v1/command_connect.d.ts +61 -0
  463. package/ai/stigmer/tenancy/organization/v1/command_connect.js +67 -0
  464. package/ai/stigmer/tenancy/organization/v1/command_connect.js.map +1 -0
  465. package/ai/stigmer/tenancy/organization/v1/command_pb.d.ts +61 -0
  466. package/ai/stigmer/tenancy/organization/v1/command_pb.js +19 -0
  467. package/ai/stigmer/tenancy/organization/v1/command_pb.js.map +1 -0
  468. package/ai/stigmer/tenancy/organization/v1/enum_pb.d.ts +34 -0
  469. package/ai/stigmer/tenancy/organization/v1/enum_pb.js +39 -0
  470. package/ai/stigmer/tenancy/organization/v1/enum_pb.js.map +1 -0
  471. package/ai/stigmer/tenancy/organization/v1/io_pb.d.ts +91 -0
  472. package/ai/stigmer/tenancy/organization/v1/io_pb.js +32 -0
  473. package/ai/stigmer/tenancy/organization/v1/io_pb.js.map +1 -0
  474. package/ai/stigmer/tenancy/organization/v1/query_connect.d.ts +61 -0
  475. package/ai/stigmer/tenancy/organization/v1/query_connect.js +67 -0
  476. package/ai/stigmer/tenancy/organization/v1/query_connect.js.map +1 -0
  477. package/ai/stigmer/tenancy/organization/v1/query_pb.d.ts +63 -0
  478. package/ai/stigmer/tenancy/organization/v1/query_pb.js +21 -0
  479. package/ai/stigmer/tenancy/organization/v1/query_pb.js.map +1 -0
  480. package/ai/stigmer/tenancy/organization/v1/spec_pb.d.ts +61 -0
  481. package/ai/stigmer/tenancy/organization/v1/spec_pb.js +17 -0
  482. package/ai/stigmer/tenancy/organization/v1/spec_pb.js.map +1 -0
  483. package/ai/stigmer/tenancy/project/v1/api_pb.d.ts +91 -0
  484. package/ai/stigmer/tenancy/project/v1/api_pb.js +18 -0
  485. package/ai/stigmer/tenancy/project/v1/api_pb.js.map +1 -0
  486. package/ai/stigmer/tenancy/project/v1/command_connect.d.ts +60 -0
  487. package/ai/stigmer/tenancy/project/v1/command_connect.js +66 -0
  488. package/ai/stigmer/tenancy/project/v1/command_connect.js.map +1 -0
  489. package/ai/stigmer/tenancy/project/v1/command_pb.d.ts +60 -0
  490. package/ai/stigmer/tenancy/project/v1/command_pb.js +19 -0
  491. package/ai/stigmer/tenancy/project/v1/command_pb.js.map +1 -0
  492. package/ai/stigmer/tenancy/project/v1/io_pb.d.ts +22 -0
  493. package/ai/stigmer/tenancy/project/v1/io_pb.js +15 -0
  494. package/ai/stigmer/tenancy/project/v1/io_pb.js.map +1 -0
  495. package/ai/stigmer/tenancy/project/v1/query_connect.d.ts +33 -0
  496. package/ai/stigmer/tenancy/project/v1/query_connect.js +39 -0
  497. package/ai/stigmer/tenancy/project/v1/query_connect.js.map +1 -0
  498. package/ai/stigmer/tenancy/project/v1/query_pb.d.ts +36 -0
  499. package/ai/stigmer/tenancy/project/v1/query_pb.js +20 -0
  500. package/ai/stigmer/tenancy/project/v1/query_pb.js.map +1 -0
  501. package/ai/stigmer/tenancy/project/v1/spec_pb.d.ts +84 -0
  502. package/ai/stigmer/tenancy/project/v1/spec_pb.js +15 -0
  503. package/ai/stigmer/tenancy/project/v1/spec_pb.js.map +1 -0
  504. package/ai/stigmer/tenancy/project/v1/status_pb.d.ts +89 -0
  505. package/ai/stigmer/tenancy/project/v1/status_pb.js +21 -0
  506. package/ai/stigmer/tenancy/project/v1/status_pb.js.map +1 -0
  507. package/buf/validate/validate_pb.d.ts +4766 -0
  508. package/buf/validate/validate_pb.js +357 -0
  509. package/buf/validate/validate_pb.js.map +1 -0
  510. package/package.json +32 -0
@@ -0,0 +1,827 @@
1
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { WorkflowExecutionSchema } from "./api_pb";
3
+ import type { CancelWorkflowExecutionInputSchema, PauseWorkflowExecutionInputSchema, RecoverWorkflowExecutionInputSchema, ResumeWorkflowExecutionInputSchema, SendSignalInputSchema, SubmitWorkflowApprovalInputSchema, TerminateWorkflowExecutionInputSchema, WorkflowExecutionUpdateStatusInputSchema } from "./io_pb";
4
+ import type { ApiResourceIdSchema } from "../../../commons/apiresource/io_pb";
5
+ /**
6
+ * Describes the file ai/stigmer/agentic/workflowexecution/v1/command.proto.
7
+ */
8
+ export declare const file_ai_stigmer_agentic_workflowexecution_v1_command: GenFile;
9
+ /**
10
+ * WorkflowExecutionCommandController handles write operations (Create, Update, Delete) for WorkflowExecution resources.
11
+ *
12
+ * This service follows the Command-Query Separation (CQS) pattern:
13
+ * - CommandController: Write operations (create, update, delete)
14
+ * - QueryController: Read operations (get, list, search)
15
+ *
16
+ * Authorization:
17
+ * All RPCs use custom authorization logic implemented in middleware.
18
+ * Custom authorization is needed because:
19
+ * - create: Must verify user has "execute" permission on the referenced WorkflowInstance
20
+ * - update: Only the workflow runner (system) can update execution status, not users
21
+ *
22
+ * Service Options:
23
+ * - api_resource_kind: workflow_execution - Links this service to the WorkflowExecution resource
24
+ *
25
+ * @generated from service ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController
26
+ */
27
+ export declare const WorkflowExecutionCommandController: GenService<{
28
+ /**
29
+ * Create and trigger a new workflow execution.
30
+ *
31
+ * This RPC creates a WorkflowExecution resource and immediately triggers it for execution.
32
+ * The workflow execution engine (Temporal) picks up the execution and begins processing tasks.
33
+ *
34
+ * Input Validation:
35
+ * - metadata.org must be specified
36
+ * - spec.workflow_instance_id is required and must reference an existing WorkflowInstance
37
+ * - api_version must be exactly "agentic.stigmer.ai/v1"
38
+ * - kind must be exactly "WorkflowExecution"
39
+ *
40
+ * Authorization:
41
+ * Custom authorization verifies:
42
+ * 1. User has "execute" permission on the referenced WorkflowInstance
43
+ * 2. User has access to all referenced Environments (from WorkflowInstance)
44
+ * 3. User has access to all referenced Secrets (from runtime_env secret_refs)
45
+ *
46
+ * Execution Flow:
47
+ * 1. Validate input (proto validation + business rules)
48
+ * 2. Check authorization (user can execute WorkflowInstance)
49
+ * 3. Create WorkflowExecution resource in database
50
+ * 4. Set initial status.phase = EXECUTION_PENDING
51
+ * 5. Trigger workflow in execution engine (Temporal)
52
+ * 6. Return WorkflowExecution with status.phase = EXECUTION_PENDING or EXECUTION_IN_PROGRESS
53
+ *
54
+ * Status After Create:
55
+ * - status.phase: EXECUTION_PENDING (or EXECUTION_IN_PROGRESS if already picked up)
56
+ * - status.audit.created_at: Current timestamp
57
+ * - status.audit.created_by: Authenticated user ID
58
+ * - status.started_at: Not set yet (set when phase transitions to IN_PROGRESS)
59
+ *
60
+ * Use Cases:
61
+ *
62
+ * 1. API-Triggered Execution:
63
+ * - User calls API to execute a workflow
64
+ * - Input: WorkflowExecution with spec.workflow_instance_id and spec.trigger_message
65
+ * - Output: WorkflowExecution with generated ID and PENDING status
66
+ *
67
+ * 2. Webhook-Triggered Execution:
68
+ * - External system (Stripe, GitHub, etc.) sends webhook
69
+ * - Webhook handler creates WorkflowExecution with webhook payload in spec.trigger_message
70
+ * - spec.trigger_metadata captures webhook source, event type, timestamp
71
+ *
72
+ * 3. Scheduled Execution:
73
+ * - Scheduler service creates WorkflowExecution at scheduled time
74
+ * - spec.trigger_metadata includes schedule ID and cron expression
75
+ *
76
+ * 4. UI-Triggered Execution:
77
+ * - User clicks "Execute" button in web console
78
+ * - UI creates WorkflowExecution with user-provided inputs
79
+ *
80
+ * 5. Workflow Chaining (Workflow A triggers Workflow B):
81
+ * - Workflow A completes, creates WorkflowExecution for Workflow B
82
+ * - spec.trigger_message contains output from Workflow A
83
+ * - spec.trigger_metadata includes parent workflow execution ID
84
+ *
85
+ * Error Cases:
86
+ *
87
+ * - INVALID_ARGUMENT:
88
+ * - workflow_instance_id is missing or invalid
89
+ * - org is missing
90
+ * - api_version or kind is incorrect
91
+ *
92
+ * - PERMISSION_DENIED:
93
+ * - User doesn't have "execute" permission on WorkflowInstance
94
+ * - User doesn't have access to referenced Environments
95
+ * - User doesn't have access to referenced Secrets
96
+ *
97
+ * - NOT_FOUND:
98
+ * - Referenced WorkflowInstance doesn't exist
99
+ * - Referenced Environment doesn't exist
100
+ * - Referenced Secret doesn't exist
101
+ *
102
+ * - FAILED_PRECONDITION:
103
+ * - WorkflowInstance is in invalid state (e.g., archived, disabled)
104
+ * - Too many concurrent executions (quota exceeded)
105
+ *
106
+ * Example Request:
107
+ * {
108
+ * "api_version": "agentic.stigmer.ai/v1",
109
+ * "kind": "WorkflowExecution",
110
+ * "metadata": {
111
+ * "name": "customer-onboarding-20250111-143022",
112
+ * "org": "acme"
113
+ * },
114
+ * "spec": {
115
+ * "workflow_instance_id": "wfi-customer-onboarding-prod",
116
+ * "trigger_message": "New signup: john.doe@example.com",
117
+ * "trigger_metadata": {
118
+ * "source": "api",
119
+ * "caller_id": "usr-jane-admin",
120
+ * "timestamp": "2025-01-11T14:30:22Z"
121
+ * },
122
+ * "runtime_env": {
123
+ * "CUSTOMER_EMAIL": { "value": "john.doe@example.com" }
124
+ * }
125
+ * }
126
+ * }
127
+ *
128
+ * Example Response:
129
+ * {
130
+ * "api_version": "agentic.stigmer.ai/v1",
131
+ * "kind": "WorkflowExecution",
132
+ * "metadata": {
133
+ * "id": "wfx-abc123xyz456", // Auto-generated
134
+ * "name": "customer-onboarding-20250111-143022",
135
+ * "org": "acme"
136
+ * },
137
+ * "spec": { ... }, // Same as request
138
+ * "status": {
139
+ * "phase": 1, // EXECUTION_PENDING
140
+ * "audit": {
141
+ * "created_at": "2025-01-11T14:30:22Z",
142
+ * "created_by": "usr-jane-admin"
143
+ * }
144
+ * }
145
+ * }
146
+ *
147
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.create
148
+ */
149
+ create: {
150
+ methodKind: "unary";
151
+ input: typeof WorkflowExecutionSchema;
152
+ output: typeof WorkflowExecutionSchema;
153
+ };
154
+ /**
155
+ * Update execution with full state.
156
+ * Used by users to update execution configuration (spec fields).
157
+ * No individual field updates - always provide complete state.
158
+ *
159
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.update
160
+ */
161
+ update: {
162
+ methodKind: "unary";
163
+ input: typeof WorkflowExecutionSchema;
164
+ output: typeof WorkflowExecutionSchema;
165
+ };
166
+ /**
167
+ * Update execution status during workflow execution.
168
+ * Used by workflow-runner to send progressive status updates (messages, task states, phase, etc.)
169
+ * This RPC is optimized for frequent status updates and merges status fields with existing state.
170
+ *
171
+ * This RPC is used by the workflow execution engine (Temporal) to update the status
172
+ * of a running workflow execution. Users cannot call this RPC directly.
173
+ *
174
+ * What Can Be Updated:
175
+ * - status.phase (PENDING → IN_PROGRESS → COMPLETED/FAILED/CANCELLED)
176
+ * - status.tasks (update task statuses, outputs, errors)
177
+ * - status.output (set final workflow output when COMPLETED)
178
+ * - status.error (set error message when FAILED)
179
+ * - status.started_at (set when execution starts)
180
+ * - status.completed_at (set when execution finishes)
181
+ *
182
+ * What Cannot Be Updated:
183
+ * - spec.* (user inputs are immutable after creation)
184
+ * - metadata.id (resource ID is immutable)
185
+ * - status.audit.created_at (creation timestamp is immutable)
186
+ *
187
+ * Authorization:
188
+ * Custom authorization verifies:
189
+ * 1. Caller is the workflow runner service (system identity, not a user)
190
+ * 2. Only status fields are being modified (spec and metadata unchanged)
191
+ *
192
+ * Update Flow:
193
+ * 1. Workflow runner executes a task
194
+ * 2. Task completes/fails
195
+ * 3. Workflow runner calls updateStatus() with:
196
+ * - Updated status.tasks (new task status, output/error)
197
+ * - Updated status.phase (if all tasks done)
198
+ * 4. Backend validates and persists update
199
+ * 5. Backend broadcasts update via WebSocket (for real-time UI updates)
200
+ *
201
+ * Use Cases:
202
+ *
203
+ * 1. Task Started:
204
+ * - Workflow runner updates status.tasks[i].status = IN_PROGRESS
205
+ *
206
+ * 2. Task Completed:
207
+ * - Workflow runner updates status.tasks[i].status = COMPLETED
208
+ * - Workflow runner sets status.tasks[i].output
209
+ *
210
+ * 3. Task Failed:
211
+ * - Workflow runner updates status.tasks[i].status = FAILED
212
+ * - Workflow runner sets status.tasks[i].error
213
+ * - Workflow runner updates status.phase = EXECUTION_FAILED
214
+ * - Workflow runner sets status.error
215
+ * - Workflow runner sets status.completed_at
216
+ *
217
+ * 4. Workflow Completed:
218
+ * - Workflow runner updates status.phase = EXECUTION_COMPLETED
219
+ * - Workflow runner sets status.output
220
+ * - Workflow runner sets status.completed_at
221
+ *
222
+ * 5. Workflow Cancelled:
223
+ * - Workflow runner receives cancellation signal
224
+ * - Workflow runner updates status.phase = EXECUTION_CANCELLED
225
+ * - Workflow runner sets status.completed_at
226
+ *
227
+ * Error Cases:
228
+ *
229
+ * - PERMISSION_DENIED:
230
+ * - Caller is not the workflow runner service (users cannot update status)
231
+ *
232
+ * - INVALID_ARGUMENT:
233
+ * - Trying to modify spec or metadata (only status can be updated)
234
+ * - Invalid phase transition (e.g., COMPLETED → IN_PROGRESS)
235
+ *
236
+ * - NOT_FOUND:
237
+ * - WorkflowExecution with given ID doesn't exist
238
+ *
239
+ * Example Request (Task Completed):
240
+ * {
241
+ * "metadata": {
242
+ * "id": "wfx-abc123xyz456"
243
+ * },
244
+ * "status": {
245
+ * "phase": 2, // EXECUTION_IN_PROGRESS
246
+ * "completed_tasks": 1,
247
+ * "tasks": [
248
+ * {
249
+ * "task_id": "task-1",
250
+ * "task_name": "validate_email",
251
+ * "status": 3, // WORKFLOW_TASK_COMPLETED
252
+ * "output": { "valid": true },
253
+ * "completed_at": "2025-01-11T14:30:27Z"
254
+ * },
255
+ * {
256
+ * "task_id": "task-2",
257
+ * "task_name": "create_account",
258
+ * "status": 2, // WORKFLOW_TASK_IN_PROGRESS
259
+ * "timestamp": "2025-01-11T14:30:27Z"
260
+ * }
261
+ * ]
262
+ * }
263
+ * }
264
+ *
265
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.updateStatus
266
+ */
267
+ updateStatus: {
268
+ methodKind: "unary";
269
+ input: typeof WorkflowExecutionUpdateStatusInputSchema;
270
+ output: typeof WorkflowExecutionSchema;
271
+ };
272
+ /**
273
+ * Submit approval for a child agent's tool execution (HITL Phase 5.3).
274
+ *
275
+ * This RPC forwards the approval decision to the child AgentExecution that
276
+ * is waiting for approval. The child is identified by the child_agent_execution_id
277
+ * in status.pending_approval.
278
+ *
279
+ * ## Behavior
280
+ *
281
+ * When a workflow invokes an agent that requires tool approval, the approval
282
+ * request surfaces at the workflow level via status.pending_approval. Users can
283
+ * submit their decision through this RPC, which forwards it to the child agent.
284
+ *
285
+ * The approval is forwarded to the child via AgentExecution.submitApproval RPC,
286
+ * ensuring consistent validation and Temporal workflow signaling.
287
+ *
288
+ * ## Preconditions
289
+ *
290
+ * - status.pending_approval must be populated
291
+ * - tool_call_id must match status.pending_approval.tool_call_id
292
+ * - status.pending_approval.child_agent_execution_id must not be empty
293
+ * - User must have can_edit permission on the workflow execution
294
+ *
295
+ * ## State Transitions
296
+ *
297
+ * After successful approval:
298
+ * - Approval is forwarded to child AgentExecution
299
+ * - Child agent resumes execution based on action (APPROVE/SKIP/REJECT)
300
+ * - Child agent clears its pending_approval, which triggers signal to parent
301
+ * - WorkflowExecution.status.pending_approval is eventually cleared
302
+ * - Workflow task status returns from WAITING_APPROVAL to IN_PROGRESS
303
+ *
304
+ * ## Approval Actions
305
+ *
306
+ * - APPROVE: Tool executes with the provided arguments
307
+ * - SKIP: Tool execution is skipped, agent continues with skip message
308
+ * - REJECT: Agent execution fails with rejection error
309
+ *
310
+ * ## Error Cases
311
+ *
312
+ * - NOT_FOUND: Workflow execution doesn't exist
313
+ * - PERMISSION_DENIED: User doesn't have can_edit permission
314
+ * - FAILED_PRECONDITION: No pending approval, or child agent not waiting
315
+ * - INVALID_ARGUMENT: Tool call ID mismatch, or action is UNSPECIFIED
316
+ * - UNAVAILABLE: Failed to forward to child agent (transient error)
317
+ *
318
+ * ## Idempotency
319
+ *
320
+ * If the same approval is submitted twice (same workflow execution, tool_call_id,
321
+ * and action), the second call is a no-op if the approval was already processed.
322
+ *
323
+ * ## Alternative: Direct Agent Approval
324
+ *
325
+ * Users can also submit approvals directly via AgentExecution.submitApproval
326
+ * using the child_agent_execution_id. Both paths are equivalent and result
327
+ * in the same state transitions.
328
+ *
329
+ * @since Phase 5.3 (Approval Forwarding)
330
+ *
331
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.submitApproval
332
+ */
333
+ submitApproval: {
334
+ methodKind: "unary";
335
+ input: typeof SubmitWorkflowApprovalInputSchema;
336
+ output: typeof WorkflowExecutionSchema;
337
+ };
338
+ /**
339
+ * Delete an execution.
340
+ *
341
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.delete
342
+ */
343
+ delete: {
344
+ methodKind: "unary";
345
+ input: typeof ApiResourceIdSchema;
346
+ output: typeof WorkflowExecutionSchema;
347
+ };
348
+ /**
349
+ * Send a signal to a running workflow execution.
350
+ *
351
+ * Delivers a signal to a workflow execution, typically to unblock a LISTEN task.
352
+ * Uses Temporal's SignalWithStart API internally for race-proof delivery.
353
+ *
354
+ * ## Behavior
355
+ *
356
+ * 1. Validates execution exists and is in a signalable phase
357
+ * 2. Uses Temporal SignalWithStart for atomic delivery:
358
+ * - If workflow exists → sends signal immediately
359
+ * - If workflow not started yet → starts workflow, then sends signal
360
+ * 3. Signal is delivered to workflow's signal channel
361
+ * 4. LISTEN task waiting for this signal will unblock and continue
362
+ * 5. Returns the current WorkflowExecution state
363
+ *
364
+ * ## Preconditions
365
+ *
366
+ * - Execution must be in EXECUTION_PENDING or EXECUTION_IN_PROGRESS phase
367
+ * - Cannot signal terminal executions (COMPLETED, FAILED, CANCELLED, TERMINATED)
368
+ * - User must have can_edit permission on the workflow execution
369
+ *
370
+ * ## Race-Proof Delivery (SignalWithStart)
371
+ *
372
+ * This RPC uses Temporal's SignalWithStart API to handle the race condition
373
+ * where a signal might arrive before the workflow is fully started:
374
+ * - Traditional SignalWorkflow fails with "WorkflowNotFound" if called too early
375
+ * - SignalWithStart atomically: starts workflow if needed, then sends signal
376
+ * - Guarantees signal delivery even in race conditions
377
+ *
378
+ * ## Signal Matching
379
+ *
380
+ * The signal_name must match the signal ID defined in the workflow's LISTEN task:
381
+ *
382
+ * Workflow YAML:
383
+ * - waitForPayment:
384
+ * listen:
385
+ * to:
386
+ * one:
387
+ * with:
388
+ * id: payment_confirmed # <-- signal_name must match this
389
+ * type: signal
390
+ *
391
+ * API Call:
392
+ * { "signal_name": "payment_confirmed", "payload": {...} }
393
+ *
394
+ * ## Error Cases
395
+ *
396
+ * - NOT_FOUND: Workflow execution doesn't exist
397
+ * - PERMISSION_DENIED: User doesn't have can_edit permission
398
+ * - FAILED_PRECONDITION: Execution is in a terminal phase
399
+ * - INVALID_ARGUMENT: execution_id or signal_name is empty
400
+ *
401
+ * ## Example Request
402
+ *
403
+ * {
404
+ * "execution_id": "wfx-abc123xyz456",
405
+ * "signal_name": "payment_confirmed",
406
+ * "payload": {
407
+ * "transaction_id": "txn_123",
408
+ * "amount": 99.99,
409
+ * "currency": "USD"
410
+ * }
411
+ * }
412
+ *
413
+ * ## Example Response
414
+ *
415
+ * Returns the current WorkflowExecution state (phase may still be IN_PROGRESS
416
+ * as the workflow continues after receiving the signal).
417
+ *
418
+ * @since Gap B1 (Signal-With-Start for race-proof event delivery)
419
+ *
420
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.sendSignal
421
+ */
422
+ sendSignal: {
423
+ methodKind: "unary";
424
+ input: typeof SendSignalInputSchema;
425
+ output: typeof WorkflowExecutionSchema;
426
+ };
427
+ /**
428
+ * Cancel a running workflow execution gracefully.
429
+ *
430
+ * Sends a cancellation signal to the workflow via Temporal's CancelWorkflow API.
431
+ * The workflow code can handle the cancellation signal to perform cleanup
432
+ * (e.g., compensation logic, resource cleanup, notifications) before
433
+ * transitioning to the CANCELLED phase.
434
+ *
435
+ * Temporal Equivalent: `temporal workflow cancel --workflow-id <id>`
436
+ *
437
+ * ## Behavior
438
+ *
439
+ * 1. Validates execution exists and is in a cancellable phase
440
+ * 2. Sends cancellation signal to Temporal workflow
441
+ * 3. Workflow code receives the signal and can perform cleanup
442
+ * 4. Execution transitions to EXECUTION_CANCELLED phase
443
+ * 5. Returns updated WorkflowExecution with new phase
444
+ *
445
+ * ## Preconditions
446
+ *
447
+ * - Execution must be in EXECUTION_PENDING or EXECUTION_IN_PROGRESS phase
448
+ * - Cannot cancel already-terminal executions (COMPLETED, FAILED, CANCELLED, TERMINATED)
449
+ *
450
+ * ## State Transitions
451
+ *
452
+ * - status.phase: PENDING/IN_PROGRESS → CANCELLED
453
+ * - status.completed_at: Set to current timestamp
454
+ * - In-progress tasks: May complete cleanup or be interrupted
455
+ *
456
+ * ## Idempotency
457
+ *
458
+ * Cancelling an already-cancelled execution succeeds as a no-op.
459
+ * The call returns the current execution state without side effects.
460
+ * This ensures safe retry of cancel requests.
461
+ *
462
+ * ## Error Cases
463
+ *
464
+ * - NOT_FOUND: Execution with given ID doesn't exist
465
+ * - PERMISSION_DENIED: User lacks can_edit permission on the execution
466
+ * - FAILED_PRECONDITION: Execution is in a terminal phase (COMPLETED, FAILED, TERMINATED)
467
+ * - INVALID_ARGUMENT: ID is empty or malformed
468
+ *
469
+ * ## Example Request
470
+ *
471
+ * {
472
+ * "id": "wfx-abc123xyz456",
473
+ * "reason": "Customer requested cancellation - order no longer needed"
474
+ * }
475
+ *
476
+ * ## Example Response
477
+ *
478
+ * {
479
+ * "api_version": "agentic.stigmer.ai/v1",
480
+ * "kind": "WorkflowExecution",
481
+ * "metadata": { "id": "wfx-abc123xyz456" },
482
+ * "status": {
483
+ * "phase": 5, // EXECUTION_CANCELLED
484
+ * "completed_at": "2026-02-07T18:30:00Z"
485
+ * }
486
+ * }
487
+ *
488
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.cancel
489
+ */
490
+ cancel: {
491
+ methodKind: "unary";
492
+ input: typeof CancelWorkflowExecutionInputSchema;
493
+ output: typeof WorkflowExecutionSchema;
494
+ };
495
+ /**
496
+ * Terminate a workflow execution immediately.
497
+ *
498
+ * Force-stops the workflow via Temporal's TerminateWorkflow API without
499
+ * allowing cleanup. Unlike cancel, the workflow code cannot respond to
500
+ * termination - it is stopped immediately. Use this for stuck or
501
+ * unresponsive workflows that don't respond to cancellation.
502
+ *
503
+ * Temporal Equivalent: `temporal workflow terminate --workflow-id <id>`
504
+ *
505
+ * ## Behavior
506
+ *
507
+ * 1. Validates execution exists and is in a terminable phase
508
+ * 2. Force-kills workflow via Temporal (no signal sent to workflow)
509
+ * 3. Execution transitions to EXECUTION_TERMINATED phase immediately
510
+ * 4. No cleanup callbacks or defer blocks are executed
511
+ * 5. Returns updated WorkflowExecution with TERMINATED phase
512
+ *
513
+ * ## Preconditions
514
+ *
515
+ * - Execution must be in EXECUTION_PENDING or EXECUTION_IN_PROGRESS phase
516
+ * - Cannot terminate already-terminal executions
517
+ *
518
+ * ## State Transitions
519
+ *
520
+ * - status.phase: PENDING/IN_PROGRESS → TERMINATED
521
+ * - status.completed_at: Set to current timestamp
522
+ * - status.error: May contain termination reason
523
+ * - In-progress tasks: Stopped abruptly (no cleanup)
524
+ *
525
+ * ## Terminated vs Cancelled
526
+ *
527
+ * | Aspect | cancel | terminate |
528
+ * |--------|--------|-----------|
529
+ * | Signal to workflow | Yes (can handle) | No |
530
+ * | Cleanup opportunity | Yes | No |
531
+ * | Use case | Normal stop | Stuck workflows |
532
+ * | Can recover? | No | No |
533
+ *
534
+ * ## Idempotency
535
+ *
536
+ * Terminating an already-terminated execution succeeds as a no-op.
537
+ * The call returns the current execution state without side effects.
538
+ *
539
+ * ## Error Cases
540
+ *
541
+ * - NOT_FOUND: Execution with given ID doesn't exist
542
+ * - PERMISSION_DENIED: User lacks can_edit permission on the execution
543
+ * - FAILED_PRECONDITION: Execution is in a terminal phase
544
+ * - INVALID_ARGUMENT: ID is empty or malformed
545
+ *
546
+ * ## Example Request
547
+ *
548
+ * {
549
+ * "id": "wfx-abc123xyz456",
550
+ * "reason": "Workflow stuck for 2 hours, not responding to cancel"
551
+ * }
552
+ *
553
+ * ## Example Response
554
+ *
555
+ * {
556
+ * "api_version": "agentic.stigmer.ai/v1",
557
+ * "kind": "WorkflowExecution",
558
+ * "metadata": { "id": "wfx-abc123xyz456" },
559
+ * "status": {
560
+ * "phase": 6, // EXECUTION_TERMINATED
561
+ * "completed_at": "2026-02-07T18:35:00Z",
562
+ * "error": "Terminated by operator: Workflow stuck for 2 hours"
563
+ * }
564
+ * }
565
+ *
566
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.terminate
567
+ */
568
+ terminate: {
569
+ methodKind: "unary";
570
+ input: typeof TerminateWorkflowExecutionInputSchema;
571
+ output: typeof WorkflowExecutionSchema;
572
+ };
573
+ /**
574
+ * Recover a failed workflow execution from the last checkpoint.
575
+ *
576
+ * Resumes execution from the last successful point using Temporal's
577
+ * ResetWorkflow API. Completed work is preserved - successful tasks
578
+ * are NOT re-executed. This enables "retry and resume" semantics
579
+ * without duplicating side effects.
580
+ *
581
+ * Temporal Equivalent: `temporal workflow reset --workflow-id <id> --type LastWorkflowTask`
582
+ *
583
+ * ## Behavior
584
+ *
585
+ * 1. Validates execution is in FAILED phase (recoverable)
586
+ * 2. Identifies the last successful checkpoint in workflow history
587
+ * 3. Creates new Temporal run from that checkpoint via ResetWorkflow
588
+ * 4. Execution transitions from FAILED to IN_PROGRESS phase
589
+ * 5. Workflow continues from where it failed
590
+ * 6. Returns updated WorkflowExecution with IN_PROGRESS phase
591
+ *
592
+ * ## Preconditions
593
+ *
594
+ * - Execution must be in EXECUTION_FAILED phase
595
+ * - TERMINATED executions cannot be recovered (intentional hard stop)
596
+ * - CANCELLED executions cannot be recovered (intentional user action)
597
+ * - COMPLETED executions don't need recovery
598
+ *
599
+ * ## State Transitions
600
+ *
601
+ * - status.phase: FAILED → IN_PROGRESS
602
+ * - status.completed_at: Cleared (execution is running again)
603
+ * - status.error: Cleared (no longer failed)
604
+ * - Completed tasks: Preserved (not re-executed)
605
+ * - Failed tasks: Reset to pending, will be retried
606
+ *
607
+ * ## Recovery vs Restart
608
+ *
609
+ * | Aspect | recover | Create new execution |
610
+ * |--------|---------|----------------------|
611
+ * | Completed work | Preserved | Lost (re-executed) |
612
+ * | Side effects | Not duplicated | May duplicate |
613
+ * | Execution ID | Same | New ID |
614
+ * | Use case | Resume after fix | Start fresh |
615
+ *
616
+ * ## Idempotency
617
+ *
618
+ * If recovery already succeeded (execution is now IN_PROGRESS from a
619
+ * previous recover call), the call succeeds as a no-op and returns
620
+ * the current execution state.
621
+ *
622
+ * ## Error Cases
623
+ *
624
+ * - NOT_FOUND: Execution with given ID doesn't exist
625
+ * - PERMISSION_DENIED: User lacks can_edit permission on the execution
626
+ * - FAILED_PRECONDITION:
627
+ * - Execution is not in FAILED phase
628
+ * - Execution is TERMINATED (cannot recover)
629
+ * - Execution is CANCELLED (cannot recover)
630
+ * - INVALID_ARGUMENT: ID is empty or malformed
631
+ *
632
+ * ## Example Request
633
+ *
634
+ * {
635
+ * "id": "wfx-abc123xyz456",
636
+ * "reason": "Stripe API recovered, resuming payment processing"
637
+ * }
638
+ *
639
+ * ## Example Response
640
+ *
641
+ * {
642
+ * "api_version": "agentic.stigmer.ai/v1",
643
+ * "kind": "WorkflowExecution",
644
+ * "metadata": { "id": "wfx-abc123xyz456" },
645
+ * "status": {
646
+ * "phase": 2, // EXECUTION_IN_PROGRESS
647
+ * "started_at": "2026-02-07T10:00:00Z",
648
+ * "tasks": [
649
+ * { "task_id": "task-1", "status": 3 }, // COMPLETED (preserved)
650
+ * { "task_id": "task-2", "status": 2 } // IN_PROGRESS (resumed)
651
+ * ]
652
+ * }
653
+ * }
654
+ *
655
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.recover
656
+ */
657
+ recover: {
658
+ methodKind: "unary";
659
+ input: typeof RecoverWorkflowExecutionInputSchema;
660
+ output: typeof WorkflowExecutionSchema;
661
+ };
662
+ /**
663
+ * Pause a running workflow execution.
664
+ *
665
+ * Temporarily stops the workflow at its current checkpoint. Unlike cancel,
666
+ * the execution is NOT terminal and can be resumed later from where it left off.
667
+ * The workflow gracefully checkpoints and exits, preserving all progress.
668
+ *
669
+ * ## Behavior
670
+ *
671
+ * 1. Validates execution exists and is in a pausable phase
672
+ * 2. Sends "pause" signal to Temporal workflow
673
+ * 3. Workflow receives signal and sets pauseRequested flag
674
+ * 4. Running activities are gracefully cancelled (checkpoints saved)
675
+ * 5. Execution transitions to EXECUTION_PAUSED phase
676
+ * 6. Workflow waits for resume signal (no resources consumed)
677
+ * 7. Returns updated WorkflowExecution with PAUSED phase
678
+ *
679
+ * ## Preconditions
680
+ *
681
+ * - Execution must be in EXECUTION_PENDING or EXECUTION_IN_PROGRESS phase
682
+ * - Cannot pause already-terminal executions (COMPLETED, FAILED, CANCELLED, TERMINATED)
683
+ *
684
+ * ## State Transitions
685
+ *
686
+ * - status.phase: PENDING/IN_PROGRESS → PAUSED
687
+ * - status.completed_at: NOT set (execution is not finished)
688
+ * - Running activities: Gracefully cancelled, checkpoint saved
689
+ * - LangGraph state: Preserved via thread_id checkpoint
690
+ *
691
+ * ## Paused vs Cancelled
692
+ *
693
+ * | Aspect | pause | cancel |
694
+ * |--------|-------|--------|
695
+ * | Terminal state? | No | Yes |
696
+ * | Can resume? | Yes (via resume RPC) | No |
697
+ * | Checkpoint saved? | Yes | Best-effort |
698
+ * | Progress preserved? | Yes | No |
699
+ * | Use case | Temporary stop, maintenance | Permanent stop |
700
+ *
701
+ * ## Agent Activity Behavior
702
+ *
703
+ * When pause is signaled to a workflow running an agent:
704
+ * 1. Workflow cancels the running activity gracefully
705
+ * 2. Python activity catches CancelledError
706
+ * 3. LangGraph saves final checkpoint automatically
707
+ * 4. Activity returns with paused status
708
+ * 5. On resume, activity loads from checkpoint and continues
709
+ *
710
+ * ## Idempotency
711
+ *
712
+ * Pausing an already-paused execution succeeds as a no-op.
713
+ * The call returns the current execution state without side effects.
714
+ *
715
+ * ## Error Cases
716
+ *
717
+ * - NOT_FOUND: Execution with given ID doesn't exist
718
+ * - PERMISSION_DENIED: User lacks can_edit permission on the execution
719
+ * - FAILED_PRECONDITION: Execution is in a terminal phase
720
+ * - INVALID_ARGUMENT: ID is empty or malformed
721
+ *
722
+ * ## Example Request
723
+ *
724
+ * {
725
+ * "id": "wfx-abc123xyz456",
726
+ * "reason": "Pausing for scheduled maintenance window"
727
+ * }
728
+ *
729
+ * ## Example Response
730
+ *
731
+ * {
732
+ * "api_version": "agentic.stigmer.ai/v1",
733
+ * "kind": "WorkflowExecution",
734
+ * "metadata": { "id": "wfx-abc123xyz456" },
735
+ * "status": {
736
+ * "phase": 7, // EXECUTION_PAUSED
737
+ * "started_at": "2026-02-07T10:00:00Z"
738
+ * // Note: completed_at is NOT set (execution can be resumed)
739
+ * }
740
+ * }
741
+ *
742
+ * @since Gap A3 (Pause/Resume Propagation)
743
+ *
744
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.pause
745
+ */
746
+ pause: {
747
+ methodKind: "unary";
748
+ input: typeof PauseWorkflowExecutionInputSchema;
749
+ output: typeof WorkflowExecutionSchema;
750
+ };
751
+ /**
752
+ * Resume a paused workflow execution.
753
+ *
754
+ * Continues execution from the checkpoint where it was paused. The workflow
755
+ * re-invokes activities with the same thread_id, which loads from checkpoint
756
+ * and continues from where it left off.
757
+ *
758
+ * ## Behavior
759
+ *
760
+ * 1. Validates execution is in EXECUTION_PAUSED phase
761
+ * 2. Sends "resume" signal to Temporal workflow
762
+ * 3. Workflow receives signal and sets resumeSignalReceived flag
763
+ * 4. Workflow re-invokes activity with same execution context
764
+ * 5. Activity detects resume and loads from LangGraph checkpoint
765
+ * 6. Execution transitions back to EXECUTION_IN_PROGRESS phase
766
+ * 7. Returns updated WorkflowExecution with IN_PROGRESS phase
767
+ *
768
+ * ## Preconditions
769
+ *
770
+ * - Execution must be in EXECUTION_PAUSED phase
771
+ * - Cannot resume non-paused executions
772
+ *
773
+ * ## State Transitions
774
+ *
775
+ * - status.phase: PAUSED → IN_PROGRESS
776
+ * - Activities: Re-invoked, load from checkpoint
777
+ * - LangGraph state: Loaded from checkpoint via thread_id
778
+ *
779
+ * ## Resume Behavior
780
+ *
781
+ * When resume is signaled to a paused workflow:
782
+ * 1. Java workflow unblocks from Workflow.await()
783
+ * 2. Workflow re-invokes the activity with same parameters
784
+ * 3. Python activity reads thread_id from heartbeat_details
785
+ * 4. LangGraph loads checkpoint using thread_id
786
+ * 5. Agent continues from exact position where it was paused
787
+ *
788
+ * ## Idempotency
789
+ *
790
+ * Resuming an already-running execution succeeds as a no-op.
791
+ * The call returns the current execution state without side effects.
792
+ *
793
+ * ## Error Cases
794
+ *
795
+ * - NOT_FOUND: Execution with given ID doesn't exist
796
+ * - PERMISSION_DENIED: User lacks can_edit permission on the execution
797
+ * - FAILED_PRECONDITION: Execution is not in PAUSED phase
798
+ * - INVALID_ARGUMENT: ID is empty or malformed
799
+ *
800
+ * ## Example Request
801
+ *
802
+ * {
803
+ * "id": "wfx-abc123xyz456"
804
+ * }
805
+ *
806
+ * ## Example Response
807
+ *
808
+ * {
809
+ * "api_version": "agentic.stigmer.ai/v1",
810
+ * "kind": "WorkflowExecution",
811
+ * "metadata": { "id": "wfx-abc123xyz456" },
812
+ * "status": {
813
+ * "phase": 2, // EXECUTION_IN_PROGRESS
814
+ * "started_at": "2026-02-07T10:00:00Z"
815
+ * }
816
+ * }
817
+ *
818
+ * @since Gap A3 (Pause/Resume Propagation)
819
+ *
820
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.resume
821
+ */
822
+ resume: {
823
+ methodKind: "unary";
824
+ input: typeof ResumeWorkflowExecutionInputSchema;
825
+ output: typeof WorkflowExecutionSchema;
826
+ };
827
+ }>;