@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.
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +7 -0
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +2 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +54 -0
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +56 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +149 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +50 -2
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +31 -0
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +32 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +31 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +16 -0
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +2 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +68 -0
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +6 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
- package/ai/stigmer/agentic/artifact/v1/api_pb.d.ts +152 -0
- package/ai/stigmer/agentic/artifact/v1/api_pb.js +24 -0
- package/ai/stigmer/agentic/artifact/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/command_connect.d.ts +83 -0
- package/ai/stigmer/agentic/artifact/v1/command_connect.js +92 -0
- package/ai/stigmer/agentic/artifact/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/command_pb.d.ts +86 -0
- package/ai/stigmer/agentic/artifact/v1/command_pb.js +36 -0
- package/ai/stigmer/agentic/artifact/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/enum_pb.d.ts +49 -0
- package/ai/stigmer/agentic/artifact/v1/enum_pb.js +54 -0
- package/ai/stigmer/agentic/artifact/v1/enum_pb.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/io_pb.d.ts +205 -0
- package/ai/stigmer/agentic/artifact/v1/io_pb.js +37 -0
- package/ai/stigmer/agentic/artifact/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/query_connect.d.ts +127 -0
- package/ai/stigmer/agentic/artifact/v1/query_connect.js +135 -0
- package/ai/stigmer/agentic/artifact/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/query_pb.d.ts +128 -0
- package/ai/stigmer/agentic/artifact/v1/query_pb.js +32 -0
- package/ai/stigmer/agentic/artifact/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/spec_pb.d.ts +161 -0
- package/ai/stigmer/agentic/artifact/v1/spec_pb.js +25 -0
- package/ai/stigmer/agentic/artifact/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/runner/v1/api_pb.d.ts +33 -0
- package/ai/stigmer/agentic/runner/v1/api_pb.js +1 -1
- package/ai/stigmer/agentic/runner/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/runner/v1/io_pb.d.ts +15 -1
- package/ai/stigmer/agentic/runner/v1/io_pb.js +1 -1
- package/ai/stigmer/agentic/runner/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +30 -0
- package/ai/stigmer/agentic/workflow/v1/command_connect.js +31 -0
- package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +30 -0
- package/ai/stigmer/agentic/workflow/v1/command_pb.js +2 -1
- package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/enum_pb.d.ts +141 -1
- package/ai/stigmer/agentic/workflow/v1/enum_pb.js +142 -1
- package/ai/stigmer/agentic/workflow/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/spec_pb.d.ts +132 -1
- package/ai/stigmer/agentic/workflow/v1/spec_pb.js +10 -5
- package/ai/stigmer/agentic/workflow/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/task_kind_descriptor_pb.d.ts +430 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_descriptor_pb.js +172 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_descriptor_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_connect.d.ts +39 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_connect.js +46 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_connect.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_pb.d.ts +41 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_pb.js +28 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +186 -4
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js +10 -2
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/common_pb.d.ts +67 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/common_pb.js +72 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/common_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/emit_event_pb.d.ts +147 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/emit_event_pb.js +22 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/emit_event_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/eval_pb.d.ts +341 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/eval_pb.js +128 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/eval_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.d.ts +129 -2
- package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js +56 -2
- package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.d.ts +284 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.js +80 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.d.ts +186 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.js +18 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/notification_pb.d.ts +160 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/notification_pb.js +16 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/notification_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/transform_pb.d.ts +124 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/transform_pb.js +65 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/transform_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.d.ts +19 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/validate_pb.d.ts +257 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/validate_pb.js +79 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/validate_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +96 -0
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +47 -0
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +48 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +47 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.d.ts +1287 -0
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js +303 -0
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +578 -72
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +82 -70
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.d.ts +182 -0
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js +184 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.d.ts +180 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js +2 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/io_pb.d.ts +8 -0
- package/ai/stigmer/billing/v1/io_pb.js +1 -1
- package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_connect.d.ts +29 -0
- package/ai/stigmer/platform/v1/server_info_connect.js +36 -0
- package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -0
- package/ai/stigmer/platform/v1/server_info_pb.d.ts +100 -0
- package/ai/stigmer/platform/v1/server_info_pb.js +65 -0
- package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,172 @@
|
|
|
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/task_kind_descriptor.proto (package ai.stigmer.agentic.workflow.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_workflow_v1_enum } from "./enum_pb.js";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file ai/stigmer/agentic/workflow/v1/task_kind_descriptor.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_ai_stigmer_agentic_workflow_v1_task_kind_descriptor = /*@__PURE__*/ fileDesc("CjlhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvdGFza19raW5kX2Rlc2NyaXB0b3IucHJvdG8SHmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MSJHCg5UYXNrRmllbGRHcm91cBIKCgJpZBgBIAEoCRIUCgxkaXNwbGF5X25hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAki1gIKE1Rhc2tGaWVsZERlc2NyaXB0b3ISDAoEbmFtZRgBIAEoCRIUCgxkaXNwbGF5X25hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSOwoEdHlwZRgEIAEoDjItLmFpLnN0aWdtZXIuYWdl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naXN0cnlSZXNwb25zZRJHCgtkZXNjcmlwdG9ycxgBIAMoCzIyLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5UYXNrS2luZERlc2NyaXB0b3Iq9wEKEFRhc2tLaW5kQ2F0ZWdvcnkSIgoeVEFTS19LSU5EX0NBVEVHT1JZX1VOU1BFQ0lGSUVEEAASIwofVEFTS19LSU5EX0NBVEVHT1JZX0NPTlRST0xfRkxPVxABEiEKHVRBU0tfS0lORF9DQVRFR09SWV9JTlZPQ0FUSU9OEAISGQoVVEFTS19LSU5EX0NBVEVHT1JZX0FJEAMSGwoXVEFTS19LSU5EX0NBVEVHT1JZX0RBVEEQBBIhCh1UQVNLX0tJTkRfQ0FURUdPUllfR09WRVJOQU5DRRAFEhwKGFRBU0tfS0lORF9DQVRFR09SWV9FVkVOVBAGKqYCCg1UYXNrRmllbGRUeXBlEh8KG1RBU0tfRklFTERfVFlQRV9VTlNQRUNJRklFRBAAEhoKFlRBU0tfRklFTERfVFlQRV9TVFJJTkcQARIZChVUQVNLX0ZJRUxEX1RZUEVfSU5UMzIQAhIZChVUQVNLX0ZJRUxEX1RZUEVfRkxPQVQQAxIYChRUQVNLX0ZJRUxEX1RZUEVfQk9PTBAEEhgKFFRBU0tfRklFTERfVFlQRV9FTlVNEAUSGgoWVEFTS19GSUVMRF9UWVBFX1NUUlVDVBAGEhwKGFRBU0tfRklFTERfVFlQRV9SRVBFQVRFRBAHEhcKE1RBU0tfRklFTERfVFlQRV9NQVAQCBIbChdUQVNLX0ZJRUxEX1RZUEVfTUVTU0FHRRAJYgZwcm90bzM", [file_ai_stigmer_agentic_workflow_v1_enum]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message ai.stigmer.agentic.workflow.v1.TaskFieldGroup.
|
|
12
|
+
* Use `create(TaskFieldGroupSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const TaskFieldGroupSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_task_kind_descriptor, 0);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message ai.stigmer.agentic.workflow.v1.TaskFieldDescriptor.
|
|
17
|
+
* Use `create(TaskFieldDescriptorSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const TaskFieldDescriptorSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_task_kind_descriptor, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message ai.stigmer.agentic.workflow.v1.TaskKindDescriptor.
|
|
22
|
+
* Use `create(TaskKindDescriptorSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const TaskKindDescriptorSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_task_kind_descriptor, 2);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message ai.stigmer.agentic.workflow.v1.GetTaskKindRegistryRequest.
|
|
27
|
+
* Use `create(GetTaskKindRegistryRequestSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const GetTaskKindRegistryRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_task_kind_descriptor, 3);
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message ai.stigmer.agentic.workflow.v1.GetTaskKindRegistryResponse.
|
|
32
|
+
* Use `create(GetTaskKindRegistryResponseSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const GetTaskKindRegistryResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_task_kind_descriptor, 4);
|
|
35
|
+
/**
|
|
36
|
+
* TaskKindCategory classifies task kinds by their functional role in a workflow.
|
|
37
|
+
*
|
|
38
|
+
* Used by the UI to render task palettes with grouped categories, and by
|
|
39
|
+
* documentation generators to organize task reference pages.
|
|
40
|
+
*
|
|
41
|
+
* @since T04 (Task Schema Registry)
|
|
42
|
+
*
|
|
43
|
+
* @generated from enum ai.stigmer.agentic.workflow.v1.TaskKindCategory
|
|
44
|
+
*/
|
|
45
|
+
export var TaskKindCategory;
|
|
46
|
+
(function (TaskKindCategory) {
|
|
47
|
+
/**
|
|
48
|
+
* @generated from enum value: TASK_KIND_CATEGORY_UNSPECIFIED = 0;
|
|
49
|
+
*/
|
|
50
|
+
TaskKindCategory[TaskKindCategory["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
51
|
+
/**
|
|
52
|
+
* Control flow tasks that direct execution order.
|
|
53
|
+
* Members: switch_case, for_each, fork, try_catch, wait
|
|
54
|
+
*
|
|
55
|
+
* @generated from enum value: TASK_KIND_CATEGORY_CONTROL_FLOW = 1;
|
|
56
|
+
*/
|
|
57
|
+
TaskKindCategory[TaskKindCategory["CONTROL_FLOW"] = 1] = "CONTROL_FLOW";
|
|
58
|
+
/**
|
|
59
|
+
* Tasks that invoke external services or sub-workflows.
|
|
60
|
+
* Members: http_call, grpc_call, activity_call, run_workflow
|
|
61
|
+
*
|
|
62
|
+
* @generated from enum value: TASK_KIND_CATEGORY_INVOCATION = 2;
|
|
63
|
+
*/
|
|
64
|
+
TaskKindCategory[TaskKindCategory["INVOCATION"] = 2] = "INVOCATION";
|
|
65
|
+
/**
|
|
66
|
+
* AI-native tasks that invoke language models or agents.
|
|
67
|
+
* Members: agent_call, llm_call
|
|
68
|
+
*
|
|
69
|
+
* @generated from enum value: TASK_KIND_CATEGORY_AI = 3;
|
|
70
|
+
*/
|
|
71
|
+
TaskKindCategory[TaskKindCategory["AI"] = 3] = "AI";
|
|
72
|
+
/**
|
|
73
|
+
* Tasks that manipulate, validate, or transform data.
|
|
74
|
+
* Members: set_vars, transform, validate
|
|
75
|
+
*
|
|
76
|
+
* @generated from enum value: TASK_KIND_CATEGORY_DATA = 4;
|
|
77
|
+
*/
|
|
78
|
+
TaskKindCategory[TaskKindCategory["DATA"] = 4] = "DATA";
|
|
79
|
+
/**
|
|
80
|
+
* Tasks that require human interaction to proceed.
|
|
81
|
+
* Members: human_input
|
|
82
|
+
*
|
|
83
|
+
* @generated from enum value: TASK_KIND_CATEGORY_GOVERNANCE = 5;
|
|
84
|
+
*/
|
|
85
|
+
TaskKindCategory[TaskKindCategory["GOVERNANCE"] = 5] = "GOVERNANCE";
|
|
86
|
+
/**
|
|
87
|
+
* Tasks that emit, listen for, or route events and notifications.
|
|
88
|
+
* Members: listen, emit_event, notification, raise_error
|
|
89
|
+
*
|
|
90
|
+
* @generated from enum value: TASK_KIND_CATEGORY_EVENT = 6;
|
|
91
|
+
*/
|
|
92
|
+
TaskKindCategory[TaskKindCategory["EVENT"] = 6] = "EVENT";
|
|
93
|
+
})(TaskKindCategory || (TaskKindCategory = {}));
|
|
94
|
+
/**
|
|
95
|
+
* Describes the enum ai.stigmer.agentic.workflow.v1.TaskKindCategory.
|
|
96
|
+
*/
|
|
97
|
+
export const TaskKindCategorySchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_workflow_v1_task_kind_descriptor, 0);
|
|
98
|
+
/**
|
|
99
|
+
* TaskFieldType represents the data type of a task configuration field
|
|
100
|
+
* as understood by UI form renderers and schema validators.
|
|
101
|
+
*
|
|
102
|
+
* @since T04 (Task Schema Registry)
|
|
103
|
+
*
|
|
104
|
+
* @generated from enum ai.stigmer.agentic.workflow.v1.TaskFieldType
|
|
105
|
+
*/
|
|
106
|
+
export var TaskFieldType;
|
|
107
|
+
(function (TaskFieldType) {
|
|
108
|
+
/**
|
|
109
|
+
* @generated from enum value: TASK_FIELD_TYPE_UNSPECIFIED = 0;
|
|
110
|
+
*/
|
|
111
|
+
TaskFieldType[TaskFieldType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
112
|
+
/**
|
|
113
|
+
* Plain string value.
|
|
114
|
+
*
|
|
115
|
+
* @generated from enum value: TASK_FIELD_TYPE_STRING = 1;
|
|
116
|
+
*/
|
|
117
|
+
TaskFieldType[TaskFieldType["STRING"] = 1] = "STRING";
|
|
118
|
+
/**
|
|
119
|
+
* 32-bit integer.
|
|
120
|
+
*
|
|
121
|
+
* @generated from enum value: TASK_FIELD_TYPE_INT32 = 2;
|
|
122
|
+
*/
|
|
123
|
+
TaskFieldType[TaskFieldType["INT32"] = 2] = "INT32";
|
|
124
|
+
/**
|
|
125
|
+
* 32-bit floating point.
|
|
126
|
+
*
|
|
127
|
+
* @generated from enum value: TASK_FIELD_TYPE_FLOAT = 3;
|
|
128
|
+
*/
|
|
129
|
+
TaskFieldType[TaskFieldType["FLOAT"] = 3] = "FLOAT";
|
|
130
|
+
/**
|
|
131
|
+
* Boolean true/false.
|
|
132
|
+
*
|
|
133
|
+
* @generated from enum value: TASK_FIELD_TYPE_BOOL = 4;
|
|
134
|
+
*/
|
|
135
|
+
TaskFieldType[TaskFieldType["BOOL"] = 4] = "BOOL";
|
|
136
|
+
/**
|
|
137
|
+
* Enumeration — valid values listed in TaskFieldDescriptor.enum_values.
|
|
138
|
+
*
|
|
139
|
+
* @generated from enum value: TASK_FIELD_TYPE_ENUM = 5;
|
|
140
|
+
*/
|
|
141
|
+
TaskFieldType[TaskFieldType["ENUM"] = 5] = "ENUM";
|
|
142
|
+
/**
|
|
143
|
+
* Structured JSON object (google.protobuf.Struct in proto).
|
|
144
|
+
* Used for JSON Schema fields, form schemas, event data payloads.
|
|
145
|
+
*
|
|
146
|
+
* @generated from enum value: TASK_FIELD_TYPE_STRUCT = 6;
|
|
147
|
+
*/
|
|
148
|
+
TaskFieldType[TaskFieldType["STRUCT"] = 6] = "STRUCT";
|
|
149
|
+
/**
|
|
150
|
+
* Repeated (array) of a scalar or message type.
|
|
151
|
+
*
|
|
152
|
+
* @generated from enum value: TASK_FIELD_TYPE_REPEATED = 7;
|
|
153
|
+
*/
|
|
154
|
+
TaskFieldType[TaskFieldType["REPEATED"] = 7] = "REPEATED";
|
|
155
|
+
/**
|
|
156
|
+
* Map from string keys to string values.
|
|
157
|
+
*
|
|
158
|
+
* @generated from enum value: TASK_FIELD_TYPE_MAP = 8;
|
|
159
|
+
*/
|
|
160
|
+
TaskFieldType[TaskFieldType["MAP"] = 8] = "MAP";
|
|
161
|
+
/**
|
|
162
|
+
* Nested message type — field contains a sub-object with its own fields.
|
|
163
|
+
*
|
|
164
|
+
* @generated from enum value: TASK_FIELD_TYPE_MESSAGE = 9;
|
|
165
|
+
*/
|
|
166
|
+
TaskFieldType[TaskFieldType["MESSAGE"] = 9] = "MESSAGE";
|
|
167
|
+
})(TaskFieldType || (TaskFieldType = {}));
|
|
168
|
+
/**
|
|
169
|
+
* Describes the enum ai.stigmer.agentic.workflow.v1.TaskFieldType.
|
|
170
|
+
*/
|
|
171
|
+
export const TaskFieldTypeSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_workflow_v1_task_kind_descriptor, 1);
|
|
172
|
+
//# sourceMappingURL=task_kind_descriptor_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task_kind_descriptor_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/task_kind_descriptor_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yIAAyI;AACzI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,wCAAwC,EAAE,MAAM,cAAc,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,wDAAwD,GAAY,aAAa,CAC5F,QAAQ,CAAC,ixEAAixE,EAAE,CAAC,wCAAwC,CAAC,CAAC,CAAC;AAmC10E;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,wDAAwD,EAAE,CAAC,CAAC,CAAC;AAiH3E;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,wDAAwD,EAAE,CAAC,CAAC,CAAC;AAkI3E;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,wDAAwD,EAAE,CAA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wDAAwD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TaskKindRegistryQueryController provides read access to the task kind registry.
|
|
3
|
+
*
|
|
4
|
+
* This service exposes workflow task metadata for SDK/CLI consumers:
|
|
5
|
+
* - UI form generation from field descriptors
|
|
6
|
+
* - YAML editor autocomplete from JSON Schemas
|
|
7
|
+
* - Task palette rendering from categories and icons
|
|
8
|
+
* - Client-side pre-validation from config schemas
|
|
9
|
+
*
|
|
10
|
+
* The registry is a static catalog derived from proto definitions at build time.
|
|
11
|
+
* It does not require authentication — task metadata is public knowledge about
|
|
12
|
+
* the platform's capabilities, not user-specific data.
|
|
13
|
+
*
|
|
14
|
+
* @since T04 (Task Schema Registry)
|
|
15
|
+
*
|
|
16
|
+
* @generated from service ai.stigmer.agentic.workflow.v1.TaskKindRegistryQueryController
|
|
17
|
+
*/
|
|
18
|
+
export declare const TaskKindRegistryQueryController: {
|
|
19
|
+
readonly typeName: "ai.stigmer.agentic.workflow.v1.TaskKindRegistryQueryController";
|
|
20
|
+
readonly methods: {
|
|
21
|
+
/**
|
|
22
|
+
* Retrieve the complete task kind registry.
|
|
23
|
+
*
|
|
24
|
+
* Returns descriptors for all 20 workflow task kinds with full metadata:
|
|
25
|
+
* field schemas, JSON Schemas, categories, icons, examples, and output shapes.
|
|
26
|
+
*
|
|
27
|
+
* Caching: responses are immutable within a platform version. Clients should
|
|
28
|
+
* cache aggressively (recommended: 1 hour TTL with stale-while-revalidate).
|
|
29
|
+
*
|
|
30
|
+
* @generated from rpc ai.stigmer.agentic.workflow.v1.TaskKindRegistryQueryController.getTaskKindRegistry
|
|
31
|
+
*/
|
|
32
|
+
readonly getTaskKindRegistry: {
|
|
33
|
+
readonly name: "getTaskKindRegistry";
|
|
34
|
+
readonly I: any;
|
|
35
|
+
readonly O: any;
|
|
36
|
+
readonly kind: any;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/workflow/v1/task_kind_registry_query.proto (package ai.stigmer.agentic.workflow.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { GetTaskKindRegistryRequest, GetTaskKindRegistryResponse } from "./task_kind_descriptor_pbjs";
|
|
6
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* TaskKindRegistryQueryController provides read access to the task kind registry.
|
|
9
|
+
*
|
|
10
|
+
* This service exposes workflow task metadata for SDK/CLI consumers:
|
|
11
|
+
* - UI form generation from field descriptors
|
|
12
|
+
* - YAML editor autocomplete from JSON Schemas
|
|
13
|
+
* - Task palette rendering from categories and icons
|
|
14
|
+
* - Client-side pre-validation from config schemas
|
|
15
|
+
*
|
|
16
|
+
* The registry is a static catalog derived from proto definitions at build time.
|
|
17
|
+
* It does not require authentication — task metadata is public knowledge about
|
|
18
|
+
* the platform's capabilities, not user-specific data.
|
|
19
|
+
*
|
|
20
|
+
* @since T04 (Task Schema Registry)
|
|
21
|
+
*
|
|
22
|
+
* @generated from service ai.stigmer.agentic.workflow.v1.TaskKindRegistryQueryController
|
|
23
|
+
*/
|
|
24
|
+
export const TaskKindRegistryQueryController = {
|
|
25
|
+
typeName: "ai.stigmer.agentic.workflow.v1.TaskKindRegistryQueryController",
|
|
26
|
+
methods: {
|
|
27
|
+
/**
|
|
28
|
+
* Retrieve the complete task kind registry.
|
|
29
|
+
*
|
|
30
|
+
* Returns descriptors for all 20 workflow task kinds with full metadata:
|
|
31
|
+
* field schemas, JSON Schemas, categories, icons, examples, and output shapes.
|
|
32
|
+
*
|
|
33
|
+
* Caching: responses are immutable within a platform version. Clients should
|
|
34
|
+
* cache aggressively (recommended: 1 hour TTL with stale-while-revalidate).
|
|
35
|
+
*
|
|
36
|
+
* @generated from rpc ai.stigmer.agentic.workflow.v1.TaskKindRegistryQueryController.getTaskKindRegistry
|
|
37
|
+
*/
|
|
38
|
+
getTaskKindRegistry: {
|
|
39
|
+
name: "getTaskKindRegistry",
|
|
40
|
+
I: GetTaskKindRegistryRequest,
|
|
41
|
+
O: GetTaskKindRegistryResponse,
|
|
42
|
+
kind: MethodKind.Unary,
|
|
43
|
+
},
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=task_kind_registry_query_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task_kind_registry_query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/task_kind_registry_query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,6IAA6I;AAC7I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AACtG,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,gEAAgE;IAC1E,OAAO,EAAE;QACP;;;;;;;;;;WAUG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,0BAA0B;YAC7B,CAAC,EAAE,2BAA2B;YAC9B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { GetTaskKindRegistryRequestSchema, GetTaskKindRegistryResponseSchema } from "./task_kind_descriptor_pb.js";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file ai/stigmer/agentic/workflow/v1/task_kind_registry_query.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_ai_stigmer_agentic_workflow_v1_task_kind_registry_query: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* TaskKindRegistryQueryController provides read access to the task kind registry.
|
|
9
|
+
*
|
|
10
|
+
* This service exposes workflow task metadata for SDK/CLI consumers:
|
|
11
|
+
* - UI form generation from field descriptors
|
|
12
|
+
* - YAML editor autocomplete from JSON Schemas
|
|
13
|
+
* - Task palette rendering from categories and icons
|
|
14
|
+
* - Client-side pre-validation from config schemas
|
|
15
|
+
*
|
|
16
|
+
* The registry is a static catalog derived from proto definitions at build time.
|
|
17
|
+
* It does not require authentication — task metadata is public knowledge about
|
|
18
|
+
* the platform's capabilities, not user-specific data.
|
|
19
|
+
*
|
|
20
|
+
* @since T04 (Task Schema Registry)
|
|
21
|
+
*
|
|
22
|
+
* @generated from service ai.stigmer.agentic.workflow.v1.TaskKindRegistryQueryController
|
|
23
|
+
*/
|
|
24
|
+
export declare const TaskKindRegistryQueryController: GenService<{
|
|
25
|
+
/**
|
|
26
|
+
* Retrieve the complete task kind registry.
|
|
27
|
+
*
|
|
28
|
+
* Returns descriptors for all 20 workflow task kinds with full metadata:
|
|
29
|
+
* field schemas, JSON Schemas, categories, icons, examples, and output shapes.
|
|
30
|
+
*
|
|
31
|
+
* Caching: responses are immutable within a platform version. Clients should
|
|
32
|
+
* cache aggressively (recommended: 1 hour TTL with stale-while-revalidate).
|
|
33
|
+
*
|
|
34
|
+
* @generated from rpc ai.stigmer.agentic.workflow.v1.TaskKindRegistryQueryController.getTaskKindRegistry
|
|
35
|
+
*/
|
|
36
|
+
getTaskKindRegistry: {
|
|
37
|
+
methodKind: "unary";
|
|
38
|
+
input: typeof GetTaskKindRegistryRequestSchema;
|
|
39
|
+
output: typeof GetTaskKindRegistryResponseSchema;
|
|
40
|
+
};
|
|
41
|
+
}>;
|
|
@@ -0,0 +1,28 @@
|
|
|
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/task_kind_registry_query.proto (package ai.stigmer.agentic.workflow.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_workflow_v1_task_kind_descriptor } from "./task_kind_descriptor_pb.js";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file ai/stigmer/agentic/workflow/v1/task_kind_registry_query.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_ai_stigmer_agentic_workflow_v1_task_kind_registry_query = /*@__PURE__*/ fileDesc("Cj1haS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvdGFza19raW5kX3JlZ2lzdHJ5X3F1ZXJ5LnByb3RvEh5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEysgEKH1Rhc2tLaW5kUmVnaXN0cnlRdWVyeUNvbnRyb2xsZXISjgEKE2dldFRhc2tLaW5kUmVnaXN0cnkSOi5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuR2V0VGFza0tpbmRSZWdpc3RyeVJlcXVlc3QaOy5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuR2V0VGFza0tpbmRSZWdpc3RyeVJlc3BvbnNlYgZwcm90bzM", [file_ai_stigmer_agentic_workflow_v1_task_kind_descriptor]);
|
|
10
|
+
/**
|
|
11
|
+
* TaskKindRegistryQueryController provides read access to the task kind registry.
|
|
12
|
+
*
|
|
13
|
+
* This service exposes workflow task metadata for SDK/CLI consumers:
|
|
14
|
+
* - UI form generation from field descriptors
|
|
15
|
+
* - YAML editor autocomplete from JSON Schemas
|
|
16
|
+
* - Task palette rendering from categories and icons
|
|
17
|
+
* - Client-side pre-validation from config schemas
|
|
18
|
+
*
|
|
19
|
+
* The registry is a static catalog derived from proto definitions at build time.
|
|
20
|
+
* It does not require authentication — task metadata is public knowledge about
|
|
21
|
+
* the platform's capabilities, not user-specific data.
|
|
22
|
+
*
|
|
23
|
+
* @since T04 (Task Schema Registry)
|
|
24
|
+
*
|
|
25
|
+
* @generated from service ai.stigmer.agentic.workflow.v1.TaskKindRegistryQueryController
|
|
26
|
+
*/
|
|
27
|
+
export const TaskKindRegistryQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_agentic_workflow_v1_task_kind_registry_query, 0);
|
|
28
|
+
//# sourceMappingURL=task_kind_registry_query_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task_kind_registry_query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/task_kind_registry_query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6IAA6I;AAC7I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wDAAwD,EAAE,MAAM,8BAA8B,CAAC;AAExG;;GAEG;AACH,MAAM,CAAC,MAAM,4DAA4D,GAAY,aAAa,CAChG,QAAQ,CAAC,6XAA6X,EAAE,CAAC,wDAAwD,CAAC,CAAC,CAAC;AAEtc;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAiBvC,aAAa,CAChB,WAAW,CAAC,4DAA4D,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { ContextManagementConfig } from "../../../agentexecution/v1/spec_pb.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { Harness } from "../../../session/v1/enum_pb.js";
|
|
4
|
+
import type { OnInvalidOutputPolicy } from "./common_pb.js";
|
|
5
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
6
|
/**
|
|
5
7
|
* Describes the file ai/stigmer/agentic/workflow/v1/tasks/agent_call.proto.
|
|
6
8
|
*/
|
|
@@ -18,12 +20,11 @@ export declare const file_ai_stigmer_agentic_workflow_v1_tasks_agent_call: GenFi
|
|
|
18
20
|
* The workflow's execution context (environment variables, secrets) is
|
|
19
21
|
* passed to the agent invocation, allowing agents to access workflow state.
|
|
20
22
|
*
|
|
21
|
-
* YAML Example:
|
|
23
|
+
* YAML Example (without structured output):
|
|
22
24
|
* - analyze:
|
|
23
25
|
* call: agent
|
|
24
26
|
* with:
|
|
25
|
-
* agent: "code-reviewer"
|
|
26
|
-
* # OR agent: "stigmer/code-reviewer" # Explicit org reference
|
|
27
|
+
* agent: "code-reviewer"
|
|
27
28
|
* message: "Review this code: ${ $context.fetchCode.body }"
|
|
28
29
|
* env:
|
|
29
30
|
* GITHUB_TOKEN: "${ .secrets.GH_TOKEN }"
|
|
@@ -31,6 +32,32 @@ export declare const file_ai_stigmer_agentic_workflow_v1_tasks_agent_call: GenFi
|
|
|
31
32
|
* model: "claude-3-5-sonnet"
|
|
32
33
|
* timeout: 300
|
|
33
34
|
*
|
|
35
|
+
* YAML Example (with structured output):
|
|
36
|
+
* - triage_ticket:
|
|
37
|
+
* call: agent
|
|
38
|
+
* with:
|
|
39
|
+
* agent: "support-triage"
|
|
40
|
+
* message: "${ .ticket.description }"
|
|
41
|
+
* output:
|
|
42
|
+
* schema:
|
|
43
|
+
* type: object
|
|
44
|
+
* required: [severity, category, customer_impact]
|
|
45
|
+
* properties:
|
|
46
|
+
* severity:
|
|
47
|
+
* type: string
|
|
48
|
+
* enum: [low, medium, high, critical]
|
|
49
|
+
* category:
|
|
50
|
+
* type: string
|
|
51
|
+
* customer_impact:
|
|
52
|
+
* type: boolean
|
|
53
|
+
* rationale:
|
|
54
|
+
* type: string
|
|
55
|
+
* on_invalid: ON_INVALID_RETRY
|
|
56
|
+
* max_retries: 2
|
|
57
|
+
* fallback_task: human_review
|
|
58
|
+
* export:
|
|
59
|
+
* as: "${ .structured }"
|
|
60
|
+
*
|
|
34
61
|
* Reference: design doc at stigmer/_cursor/add-agent-config-to-workflow.md
|
|
35
62
|
*
|
|
36
63
|
* @generated from message ai.stigmer.agentic.workflow.v1.tasks.AgentCallTaskConfig
|
|
@@ -82,12 +109,154 @@ export type AgentCallTaskConfig = Message<"ai.stigmer.agentic.workflow.v1.tasks.
|
|
|
82
109
|
* @generated from field: ai.stigmer.agentic.workflow.v1.tasks.AgentExecutionConfig config = 5;
|
|
83
110
|
*/
|
|
84
111
|
config?: AgentExecutionConfig;
|
|
112
|
+
/**
|
|
113
|
+
* Structured output contract for this agent call.
|
|
114
|
+
*
|
|
115
|
+
* When set, the workflow runner extracts structured JSON from the agent's
|
|
116
|
+
* final response and validates it against the declared schema. The validated
|
|
117
|
+
* JSON is placed in the task output under the "structured" key, enabling
|
|
118
|
+
* reliable downstream routing via switch_case expressions.
|
|
119
|
+
*
|
|
120
|
+
* When not set, the task output contains the agent's raw text response
|
|
121
|
+
* (backward compatible with existing workflows).
|
|
122
|
+
*
|
|
123
|
+
* @since T02 (Structured Agent Output Model)
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: ai.stigmer.agentic.workflow.v1.tasks.AgentCallOutputContract output = 6;
|
|
126
|
+
*/
|
|
127
|
+
output?: AgentCallOutputContract;
|
|
128
|
+
/**
|
|
129
|
+
* Execution harness for the agent invocation.
|
|
130
|
+
*
|
|
131
|
+
* Determines which execution engine processes the agent call:
|
|
132
|
+
* - HARNESS_UNSPECIFIED / HARNESS_NATIVE: Stigmer native engine (Python/LangGraph)
|
|
133
|
+
* - HARNESS_CURSOR: Cursor SDK engine (TypeScript/Cursor)
|
|
134
|
+
*
|
|
135
|
+
* The workflow-runner creates a Session with this harness before creating
|
|
136
|
+
* the AgentExecution. The harness is a session-level concern — it determines
|
|
137
|
+
* tool availability, state management, model access, and billing tier.
|
|
138
|
+
*
|
|
139
|
+
* When unspecified, defaults to HARNESS_NATIVE for backward compatibility.
|
|
140
|
+
*
|
|
141
|
+
* YAML Example:
|
|
142
|
+
* - code_review:
|
|
143
|
+
* call: agent
|
|
144
|
+
* with:
|
|
145
|
+
* agent: "code-reviewer"
|
|
146
|
+
* harness: cursor
|
|
147
|
+
* message: "Review this PR"
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: ai.stigmer.agentic.session.v1.Harness harness = 7;
|
|
150
|
+
*/
|
|
151
|
+
harness: Harness;
|
|
85
152
|
};
|
|
86
153
|
/**
|
|
87
154
|
* Describes the message ai.stigmer.agentic.workflow.v1.tasks.AgentCallTaskConfig.
|
|
88
155
|
* Use `create(AgentCallTaskConfigSchema)` to create a new message.
|
|
89
156
|
*/
|
|
90
157
|
export declare const AgentCallTaskConfigSchema: GenMessage<AgentCallTaskConfig>;
|
|
158
|
+
/**
|
|
159
|
+
* AgentCallOutputContract defines the structured output contract for an agent_call task.
|
|
160
|
+
*
|
|
161
|
+
* When configured, the workflow runner extracts structured JSON from the agent's
|
|
162
|
+
* final response and validates it against the provided JSON Schema. The validated
|
|
163
|
+
* JSON becomes the task's primary output under the "structured" key, accessible
|
|
164
|
+
* via export expressions (e.g., export.as: "${ .structured }").
|
|
165
|
+
*
|
|
166
|
+
* This enables reliable downstream routing: switch_case can evaluate expressions
|
|
167
|
+
* against typed fields (e.g., "${ $context.triage.severity == 'critical' }")
|
|
168
|
+
* rather than parsing unstructured prose.
|
|
169
|
+
*
|
|
170
|
+
* The dual-channel output model populates WorkflowTask.output as:
|
|
171
|
+
* {
|
|
172
|
+
* "structured": { <validated JSON matching the schema> },
|
|
173
|
+
* "final_text": "<the agent's human-readable response>",
|
|
174
|
+
* "agent_execution_id": "<execution ID for drill-down>",
|
|
175
|
+
* "usage_summary": {
|
|
176
|
+
* "total_tokens": 4523,
|
|
177
|
+
* "estimated_cost_usd": 0.045,
|
|
178
|
+
* "tool_call_count": 3,
|
|
179
|
+
* "artifact_count": 1
|
|
180
|
+
* }
|
|
181
|
+
* }
|
|
182
|
+
*
|
|
183
|
+
* YAML Example:
|
|
184
|
+
* output:
|
|
185
|
+
* schema:
|
|
186
|
+
* type: object
|
|
187
|
+
* required: [severity, category, customer_impact]
|
|
188
|
+
* properties:
|
|
189
|
+
* severity:
|
|
190
|
+
* type: string
|
|
191
|
+
* enum: [low, medium, high, critical]
|
|
192
|
+
* category:
|
|
193
|
+
* type: string
|
|
194
|
+
* customer_impact:
|
|
195
|
+
* type: boolean
|
|
196
|
+
* rationale:
|
|
197
|
+
* type: string
|
|
198
|
+
* on_invalid: ON_INVALID_RETRY
|
|
199
|
+
* max_retries: 2
|
|
200
|
+
* fallback_task: human_review
|
|
201
|
+
*
|
|
202
|
+
* @since T02 (Structured Agent Output Model)
|
|
203
|
+
*
|
|
204
|
+
* @generated from message ai.stigmer.agentic.workflow.v1.tasks.AgentCallOutputContract
|
|
205
|
+
*/
|
|
206
|
+
export type AgentCallOutputContract = Message<"ai.stigmer.agentic.workflow.v1.tasks.AgentCallOutputContract"> & {
|
|
207
|
+
/**
|
|
208
|
+
* JSON Schema that the agent's structured output must conform to.
|
|
209
|
+
*
|
|
210
|
+
* Standard JSON Schema (draft 2020-12 or compatible). The workflow runner
|
|
211
|
+
* extracts JSON from the agent's final response and validates it against
|
|
212
|
+
* this schema. If validation fails, the on_invalid policy determines
|
|
213
|
+
* what happens next.
|
|
214
|
+
*
|
|
215
|
+
* The schema is carried as a google.protobuf.Struct to preserve the
|
|
216
|
+
* existing kind+Struct envelope pattern and allow YAML authors to write
|
|
217
|
+
* standard JSON Schema inline without a Stigmer-specific schema language.
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: google.protobuf.Struct schema = 1;
|
|
220
|
+
*/
|
|
221
|
+
schema?: JsonObject;
|
|
222
|
+
/**
|
|
223
|
+
* Policy when agent output fails schema validation.
|
|
224
|
+
* Default: ON_INVALID_FAIL (task fails immediately).
|
|
225
|
+
*
|
|
226
|
+
* @generated from field: ai.stigmer.agentic.workflow.v1.tasks.OnInvalidOutputPolicy on_invalid = 2;
|
|
227
|
+
*/
|
|
228
|
+
onInvalid: OnInvalidOutputPolicy;
|
|
229
|
+
/**
|
|
230
|
+
* Maximum retry attempts when on_invalid is ON_INVALID_RETRY.
|
|
231
|
+
*
|
|
232
|
+
* Each retry re-prompts the agent with the specific validation errors and
|
|
233
|
+
* the expected schema, giving the agent an opportunity to self-correct.
|
|
234
|
+
*
|
|
235
|
+
* Only meaningful when on_invalid is ON_INVALID_RETRY; ignored otherwise.
|
|
236
|
+
* Default: 1. Valid range: 1-5.
|
|
237
|
+
*
|
|
238
|
+
* @generated from field: int32 max_retries = 3;
|
|
239
|
+
*/
|
|
240
|
+
maxRetries: number;
|
|
241
|
+
/**
|
|
242
|
+
* Target task to branch to when schema validation cannot be resolved.
|
|
243
|
+
*
|
|
244
|
+
* Used in two scenarios:
|
|
245
|
+
* 1. on_invalid is ON_INVALID_RETRY and all retries are exhausted
|
|
246
|
+
* 2. on_invalid is ON_INVALID_FALLBACK (immediate branch, no retry)
|
|
247
|
+
*
|
|
248
|
+
* Must reference a valid task name in the same workflow.
|
|
249
|
+
* When empty and retries are exhausted, the task fails.
|
|
250
|
+
*
|
|
251
|
+
* @generated from field: string fallback_task = 4;
|
|
252
|
+
*/
|
|
253
|
+
fallbackTask: string;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* Describes the message ai.stigmer.agentic.workflow.v1.tasks.AgentCallOutputContract.
|
|
257
|
+
* Use `create(AgentCallOutputContractSchema)` to create a new message.
|
|
258
|
+
*/
|
|
259
|
+
export declare const AgentCallOutputContractSchema: GenMessage<AgentCallOutputContract>;
|
|
91
260
|
/**
|
|
92
261
|
* AgentExecutionConfig defines optional execution parameters for agent calls.
|
|
93
262
|
* These settings override the agent's default configuration for this specific invocation.
|
|
@@ -143,6 +312,19 @@ export type AgentExecutionConfig = Message<"ai.stigmer.agentic.workflow.v1.tasks
|
|
|
143
312
|
* @generated from field: ai.stigmer.agentic.agentexecution.v1.ContextManagementConfig context_management = 4;
|
|
144
313
|
*/
|
|
145
314
|
contextManagement?: ContextManagementConfig;
|
|
315
|
+
/**
|
|
316
|
+
* Per-agent-call cost cap in micro-USD (1 USD = 1,000,000 micros).
|
|
317
|
+
* When set, the runtime terminates this agent call if its accumulated cost
|
|
318
|
+
* exceeds this limit. This uses the workflow domain's micro-USD convention
|
|
319
|
+
* and provides per-task cost control at the workflow level.
|
|
320
|
+
* The runtime checks both: per-task limit first, then workflow remaining budget.
|
|
321
|
+
* Optional — when 0, no per-task cost limit is enforced.
|
|
322
|
+
*
|
|
323
|
+
* @since T05 (Workflow-Level Budget Primitives)
|
|
324
|
+
*
|
|
325
|
+
* @generated from field: int64 max_cost_micros = 5;
|
|
326
|
+
*/
|
|
327
|
+
maxCostMicros: bigint;
|
|
146
328
|
};
|
|
147
329
|
/**
|
|
148
330
|
* Describes the message ai.stigmer.agentic.workflow.v1.tasks.AgentExecutionConfig.
|
|
@@ -3,20 +3,28 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
5
|
import { file_ai_stigmer_agentic_agentexecution_v1_spec } from "../../../agentexecution/v1/spec_pb.js";
|
|
6
|
+
import { file_ai_stigmer_agentic_session_v1_enum } from "../../../session/v1/enum_pb.js";
|
|
7
|
+
import { file_ai_stigmer_agentic_workflow_v1_tasks_common } from "./common_pb.js";
|
|
6
8
|
import { file_ai_stigmer_commons_apiresource_field_options } from "../../../../commons/apiresource/field_options_pb.js";
|
|
7
9
|
import { file_buf_validate_validate } from "../../../../../../buf/validate/validate_pb.js";
|
|
10
|
+
import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
8
11
|
/**
|
|
9
12
|
* Describes the file ai/stigmer/agentic/workflow/v1/tasks/agent_call.proto.
|
|
10
13
|
*/
|
|
11
|
-
export const file_ai_stigmer_agentic_workflow_v1_tasks_agent_call = /*@__PURE__*/ fileDesc("
|
|
14
|
+
export const file_ai_stigmer_agentic_workflow_v1_tasks_agent_call = /*@__PURE__*/ fileDesc("CjVhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvdGFza3MvYWdlbnRf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KHQAAgD8tAAAAABJZChJjb250ZXh0X21hbmFnZW1lbnQYBCABKAsyPS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuQ29udGV4dE1hbmFnZW1lbnRDb25maWcSFwoPbWF4X2Nvc3RfbWljcm9zGAUgASgDYgZwcm90bzM", [file_ai_stigmer_agentic_agentexecution_v1_spec, file_ai_stigmer_agentic_session_v1_enum, file_ai_stigmer_agentic_workflow_v1_tasks_common, file_ai_stigmer_commons_apiresource_field_options, file_buf_validate_validate, file_google_protobuf_struct]);
|
|
12
15
|
/**
|
|
13
16
|
* Describes the message ai.stigmer.agentic.workflow.v1.tasks.AgentCallTaskConfig.
|
|
14
17
|
* Use `create(AgentCallTaskConfigSchema)` to create a new message.
|
|
15
18
|
*/
|
|
16
19
|
export const AgentCallTaskConfigSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_tasks_agent_call, 0);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message ai.stigmer.agentic.workflow.v1.tasks.AgentCallOutputContract.
|
|
22
|
+
* Use `create(AgentCallOutputContractSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const AgentCallOutputContractSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_tasks_agent_call, 1);
|
|
17
25
|
/**
|
|
18
26
|
* Describes the message ai.stigmer.agentic.workflow.v1.tasks.AgentExecutionConfig.
|
|
19
27
|
* Use `create(AgentExecutionConfigSchema)` to create a new message.
|
|
20
28
|
*/
|
|
21
|
-
export const AgentExecutionConfigSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_tasks_agent_call,
|
|
29
|
+
export const AgentExecutionConfigSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflow_v1_tasks_agent_call, 2);
|
|
22
30
|
//# sourceMappingURL=agent_call_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent_call_pb.js","sourceRoot":"","sources":["../../../../../../../ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2IAA2I;AAC3I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"agent_call_pb.js","sourceRoot":"","sources":["../../../../../../../ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2IAA2I;AAC3I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,uCAAuC,CAAC;AAEvG,OAAO,EAAE,uCAAuC,EAAE,MAAM,gCAAgC,CAAC;AAEzF,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,oDAAoD,GAAY,aAAa,CACxF,QAAQ,CAAC,yyCAAyyC,EAAE,CAAC,8CAA8C,EAAE,uCAAuC,EAAE,gDAAgD,EAAE,iDAAiD,EAAE,0BAA0B,EAAE,2BAA2B,CAAC,CAAC,CAAC;AAsJ/iD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,oDAAoD,EAAE,CAAC,CAAC,CAAC;AAuGvE;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,oDAAoD,EAAE,CAAC,CAAC,CAAC;AA4EvE;;;GAGG;A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