@stigmer/protos 0.5.1 → 1.0.0

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 (139) hide show
  1. package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +7 -0
  2. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +2 -1
  3. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
  4. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +54 -0
  5. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +56 -1
  6. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
  7. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +149 -1
  8. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +50 -2
  9. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +31 -0
  11. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +32 -1
  12. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
  13. package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +31 -1
  14. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +1 -1
  15. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
  16. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +16 -0
  17. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +2 -1
  18. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
  19. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +68 -0
  20. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +6 -1
  21. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/artifact/v1/api_pb.d.ts +152 -0
  23. package/ai/stigmer/agentic/artifact/v1/api_pb.js +24 -0
  24. package/ai/stigmer/agentic/artifact/v1/api_pb.js.map +1 -0
  25. package/ai/stigmer/agentic/artifact/v1/command_connect.d.ts +83 -0
  26. package/ai/stigmer/agentic/artifact/v1/command_connect.js +92 -0
  27. package/ai/stigmer/agentic/artifact/v1/command_connect.js.map +1 -0
  28. package/ai/stigmer/agentic/artifact/v1/command_pb.d.ts +86 -0
  29. package/ai/stigmer/agentic/artifact/v1/command_pb.js +36 -0
  30. package/ai/stigmer/agentic/artifact/v1/command_pb.js.map +1 -0
  31. package/ai/stigmer/agentic/artifact/v1/enum_pb.d.ts +49 -0
  32. package/ai/stigmer/agentic/artifact/v1/enum_pb.js +54 -0
  33. package/ai/stigmer/agentic/artifact/v1/enum_pb.js.map +1 -0
  34. package/ai/stigmer/agentic/artifact/v1/io_pb.d.ts +205 -0
  35. package/ai/stigmer/agentic/artifact/v1/io_pb.js +37 -0
  36. package/ai/stigmer/agentic/artifact/v1/io_pb.js.map +1 -0
  37. package/ai/stigmer/agentic/artifact/v1/query_connect.d.ts +127 -0
  38. package/ai/stigmer/agentic/artifact/v1/query_connect.js +135 -0
  39. package/ai/stigmer/agentic/artifact/v1/query_connect.js.map +1 -0
  40. package/ai/stigmer/agentic/artifact/v1/query_pb.d.ts +128 -0
  41. package/ai/stigmer/agentic/artifact/v1/query_pb.js +32 -0
  42. package/ai/stigmer/agentic/artifact/v1/query_pb.js.map +1 -0
  43. package/ai/stigmer/agentic/artifact/v1/spec_pb.d.ts +161 -0
  44. package/ai/stigmer/agentic/artifact/v1/spec_pb.js +25 -0
  45. package/ai/stigmer/agentic/artifact/v1/spec_pb.js.map +1 -0
  46. package/ai/stigmer/agentic/runner/v1/api_pb.d.ts +33 -0
  47. package/ai/stigmer/agentic/runner/v1/api_pb.js +1 -1
  48. package/ai/stigmer/agentic/runner/v1/api_pb.js.map +1 -1
  49. package/ai/stigmer/agentic/runner/v1/io_pb.d.ts +15 -1
  50. package/ai/stigmer/agentic/runner/v1/io_pb.js +1 -1
  51. package/ai/stigmer/agentic/runner/v1/io_pb.js.map +1 -1
  52. package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +30 -0
  53. package/ai/stigmer/agentic/workflow/v1/command_connect.js +31 -0
  54. package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
  55. package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +30 -0
  56. package/ai/stigmer/agentic/workflow/v1/command_pb.js +2 -1
  57. package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
  58. package/ai/stigmer/agentic/workflow/v1/enum_pb.d.ts +141 -1
  59. package/ai/stigmer/agentic/workflow/v1/enum_pb.js +142 -1
  60. package/ai/stigmer/agentic/workflow/v1/enum_pb.js.map +1 -1
  61. package/ai/stigmer/agentic/workflow/v1/spec_pb.d.ts +132 -1
  62. package/ai/stigmer/agentic/workflow/v1/spec_pb.js +10 -5
  63. package/ai/stigmer/agentic/workflow/v1/spec_pb.js.map +1 -1
  64. package/ai/stigmer/agentic/workflow/v1/task_kind_descriptor_pb.d.ts +430 -0
  65. package/ai/stigmer/agentic/workflow/v1/task_kind_descriptor_pb.js +172 -0
  66. package/ai/stigmer/agentic/workflow/v1/task_kind_descriptor_pb.js.map +1 -0
  67. package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_connect.d.ts +39 -0
  68. package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_connect.js +46 -0
  69. package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_connect.js.map +1 -0
  70. package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_pb.d.ts +41 -0
  71. package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_pb.js +28 -0
  72. package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_pb.js.map +1 -0
  73. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +186 -4
  74. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js +10 -2
  75. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -1
  76. package/ai/stigmer/agentic/workflow/v1/tasks/common_pb.d.ts +67 -0
  77. package/ai/stigmer/agentic/workflow/v1/tasks/common_pb.js +72 -0
  78. package/ai/stigmer/agentic/workflow/v1/tasks/common_pb.js.map +1 -0
  79. package/ai/stigmer/agentic/workflow/v1/tasks/emit_event_pb.d.ts +147 -0
  80. package/ai/stigmer/agentic/workflow/v1/tasks/emit_event_pb.js +22 -0
  81. package/ai/stigmer/agentic/workflow/v1/tasks/emit_event_pb.js.map +1 -0
  82. package/ai/stigmer/agentic/workflow/v1/tasks/eval_pb.d.ts +341 -0
  83. package/ai/stigmer/agentic/workflow/v1/tasks/eval_pb.js +128 -0
  84. package/ai/stigmer/agentic/workflow/v1/tasks/eval_pb.js.map +1 -0
  85. package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.d.ts +129 -2
  86. package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js +56 -2
  87. package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js.map +1 -1
  88. package/ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.d.ts +284 -0
  89. package/ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.js +80 -0
  90. package/ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.js.map +1 -0
  91. package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.d.ts +186 -0
  92. package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.js +18 -0
  93. package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.js.map +1 -0
  94. package/ai/stigmer/agentic/workflow/v1/tasks/notification_pb.d.ts +160 -0
  95. package/ai/stigmer/agentic/workflow/v1/tasks/notification_pb.js +16 -0
  96. package/ai/stigmer/agentic/workflow/v1/tasks/notification_pb.js.map +1 -0
  97. package/ai/stigmer/agentic/workflow/v1/tasks/transform_pb.d.ts +124 -0
  98. package/ai/stigmer/agentic/workflow/v1/tasks/transform_pb.js +65 -0
  99. package/ai/stigmer/agentic/workflow/v1/tasks/transform_pb.js.map +1 -0
  100. package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.d.ts +19 -0
  101. package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js +1 -1
  102. package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js.map +1 -1
  103. package/ai/stigmer/agentic/workflow/v1/tasks/validate_pb.d.ts +257 -0
  104. package/ai/stigmer/agentic/workflow/v1/tasks/validate_pb.js +79 -0
  105. package/ai/stigmer/agentic/workflow/v1/tasks/validate_pb.js.map +1 -0
  106. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +96 -0
  107. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js +1 -1
  108. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js.map +1 -1
  109. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +47 -0
  110. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +48 -1
  111. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js.map +1 -1
  112. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +47 -1
  113. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js +1 -1
  114. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
  115. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.d.ts +1287 -0
  116. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js +303 -0
  117. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js.map +1 -0
  118. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +578 -72
  119. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +82 -70
  120. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
  121. package/ai/stigmer/agentic/workflowexecution/v1/query_connect.d.ts +182 -0
  122. package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js +184 -1
  123. package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js.map +1 -1
  124. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.d.ts +180 -1
  125. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js +2 -1
  126. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js.map +1 -1
  127. package/ai/stigmer/billing/v1/io_pb.d.ts +8 -0
  128. package/ai/stigmer/billing/v1/io_pb.js +1 -1
  129. package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
  130. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
  131. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
  132. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  133. package/ai/stigmer/platform/v1/server_info_connect.d.ts +29 -0
  134. package/ai/stigmer/platform/v1/server_info_connect.js +36 -0
  135. package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -0
  136. package/ai/stigmer/platform/v1/server_info_pb.d.ts +100 -0
  137. package/ai/stigmer/platform/v1/server_info_pb.js +65 -0
  138. package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -0
  139. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { EnvVarDeclaration } from "../../environment/v1/spec_pb.js";
