@stigmer/protos 0.0.69 → 0.0.70

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 (372) hide show
  1. package/ai/stigmer/agentic/agent/v1/api_pb.d.ts +7 -6
  2. package/ai/stigmer/agentic/agent/v1/api_pb.js.map +1 -1
  3. package/ai/stigmer/agentic/agent/v1/command_connect.d.ts +5 -1
  4. package/ai/stigmer/agentic/agent/v1/command_connect.js +5 -1
  5. package/ai/stigmer/agentic/agent/v1/command_connect.js.map +1 -1
  6. package/ai/stigmer/agentic/agent/v1/command_pb.d.ts +5 -1
  7. package/ai/stigmer/agentic/agent/v1/command_pb.js.map +1 -1
  8. package/ai/stigmer/agentic/agent/v1/io_pb.d.ts +4 -1
  9. package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +13 -8
  11. package/ai/stigmer/agentic/agent/v1/query_connect.js +13 -8
  12. package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -1
  13. package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +13 -8
  14. package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
  15. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +57 -175
  16. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  17. package/ai/stigmer/agentic/agent/v1/status_pb.d.ts +5 -5
  18. package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +20 -22
  19. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
  20. package/ai/stigmer/agentic/agentexecution/v1/approval_pb.d.ts +16 -28
  21. package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +34 -16
  23. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +34 -16
  24. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js.map +1 -1
  25. package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +34 -16
  26. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
  27. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +41 -25
  28. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +41 -25
  29. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
  30. package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +0 -52
  31. package/ai/stigmer/agentic/agentexecution/v1/message_pb.js +1 -6
  32. package/ai/stigmer/agentic/agentexecution/v1/message_pb.js.map +1 -1
  33. package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +17 -3
  34. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +17 -3
  35. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
  36. package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +17 -3
  37. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
  38. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +26 -71
  39. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
  40. package/ai/stigmer/agentic/agentexecution/v1/writeback_pb.d.ts +2 -0
  41. package/ai/stigmer/agentic/agentexecution/v1/writeback_pb.js +2 -0
  42. package/ai/stigmer/agentic/agentexecution/v1/writeback_pb.js.map +1 -1
  43. package/ai/stigmer/agentic/agentinstance/v1/api_pb.d.ts +9 -4
  44. package/ai/stigmer/agentic/agentinstance/v1/api_pb.js.map +1 -1
  45. package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +17 -12
  46. package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +17 -12
  47. package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -1
  48. package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +17 -12
  49. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js +0 -1
  50. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
  51. package/ai/stigmer/agentic/agentinstance/v1/io_pb.d.ts +13 -11
  52. package/ai/stigmer/agentic/agentinstance/v1/io_pb.js.map +1 -1
  53. package/ai/stigmer/agentic/agentinstance/v1/query_connect.d.ts +11 -4
  54. package/ai/stigmer/agentic/agentinstance/v1/query_connect.js +11 -4
  55. package/ai/stigmer/agentic/agentinstance/v1/query_connect.js.map +1 -1
  56. package/ai/stigmer/agentic/agentinstance/v1/query_pb.d.ts +11 -4
  57. package/ai/stigmer/agentic/agentinstance/v1/query_pb.js +1 -1
  58. package/ai/stigmer/agentic/agentinstance/v1/query_pb.js.map +1 -1
  59. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +10 -6
  60. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js.map +1 -1
  61. package/ai/stigmer/agentic/environment/v1/api_pb.d.ts +9 -6
  62. package/ai/stigmer/agentic/environment/v1/api_pb.js.map +1 -1
  63. package/ai/stigmer/agentic/environment/v1/command_connect.d.ts +32 -9
  64. package/ai/stigmer/agentic/environment/v1/command_connect.js +32 -9
  65. package/ai/stigmer/agentic/environment/v1/command_connect.js.map +1 -1
  66. package/ai/stigmer/agentic/environment/v1/command_pb.d.ts +32 -9
  67. package/ai/stigmer/agentic/environment/v1/command_pb.js +1 -1
  68. package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -1
  69. package/ai/stigmer/agentic/environment/v1/io_pb.d.ts +20 -12
  70. package/ai/stigmer/agentic/environment/v1/io_pb.js.map +1 -1
  71. package/ai/stigmer/agentic/environment/v1/query_connect.d.ts +19 -6
  72. package/ai/stigmer/agentic/environment/v1/query_connect.js +19 -6
  73. package/ai/stigmer/agentic/environment/v1/query_connect.js.map +1 -1
  74. package/ai/stigmer/agentic/environment/v1/query_pb.d.ts +19 -6
  75. package/ai/stigmer/agentic/environment/v1/query_pb.js +1 -1
  76. package/ai/stigmer/agentic/environment/v1/query_pb.js.map +1 -1
  77. package/ai/stigmer/agentic/environment/v1/spec_pb.d.ts +19 -23
  78. package/ai/stigmer/agentic/environment/v1/spec_pb.js.map +1 -1
  79. package/ai/stigmer/agentic/executioncontext/v1/api_pb.d.ts +8 -7
  80. package/ai/stigmer/agentic/executioncontext/v1/api_pb.js.map +1 -1
  81. package/ai/stigmer/agentic/executioncontext/v1/command_connect.d.ts +13 -4
  82. package/ai/stigmer/agentic/executioncontext/v1/command_connect.js +13 -4
  83. package/ai/stigmer/agentic/executioncontext/v1/command_connect.js.map +1 -1
  84. package/ai/stigmer/agentic/executioncontext/v1/command_pb.d.ts +13 -4
  85. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js +2 -1
  86. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js.map +1 -1
  87. package/ai/stigmer/agentic/executioncontext/v1/io_pb.d.ts +8 -5
  88. package/ai/stigmer/agentic/executioncontext/v1/io_pb.js.map +1 -1
  89. package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +11 -5
  90. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +11 -5
  91. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -1
  92. package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +11 -5
  93. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js +2 -1
  94. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
  95. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.d.ts +20 -17
  96. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js.map +1 -1
  97. package/ai/stigmer/agentic/mcpserver/v1/api_pb.d.ts +3 -19
  98. package/ai/stigmer/agentic/mcpserver/v1/api_pb.js.map +1 -1
  99. package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +23 -43
  100. package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +23 -43
  101. package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
  102. package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +23 -43
  103. package/ai/stigmer/agentic/mcpserver/v1/command_pb.js +1 -1
  104. package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
  105. package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +5 -11
  106. package/ai/stigmer/agentic/mcpserver/v1/io_pb.js.map +1 -1
  107. package/ai/stigmer/agentic/mcpserver/v1/query_connect.d.ts +5 -12
  108. package/ai/stigmer/agentic/mcpserver/v1/query_connect.js +5 -12
  109. package/ai/stigmer/agentic/mcpserver/v1/query_connect.js.map +1 -1
  110. package/ai/stigmer/agentic/mcpserver/v1/query_pb.d.ts +5 -12
  111. package/ai/stigmer/agentic/mcpserver/v1/query_pb.js +1 -1
  112. package/ai/stigmer/agentic/mcpserver/v1/query_pb.js.map +1 -1
  113. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +19 -68
  114. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
  115. package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +18 -44
  116. package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
  117. package/ai/stigmer/agentic/session/v1/command_connect.d.ts +25 -11
  118. package/ai/stigmer/agentic/session/v1/command_connect.js +25 -11
  119. package/ai/stigmer/agentic/session/v1/command_connect.js.map +1 -1
  120. package/ai/stigmer/agentic/session/v1/command_pb.d.ts +25 -11
  121. package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -1
  122. package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +13 -13
  123. package/ai/stigmer/agentic/session/v1/enum_pb.js +13 -13
  124. package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
  125. package/ai/stigmer/agentic/session/v1/io_pb.d.ts +7 -5
  126. package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -1
  127. package/ai/stigmer/agentic/session/v1/query_connect.d.ts +4 -0
  128. package/ai/stigmer/agentic/session/v1/query_connect.js +4 -0
  129. package/ai/stigmer/agentic/session/v1/query_connect.js.map +1 -1
  130. package/ai/stigmer/agentic/session/v1/query_pb.d.ts +4 -0
  131. package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -1
  132. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +34 -23
  133. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
  134. package/ai/stigmer/agentic/session/v1/workspace_pb.d.ts +47 -52
  135. package/ai/stigmer/agentic/session/v1/workspace_pb.js.map +1 -1
  136. package/ai/stigmer/agentic/skill/v1/command_connect.d.ts +22 -22
  137. package/ai/stigmer/agentic/skill/v1/command_connect.js +22 -22
  138. package/ai/stigmer/agentic/skill/v1/command_connect.js.map +1 -1
  139. package/ai/stigmer/agentic/skill/v1/command_pb.d.ts +22 -22
  140. package/ai/stigmer/agentic/skill/v1/io_pb.d.ts +31 -34
  141. package/ai/stigmer/agentic/skill/v1/io_pb.js.map +1 -1
  142. package/ai/stigmer/agentic/skill/v1/query_connect.d.ts +8 -7
  143. package/ai/stigmer/agentic/skill/v1/query_connect.js +8 -7
  144. package/ai/stigmer/agentic/skill/v1/query_connect.js.map +1 -1
  145. package/ai/stigmer/agentic/skill/v1/query_pb.d.ts +8 -7
  146. package/ai/stigmer/agentic/skill/v1/query_pb.js.map +1 -1
  147. package/ai/stigmer/agentic/skill/v1/spec_pb.d.ts +5 -4
  148. package/ai/stigmer/agentic/skill/v1/spec_pb.js.map +1 -1
  149. package/ai/stigmer/agentic/skill/v1/status_pb.d.ts +32 -21
  150. package/ai/stigmer/agentic/skill/v1/status_pb.js.map +1 -1
  151. package/ai/stigmer/agentic/workflow/v1/api_pb.d.ts +7 -6
  152. package/ai/stigmer/agentic/workflow/v1/api_pb.js.map +1 -1
  153. package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +4 -1
  154. package/ai/stigmer/agentic/workflow/v1/command_connect.js +4 -1
  155. package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
  156. package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +4 -1
  157. package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
  158. package/ai/stigmer/agentic/workflow/v1/enum_pb.d.ts +47 -15
  159. package/ai/stigmer/agentic/workflow/v1/enum_pb.js +47 -15
  160. package/ai/stigmer/agentic/workflow/v1/enum_pb.js.map +1 -1
  161. package/ai/stigmer/agentic/workflow/v1/query_connect.d.ts +6 -1
  162. package/ai/stigmer/agentic/workflow/v1/query_connect.js +6 -1
  163. package/ai/stigmer/agentic/workflow/v1/query_connect.js.map +1 -1
  164. package/ai/stigmer/agentic/workflow/v1/query_pb.d.ts +6 -1
  165. package/ai/stigmer/agentic/workflow/v1/query_pb.js.map +1 -1
  166. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.d.ts +27 -33
  167. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js +9 -10
  168. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js.map +1 -1
  169. package/ai/stigmer/agentic/workflow/v1/spec_pb.d.ts +21 -13
  170. package/ai/stigmer/agentic/workflow/v1/spec_pb.js.map +1 -1
  171. package/ai/stigmer/agentic/workflow/v1/status_pb.d.ts +4 -4
  172. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +5 -7
  173. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -1
  174. package/ai/stigmer/agentic/workflow/v1/tasks/call_activity_pb.d.ts +6 -3
  175. package/ai/stigmer/agentic/workflow/v1/tasks/call_activity_pb.js.map +1 -1
  176. package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.d.ts +2 -3
  177. package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js.map +1 -1
  178. package/ai/stigmer/agentic/workflow/v1/tasks/fork_pb.d.ts +2 -3
  179. package/ai/stigmer/agentic/workflow/v1/tasks/fork_pb.js.map +1 -1
  180. package/ai/stigmer/agentic/workflow/v1/tasks/grpc_call_pb.d.ts +2 -3
  181. package/ai/stigmer/agentic/workflow/v1/tasks/grpc_call_pb.js.map +1 -1
  182. package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.d.ts +2 -3
  183. package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.js.map +1 -1
  184. package/ai/stigmer/agentic/workflow/v1/tasks/listen_pb.d.ts +4 -6
  185. package/ai/stigmer/agentic/workflow/v1/tasks/listen_pb.js.map +1 -1
  186. package/ai/stigmer/agentic/workflow/v1/tasks/raise_pb.d.ts +2 -3
  187. package/ai/stigmer/agentic/workflow/v1/tasks/raise_pb.js.map +1 -1
  188. package/ai/stigmer/agentic/workflow/v1/tasks/run_pb.d.ts +3 -2
  189. package/ai/stigmer/agentic/workflow/v1/tasks/run_pb.js.map +1 -1
  190. package/ai/stigmer/agentic/workflow/v1/tasks/set_pb.d.ts +2 -3
  191. package/ai/stigmer/agentic/workflow/v1/tasks/set_pb.js.map +1 -1
  192. package/ai/stigmer/agentic/workflow/v1/tasks/switch_pb.d.ts +2 -3
  193. package/ai/stigmer/agentic/workflow/v1/tasks/switch_pb.js.map +1 -1
  194. package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.d.ts +2 -3
  195. package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js.map +1 -1
  196. package/ai/stigmer/agentic/workflow/v1/tasks/wait_pb.d.ts +5 -4
  197. package/ai/stigmer/agentic/workflow/v1/tasks/wait_pb.js.map +1 -1
  198. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +60 -252
  199. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js.map +1 -1
  200. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +100 -88
  201. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +100 -88
  202. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js.map +1 -1
  203. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +100 -88
  204. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
  205. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.d.ts +62 -413
  206. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js +62 -413
  207. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js.map +1 -1
  208. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +148 -697
  209. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +14 -58
  210. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
  211. package/ai/stigmer/agentic/workflowexecution/v1/query_connect.d.ts +17 -13
  212. package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js +17 -13
  213. package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js.map +1 -1
  214. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.d.ts +17 -13
  215. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js.map +1 -1
  216. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.d.ts +29 -192
  217. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js.map +1 -1
  218. package/ai/stigmer/agentic/workflowinstance/v1/api_pb.d.ts +9 -16
  219. package/ai/stigmer/agentic/workflowinstance/v1/api_pb.js.map +1 -1
  220. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.d.ts +13 -40
  221. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js +13 -40
  222. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js.map +1 -1
  223. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.d.ts +13 -40
  224. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js +2 -1
  225. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js.map +1 -1
  226. package/ai/stigmer/agentic/workflowinstance/v1/io_pb.d.ts +8 -39
  227. package/ai/stigmer/agentic/workflowinstance/v1/io_pb.js.map +1 -1
  228. package/ai/stigmer/agentic/workflowinstance/v1/query_connect.d.ts +14 -61
  229. package/ai/stigmer/agentic/workflowinstance/v1/query_connect.js +14 -61
  230. package/ai/stigmer/agentic/workflowinstance/v1/query_connect.js.map +1 -1
  231. package/ai/stigmer/agentic/workflowinstance/v1/query_pb.d.ts +14 -61
  232. package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js +2 -1
  233. package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js.map +1 -1
  234. package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.d.ts +11 -24
  235. package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.js.map +1 -1
  236. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +39 -9
  237. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +39 -9
  238. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  239. package/ai/stigmer/commons/apiresource/enum_pb.d.ts +34 -5
  240. package/ai/stigmer/commons/apiresource/enum_pb.js +34 -5
  241. package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
  242. package/ai/stigmer/commons/apiresource/io_pb.d.ts +1 -1
  243. package/ai/stigmer/commons/rpc/pagination_pb.d.ts +10 -4
  244. package/ai/stigmer/commons/rpc/pagination_pb.js.map +1 -1
  245. package/ai/stigmer/iam/apikey/v1/api_pb.d.ts +17 -8
  246. package/ai/stigmer/iam/apikey/v1/api_pb.js.map +1 -1
  247. package/ai/stigmer/iam/apikey/v1/command_connect.d.ts +16 -4
  248. package/ai/stigmer/iam/apikey/v1/command_connect.js +16 -4
  249. package/ai/stigmer/iam/apikey/v1/command_connect.js.map +1 -1
  250. package/ai/stigmer/iam/apikey/v1/command_pb.d.ts +16 -4
  251. package/ai/stigmer/iam/apikey/v1/command_pb.js +1 -1
  252. package/ai/stigmer/iam/apikey/v1/command_pb.js.map +1 -1
  253. package/ai/stigmer/iam/apikey/v1/io_pb.d.ts +9 -3
  254. package/ai/stigmer/iam/apikey/v1/io_pb.js.map +1 -1
  255. package/ai/stigmer/iam/apikey/v1/query_connect.d.ts +13 -4
  256. package/ai/stigmer/iam/apikey/v1/query_connect.js +13 -4
  257. package/ai/stigmer/iam/apikey/v1/query_connect.js.map +1 -1
  258. package/ai/stigmer/iam/apikey/v1/query_pb.d.ts +13 -4
  259. package/ai/stigmer/iam/apikey/v1/query_pb.js +1 -1
  260. package/ai/stigmer/iam/apikey/v1/query_pb.js.map +1 -1
  261. package/ai/stigmer/iam/apikey/v1/spec_pb.d.ts +13 -8
  262. package/ai/stigmer/iam/apikey/v1/spec_pb.js.map +1 -1
  263. package/ai/stigmer/iam/iampolicy/v1/api_pb.d.ts +8 -6
  264. package/ai/stigmer/iam/iampolicy/v1/api_pb.js.map +1 -1
  265. package/ai/stigmer/iam/iampolicy/v1/command_connect.d.ts +22 -15
  266. package/ai/stigmer/iam/iampolicy/v1/command_connect.js +22 -15
  267. package/ai/stigmer/iam/iampolicy/v1/command_connect.js.map +1 -1
  268. package/ai/stigmer/iam/iampolicy/v1/command_pb.d.ts +22 -15
  269. package/ai/stigmer/iam/iampolicy/v1/command_pb.js.map +1 -1
  270. package/ai/stigmer/iam/iampolicy/v1/io_pb.d.ts +22 -6
  271. package/ai/stigmer/iam/iampolicy/v1/io_pb.js.map +1 -1
  272. package/ai/stigmer/iam/iampolicy/v1/query_connect.d.ts +7 -2
  273. package/ai/stigmer/iam/iampolicy/v1/query_connect.js +7 -2
  274. package/ai/stigmer/iam/iampolicy/v1/query_connect.js.map +1 -1
  275. package/ai/stigmer/iam/iampolicy/v1/query_pb.d.ts +7 -2
  276. package/ai/stigmer/iam/iampolicy/v1/query_pb.js +1 -1
  277. package/ai/stigmer/iam/iampolicy/v1/query_pb.js.map +1 -1
  278. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.d.ts +57 -12
  279. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js +57 -12
  280. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js.map +1 -1
  281. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.d.ts +16 -9
  282. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js.map +1 -1
  283. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.d.ts +6 -0
  284. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js +6 -0
  285. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js.map +1 -1
  286. package/ai/stigmer/iam/iampolicy/v1/spec_pb.d.ts +8 -8
  287. package/ai/stigmer/iam/identityaccount/v1/api_pb.d.ts +11 -6
  288. package/ai/stigmer/iam/identityaccount/v1/api_pb.js.map +1 -1
  289. package/ai/stigmer/iam/identityaccount/v1/command_connect.d.ts +21 -10
  290. package/ai/stigmer/iam/identityaccount/v1/command_connect.js +21 -10
  291. package/ai/stigmer/iam/identityaccount/v1/command_connect.js.map +1 -1
  292. package/ai/stigmer/iam/identityaccount/v1/command_pb.d.ts +21 -10
  293. package/ai/stigmer/iam/identityaccount/v1/command_pb.js +1 -1
  294. package/ai/stigmer/iam/identityaccount/v1/command_pb.js.map +1 -1
  295. package/ai/stigmer/iam/identityaccount/v1/enum_pb.d.ts +9 -6
  296. package/ai/stigmer/iam/identityaccount/v1/enum_pb.js +9 -6
  297. package/ai/stigmer/iam/identityaccount/v1/enum_pb.js.map +1 -1
  298. package/ai/stigmer/iam/identityaccount/v1/io_pb.d.ts +24 -10
  299. package/ai/stigmer/iam/identityaccount/v1/io_pb.js.map +1 -1
  300. package/ai/stigmer/iam/identityaccount/v1/query_connect.d.ts +12 -6
  301. package/ai/stigmer/iam/identityaccount/v1/query_connect.js +12 -6
  302. package/ai/stigmer/iam/identityaccount/v1/query_connect.js.map +1 -1
  303. package/ai/stigmer/iam/identityaccount/v1/query_pb.d.ts +12 -6
  304. package/ai/stigmer/iam/identityaccount/v1/query_pb.js +1 -1
  305. package/ai/stigmer/iam/identityaccount/v1/query_pb.js.map +1 -1
  306. package/ai/stigmer/iam/identityaccount/v1/spec_pb.d.ts +10 -7
  307. package/ai/stigmer/iam/identityaccount/v1/spec_pb.js.map +1 -1
  308. package/ai/stigmer/iam/identityaccount/v1/webhook_pb.d.ts +22 -1
  309. package/ai/stigmer/iam/identityaccount/v1/webhook_pb.js.map +1 -1
  310. package/ai/stigmer/iam/identityprovider/v1/api_pb.d.ts +1 -1
  311. package/ai/stigmer/iam/identityprovider/v1/command_connect.d.ts +23 -6
  312. package/ai/stigmer/iam/identityprovider/v1/command_connect.js +23 -6
  313. package/ai/stigmer/iam/identityprovider/v1/command_connect.js.map +1 -1
  314. package/ai/stigmer/iam/identityprovider/v1/command_pb.d.ts +23 -6
  315. package/ai/stigmer/iam/identityprovider/v1/command_pb.js.map +1 -1
  316. package/ai/stigmer/iam/identityprovider/v1/io_pb.d.ts +8 -6
  317. package/ai/stigmer/iam/identityprovider/v1/io_pb.js.map +1 -1
  318. package/ai/stigmer/iam/identityprovider/v1/query_connect.d.ts +11 -2
  319. package/ai/stigmer/iam/identityprovider/v1/query_connect.js +11 -2
  320. package/ai/stigmer/iam/identityprovider/v1/query_connect.js.map +1 -1
  321. package/ai/stigmer/iam/identityprovider/v1/query_pb.d.ts +11 -2
  322. package/ai/stigmer/iam/identityprovider/v1/query_pb.js.map +1 -1
  323. package/ai/stigmer/platform/github/v1/service_connect.d.ts +27 -22
  324. package/ai/stigmer/platform/github/v1/service_connect.js +27 -22
  325. package/ai/stigmer/platform/github/v1/service_connect.js.map +1 -1
  326. package/ai/stigmer/platform/github/v1/service_pb.d.ts +46 -37
  327. package/ai/stigmer/platform/github/v1/service_pb.js +10 -10
  328. package/ai/stigmer/platform/github/v1/service_pb.js.map +1 -1
  329. package/ai/stigmer/search/v1/io_pb.d.ts +40 -40
  330. package/ai/stigmer/search/v1/io_pb.js.map +1 -1
  331. package/ai/stigmer/search/v1/query_connect.d.ts +26 -20
  332. package/ai/stigmer/search/v1/query_connect.js +26 -20
  333. package/ai/stigmer/search/v1/query_connect.js.map +1 -1
  334. package/ai/stigmer/search/v1/query_pb.d.ts +26 -20
  335. package/ai/stigmer/search/v1/query_pb.js +14 -8
  336. package/ai/stigmer/search/v1/query_pb.js.map +1 -1
  337. package/ai/stigmer/tenancy/organization/v1/api_pb.d.ts +7 -5
  338. package/ai/stigmer/tenancy/organization/v1/api_pb.js.map +1 -1
  339. package/ai/stigmer/tenancy/organization/v1/command_connect.d.ts +17 -9
  340. package/ai/stigmer/tenancy/organization/v1/command_connect.js +17 -9
  341. package/ai/stigmer/tenancy/organization/v1/command_connect.js.map +1 -1
  342. package/ai/stigmer/tenancy/organization/v1/command_pb.d.ts +17 -9
  343. package/ai/stigmer/tenancy/organization/v1/command_pb.js +1 -1
  344. package/ai/stigmer/tenancy/organization/v1/command_pb.js.map +1 -1
  345. package/ai/stigmer/tenancy/organization/v1/enum_pb.d.ts +6 -2
  346. package/ai/stigmer/tenancy/organization/v1/enum_pb.js +6 -2
  347. package/ai/stigmer/tenancy/organization/v1/enum_pb.js.map +1 -1
  348. package/ai/stigmer/tenancy/organization/v1/io_pb.d.ts +8 -6
  349. package/ai/stigmer/tenancy/organization/v1/io_pb.js.map +1 -1
  350. package/ai/stigmer/tenancy/organization/v1/query_connect.d.ts +16 -9
  351. package/ai/stigmer/tenancy/organization/v1/query_connect.js +16 -9
  352. package/ai/stigmer/tenancy/organization/v1/query_connect.js.map +1 -1
  353. package/ai/stigmer/tenancy/organization/v1/query_pb.d.ts +16 -9
  354. package/ai/stigmer/tenancy/organization/v1/query_pb.js +1 -1
  355. package/ai/stigmer/tenancy/organization/v1/query_pb.js.map +1 -1
  356. package/ai/stigmer/tenancy/organization/v1/spec_pb.d.ts +15 -4
  357. package/ai/stigmer/tenancy/organization/v1/spec_pb.js.map +1 -1
  358. package/ai/stigmer/tenancy/project/v1/api_pb.d.ts +2 -23
  359. package/ai/stigmer/tenancy/project/v1/api_pb.js.map +1 -1
  360. package/ai/stigmer/tenancy/project/v1/command_connect.d.ts +12 -3
  361. package/ai/stigmer/tenancy/project/v1/command_connect.js +12 -3
  362. package/ai/stigmer/tenancy/project/v1/command_connect.js.map +1 -1
  363. package/ai/stigmer/tenancy/project/v1/command_pb.d.ts +12 -3
  364. package/ai/stigmer/tenancy/project/v1/command_pb.js.map +1 -1
  365. package/ai/stigmer/tenancy/project/v1/io_pb.d.ts +2 -0
  366. package/ai/stigmer/tenancy/project/v1/io_pb.js.map +1 -1
  367. package/ai/stigmer/tenancy/project/v1/query_connect.d.ts +2 -0
  368. package/ai/stigmer/tenancy/project/v1/query_connect.js +2 -0
  369. package/ai/stigmer/tenancy/project/v1/query_connect.js.map +1 -1
  370. package/ai/stigmer/tenancy/project/v1/query_pb.d.ts +2 -0
  371. package/ai/stigmer/tenancy/project/v1/query_pb.js.map +1 -1
  372. package/package.json +1 -1
