@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
@@ -0,0 +1,80 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/agentic/workflow/v1/tasks/human_input.proto (package ai.stigmer.agentic.workflow.v1.tasks, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_commons_apiresource_field_options } from "../../../../commons/apiresource/field_options_pb.js";
6
+ import { file_buf_validate_validate } from "../../../../../../buf/validate/validate_pb.js";
7
+ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
8
+ /**
9
+ * Describes the file ai/stigmer/agentic/workflow/v1/tasks/human_input.proto.
10
+ */
11
+ export const file_ai_stigmer_agentic_workflow_v1_tasks_human_input = /*@__PURE__*/ fileDesc("CjZhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvdGFza3MvaHVtYW5faW5wdXQucHJvdG8SJGFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS50YXNrcyJMChFIdW1hbklucHV0T3V0Y29tZRIaCgRuYW1lGAEgASgJQgy6SAnIAQFyBBABGD8SDQoFbGFiZWwYAiABKAkSDAoEdGhlbhgDIAEoCSLkAgoUSHVtYW5JbnB1dFRhc2tDb25maWcSHgoGcHJvbXB0GAEgASgJQg66SAfIAQFyAhAB2IUsARIsCgtmb3JtX3NjaGVtYRgCIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSSQoIb3V0Y29tZXMYAyADKAsyNy5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEudGFza3MuSHVtYW5JbnB1dE91dGNvbWUSEQoJYXBwcm92ZXJzGAQgAygJEh0KB3RpbWVvdXQYBSABKAVCDLpICRoHGICangEoABJRCgpvbl90aW1lb3V0GAYgASgOMj0uYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLnRhc2tzLkh1bWFuSW5wdXRUaW1lb3V0UG9saWN5Eh0KFW5vdGlmaWNhdGlvbl9jaGFubmVscxgHIAMoCToP6ossC2h1bWFuX2lucHV0KsQBChdIdW1hbklucHV0VGltZW91dFBvbGljeRIqCiZIVU1BTl9JTlBVVF9USU1FT1VUX1BPTElDWV9VTlNQRUNJRklFRBAAEhwKGEhVTUFOX0lOUFVUX1RJTUVPVVRfRkFJTBABEh8KG0hVTUFOX0lOUFVUX1RJTUVPVVRfQVBQUk9WRRACEhwKGEhVTUFOX0lOUFVUX1RJTUVPVVRfREVOWRADEiAKHEhVTUFOX0lOUFVUX1RJTUVPVVRfRVNDQUxBVEUQBGIGcHJvdG8z", [file_ai_stigmer_commons_apiresource_field_options, file_buf_validate_validate, file_google_protobuf_struct]);
12
+ /**
13
+ * Describes the message ai.stigmer.agentic.workflow.v1.tasks.HumanInputOutcome.
14
+ * Use `create(HumanInputOutcomeSchema)` to create a new message.
15
+ */
16
+ export const HumanInputOutcomeSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_tasks_human_input, 0);
17
+ /**
18
+ * Describes the message ai.stigmer.agentic.workflow.v1.tasks.HumanInputTaskConfig.
19
+ * Use `create(HumanInputTaskConfigSchema)` to create a new message.
20
+ */
21
+ export const HumanInputTaskConfigSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_tasks_human_input, 1);
22
+ /**
23
+ * HumanInputTimeoutPolicy defines what happens when a human_input task's
24
+ * timeout expires without a response from any approver.
25
+ *
26
+ * @internal
27
+ * Timeout behavior is a workflow design decision: should the workflow fail
28
+ * (safest), auto-approve (for non-critical gates), auto-deny (for opt-in
29
+ * flows), or escalate to a different handler?
30
+ *
31
+ * @since T03 (P0 New Task Types)
32
+ *
33
+ * @generated from enum ai.stigmer.agentic.workflow.v1.tasks.HumanInputTimeoutPolicy
34
+ */
35
+ export var HumanInputTimeoutPolicy;
36
+ (function (HumanInputTimeoutPolicy) {
37
+ /**
38
+ * Unspecified: defaults to HUMAN_INPUT_TIMEOUT_FAIL behavior.
39
+ *
40
+ * @generated from enum value: HUMAN_INPUT_TIMEOUT_POLICY_UNSPECIFIED = 0;
41
+ */
42
+ HumanInputTimeoutPolicy[HumanInputTimeoutPolicy["HUMAN_INPUT_TIMEOUT_POLICY_UNSPECIFIED"] = 0] = "HUMAN_INPUT_TIMEOUT_POLICY_UNSPECIFIED";
43
+ /**
44
+ * Task fails with a timeout error.
45
+ * The workflow transitions to error handling (try_catch or EXECUTION_FAILED).
46
+ *
47
+ * @generated from enum value: HUMAN_INPUT_TIMEOUT_FAIL = 1;
48
+ */
49
+ HumanInputTimeoutPolicy[HumanInputTimeoutPolicy["HUMAN_INPUT_TIMEOUT_FAIL"] = 1] = "HUMAN_INPUT_TIMEOUT_FAIL";
50
+ /**
51
+ * Auto-approve: the task completes as if the reviewer selected the first
52
+ * outcome (or "approve" if no outcomes are defined).
53
+ * Task output: {"outcome": "approve", "auto_resolved": true, "reason": "timeout"}
54
+ *
55
+ * @generated from enum value: HUMAN_INPUT_TIMEOUT_APPROVE = 2;
56
+ */
57
+ HumanInputTimeoutPolicy[HumanInputTimeoutPolicy["HUMAN_INPUT_TIMEOUT_APPROVE"] = 2] = "HUMAN_INPUT_TIMEOUT_APPROVE";
58
+ /**
59
+ * Auto-deny: the task completes as if the reviewer selected "deny"
60
+ * (or the last outcome if custom outcomes are defined).
61
+ * Task output: {"outcome": "deny", "auto_resolved": true, "reason": "timeout"}
62
+ *
63
+ * @generated from enum value: HUMAN_INPUT_TIMEOUT_DENY = 3;
64
+ */
65
+ HumanInputTimeoutPolicy[HumanInputTimeoutPolicy["HUMAN_INPUT_TIMEOUT_DENY"] = 3] = "HUMAN_INPUT_TIMEOUT_DENY";
66
+ /**
67
+ * Escalate: branch to a named escalation task.
68
+ * Requires a corresponding outcome with then set, or a try_catch handler.
69
+ * Use when timeout should trigger a different workflow path rather than
70
+ * a simple approve/deny decision.
71
+ *
72
+ * @generated from enum value: HUMAN_INPUT_TIMEOUT_ESCALATE = 4;
73
+ */
74
+ HumanInputTimeoutPolicy[HumanInputTimeoutPolicy["HUMAN_INPUT_TIMEOUT_ESCALATE"] = 4] = "HUMAN_INPUT_TIMEOUT_ESCALATE";
75
+ })(HumanInputTimeoutPolicy || (HumanInputTimeoutPolicy = {}));
76
+ /**
77
+ * Describes the enum ai.stigmer.agentic.workflow.v1.tasks.HumanInputTimeoutPolicy.
78
+ */
79
+ export const HumanInputTimeoutPolicySchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_workflow_v1_tasks_human_input, 0);
80
+ //# sourceMappingURL=human_input_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"human_input_pb.js","sourceRoot":"","sources":["../../../../../../../ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4IAA4I;AAC5I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,iDAAiD,EAAE,MAAM,qDAAqD,CAAC;AACxH,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAC3F,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,qDAAqD,GAAY,aAAa,CACzF,QAAQ,CAAC,09BAA09B,EAAE,CAAC,iDAAiD,EAAE,0BAA0B,EAAE,2BAA2B,CAAC,CAAC,CAAC;AAgDrlC;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,qDAAqD,EAAE,CAAC,CAAC,CAAC;AAiLxE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,qDAAqD,EAAE,CAAC,CAAC,CAAC;AAExE;;;;;;;;;;;;GAYG;AACH,MAAM,CAAN,IAAY,uBA2CX;AA3CD,WAAY,uBAAuB;IACjC;;;;OAIG;IACH,yIAA0C,CAAA;IAE1C;;;;;OAKG;IACH,6GAA4B,CAAA;IAE5B;;;;;;OAMG;IACH,mHAA+B,CAAA;IAE/B;;;;;;OAMG;IACH,6GAA4B,CAAA;IAE5B;;;;;;;OAOG;IACH,qHAAgC,CAAA;AAClC,CAAC,EA3CW,uBAAuB,KAAvB,uBAAuB,QA2ClC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAqC,aAAa,CAC1F,QAAQ,CAAC,qDAAqD,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,186 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { OnInvalidOutputPolicy } from "./common_pb.js";
3
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file ai/stigmer/agentic/workflow/v1/tasks/llm_call.proto.
6
+ */
7
+ export declare const file_ai_stigmer_agentic_workflow_v1_tasks_llm_call: GenFile;
8
+ /**
9
+ * LlmCallTaskConfig defines the configuration for llm_call tasks that make
10
+ * direct LLM API calls without the overhead of a full agent invocation.
11
+ *
12
+ * @internal
13
+ * Use llm_call when the task is focused and deterministic: classification,
14
+ * extraction, scoring, summarization, moderation, or routing. An agent_call
15
+ * carries setup overhead (system prompt, tool resolution, MCP server setup,
16
+ * session management) that is unnecessary when all you need is a single
17
+ * prompt-response cycle with optional structured output.
18
+ *
19
+ * When response_schema is set, the runner requests structured output from the
20
+ * provider and validates the response against the schema. The on_invalid /
21
+ * max_retries / fallback_task fields control what happens when validation fails,
22
+ * using the same OnInvalidOutputPolicy enum as agent_call's output contract.
23
+ *
24
+ * YAML Example (classification with structured output):
25
+ * - classify_severity:
26
+ * call: llm
27
+ * with:
28
+ * model: "gpt-4o-mini"
29
+ * system_prompt: "You are a support ticket classifier."
30
+ * prompt: "Classify this ticket: ${ $context.ticket.description }"
31
+ * response_schema:
32
+ * type: object
33
+ * required: [severity, category]
34
+ * properties:
35
+ * severity:
36
+ * type: string
37
+ * enum: [low, medium, high, critical]
38
+ * category:
39
+ * type: string
40
+ * on_invalid: ON_INVALID_RETRY
41
+ * max_retries: 2
42
+ * export:
43
+ * as: "${ . }"
44
+ *
45
+ * YAML Example (simple summarization, no schema):
46
+ * - summarize:
47
+ * call: llm
48
+ * with:
49
+ * model: "claude-sonnet-4-5"
50
+ * prompt: "Summarize in 2 sentences: ${ $context.document.text }"
51
+ * temperature: 0.3
52
+ * max_tokens: 200
53
+ * export:
54
+ * as: "${ . }"
55
+ *
56
+ * @generated from message ai.stigmer.agentic.workflow.v1.tasks.LlmCallTaskConfig
57
+ */
58
+ export type LlmCallTaskConfig = Message<"ai.stigmer.agentic.workflow.v1.tasks.LlmCallTaskConfig"> & {
59
+ /**
60
+ * Model reference resolved via the Stigmer model registry.
61
+ * Examples: "gpt-4o", "gpt-4o-mini", "claude-sonnet-4-5", "claude-haiku-3-5"
62
+ * Required field.
63
+ *
64
+ * @generated from field: string model = 1;
65
+ */
66
+ model: string;
67
+ /**
68
+ * System prompt that sets the LLM's role and constraints.
69
+ * Supports ${ } expression interpolation for dynamic system prompts.
70
+ * Optional — omit for tasks where the user prompt is self-contained.
71
+ *
72
+ * @generated from field: string system_prompt = 2;
73
+ */
74
+ systemPrompt: string;
75
+ /**
76
+ * User prompt / instruction sent to the LLM.
77
+ * Supports ${ } expression interpolation for injecting workflow context.
78
+ * Example: "Classify this ticket: ${ $context.ticket.description }"
79
+ * Required field.
80
+ *
81
+ * @generated from field: string prompt = 3;
82
+ */
83
+ prompt: string;
84
+ /**
85
+ * JSON Schema for structured output.
86
+ *
87
+ * When set, the runner requests structured output from the provider
88
+ * (e.g., OpenAI's response_format, Anthropic's tool_use extraction)
89
+ * and validates the response against this schema.
90
+ *
91
+ * Uses the same google.protobuf.Struct + JSON Schema pattern as
92
+ * AgentCallOutputContract.schema for consistency across the workflow domain.
93
+ *
94
+ * When not set, the task output is the LLM's raw text response.
95
+ *
96
+ * @generated from field: google.protobuf.Struct response_schema = 4;
97
+ */
98
+ responseSchema?: JsonObject;
99
+ /**
100
+ * Sampling temperature (0.0 to 2.0).
101
+ * Lower = more deterministic, higher = more creative.
102
+ * Range is 0.0-2.0 to accommodate all major providers (OpenAI supports
103
+ * up to 2.0; others clamp to their supported range at runtime).
104
+ * Optional — uses the provider's default when not set.
105
+ *
106
+ * @generated from field: float temperature = 5;
107
+ */
108
+ temperature: number;
109
+ /**
110
+ * Maximum tokens in the LLM response.
111
+ * Optional — uses the provider's default when not set.
112
+ *
113
+ * @generated from field: int32 max_tokens = 6;
114
+ */
115
+ maxTokens: number;
116
+ /**
117
+ * Timeout for the LLM call in seconds.
118
+ * Default: 60. Max: 600 (10 minutes).
119
+ * Optional.
120
+ *
121
+ * @generated from field: int32 timeout = 7;
122
+ */
123
+ timeout: number;
124
+ /**
125
+ * Policy when the LLM response fails schema validation.
126
+ * Only meaningful when response_schema is set; ignored otherwise.
127
+ * Default: ON_INVALID_FAIL (task fails immediately).
128
+ *
129
+ * @generated from field: ai.stigmer.agentic.workflow.v1.tasks.OnInvalidOutputPolicy on_invalid = 8;
130
+ */
131
+ onInvalid: OnInvalidOutputPolicy;
132
+ /**
133
+ * Maximum schema-validation retry attempts when on_invalid is ON_INVALID_RETRY.
134
+ *
135
+ * Each retry re-prompts the LLM with the validation errors and expected
136
+ * schema, giving it an opportunity to self-correct.
137
+ *
138
+ * Only meaningful when on_invalid is ON_INVALID_RETRY; ignored otherwise.
139
+ * Default: 1. Valid range: 1-5.
140
+ *
141
+ * @generated from field: int32 max_retries = 9;
142
+ */
143
+ maxRetries: number;
144
+ /**
145
+ * Target task to branch to when schema validation cannot be resolved.
146
+ *
147
+ * Used in two scenarios:
148
+ * 1. on_invalid is ON_INVALID_RETRY and all retries are exhausted
149
+ * 2. on_invalid is ON_INVALID_FALLBACK (immediate branch, no retry)
150
+ *
151
+ * Must reference a valid task name in the same workflow.
152
+ * When empty and retries are exhausted, the task fails.
153
+ *
154
+ * @generated from field: string fallback_task = 10;
155
+ */
156
+ fallbackTask: string;
157
+ /**
158
+ * Per-task cost cap in micro-USD (1 USD = 1,000,000 micros).
159
+ * When set, the runtime terminates this specific LLM call if its cost
160
+ * exceeds this limit, independent of the workflow-level budget.
161
+ * The runtime checks both: per-task limit first, then workflow remaining budget.
162
+ * Optional — when 0, no per-task cost limit is enforced.
163
+ *
164
+ * @since T05 (Workflow-Level Budget Primitives)
165
+ *
166
+ * @generated from field: int64 max_cost_micros = 11;
167
+ */
168
+ maxCostMicros: bigint;
169
+ /**
170
+ * Per-task token cap (input + output tokens combined).
171
+ * When set, the runtime terminates this specific LLM call if total tokens
172
+ * exceed this limit. Complements max_tokens (field 6), which limits only
173
+ * the output token count as a generation parameter.
174
+ * Optional — when 0, no per-task total token limit is enforced.
175
+ *
176
+ * @since T05 (Workflow-Level Budget Primitives)
177
+ *
178
+ * @generated from field: int64 max_total_tokens = 12;
179
+ */
180
+ maxTotalTokens: bigint;
181
+ };
182
+ /**
183
+ * Describes the message ai.stigmer.agentic.workflow.v1.tasks.LlmCallTaskConfig.
184
+ * Use `create(LlmCallTaskConfigSchema)` to create a new message.
185
+ */
186
+ export declare const LlmCallTaskConfigSchema: GenMessage<LlmCallTaskConfig>;
@@ -0,0 +1,18 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/agentic/workflow/v1/tasks/llm_call.proto (package ai.stigmer.agentic.workflow.v1.tasks, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_agentic_workflow_v1_tasks_common } from "./common_pb.js";
6
+ import { file_ai_stigmer_commons_apiresource_field_options } from "../../../../commons/apiresource/field_options_pb.js";
7
+ import { file_buf_validate_validate } from "../../../../../../buf/validate/validate_pb.js";
8
+ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
9
+ /**
10
+ * Describes the file ai/stigmer/agentic/workflow/v1/tasks/llm_call.proto.
11
+ */
12
+ export const file_ai_stigmer_agentic_workflow_v1_tasks_llm_call = /*@__PURE__*/ fileDesc("CjNhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvdGFza3MvbGxtX2NhbGwucHJvdG8SJGFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS50YXNrcyLIAwoRTGxtQ2FsbFRhc2tDb25maWcSGwoFbW9kZWwYASABKAlCDLpICcgBAXIEEAEYfxIbCg1zeXN0ZW1fcHJvbXB0GAIgASgJQgTYhSwBEh4KBnByb21wdBgDIAEoCUIOukgHyAEBcgIQAdiFLAESMAoPcmVzcG9uc2Vfc2NoZW1hGAQgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIkCgt0ZW1wZXJhdHVyZRgFIAEoAkIPukgMCgodAAAAQC0AAAAAEhsKCm1heF90b2tlbnMYBiABKAVCB7pIBBoCKAESGwoHdGltZW91dBgHIAEoBUIKukgHGgUY2AQoARJPCgpvbl9pbnZhbGlkGAggASgOMjsuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLnRhc2tzLk9uSW52YWxpZE91dHB1dFBvbGljeRIeCgttYXhfcmV0cmllcxgJIAEoBUIJukgGGgQYBSgBEhUKDWZhbGxiYWNrX3Rhc2sYCiABKAkSFwoPbWF4X2Nvc3RfbWljcm9zGAsgASgDEhgKEG1heF90b3RhbF90b2tlbnMYDCABKAM6DOqLLAhsbG1fY2FsbGIGcHJvdG8z", [file_ai_stigmer_agentic_workflow_v1_tasks_common, file_ai_stigmer_commons_apiresource_field_options, file_buf_validate_validate, file_google_protobuf_struct]);
13
+ /**
14
+ * Describes the message ai.stigmer.agentic.workflow.v1.tasks.LlmCallTaskConfig.
15
+ * Use `create(LlmCallTaskConfigSchema)` to create a new message.
16
+ */
17
+ export const LlmCallTaskConfigSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_tasks_llm_call, 0);
18
+ //# sourceMappingURL=llm_call_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"llm_call_pb.js","sourceRoot":"","sources":["../../../../../../../ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yIAAyI;AACzI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,gDAAgD,EAAE,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAE,iDAAiD,EAAE,MAAM,qDAAqD,CAAC;AACxH,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAC3F,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAY,aAAa,CACtF,QAAQ,CAAC,0uBAA0uB,EAAE,CAAC,gDAAgD,EAAE,iDAAiD,EAAE,0BAA0B,EAAE,2BAA2B,CAAC,CAAC,CAAC;AA4Lv5B;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,160 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file ai/stigmer/agentic/workflow/v1/tasks/notification.proto.
5
+ */
6
+ export declare const file_ai_stigmer_agentic_workflow_v1_tasks_notification: GenFile;
7
+ /**
8
+ * NotificationTaskConfig defines the configuration for notification tasks
9
+ * that send messages to humans through channels like Slack, email, Discord,
10
+ * Microsoft Teams, or webhooks.
11
+ *
12
+ * @internal
13
+ * notification is a convenience abstraction for "send a message to humans"
14
+ * — simpler and more intuitive than emit_event for common operational
15
+ * notification patterns. While emit_event publishes system-level CloudEvents
16
+ * for machine consumption, notification is purpose-built for human-readable
17
+ * messages with channel routing and recipient targeting.
18
+ *
19
+ * Key distinction from related task types:
20
+ * emit_event = system-to-system (CloudEvents, consumed by workflows/services)
21
+ * notification = system-to-human (Slack, email, Discord — read by people)
22
+ * human_input = system-to-human-to-system (waits for a response; notification
23
+ * is fire-and-forget)
24
+ *
25
+ * Notifications are fire-and-forget by default. The task output confirms
26
+ * delivery was attempted but does not wait for acknowledgment:
27
+ * {
28
+ * "channel": "slack",
29
+ * "recipients": ["#incident-response"],
30
+ * "delivered": true,
31
+ * "delivered_at": "<ISO 8601 timestamp>"
32
+ * }
33
+ *
34
+ * For notifications that require acknowledgment or a response, use
35
+ * human_input instead — it pauses the workflow until a human responds.
36
+ *
37
+ * The channel field is a string (not an enum) to allow extensibility:
38
+ * new notification channels can be added without proto changes. The
39
+ * runtime (T13) resolves channel identifiers to actual notification
40
+ * providers configured in the workflow instance's environment.
41
+ *
42
+ * YAML Example (Slack notification):
43
+ * - alert_slack:
44
+ * notification:
45
+ * channel: "slack"
46
+ * recipients:
47
+ * - "#incident-response"
48
+ * - "@oncall-lead"
49
+ * subject: "P${ $context.triage.severity } Incident: ${ $context.ticket.title }"
50
+ * body: |
51
+ * *Severity*: ${ $context.triage.severity }
52
+ * *Category*: ${ $context.triage.category }
53
+ * *Customer Impact*: ${ $context.triage.customer_impact }
54
+ * *Summary*: ${ $context.agent_analysis.structured.summary }
55
+ * metadata:
56
+ * thread_ts: "${ $context.slack_thread_id }"
57
+ * export:
58
+ * as: "${ . }"
59
+ *
60
+ * YAML Example (email with template):
61
+ * - send_confirmation:
62
+ * notification:
63
+ * channel: "email"
64
+ * recipients:
65
+ * - "${ $context.customer.email }"
66
+ * subject: "Order ${ $context.order.number } Confirmed"
67
+ * body: "Your order has been confirmed. You will receive tracking information shortly."
68
+ * template: "order-confirmation"
69
+ * metadata:
70
+ * priority: "high"
71
+ * reply_to: "support@acme.com"
72
+ * export:
73
+ * as: "${ . }"
74
+ *
75
+ * @generated from message ai.stigmer.agentic.workflow.v1.tasks.NotificationTaskConfig
76
+ */
77
+ export type NotificationTaskConfig = Message<"ai.stigmer.agentic.workflow.v1.tasks.NotificationTaskConfig"> & {
78
+ /**
79
+ * Notification channel identifier.
80
+ * Determines which notification provider processes this message.
81
+ * Common values: "slack", "email", "discord", "teams", "webhook"
82
+ *
83
+ * This is a string (not an enum) for extensibility — new channels can
84
+ * be added without proto changes. The runtime resolves the channel to
85
+ * its configured provider in the workflow instance's environment.
86
+ *
87
+ * @generated from field: string channel = 1;
88
+ */
89
+ channel: string;
90
+ /**
91
+ * Recipient identifiers for the notification.
92
+ * Format depends on the channel:
93
+ * - slack: "#channel-name", "@username", or Slack user IDs
94
+ * - email: "user@example.com"
95
+ * - discord: "#channel-name", "@role"
96
+ * - teams: "#channel-name"
97
+ * - webhook: URL or webhook identifier
98
+ *
99
+ * At least one recipient is required.
100
+ * Individual values may contain ${ } expressions that the runtime
101
+ * evaluates before delivery (e.g., "${ $context.customer.email }").
102
+ *
103
+ * @generated from field: repeated string recipients = 2;
104
+ */
105
+ recipients: string[];
106
+ /**
107
+ * Notification subject or title.
108
+ * Supports ${ } expression interpolation.
109
+ * Used as: email subject line, Slack message title, webhook payload title.
110
+ * Optional — some channels (e.g., simple Slack messages) may not use it.
111
+ *
112
+ * @generated from field: string subject = 3;
113
+ */
114
+ subject: string;
115
+ /**
116
+ * Notification body / message content.
117
+ * Supports ${ } expression interpolation.
118
+ * The primary content of the notification. Formatting depends on channel
119
+ * (e.g., Slack Markdown, HTML for email, plain text for SMS).
120
+ *
121
+ * When template is also set, body serves as the fallback content if the
122
+ * template cannot be resolved.
123
+ *
124
+ * @generated from field: string body = 4;
125
+ */
126
+ body: string;
127
+ /**
128
+ * Named template reference for rendering the notification.
129
+ * When set, the runtime looks up this template in the workflow instance's
130
+ * environment and uses it for rendering, with the workflow context as
131
+ * template data. The body field is used as fallback if the template
132
+ * cannot be resolved.
133
+ *
134
+ * Examples: "incident-alert", "order-confirmation", "approval-request"
135
+ * Template resolution and rendering is a runtime concern (T13).
136
+ *
137
+ * @generated from field: string template = 5;
138
+ */
139
+ template: string;
140
+ /**
141
+ * Channel-specific metadata as key-value pairs.
142
+ * Provides additional configuration that varies by notification channel:
143
+ * - slack: {"thread_ts": "...", "unfurl_links": "false"}
144
+ * - email: {"priority": "high", "reply_to": "...", "cc": "..."}
145
+ * - webhook: {"method": "POST", "content_type": "application/json"}
146
+ *
147
+ * Values may contain ${ } expressions that the runtime evaluates
148
+ * before delivery.
149
+ *
150
+ * @generated from field: map<string, string> metadata = 6;
151
+ */
152
+ metadata: {
153
+ [key: string]: string;
154
+ };
155
+ };
156
+ /**
157
+ * Describes the message ai.stigmer.agentic.workflow.v1.tasks.NotificationTaskConfig.
158
+ * Use `create(NotificationTaskConfigSchema)` to create a new message.
159
+ */
160
+ export declare const NotificationTaskConfigSchema: GenMessage<NotificationTaskConfig>;
@@ -0,0 +1,16 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/agentic/workflow/v1/tasks/notification.proto (package ai.stigmer.agentic.workflow.v1.tasks, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_commons_apiresource_field_options } from "../../../../commons/apiresource/field_options_pb.js";
6
+ import { file_buf_validate_validate } from "../../../../../../buf/validate/validate_pb.js";
7
+ /**
8
+ * Describes the file ai/stigmer/agentic/workflow/v1/tasks/notification.proto.
9
+ */
10
+ export const file_ai_stigmer_agentic_workflow_v1_tasks_notification = /*@__PURE__*/ fileDesc("CjdhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvdGFza3Mvbm90aWZpY2F0aW9uLnByb3RvEiRhaS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEudGFza3MivQIKFk5vdGlmaWNhdGlvblRhc2tDb25maWcSHQoHY2hhbm5lbBgBIAEoCUIMukgJyAEBcgQQARg/EhwKCnJlY2lwaWVudHMYAiADKAlCCLpIBZIBAggBEhUKB3N1YmplY3QYAyABKAlCBNiFLAESHAoEYm9keRgEIAEoCUIOukgHyAEBcgIQAdiFLAESEAoIdGVtcGxhdGUYBSABKAkSXAoIbWV0YWRhdGEYBiADKAsySi5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEudGFza3MuTm90aWZpY2F0aW9uVGFza0NvbmZpZy5NZXRhZGF0YUVudHJ5Gi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AToQ6ossDG5vdGlmaWNhdGlvbmIGcHJvdG8z", [file_ai_stigmer_commons_apiresource_field_options, file_buf_validate_validate]);
11
+ /**
12
+ * Describes the message ai.stigmer.agentic.workflow.v1.tasks.NotificationTaskConfig.
13
+ * Use `create(NotificationTaskConfigSchema)` to create a new message.
14
+ */
15
+ export const NotificationTaskConfigSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_tasks_notification, 0);
16
+ //# sourceMappingURL=notification_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification_pb.js","sourceRoot":"","sources":["../../../../../../../ai/stigmer/agentic/workflow/v1/tasks/notification_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6IAA6I;AAC7I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,iDAAiD,EAAE,MAAM,qDAAqD,CAAC;AACxH,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAG3F;;GAEG;AACH,MAAM,CAAC,MAAM,sDAAsD,GAAY,aAAa,CAC1F,QAAQ,CAAC,sjBAAsjB,EAAE,CAAC,iDAAiD,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA2JppB;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,sDAAsD,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,124 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file ai/stigmer/agentic/workflow/v1/tasks/transform.proto.
5
+ */
6
+ export declare const file_ai_stigmer_agentic_workflow_v1_tasks_transform: GenFile;
7
+ /**
8
+ * TransformTaskConfig defines the configuration for transform tasks that
9
+ * perform deterministic data transformation without LLM calls.
10
+ *
11
+ * @internal
12
+ * Use transform when you need to reshape data between tasks: projecting
13
+ * fields, joining objects, converting formats, or building API payloads.
14
+ * Unlike set_vars (which mutates workflow state variables as a side effect),
15
+ * transform produces an explicit output that flows through export like any
16
+ * other task — visible and inspectable in the execution viewer.
17
+ *
18
+ * The distinction from set_vars:
19
+ * set_vars = imperative assignment ("set X to Y"), mutates workflow context
20
+ * transform = functional transformation ("reshape this data"), produces output
21
+ *
22
+ * YAML Example (JQ — reshape data for an API call):
23
+ * - build_api_payload:
24
+ * transform:
25
+ * engine: jq
26
+ * expression: '{name: .customer.full_name, severity: .triage.severity, summary: .agent_analysis.structured.summary}'
27
+ * input: "${ $context }"
28
+ * export:
29
+ * as: "${ . }"
30
+ *
31
+ * YAML Example (template — render a notification message):
32
+ * - render_notification:
33
+ * transform:
34
+ * engine: template
35
+ * expression: "Ticket {{ .ticket_id }} classified as {{ .severity }} — {{ .summary }}"
36
+ * input: "${ $context.build_api_payload }"
37
+ * export:
38
+ * as: "${ . }"
39
+ *
40
+ * @generated from message ai.stigmer.agentic.workflow.v1.tasks.TransformTaskConfig
41
+ */
42
+ export type TransformTaskConfig = Message<"ai.stigmer.agentic.workflow.v1.tasks.TransformTaskConfig"> & {
43
+ /**
44
+ * Transformation engine to use.
45
+ * Required — must be explicitly set (not UNSPECIFIED).
46
+ *
47
+ * @generated from field: ai.stigmer.agentic.workflow.v1.tasks.TransformEngine engine = 1;
48
+ */
49
+ engine: TransformEngine;
50
+ /**
51
+ * Transformation expression in the chosen engine's syntax.
52
+ *
53
+ * For JQ: a JQ filter expression (e.g., '{name: .full_name}')
54
+ * For JSONata: a JSONata expression (e.g., '{"name": full_name}')
55
+ * For TEMPLATE: a Go text/template string with {{ }} placeholders
56
+ *
57
+ * Required field.
58
+ *
59
+ * @generated from field: string expression = 2;
60
+ */
61
+ expression: string;
62
+ /**
63
+ * Expression selecting the input data for the transformation.
64
+ * Supports ${ } expression interpolation.
65
+ * When omitted, the entire workflow context is used as input.
66
+ * Example: "${ $context.triage }" to transform just the triage output.
67
+ *
68
+ * @generated from field: string input = 3;
69
+ */
70
+ input: string;
71
+ };
72
+ /**
73
+ * Describes the message ai.stigmer.agentic.workflow.v1.tasks.TransformTaskConfig.
74
+ * Use `create(TransformTaskConfigSchema)` to create a new message.
75
+ */
76
+ export declare const TransformTaskConfigSchema: GenMessage<TransformTaskConfig>;
77
+ /**
78
+ * TransformEngine enumerates the supported transformation engines.
79
+ *
80
+ * Each engine has different syntax and capabilities:
81
+ * - JQ: full JQ expression language for JSON-to-JSON transformation
82
+ * - JSONata: JSONata expression language (JSON query and transformation)
83
+ * - TEMPLATE: Go text/template with ${ } expression interpolation for
84
+ * string-building use cases (email bodies, API payloads, log messages)
85
+ *
86
+ * @generated from enum ai.stigmer.agentic.workflow.v1.tasks.TransformEngine
87
+ */
88
+ export declare enum TransformEngine {
89
+ /**
90
+ * Default value, not a valid engine. Must be explicitly set.
91
+ *
92
+ * @generated from enum value: TRANSFORM_ENGINE_UNSPECIFIED = 0;
93
+ */
94
+ UNSPECIFIED = 0,
95
+ /**
96
+ * JQ expression engine.
97
+ * Full JQ syntax for filtering, projecting, and reshaping JSON data.
98
+ * Example: '{name: .customer.full_name, severity: .triage.severity}'
99
+ *
100
+ * @generated from enum value: TRANSFORM_ENGINE_JQ = 1;
101
+ */
102
+ JQ = 1,
103
+ /**
104
+ * JSONata expression engine.
105
+ * JSONata syntax for JSON query and transformation.
106
+ * Example: '{"name": customer.full_name, "severity": triage.severity}'
107
+ *
108
+ * @generated from enum value: TRANSFORM_ENGINE_JSONATA = 2;
109
+ */
110
+ JSONATA = 2,
111
+ /**
112
+ * Template engine using Go's text/template syntax.
113
+ * Supports ${ } expression interpolation for input variable references.
114
+ * Best for building strings (email bodies, messages, API payloads).
115
+ * Example: 'Ticket {{ .ticket_id }} classified as {{ .severity }}'
116
+ *
117
+ * @generated from enum value: TRANSFORM_ENGINE_TEMPLATE = 3;
118
+ */
119
+ TEMPLATE = 3
120
+ }
121
+ /**
122
+ * Describes the enum ai.stigmer.agentic.workflow.v1.tasks.TransformEngine.
123
+ */
124
+ export declare const TransformEngineSchema: GenEnum<TransformEngine>;