3
- import type { WorkflowTaskKind } from "./enum_pb.js";
3
+ import type { BudgetExceededPolicy, WorkflowTaskKind } from "./enum_pb.js";
4
4
  import type { JsonObject, Message } from "@bufbuild/protobuf";
5
5
  /**
6
6
  * Describes the file ai/stigmer/agentic/workflow/v1/spec.proto.
@@ -47,12 +47,81 @@ export type WorkflowSpec = Message<"ai.stigmer.agentic.workflow.v1.WorkflowSpec"
47
47
  env: {
48
48
  [key: string]: EnvVarDeclaration;
49
49
  };
50
+ /**
51
+ * Budget limits for this workflow execution.
52
+ * When set, the runtime (T13) enforces cost, token, and duration limits
53
+ * across all tasks. The existing org-level billing reservation system
54
+ * (AuthorizeExecution / ExecutionBillingSignal) remains the safety net
55
+ * for overall credit exhaustion; workflow budgets prevent individual
56
+ * workflows from consuming more than intended.
57
+ * Optional — when not set, no workflow-level budget is enforced.
58
+ *
59
+ * @generated from field: ai.stigmer.agentic.workflow.v1.WorkflowBudget budget = 5;
60
+ */
61
+ budget?: WorkflowBudget;
50
62
  };
51
63
  /**
52
64
  * Describes the message ai.stigmer.agentic.workflow.v1.WorkflowSpec.
53
65
  * Use `create(WorkflowSpecSchema)` to create a new message.
54
66
  */
55
67
  export declare const WorkflowSpecSchema: GenMessage<WorkflowSpec>;