@@ -8,57 +8,27 @@ export declare const file_ai_stigmer_agentic_workflowexecution_v1_spec: GenFile;
8
8
  /**
9
9
  * WorkflowExecutionSpec defines the user-provided inputs for a workflow execution.
10
10
  *
11
+ * @internal
11
12
  * This is the "Execution" layer in the Template→Instance→Execution pattern.
12
13
  * 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
14
  * The spec is immutable after creation. To retry with different inputs, create a new
19
15
  * WorkflowExecution with updated spec values.
20
16
  *
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
17
  * Instance Resolution (matches AgentExecution pattern):
26
18
  * - Either workflow_instance_id OR workflow_id must be provided
27
19
  * - If workflow_instance_id: Use the specified instance directly
28
20
  * - If workflow_id: Resolve to workflow's default instance (auto-create if missing)
29
21
  * - Handler enforces: at least one must be provided
30
22
  *
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
23
  * @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionSpec
58
24
  */
59
25
  export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionSpec"> & {
60
26
  /**
61
- * ID of the WorkflowInstance to execute (optional).
27
+ * ID of the WorkflowInstance to execute.
28
+ *
29
+ * @internal
30
+ * Either workflow_instance_id OR workflow_id must be provided.
31
+ * Handler enforces this validation.
62
32
  *
63
33
  * The WorkflowInstance contains:
64
34
  * - Reference to the Workflow template (orchestration definition)
@@ -67,29 +37,16 @@ export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecutio
67
37
  *
68
38
  * Format: "wfi-{slug}" (e.g., "wfi-customer-onboarding-prod")
69
39
  *
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
40
  * Authorization:
82
41
  * User must have "execute" permission on the referenced WorkflowInstance.
83
42
  *
84
- * Note: Either workflow_instance_id OR workflow_id must be provided.
85
- * Handler enforces this validation.
86
- *
87
43
  * @generated from field: string workflow_instance_id = 1;
88
44
  */
