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