@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
|
@@ -59,5 +59,35 @@ export declare const WorkflowCommandController: {
|
|
|
59
59
|
readonly O: any;
|
|
60
60
|
readonly kind: any;
|
|
61
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* Validate a workflow spec without persisting it.
|
|
64
|
+
*
|
|
65
|
+
* Runs the same two-layer validation pipeline used by create/update:
|
|
66
|
+
* Layer 1: Proto field constraints (buf validate / protovalidate)
|
|
67
|
+
* Layer 2: Temporal-based structural validation (Go activity: proto → YAML → Zigflow)
|
|
68
|
+
*
|
|
69
|
+
* Returns ServerlessWorkflowValidation with:
|
|
70
|
+
* - VALID: Workflow structure passed all checks
|
|
71
|
+
* - INVALID: User error (bad structure, missing fields, unknown task kinds)
|
|
72
|
+
* - FAILED: System error (Temporal unavailable, converter crash)
|
|
73
|
+
*
|
|
74
|
+
* This RPC does NOT persist, authorize, or create instances. It is a
|
|
75
|
+
* pure validation endpoint suitable for iterative authoring workflows
|
|
76
|
+
* where the caller needs fast feedback before committing.
|
|
77
|
+
*
|
|
78
|
+
* @internal
|
|
79
|
+
* Authorization: Uses the same permission as create — caller must have
|
|
80
|
+
* can_create_workflow in the org. This prevents unauthenticated abuse
|
|
81
|
+
* of the validation pipeline while allowing any user who could create
|
|
82
|
+
* a workflow to also validate one.
|
|
83
|
+
*
|
|
84
|
+
* @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowCommandController.validateSpec
|
|
85
|
+
*/
|
|
86
|
+
readonly validateSpec: {
|
|
87
|
+
readonly name: "validateSpec";
|
|
88
|
+
readonly I: any;
|
|
89
|
+
readonly O: any;
|
|
90
|
+
readonly kind: any;
|
|
91
|
+
};
|
|
62
92
|
};
|
|
63
93
|
};
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { Workflow } from "./api_pbjs";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
import { WorkflowId } from "./io_pbjs";
|
|
8
|
+
import { ServerlessWorkflowValidation } from "./serverless/validation_pbjs";
|
|
8
9
|
/**
|
|
9
10
|
* WorkflowCommandController handles write operations for workflows.
|
|
10
11
|
*
|
|
@@ -66,6 +67,36 @@ export const WorkflowCommandController = {
|
|
|
66
67
|
O: Workflow,
|
|
67
68
|
kind: MethodKind.Unary,
|
|
68
69
|
},
|
|
70
|
+
/**
|
|
71
|
+
* Validate a workflow spec without persisting it.
|
|
72
|
+
*
|
|
73
|
+
* Runs the same two-layer validation pipeline used by create/update:
|
|
74
|
+
* Layer 1: Proto field constraints (buf validate / protovalidate)
|
|
75
|
+
* Layer 2: Temporal-based structural validation (Go activity: proto → YAML → Zigflow)
|
|
76
|
+
*
|
|
77
|
+
* Returns ServerlessWorkflowValidation with:
|
|
78
|
+
* - VALID: Workflow structure passed all checks
|
|
79
|
+
* - INVALID: User error (bad structure, missing fields, unknown task kinds)
|
|
80
|
+
* - FAILED: System error (Temporal unavailable, converter crash)
|
|
81
|
+
*
|
|
82
|
+
* This RPC does NOT persist, authorize, or create instances. It is a
|
|
83
|
+
* pure validation endpoint suitable for iterative authoring workflows
|
|
84
|
+
* where the caller needs fast feedback before committing.
|
|
85
|
+
*
|
|
86
|
+
* @internal
|
|
87
|
+
* Authorization: Uses the same permission as create — caller must have
|
|
88
|
+
* can_create_workflow in the org. This prevents unauthenticated abuse
|
|
89
|
+
* of the validation pipeline while allowing any user who could create
|
|
90
|
+
* a workflow to also validate one.
|
|
91
|
+
*
|
|
92
|
+
* @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowCommandController.validateSpec
|
|
93
|
+
*/
|
|
94
|
+
validateSpec: {
|
|
95
|
+
name: "validateSpec",
|
|
96
|
+
I: Workflow,
|
|
97
|
+
O: ServerlessWorkflowValidation,
|
|
98
|
+
kind: MethodKind.Unary,
|
|
99
|
+
},
|
|
69
100
|
}
|
|
70
101
|
};
|
|
71
102
|
//# sourceMappingURL=command_connect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,4HAA4H;AAC5H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,4HAA4H;AAC5H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAE5E;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,0DAA0D;IACpE,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;WAuBG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,4BAA4B;YAC/B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { WorkflowSchema } from "./api_pb.js";
|
|
3
3
|
import type { WorkflowIdSchema } from "./io_pb.js";
|
|
4
|
+
import type { ServerlessWorkflowValidationSchema } from "./serverless/validation_pb.js";
|
|
4
5
|
/**
|
|
5
6
|
* Describes the file ai/stigmer/agentic/workflow/v1/command.proto.
|
|
6
7
|
*/
|
|
@@ -60,4 +61,33 @@ export declare const WorkflowCommandController: GenService<{
|
|
|
60
61
|
input: typeof WorkflowIdSchema;
|
|
61
62
|
output: typeof WorkflowSchema;
|
|
62
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* Validate a workflow spec without persisting it.
|
|
66
|
+
*
|
|
67
|
+
* Runs the same two-layer validation pipeline used by create/update:
|
|
68
|
+
* Layer 1: Proto field constraints (buf validate / protovalidate)
|
|
69
|
+
* Layer 2: Temporal-based structural validation (Go activity: proto → YAML → Zigflow)
|
|
70
|
+
*
|
|
71
|
+
* Returns ServerlessWorkflowValidation with:
|
|
72
|
+
* - VALID: Workflow structure passed all checks
|
|
73
|
+
* - INVALID: User error (bad structure, missing fields, unknown task kinds)
|
|
74
|
+
* - FAILED: System error (Temporal unavailable, converter crash)
|
|
75
|
+
*
|
|
76
|
+
* This RPC does NOT persist, authorize, or create instances. It is a
|
|
77
|
+
* pure validation endpoint suitable for iterative authoring workflows
|
|
78
|
+
* where the caller needs fast feedback before committing.
|
|
79
|
+
*
|
|
80
|
+
* @internal
|
|
81
|
+
* Authorization: Uses the same permission as create — caller must have
|
|
82
|
+
* can_create_workflow in the org. This prevents unauthenticated abuse
|
|
83
|
+
* of the validation pipeline while allowing any user who could create
|
|
84
|
+
* a workflow to also validate one.
|
|
85
|
+
*
|
|
86
|
+
* @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowCommandController.validateSpec
|
|
87
|
+
*/
|
|
88
|
+
validateSpec: {
|
|
89
|
+
methodKind: "unary";
|
|
90
|
+
input: typeof WorkflowSchema;
|
|
91
|
+
output: typeof ServerlessWorkflowValidationSchema;
|
|
92
|
+
};
|
|
63
93
|
}>;
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
5
|
import { file_ai_stigmer_agentic_workflow_v1_api } from "./api_pb.js";
|
|
6
6
|
import { file_ai_stigmer_agentic_workflow_v1_io } from "./io_pb.js";
|
|
7
|
+
import { file_ai_stigmer_agentic_workflow_v1_serverless_validation } from "./serverless/validation_pb.js";
|
|
7
8
|
import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb.js";
|
|
8
9
|
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
|
|
9
10
|
/**
|
|
10
11
|
* Describes the file ai/stigmer/agentic/workflow/v1/command.proto.
|
|
11
12
|
*/
|
|
12
|
-
export const file_ai_stigmer_agentic_workflow_v1_command = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_ai_stigmer_agentic_workflow_v1_command = /*@__PURE__*/ fileDesc("CixhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvY29tbWFuZC5wcm90bxIeYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxMqkGChlXb3JrZmxvd0NvbW1hbmRDb250cm9sbGVyElsKBWFwcGx5EiguYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93GiguYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93EqoBCgZjcmVhdGUSKC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3caKC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3ciTMK4GEgIBxAeIgxtZXRhZGF0YS5vcmcqNHVuYXV0aG9yaXplZCB0byBjcmVhdGUgd29ya2Zsb3cgaW4gdGhpcyBvcmdhbml6YXRpb24SlAEKBnVwZGF0ZRIoLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvdxooLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvdyI2wrgYMggCEDIiC21ldGFkYXRhLmlkKh91bmF1dGhvcml6ZWQgdG8gdXBkYXRlIHdvcmtmbG93EpABCgZkZWxldGUSKi5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3dJZBooLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvdyIwwrgYLAgDEDIiBXZhbHVlKh91bmF1dGhvcml6ZWQgdG8gZGVsZXRlIHdvcmtmbG93EtEBCgx2YWxpZGF0ZVNwZWMSKC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3caRy5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuc2VydmVybGVzcy5TZXJ2ZXJsZXNzV29ya2Zsb3dWYWxpZGF0aW9uIk7CuBhKCAcQHiIMbWV0YWRhdGEub3JnKjZ1bmF1dGhvcml6ZWQgdG8gdmFsaWRhdGUgd29ya2Zsb3cgaW4gdGhpcyBvcmdhbml6YXRpb24aBKD/KzJiBnByb3RvMw", [file_ai_stigmer_agentic_workflow_v1_api, file_ai_stigmer_agentic_workflow_v1_io, file_ai_stigmer_agentic_workflow_v1_serverless_validation, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
|
|
13
14
|
/**
|
|
14
15
|
* WorkflowCommandController handles write operations for workflows.
|
|
15
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,aAAa,CAAC;AAEtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,aAAa,CAAC;AAEtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,YAAY,CAAC;AAEpE,OAAO,EAAE,yDAAyD,EAAE,MAAM,+BAA+B,CAAC;AAC1G,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,grCAAgrC,EAAE,CAAC,uCAAuC,EAAE,sCAAsC,EAAE,yDAAyD,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEh7C;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GA+EjC,aAAa,CAChB,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -31,6 +31,13 @@ export declare const file_ai_stigmer_agentic_workflow_v1_enum: GenFile;
|
|
|
31
31
|
* raise_error: {"error": "ErrorType", "message": "${...}"}
|
|
32
32
|
* run_workflow: {"workflow": "workflow-name", "input": {...}}
|
|
33
33
|
* agent_call: {"agent": "agent-slug", "message": "...", "env": {...}}
|
|
34
|
+
* llm_call: {"model": "...", "prompt": "...", "response_schema": {...}, "on_invalid": "..."}
|
|
35
|
+
* transform: {"engine": "jq", "expression": "...", "input": "${...}"}
|
|
36
|
+
* human_input: {"prompt": "...", "form_schema": {...}, "outcomes": [...], "approvers": [...], "timeout": 86400}
|
|
37
|
+
* validate: {"input": "${...}", "schema": {...}, "rules": [...], "on_fail": "..."}
|
|
38
|
+
* emit_event: {"event": {"type": "...", "source": "...", "subject": "...", "data": {...}}}
|
|
39
|
+
* notification: {"channel": "slack", "recipients": ["..."], "subject": "...", "body": "...", "template": "...", "metadata": {...}}
|
|
40
|
+
* eval: {"model": "...", "subject": "${...}", "rubric": "...", "scoring_mode": "EVAL_PASS_FAIL", "threshold": 0.7, "on_fail": "EVAL_FAIL_RAISE", "criteria": [...]}
|
|
34
41
|
*
|
|
35
42
|
* @generated from enum ai.stigmer.agentic.workflow.v1.WorkflowTaskKind
|
|
36
43
|
*/
|
|
@@ -162,9 +169,142 @@ export declare enum WorkflowTaskKind {
|
|
|
162
169
|
*
|
|
163
170
|
* @generated from enum value: agent_call = 13;
|
|
164
171
|
*/
|
|
165
|
-
agent_call = 13
|
|
172
|
+
agent_call = 13,
|
|
173
|
+
/**
|
|
174
|
+
* Direct LLM call for classification, extraction, scoring, or routing.
|
|
175
|
+
*
|
|
176
|
+
* @internal
|
|
177
|
+
* Lightweight alternative to agent_call for focused LLM tasks without
|
|
178
|
+
* agent overhead (no system prompt resolution, tool setup, or MCP wiring).
|
|
179
|
+
* Config: {"model": "...", "prompt": "...", "response_schema": {...}}
|
|
180
|
+
*
|
|
181
|
+
* @generated from enum value: llm_call = 14;
|
|
182
|
+
*/
|
|
183
|
+
llm_call = 14,
|
|
184
|
+
/**
|
|
185
|
+
* Deterministic data transformation using JQ, JSONata, or template engines.
|
|
186
|
+
*
|
|
187
|
+
* @internal
|
|
188
|
+
* Reshapes data between tasks without LLM calls. Produces explicit output
|
|
189
|
+
* via export, unlike set_vars which mutates workflow state as a side effect.
|
|
190
|
+
* Config: {"engine": "jq", "expression": "...", "input": "${...}"}
|
|
191
|
+
*
|
|
192
|
+
* @generated from enum value: transform = 15;
|
|
193
|
+
*/
|
|
194
|
+
transform = 15,
|
|
195
|
+
/**
|
|
196
|
+
* Workflow-level approval gate for human input, review, or sign-off.
|
|
197
|
+
*
|
|
198
|
+
* @internal
|
|
199
|
+
* Pauses workflow execution to collect typed input or approval from a
|
|
200
|
+
* human reviewer. Supports custom outcomes, form schemas, approver
|
|
201
|
+
* lists, timeouts, and notification channels.
|
|
202
|
+
* Config: {"prompt": "...", "form_schema": {...}, "outcomes": [...], "approvers": [...]}
|
|
203
|
+
*
|
|
204
|
+
* @generated from enum value: human_input = 16;
|
|
205
|
+
*/
|
|
206
|
+
human_input = 16,
|
|
207
|
+
/**
|
|
208
|
+
* Schema and business-rule validation checkpoint.
|
|
209
|
+
*
|
|
210
|
+
* @internal
|
|
211
|
+
* Validates workflow data against JSON Schema and/or business rules
|
|
212
|
+
* before downstream tasks consume it. Supports fail, branch, and warn
|
|
213
|
+
* policies for flexible error handling.
|
|
214
|
+
* Config: {"input": "${...}", "schema": {...}, "rules": [...], "on_fail": "..."}
|
|
215
|
+
*
|
|
216
|
+
* @generated from enum value: validate = 17;
|
|
217
|
+
*/
|
|
218
|
+
validate = 17,
|
|
219
|
+
/**
|
|
220
|
+
* Emit a CloudEvents-formatted event for external consumers or other workflows.
|
|
221
|
+
*
|
|
222
|
+
* @internal
|
|
223
|
+
* Completes the listen/emit duality: listen waits for Temporal signals,
|
|
224
|
+
* emit_event publishes business events using the CloudEvents envelope.
|
|
225
|
+
* The runtime bridges the two when events target other workflows.
|
|
226
|
+
* Config: {"event": {"type": "...", "source": "...", "subject": "...", "data": {...}}}
|
|
227
|
+
*
|
|
228
|
+
* @generated from enum value: emit_event = 18;
|
|
229
|
+
*/
|
|
230
|
+
emit_event = 18,
|
|
231
|
+
/**
|
|
232
|
+
* Send a notification to humans through a channel (Slack, email, Discord, etc.).
|
|
233
|
+
*
|
|
234
|
+
* @internal
|
|
235
|
+
* Fire-and-forget convenience abstraction for operational notifications.
|
|
236
|
+
* For notifications requiring acknowledgment, use human_input instead.
|
|
237
|
+
* Config: {"channel": "slack", "recipients": ["..."], "subject": "...", "body": "..."}
|
|
238
|
+
*
|
|
239
|
+
* @generated from enum value: notification = 19;
|
|
240
|
+
*/
|
|
241
|
+
notification = 19,
|
|
242
|
+
/**
|
|
243
|
+
* LLM-as-a-judge evaluation for semantic quality assessment.
|
|
244
|
+
*
|
|
245
|
+
* @internal
|
|
246
|
+
* Assesses quality, correctness, safety, or completeness of LLM-generated
|
|
247
|
+
* or agent-produced content using an LLM judge. Fills the gap between
|
|
248
|
+
* structural validation (validate task) and human review (human_input).
|
|
249
|
+
* Supports pass/fail, numeric scoring, and multi-criteria evaluation modes.
|
|
250
|
+
* Config: {"model": "...", "subject": "${...}", "rubric": "...", "scoring_mode": "...", "threshold": 0.7, "on_fail": "..."}
|
|
251
|
+
*
|
|
252
|
+
* @since T17 (Advanced Agentic Orchestration)
|
|
253
|
+
*
|
|
254
|
+
* @generated from enum value: eval = 20;
|
|
255
|
+
*/
|
|
256
|
+
eval = 20
|
|
166
257
|
}
|
|
167
258
|
/**
|
|
168
259
|
* Describes the enum ai.stigmer.agentic.workflow.v1.WorkflowTaskKind.
|
|
169
260
|
*/
|
|
170
261
|
export declare const WorkflowTaskKindSchema: GenEnum<WorkflowTaskKind>;
|
|
262
|
+
/**
|
|
263
|
+
* BudgetExceededPolicy defines the runtime behavior when a workflow or per-task
|
|
264
|
+
* budget limit is exceeded.
|
|
265
|
+
*
|
|
266
|
+
* The runtime (T13) evaluates this policy at task boundaries: after each task
|
|
267
|
+
* completes, accumulated costs and tokens are compared against the declared
|
|
268
|
+
* budget. If a limit is breached, the policy determines what happens next.
|
|
269
|
+
*
|
|
270
|
+
* @since T05 (Workflow-Level Budget Primitives)
|
|
271
|
+
*
|
|
272
|
+
* @generated from enum ai.stigmer.agentic.workflow.v1.BudgetExceededPolicy
|
|
273
|
+
*/
|
|
274
|
+
export declare enum BudgetExceededPolicy {
|
|
275
|
+
/**
|
|
276
|
+
* Default: no specific policy set. The runtime treats this as
|
|
277
|
+
* budget_exceeded_terminate (fail-safe behavior).
|
|
278
|
+
*
|
|
279
|
+
* @generated from enum value: budget_exceeded_policy_unspecified = 0;
|
|
280
|
+
*/
|
|
281
|
+
budget_exceeded_policy_unspecified = 0,
|
|
282
|
+
/**
|
|
283
|
+
* Terminate the workflow immediately with EXECUTION_FAILED status.
|
|
284
|
+
* The execution record includes the budget breach details for diagnostics.
|
|
285
|
+
*
|
|
286
|
+
* @generated from enum value: budget_exceeded_terminate = 1;
|
|
287
|
+
*/
|
|
288
|
+
budget_exceeded_terminate = 1,
|
|
289
|
+
/**
|
|
290
|
+
* Pause the workflow and request human review via a system-generated
|
|
291
|
+
* approval gate. The reviewer can approve continued execution (with
|
|
292
|
+
* an increased budget) or confirm termination.
|
|
293
|
+
* Depends on the human_input runtime (T13). If human_input runtime
|
|
294
|
+
* is not available, falls back to terminate with a descriptive error.
|
|
295
|
+
*
|
|
296
|
+
* @generated from enum value: budget_exceeded_human_review = 2;
|
|
297
|
+
*/
|
|
298
|
+
budget_exceeded_human_review = 2,
|
|
299
|
+
/**
|
|
300
|
+
* Log a warning but allow the workflow to continue executing.
|
|
301
|
+
* Useful for monitoring/alerting without interrupting production workflows.
|
|
302
|
+
*
|
|
303
|
+
* @generated from enum value: budget_exceeded_warn = 3;
|
|
304
|
+
*/
|
|
305
|
+
budget_exceeded_warn = 3
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Describes the enum ai.stigmer.agentic.workflow.v1.BudgetExceededPolicy.
|
|
309
|
+
*/
|
|
310
|
+
export declare const BudgetExceededPolicySchema: GenEnum<BudgetExceededPolicy>;
|
|
@@ -5,7 +5,7 @@ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/agentic/workflow/v1/enum.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_ai_stigmer_agentic_workflow_v1_enum = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_ai_stigmer_agentic_workflow_v1_enum = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvZW51bS5wcm90bxIeYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxKt4CChBXb3JrZmxvd1Rhc2tLaW5kEiIKHndvcmtmbG93X3Rhc2tfa2luZF91bnNwZWNpZmllZBAAEgwKCHNldF92YXJzEAESDQoJaHR0cF9jYWxsEAISDQoJZ3JwY19jYWxsEAMSEQoNYWN0aXZpdHlfY2FsbBAEEg8KC3N3aXRjaF9jYXNlEAUSDAoIZm9yX2VhY2gQBhIICgRmb3JrEAcSDQoJdHJ5X2NhdGNoEAgSCgoGbGlzdGVuEAkSCAoEd2FpdBAKEg8KC3JhaXNlX2Vycm9yEAsSEAoMcnVuX3dvcmtmbG93EAwSDgoKYWdlbnRfY2FsbBANEgwKCGxsbV9jYWxsEA4SDQoJdHJhbnNmb3JtEA8SDwoLaHVtYW5faW5wdXQQEBIMCgh2YWxpZGF0ZRAREg4KCmVtaXRfZXZlbnQQEhIQCgxub3RpZmljYXRpb24QExIICgRldmFsEBQqmQEKFEJ1ZGdldEV4Y2VlZGVkUG9saWN5EiYKImJ1ZGdldF9leGNlZWRlZF9wb2xpY3lfdW5zcGVjaWZpZWQQABIdChlidWRnZXRfZXhjZWVkZWRfdGVybWluYXRlEAESIAocYnVkZ2V0X2V4Y2VlZGVkX2h1bWFuX3JldmlldxACEhgKFGJ1ZGdldF9leGNlZWRlZF93YXJuEANiBnByb3RvMw");
|
|
9
9
|
/**
|
|
10
10
|
* WorkflowTaskKind defines the supported task types in a workflow.
|
|
11
11
|
*
|
|
@@ -34,6 +34,13 @@ export const file_ai_stigmer_agentic_workflow_v1_enum = /*@__PURE__*/ fileDesc("
|
|
|
34
34
|
* raise_error: {"error": "ErrorType", "message": "${...}"}
|
|
35
35
|
* run_workflow: {"workflow": "workflow-name", "input": {...}}
|
|
36
36
|
* agent_call: {"agent": "agent-slug", "message": "...", "env": {...}}
|
|
37
|
+
* llm_call: {"model": "...", "prompt": "...", "response_schema": {...}, "on_invalid": "..."}
|
|
38
|
+
* transform: {"engine": "jq", "expression": "...", "input": "${...}"}
|
|
39
|
+
* human_input: {"prompt": "...", "form_schema": {...}, "outcomes": [...], "approvers": [...], "timeout": 86400}
|
|
40
|
+
* validate: {"input": "${...}", "schema": {...}, "rules": [...], "on_fail": "..."}
|
|
41
|
+
* emit_event: {"event": {"type": "...", "source": "...", "subject": "...", "data": {...}}}
|
|
42
|
+
* notification: {"channel": "slack", "recipients": ["..."], "subject": "...", "body": "...", "template": "...", "metadata": {...}}
|
|
43
|
+
* eval: {"model": "...", "subject": "${...}", "rubric": "...", "scoring_mode": "EVAL_PASS_FAIL", "threshold": 0.7, "on_fail": "EVAL_FAIL_RAISE", "criteria": [...]}
|
|
37
44
|
*
|
|
38
45
|
* @generated from enum ai.stigmer.agentic.workflow.v1.WorkflowTaskKind
|
|
39
46
|
*/
|
|
@@ -167,9 +174,143 @@ export var WorkflowTaskKind;
|
|
|
167
174
|
* @generated from enum value: agent_call = 13;
|
|
168
175
|
*/
|
|
169
176
|
WorkflowTaskKind[WorkflowTaskKind["agent_call"] = 13] = "agent_call";
|
|
177
|
+
/**
|
|
178
|
+
* Direct LLM call for classification, extraction, scoring, or routing.
|
|
179
|
+
*
|
|
180
|
+
* @internal
|
|
181
|
+
* Lightweight alternative to agent_call for focused LLM tasks without
|
|
182
|
+
* agent overhead (no system prompt resolution, tool setup, or MCP wiring).
|
|
183
|
+
* Config: {"model": "...", "prompt": "...", "response_schema": {...}}
|
|
184
|
+
*
|
|
185
|
+
* @generated from enum value: llm_call = 14;
|
|
186
|
+
*/
|
|
187
|
+
WorkflowTaskKind[WorkflowTaskKind["llm_call"] = 14] = "llm_call";
|
|
188
|
+
/**
|
|
189
|
+
* Deterministic data transformation using JQ, JSONata, or template engines.
|
|
190
|
+
*
|
|
191
|
+
* @internal
|
|
192
|
+
* Reshapes data between tasks without LLM calls. Produces explicit output
|
|
193
|
+
* via export, unlike set_vars which mutates workflow state as a side effect.
|
|
194
|
+
* Config: {"engine": "jq", "expression": "...", "input": "${...}"}
|
|
195
|
+
*
|
|
196
|
+
* @generated from enum value: transform = 15;
|
|
197
|
+
*/
|
|
198
|
+
WorkflowTaskKind[WorkflowTaskKind["transform"] = 15] = "transform";
|
|
199
|
+
/**
|
|
200
|
+
* Workflow-level approval gate for human input, review, or sign-off.
|
|
201
|
+
*
|
|
202
|
+
* @internal
|
|
203
|
+
* Pauses workflow execution to collect typed input or approval from a
|
|
204
|
+
* human reviewer. Supports custom outcomes, form schemas, approver
|
|
205
|
+
* lists, timeouts, and notification channels.
|
|
206
|
+
* Config: {"prompt": "...", "form_schema": {...}, "outcomes": [...], "approvers": [...]}
|
|
207
|
+
*
|
|
208
|
+
* @generated from enum value: human_input = 16;
|
|
209
|
+
*/
|
|
210
|
+
WorkflowTaskKind[WorkflowTaskKind["human_input"] = 16] = "human_input";
|
|
211
|
+
/**
|
|
212
|
+
* Schema and business-rule validation checkpoint.
|
|
213
|
+
*
|
|
214
|
+
* @internal
|
|
215
|
+
* Validates workflow data against JSON Schema and/or business rules
|
|
216
|
+
* before downstream tasks consume it. Supports fail, branch, and warn
|
|
217
|
+
* policies for flexible error handling.
|
|
218
|
+
* Config: {"input": "${...}", "schema": {...}, "rules": [...], "on_fail": "..."}
|
|
219
|
+
*
|
|
220
|
+
* @generated from enum value: validate = 17;
|
|
221
|
+
*/
|
|
222
|
+
WorkflowTaskKind[WorkflowTaskKind["validate"] = 17] = "validate";
|
|
223
|
+
/**
|
|
224
|
+
* Emit a CloudEvents-formatted event for external consumers or other workflows.
|
|
225
|
+
*
|
|
226
|
+
* @internal
|
|
227
|
+
* Completes the listen/emit duality: listen waits for Temporal signals,
|
|
228
|
+
* emit_event publishes business events using the CloudEvents envelope.
|
|
229
|
+
* The runtime bridges the two when events target other workflows.
|
|
230
|
+
* Config: {"event": {"type": "...", "source": "...", "subject": "...", "data": {...}}}
|
|
231
|
+
*
|
|
232
|
+
* @generated from enum value: emit_event = 18;
|
|
233
|
+
*/
|
|
234
|
+
WorkflowTaskKind[WorkflowTaskKind["emit_event"] = 18] = "emit_event";
|
|
235
|
+
/**
|
|
236
|
+
* Send a notification to humans through a channel (Slack, email, Discord, etc.).
|
|
237
|
+
*
|
|
238
|
+
* @internal
|
|
239
|
+
* Fire-and-forget convenience abstraction for operational notifications.
|
|
240
|
+
* For notifications requiring acknowledgment, use human_input instead.
|
|
241
|
+
* Config: {"channel": "slack", "recipients": ["..."], "subject": "...", "body": "..."}
|
|
242
|
+
*
|
|
243
|
+
* @generated from enum value: notification = 19;
|
|
244
|
+
*/
|
|
245
|
+
WorkflowTaskKind[WorkflowTaskKind["notification"] = 19] = "notification";
|
|
246
|
+
/**
|
|
247
|
+
* LLM-as-a-judge evaluation for semantic quality assessment.
|
|
248
|
+
*
|
|
249
|
+
* @internal
|
|
250
|
+
* Assesses quality, correctness, safety, or completeness of LLM-generated
|
|
251
|
+
* or agent-produced content using an LLM judge. Fills the gap between
|
|
252
|
+
* structural validation (validate task) and human review (human_input).
|
|
253
|
+
* Supports pass/fail, numeric scoring, and multi-criteria evaluation modes.
|
|
254
|
+
* Config: {"model": "...", "subject": "${...}", "rubric": "...", "scoring_mode": "...", "threshold": 0.7, "on_fail": "..."}
|
|
255
|
+
*
|
|
256
|
+
* @since T17 (Advanced Agentic Orchestration)
|
|
257
|
+
*
|
|
258
|
+
* @generated from enum value: eval = 20;
|
|
259
|
+
*/
|
|
260
|
+
WorkflowTaskKind[WorkflowTaskKind["eval"] = 20] = "eval";
|
|
170
261
|
})(WorkflowTaskKind || (WorkflowTaskKind = {}));
|
|
171
262
|
/**
|
|
172
263
|
* Describes the enum ai.stigmer.agentic.workflow.v1.WorkflowTaskKind.
|
|
173
264
|
*/
|
|
174
265
|
export const WorkflowTaskKindSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_workflow_v1_enum, 0);
|
|
266
|
+
/**
|
|
267
|
+
* BudgetExceededPolicy defines the runtime behavior when a workflow or per-task
|
|
268
|
+
* budget limit is exceeded.
|
|
269
|
+
*
|
|
270
|
+
* The runtime (T13) evaluates this policy at task boundaries: after each task
|
|
271
|
+
* completes, accumulated costs and tokens are compared against the declared
|
|
272
|
+
* budget. If a limit is breached, the policy determines what happens next.
|
|
273
|
+
*
|
|
274
|
+
* @since T05 (Workflow-Level Budget Primitives)
|
|
275
|
+
*
|
|
276
|
+
* @generated from enum ai.stigmer.agentic.workflow.v1.BudgetExceededPolicy
|
|
277
|
+
*/
|
|
278
|
+
export var BudgetExceededPolicy;
|
|
279
|
+
(function (BudgetExceededPolicy) {
|
|
280
|
+
/**
|
|
281
|
+
* Default: no specific policy set. The runtime treats this as
|
|
282
|
+
* budget_exceeded_terminate (fail-safe behavior).
|
|
283
|
+
*
|
|
284
|
+
* @generated from enum value: budget_exceeded_policy_unspecified = 0;
|
|
285
|
+
*/
|
|
286
|
+
BudgetExceededPolicy[BudgetExceededPolicy["budget_exceeded_policy_unspecified"] = 0] = "budget_exceeded_policy_unspecified";
|
|
287
|
+
/**
|
|
288
|
+
* Terminate the workflow immediately with EXECUTION_FAILED status.
|
|
289
|
+
* The execution record includes the budget breach details for diagnostics.
|
|
290
|
+
*
|
|
291
|
+
* @generated from enum value: budget_exceeded_terminate = 1;
|
|
292
|
+
*/
|
|
293
|
+
BudgetExceededPolicy[BudgetExceededPolicy["budget_exceeded_terminate"] = 1] = "budget_exceeded_terminate";
|
|
294
|
+
/**
|
|
295
|
+
* Pause the workflow and request human review via a system-generated
|
|
296
|
+
* approval gate. The reviewer can approve continued execution (with
|
|
297
|
+
* an increased budget) or confirm termination.
|
|
298
|
+
* Depends on the human_input runtime (T13). If human_input runtime
|
|
299
|
+
* is not available, falls back to terminate with a descriptive error.
|
|
300
|
+
*
|
|
301
|
+
* @generated from enum value: budget_exceeded_human_review = 2;
|
|
302
|
+
*/
|
|
303
|
+
BudgetExceededPolicy[BudgetExceededPolicy["budget_exceeded_human_review"] = 2] = "budget_exceeded_human_review";
|
|
304
|
+
/**
|
|
305
|
+
* Log a warning but allow the workflow to continue executing.
|
|
306
|
+
* Useful for monitoring/alerting without interrupting production workflows.
|
|
307
|
+
*
|
|
308
|
+
* @generated from enum value: budget_exceeded_warn = 3;
|
|
309
|
+
*/
|
|
310
|
+
BudgetExceededPolicy[BudgetExceededPolicy["budget_exceeded_warn"] = 3] = "budget_exceeded_warn";
|
|
311
|
+
})(BudgetExceededPolicy || (BudgetExceededPolicy = {}));
|
|
312
|
+
/**
|
|
313
|
+
* Describes the enum ai.stigmer.agentic.workflow.v1.BudgetExceededPolicy.
|
|
314
|
+
*/
|
|
315
|
+
export const BudgetExceededPolicySchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_workflow_v1_enum, 1);
|
|
175
316
|
//# sourceMappingURL=enum_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,wxBAAwxB,CAAC,CAAC;AAEryB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,CAAN,IAAY,gBAyOX;AAzOD,WAAY,gBAAgB;IAC1B;;;;OAIG;IACH,2GAAkC,CAAA;IAElC;;;;;;;OAOG;IACH,+DAAY,CAAA;IAEZ;;;;;;;OAOG;IACH,iEAAa,CAAA;IAEb;;;;;;;OAOG;IACH,iEAAa,CAAA;IAEb;;;;;;;;OAQG;IACH,yEAAiB,CAAA;IAEjB;;;;;;;OAOG;IACH,qEAAe,CAAA;IAEf;;;;;;;OAOG;IACH,+DAAY,CAAA;IAEZ;;;;;;;OAOG;IACH,uDAAQ,CAAA;IAER;;;;;;;OAOG;IACH,iEAAa,CAAA;IAEb;;;;;;;;OAQG;IACH,2DAAU,CAAA;IAEV;;;;;;;;OAQG;IACH,wDAAS,CAAA;IAET;;;;;;;OAOG;IACH,sEAAgB,CAAA;IAEhB;;;;;;;;OAQG;IACH,wEAAiB,CAAA;IAEjB;;;;;;;;OAQG;IACH,oEAAe,CAAA;IAEf;;;;;;;;;OASG;IACH,gEAAa,CAAA;IAEb;;;;;;;;;OASG;IACH,kEAAc,CAAA;IAEd;;;;;;;;;;OAUG;IACH,sEAAgB,CAAA;IAEhB;;;;;;;;;;OAUG;IACH,gEAAa,CAAA;IAEb;;;;;;;;;;OAUG;IACH,oEAAe,CAAA;IAEf;;;;;;;;;OASG;IACH,wEAAiB,CAAA;IAEjB;;;;;;;;;;;;;OAaG;IACH,wDAAS,CAAA;AACX,CAAC,EAzOW,gBAAgB,KAAhB,gBAAgB,QAyO3B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAA8B,aAAa,CAC5E,QAAQ,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAExD;;;;;;;;;;;GAWG;AACH,MAAM,CAAN,IAAY,oBAmCX;AAnCD,WAAY,oBAAoB;IAC9B;;;;;OAKG;IACH,2HAAsC,CAAA;IAEtC;;;;;OAKG;IACH,yGAA6B,CAAA;IAE7B;;;;;;;;OAQG;IACH,+GAAgC,CAAA;IAEhC;;;;;OAKG;IACH,+FAAwB,CAAA;AAC1B,CAAC,EAnCW,oBAAoB,KAApB,oBAAoB,QAmC/B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAkC,aAAa,CACpF,QAAQ,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|