89
45
  workflowInstanceId: string;
90
46
  /**
91
- * ID of the Workflow template to execute (optional).
47
+ * ID of the Workflow template to execute (alternative to workflow_instance_id).
92
48
  *
49
+ * @internal
93
50
  * When workflow_id is provided without workflow_instance_id, the system:
94
51
  * 1. Checks if the Workflow has a default_instance_id in its status
95
52
  * 2. If exists: Uses the default instance
@@ -99,49 +56,25 @@ export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecutio
99
56
  *
100
57
  * Format: "wf-{slug}" (e.g., "wf-customer-onboarding")
101
58
  *
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.
59
+ * Either workflow_instance_id OR workflow_id must be provided.
60
+ * Handler enforces this validation.
112
61
  *
113
62
  * Authorization:
114
63
  * User must have "execute" permission on the resolved WorkflowInstance.
115
64
  *
116
- * Note: Either workflow_instance_id OR workflow_id must be provided.
117
- * Handler enforces this validation.
118
- *
119
65
  * @generated from field: string workflow_id = 6;
120
66
  */
121
67
  workflowId: string;
122
68
  /**
123
- * Input message or payload for the workflow.
69
+ * Input message or payload that triggers the workflow.
124
70
  *
71
+ * @internal
125
72
  * 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)
73
+ * It can be a human-readable message, a JSON payload, or an event description.
130
74
  *
131
75
  * The workflow can access this value using: {{workflow.input.trigger_message}}
132
76
  * Tasks can reference it in their input configurations.
133
77
  *
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
78
  * The trigger_message is optional - some workflows don't need input (scheduled jobs,
146
79
  * workflows that fetch data from APIs, etc.).
147
80
  *
@@ -149,9 +82,9 @@ export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecutio
149
82
  */