68
+ /**
69
+ * WorkflowBudget declares cost, token, and duration limits for a workflow execution.
70
+ *
71
+ * All cost fields use micro-USD (int64): 1 USD = 1,000,000 micros.
72
+ * This matches the billing domain convention (CostStamp.provider_cost_micros,
73
+ * CreditLedgerEntry.amount_micros, ExecutionReservation.reserved_micros).
74
+ *
75
+ * The runtime checks accumulated costs between task boundaries. Per-task
76
+ * limits (on LlmCallTaskConfig and AgentExecutionConfig) are checked first;
77
+ * then the remaining workflow budget is verified before the next task starts.
78
+ *
79
+ * Example YAML:
80
+ * budget:
81
+ * max_cost_micros: 5000000 # $5.00 per run
82
+ * max_total_tokens: 500000
83
+ * max_duration_seconds: 3600 # 1 hour
84
+ * on_exceeded: budget_exceeded_terminate
85
+ *
86
+ * @generated from message ai.stigmer.agentic.workflow.v1.WorkflowBudget
87
+ */
88
+ export type WorkflowBudget = Message<"ai.stigmer.agentic.workflow.v1.WorkflowBudget"> & {
89
+ /**
90
+ * Maximum total cost for this workflow execution in micro-USD.
91
+ * 1 USD = 1,000,000 micros. Example: 2000000 = $2.00.
92
+ * When exceeded, the on_exceeded policy is applied.
93
+ * Optional — when 0, no cost limit is enforced.
94
+ *
95
+ * @generated from field: int64 max_cost_micros = 1;
96
+ */
97
+ maxCostMicros: bigint;
98
+ /**
99
+ * Maximum total tokens (input + output) across all LLM/agent tasks.
100
+ * Optional — when 0, no token limit is enforced.
101
+ *
102
+ * @generated from field: int64 max_total_tokens = 2;
103
+ */
104
+ maxTotalTokens: bigint;
105
+ /**
106
+ * Maximum wall-clock duration for the entire workflow execution in seconds.
107
+ * Optional — when 0, no duration limit is enforced (Temporal's own
108
+ * workflow execution timeout still applies).
109
+ *
110
+ * @generated from field: int32 max_duration_seconds = 3;
111
+ */
112
+ maxDurationSeconds: number;
113
+ /**
114
+ * Policy when any budget limit is exceeded.
115
+ *
116
+ * @generated from field: ai.stigmer.agentic.workflow.v1.BudgetExceededPolicy on_exceeded = 4;
117
+ */
118
+ onExceeded: BudgetExceededPolicy;
119
+ };
120
+ /**
121
+ * Describes the message ai.stigmer.agentic.workflow.v1.WorkflowBudget.
122
+ * Use `create(WorkflowBudgetSchema)` to create a new message.
123
+ */
124
+ export declare const WorkflowBudgetSchema: GenMessage<WorkflowBudget>;
56
125
  /**
57
126
  * WorkflowDocument contains workflow-level metadata for versioning and identification.
58
127
  *
@@ -125,6 +194,8 @@ export declare const WorkflowDocumentSchema: GenMessage<WorkflowDocument>;
125
194
  export type WorkflowTask = Message<"ai.stigmer.agentic.workflow.v1.WorkflowTask"> & {
126
195
  /**
127
196
  * Task name/identifier (must be unique within workflow).
197
+ * Must be a valid C-style identifier: starts with a letter or underscore,
198
+ * followed by letters, digits, or underscores.
128
199
  *
129
200
  * @generated from field: string name = 1;
130
201
  */
@@ -153,6 +224,12 @@ export type WorkflowTask = Message<"ai.stigmer.agentic.workflow.v1.WorkflowTask"
153
224
  * - raise_error: ai.stigmer.agentic.workflow.v1.tasks.RaiseTaskConfig
154
225
  * - run_workflow: ai.stigmer.agentic.workflow.v1.tasks.RunTaskConfig
155
226
  * - agent_call: ai.stigmer.agentic.workflow.v1.tasks.AgentCallTaskConfig
227
+ * - llm_call: ai.stigmer.agentic.workflow.v1.tasks.LlmCallTaskConfig
228
+ * - transform: ai.stigmer.agentic.workflow.v1.tasks.TransformTaskConfig
229
+ * - human_input: ai.stigmer.agentic.workflow.v1.tasks.HumanInputTaskConfig
230
+ * - validate: ai.stigmer.agentic.workflow.v1.tasks.ValidateTaskConfig
231
+ * - emit_event: ai.stigmer.agentic.workflow.v1.tasks.EmitEventTaskConfig
232
+ * - notification: ai.stigmer.agentic.workflow.v1.tasks.NotificationTaskConfig
156
233
  *
157
234
  * See: apis/ai/stigmer/agentic/workflow/v1/tasks/*.proto for detailed schemas.
158
235
  *
@@ -173,6 +250,60 @@ export type WorkflowTask = Message<"ai.stigmer.agentic.workflow.v1.WorkflowTask"
173
250
  * @generated from field: ai.stigmer.agentic.workflow.v1.FlowControl flow = 5;
174
251
  */
175
252
  flow?: FlowControl;
253
+ /**
254
+ * Compensation tasks to execute if this task needs to be "undone."
255
+ *
256
+ * @internal
257
+ * Saga-style compensation for workflows with side effects. When a
258
+ * try_catch block catches an error, it can optionally run the
259
+ * compensation tasks for all already-completed tasks in reverse order.
260
+ *
261
+ * The compensation tasks receive the original task's output in their
262
+ * input context, allowing them to construct the appropriate undo
263
+ * operation (e.g., cancel an API call, delete a created resource,
264
+ * send a reversal notification).
265
+ *
266
+ * Only executed when:
267
+ * 1. The task completed successfully (failed tasks are not compensated)
268
+ * 2. A subsequent task within the same try_catch scope fails
269
+ * 3. The catch block is configured to run compensations
270
+ *
271
+ * YAML Example:
272
+ * try:
273
+ * - create_order:
274
+ * call: http
275
+ * with:
276
+ * method: POST
277
+ * endpoint: { uri: "https://api.example.com/orders" }
278
+ * body: { ... }
279
+ * compensate:
280
+ * - cancel_order:
281
+ * call: http
282
+ * with:
283
+ * method: DELETE
284
+ * endpoint: { uri: "https://api.example.com/orders/${ $context.create_order.id }" }
285
+ * export:
286
+ * as: "${ . }"
287
+ * - charge_payment:
288
+ * call: http
289
+ * with:
290
+ * method: POST
291
+ * endpoint: { uri: "https://api.example.com/payments" }
292
+ * catch:
293
+ * as: error
294
+ * compensate: true
295
+ * do:
296
+ * - log_failure:
297
+ * call: notification
298
+ * with: ...
299
+ *
300
+ * Optional - when empty, this task has no compensation action.
301
+ *
302
+ * @since T17 (Advanced Agentic Orchestration)
303
+ *
304
+ * @generated from field: repeated ai.stigmer.agentic.workflow.v1.WorkflowTask compensate = 6;
305
+ */
306
+ compensate: WorkflowTask[];
176
307
  };
