@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,332 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { ExecutionValue } from "../../executioncontext/v1/spec_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file ai/stigmer/agentic/workflowexecution/v1/spec.proto.
6
+ */
7
+ export declare const file_ai_stigmer_agentic_workflowexecution_v1_spec: GenFile;
8
+ /**
9
+ * WorkflowExecutionSpec defines the user-provided inputs for a workflow execution.
10
+ *
11
+ * This is the "Execution" layer in the Template→Instance→Execution pattern.
12
+ * WorkflowExecutionSpec is ephemeral - it defines the inputs for a single runtime invocation.
13
+ *
14
+ * Following Stigmer proto standards:
15
+ * - Spec contains ONLY user inputs (what the user controls)
16
+ * - Status contains execution state (what the system manages)
17
+ *
18
+ * The spec is immutable after creation. To retry with different inputs, create a new
19
+ * WorkflowExecution with updated spec values.
20
+ *
21
+ * Spec vs Status Separation:
22
+ * ✅ Spec: workflow_instance_id, workflow_id, trigger_message, trigger_metadata, runtime_env
23
+ * ✅ Status: phase, tasks, output, error, timestamps
24
+ *
25
+ * Instance Resolution (matches AgentExecution pattern):
26
+ * - Either workflow_instance_id OR workflow_id must be provided
27
+ * - If workflow_instance_id: Use the specified instance directly
28
+ * - If workflow_id: Resolve to workflow's default instance (auto-create if missing)
29
+ * - Handler enforces: at least one must be provided
30
+ *
31
+ * Example Use Case 1 (Direct Instance Reference):
32
+ * spec {
33
+ * workflow_instance_id: "wfi-customer-onboarding-prod"
34
+ * trigger_message: "New signup: john.doe@example.com"
35
+ * trigger_metadata: {
36
+ * "source": "web_signup_form"
37
+ * "ip_address": "203.0.113.42"
38
+ * "referrer": "https://marketing.example.com/campaign"
39
+ * "timestamp": "2025-01-11T14:30:22Z"
40
+ * }
41
+ * runtime_env: {
42
+ * "CUSTOMER_EMAIL": { value: "john.doe@example.com" }
43
+ * "CUSTOMER_PLAN": { value: "pro" }
44
+ * "STRIPE_API_KEY": { secret_ref: "sec-stripe-prod" }
45
+ * }
46
+ * }
47
+ *
48
+ * Example Use Case 2 (Default Instance Resolution):
49
+ * spec {
50
+ * workflow_id: "wf-customer-onboarding" // System resolves to default instance
51
+ * trigger_message: "New signup: john.doe@example.com"
52
+ * runtime_env: {
53
+ * "CUSTOMER_EMAIL": { value: "john.doe@example.com" }
54
+ * }
55
+ * }
56
+ *
57
+ * @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionSpec
58
+ */
59
+ export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionSpec"> & {
60
+ /**
61
+ * ID of the WorkflowInstance to execute (optional).
62
+ *
63
+ * The WorkflowInstance contains:
64
+ * - Reference to the Workflow template (orchestration definition)
65
+ * - Environment bindings (configuration and secrets)
66
+ * - Default configuration values
67
+ *
68
+ * Format: "wfi-{slug}" (e.g., "wfi-customer-onboarding-prod")
69
+ *
70
+ * Relationship:
71
+ * Workflow (template) → WorkflowInstance (config + secrets) → WorkflowExecution (runtime)
72
+ *
73
+ * Example:
74
+ * workflow_instance_id: "wfi-customer-onboarding-prod"
75
+ *
76
+ * The workflow_instance_id determines:
77
+ * - Which Workflow template to execute (the orchestration blueprint)
78
+ * - Which Environments provide configuration and secrets
79
+ * - What default values apply (if runtime_env doesn't override)
80
+ *
81
+ * Authorization:
82
+ * User must have "execute" permission on the referenced WorkflowInstance.
83
+ *
84
+ * Note: Either workflow_instance_id OR workflow_id must be provided.
85
+ * Handler enforces this validation.
86
+ *
87
+ * @generated from field: string workflow_instance_id = 1;
88
+ */
89
+ workflowInstanceId: string;
90
+ /**
91
+ * ID of the Workflow template to execute (optional).
92
+ *
93
+ * When workflow_id is provided without workflow_instance_id, the system:
94
+ * 1. Checks if the Workflow has a default_instance_id in its status
95
+ * 2. If exists: Uses the default instance
96
+ * 3. If missing: Auto-creates a default instance (name: "{workflow_slug}-default")
97
+ * 4. Updates the Workflow status with the default_instance_id
98
+ * 5. Executes using the resolved instance
99
+ *
100
+ * Format: "wf-{slug}" (e.g., "wf-customer-onboarding")
101
+ *
102
+ * This provides a simpler UX for common cases where users want to
103
+ * "just execute a workflow" without manually managing instances.
104
+ *
105
+ * Use Cases:
106
+ * - Quick workflow execution without instance setup
107
+ * - Development and testing (use default instance)
108
+ * - Simple workflows that don't need custom configuration
109
+ *
110
+ * For advanced use cases requiring custom environment bindings or
111
+ * multiple instances with different configurations, use workflow_instance_id.
112
+ *
113
+ * Authorization:
114
+ * User must have "execute" permission on the resolved WorkflowInstance.
115
+ *
116
+ * Note: Either workflow_instance_id OR workflow_id must be provided.
117
+ * Handler enforces this validation.
118
+ *
119
+ * @generated from field: string workflow_id = 6;
120
+ */
121
+ workflowId: string;
122
+ /**
123
+ * Input message or payload for the workflow.
124
+ *
125
+ * This is the primary input to the workflow - the "trigger event" or "request payload".
126
+ * It can be:
127
+ * - A human-readable message (for conversational workflows)
128
+ * - A JSON payload (for API-triggered workflows)
129
+ * - An event description (for webhook/event-driven workflows)
130
+ *
131
+ * The workflow can access this value using: {{workflow.input.trigger_message}}
132
+ * Tasks can reference it in their input configurations.
133
+ *
134
+ * Examples:
135
+ *
136
+ * Conversational workflow:
137
+ * trigger_message: "Analyze sentiment of recent customer feedback"
138
+ *
139
+ * API workflow:
140
+ * trigger_message: '{"customer_id": "cus-abc123", "action": "upgrade_plan"}'
141
+ *
142
+ * Event-driven workflow:
143
+ * trigger_message: "Payment received: $99.00 for order #12345"
144
+ *
145
+ * The trigger_message is optional - some workflows don't need input (scheduled jobs,
146
+ * workflows that fetch data from APIs, etc.).
147
+ *
148
+ * @generated from field: string trigger_message = 3;
149
+ */
150
+ triggerMessage: string;
151
+ /**
152
+ * Trigger context metadata.
153
+ *
154
+ * Contains contextual information about who/what triggered this execution and how.
155
+ * This metadata is NOT used by the workflow logic itself - it's for audit, debugging,
156
+ * and analytics.
157
+ *
158
+ * Common metadata keys:
159
+ * - "source": How was this triggered? (api, webhook, schedule, manual, ui)
160
+ * - "caller_id": Who triggered it? (usr-abc123, sys-scheduler, webhook-stripe)
161
+ * - "ip_address": Client IP address (for API/UI triggers)
162
+ * - "user_agent": Client user agent (for API/UI triggers)
163
+ * - "referrer": HTTP referrer (for UI triggers)
164
+ * - "webhook_id": Webhook ID (for webhook triggers)
165
+ * - "schedule_id": Schedule ID (for scheduled triggers)
166
+ * - "timestamp": When was it triggered? (ISO 8601)
167
+ *
168
+ * Example (API trigger):
169
+ * trigger_metadata: {
170
+ * "source": "api"
171
+ * "caller_id": "usr-john-doe"
172
+ * "ip_address": "203.0.113.42"
173
+ * "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)"
174
+ * "timestamp": "2025-01-11T14:30:22Z"
175
+ * }
176
+ *
177
+ * Example (webhook trigger):
178
+ * trigger_metadata: {
179
+ * "source": "webhook"
180
+ * "webhook_id": "whk-stripe-payment-received"
181
+ * "webhook_source": "stripe.com"
182
+ * "event_type": "payment_intent.succeeded"
183
+ * "timestamp": "2025-01-11T14:30:22Z"
184
+ * }
185
+ *
186
+ * Use Cases:
187
+ * - Audit trail: Who triggered this execution and when?
188
+ * - Analytics: Which trigger sources are most common?
189
+ * - Debugging: Was this triggered by a webhook or manually?
190
+ * - Rate limiting: Limit executions per user/source
191
+ *
192
+ * @generated from field: map<string, string> trigger_metadata = 4;
193
+ */
194
+ triggerMetadata: {
195
+ [key: string]: string;
196
+ };
197
+ /**
198
+ * Runtime environment variables and secrets (execution-scoped).
199
+ *
200
+ * These values are only available for this specific execution and override values
201
+ * from Environments and Workflow defaults.
202
+ *
203
+ * Merge Priority (highest to lowest):
204
+ * 1. runtime_env (this field) - Execution-specific overrides
205
+ * 2. Environment values (from WorkflowInstance.environment_ids)
206
+ * 3. Workflow defaults (from Workflow.default_env)
207
+ *
208
+ * Use Cases:
209
+ *
210
+ * 1. B2B SaaS Integrations (e.g., Plant & Cloud):
211
+ * runtime_env: {
212
+ * "CUSTOMER_API_KEY": { secret_ref: "sec-customer-abc-api-key" }
213
+ * "CUSTOMER_WORKSPACE_ID": { value: "ws-customer-abc" }
214
+ * }
215
+ *
216
+ * 2. Dynamic Configuration:
217
+ * runtime_env: {
218
+ * "DEPLOYMENT_REGION": { value: "us-west-2" }
219
+ * "ENABLE_BETA_FEATURES": { value: "true" }
220
+ * }
221
+ *
222
+ * 3. Temporary Overrides (testing, debugging):
223
+ * runtime_env: {
224
+ * "LOG_LEVEL": { value: "debug" }
225
+ * "DRY_RUN": { value: "true" }
226
+ * }
227
+ *
228
+ * Value Types:
229
+ * - value: Plain text value (not encrypted, use for non-sensitive config)
230
+ * - secret_ref: Reference to a Secret resource (encrypted, use for API keys, passwords)
231
+ *
232
+ * Security:
233
+ * - runtime_env values are stored in ExecutionContext
234
+ * - ExecutionContext is deleted when execution completes (ephemeral secrets)
235
+ * - Secret references are resolved at runtime (never exposed in logs)
236
+ *
237
+ * Example:
238
+ * runtime_env: {
239
+ * "CUSTOMER_EMAIL": {
240
+ * value: "john.doe@example.com"
241
+ * }
242
+ * "STRIPE_API_KEY": {
243
+ * secret_ref: "sec-stripe-prod"
244
+ * }
245
+ * "WEBHOOK_URL": {
246
+ * secret_ref: "sec-webhook-callback-url"
247
+ * }
248
+ * "ENABLE_NOTIFICATIONS": {
249
+ * value: "true"
250
+ * }
251
+ * }
252
+ *
253
+ * Tasks can access these values using: {{env.VARIABLE_NAME}}
254
+ *
255
+ * @generated from field: map<string, ai.stigmer.agentic.executioncontext.v1.ExecutionValue> runtime_env = 5;
256
+ */
257
+ runtimeEnv: {
258
+ [key: string]: ExecutionValue;
259
+ };
260
+ /**
261
+ * Temporal task token for async activity completion (optional).
262
+ *
263
+ * **Purpose**: Enables async activity completion pattern where the caller
264
+ * (typically a parent workflow or orchestrator) waits for actual workflow completion
265
+ * without blocking worker threads.
266
+ *
267
+ * **Flow**:
268
+ * 1. Caller (Temporal activity) extracts its task token
269
+ * 2. Passes token in this field when creating WorkflowExecution
270
+ * 3. Returns activity.ErrResultPending (activity paused, thread released)
271
+ * 4. Workflow executes (minutes/hours later)
272
+ * 5. Workflow calls ActivityCompletionClient.complete(token, result)
273
+ * 6. Temporal resumes the paused activity with the result
274
+ *
275
+ * **Benefits**:
276
+ * - Correctness: Caller waits for actual completion, not just ACK
277
+ * - Scalability: Worker threads not blocked during long-running execution
278
+ * - Resilience: Token is durable in Temporal; survives restarts
279
+ * - Decoupling: Caller doesn't poll or manage workflow lifecycle
280
+ *
281
+ * **When Empty**:
282
+ * - Empty/null = fire-and-forget or direct API call (backward compatible)
283
+ * - Workflow execution proceeds normally, no callback performed
284
+ * - Use case: CLI commands, API requests, non-workflow triggers
285
+ *
286
+ * **When Provided**:
287
+ * - Workflow MUST complete the external activity using this token
288
+ * - Both success and failure paths must call completion
289
+ * - Token uniquely identifies the external activity execution
290
+ *
291
+ * **Token Format**:
292
+ * - Opaque binary blob from Temporal SDK (typically 100-200 bytes)
293
+ * - Contains: namespace, workflow ID, run ID, activity ID, attempt
294
+ * - DO NOT parse or modify - treat as opaque handle
295
+ *
296
+ * **Security**:
297
+ * - Token grants ability to complete the activity (bearer token)
298
+ * - Should only be passed through trusted internal services
299
+ * - Logged as Base64-encoded string (truncated for security)
300
+ *
301
+ * **Timeout**:
302
+ * - Caller should set StartToCloseTimeout (e.g., 24 hours)
303
+ * - If token callback never arrives, activity times out
304
+ * - Prevents infinite hangs if workflow crashes
305
+ *
306
+ * **Observability**:
307
+ * - Token is logged at creation time (Base64, first 20 chars)
308
+ * - Activity appears as "Running" in Temporal UI until completed
309
+ * - Both caller workflow and this workflow visible in Temporal
310
+ *
311
+ * **Consistency with AgentExecution**:
312
+ * - Same pattern as AgentExecution.spec.callback_token
313
+ * - Enables workflow-calling-workflow scenarios
314
+ * - Future: WorkflowExecution calling WorkflowExecution
315
+ *
316
+ * **References**:
317
+ * - ADR: docs/adr/20260122-async-agent-execution-temporal-token-handshake.md
318
+ * - Temporal Docs: https://docs.temporal.io/activities#asynchronous-activity-completion
319
+ * - Go SDK: https://pkg.go.dev/go.temporal.io/sdk/activity#ErrResultPending
320
+ * - Java SDK: https://www.javadoc.io/doc/io.temporal/temporal-sdk/latest/io/temporal/client/ActivityCompletionClient.html
321
+ *
322
+ * @since 2026-01-22 (Phase 3: Workflow Async Completion)
323
+ *
324
+ * @generated from field: bytes callback_token = 7;
325
+ */
326
+ callbackToken: Uint8Array;
327
+ };
328
+ /**
329
+ * Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionSpec.
330
+ * Use `create(WorkflowExecutionSpecSchema)` to create a new message.
331
+ */
332
+ export declare const WorkflowExecutionSpecSchema: GenMessage<WorkflowExecutionSpec>;
@@ -0,0 +1,15 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
2
+ // @generated from file ai/stigmer/agentic/workflowexecution/v1/spec.proto (package ai.stigmer.agentic.workflowexecution.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_agentic_executioncontext_v1_spec } from "../../executioncontext/v1/spec_pb";
6
+ /**
7
+ * Describes the file ai/stigmer/agentic/workflowexecution/v1/spec.proto.
8
+ */
9
+ export const file_ai_stigmer_agentic_workflowexecution_v1_spec = /*@__PURE__*/ fileDesc("CjJhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3dleGVjdXRpb24vdjEvc3BlYy5wcm90bxInYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93ZXhlY3V0aW9uLnYxIvIDChVXb3JrZmxvd0V4ZWN1dGlvblNwZWMSHAoUd29ya2Zsb3dfaW5zdGFuY2VfaWQYASABKAkSEwoLd29ya2Zsb3dfaWQYBiABKAkSFwoPdHJpZ2dlcl9tZXNzYWdlGAMgASgJEm0KEHRyaWdnZXJfbWV0YWRhdGEYBCADKAsyUy5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3dleGVjdXRpb24udjEuV29ya2Zsb3dFeGVjdXRpb25TcGVjLlRyaWdnZXJNZXRhZGF0YUVudHJ5EmMKC3J1bnRpbWVfZW52GAUgAygLMk4uYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93ZXhlY3V0aW9uLnYxLldvcmtmbG93RXhlY3V0aW9uU3BlYy5SdW50aW1lRW52RW50cnkSFgoOY2FsbGJhY2tfdG9rZW4YByABKAwaNgoUVHJpZ2dlck1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ARppCg9SdW50aW1lRW52RW50cnkSCwoDa2V5GAEgASgJEkUKBXZhbHVlGAIgASgLMjYuYWkuc3RpZ21lci5hZ2VudGljLmV4ZWN1dGlvbmNvbnRleHQudjEuRXhlY3V0aW9uVmFsdWU6AjgBYgZwcm90bzM", [file_ai_stigmer_agentic_executioncontext_v1_spec]);
10
+ /**
11
+ * Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionSpec.
12
+ * Use `create(WorkflowExecutionSpecSchema)` to create a new message.
13
+ */
14
+ export const WorkflowExecutionSpecSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflowexecution_v1_spec, 0);
15
+ //# sourceMappingURL=spec_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,2IAA2I;AAC3I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,gDAAgD,EAAE,MAAM,mCAAmC,CAAC;AAGrG;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,qyBAAqyB,EAAE,CAAC,gDAAgD,CAAC,CAAC,CAAC;AAoUt2B;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,82 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { WorkflowInstanceSpec } from "./spec_pb";
3
+ import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb";
4
+ import type { ApiResourceAuditStatus } from "../../../commons/apiresource/status_pb";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file ai/stigmer/agentic/workflowinstance/v1/api.proto.
8
+ */
9
+ export declare const file_ai_stigmer_agentic_workflowinstance_v1_api: GenFile;
10
+ /**
11
+ * WorkflowInstance represents a configured deployment of a Workflow template.
12
+ *
13
+ * WorkflowInstance is the "Instance" layer in the Template→Instance→Execution pattern.
14
+ * It binds a reusable Workflow template to specific environments containing credentials,
15
+ * configuration, and secrets needed for execution.
16
+ *
17
+ * A WorkflowInstance:
18
+ * - References a Workflow template (the orchestration blueprint)
19
+ * - Binds one or more Environment resources (configuration + secrets)
20
+ * - Can be executed multiple times via WorkflowExecution resources
21
+ * - Can be platform-scoped (global defaults), org-scoped (team instances), or user-scoped (personal)
22
+ *
23
+ * Example use case:
24
+ * Workflow "deploy-to-cloud" (template) → WorkflowInstance "prod-deploy" (with aws-prod-env)
25
+ * → WorkflowExecution "prod-deploy-20250111-001" (specific run)
26
+ *
27
+ * This separation allows:
28
+ * - Workflow templates to be reusable across teams/environments
29
+ * - Instances to maintain stateful configuration with secrets
30
+ * - Executions to track individual runs with results
31
+ *
32
+ * @generated from message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstance
33
+ */
34
+ export type WorkflowInstance = Message<"ai.stigmer.agentic.workflowinstance.v1.WorkflowInstance"> & {
35
+ /**
36
+ * API version for this resource type.
37
+ * Format: 'agentic.stigmer.ai/v1'
38
+ * Validated as const to ensure version consistency.
39
+ *
40
+ * @generated from field: string api_version = 1;
41
+ */
42
+ apiVersion: string;
43
+ /**
44
+ * Resource kind identifier.
45
+ * Must be exactly 'WorkflowInstance' to match the message name.
46
+ * Validated as const for type safety.
47
+ *
48
+ * @generated from field: string kind = 2;
49
+ */
50
+ kind: string;
51
+ /**
52
+ * Standard resource metadata including name, id, slug, labels, tags, and annotations.
53
+ * WorkflowInstances belong to an organization. Visibility controls access:
54
+ * - PUBLIC: Shared templates accessible to all users
55
+ * - PRIVATE: Organization-internal instances
56
+ *
57
+ * @generated from field: ai.stigmer.commons.apiresource.ApiResourceMetadata metadata = 3;
58
+ */
59
+ metadata?: ApiResourceMetadata;
60
+ /**
61
+ * User-provided configuration for this workflow instance.
62
+ * Defines which Workflow template to use and which Environments provide configuration/secrets.
63
+ * See WorkflowInstanceSpec for detailed field documentation.
64
+ *
65
+ * @generated from field: ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceSpec spec = 4;
66
+ */
67
+ spec?: WorkflowInstanceSpec;
68
+ /**
69
+ * System-managed status and audit information.
70
+ * Contains creation/update timestamps, version number, and other audit metadata.
71
+ * This is a simple status (no custom execution state) since WorkflowInstance is configuration only.
72
+ * Execution state is tracked in WorkflowExecution resources.
73
+ *
74
+ * @generated from field: ai.stigmer.commons.apiresource.ApiResourceAuditStatus status = 5;
75
+ */
76
+ status?: ApiResourceAuditStatus;
77
+ };
78
+ /**
79
+ * Describes the message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstance.
80
+ * Use `create(WorkflowInstanceSchema)` to create a new message.
81
+ */
82
+ export declare const WorkflowInstanceSchema: GenMessage<WorkflowInstance>;
@@ -0,0 +1,18 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
2
+ // @generated from file ai/stigmer/agentic/workflowinstance/v1/api.proto (package ai.stigmer.agentic.workflowinstance.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_agentic_workflowinstance_v1_spec } from "./spec_pb";
6
+ import { file_ai_stigmer_commons_apiresource_metadata } from "../../../commons/apiresource/metadata_pb";
7
+ import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb";
8
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
9
+ /**
10
+ * Describes the file ai/stigmer/agentic/workflowinstance/v1/api.proto.
11
+ */
12
+ export const file_ai_stigmer_agentic_workflowinstance_v1_api = /*@__PURE__*/ fileDesc("CjBhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3dpbnN0YW5jZS92MS9hcGkucHJvdG8SJmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvd2luc3RhbmNlLnYxIs8CChBXb3JrZmxvd0luc3RhbmNlEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEiUKBGtpbmQYAiABKAlCF7pIFHISChBXb3JrZmxvd0luc3RhbmNlEk0KCG1ldGFkYXRhGAMgASgLMjMuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlTWV0YWRhdGFCBrpIA8gBARJKCgRzcGVjGAQgASgLMjwuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93aW5zdGFuY2UudjEuV29ya2Zsb3dJbnN0YW5jZVNwZWMSRgoGc3RhdHVzGAUgASgLMjYuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXRTdGF0dXNiBnByb3RvMw", [file_ai_stigmer_agentic_workflowinstance_v1_spec, file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate]);
13
+ /**
14
+ * Describes the message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstance.
15
+ * Use `create(WorkflowInstanceSchema)` to create a new message.
16
+ */
17
+ export const WorkflowInstanceSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflowinstance_v1_api, 0);
18
+ //# sourceMappingURL=api_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowinstance/v1/api_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,wIAAwI;AACxI,oBAAoB;AAWpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,gDAAgD,EAAE,MAAM,WAAW,CAAC;AAE7E,OAAO,EAAE,4CAA4C,EAAE,MAAM,0CAA0C,CAAC;AAExG,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAY,aAAa,CACnF,QAAQ,CAAC,wkBAAwkB,EAAE,CAAC,gDAAgD,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA2E/vB;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,139 @@
1
+ /**
2
+ * WorkflowInstanceCommandController handles write operations (Create, Update, Delete) for WorkflowInstance resources.
3
+ *
4
+ * This service provides the CUD (Create, Update, Delete) operations following the
5
+ * Command-Query Separation pattern. All RPCs that modify state go through this controller.
6
+ *
7
+ * Authorization:
8
+ * - create: Custom authorization logic (validates workflow_id access, env_refs access)
9
+ * - update: Standard authorization (requires update permission on the instance)
10
+ * - delete: Standard authorization (requires delete permission on the instance)
11
+ *
12
+ * All workflow instances belong to an organization.
13
+ *
14
+ * @generated from service ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController
15
+ */
16
+ export declare const WorkflowInstanceCommandController: {
17
+ readonly typeName: "ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController";
18
+ readonly methods: {
19
+ /**
20
+ * Create or update a workflow instance.
21
+ * The authorization and state-operation are determined depending on whether the workflow instance
22
+ * is going to be created or updated which is determined as part of the request execution.
23
+ *
24
+ * @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.apply
25
+ */
26
+ readonly apply: {
27
+ readonly name: "apply";
28
+ readonly I: any;
29
+ readonly O: any;
30
+ readonly kind: any;
31
+ };
32
+ /**
33
+ * Create a new workflow instance.
34
+ *
35
+ * Creates a configured deployment of a Workflow template with environment bindings.
36
+ *
37
+ * Input validation:
38
+ * - metadata.org must be specified
39
+ * - spec.workflow_id must be a valid Workflow resource ID
40
+ * - spec.env_refs must reference valid Environment resources
41
+ *
42
+ * Authorization:
43
+ * Uses custom authorization logic to verify:
44
+ * 1. User has permission to access the referenced Workflow template
45
+ * 2. User has permission to access all referenced Environment resources
46
+ * 3. Owner scope is valid for the user's organization/identity
47
+ *
48
+ * Returns:
49
+ * The created WorkflowInstance with:
50
+ * - Assigned resource ID (metadata.id)
51
+ * - Created timestamp (status.audit.created_at)
52
+ * - Initial version (status.audit.version = 1)
53
+ *
54
+ * Example:
55
+ * Input: WorkflowInstance with workflow_id="wfl-123", env_refs=["env-prod"]
56
+ * Output: WorkflowInstance with id="wfi-abc456", created_at="2025-01-11T10:00:00Z"
57
+ *
58
+ * @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.create
59
+ */
60
+ readonly create: {
61
+ readonly name: "create";
62
+ readonly I: any;
63
+ readonly O: any;
64
+ readonly kind: any;
65
+ };
66
+ /**
67
+ * Update an existing workflow instance.
68
+ *
69
+ * Modifies the configuration of an existing WorkflowInstance.
70
+ * You can update:
71
+ * - spec.description (change descriptive text)
72
+ * - spec.env_refs (add/remove/reorder environment bindings)
73
+ * - metadata.labels, metadata.tags, metadata.annotations
74
+ *
75
+ * You cannot update:
76
+ * - spec.workflow_id (must delete and recreate to change template)
77
+ * - metadata.id (immutable resource identifier)
78
+ * - metadata.org (immutable after creation)
79
+ *
80
+ * Authorization:
81
+ * Requires "update" permission on the specific WorkflowInstance resource.
82
+ * Field path "metadata.id" identifies which resource to authorize.
83
+ *
84
+ * Versioning:
85
+ * Each update increments status.audit.version and updates status.audit.updated_at.
86
+ *
87
+ * Returns:
88
+ * The updated WorkflowInstance with:
89
+ * - Incremented version number
90
+ * - Updated timestamp
91
+ * - Modified spec fields
92
+ *
93
+ * Error: PERMISSION_DENIED if user lacks update permission
94
+ *
95
+ * @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.update
96
+ */
97
+ readonly update: {
98
+ readonly name: "update";
99
+ readonly I: any;
100
+ readonly O: any;
101
+ readonly kind: any;
102
+ };
103
+ /**
104
+ * Delete a workflow instance.
105
+ *
106
+ * Permanently removes a WorkflowInstance resource.
107
+ *
108
+ * Important:
109
+ * - Deletion is permanent and cannot be undone
110
+ * - Does NOT delete the referenced Workflow template (templates are reusable)
111
+ * - Does NOT delete the referenced Environment resources (environments are reusable)
112
+ * - DOES cascade delete any dependent WorkflowExecution resources (executions belong to instance)
113
+ *
114
+ * Authorization:
115
+ * Requires "delete" permission on the specific WorkflowInstance resource.
116
+ * Field path "value" extracts the resource ID from WorkflowInstanceId wrapper.
117
+ *
118
+ * Use Cases:
119
+ * - Remove deprecated instances
120
+ * - Clean up test/dev instances
121
+ * - Decommission old deployment configurations
122
+ *
123
+ * Returns:
124
+ * The deleted WorkflowInstance (final state before deletion).
125
+ * Useful for audit logs and confirming what was deleted.
126
+ *
127
+ * Error: PERMISSION_DENIED if user lacks delete permission
128
+ * Error: NOT_FOUND if instance ID doesn't exist
129
+ *
130
+ * @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.delete
131
+ */
132
+ readonly delete: {
133
+ readonly name: "delete";
134
+ readonly I: any;
135
+ readonly O: any;
136
+ readonly kind: any;
137
+ };
138
+ };
139
+ };