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