177
308
  /**
178
309
  * Describes the message ai.stigmer.agentic.workflow.v1.WorkflowTask.
@@ -10,30 +10,35 @@ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
10
10
  /**
11
11
  * Describes the file ai/stigmer/agentic/workflow/v1/spec.proto.
12
12
  */
13
- export const file_ai_stigmer_agentic_workflow_v1_spec = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvc3BlYy5wcm90bxIeYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxItwCCgxXb3JrZmxvd1NwZWMSEwoLZGVzY3JpcHRpb24YASABKAkSSgoIZG9jdW1lbnQYAiABKAsyMC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3dEb2N1bWVudEIGukgDyAEBEkUKBXRhc2tzGAMgAygLMiwuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93VGFza0IIukgFkgECCAESQgoDZW52GAQgAygLMjUuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93U3BlYy5FbnZFbnRyeRpgCghFbnZFbnRyeRILCgNrZXkYASABKAkSQwoFdmFsdWUYAiABKAsyNC5haS5zdGlnbWVyLmFnZW50aWMuZW52aXJvbm1lbnQudjEuRW52VmFyRGVjbGFyYXRpb246AjgBIpABChBXb3JrZmxvd0RvY3VtZW50Eh0KA2RzbBgBIAEoCUIQukgNcgsyCV4xXC4wXC4wJBIZCgluYW1lc3BhY2UYAiABKAlCBrpIA8gBARIUCgRuYW1lGAMgASgJQga6SAPIAQESFwoHdmVyc2lvbhgEIAEoCUIGukgDyAEBEhMKC2Rlc2NyaXB0aW9uGAUgASgJIp0CCgxXb3JrZmxvd1Rhc2sSFAoEbmFtZRgBIAEoCUIGukgDyAEBEkYKBGtpbmQYAiABKA4yMC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3dUYXNrS2luZEIGukgDyAEBEjwKC3Rhc2tfY29uZmlnGAMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdEIOukgDyAEB6oUsBGtpbmQSNgoGZXhwb3J0GAQgASgLMiYuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLkV4cG9ydBI5CgRmbG93GAUgASgLMisuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLkZsb3dDb250cm9sIh0KBkV4cG9ydBITCgJhcxgBIAEoCUIHukgEcgIQASIbCgtGbG93Q29udHJvbBIMCgR0aGVuGAEgASgJYgZwcm90bzM", [file_ai_stigmer_agentic_environment_v1_spec, file_ai_stigmer_agentic_workflow_v1_enum, file_ai_stigmer_commons_apiresource_field_options, file_buf_validate_validate, file_google_protobuf_struct]);
13
+ export const file_ai_stigmer_agentic_workflow_v1_spec = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvc3BlYy5wcm90bxIeYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxIpwDCgxXb3JrZmxvd1NwZWMSEwoLZGVzY3JpcHRpb24YASABKAkSSgoIZG9jdW1lbnQYAiABKAsyMC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3dEb2N1bWVudEIGukgDyAEBEkUKBXRhc2tzGAMgAygLMiwuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93VGFza0IIukgFkgECCAESQgoDZW52GAQgAygLMjUuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93U3BlYy5FbnZFbnRyeRI+CgZidWRnZXQYBSABKAsyLi5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3dCdWRnZXQaYAoIRW52RW50cnkSCwoDa2V5GAEgASgJEkMKBXZhbHVlGAIgASgLMjQuYWkuc3RpZ21lci5hZ2VudGljLmVudmlyb25tZW50LnYxLkVudlZhckRlY2xhcmF0aW9uOgI4ASKsAQoOV29ya2Zsb3dCdWRnZXQSFwoPbWF4X2Nvc3RfbWljcm9zGAEgASgDEhgKEG1heF90b3RhbF90b2tlbnMYAiABKAMSHAoUbWF4X2R1cmF0aW9uX3NlY29uZHMYAyABKAUSSQoLb25fZXhjZWVkZWQYBCABKA4yNC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuQnVkZ2V0RXhjZWVkZWRQb2xpY3kikAEKEFdvcmtmbG93RG9jdW1lbnQSHQoDZHNsGAEgASgJQhC6SA1yCzIJXjFcLjBcLjAkEhkKCW5hbWVzcGFjZRgCIAEoCUIGukgDyAEBEhQKBG5hbWUYAyABKAlCBrpIA8gBARIXCgd2ZXJzaW9uGAQgASgJQga6SAPIAQESEwoLZGVzY3JpcHRpb24YBSABKAki+gIKDFdvcmtmbG93VGFzaxIvCgRuYW1lGAEgASgJQiG6SB5yHBABMhheW2EtekEtWl9dW2EtekEtWjAtOV9dKiQSRgoEa2luZBgCIAEoDjIwLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvd1Rhc2tLaW5kQga6SAPIAQESPAoLdGFza19jb25maWcYAyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Qg66SAPIAQHqhSwEa2luZBI2CgZleHBvcnQYBCABKAsyJi5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuRXhwb3J0EjkKBGZsb3cYBSABKAsyKy5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuRmxvd0NvbnRyb2wSQAoKY29tcGVuc2F0ZRgGIAMoCzIsLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvd1Rhc2siHQoGRXhwb3J0EhMKAmFzGAEgASgJQge6SARyAhABIhsKC0Zsb3dDb250cm9sEgwKBHRoZW4YASABKAliBnByb3RvMw", [file_ai_stigmer_agentic_environment_v1_spec, file_ai_stigmer_agentic_workflow_v1_enum, file_ai_stigmer_commons_apiresource_field_options, file_buf_validate_validate, file_google_protobuf_struct]);
14
14
  /**
15
15
  * Describes the message ai.stigmer.agentic.workflow.v1.WorkflowSpec.
16
16
  * Use `create(WorkflowSpecSchema)` to create a new message.
17
17
  */