150
83
  triggerMessage: string;
151
84
  /**
152
- * Trigger context metadata.
85
+ * Contextual metadata about what triggered this execution.
153
86
  *
154
- * Contains contextual information about who/what triggered this execution and how.
87
+ * @internal
155
88
  * This metadata is NOT used by the workflow logic itself - it's for audit, debugging,
156
89
  * and analytics.
157
90
  *
@@ -159,44 +92,19 @@ export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecutio
159
92
  * - "source": How was this triggered? (api, webhook, schedule, manual, ui)
160
93
  * - "caller_id": Who triggered it? (usr-abc123, sys-scheduler, webhook-stripe)
161
94
  * - "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
95
  * - "webhook_id": Webhook ID (for webhook triggers)
165
96
  * - "schedule_id": Schedule ID (for scheduled triggers)
166
97
  * - "timestamp": When was it triggered? (ISO 8601)
167
98
  *
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
99
  * @generated from field: map<string, string> trigger_metadata = 4;
193
100
  */
194
101
  triggerMetadata: {
195
102
  [key: string]: string;
196
103
  };
197
104
  /**
198
- * Runtime environment variables and secrets (execution-scoped).
105
+ * Execution-scoped environment variables and secrets that override instance defaults.
199
106
  *
107
+ * @internal
200
108
  * These values are only available for this specific execution and override values
201
109
  * from Environments and Workflow defaults.
202
110
  *
@@ -205,26 +113,6 @@ export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecutio
205
113
  * 2. Environment values (from WorkflowInstance.environment_ids)
206
114
  * 3. Workflow defaults (from Workflow.default_env)
207
115
  *
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
116
  * Value Types:
229
117
  * - value: Plain text value (not encrypted, use for non-sensitive config)
230
118
  * - secret_ref: Reference to a Secret resource (encrypted, use for API keys, passwords)
@@ -234,22 +122,6 @@ export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecutio
234
122
  * - ExecutionContext is deleted when execution completes (ephemeral secrets)
235
123
  * - Secret references are resolved at runtime (never exposed in logs)
236
124
  *
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
125
  * Tasks can access these values using: {{env.VARIABLE_NAME}}
254
126
  *
255
127
  * @generated from field: map<string, ai.stigmer.agentic.executioncontext.v1.ExecutionValue> runtime_env = 5;
@@ -258,13 +130,13 @@ export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecutio
258
130
  [key: string]: ExecutionValue;
259
131
  };
260
132
  /**
261
- * Temporal task token for async activity completion (optional).
133
+ * Opaque callback token for asynchronous completion by a parent orchestrator.
262
134
  *
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.
135
+ * @internal
136
+ * Enables async completion pattern where the caller (typically a parent workflow)
137
+ * waits for actual workflow completion without blocking worker threads.
266
138
  *
267
- * **Flow**:
139
+ * Flow:
268
140
  * 1. Caller (Temporal activity) extracts its task token
269
141
  * 2. Passes token in this field when creating WorkflowExecution
270
142
  * 3. Returns activity.ErrResultPending (activity paused, thread released)
@@ -272,54 +144,19 @@ export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecutio
272
144
  * 5. Workflow calls ActivityCompletionClient.complete(token, result)
273
145
  * 6. Temporal resumes the paused activity with the result
274
146
  *
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
147
+ * When empty: fire-and-forget or direct API call (backward compatible).
148
+ * When provided: workflow MUST complete the external activity using this token.
305
149
  *
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
150
+ * Token format: opaque binary blob from Temporal SDK (typically 100-200 bytes).
151
+ * DO NOT parse or modify - treat as opaque handle.
310
152
  *
311
- * **Consistency with AgentExecution**:
312
- * - Same pattern as AgentExecution.spec.callback_token
313
- * - Enables workflow-calling-workflow scenarios
314
- * - Future: WorkflowExecution calling WorkflowExecution
153
+ * Same pattern as AgentExecution.spec.callback_token.
315
154
  *
316
- * **References**:
155
+ * References:
317
156
  * - ADR: docs/adr/20260122-async-agent-execution-temporal-token-handshake.md
318
157
  * - 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
158
  *
322
- * @since 2026-01-22 (Phase 3: Workflow Async Completion)
159
+ * @since 2026-01-22
323
160
  *
324
161
  * @generated from field: bytes callback_token = 7;
325
162
  */
