@stigmer/protos 0.0.34
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/LICENSE +190 -0
- package/README.md +35 -0
- package/ai/stigmer/agentic/agent/v1/api_pb.d.ts +53 -0
- package/ai/stigmer/agentic/agent/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/agent/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/agent/v1/command_connect.d.ts +60 -0
- package/ai/stigmer/agentic/agent/v1/command_connect.js +66 -0
- package/ai/stigmer/agentic/agent/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/agent/v1/command_pb.d.ts +60 -0
- package/ai/stigmer/agentic/agent/v1/command_pb.js +19 -0
- package/ai/stigmer/agentic/agent/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/agent/v1/io_pb.d.ts +22 -0
- package/ai/stigmer/agentic/agent/v1/io_pb.js +15 -0
- package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +32 -0
- package/ai/stigmer/agentic/agent/v1/query_connect.js +38 -0
- package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +35 -0
- package/ai/stigmer/agentic/agent/v1/query_pb.js +20 -0
- package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +373 -0
- package/ai/stigmer/agentic/agent/v1/spec_pb.js +38 -0
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/agent/v1/status_pb.d.ts +34 -0
- package/ai/stigmer/agentic/agent/v1/status_pb.js +15 -0
- package/ai/stigmer/agentic/agent/v1/status_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +296 -0
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +35 -0
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.d.ts +206 -0
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js +19 -0
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.d.ts +91 -0
- package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.js +16 -0
- package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +413 -0
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +419 -0
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +407 -0
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.js +21 -0
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.d.ts +403 -0
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.js +30 -0
- package/ai/stigmer/agentic/agentexecution/v1/context_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +526 -0
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +538 -0
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +1335 -0
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +148 -0
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +316 -0
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.js +27 -0
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +146 -0
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +152 -0
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +142 -0
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +19 -0
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +562 -0
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +31 -0
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/subagent_pb.d.ts +129 -0
- package/ai/stigmer/agentic/agentexecution/v1/subagent_pb.js +20 -0
- package/ai/stigmer/agentic/agentexecution/v1/subagent_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +413 -0
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +24 -0
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.d.ts +52 -0
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +71 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +77 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +71 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.js +20 -0
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentinstance/v1/io_pb.d.ts +74 -0
- package/ai/stigmer/agentic/agentinstance/v1/io_pb.js +27 -0
- package/ai/stigmer/agentic/agentinstance/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentinstance/v1/query_connect.d.ts +46 -0
- package/ai/stigmer/agentic/agentinstance/v1/query_connect.js +52 -0
- package/ai/stigmer/agentic/agentinstance/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/agentinstance/v1/query_pb.d.ts +48 -0
- package/ai/stigmer/agentic/agentinstance/v1/query_pb.js +20 -0
- package/ai/stigmer/agentic/agentinstance/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +42 -0
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js +16 -0
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/environment/v1/api_pb.d.ts +54 -0
- package/ai/stigmer/agentic/environment/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/environment/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/environment/v1/command_connect.d.ts +56 -0
- package/ai/stigmer/agentic/environment/v1/command_connect.js +62 -0
- package/ai/stigmer/agentic/environment/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/environment/v1/command_pb.d.ts +56 -0
- package/ai/stigmer/agentic/environment/v1/command_pb.js +19 -0
- package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/environment/v1/io_pb.d.ts +22 -0
- package/ai/stigmer/agentic/environment/v1/io_pb.js +15 -0
- package/ai/stigmer/agentic/environment/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/environment/v1/query_connect.d.ts +32 -0
- package/ai/stigmer/agentic/environment/v1/query_connect.js +38 -0
- package/ai/stigmer/agentic/environment/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/environment/v1/query_pb.d.ts +34 -0
- package/ai/stigmer/agentic/environment/v1/query_pb.js +19 -0
- package/ai/stigmer/agentic/environment/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/environment/v1/spec_pb.d.ts +79 -0
- package/ai/stigmer/agentic/environment/v1/spec_pb.js +19 -0
- package/ai/stigmer/agentic/environment/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/executioncontext/v1/api_pb.d.ts +54 -0
- package/ai/stigmer/agentic/executioncontext/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/executioncontext/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.d.ts +46 -0
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.js +52 -0
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.d.ts +47 -0
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.js +20 -0
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/executioncontext/v1/io_pb.d.ts +44 -0
- package/ai/stigmer/agentic/executioncontext/v1/io_pb.js +20 -0
- package/ai/stigmer/agentic/executioncontext/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +54 -0
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +60 -0
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +56 -0
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.js +20 -0
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/executioncontext/v1/spec_pb.d.ts +69 -0
- package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js +20 -0
- package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/mcpserver/v1/api_pb.d.ts +129 -0
- package/ai/stigmer/agentic/mcpserver/v1/api_pb.js +23 -0
- package/ai/stigmer/agentic/mcpserver/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +136 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +142 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +136 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js +29 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +62 -0
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.js +21 -0
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.d.ts +59 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js +65 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.d.ts +61 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.js +25 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +332 -0
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js +31 -0
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +290 -0
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js +104 -0
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/api_pb.d.ts +52 -0
- package/ai/stigmer/agentic/session/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/session/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/command_connect.d.ts +57 -0
- package/ai/stigmer/agentic/session/v1/command_connect.js +63 -0
- package/ai/stigmer/agentic/session/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/command_pb.d.ts +57 -0
- package/ai/stigmer/agentic/session/v1/command_pb.js +19 -0
- package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/io_pb.d.ts +123 -0
- package/ai/stigmer/agentic/session/v1/io_pb.js +36 -0
- package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/query_connect.d.ts +43 -0
- package/ai/stigmer/agentic/session/v1/query_connect.js +49 -0
- package/ai/stigmer/agentic/session/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/query_pb.d.ts +44 -0
- package/ai/stigmer/agentic/session/v1/query_pb.js +19 -0
- package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +66 -0
- package/ai/stigmer/agentic/session/v1/spec_pb.js +16 -0
- package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/workspace_pb.d.ts +167 -0
- package/ai/stigmer/agentic/session/v1/workspace_pb.js +30 -0
- package/ai/stigmer/agentic/session/v1/workspace_pb.js.map +1 -0
- package/ai/stigmer/agentic/skill/v1/api_pb.d.ts +85 -0
- package/ai/stigmer/agentic/skill/v1/api_pb.js +23 -0
- package/ai/stigmer/agentic/skill/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/skill/v1/command_connect.d.ts +50 -0
- package/ai/stigmer/agentic/skill/v1/command_connect.js +56 -0
- package/ai/stigmer/agentic/skill/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/skill/v1/command_pb.d.ts +52 -0
- package/ai/stigmer/agentic/skill/v1/command_pb.js +19 -0
- package/ai/stigmer/agentic/skill/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/skill/v1/io_pb.d.ts +118 -0
- package/ai/stigmer/agentic/skill/v1/io_pb.js +31 -0
- package/ai/stigmer/agentic/skill/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/skill/v1/query_connect.d.ts +57 -0
- package/ai/stigmer/agentic/skill/v1/query_connect.js +63 -0
- package/ai/stigmer/agentic/skill/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/skill/v1/query_pb.d.ts +59 -0
- package/ai/stigmer/agentic/skill/v1/query_pb.js +20 -0
- package/ai/stigmer/agentic/skill/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/skill/v1/spec_pb.d.ts +59 -0
- package/ai/stigmer/agentic/skill/v1/spec_pb.js +15 -0
- package/ai/stigmer/agentic/skill/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/skill/v1/status_pb.d.ts +146 -0
- package/ai/stigmer/agentic/skill/v1/status_pb.js +57 -0
- package/ai/stigmer/agentic/skill/v1/status_pb.js.map +1 -0
- package/ai/stigmer/agentic/skill/v1/synth_pb.d.ts +125 -0
- package/ai/stigmer/agentic/skill/v1/synth_pb.js +24 -0
- package/ai/stigmer/agentic/skill/v1/synth_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/api_pb.d.ts +53 -0
- package/ai/stigmer/agentic/workflow/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/workflow/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +60 -0
- package/ai/stigmer/agentic/workflow/v1/command_connect.js +66 -0
- package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +60 -0
- package/ai/stigmer/agentic/workflow/v1/command_pb.js +19 -0
- package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/enum_pb.d.ts +138 -0
- package/ai/stigmer/agentic/workflow/v1/enum_pb.js +143 -0
- package/ai/stigmer/agentic/workflow/v1/enum_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/io_pb.d.ts +22 -0
- package/ai/stigmer/agentic/workflow/v1/io_pb.js +15 -0
- package/ai/stigmer/agentic/workflow/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/query_connect.d.ts +32 -0
- package/ai/stigmer/agentic/workflow/v1/query_connect.js +38 -0
- package/ai/stigmer/agentic/workflow/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/query_pb.d.ts +35 -0
- package/ai/stigmer/agentic/workflow/v1/query_pb.js +20 -0
- package/ai/stigmer/agentic/workflow/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.d.ts +119 -0
- package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js +63 -0
- package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/spec_pb.d.ts +222 -0
- package/ai/stigmer/agentic/workflow/v1/spec_pb.js +39 -0
- package/ai/stigmer/agentic/workflow/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/status_pb.d.ts +48 -0
- package/ai/stigmer/agentic/workflow/v1/status_pb.js +16 -0
- package/ai/stigmer/agentic/workflow/v1/status_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +153 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js +22 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/call_activity_pb.d.ts +45 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/call_activity_pb.js +17 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/call_activity_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.d.ts +58 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js +17 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/fork_pb.d.ts +77 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/fork_pb.js +22 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/fork_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/grpc_call_pb.d.ts +53 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/grpc_call_pb.js +17 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/grpc_call_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.d.ts +87 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.js +22 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/listen_pb.d.ts +90 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/listen_pb.js +26 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/listen_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/raise_pb.d.ts +41 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/raise_pb.js +16 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/raise_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/run_pb.d.ts +43 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/run_pb.js +17 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/run_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/set_pb.d.ts +39 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/set_pb.js +16 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/set_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/switch_pb.d.ts +71 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/switch_pb.js +21 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/switch_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.d.ts +80 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js +22 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/wait_pb.d.ts +121 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/wait_pb.js +22 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/wait_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +716 -0
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js +31 -0
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +833 -0
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +839 -0
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +827 -0
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js +33 -0
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.d.ts +693 -0
- package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js +700 -0
- package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +1198 -0
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +211 -0
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.d.ts +391 -0
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js +397 -0
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.d.ts +391 -0
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js +32 -0
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.d.ts +332 -0
- package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js +15 -0
- package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowinstance/v1/api_pb.d.ts +82 -0
- package/ai/stigmer/agentic/workflowinstance/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/workflowinstance/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowinstance/v1/command_connect.d.ts +139 -0
- package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js +145 -0
- package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/workflowinstance/v1/command_pb.d.ts +139 -0
- package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js +29 -0
- package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowinstance/v1/io_pb.d.ts +119 -0
- package/ai/stigmer/agentic/workflowinstance/v1/io_pb.js +27 -0
- package/ai/stigmer/agentic/workflowinstance/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowinstance/v1/query_connect.d.ts +142 -0
- package/ai/stigmer/agentic/workflowinstance/v1/query_connect.js +148 -0
- package/ai/stigmer/agentic/workflowinstance/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/workflowinstance/v1/query_pb.d.ts +144 -0
- package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js +30 -0
- package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.d.ts +97 -0
- package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.js +16 -0
- package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.d.ts +68 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.js +53 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_group_pb.js.map +1 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +253 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +199 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.d.ts +257 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js +128 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js.map +1 -0
- package/ai/stigmer/commons/apiresource/enum_pb.d.ts +122 -0
- package/ai/stigmer/commons/apiresource/enum_pb.js +129 -0
- package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -0
- package/ai/stigmer/commons/apiresource/field_options_pb.d.ts +48 -0
- package/ai/stigmer/commons/apiresource/field_options_pb.js +52 -0
- package/ai/stigmer/commons/apiresource/field_options_pb.js.map +1 -0
- package/ai/stigmer/commons/apiresource/io_pb.d.ts +185 -0
- package/ai/stigmer/commons/apiresource/io_pb.js +37 -0
- package/ai/stigmer/commons/apiresource/io_pb.js.map +1 -0
- package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +115 -0
- package/ai/stigmer/commons/apiresource/metadata_pb.js +21 -0
- package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -0
- package/ai/stigmer/commons/apiresource/rpc_service_options_pb.d.ts +11 -0
- package/ai/stigmer/commons/apiresource/rpc_service_options_pb.js +15 -0
- package/ai/stigmer/commons/apiresource/rpc_service_options_pb.js.map +1 -0
- package/ai/stigmer/commons/apiresource/status_pb.d.ts +115 -0
- package/ai/stigmer/commons/apiresource/status_pb.js +30 -0
- package/ai/stigmer/commons/apiresource/status_pb.js.map +1 -0
- package/ai/stigmer/commons/rpc/pagination_pb.d.ts +49 -0
- package/ai/stigmer/commons/rpc/pagination_pb.js +19 -0
- package/ai/stigmer/commons/rpc/pagination_pb.js.map +1 -0
- package/ai/stigmer/iam/apikey/v1/api_pb.d.ts +74 -0
- package/ai/stigmer/iam/apikey/v1/api_pb.js +24 -0
- package/ai/stigmer/iam/apikey/v1/api_pb.js.map +1 -0
- package/ai/stigmer/iam/apikey/v1/command_connect.d.ts +43 -0
- package/ai/stigmer/iam/apikey/v1/command_connect.js +49 -0
- package/ai/stigmer/iam/apikey/v1/command_connect.js.map +1 -0
- package/ai/stigmer/iam/apikey/v1/command_pb.d.ts +44 -0
- package/ai/stigmer/iam/apikey/v1/command_pb.js +19 -0
- package/ai/stigmer/iam/apikey/v1/command_pb.js.map +1 -0
- package/ai/stigmer/iam/apikey/v1/io_pb.d.ts +55 -0
- package/ai/stigmer/iam/apikey/v1/io_pb.js +26 -0
- package/ai/stigmer/iam/apikey/v1/io_pb.js.map +1 -0
- package/ai/stigmer/iam/apikey/v1/query_connect.d.ts +46 -0
- package/ai/stigmer/iam/apikey/v1/query_connect.js +52 -0
- package/ai/stigmer/iam/apikey/v1/query_connect.js.map +1 -0
- package/ai/stigmer/iam/apikey/v1/query_pb.d.ts +48 -0
- package/ai/stigmer/iam/apikey/v1/query_pb.js +20 -0
- package/ai/stigmer/iam/apikey/v1/query_pb.js.map +1 -0
- package/ai/stigmer/iam/apikey/v1/spec_pb.d.ts +46 -0
- package/ai/stigmer/iam/apikey/v1/spec_pb.js +16 -0
- package/ai/stigmer/iam/apikey/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/iam/iampolicy/v1/api_pb.d.ts +81 -0
- package/ai/stigmer/iam/iampolicy/v1/api_pb.js +23 -0
- package/ai/stigmer/iam/iampolicy/v1/api_pb.js.map +1 -0
- package/ai/stigmer/iam/iampolicy/v1/command_connect.d.ts +225 -0
- package/ai/stigmer/iam/iampolicy/v1/command_connect.js +231 -0
- package/ai/stigmer/iam/iampolicy/v1/command_connect.js.map +1 -0
- package/ai/stigmer/iam/iampolicy/v1/command_pb.d.ts +225 -0
- package/ai/stigmer/iam/iampolicy/v1/command_pb.js +34 -0
- package/ai/stigmer/iam/iampolicy/v1/command_pb.js.map +1 -0
- package/ai/stigmer/iam/iampolicy/v1/io_pb.d.ts +555 -0
- package/ai/stigmer/iam/iampolicy/v1/io_pb.js +122 -0
- package/ai/stigmer/iam/iampolicy/v1/io_pb.js.map +1 -0
- package/ai/stigmer/iam/iampolicy/v1/query_connect.d.ts +91 -0
- package/ai/stigmer/iam/iampolicy/v1/query_connect.js +97 -0
- package/ai/stigmer/iam/iampolicy/v1/query_connect.js.map +1 -0
- package/ai/stigmer/iam/iampolicy/v1/query_pb.d.ts +91 -0
- package/ai/stigmer/iam/iampolicy/v1/query_pb.js +19 -0
- package/ai/stigmer/iam/iampolicy/v1/query_pb.js.map +1 -0
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.d.ts +171 -0
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js +176 -0
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js.map +1 -0
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.d.ts +58 -0
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js +16 -0
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js.map +1 -0
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.d.ts +19 -0
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js +23 -0
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js.map +1 -0
- package/ai/stigmer/iam/iampolicy/v1/spec_pb.d.ts +105 -0
- package/ai/stigmer/iam/iampolicy/v1/spec_pb.js +20 -0
- package/ai/stigmer/iam/iampolicy/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/iam/identityaccount/v1/api_pb.d.ts +51 -0
- package/ai/stigmer/iam/identityaccount/v1/api_pb.js +18 -0
- package/ai/stigmer/iam/identityaccount/v1/api_pb.js.map +1 -0
- package/ai/stigmer/iam/identityaccount/v1/command_connect.d.ts +59 -0
- package/ai/stigmer/iam/identityaccount/v1/command_connect.js +65 -0
- package/ai/stigmer/iam/identityaccount/v1/command_connect.js.map +1 -0
- package/ai/stigmer/iam/identityaccount/v1/command_pb.d.ts +60 -0
- package/ai/stigmer/iam/identityaccount/v1/command_pb.js +20 -0
- package/ai/stigmer/iam/identityaccount/v1/command_pb.js.map +1 -0
- package/ai/stigmer/iam/identityaccount/v1/enum_pb.d.ts +40 -0
- package/ai/stigmer/iam/identityaccount/v1/enum_pb.js +45 -0
- package/ai/stigmer/iam/identityaccount/v1/enum_pb.js.map +1 -0
- package/ai/stigmer/iam/identityaccount/v1/io_pb.d.ts +138 -0
- package/ai/stigmer/iam/identityaccount/v1/io_pb.js +47 -0
- package/ai/stigmer/iam/identityaccount/v1/io_pb.js.map +1 -0
- package/ai/stigmer/iam/identityaccount/v1/query_connect.d.ts +79 -0
- package/ai/stigmer/iam/identityaccount/v1/query_connect.js +85 -0
- package/ai/stigmer/iam/identityaccount/v1/query_connect.js.map +1 -0
- package/ai/stigmer/iam/identityaccount/v1/query_pb.d.ts +80 -0
- package/ai/stigmer/iam/identityaccount/v1/query_pb.js +21 -0
- package/ai/stigmer/iam/identityaccount/v1/query_pb.js.map +1 -0
- package/ai/stigmer/iam/identityaccount/v1/spec_pb.d.ts +95 -0
- package/ai/stigmer/iam/identityaccount/v1/spec_pb.js +17 -0
- package/ai/stigmer/iam/identityaccount/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/iam/identityaccount/v1/webhook_pb.d.ts +50 -0
- package/ai/stigmer/iam/identityaccount/v1/webhook_pb.js +14 -0
- package/ai/stigmer/iam/identityaccount/v1/webhook_pb.js.map +1 -0
- package/ai/stigmer/iam/identityprovider/v1/api_pb.d.ts +72 -0
- package/ai/stigmer/iam/identityprovider/v1/api_pb.js +18 -0
- package/ai/stigmer/iam/identityprovider/v1/api_pb.js.map +1 -0
- package/ai/stigmer/iam/identityprovider/v1/command_connect.d.ts +59 -0
- package/ai/stigmer/iam/identityprovider/v1/command_connect.js +65 -0
- package/ai/stigmer/iam/identityprovider/v1/command_connect.js.map +1 -0
- package/ai/stigmer/iam/identityprovider/v1/command_pb.d.ts +59 -0
- package/ai/stigmer/iam/identityprovider/v1/command_pb.js +19 -0
- package/ai/stigmer/iam/identityprovider/v1/command_pb.js.map +1 -0
- package/ai/stigmer/iam/identityprovider/v1/io_pb.d.ts +65 -0
- package/ai/stigmer/iam/identityprovider/v1/io_pb.js +26 -0
- package/ai/stigmer/iam/identityprovider/v1/io_pb.js.map +1 -0
- package/ai/stigmer/iam/identityprovider/v1/query_connect.d.ts +32 -0
- package/ai/stigmer/iam/identityprovider/v1/query_connect.js +38 -0
- package/ai/stigmer/iam/identityprovider/v1/query_connect.js.map +1 -0
- package/ai/stigmer/iam/identityprovider/v1/query_pb.d.ts +34 -0
- package/ai/stigmer/iam/identityprovider/v1/query_pb.js +19 -0
- package/ai/stigmer/iam/identityprovider/v1/query_pb.js.map +1 -0
- package/ai/stigmer/iam/identityprovider/v1/spec_pb.d.ts +106 -0
- package/ai/stigmer/iam/identityprovider/v1/spec_pb.js +15 -0
- package/ai/stigmer/iam/identityprovider/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/search/v1/io_pb.d.ts +320 -0
- package/ai/stigmer/search/v1/io_pb.js +29 -0
- package/ai/stigmer/search/v1/io_pb.js.map +1 -0
- package/ai/stigmer/search/v1/query_connect.d.ts +67 -0
- package/ai/stigmer/search/v1/query_connect.js +73 -0
- package/ai/stigmer/search/v1/query_connect.js.map +1 -0
- package/ai/stigmer/search/v1/query_pb.d.ts +69 -0
- package/ai/stigmer/search/v1/query_pb.js +40 -0
- package/ai/stigmer/search/v1/query_pb.js.map +1 -0
- package/ai/stigmer/tenancy/organization/v1/api_pb.d.ts +54 -0
- package/ai/stigmer/tenancy/organization/v1/api_pb.js +18 -0
- package/ai/stigmer/tenancy/organization/v1/api_pb.js.map +1 -0
- package/ai/stigmer/tenancy/organization/v1/command_connect.d.ts +61 -0
- package/ai/stigmer/tenancy/organization/v1/command_connect.js +67 -0
- package/ai/stigmer/tenancy/organization/v1/command_connect.js.map +1 -0
- package/ai/stigmer/tenancy/organization/v1/command_pb.d.ts +61 -0
- package/ai/stigmer/tenancy/organization/v1/command_pb.js +19 -0
- package/ai/stigmer/tenancy/organization/v1/command_pb.js.map +1 -0
- package/ai/stigmer/tenancy/organization/v1/enum_pb.d.ts +34 -0
- package/ai/stigmer/tenancy/organization/v1/enum_pb.js +39 -0
- package/ai/stigmer/tenancy/organization/v1/enum_pb.js.map +1 -0
- package/ai/stigmer/tenancy/organization/v1/io_pb.d.ts +91 -0
- package/ai/stigmer/tenancy/organization/v1/io_pb.js +32 -0
- package/ai/stigmer/tenancy/organization/v1/io_pb.js.map +1 -0
- package/ai/stigmer/tenancy/organization/v1/query_connect.d.ts +61 -0
- package/ai/stigmer/tenancy/organization/v1/query_connect.js +67 -0
- package/ai/stigmer/tenancy/organization/v1/query_connect.js.map +1 -0
- package/ai/stigmer/tenancy/organization/v1/query_pb.d.ts +63 -0
- package/ai/stigmer/tenancy/organization/v1/query_pb.js +21 -0
- package/ai/stigmer/tenancy/organization/v1/query_pb.js.map +1 -0
- package/ai/stigmer/tenancy/organization/v1/spec_pb.d.ts +61 -0
- package/ai/stigmer/tenancy/organization/v1/spec_pb.js +17 -0
- package/ai/stigmer/tenancy/organization/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/tenancy/project/v1/api_pb.d.ts +91 -0
- package/ai/stigmer/tenancy/project/v1/api_pb.js +18 -0
- package/ai/stigmer/tenancy/project/v1/api_pb.js.map +1 -0
- package/ai/stigmer/tenancy/project/v1/command_connect.d.ts +60 -0
- package/ai/stigmer/tenancy/project/v1/command_connect.js +66 -0
- package/ai/stigmer/tenancy/project/v1/command_connect.js.map +1 -0
- package/ai/stigmer/tenancy/project/v1/command_pb.d.ts +60 -0
- package/ai/stigmer/tenancy/project/v1/command_pb.js +19 -0
- package/ai/stigmer/tenancy/project/v1/command_pb.js.map +1 -0
- package/ai/stigmer/tenancy/project/v1/io_pb.d.ts +22 -0
- package/ai/stigmer/tenancy/project/v1/io_pb.js +15 -0
- package/ai/stigmer/tenancy/project/v1/io_pb.js.map +1 -0
- package/ai/stigmer/tenancy/project/v1/query_connect.d.ts +33 -0
- package/ai/stigmer/tenancy/project/v1/query_connect.js +39 -0
- package/ai/stigmer/tenancy/project/v1/query_connect.js.map +1 -0
- package/ai/stigmer/tenancy/project/v1/query_pb.d.ts +36 -0
- package/ai/stigmer/tenancy/project/v1/query_pb.js +20 -0
- package/ai/stigmer/tenancy/project/v1/query_pb.js.map +1 -0
- package/ai/stigmer/tenancy/project/v1/spec_pb.d.ts +84 -0
- package/ai/stigmer/tenancy/project/v1/spec_pb.js +15 -0
- package/ai/stigmer/tenancy/project/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/tenancy/project/v1/status_pb.d.ts +89 -0
- package/ai/stigmer/tenancy/project/v1/status_pb.js +21 -0
- package/ai/stigmer/tenancy/project/v1/status_pb.js.map +1 -0
- package/buf/validate/validate_pb.d.ts +4766 -0
- package/buf/validate/validate_pb.js +357 -0
- package/buf/validate/validate_pb.js.map +1 -0
- package/package.json +32 -0
|
@@ -0,0 +1,716 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { PendingApproval } from "../../agentexecution/v1/approval_pb";
|
|
3
|
+
import type { ExecutionPhase, WorkflowTaskStatus, WorkflowTaskType } from "./enum_pb";
|
|
4
|
+
import type { WorkflowExecutionSpec } from "./spec_pb";
|
|
5
|
+
import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb";
|
|
6
|
+
import type { ApiResourceAudit } from "../../../commons/apiresource/status_pb";
|
|
7
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file ai/stigmer/agentic/workflowexecution/v1/api.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_ai_stigmer_agentic_workflowexecution_v1_api: GenFile;
|
|
12
|
+
/**
|
|
13
|
+
* WorkflowExecution represents a single runtime invocation of a WorkflowInstance.
|
|
14
|
+
*
|
|
15
|
+
* WorkflowExecution is the "Execution" layer in the Template→Instance→Execution pattern.
|
|
16
|
+
* It captures the complete lifecycle of a workflow run, from initial trigger through
|
|
17
|
+
* task-by-task execution to final completion or failure.
|
|
18
|
+
*
|
|
19
|
+
* A WorkflowExecution:
|
|
20
|
+
* - References a WorkflowInstance (which contains configuration and environment bindings)
|
|
21
|
+
* - Is triggered by a user action, API call, webhook, or scheduled event
|
|
22
|
+
* - Executes tasks sequentially or in parallel based on the workflow definition
|
|
23
|
+
* - Tracks real-time progress through tasks and phases
|
|
24
|
+
* - Captures outputs, errors, and execution metadata
|
|
25
|
+
* - Is ephemeral - deleted after completion based on retention policies
|
|
26
|
+
*
|
|
27
|
+
* Execution Pattern:
|
|
28
|
+
* Workflow "customer-onboarding" (template)
|
|
29
|
+
* → WorkflowInstance "acme-onboarding" (with prod-env)
|
|
30
|
+
* → WorkflowExecution "acme-onboarding-20250111-143022" (specific run)
|
|
31
|
+
* - Phase: IN_PROGRESS
|
|
32
|
+
* - Tasks: [validate_email: COMPLETED, create_account: IN_PROGRESS, send_welcome: PENDING]
|
|
33
|
+
* - Progress: 1/3 tasks completed
|
|
34
|
+
*
|
|
35
|
+
* Use Cases:
|
|
36
|
+
* - Track workflow execution progress in real-time
|
|
37
|
+
* - Debug failed workflows with full execution history
|
|
38
|
+
* - Audit workflow runs for compliance and analysis
|
|
39
|
+
* - Monitor workflow performance and duration
|
|
40
|
+
* - Retry failed executions with same inputs
|
|
41
|
+
*
|
|
42
|
+
* Separation of Concerns:
|
|
43
|
+
* - User Inputs (spec): workflow_instance_id, trigger_message, trigger_metadata, runtime_env
|
|
44
|
+
* - System State (status): phase, tasks, output, timestamps, errors
|
|
45
|
+
*
|
|
46
|
+
* This separation ensures:
|
|
47
|
+
* - Clear boundary between what users control (spec) and what the system manages (status)
|
|
48
|
+
* - Status can be updated independently during execution without modifying user inputs
|
|
49
|
+
* - Execution can be retried by creating a new WorkflowExecution with the same spec
|
|
50
|
+
*
|
|
51
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecution
|
|
52
|
+
*/
|
|
53
|
+
export type WorkflowExecution = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowExecution"> & {
|
|
54
|
+
/**
|
|
55
|
+
* API version for this resource type.
|
|
56
|
+
* Format: 'agentic.stigmer.ai/v1'
|
|
57
|
+
* Validated as const to ensure version consistency across all workflow execution resources.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: string api_version = 1;
|
|
60
|
+
*/
|
|
61
|
+
apiVersion: string;
|
|
62
|
+
/**
|
|
63
|
+
* Resource kind identifier.
|
|
64
|
+
* Must be exactly 'WorkflowExecution' to match the message name.
|
|
65
|
+
* Validated as const for type safety and resource identification.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: string kind = 2;
|
|
68
|
+
*/
|
|
69
|
+
kind: string;
|
|
70
|
+
/**
|
|
71
|
+
* Standard resource metadata including name, id, slug, labels, tags, and annotations.
|
|
72
|
+
*
|
|
73
|
+
* All workflow executions belong to an organization. Visibility (public/private)
|
|
74
|
+
* is typically PRIVATE for executions since they contain runtime data.
|
|
75
|
+
*
|
|
76
|
+
* Naming Pattern:
|
|
77
|
+
* - ID Format: "wfx-abc123xyz456" (auto-generated, unique)
|
|
78
|
+
* - Name Format: "{workflow_instance_name}-{timestamp}" (e.g., "prod-deploy-20250111-143022")
|
|
79
|
+
* - Slug Format: Same as name, URL-safe
|
|
80
|
+
*
|
|
81
|
+
* Labels and Tags:
|
|
82
|
+
* - Labels: workflow_instance_id, workflow_id, trigger_source
|
|
83
|
+
* - Tags: environment names, team names, execution metadata
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceMetadata metadata = 3;
|
|
86
|
+
*/
|
|
87
|
+
metadata?: ApiResourceMetadata;
|
|
88
|
+
/**
|
|
89
|
+
* User-provided inputs and configuration for this workflow execution.
|
|
90
|
+
*
|
|
91
|
+
* Contains:
|
|
92
|
+
* - workflow_instance_id: Which WorkflowInstance to execute (required)
|
|
93
|
+
* - trigger_message: Input message or payload for the workflow (optional)
|
|
94
|
+
* - trigger_metadata: Metadata about who/what triggered the execution (optional)
|
|
95
|
+
* - runtime_env: Execution-specific environment variables and secrets (optional)
|
|
96
|
+
*
|
|
97
|
+
* The spec is immutable after creation - it represents the "inputs" for this execution.
|
|
98
|
+
* To retry with different inputs, create a new WorkflowExecution with updated spec.
|
|
99
|
+
*
|
|
100
|
+
* Example:
|
|
101
|
+
* spec {
|
|
102
|
+
* workflow_instance_id: "wfi-customer-onboarding-prod"
|
|
103
|
+
* trigger_message: "New customer: customer-email@example.com"
|
|
104
|
+
* trigger_metadata: {
|
|
105
|
+
* "source": "api"
|
|
106
|
+
* "caller_id": "usr-john-doe"
|
|
107
|
+
* "timestamp": "2025-01-11T14:30:22Z"
|
|
108
|
+
* }
|
|
109
|
+
* runtime_env: {
|
|
110
|
+
* "CUSTOMER_EMAIL": { value: "customer-email@example.com" }
|
|
111
|
+
* "WEBHOOK_URL": { secret_ref: "sec-webhook-callback" }
|
|
112
|
+
* }
|
|
113
|
+
* }
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionSpec spec = 4;
|
|
116
|
+
*/
|
|
117
|
+
spec?: WorkflowExecutionSpec;
|
|
118
|
+
/**
|
|
119
|
+
* System-managed execution state and results.
|
|
120
|
+
*
|
|
121
|
+
* Contains:
|
|
122
|
+
* - phase: Current lifecycle phase (PENDING → IN_PROGRESS → COMPLETED/FAILED/CANCELLED)
|
|
123
|
+
* - tasks: List of workflow tasks with their execution state (source of truth for progress)
|
|
124
|
+
* - output: Final workflow output (JSON structure, only for COMPLETED executions)
|
|
125
|
+
* - error: Error message (only for FAILED executions)
|
|
126
|
+
* - started_at: Timestamp when execution started
|
|
127
|
+
* - completed_at: Timestamp when execution finished (COMPLETED/FAILED/CANCELLED)
|
|
128
|
+
* - temporal_workflow_id: Correlation ID for Temporal workflow engine
|
|
129
|
+
*
|
|
130
|
+
* The status is continuously updated by the workflow execution engine as the workflow progresses.
|
|
131
|
+
* Users can read status but cannot modify it - it reflects the actual execution state.
|
|
132
|
+
*
|
|
133
|
+
* Progress Tracking:
|
|
134
|
+
* - Total tasks: tasks.length
|
|
135
|
+
* - Completed tasks: count(tasks where status in [COMPLETED, FAILED, SKIPPED])
|
|
136
|
+
* - Progress percentage: (completed_tasks / total_tasks) * 100
|
|
137
|
+
*
|
|
138
|
+
* Example (in-progress execution):
|
|
139
|
+
* status {
|
|
140
|
+
* phase: EXECUTION_IN_PROGRESS
|
|
141
|
+
* tasks: [
|
|
142
|
+
* { task_id: "task-1", task_name: "validate_email", status: WORKFLOW_TASK_COMPLETED }
|
|
143
|
+
* { task_id: "task-2", task_name: "create_account", status: WORKFLOW_TASK_IN_PROGRESS }
|
|
144
|
+
* { task_id: "task-3", task_name: "send_welcome", status: WORKFLOW_TASK_PENDING }
|
|
145
|
+
* ]
|
|
146
|
+
* started_at: "2025-01-11T14:30:22Z"
|
|
147
|
+
* }
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionStatus status = 5;
|
|
150
|
+
*/
|
|
151
|
+
status?: WorkflowExecutionStatus;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecution.
|
|
155
|
+
* Use `create(WorkflowExecutionSchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export declare const WorkflowExecutionSchema: GenMessage<WorkflowExecution>;
|
|
158
|
+
/**
|
|
159
|
+
* WorkflowExecutionStatus contains all system-managed execution state and results.
|
|
160
|
+
*
|
|
161
|
+
* Everything populated during or after execution goes here, not in spec.
|
|
162
|
+
* This message follows the standard pattern: audit information at field 99, custom fields at 1-98.
|
|
163
|
+
*
|
|
164
|
+
* Status Lifecycle:
|
|
165
|
+
* 1. Created: audit.created_at set, phase = EXECUTION_PENDING
|
|
166
|
+
* 2. Started: started_at set, phase = EXECUTION_IN_PROGRESS, tasks populated
|
|
167
|
+
* 3. Progress: tasks updated as workflow runner sends status updates
|
|
168
|
+
* 4. Completed: completed_at set, phase = EXECUTION_COMPLETED, output populated
|
|
169
|
+
* 5. Failed: completed_at set, phase = EXECUTION_FAILED, error populated
|
|
170
|
+
* 6. Cancelled: completed_at set, phase = EXECUTION_CANCELLED
|
|
171
|
+
*
|
|
172
|
+
* The status is read-only to users and continuously updated by the workflow execution engine.
|
|
173
|
+
*
|
|
174
|
+
* Progress Tracking Pattern (Matches Agent Execution):
|
|
175
|
+
* - Agent execution: messages[], tool_calls[], sub_agent_executions[] (transformed from LLM streaming events)
|
|
176
|
+
* - Workflow execution: tasks[] (transformed from workflow task execution)
|
|
177
|
+
* - Both store structured state, not raw streaming events
|
|
178
|
+
* - Both use updateStatus RPC for progressive updates during execution
|
|
179
|
+
*
|
|
180
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionStatus
|
|
181
|
+
*/
|
|
182
|
+
export type WorkflowExecutionStatus = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionStatus"> & {
|
|
183
|
+
/**
|
|
184
|
+
* Standard audit information (created_at, updated_at, created_by, etc.)
|
|
185
|
+
* Always at field 99 for consistency across all Stigmer API resources.
|
|
186
|
+
*
|
|
187
|
+
* Contains:
|
|
188
|
+
* - created_at: When this execution was created (ISO 8601 timestamp)
|
|
189
|
+
* - updated_at: Last time status was updated (ISO 8601 timestamp)
|
|
190
|
+
* - created_by: User or system that created this execution
|
|
191
|
+
*
|
|
192
|
+
* Example:
|
|
193
|
+
* audit {
|
|
194
|
+
* created_at: "2025-01-11T14:30:22Z"
|
|
195
|
+
* updated_at: "2025-01-11T14:32:15Z"
|
|
196
|
+
* created_by: "usr-john-doe"
|
|
197
|
+
* }
|
|
198
|
+
*
|
|
199
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceAudit audit = 99;
|
|
200
|
+
*/
|
|
201
|
+
audit?: ApiResourceAudit;
|
|
202
|
+
/**
|
|
203
|
+
* Current execution lifecycle phase.
|
|
204
|
+
*
|
|
205
|
+
* Phases:
|
|
206
|
+
* - EXECUTION_PENDING: Execution created, waiting to start
|
|
207
|
+
* - EXECUTION_IN_PROGRESS: Actively executing tasks
|
|
208
|
+
* - EXECUTION_COMPLETED: Successfully completed all tasks
|
|
209
|
+
* - EXECUTION_FAILED: Failed during execution (see error field)
|
|
210
|
+
* - EXECUTION_CANCELLED: Cancelled by user or system
|
|
211
|
+
*
|
|
212
|
+
* Phase Transitions:
|
|
213
|
+
* PENDING → IN_PROGRESS → COMPLETED
|
|
214
|
+
* ↓ ↘ FAILED
|
|
215
|
+
* ↓ ↘ CANCELLED
|
|
216
|
+
*
|
|
217
|
+
* The phase is used for:
|
|
218
|
+
* - UI status indicators (progress bars, badges)
|
|
219
|
+
* - Filtering executions (show only failed, show only in-progress)
|
|
220
|
+
* - Alerting and notifications (notify on failure)
|
|
221
|
+
* - Retry logic (retry failed executions)
|
|
222
|
+
*
|
|
223
|
+
* Validation: Must be a defined enum value (no unspecified/unknown).
|
|
224
|
+
*
|
|
225
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.ExecutionPhase phase = 1;
|
|
226
|
+
*/
|
|
227
|
+
phase: ExecutionPhase;
|
|
228
|
+
/**
|
|
229
|
+
* Workflow tasks with their execution state (source of truth for progress).
|
|
230
|
+
*
|
|
231
|
+
* Tasks represent the atomic units of work within the workflow.
|
|
232
|
+
* Each task has:
|
|
233
|
+
* - task_id: Unique identifier within this execution
|
|
234
|
+
* - task_name: Human-readable name (e.g., "validate_email", "send_notification")
|
|
235
|
+
* - task_type: Type of task (agent_invocation, api_call, approval, etc.)
|
|
236
|
+
* - status: Current task status (PENDING, IN_PROGRESS, COMPLETED, FAILED, SKIPPED)
|
|
237
|
+
* - input: Task input parameters (JSON structure)
|
|
238
|
+
* - output: Task output results (JSON structure, only for COMPLETED tasks)
|
|
239
|
+
* - error: Error message (only for FAILED tasks)
|
|
240
|
+
* - started_at: When task started executing
|
|
241
|
+
* - completed_at: When task finished (COMPLETED/FAILED/SKIPPED)
|
|
242
|
+
*
|
|
243
|
+
* Tasks are populated as the workflow progresses through its task graph.
|
|
244
|
+
* The order in this list reflects the execution order (sequential or parallel).
|
|
245
|
+
*
|
|
246
|
+
* Progress Calculation:
|
|
247
|
+
* - Total tasks: tasks.length
|
|
248
|
+
* - Completed tasks: count(tasks where status in [COMPLETED, FAILED, SKIPPED])
|
|
249
|
+
* - Progress percentage: (completed_tasks / total_tasks) * 100
|
|
250
|
+
* - Current task: tasks.find(status == IN_PROGRESS)
|
|
251
|
+
*
|
|
252
|
+
* Use Cases:
|
|
253
|
+
* - Display task-level progress in UI (which tasks are done, which are running)
|
|
254
|
+
* - Calculate overall progress (no need to store total_tasks/completed_tasks)
|
|
255
|
+
* - Debug task failures (inspect task inputs, outputs, errors)
|
|
256
|
+
* - Retry individual failed tasks (if workflow supports partial retry)
|
|
257
|
+
* - Audit task execution for compliance
|
|
258
|
+
*
|
|
259
|
+
* Example:
|
|
260
|
+
* tasks: [
|
|
261
|
+
* {
|
|
262
|
+
* task_id: "task-1"
|
|
263
|
+
* task_name: "validate_email"
|
|
264
|
+
* task_type: WORKFLOW_TASK_API_CALL
|
|
265
|
+
* status: WORKFLOW_TASK_COMPLETED
|
|
266
|
+
* started_at: "2025-01-11T14:30:23Z"
|
|
267
|
+
* completed_at: "2025-01-11T14:30:23.450Z"
|
|
268
|
+
* output: { "valid": true, "domain": "example.com" }
|
|
269
|
+
* }
|
|
270
|
+
* {
|
|
271
|
+
* task_id: "task-2"
|
|
272
|
+
* task_name: "create_account"
|
|
273
|
+
* task_type: WORKFLOW_TASK_AGENT_INVOCATION
|
|
274
|
+
* status: WORKFLOW_TASK_IN_PROGRESS
|
|
275
|
+
* started_at: "2025-01-11T14:30:24Z"
|
|
276
|
+
* }
|
|
277
|
+
* ]
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: repeated ai.stigmer.agentic.workflowexecution.v1.WorkflowTask tasks = 2;
|
|
280
|
+
*/
|
|
281
|
+
tasks: WorkflowTask[];
|
|
282
|
+
/**
|
|
283
|
+
* Workflow output (JSON structure).
|
|
284
|
+
*
|
|
285
|
+
* Contains the final result or payload produced by the workflow.
|
|
286
|
+
* Only populated when phase == EXECUTION_COMPLETED.
|
|
287
|
+
*
|
|
288
|
+
* The output structure is workflow-specific and defined by the Workflow template.
|
|
289
|
+
* Common patterns:
|
|
290
|
+
* - API response data (e.g., created user ID, order confirmation)
|
|
291
|
+
* - Aggregated results from multiple tasks
|
|
292
|
+
* - Links to generated artifacts (reports, files)
|
|
293
|
+
* - Summary statistics (items processed, duration)
|
|
294
|
+
*
|
|
295
|
+
* Example (customer onboarding workflow):
|
|
296
|
+
* output: {
|
|
297
|
+
* "customer_id": "cus-abc123"
|
|
298
|
+
* "account_created": true
|
|
299
|
+
* "welcome_email_sent": true
|
|
300
|
+
* "trial_activated": true
|
|
301
|
+
* "trial_expires_at": "2025-02-10T14:30:22Z"
|
|
302
|
+
* }
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: google.protobuf.Struct output = 3;
|
|
305
|
+
*/
|
|
306
|
+
output?: JsonObject;
|
|
307
|
+
/**
|
|
308
|
+
* Error message if execution failed.
|
|
309
|
+
*
|
|
310
|
+
* Contains a human-readable description of what went wrong.
|
|
311
|
+
* Only populated when phase == EXECUTION_FAILED.
|
|
312
|
+
*
|
|
313
|
+
* Error message includes:
|
|
314
|
+
* - What failed (which task or workflow step)
|
|
315
|
+
* - Why it failed (validation error, API error, timeout, etc.)
|
|
316
|
+
* - How to fix it (if known)
|
|
317
|
+
*
|
|
318
|
+
* For detailed debugging, inspect tasks[].error for task-specific error messages.
|
|
319
|
+
*
|
|
320
|
+
* Example:
|
|
321
|
+
* error: "Task 'create_account' failed: API rate limit exceeded (429). Retry after 60 seconds."
|
|
322
|
+
*
|
|
323
|
+
* @generated from field: string error = 4;
|
|
324
|
+
*/
|
|
325
|
+
error: string;
|
|
326
|
+
/**
|
|
327
|
+
* ISO 8601 timestamp when execution started.
|
|
328
|
+
*
|
|
329
|
+
* Set when the workflow execution engine begins processing this execution.
|
|
330
|
+
* This is when phase transitions from PENDING to IN_PROGRESS.
|
|
331
|
+
*
|
|
332
|
+
* Format: "YYYY-MM-DDTHH:MM:SSZ" (UTC timezone)
|
|
333
|
+
* Example: "2025-01-11T14:30:22Z"
|
|
334
|
+
*
|
|
335
|
+
* Used for:
|
|
336
|
+
* - Calculating execution duration (completed_at - started_at)
|
|
337
|
+
* - Sorting executions by start time
|
|
338
|
+
* - Detecting stuck executions (started but not completed after X hours)
|
|
339
|
+
*
|
|
340
|
+
* @generated from field: string started_at = 5;
|
|
341
|
+
*/
|
|
342
|
+
startedAt: string;
|
|
343
|
+
/**
|
|
344
|
+
* ISO 8601 timestamp when execution completed, failed, or was cancelled.
|
|
345
|
+
*
|
|
346
|
+
* Set when the workflow reaches a terminal state:
|
|
347
|
+
* - EXECUTION_COMPLETED: Successfully finished
|
|
348
|
+
* - EXECUTION_FAILED: Failed during execution
|
|
349
|
+
* - EXECUTION_CANCELLED: Cancelled by user or system
|
|
350
|
+
*
|
|
351
|
+
* Not set for PENDING or IN_PROGRESS executions.
|
|
352
|
+
*
|
|
353
|
+
* Format: "YYYY-MM-DDTHH:MM:SSZ" (UTC timezone)
|
|
354
|
+
* Example: "2025-01-11T14:35:47Z"
|
|
355
|
+
*
|
|
356
|
+
* Used for:
|
|
357
|
+
* - Calculating execution duration (completed_at - started_at)
|
|
358
|
+
* - Retention policies (delete completed executions after 30 days)
|
|
359
|
+
* - SLA monitoring (alert if execution takes longer than expected)
|
|
360
|
+
*
|
|
361
|
+
* @generated from field: string completed_at = 6;
|
|
362
|
+
*/
|
|
363
|
+
completedAt: string;
|
|
364
|
+
/**
|
|
365
|
+
* Temporal workflow ID (if using Temporal as execution engine).
|
|
366
|
+
*
|
|
367
|
+
* This is the workflow ID in the Temporal workflow engine, used for:
|
|
368
|
+
* - Correlation between Stigmer and Temporal (for debugging)
|
|
369
|
+
* - Querying Temporal directly (for advanced troubleshooting)
|
|
370
|
+
* - Signaling or cancelling Temporal workflows
|
|
371
|
+
*
|
|
372
|
+
* Format: Typically "{workflow_instance_id}-{execution_id}" or a UUID
|
|
373
|
+
* Example: "wfi-prod-deploy-wfx-abc123xyz456" or "temporal-wf-uuid-12345"
|
|
374
|
+
*
|
|
375
|
+
* This field is optional and only relevant when Temporal is used as the execution engine.
|
|
376
|
+
* Other workflow engines (Step Functions, Argo, etc.) may use different correlation IDs.
|
|
377
|
+
*
|
|
378
|
+
* @generated from field: string temporal_workflow_id = 7;
|
|
379
|
+
*/
|
|
380
|
+
temporalWorkflowId: string;
|
|
381
|
+
/**
|
|
382
|
+
* Pending approvals from child agent tool executions (HITL Phase 5).
|
|
383
|
+
*
|
|
384
|
+
* Populated when workflow tasks invoke agents that enter
|
|
385
|
+
* EXECUTION_WAITING_FOR_APPROVAL phase. This surfaces all approval
|
|
386
|
+
* requests at the workflow level for UI visibility.
|
|
387
|
+
*
|
|
388
|
+
* ## When This Is Populated
|
|
389
|
+
*
|
|
390
|
+
* - At least one task has status WORKFLOW_TASK_WAITING_APPROVAL
|
|
391
|
+
* - One or more child AgentExecutions have phase EXECUTION_WAITING_FOR_APPROVAL
|
|
392
|
+
* - UI should display approval prompts to the user
|
|
393
|
+
* - User can submit approval via WorkflowExecution or AgentExecution API
|
|
394
|
+
*
|
|
395
|
+
* ## Lifecycle
|
|
396
|
+
*
|
|
397
|
+
* 1. Child agent enters WAITING_FOR_APPROVAL (tool(s) require approval)
|
|
398
|
+
* 2. Child signals parent workflow via Temporal "child_approval_required"
|
|
399
|
+
* 3. Workflow updates task status and populates this field with all entries
|
|
400
|
+
* 4. Each entry's child_agent_execution_id identifies the originating child
|
|
401
|
+
* 5. User submits approvals via WorkflowExecution.SubmitApproval or AgentExecution.SubmitApproval
|
|
402
|
+
* 6. Entries are cleared when the child agent completes
|
|
403
|
+
*
|
|
404
|
+
* ## Parallel Agents
|
|
405
|
+
*
|
|
406
|
+
* When multiple child agents run in parallel, entries from different children
|
|
407
|
+
* accumulate in this list. Each entry's child_agent_execution_id distinguishes
|
|
408
|
+
* the source.
|
|
409
|
+
*
|
|
410
|
+
* ## Type Reference
|
|
411
|
+
*
|
|
412
|
+
* Uses PendingApproval from agentexecution/v1/api.proto for consistency.
|
|
413
|
+
* Contains: tool_call_id, tool_name, message, args_preview, requested_at,
|
|
414
|
+
* child_agent_execution_id, interrupt_id.
|
|
415
|
+
*
|
|
416
|
+
* @since Phase 5.1 (Events-Based Approval Notification)
|
|
417
|
+
*
|
|
418
|
+
* @generated from field: repeated ai.stigmer.agentic.agentexecution.v1.PendingApproval pending_approvals = 9;
|
|
419
|
+
*/
|
|
420
|
+
pendingApprovals: PendingApproval[];
|
|
421
|
+
};
|
|
422
|
+
/**
|
|
423
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionStatus.
|
|
424
|
+
* Use `create(WorkflowExecutionStatusSchema)` to create a new message.
|
|
425
|
+
*/
|
|
426
|
+
export declare const WorkflowExecutionStatusSchema: GenMessage<WorkflowExecutionStatus>;
|
|
427
|
+
/**
|
|
428
|
+
* WorkflowTask represents a single task within a workflow execution.
|
|
429
|
+
*
|
|
430
|
+
* Tasks are the atomic units of work in a workflow. Each task:
|
|
431
|
+
* - Has a specific type (agent invocation, API call, approval, conditional, etc.)
|
|
432
|
+
* - Receives input parameters from the workflow context or previous tasks
|
|
433
|
+
* - Executes its specific logic (invoke an agent, call an API, wait for approval)
|
|
434
|
+
* - Produces output that can be used by subsequent tasks
|
|
435
|
+
* - Tracks its own execution state (pending, in-progress, completed, failed, skipped)
|
|
436
|
+
*
|
|
437
|
+
* Task Execution Flow:
|
|
438
|
+
* 1. Task is in PENDING state when workflow starts
|
|
439
|
+
* 2. When task dependencies are met, task_status changes to IN_PROGRESS
|
|
440
|
+
* 3. Task executes its logic (invoke agent, call API, etc.)
|
|
441
|
+
* 4. Task completes successfully (COMPLETED) or fails (FAILED) or is skipped (SKIPPED)
|
|
442
|
+
*
|
|
443
|
+
* Task Types and Examples:
|
|
444
|
+
* - WORKFLOW_TASK_AGENT_INVOCATION: Invoke an AI agent with a prompt
|
|
445
|
+
* - WORKFLOW_TASK_API_CALL: Call an external API (REST, GraphQL, gRPC)
|
|
446
|
+
* - WORKFLOW_TASK_APPROVAL: Wait for human approval before proceeding
|
|
447
|
+
* - WORKFLOW_TASK_CONDITIONAL: Evaluate a condition to decide next steps
|
|
448
|
+
* - WORKFLOW_TASK_PARALLEL: Execute multiple sub-tasks in parallel
|
|
449
|
+
* - WORKFLOW_TASK_TRANSFORM: Transform data between tasks (map, filter, aggregate)
|
|
450
|
+
*
|
|
451
|
+
* Use Cases:
|
|
452
|
+
* - Display task-level progress in UI (task list with checkmarks)
|
|
453
|
+
* - Debug workflow failures (which task failed, what was the input/output)
|
|
454
|
+
* - Retry individual tasks (if workflow engine supports partial retry)
|
|
455
|
+
* - Monitor task performance (which tasks take longest)
|
|
456
|
+
*
|
|
457
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowTask
|
|
458
|
+
*/
|
|
459
|
+
export type WorkflowTask = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowTask"> & {
|
|
460
|
+
/**
|
|
461
|
+
* Unique task identifier within this workflow execution.
|
|
462
|
+
*
|
|
463
|
+
* Format: Typically "task-{number}" or a descriptive slug
|
|
464
|
+
* Examples: "task-1", "task-validate-email", "task-send-notification"
|
|
465
|
+
*
|
|
466
|
+
* The task_id is unique within this WorkflowExecution but may repeat across
|
|
467
|
+
* different executions of the same WorkflowInstance (same task, different run).
|
|
468
|
+
*
|
|
469
|
+
* @generated from field: string task_id = 1;
|
|
470
|
+
*/
|
|
471
|
+
taskId: string;
|
|
472
|
+
/**
|
|
473
|
+
* Human-readable task name.
|
|
474
|
+
*
|
|
475
|
+
* Describes what this task does in plain language.
|
|
476
|
+
* Used in UI to show task progress and in logs for debugging.
|
|
477
|
+
*
|
|
478
|
+
* Examples:
|
|
479
|
+
* - "Validate customer email"
|
|
480
|
+
* - "Create Stripe account"
|
|
481
|
+
* - "Send welcome email"
|
|
482
|
+
* - "Wait for admin approval"
|
|
483
|
+
*
|
|
484
|
+
* Naming conventions:
|
|
485
|
+
* - Use verb phrases (validate, create, send, wait)
|
|
486
|
+
* - Be specific about what's being operated on
|
|
487
|
+
* - Keep it concise (under 50 characters)
|
|
488
|
+
*
|
|
489
|
+
* @generated from field: string task_name = 2;
|
|
490
|
+
*/
|
|
491
|
+
taskName: string;
|
|
492
|
+
/**
|
|
493
|
+
* Type of task (agent invocation, API call, approval, etc.).
|
|
494
|
+
*
|
|
495
|
+
* Determines how the task is executed by the workflow engine:
|
|
496
|
+
* - WORKFLOW_TASK_AGENT_INVOCATION: Calls an AI agent with a prompt, waits for response
|
|
497
|
+
* - WORKFLOW_TASK_API_CALL: Makes HTTP/gRPC API call to external service
|
|
498
|
+
* - WORKFLOW_TASK_APPROVAL: Pauses workflow, waits for human approval
|
|
499
|
+
* - WORKFLOW_TASK_CONDITIONAL: Evaluates condition, branches to different paths
|
|
500
|
+
* - WORKFLOW_TASK_PARALLEL: Executes multiple sub-tasks concurrently
|
|
501
|
+
* - WORKFLOW_TASK_TRANSFORM: Transforms data using expressions or scripts
|
|
502
|
+
* - WORKFLOW_TASK_CUSTOM: Custom task logic defined by plugins
|
|
503
|
+
*
|
|
504
|
+
* The task_type influences:
|
|
505
|
+
* - How task.input is structured (different types expect different input schemas)
|
|
506
|
+
* - How task.output is produced (different types produce different outputs)
|
|
507
|
+
* - How errors are handled (retry policies, timeout behaviors)
|
|
508
|
+
*
|
|
509
|
+
* Validation: Must be a defined enum value (no unspecified).
|
|
510
|
+
*
|
|
511
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.WorkflowTaskType task_type = 3;
|
|
512
|
+
*/
|
|
513
|
+
taskType: WorkflowTaskType;
|
|
514
|
+
/**
|
|
515
|
+
* Task input parameters (JSON structure).
|
|
516
|
+
*
|
|
517
|
+
* Contains the configuration and data needed for this task to execute.
|
|
518
|
+
* The structure varies by task_type.
|
|
519
|
+
*
|
|
520
|
+
* Examples by task type:
|
|
521
|
+
*
|
|
522
|
+
* WORKFLOW_TASK_AGENT_INVOCATION:
|
|
523
|
+
* input: {
|
|
524
|
+
* "agent_instance_id": "agi-customer-support"
|
|
525
|
+
* "prompt": "Analyze customer feedback: {{workflow.input.feedback}}"
|
|
526
|
+
* "max_tokens": 500
|
|
527
|
+
* }
|
|
528
|
+
*
|
|
529
|
+
* WORKFLOW_TASK_API_CALL:
|
|
530
|
+
* input: {
|
|
531
|
+
* "method": "POST"
|
|
532
|
+
* "url": "https://api.stripe.com/v1/customers"
|
|
533
|
+
* "headers": { "Authorization": "Bearer {{env.STRIPE_API_KEY}}" }
|
|
534
|
+
* "body": { "email": "{{workflow.input.email}}" }
|
|
535
|
+
* }
|
|
536
|
+
*
|
|
537
|
+
* WORKFLOW_TASK_APPROVAL:
|
|
538
|
+
* input: {
|
|
539
|
+
* "approvers": ["usr-admin-1", "usr-admin-2"]
|
|
540
|
+
* "message": "Approve account creation for {{workflow.input.email}}?"
|
|
541
|
+
* "timeout_hours": 24
|
|
542
|
+
* }
|
|
543
|
+
*
|
|
544
|
+
* Input can reference:
|
|
545
|
+
* - Workflow inputs: {{workflow.input.field_name}}
|
|
546
|
+
* - Previous task outputs: {{tasks.task-1.output.field_name}}
|
|
547
|
+
* - Environment variables: {{env.VARIABLE_NAME}}
|
|
548
|
+
*
|
|
549
|
+
* @generated from field: google.protobuf.Struct input = 4;
|
|
550
|
+
*/
|
|
551
|
+
input?: JsonObject;
|
|
552
|
+
/**
|
|
553
|
+
* Task output results (JSON structure).
|
|
554
|
+
*
|
|
555
|
+
* Contains the data produced by this task after successful execution.
|
|
556
|
+
* Only populated when status == WORKFLOW_TASK_COMPLETED.
|
|
557
|
+
*
|
|
558
|
+
* Output can be referenced by subsequent tasks using: {{tasks.this-task-id.output.field_name}}
|
|
559
|
+
*
|
|
560
|
+
* Examples by task type:
|
|
561
|
+
*
|
|
562
|
+
* WORKFLOW_TASK_AGENT_INVOCATION:
|
|
563
|
+
* output: {
|
|
564
|
+
* "agent_execution_id": "agx-abc123"
|
|
565
|
+
* "response": "The customer feedback is positive overall..."
|
|
566
|
+
* "sentiment": "positive"
|
|
567
|
+
* "confidence": 0.92
|
|
568
|
+
* }
|
|
569
|
+
*
|
|
570
|
+
* WORKFLOW_TASK_API_CALL:
|
|
571
|
+
* output: {
|
|
572
|
+
* "status_code": 200
|
|
573
|
+
* "body": {
|
|
574
|
+
* "id": "cus_abc123"
|
|
575
|
+
* "email": "customer@example.com"
|
|
576
|
+
* "created": 1704988800
|
|
577
|
+
* }
|
|
578
|
+
* }
|
|
579
|
+
*
|
|
580
|
+
* WORKFLOW_TASK_APPROVAL:
|
|
581
|
+
* output: {
|
|
582
|
+
* "approved": true
|
|
583
|
+
* "approved_by": "usr-admin-1"
|
|
584
|
+
* "approved_at": "2025-01-11T15:22:33Z"
|
|
585
|
+
* "comment": "Looks good, approved"
|
|
586
|
+
* }
|
|
587
|
+
*
|
|
588
|
+
* @generated from field: google.protobuf.Struct output = 5;
|
|
589
|
+
*/
|
|
590
|
+
output?: JsonObject;
|
|
591
|
+
/**
|
|
592
|
+
* Current task execution status.
|
|
593
|
+
*
|
|
594
|
+
* Statuses:
|
|
595
|
+
* - WORKFLOW_TASK_PENDING: Task not yet started (waiting for dependencies)
|
|
596
|
+
* - WORKFLOW_TASK_IN_PROGRESS: Task is currently executing
|
|
597
|
+
* - WORKFLOW_TASK_COMPLETED: Task finished successfully
|
|
598
|
+
* - WORKFLOW_TASK_FAILED: Task failed during execution (see error field)
|
|
599
|
+
* - WORKFLOW_TASK_SKIPPED: Task was skipped (conditional logic, early exit)
|
|
600
|
+
*
|
|
601
|
+
* Status Transitions:
|
|
602
|
+
* PENDING → IN_PROGRESS → COMPLETED
|
|
603
|
+
* ↓ ↘ FAILED
|
|
604
|
+
* ↓ ↘ SKIPPED (if conditional)
|
|
605
|
+
*
|
|
606
|
+
* Validation: Must be a defined enum value (no unspecified).
|
|
607
|
+
*
|
|
608
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.WorkflowTaskStatus status = 6;
|
|
609
|
+
*/
|
|
610
|
+
status: WorkflowTaskStatus;
|
|
611
|
+
/**
|
|
612
|
+
* ISO 8601 timestamp when task started executing.
|
|
613
|
+
*
|
|
614
|
+
* Set when task status changes from PENDING to IN_PROGRESS.
|
|
615
|
+
*
|
|
616
|
+
* Format: "YYYY-MM-DDTHH:MM:SSZ" (UTC timezone)
|
|
617
|
+
* Example: "2025-01-11T14:30:23Z"
|
|
618
|
+
*
|
|
619
|
+
* Used for:
|
|
620
|
+
* - Calculating task duration (completed_at - started_at)
|
|
621
|
+
* - Detecting stuck tasks (started but not completed after X minutes)
|
|
622
|
+
* - Performance analysis (which tasks are slow)
|
|
623
|
+
*
|
|
624
|
+
* @generated from field: string started_at = 7;
|
|
625
|
+
*/
|
|
626
|
+
startedAt: string;
|
|
627
|
+
/**
|
|
628
|
+
* ISO 8601 timestamp when task completed, failed, or was skipped.
|
|
629
|
+
*
|
|
630
|
+
* Set when task reaches a terminal state:
|
|
631
|
+
* - WORKFLOW_TASK_COMPLETED: Successfully finished
|
|
632
|
+
* - WORKFLOW_TASK_FAILED: Failed during execution
|
|
633
|
+
* - WORKFLOW_TASK_SKIPPED: Skipped by conditional logic
|
|
634
|
+
*
|
|
635
|
+
* Not set for PENDING or IN_PROGRESS tasks.
|
|
636
|
+
*
|
|
637
|
+
* Format: "YYYY-MM-DDTHH:MM:SSZ" (UTC timezone)
|
|
638
|
+
* Example: "2025-01-11T14:30:27.450Z"
|
|
639
|
+
*
|
|
640
|
+
* Used for:
|
|
641
|
+
* - Calculating task duration (completed_at - started_at)
|
|
642
|
+
* - SLA monitoring (alert if task takes longer than expected)
|
|
643
|
+
* - Performance benchmarking (average task duration over time)
|
|
644
|
+
*
|
|
645
|
+
* @generated from field: string completed_at = 8;
|
|
646
|
+
*/
|
|
647
|
+
completedAt: string;
|
|
648
|
+
/**
|
|
649
|
+
* Error message if task failed.
|
|
650
|
+
*
|
|
651
|
+
* Contains a human-readable description of why the task failed.
|
|
652
|
+
* Only populated when status == WORKFLOW_TASK_FAILED.
|
|
653
|
+
*
|
|
654
|
+
* Error message includes:
|
|
655
|
+
* - What operation failed (API call, agent invocation, etc.)
|
|
656
|
+
* - Error type (validation error, network error, timeout, etc.)
|
|
657
|
+
* - Error details (status code, exception message, stacktrace)
|
|
658
|
+
* - How to fix it (if known)
|
|
659
|
+
*
|
|
660
|
+
* Examples:
|
|
661
|
+
* - "API call failed: 429 Too Many Requests. Retry after 60 seconds."
|
|
662
|
+
* - "Agent invocation failed: Agent execution timeout after 300 seconds."
|
|
663
|
+
* - "Approval task failed: Timeout after 24 hours with no approval."
|
|
664
|
+
*
|
|
665
|
+
* For detailed debugging, also check:
|
|
666
|
+
* - task.input (what parameters were used)
|
|
667
|
+
* - task.metadata (retry count, execution context)
|
|
668
|
+
*
|
|
669
|
+
* @generated from field: string error = 9;
|
|
670
|
+
*/
|
|
671
|
+
error: string;
|
|
672
|
+
/**
|
|
673
|
+
* Task metadata (arbitrary JSON data).
|
|
674
|
+
*
|
|
675
|
+
* Contains task-specific information that doesn't fit in other fields.
|
|
676
|
+
* Used for:
|
|
677
|
+
* - Retry count (how many times this task was retried)
|
|
678
|
+
* - Agent execution ID (for WORKFLOW_TASK_AGENT_INVOCATION)
|
|
679
|
+
* - API response headers (for WORKFLOW_TASK_API_CALL)
|
|
680
|
+
* - Approval history (who approved, when, comments)
|
|
681
|
+
* - Performance metrics (execution time, memory usage)
|
|
682
|
+
*
|
|
683
|
+
* Examples:
|
|
684
|
+
*
|
|
685
|
+
* Agent invocation task:
|
|
686
|
+
* metadata: {
|
|
687
|
+
* "agent_execution_id": "agx-abc123"
|
|
688
|
+
* "retry_count": 0
|
|
689
|
+
* "tokens_used": 450
|
|
690
|
+
* }
|
|
691
|
+
*
|
|
692
|
+
* API call task:
|
|
693
|
+
* metadata: {
|
|
694
|
+
* "retry_count": 2
|
|
695
|
+
* "response_headers": {
|
|
696
|
+
* "x-ratelimit-remaining": "98"
|
|
697
|
+
* "x-request-id": "req-xyz789"
|
|
698
|
+
* }
|
|
699
|
+
* }
|
|
700
|
+
*
|
|
701
|
+
* Approval task:
|
|
702
|
+
* metadata: {
|
|
703
|
+
* "approval_history": [
|
|
704
|
+
* { "user": "usr-admin-1", "action": "approved", "timestamp": "2025-01-11T15:22:33Z" }
|
|
705
|
+
* ]
|
|
706
|
+
* }
|
|
707
|
+
*
|
|
708
|
+
* @generated from field: google.protobuf.Struct metadata = 10;
|
|
709
|
+
*/
|
|
710
|
+
metadata?: JsonObject;
|
|
711
|
+
};
|
|
712
|
+
/**
|
|
713
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowTask.
|
|
714
|
+
* Use `create(WorkflowTaskSchema)` to create a new message.
|
|
715
|
+
*/
|
|
716
|
+
export declare const WorkflowTaskSchema: GenMessage<WorkflowTask>;
|