18
18
  export const WorkflowSpecSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_spec, 0);
19
+ /**
20
+ * Describes the message ai.stigmer.agentic.workflow.v1.WorkflowBudget.
21
+ * Use `create(WorkflowBudgetSchema)` to create a new message.
22
+ */
23
+ export const WorkflowBudgetSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_spec, 1);
19
24
  /**
20
25
  * Describes the message ai.stigmer.agentic.workflow.v1.WorkflowDocument.
21
26
  * Use `create(WorkflowDocumentSchema)` to create a new message.
22
27
  */
23
- export const WorkflowDocumentSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_spec, 1);
28
+ export const WorkflowDocumentSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_spec, 2);
24
29
  /**
25
30
  * Describes the message ai.stigmer.agentic.workflow.v1.WorkflowTask.
26
31
  * Use `create(WorkflowTaskSchema)` to create a new message.
27
32
  */
28
- export const WorkflowTaskSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_spec, 2);
33
+ export const WorkflowTaskSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_spec, 3);
29
34
  /**
30
35
  * Describes the message ai.stigmer.agentic.workflow.v1.Export.
31
36
  * Use `create(ExportSchema)` to create a new message.
32
37
  */
33
- export const ExportSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_spec, 3);
38
+ export const ExportSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_spec, 4);
34
39
  /**
35
40
  * Describes the message ai.stigmer.agentic.workflow.v1.FlowControl.
36
41
  * Use `create(FlowControlSchema)` to create a new message.
37
42
  */
38
- export const FlowControlSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_spec, 4);
43
+ export const FlowControlSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_spec, 5);
39
44
  //# sourceMappingURL=spec_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,iCAAiC,CAAC;AAE9F,OAAO,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AACrH,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,ytCAAytC,EAAE,CAAC,2CAA2C,EAAE,wCAAwC,EAAE,iDAAiD,EAAE,0BAA0B,EAAE,2BAA2B,CAAC,CAAC,CAAC;AA8C36C;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AA+C3D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAmF3D;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAwB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAuB,aAAa,CAC3D,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAwB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,iCAAiC,CAAC;AAE9F,OAAO,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AACrH,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,opDAAopD,EAAE,CAAC,2CAA2C,EAAE,wCAAwC,EAAE,iDAAiD,EAAE,0BAA0B,EAAE,2BAA2B,CAAC,CAAC,CAAC;AA2Dt2D;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AA0D3D;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AA+C3D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAkJ3D;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAwB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAuB,aAAa,CAC3D,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAwB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,430 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { WorkflowTaskKind } from "./enum_pb.js";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file ai/stigmer/agentic/workflow/v1/task_kind_descriptor.proto.