@@ -1 +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"}
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;AAiKt2B;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
@@ -10,7 +10,8 @@ export declare const file_ai_stigmer_agentic_workflowinstance_v1_api: GenFile;
10
10
  /**
11
11
  * WorkflowInstance represents a configured deployment of a Workflow template.
12
12
  *
13
- * WorkflowInstance is the "Instance" layer in the Template→Instance→Execution pattern.
13
+ * @internal
14
+ * This is the "Instance" layer in the Template→Instance→Execution pattern.
14
15
  * It binds a reusable Workflow template to specific environments containing credentials,
15
16
  * configuration, and secrets needed for execution.
16
17
  *
@@ -34,42 +35,34 @@ export declare const file_ai_stigmer_agentic_workflowinstance_v1_api: GenFile;
34
35
  export type WorkflowInstance = Message<"ai.stigmer.agentic.workflowinstance.v1.WorkflowInstance"> & {
35
36
  /**
36
37
  * API version for this resource type.
37
- * Format: 'agentic.stigmer.ai/v1'
38
- * Validated as const to ensure version consistency.
39
38
  *
40
39
  * @generated from field: string api_version = 1;
41
40
  */
42
41
  apiVersion: string;
43
42
  /**
44
43
  * Resource kind identifier.
45
- * Must be exactly 'WorkflowInstance' to match the message name.
46
- * Validated as const for type safety.
47
44
  *
48
45
  * @generated from field: string kind = 2;
49
46
  */
50
47
  kind: string;
51
48
  /**
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
49
+ * Resource metadata including name, organization, visibility, and labels.
56
50
  *
57
51
  * @generated from field: ai.stigmer.commons.apiresource.ApiResourceMetadata metadata = 3;
58
52
  */
59
53
  metadata?: ApiResourceMetadata;
60
54
  /**
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.
55
+ * Configurable properties: workflow reference, description, and environment bindings.
64
56
  *
65
57
  * @generated from field: ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceSpec spec = 4;
66
58
  */
67
59
  spec?: WorkflowInstanceSpec;
68
60
  /**
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.
61
+ * System-managed audit information.
62
+ *
63
+ * @internal
64
+ * This is a simple status (no custom execution state) since WorkflowInstance
65
+ * is configuration only. Execution state is tracked in WorkflowExecution resources.
73
66
  *
74
67
  * @generated from field: ai.stigmer.commons.apiresource.ApiResourceAuditStatus status = 5;
75
68
  */
@@ -1 +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"}
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;AAoE/vB;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  /**
2
- * WorkflowInstanceCommandController handles write operations (Create, Update, Delete) for WorkflowInstance resources.
2
+ * WorkflowInstanceCommandController handles write operations for workflow instances.
3
3
  *
4
+ * @internal
4
5
  * This service provides the CUD (Create, Update, Delete) operations following the
5
6
  * Command-Query Separation pattern. All RPCs that modify state go through this controller.
6
7
  *
@@ -18,6 +19,8 @@ export declare const WorkflowInstanceCommandController: {
18
19
  readonly methods: {
19
20
  /**
20
21
  * Create or update a workflow instance.
22
+ *
23
+ * @internal
21
24
  * The authorization and state-operation are determined depending on whether the workflow instance
22
25
  * is going to be created or updated which is determined as part of the request execution.
23
26
  *
@@ -30,10 +33,9 @@ export declare const WorkflowInstanceCommandController: {
30
33
  readonly kind: any;
31
34
  };
32
35
  /**
33
- * Create a new workflow instance.
34
- *
35
- * Creates a configured deployment of a Workflow template with environment bindings.
36
+ * Create a workflow instance.
36
37
  *
38
+ * @internal
37
39
  * Input validation:
38
40
  * - metadata.org must be specified
39
41
  * - spec.workflow_id must be a valid Workflow resource ID
@@ -45,16 +47,6 @@ export declare const WorkflowInstanceCommandController: {
45
47
  * 2. User has permission to access all referenced Environment resources
46
48
  * 3. Owner scope is valid for the user's organization/identity
47
49
  *
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", environment_refs=["env-prod"]
56
- * Output: WorkflowInstance with id="wfi-abc456", created_at="2025-01-11T10:00:00Z"
57
- *
58
50
  * @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.create
59
51
  */