6
+ */
7
+ export declare const file_ai_stigmer_agentic_workflow_v1_task_kind_descriptor: GenFile;
8
+ /**
9
+ * TaskFieldGroup defines a logical grouping of fields for UI form rendering.
10
+ *
11
+ * Fields within the same group are rendered together in a collapsible section.
12
+ * Groups are ordered by their position in the TaskKindDescriptor.field_groups list.
13
+ *
14
+ * @since T04 (Task Schema Registry)
15
+ *
16
+ * @generated from message ai.stigmer.agentic.workflow.v1.TaskFieldGroup
17
+ */
18
+ export type TaskFieldGroup = Message<"ai.stigmer.agentic.workflow.v1.TaskFieldGroup"> & {
19
+ /**
20
+ * Group identifier matching TaskFieldDescriptor.group_id.
21
+ *
22
+ * @generated from field: string id = 1;
23
+ */
24
+ id: string;
25
+ /**
26
+ * Human-readable label for the group section header.
27
+ *
28
+ * @generated from field: string display_name = 2;
29
+ */
30
+ displayName: string;
31
+ /**
32
+ * Optional description shown below the group header.
33
+ *
34
+ * @generated from field: string description = 3;
35
+ */
36
+ description: string;
37
+ };
38
+ /**
39
+ * Describes the message ai.stigmer.agentic.workflow.v1.TaskFieldGroup.
40
+ * Use `create(TaskFieldGroupSchema)` to create a new message.
41
+ */
42
+ export declare const TaskFieldGroupSchema: GenMessage<TaskFieldGroup>;
43
+ /**
44
+ * TaskFieldDescriptor describes a single field in a task configuration message.
45
+ *
46
+ * Provides enough metadata for UI form renderers to generate appropriate
47
+ * input controls, validation messages, and documentation without needing
48
+ * access to the raw proto descriptor.
49
+ *
50
+ * @since T04 (Task Schema Registry)
51
+ *
52
+ * @generated from message ai.stigmer.agentic.workflow.v1.TaskFieldDescriptor
53
+ */
54
+ export type TaskFieldDescriptor = Message<"ai.stigmer.agentic.workflow.v1.TaskFieldDescriptor"> & {
55
+ /**
56
+ * Proto field name (snake_case, matching the proto definition).
57
+ *
58
+ * @generated from field: string name = 1;
59
+ */
60
+ name: string;
61
+ /**
62
+ * Human-readable label for form rendering.
63
+ * When empty, the UI derives it from the name (e.g., "system_prompt" -> "System Prompt").
64
+ *
65
+ * @generated from field: string display_name = 2;
66
+ */
67
+ displayName: string;
68
+ /**
69
+ * Field description from proto comments. Shown as help text in forms.
70
+ *
71
+ * @generated from field: string description = 3;
72
+ */
73
+ description: string;
74
+ /**
75
+ * Data type for rendering the appropriate form control.
76
+ *
77
+ * @generated from field: ai.stigmer.agentic.workflow.v1.TaskFieldType type = 4;
78
+ */
79
+ type: TaskFieldType;
80
+ /**
81
+ * Whether the field is required (from buf.validate annotations).
82
+ *
83
+ * @generated from field: bool required = 5;
84
+ */
85
+ required: boolean;
86
+ /**
87
+ * Whether the field accepts ${ } expression interpolation.
88
+ * Derived from the is_expression proto annotation.
89
+ *
90
+ * @generated from field: bool is_expression = 6;
91
+ */
92
+ isExpression: boolean;
93
+ /**
94
+ * Default value as a JSON-encoded string.
95
+ * Empty string means no default (field is unset by default).
96
+ *
97
+ * @generated from field: string default_value = 7;
98
+ */
99
+ defaultValue: string;
100
+ /**
101
+ * Valid enum values when type is TASK_FIELD_TYPE_ENUM.
102
+ *
103
+ * @generated from field: repeated string enum_values = 8;
104
+ */
105
+ enumValues: string[];
106
+ /**
107
+ * JSON Schema fragment for this field's validation.
108
+ * Enables client-side pre-validation without the full registry.
109
+ *
110
+ * @generated from field: string json_schema_fragment = 9;
111
+ */
112
+ jsonSchemaFragment: string;
113
+ /**
114
+ * Group this field belongs to for form section rendering.
115
+ * References TaskFieldGroup.id in the parent descriptor.
116
+ *
117
+ * @generated from field: string group_id = 10;
118
+ */
119
+ groupId: string;
120
+ /**
121
+ * Proto field number (for stable identification across renames).
122
+ *
123
+ * @generated from field: int32 field_number = 11;
124
+ */
125
+ fieldNumber: number;
126
+ /**
127
+ * For TASK_FIELD_TYPE_REPEATED: the element type.
128
+ * For TASK_FIELD_TYPE_MESSAGE: the nested message proto type name.
129
+ *
130
+ * @generated from field: string element_type = 12;
131
+ */
132
+ elementType: string;
133
+ /**
134
+ * Validation constraints as human-readable descriptions.
135
+ * Examples: "min: 1, max: 5", "pattern: ^1\\.0\\.0$", "min_items: 1"
136
+ *
137
+ * @generated from field: repeated string validation_hints = 13;
138
+ */
139
+ validationHints: string[];
140
+ };
141
+ /**
142
+ * Describes the message ai.stigmer.agentic.workflow.v1.TaskFieldDescriptor.
143
+ * Use `create(TaskFieldDescriptorSchema)` to create a new message.
144
+ */
145
+ export declare const TaskFieldDescriptorSchema: GenMessage<TaskFieldDescriptor>;
146
+ /**
147
+ * TaskKindDescriptor provides complete metadata for a single workflow task kind.
148
+ *
149
+ * This is the primary output of the Task Schema Registry — one descriptor
150
+ * per WorkflowTaskKind enum value. Consumers use these descriptors to:
151
+ * - Render task palettes in the visual builder (category, icon, display_name)
152
+ * - Generate configuration forms (fields, field_groups)
153
+ * - Power YAML editor autocomplete (config_json_schema)
154
+ * - Validate task configs client-side (config_json_schema)
155
+ * - Display task output shapes in the execution viewer (output_json_schema)
156
+ * - Generate documentation (description, yaml_examples, documentation_url)
157
+ *
158
+ * @since T04 (Task Schema Registry)
159
+ *
160
+ * @generated from message ai.stigmer.agentic.workflow.v1.TaskKindDescriptor
161
+ */
162
+ export type TaskKindDescriptor = Message<"ai.stigmer.agentic.workflow.v1.TaskKindDescriptor"> & {
163
+ /**
164
+ * The task kind this descriptor describes.
165
+ *
166
+ * @generated from field: ai.stigmer.agentic.workflow.v1.WorkflowTaskKind kind = 1;
167
+ */
168
+ kind: WorkflowTaskKind;
169
+ /**
170
+ * Human-readable display name for UI rendering.
171
+ * Examples: "LLM Call", "Human Input", "HTTP Call", "Switch Case"
172
+ *
173
+ * @generated from field: string display_name = 2;
174
+ */
175
+ displayName: string;
176
+ /**
177
+ * One-line description of what this task kind does.
178
+ *
179
+ * @generated from field: string description = 3;
180
+ */
181
+ description: string;
182
+ /**
183
+ * Functional category for palette grouping and filtering.
184
+ *
185
+ * @generated from field: ai.stigmer.agentic.workflow.v1.TaskKindCategory category = 4;
186
+ */
187
+ category: TaskKindCategory;
188
+ /**
189
+ * Lucide icon name for UI rendering.
190
+ * Examples: "brain", "user-check", "globe", "git-branch"
191
+ *
192
+ * @generated from field: string icon = 5;
193
+ */
194
+ icon: string;
195
+ /**
196
+ * Fully-qualified proto message type for the task config.
197
+ * Example: "ai.stigmer.agentic.workflow.v1.tasks.LlmCallTaskConfig"
198
+ *
199
+ * @generated from field: string config_proto_type = 6;
200
+ */
201
+ configProtoType: string;
202
+ /**
203
+ * Ordered field descriptors for form rendering.
204
+ * Fields are ordered by their intended display sequence (not proto field number).
205
+ *
206
+ * @generated from field: repeated ai.stigmer.agentic.workflow.v1.TaskFieldDescriptor fields = 7;
207
+ */
208
+ fields: TaskFieldDescriptor[];
209
+ /**
210
+ * Logical field groups for form section rendering.
211
+ *
212
+ * @generated from field: repeated ai.stigmer.agentic.workflow.v1.TaskFieldGroup field_groups = 8;
213
+ */
214
+ fieldGroups: TaskFieldGroup[];
215
+ /**
216
+ * JSON Schema (draft 2020-12) for the task_config Struct payload.
217
+ * Serialized as a JSON string. Used by Monaco editor for validation
218
+ * and autocomplete, and by form libraries (RJSF) for form generation.
219
+ *
220
+ * @generated from field: string config_json_schema = 9;
221
+ */
222
+ configJsonSchema: string;
223
+ /**
224
+ * JSON Schema describing the task's output shape.
225
+ * Serialized as a JSON string. Used by the execution viewer to
226
+ * render typed output inspection panels.
227
+ *
228
+ * @generated from field: string output_json_schema = 10;
229
+ */
230
+ outputJsonSchema: string;
231
+ /**
232
+ * YAML code examples demonstrating common usage patterns.
233
+ * Each entry is a complete, self-contained YAML snippet.
234
+ *
235
+ * @generated from field: repeated string yaml_examples = 11;
236
+ */
237
+ yamlExamples: string[];
238
+ /**
239
+ * Documentation URL path (relative to docs root).
240
+ * Example: "/docs/workflow/tasks/llm-call"
241
+ *
242
+ * @generated from field: string documentation_url = 12;
243
+ */
244
+ documentationUrl: string;
245
+ /**
246
+ * Whether this task kind invokes AI models (agent_call, llm_call).
247
+ * UI uses this to show cost indicators and model selection hints.
248
+ *
249
+ * @generated from field: bool is_ai_native = 13;
250
+ */
251
+ isAiNative: boolean;
252
+ /**
253
+ * Whether this task kind requires external service connectivity.
254
+ * UI uses this to show connectivity warnings during offline editing.
255
+ *
256
+ * @generated from field: bool requires_external_service = 14;
257
+ */
258
+ requiresExternalService: boolean;
259
+ };
260
+ /**
261
+ * Describes the message ai.stigmer.agentic.workflow.v1.TaskKindDescriptor.
262
+ * Use `create(TaskKindDescriptorSchema)` to create a new message.
263
+ */
264
+ export declare const TaskKindDescriptorSchema: GenMessage<TaskKindDescriptor>;
265
+ /**
266
+ * GetTaskKindRegistryRequest is the request message for retrieving the
267
+ * complete task kind registry.
268
+ *
269
+ * @generated from message ai.stigmer.agentic.workflow.v1.GetTaskKindRegistryRequest
270
+ */
271
+ export type GetTaskKindRegistryRequest = Message<"ai.stigmer.agentic.workflow.v1.GetTaskKindRegistryRequest"> & {};
272
+ /**
273
+ * Describes the message ai.stigmer.agentic.workflow.v1.GetTaskKindRegistryRequest.
274
+ * Use `create(GetTaskKindRegistryRequestSchema)` to create a new message.
275
+ */
276
+ export declare const GetTaskKindRegistryRequestSchema: GenMessage<GetTaskKindRegistryRequest>;
277
+ /**
278
+ * GetTaskKindRegistryResponse returns the full set of task kind descriptors.
279
+ *
280
+ * @generated from message ai.stigmer.agentic.workflow.v1.GetTaskKindRegistryResponse
281
+ */
282
+ export type GetTaskKindRegistryResponse = Message<"ai.stigmer.agentic.workflow.v1.GetTaskKindRegistryResponse"> & {
283
+ /**
284
+ * All registered task kind descriptors, one per WorkflowTaskKind value.
285
+ * Excludes workflow_task_kind_unspecified.
286
+ *
287
+ * @generated from field: repeated ai.stigmer.agentic.workflow.v1.TaskKindDescriptor descriptors = 1;
288
+ */
289
+ descriptors: TaskKindDescriptor[];
290
+ };
291
+ /**
292
+ * Describes the message ai.stigmer.agentic.workflow.v1.GetTaskKindRegistryResponse.
293
+ * Use `create(GetTaskKindRegistryResponseSchema)` to create a new message.
294
+ */
295
+ export declare const GetTaskKindRegistryResponseSchema: GenMessage<GetTaskKindRegistryResponse>;
296
+ /**
297
+ * TaskKindCategory classifies task kinds by their functional role in a workflow.
298
+ *
299
+ * Used by the UI to render task palettes with grouped categories, and by
300
+ * documentation generators to organize task reference pages.
301
+ *
302
+ * @since T04 (Task Schema Registry)
303
+ *
304
+ * @generated from enum ai.stigmer.agentic.workflow.v1.TaskKindCategory
305
+ */
306
+ export declare enum TaskKindCategory {
307
+ /**
308
+ * @generated from enum value: TASK_KIND_CATEGORY_UNSPECIFIED = 0;
309
+ */
310
+ UNSPECIFIED = 0,
311
+ /**
312
+ * Control flow tasks that direct execution order.
313
+ * Members: switch_case, for_each, fork, try_catch, wait
314
+ *
315
+ * @generated from enum value: TASK_KIND_CATEGORY_CONTROL_FLOW = 1;
316
+ */
317
+ CONTROL_FLOW = 1,
318
+ /**
319
+ * Tasks that invoke external services or sub-workflows.
320
+ * Members: http_call, grpc_call, activity_call, run_workflow
321
+ *
322
+ * @generated from enum value: TASK_KIND_CATEGORY_INVOCATION = 2;
323
+ */
324
+ INVOCATION = 2,
325
+ /**
326
+ * AI-native tasks that invoke language models or agents.
327
+ * Members: agent_call, llm_call
328
+ *
329
+ * @generated from enum value: TASK_KIND_CATEGORY_AI = 3;
330
+ */
331
+ AI = 3,
332
+ /**
333
+ * Tasks that manipulate, validate, or transform data.
334
+ * Members: set_vars, transform, validate
335
+ *
336
+ * @generated from enum value: TASK_KIND_CATEGORY_DATA = 4;
337
+ */
338
+ DATA = 4,
339
+ /**
340
+ * Tasks that require human interaction to proceed.
341
+ * Members: human_input
342
+ *
343
+ * @generated from enum value: TASK_KIND_CATEGORY_GOVERNANCE = 5;
344
+ */
345
+ GOVERNANCE = 5,
346
+ /**
347
+ * Tasks that emit, listen for, or route events and notifications.
348
+ * Members: listen, emit_event, notification, raise_error
349
+ *
350
+ * @generated from enum value: TASK_KIND_CATEGORY_EVENT = 6;
351
+ */
352
+ EVENT = 6
353
+ }
354
+ /**
355
+ * Describes the enum ai.stigmer.agentic.workflow.v1.TaskKindCategory.
356
+ */
357
+ export declare const TaskKindCategorySchema: GenEnum<TaskKindCategory>;
358
+ /**
359
+ * TaskFieldType represents the data type of a task configuration field
360
+ * as understood by UI form renderers and schema validators.
361
+ *
362
+ * @since T04 (Task Schema Registry)
363
+ *
364
+ * @generated from enum ai.stigmer.agentic.workflow.v1.TaskFieldType
365
+ */
366
+ export declare enum TaskFieldType {
367
+ /**
368
+ * @generated from enum value: TASK_FIELD_TYPE_UNSPECIFIED = 0;
369
+ */
370
+ UNSPECIFIED = 0,
371
+ /**
372
+ * Plain string value.
373
+ *
374
+ * @generated from enum value: TASK_FIELD_TYPE_STRING = 1;
375
+ */
376
+ STRING = 1,
377
+ /**
378
+ * 32-bit integer.
379
+ *
380
+ * @generated from enum value: TASK_FIELD_TYPE_INT32 = 2;
381
+ */
382
+ INT32 = 2,
383
+ /**
384
+ * 32-bit floating point.
385
+ *
386
+ * @generated from enum value: TASK_FIELD_TYPE_FLOAT = 3;
387
+ */
388
+ FLOAT = 3,
389
+ /**
390
+ * Boolean true/false.
391
+ *
392
+ * @generated from enum value: TASK_FIELD_TYPE_BOOL = 4;
393
+ */
394
+ BOOL = 4,
395
+ /**
396
+ * Enumeration — valid values listed in TaskFieldDescriptor.enum_values.
397
+ *
398
+ * @generated from enum value: TASK_FIELD_TYPE_ENUM = 5;
399
+ */
400
+ ENUM = 5,
401
+ /**
402
+ * Structured JSON object (google.protobuf.Struct in proto).
403
+ * Used for JSON Schema fields, form schemas, event data payloads.
404
+ *
405
+ * @generated from enum value: TASK_FIELD_TYPE_STRUCT = 6;
406
+ */
407
+ STRUCT = 6,
408
+ /**
409
+ * Repeated (array) of a scalar or message type.
410
+ *
411
+ * @generated from enum value: TASK_FIELD_TYPE_REPEATED = 7;
412
+ */
413
+ REPEATED = 7,
414
+ /**
415
+ * Map from string keys to string values.
416
+ *
417
+ * @generated from enum value: TASK_FIELD_TYPE_MAP = 8;
418
+ */
419
+ MAP = 8,
420
+ /**
421
+ * Nested message type — field contains a sub-object with its own fields.
422
+ *
423
+ * @generated from enum value: TASK_FIELD_TYPE_MESSAGE = 9;
424
+ */
425
+ MESSAGE = 9
426
+ }
427
+ /**
428
+ * Describes the enum ai.stigmer.agentic.workflow.v1.TaskFieldType.
429
+ */
430
+ export declare const TaskFieldTypeSchema: GenEnum<TaskFieldType>;