60
52
  readonly create: {
@@ -66,30 +58,20 @@ export declare const WorkflowInstanceCommandController: {
66
58
  /**
67
59
  * Update an existing workflow instance.
68
60
  *
69
- * Modifies the configuration of an existing WorkflowInstance.
70
- * You can update:
71
- * - spec.description (change descriptive text)
72
- * - spec.environment_refs (add/remove/reorder environment bindings)
61
+ * @internal
62
+ * Mutable fields:
63
+ * - spec.description, spec.environment_refs
73
64
  * - metadata.labels, metadata.tags, metadata.annotations
74
65
  *
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)
66
+ * Immutable fields (must delete and recreate to change):
67
+ * - spec.workflow_id, metadata.id, metadata.org
79
68
  *
80
69
  * Authorization:
81
70
  * Requires "update" permission on the specific WorkflowInstance resource.
82
71
  * Field path "metadata.id" identifies which resource to authorize.
83
72
  *
84
- * Versioning:
85
73
  * Each update increments status.audit.version and updates status.audit.updated_at.
86
74
  *
87
- * Returns:
88
- * The updated WorkflowInstance with:
89
- * - Incremented version number
90
- * - Updated timestamp
91
- * - Modified spec fields
92
- *
93
75
  * Error: PERMISSION_DENIED if user lacks update permission
94
76
  *
95
77
  * @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.update
@@ -103,10 +85,8 @@ export declare const WorkflowInstanceCommandController: {
103
85
  /**
104
86
  * Delete a workflow instance.
105
87
  *
88
+ * @internal
106
89
  * Permanently removes a WorkflowInstance resource.
107
- *
108
- * Important:
109
- * - Deletion is permanent and cannot be undone
110
90
  * - Does NOT delete the referenced Workflow template (templates are reusable)
111
91
  * - Does NOT delete the referenced Environment resources (environments are reusable)
112
92
  * - DOES cascade delete any dependent WorkflowExecution resources (executions belong to instance)
@@ -115,14 +95,7 @@ export declare const WorkflowInstanceCommandController: {
115
95
  * Requires "delete" permission on the specific WorkflowInstance resource.
116
96
  * Field path "value" extracts the resource ID from WorkflowInstanceId wrapper.
117
97
  *
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.
98
+ * Returns the deleted WorkflowInstance (final state before deletion).
126
99
  *
127
100
  * Error: PERMISSION_DENIED if user lacks delete permission
128
101
  * Error: NOT_FOUND if instance ID doesn't exist
@@ -4,8 +4,9 @@
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
6
  /**
7
- * WorkflowInstanceCommandController handles write operations (Create, Update, Delete) for WorkflowInstance resources.
7
+ * WorkflowInstanceCommandController handles write operations for workflow instances.
8
8
  *
9
+ * @internal
9
10
  * This service provides the CUD (Create, Update, Delete) operations following the
10
11
  * Command-Query Separation pattern. All RPCs that modify state go through this controller.
11
12
  *
@@ -23,6 +24,8 @@ export const WorkflowInstanceCommandController = {
23
24
  methods: {
24
25
  /**
25
26
  * Create or update a workflow instance.
27
+ *
28
+ * @internal
26
29
  * The authorization and state-operation are determined depending on whether the workflow instance
27
30
  * is going to be created or updated which is determined as part of the request execution.
28
31
  *
@@ -35,10 +38,9 @@ export const WorkflowInstanceCommandController = {
35
38
  kind: MethodKind.Unary,
36
39
  },
37
40
  /**
38
- * Create a new workflow instance.
39
- *
40
- * Creates a configured deployment of a Workflow template with environment bindings.
41
+ * Create a workflow instance.
41
42
  *
43
+ * @internal
42
44
  * Input validation:
43
45
  * - metadata.org must be specified
44
46
  * - spec.workflow_id must be a valid Workflow resource ID
@@ -50,16 +52,6 @@ export const WorkflowInstanceCommandController = {
50
52
  * 2. User has permission to access all referenced Environment resources
51
53
  * 3. Owner scope is valid for the user's organization/identity
52
54
  *
53
- * Returns:
54
- * The created WorkflowInstance with:
55
- * - Assigned resource ID (metadata.id)
56
- * - Created timestamp (status.audit.created_at)
57
- * - Initial version (status.audit.version = 1)
58
- *
59
- * Example:
60
- * Input: WorkflowInstance with workflow_id="wfl-123", environment_refs=["env-prod"]
61
- * Output: WorkflowInstance with id="wfi-abc456", created_at="2025-01-11T10:00:00Z"
62
- *
63
55
  * @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.create
64
56
  */
65
57
  create: {
@@ -71,30 +63,20 @@ export const WorkflowInstanceCommandController = {
71
63
  /**
72
64
  * Update an existing workflow instance.
73
65
  *
74
- * Modifies the configuration of an existing WorkflowInstance.
75
- * You can update:
76
- * - spec.description (change descriptive text)
77
- * - spec.environment_refs (add/remove/reorder environment bindings)
66
+ * @internal
67
+ * Mutable fields:
68
+ * - spec.description, spec.environment_refs
78
69
  * - metadata.labels, metadata.tags, metadata.annotations
79
70
  *
80
- * You cannot update:
81
- * - spec.workflow_id (must delete and recreate to change template)
82
- * - metadata.id (immutable resource identifier)
83
- * - metadata.org (immutable after creation)
71
+ * Immutable fields (must delete and recreate to change):
72
+ * - spec.workflow_id, metadata.id, metadata.org
84
73
  *
85
74
  * Authorization:
86
75
  * Requires "update" permission on the specific WorkflowInstance resource.
87
76
  * Field path "metadata.id" identifies which resource to authorize.
88
77
  *
89
- * Versioning:
90
78
  * Each update increments status.audit.version and updates status.audit.updated_at.
91
79
  *
92
- * Returns:
93
- * The updated WorkflowInstance with:
94
- * - Incremented version number
95
- * - Updated timestamp
96
- * - Modified spec fields
97
- *
98
80
  * Error: PERMISSION_DENIED if user lacks update permission
99
81
  *
100
82
  * @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.update
@@ -108,10 +90,8 @@ export const WorkflowInstanceCommandController = {
108
90
  /**
109
91
  * Delete a workflow instance.
110
92
  *
93
+ * @internal
111
94
  * Permanently removes a WorkflowInstance resource.
112
- *
113
- * Important:
114
- * - Deletion is permanent and cannot be undone
115
95
  * - Does NOT delete the referenced Workflow template (templates are reusable)
116
96
  * - Does NOT delete the referenced Environment resources (environments are reusable)
117
97
  * - DOES cascade delete any dependent WorkflowExecution resources (executions belong to instance)
@@ -120,14 +100,7 @@ export const WorkflowInstanceCommandController = {
120
100
  * Requires "delete" permission on the specific WorkflowInstance resource.
121
101
  * Field path "value" extracts the resource ID from WorkflowInstanceId wrapper.
122
102
  *
123
- * Use Cases:
124
- * - Remove deprecated instances
125
- * - Clean up test/dev instances
126
- * - Decommission old deployment configurations
127
- *
128
- * Returns:
129
- * The deleted WorkflowInstance (final state before deletion).
130
- * Useful for audit logs and confirming what was deleted.
103
+ * Returns the deleted WorkflowInstance (final state before deletion).
131
104
  *
132
105
  * Error: PERMISSION_DENIED if user lacks delete permission
133
106
  * Error: NOT_FOUND if instance ID doesn't exist
@@ -1 +1 @@
1
- {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowinstance/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,4IAA4I;AAC5I,oBAAoB;AACpB,cAAc;AAKd,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,QAAQ,EAAE,0EAA0E;IACpF,OAAO,EAAE;QACP;;;;;;WAMG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;WA2BG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA8BG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA4BG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowinstance/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,4IAA4I;AAC5I,oBAAoB;AACpB,cAAc;AAKd,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,QAAQ,EAAE,0EAA0E;IACpF,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;WAgBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;WAmBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}