@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,1198 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ApprovalAction } from "../../agentexecution/v1/enum_pb";
|
|
3
|
+
import type { WorkflowExecution, WorkflowExecutionStatus, WorkflowTask } from "./api_pb";
|
|
4
|
+
import type { ExecutionPhase } from "./enum_pb";
|
|
5
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file ai/stigmer/agentic/workflowexecution/v1/io.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_ai_stigmer_agentic_workflowexecution_v1_io: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* WorkflowExecutionId wraps a workflow execution identifier.
|
|
12
|
+
*
|
|
13
|
+
* This wrapper message is used as input for RPCs that need an execution ID.
|
|
14
|
+
* Using a wrapper (instead of a raw string) provides:
|
|
15
|
+
* - Validation (required field enforcement)
|
|
16
|
+
* - Clear field naming ("value" instead of unnamed parameter)
|
|
17
|
+
* - Extensibility (can add fields later without breaking API)
|
|
18
|
+
*
|
|
19
|
+
* Format: "wfx-{unique-suffix}"
|
|
20
|
+
* Example: "wfx-abc123xyz456"
|
|
21
|
+
*
|
|
22
|
+
* Used By:
|
|
23
|
+
* - get(WorkflowExecutionId): Get a single execution by ID
|
|
24
|
+
* - delete(WorkflowExecutionId): Delete an execution (if implemented)
|
|
25
|
+
*
|
|
26
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionId
|
|
27
|
+
*/
|
|
28
|
+
export type WorkflowExecutionId = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionId"> & {
|
|
29
|
+
/**
|
|
30
|
+
* Workflow execution identifier.
|
|
31
|
+
*
|
|
32
|
+
* Format: "wfx-{unique-suffix}" (auto-generated by backend)
|
|
33
|
+
* Example: "wfx-abc123xyz456"
|
|
34
|
+
*
|
|
35
|
+
* Validation: Required field, cannot be empty
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: string value = 1;
|
|
38
|
+
*/
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionId.
|
|
43
|
+
* Use `create(WorkflowExecutionIdSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export declare const WorkflowExecutionIdSchema: GenMessage<WorkflowExecutionId>;
|
|
46
|
+
/**
|
|
47
|
+
* WorkflowId wraps a workflow or workflow instance identifier for filtering.
|
|
48
|
+
*
|
|
49
|
+
* This wrapper is used to filter executions by a specific Workflow or WorkflowInstance.
|
|
50
|
+
* It can accept either:
|
|
51
|
+
* - Workflow ID (wf-{slug}): Lists all executions of any instance of this workflow
|
|
52
|
+
* - WorkflowInstance ID (wfi-{slug}): Lists executions of a specific instance
|
|
53
|
+
*
|
|
54
|
+
* Format Examples:
|
|
55
|
+
* - Workflow ID: "wf-customer-onboarding"
|
|
56
|
+
* - WorkflowInstance ID: "wfi-customer-onboarding-prod"
|
|
57
|
+
*
|
|
58
|
+
* Used By:
|
|
59
|
+
* - list_by_workflow(ListWorkflowExecutionsByWorkflowRequest): Filter executions by workflow
|
|
60
|
+
*
|
|
61
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowId
|
|
62
|
+
*/
|
|
63
|
+
export type WorkflowId = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowId"> & {
|
|
64
|
+
/**
|
|
65
|
+
* Workflow or WorkflowInstance identifier.
|
|
66
|
+
*
|
|
67
|
+
* Can be either:
|
|
68
|
+
* - Workflow ID (wf-{slug}): Filter by workflow template
|
|
69
|
+
* - WorkflowInstance ID (wfi-{slug}): Filter by specific instance
|
|
70
|
+
*
|
|
71
|
+
* Examples:
|
|
72
|
+
* - "wf-customer-onboarding" (all instances of this workflow)
|
|
73
|
+
* - "wfi-customer-onboarding-prod" (specific instance)
|
|
74
|
+
*
|
|
75
|
+
* Validation: Required field, cannot be empty
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: string value = 1;
|
|
78
|
+
*/
|
|
79
|
+
value: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowId.
|
|
83
|
+
* Use `create(WorkflowIdSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export declare const WorkflowIdSchema: GenMessage<WorkflowId>;
|
|
86
|
+
/**
|
|
87
|
+
* WorkflowExecutionList contains a paginated list of workflow executions.
|
|
88
|
+
*
|
|
89
|
+
* This message is returned by list operations (list, list_by_workflow).
|
|
90
|
+
* It includes pagination metadata to help clients navigate through large result sets.
|
|
91
|
+
*
|
|
92
|
+
* Pagination Pattern:
|
|
93
|
+
* 1. Client sends request with page_size (e.g., 50)
|
|
94
|
+
* 2. Server returns up to page_size entries + total_pages count
|
|
95
|
+
* 3. Client displays entries and "Page 1 of N" indicator
|
|
96
|
+
* 4. Client can request next page using page_token from response
|
|
97
|
+
*
|
|
98
|
+
* Example Usage:
|
|
99
|
+
* Response for page 1:
|
|
100
|
+
* {
|
|
101
|
+
* "total_pages": 10,
|
|
102
|
+
* "entries": [ execution1, execution2, ... execution50 ]
|
|
103
|
+
* }
|
|
104
|
+
*
|
|
105
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionList
|
|
106
|
+
*/
|
|
107
|
+
export type WorkflowExecutionList = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionList"> & {
|
|
108
|
+
/**
|
|
109
|
+
* Total number of pages available for this query.
|
|
110
|
+
*
|
|
111
|
+
* Calculated as: ceil(total_matching_executions / page_size)
|
|
112
|
+
*
|
|
113
|
+
* Example: If 237 executions match and page_size=50, total_pages=5
|
|
114
|
+
*
|
|
115
|
+
* Use Cases:
|
|
116
|
+
* - Display pagination UI ("Page 1 of 5")
|
|
117
|
+
* - Disable "Next" button when on last page
|
|
118
|
+
* - Show total result count (total_pages * page_size approximation)
|
|
119
|
+
*
|
|
120
|
+
* Note: total_pages may change between requests if new executions are created
|
|
121
|
+
* or deleted, or if filters change.
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: int32 total_pages = 1;
|
|
124
|
+
*/
|
|
125
|
+
totalPages: number;
|
|
126
|
+
/**
|
|
127
|
+
* Workflow executions in the current page.
|
|
128
|
+
*
|
|
129
|
+
* Contains up to page_size WorkflowExecution resources.
|
|
130
|
+
* May contain fewer than page_size if:
|
|
131
|
+
* - This is the last page (fewer remaining results)
|
|
132
|
+
* - Fewer results match the filter criteria
|
|
133
|
+
*
|
|
134
|
+
* Executions are sorted by created_at descending (newest first).
|
|
135
|
+
*
|
|
136
|
+
* Example:
|
|
137
|
+
* entries: [
|
|
138
|
+
* { metadata: { id: "wfx-newest", created_at: "2025-01-11T14:30:22Z" }, ... },
|
|
139
|
+
* { metadata: { id: "wfx-second", created_at: "2025-01-11T10:15:00Z" }, ... },
|
|
140
|
+
* { metadata: { id: "wfx-third", created_at: "2025-01-10T22:05:33Z" }, ... }
|
|
141
|
+
* ]
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: repeated ai.stigmer.agentic.workflowexecution.v1.WorkflowExecution entries = 2;
|
|
144
|
+
*/
|
|
145
|
+
entries: WorkflowExecution[];
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionList.
|
|
149
|
+
* Use `create(WorkflowExecutionListSchema)` to create a new message.
|
|
150
|
+
*/
|
|
151
|
+
export declare const WorkflowExecutionListSchema: GenMessage<WorkflowExecutionList>;
|
|
152
|
+
/**
|
|
153
|
+
* ListWorkflowExecutionsRequest specifies parameters for listing workflow executions.
|
|
154
|
+
*
|
|
155
|
+
* Supports pagination and filtering to help users find specific executions.
|
|
156
|
+
* Used by the list() RPC to retrieve executions across all workflows.
|
|
157
|
+
*
|
|
158
|
+
* Common Use Cases:
|
|
159
|
+
* - List all recent executions (no filters)
|
|
160
|
+
* - List all in-progress executions (phase filter)
|
|
161
|
+
* - List all failed executions (phase filter)
|
|
162
|
+
* - List executions for specific environment (tags filter)
|
|
163
|
+
* - Page through execution history (pagination)
|
|
164
|
+
*
|
|
165
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.ListWorkflowExecutionsRequest
|
|
166
|
+
*/
|
|
167
|
+
export type ListWorkflowExecutionsRequest = Message<"ai.stigmer.agentic.workflowexecution.v1.ListWorkflowExecutionsRequest"> & {
|
|
168
|
+
/**
|
|
169
|
+
* Maximum number of executions to return per page.
|
|
170
|
+
*
|
|
171
|
+
* Default: 50 (if not specified or 0)
|
|
172
|
+
* Maximum: 100 (backend enforces this limit)
|
|
173
|
+
*
|
|
174
|
+
* Recommendation: Use 20-50 for UI lists, 100 for bulk exports
|
|
175
|
+
*
|
|
176
|
+
* Example: page_size=20 returns up to 20 executions
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: int32 page_size = 1;
|
|
179
|
+
*/
|
|
180
|
+
pageSize: number;
|
|
181
|
+
/**
|
|
182
|
+
* Token for pagination, obtained from previous response.
|
|
183
|
+
*
|
|
184
|
+
* Opaque string generated by the server to represent a cursor in the result set.
|
|
185
|
+
*
|
|
186
|
+
* Pagination Flow:
|
|
187
|
+
* 1. Initial request: page_token is empty (or not set)
|
|
188
|
+
* 2. Server returns first page + page_token for next page
|
|
189
|
+
* 3. Subsequent request: include page_token from previous response
|
|
190
|
+
* 4. Server returns next page + new page_token
|
|
191
|
+
* 5. When page_token is empty in response, no more pages available
|
|
192
|
+
*
|
|
193
|
+
* Example:
|
|
194
|
+
* Request 1: { page_size: 50 }
|
|
195
|
+
* Response 1: { entries: [...], page_token: "eyJvZmZzZXQiOjUwfQ==" }
|
|
196
|
+
* Request 2: { page_size: 50, page_token: "eyJvZmZzZXQiOjUwfQ==" }
|
|
197
|
+
* Response 2: { entries: [...], page_token: "" } // Last page
|
|
198
|
+
*
|
|
199
|
+
* Note: page_token is opaque - clients should not parse or modify it.
|
|
200
|
+
*
|
|
201
|
+
* @generated from field: string page_token = 2;
|
|
202
|
+
*/
|
|
203
|
+
pageToken: string;
|
|
204
|
+
/**
|
|
205
|
+
* Filter by execution phase (optional).
|
|
206
|
+
*
|
|
207
|
+
* Limits results to executions in a specific phase.
|
|
208
|
+
* If not specified (or EXECUTION_PHASE_UNSPECIFIED), all phases are included.
|
|
209
|
+
*
|
|
210
|
+
* Common Filters:
|
|
211
|
+
* - EXECUTION_IN_PROGRESS: Show only running executions
|
|
212
|
+
* - EXECUTION_FAILED: Show only failed executions (for debugging)
|
|
213
|
+
* - EXECUTION_COMPLETED: Show only successful executions
|
|
214
|
+
*
|
|
215
|
+
* Example Use Cases:
|
|
216
|
+
* - Monitor dashboard: phase=EXECUTION_IN_PROGRESS
|
|
217
|
+
* - Debug dashboard: phase=EXECUTION_FAILED
|
|
218
|
+
* - Success audit: phase=EXECUTION_COMPLETED
|
|
219
|
+
*
|
|
220
|
+
* Example: phase=2 (EXECUTION_IN_PROGRESS)
|
|
221
|
+
*
|
|
222
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.ExecutionPhase phase = 3;
|
|
223
|
+
*/
|
|
224
|
+
phase: ExecutionPhase;
|
|
225
|
+
/**
|
|
226
|
+
* Filter by resource tags (optional).
|
|
227
|
+
*
|
|
228
|
+
* Limits results to executions that have ALL specified tags (AND logic).
|
|
229
|
+
* Tags are key-value pairs stored in metadata.tags.
|
|
230
|
+
*
|
|
231
|
+
* Tag Format: "key:value" or "key" (for boolean tags)
|
|
232
|
+
* Example tags:
|
|
233
|
+
* - "environment:production"
|
|
234
|
+
* - "team:backend"
|
|
235
|
+
* - "critical"
|
|
236
|
+
* - "region:us-west-2"
|
|
237
|
+
*
|
|
238
|
+
* Filtering Logic:
|
|
239
|
+
* If tags=["environment:production", "team:backend"], result must have BOTH tags.
|
|
240
|
+
*
|
|
241
|
+
* Example Use Cases:
|
|
242
|
+
* - List production executions: tags=["environment:production"]
|
|
243
|
+
* - List backend team's critical executions: tags=["team:backend", "critical"]
|
|
244
|
+
* - List executions in specific region: tags=["region:us-west-2"]
|
|
245
|
+
*
|
|
246
|
+
* Example:
|
|
247
|
+
* tags: ["environment:production", "critical"]
|
|
248
|
+
*
|
|
249
|
+
* @generated from field: repeated string tags = 4;
|
|
250
|
+
*/
|
|
251
|
+
tags: string[];
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.ListWorkflowExecutionsRequest.
|
|
255
|
+
* Use `create(ListWorkflowExecutionsRequestSchema)` to create a new message.
|
|
256
|
+
*/
|
|
257
|
+
export declare const ListWorkflowExecutionsRequestSchema: GenMessage<ListWorkflowExecutionsRequest>;
|
|
258
|
+
/**
|
|
259
|
+
* ListWorkflowExecutionsByWorkflowRequest lists all executions for a specific workflow.
|
|
260
|
+
*
|
|
261
|
+
* Filters executions by Workflow or WorkflowInstance ID.
|
|
262
|
+
* Used to view execution history for a particular workflow.
|
|
263
|
+
*
|
|
264
|
+
* Difference from ListWorkflowExecutionsRequest:
|
|
265
|
+
* - ListWorkflowExecutionsRequest: Lists executions across ALL workflows (with optional filters)
|
|
266
|
+
* - ListWorkflowExecutionsByWorkflowRequest: Lists executions for ONE specific workflow
|
|
267
|
+
*
|
|
268
|
+
* Use Cases:
|
|
269
|
+
* - Workflow details page: Show execution history for this workflow
|
|
270
|
+
* - Workflow testing: View all test runs of this workflow
|
|
271
|
+
* - Performance analysis: Analyze execution patterns for this workflow
|
|
272
|
+
*
|
|
273
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.ListWorkflowExecutionsByWorkflowRequest
|
|
274
|
+
*/
|
|
275
|
+
export type ListWorkflowExecutionsByWorkflowRequest = Message<"ai.stigmer.agentic.workflowexecution.v1.ListWorkflowExecutionsByWorkflowRequest"> & {
|
|
276
|
+
/**
|
|
277
|
+
* Workflow or WorkflowInstance ID to filter by.
|
|
278
|
+
*
|
|
279
|
+
* Can be either:
|
|
280
|
+
* - Workflow ID (wf-{slug}): Lists all executions of any instance
|
|
281
|
+
* - WorkflowInstance ID (wfi-{slug}): Lists executions of specific instance
|
|
282
|
+
*
|
|
283
|
+
* Examples:
|
|
284
|
+
* - "wf-customer-onboarding" (all instances: prod, dev, staging)
|
|
285
|
+
* - "wfi-customer-onboarding-prod" (only prod instance)
|
|
286
|
+
*
|
|
287
|
+
* Validation: Required field, cannot be empty
|
|
288
|
+
*
|
|
289
|
+
* Error Cases:
|
|
290
|
+
* - NOT_FOUND: No Workflow/WorkflowInstance with this ID exists
|
|
291
|
+
* - PERMISSION_DENIED: User doesn't have access to this Workflow/WorkflowInstance
|
|
292
|
+
*
|
|
293
|
+
* @generated from field: string workflow_id = 1;
|
|
294
|
+
*/
|
|
295
|
+
workflowId: string;
|
|
296
|
+
/**
|
|
297
|
+
* Maximum number of executions to return per page.
|
|
298
|
+
*
|
|
299
|
+
* Default: 50 (if not specified or 0)
|
|
300
|
+
* Maximum: 100 (backend enforces this limit)
|
|
301
|
+
*
|
|
302
|
+
* Example: page_size=20 returns up to 20 executions
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: int32 page_size = 2;
|
|
305
|
+
*/
|
|
306
|
+
pageSize: number;
|
|
307
|
+
/**
|
|
308
|
+
* Token for pagination, obtained from previous response.
|
|
309
|
+
*
|
|
310
|
+
* Same pagination semantics as ListWorkflowExecutionsRequest.page_token.
|
|
311
|
+
*
|
|
312
|
+
* Example:
|
|
313
|
+
* Request 1: { workflow_id: "wfi-prod", page_size: 50 }
|
|
314
|
+
* Response 1: { entries: [...], page_token: "abc123" }
|
|
315
|
+
* Request 2: { workflow_id: "wfi-prod", page_size: 50, page_token: "abc123" }
|
|
316
|
+
*
|
|
317
|
+
* @generated from field: string page_token = 3;
|
|
318
|
+
*/
|
|
319
|
+
pageToken: string;
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.ListWorkflowExecutionsByWorkflowRequest.
|
|
323
|
+
* Use `create(ListWorkflowExecutionsByWorkflowRequestSchema)` to create a new message.
|
|
324
|
+
*/
|
|
325
|
+
export declare const ListWorkflowExecutionsByWorkflowRequestSchema: GenMessage<ListWorkflowExecutionsByWorkflowRequest>;
|
|
326
|
+
/**
|
|
327
|
+
* Input message for updateStatus RPC.
|
|
328
|
+
* Contains only the execution ID and the status fields to be updated.
|
|
329
|
+
* This avoids validation errors on incomplete metadata/spec fields and makes the API contract clearer.
|
|
330
|
+
*
|
|
331
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionUpdateStatusInput
|
|
332
|
+
*/
|
|
333
|
+
export type WorkflowExecutionUpdateStatusInput = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionUpdateStatusInput"> & {
|
|
334
|
+
/**
|
|
335
|
+
* ID of the workflow execution to update (required).
|
|
336
|
+
* Format: "wex_abc123xyz456"
|
|
337
|
+
*
|
|
338
|
+
* @generated from field: string execution_id = 1;
|
|
339
|
+
*/
|
|
340
|
+
executionId: string;
|
|
341
|
+
/**
|
|
342
|
+
* Status fields to update.
|
|
343
|
+
* The handler will merge these status fields with the existing execution's status.
|
|
344
|
+
* Only the fields present in this status object will be updated.
|
|
345
|
+
*
|
|
346
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionStatus status = 2;
|
|
347
|
+
*/
|
|
348
|
+
status?: WorkflowExecutionStatus;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionUpdateStatusInput.
|
|
352
|
+
* Use `create(WorkflowExecutionUpdateStatusInputSchema)` to create a new message.
|
|
353
|
+
*/
|
|
354
|
+
export declare const WorkflowExecutionUpdateStatusInputSchema: GenMessage<WorkflowExecutionUpdateStatusInput>;
|
|
355
|
+
/**
|
|
356
|
+
* Input message for submitApproval RPC (HITL Phase 5.3).
|
|
357
|
+
*
|
|
358
|
+
* Forwards an approval decision to a child AgentExecution that is waiting for
|
|
359
|
+
* approval. The child execution ID is resolved from status.pending_approval.child_agent_execution_id.
|
|
360
|
+
*
|
|
361
|
+
* ## Usage
|
|
362
|
+
*
|
|
363
|
+
* When a workflow task invokes an agent that requires tool approval, the approval
|
|
364
|
+
* request surfaces at the workflow level via WorkflowExecution.status.pending_approval.
|
|
365
|
+
* This message captures the user's decision to forward to the child agent.
|
|
366
|
+
*
|
|
367
|
+
* ## Example
|
|
368
|
+
*
|
|
369
|
+
* {
|
|
370
|
+
* "execution_id": "wfx_abc123xyz456",
|
|
371
|
+
* "tool_call_id": "call_tool789",
|
|
372
|
+
* "action": "APPROVAL_ACTION_APPROVE",
|
|
373
|
+
* "comment": "Verified safe to execute"
|
|
374
|
+
* }
|
|
375
|
+
*
|
|
376
|
+
* ## Validation
|
|
377
|
+
*
|
|
378
|
+
* - execution_id: Required, must reference an existing WorkflowExecution
|
|
379
|
+
* - tool_call_id: Required, must match status.pending_approval.tool_call_id
|
|
380
|
+
* - action: Required, must be APPROVE, SKIP, or REJECT (not UNSPECIFIED)
|
|
381
|
+
* - comment: Optional, stored in audit trail
|
|
382
|
+
*
|
|
383
|
+
* @since Phase 5.3 (Approval Forwarding)
|
|
384
|
+
*
|
|
385
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.SubmitWorkflowApprovalInput
|
|
386
|
+
*/
|
|
387
|
+
export type SubmitWorkflowApprovalInput = Message<"ai.stigmer.agentic.workflowexecution.v1.SubmitWorkflowApprovalInput"> & {
|
|
388
|
+
/**
|
|
389
|
+
* ID of the workflow execution.
|
|
390
|
+
* Format: "wfx_abc123xyz456"
|
|
391
|
+
*
|
|
392
|
+
* @generated from field: string execution_id = 1;
|
|
393
|
+
*/
|
|
394
|
+
executionId: string;
|
|
395
|
+
/**
|
|
396
|
+
* ID of the tool call to approve/skip/reject.
|
|
397
|
+
* Must match status.pending_approval.tool_call_id exactly.
|
|
398
|
+
* Format: Tool call ID from agent runtime (e.g., "call_abc123")
|
|
399
|
+
*
|
|
400
|
+
* @generated from field: string tool_call_id = 2;
|
|
401
|
+
*/
|
|
402
|
+
toolCallId: string;
|
|
403
|
+
/**
|
|
404
|
+
* User's decision: APPROVE, SKIP, or REJECT.
|
|
405
|
+
* APPROVAL_ACTION_UNSPECIFIED (0) is rejected by validation.
|
|
406
|
+
*
|
|
407
|
+
* Actions:
|
|
408
|
+
* - APPROVE: Tool executes with the provided arguments
|
|
409
|
+
* - SKIP: Tool execution is skipped, agent receives skip message
|
|
410
|
+
* - REJECT: Agent execution fails with rejection error
|
|
411
|
+
*
|
|
412
|
+
* @generated from field: ai.stigmer.agentic.agentexecution.v1.ApprovalAction action = 3;
|
|
413
|
+
*/
|
|
414
|
+
action: ApprovalAction;
|
|
415
|
+
/**
|
|
416
|
+
* Optional reason/comment for the decision.
|
|
417
|
+
* Stored in audit trail for compliance and debugging.
|
|
418
|
+
*
|
|
419
|
+
* Examples:
|
|
420
|
+
* - "Verified the target repository is safe to delete" (on APPROVE)
|
|
421
|
+
* - "Will handle this operation manually" (on SKIP)
|
|
422
|
+
* - "Unexpected target - this looks like the wrong repository" (on REJECT)
|
|
423
|
+
*
|
|
424
|
+
* @generated from field: string comment = 4;
|
|
425
|
+
*/
|
|
426
|
+
comment: string;
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.SubmitWorkflowApprovalInput.
|
|
430
|
+
* Use `create(SubmitWorkflowApprovalInputSchema)` to create a new message.
|
|
431
|
+
*/
|
|
432
|
+
export declare const SubmitWorkflowApprovalInputSchema: GenMessage<SubmitWorkflowApprovalInput>;
|
|
433
|
+
/**
|
|
434
|
+
* SubscribeWorkflowExecutionRequest subscribes to real-time execution updates.
|
|
435
|
+
*
|
|
436
|
+
* Opens a server-side streaming RPC that pushes WorkflowExecution updates
|
|
437
|
+
* as the execution progresses through its lifecycle.
|
|
438
|
+
*
|
|
439
|
+
* Stream Behavior:
|
|
440
|
+
* 1. Client sends this request with execution_id
|
|
441
|
+
* 2. Server validates authorization (user must have "get" permission)
|
|
442
|
+
* 3. Server sends initial WorkflowExecution (current state)
|
|
443
|
+
* 4. Server streams updates as execution state changes
|
|
444
|
+
* 5. Server closes stream when execution reaches terminal state
|
|
445
|
+
*
|
|
446
|
+
* Use Cases:
|
|
447
|
+
* - Real-time progress monitoring in UI
|
|
448
|
+
* - Live dashboards showing execution status
|
|
449
|
+
* - Debugging with live updates
|
|
450
|
+
* - Multi-user collaborative monitoring
|
|
451
|
+
*
|
|
452
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.SubscribeWorkflowExecutionRequest
|
|
453
|
+
*/
|
|
454
|
+
export type SubscribeWorkflowExecutionRequest = Message<"ai.stigmer.agentic.workflowexecution.v1.SubscribeWorkflowExecutionRequest"> & {
|
|
455
|
+
/**
|
|
456
|
+
* Execution ID to subscribe to.
|
|
457
|
+
*
|
|
458
|
+
* Format: "wfx-{unique-suffix}"
|
|
459
|
+
* Example: "wfx-abc123xyz456"
|
|
460
|
+
*
|
|
461
|
+
* Validation: Required field, cannot be empty
|
|
462
|
+
*
|
|
463
|
+
* Error Cases:
|
|
464
|
+
* - NOT_FOUND: No WorkflowExecution with this ID exists
|
|
465
|
+
* - PERMISSION_DENIED: User doesn't have "get" permission on this execution
|
|
466
|
+
*
|
|
467
|
+
* Example:
|
|
468
|
+
* execution_id: "wfx-abc123xyz456"
|
|
469
|
+
*
|
|
470
|
+
* After subscription starts, client receives:
|
|
471
|
+
* - Initial message: Current state of execution
|
|
472
|
+
* - Update messages: Changes to status.phase, status.tasks, etc.
|
|
473
|
+
* - Final message: Execution reached terminal state (COMPLETED/FAILED/CANCELLED)
|
|
474
|
+
* - Stream closes automatically after final message
|
|
475
|
+
*
|
|
476
|
+
* @generated from field: string execution_id = 1;
|
|
477
|
+
*/
|
|
478
|
+
executionId: string;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.SubscribeWorkflowExecutionRequest.
|
|
482
|
+
* Use `create(SubscribeWorkflowExecutionRequestSchema)` to create a new message.
|
|
483
|
+
*/
|
|
484
|
+
export declare const SubscribeWorkflowExecutionRequestSchema: GenMessage<SubscribeWorkflowExecutionRequest>;
|
|
485
|
+
/**
|
|
486
|
+
* WorkflowExecutionUpdate represents a real-time execution update event.
|
|
487
|
+
*
|
|
488
|
+
* This message is used for WebSocket or SSE (Server-Sent Events) streaming
|
|
489
|
+
* to provide granular updates about what changed in the execution.
|
|
490
|
+
*
|
|
491
|
+
* Difference from subscribe() RPC:
|
|
492
|
+
* - subscribe() RPC: Sends full WorkflowExecution on each update
|
|
493
|
+
* - WorkflowExecutionUpdate: Sends only what changed (more efficient for high-frequency updates)
|
|
494
|
+
*
|
|
495
|
+
* Use Cases:
|
|
496
|
+
* - WebSocket streaming (more efficient than full execution on each update)
|
|
497
|
+
* - Event sourcing patterns (replay update events to reconstruct state)
|
|
498
|
+
* - Real-time UI updates (apply delta updates to cached state)
|
|
499
|
+
*
|
|
500
|
+
* Note: Currently not used by subscribe() RPC (which sends full WorkflowExecution).
|
|
501
|
+
* This message is reserved for future WebSocket/SSE streaming implementations.
|
|
502
|
+
*
|
|
503
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionUpdate
|
|
504
|
+
*/
|
|
505
|
+
export type WorkflowExecutionUpdate = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionUpdate"> & {
|
|
506
|
+
/**
|
|
507
|
+
* Type of update that occurred.
|
|
508
|
+
*
|
|
509
|
+
* Determines which fields in this message are populated:
|
|
510
|
+
* - wf_update_status_changed: execution.status.phase changed
|
|
511
|
+
* - wf_update_task_started: task changed to IN_PROGRESS
|
|
512
|
+
* - wf_update_task_completed: task changed to COMPLETED
|
|
513
|
+
* - wf_update_task_failed: task changed to FAILED
|
|
514
|
+
* - wf_update_execution_completed: execution reached COMPLETED
|
|
515
|
+
* - wf_update_execution_cancelled: execution reached CANCELLED
|
|
516
|
+
*
|
|
517
|
+
* Validation: Must be a defined enum value (not unspecified)
|
|
518
|
+
*
|
|
519
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.WorkflowUpdateType update_type = 1;
|
|
520
|
+
*/
|
|
521
|
+
updateType: WorkflowUpdateType;
|
|
522
|
+
/**
|
|
523
|
+
* Updated execution (full or partial).
|
|
524
|
+
*
|
|
525
|
+
* For efficiency, may contain only changed fields:
|
|
526
|
+
* - wf_update_status_changed: Full execution with updated status.phase
|
|
527
|
+
* - wf_update_task_*: Partial execution with updated status.tasks[i]
|
|
528
|
+
* - wf_update_execution_completed: Full execution with final state
|
|
529
|
+
*
|
|
530
|
+
* Clients should merge this with cached state to get complete picture.
|
|
531
|
+
*
|
|
532
|
+
* Example (task completed update):
|
|
533
|
+
* execution: {
|
|
534
|
+
* metadata: { id: "wfx-abc123" },
|
|
535
|
+
* status: {
|
|
536
|
+
* completed_tasks: 1,
|
|
537
|
+
* tasks: [
|
|
538
|
+
* { task_id: "task-1", status: WORKFLOW_TASK_COMPLETED, output: {...} }
|
|
539
|
+
* ]
|
|
540
|
+
* }
|
|
541
|
+
* }
|
|
542
|
+
*
|
|
543
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.WorkflowExecution execution = 2;
|
|
544
|
+
*/
|
|
545
|
+
execution?: WorkflowExecution;
|
|
546
|
+
/**
|
|
547
|
+
* Updated task (if update_type is task-related).
|
|
548
|
+
*
|
|
549
|
+
* Populated when update_type is:
|
|
550
|
+
* - wf_update_task_started
|
|
551
|
+
* - wf_update_task_completed
|
|
552
|
+
* - wf_update_task_failed
|
|
553
|
+
*
|
|
554
|
+
* Provides direct access to the changed task without searching execution.status.tasks[].
|
|
555
|
+
*
|
|
556
|
+
* Example (task completed):
|
|
557
|
+
* task: {
|
|
558
|
+
* task_id: "task-1",
|
|
559
|
+
* task_name: "validate_email",
|
|
560
|
+
* status: WORKFLOW_TASK_COMPLETED,
|
|
561
|
+
* output: { "valid": true },
|
|
562
|
+
* completed_at: "2025-01-11T14:30:27Z"
|
|
563
|
+
* }
|
|
564
|
+
*
|
|
565
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.WorkflowTask task = 3;
|
|
566
|
+
*/
|
|
567
|
+
task?: WorkflowTask;
|
|
568
|
+
};
|
|
569
|
+
/**
|
|
570
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionUpdate.
|
|
571
|
+
* Use `create(WorkflowExecutionUpdateSchema)` to create a new message.
|
|
572
|
+
*/
|
|
573
|
+
export declare const WorkflowExecutionUpdateSchema: GenMessage<WorkflowExecutionUpdate>;
|
|
574
|
+
/**
|
|
575
|
+
* CancelWorkflowExecutionInput requests graceful cancellation of a workflow execution.
|
|
576
|
+
*
|
|
577
|
+
* Cancellation sends a signal to the workflow, allowing it to clean up gracefully.
|
|
578
|
+
* The workflow code can handle the cancellation signal (e.g., via defer blocks,
|
|
579
|
+
* compensation logic) before the execution transitions to CANCELLED phase.
|
|
580
|
+
*
|
|
581
|
+
* ## Behavior
|
|
582
|
+
*
|
|
583
|
+
* - Sends cancellation signal to Temporal via CancelWorkflow API
|
|
584
|
+
* - Workflow code receives the signal and can perform cleanup
|
|
585
|
+
* - Execution transitions to EXECUTION_CANCELLED phase after cleanup
|
|
586
|
+
* - In-progress tasks may complete or be interrupted depending on workflow logic
|
|
587
|
+
*
|
|
588
|
+
* ## Preconditions
|
|
589
|
+
*
|
|
590
|
+
* - Execution must be in EXECUTION_PENDING or EXECUTION_IN_PROGRESS phase
|
|
591
|
+
* - User must have can_edit permission on the workflow execution
|
|
592
|
+
*
|
|
593
|
+
* ## Idempotency
|
|
594
|
+
*
|
|
595
|
+
* If the execution is already cancelled (phase == EXECUTION_CANCELLED),
|
|
596
|
+
* the call succeeds as a no-op and returns the current execution state.
|
|
597
|
+
*
|
|
598
|
+
* ## Use Cases
|
|
599
|
+
*
|
|
600
|
+
* - User realizes they triggered the wrong workflow
|
|
601
|
+
* - Business decision to stop a long-running process
|
|
602
|
+
* - Graceful shutdown before maintenance window
|
|
603
|
+
* - Cancel stuck workflow that is still responsive
|
|
604
|
+
*
|
|
605
|
+
* ## Example
|
|
606
|
+
*
|
|
607
|
+
* {
|
|
608
|
+
* "id": "wfx-abc123xyz456",
|
|
609
|
+
* "reason": "Customer requested cancellation - no longer needed"
|
|
610
|
+
* }
|
|
611
|
+
*
|
|
612
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.CancelWorkflowExecutionInput
|
|
613
|
+
*/
|
|
614
|
+
export type CancelWorkflowExecutionInput = Message<"ai.stigmer.agentic.workflowexecution.v1.CancelWorkflowExecutionInput"> & {
|
|
615
|
+
/**
|
|
616
|
+
* Workflow execution ID to cancel.
|
|
617
|
+
*
|
|
618
|
+
* Format: "wfx-{ulid}" (auto-generated unique identifier)
|
|
619
|
+
* Example: "wfx-abc123xyz456"
|
|
620
|
+
*
|
|
621
|
+
* Validation: Required, cannot be empty
|
|
622
|
+
*
|
|
623
|
+
* @generated from field: string id = 1;
|
|
624
|
+
*/
|
|
625
|
+
id: string;
|
|
626
|
+
/**
|
|
627
|
+
* Human-readable reason for cancellation.
|
|
628
|
+
*
|
|
629
|
+
* Stored in the audit trail and passed to Temporal for operational debugging.
|
|
630
|
+
* Optional but strongly recommended for compliance and troubleshooting.
|
|
631
|
+
*
|
|
632
|
+
* Examples:
|
|
633
|
+
* - "Customer requested cancellation"
|
|
634
|
+
* - "Incorrect workflow triggered by mistake"
|
|
635
|
+
* - "Superseded by newer execution wfx-def456"
|
|
636
|
+
* - "Pre-maintenance shutdown"
|
|
637
|
+
*
|
|
638
|
+
* @generated from field: string reason = 2;
|
|
639
|
+
*/
|
|
640
|
+
reason: string;
|
|
641
|
+
};
|
|
642
|
+
/**
|
|
643
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.CancelWorkflowExecutionInput.
|
|
644
|
+
* Use `create(CancelWorkflowExecutionInputSchema)` to create a new message.
|
|
645
|
+
*/
|
|
646
|
+
export declare const CancelWorkflowExecutionInputSchema: GenMessage<CancelWorkflowExecutionInput>;
|
|
647
|
+
/**
|
|
648
|
+
* TerminateWorkflowExecutionInput requests immediate termination of a workflow execution.
|
|
649
|
+
*
|
|
650
|
+
* Termination forcefully kills the workflow without allowing cleanup.
|
|
651
|
+
* Unlike cancellation, the workflow code cannot respond to termination -
|
|
652
|
+
* it is stopped immediately. Use this for stuck or unresponsive workflows.
|
|
653
|
+
*
|
|
654
|
+
* ## Behavior
|
|
655
|
+
*
|
|
656
|
+
* - Force-kills workflow via Temporal TerminateWorkflow API
|
|
657
|
+
* - Workflow code does NOT receive any signal (cannot clean up)
|
|
658
|
+
* - Execution transitions to EXECUTION_TERMINATED phase immediately
|
|
659
|
+
* - All in-progress tasks are stopped abruptly
|
|
660
|
+
* - No compensation or defer blocks are executed
|
|
661
|
+
*
|
|
662
|
+
* ## Preconditions
|
|
663
|
+
*
|
|
664
|
+
* - Execution must be in EXECUTION_PENDING or EXECUTION_IN_PROGRESS phase
|
|
665
|
+
* - User must have can_edit permission on the workflow execution
|
|
666
|
+
*
|
|
667
|
+
* ## Idempotency
|
|
668
|
+
*
|
|
669
|
+
* If the execution is already terminated (phase == EXECUTION_TERMINATED),
|
|
670
|
+
* the call succeeds as a no-op and returns the current execution state.
|
|
671
|
+
*
|
|
672
|
+
* ## Terminated vs Cancelled
|
|
673
|
+
*
|
|
674
|
+
* | Aspect | Cancel | Terminate |
|
|
675
|
+
* |--------|--------|-----------|
|
|
676
|
+
* | Signal | Workflow receives cancellation signal | No signal sent |
|
|
677
|
+
* | Cleanup | Workflow can clean up gracefully | No cleanup possible |
|
|
678
|
+
* | Use case | Normal cancellation | Stuck/unresponsive workflows |
|
|
679
|
+
* | Recovery | Cannot recover | Cannot recover |
|
|
680
|
+
*
|
|
681
|
+
* ## Use Cases
|
|
682
|
+
*
|
|
683
|
+
* - Workflow is stuck and not responding to cancellation
|
|
684
|
+
* - Workflow is consuming excessive resources (infinite loop, memory leak)
|
|
685
|
+
* - Emergency stop for misbehaving workflow
|
|
686
|
+
* - Workflow has a bug causing it to ignore cancellation signals
|
|
687
|
+
*
|
|
688
|
+
* ## Example
|
|
689
|
+
*
|
|
690
|
+
* {
|
|
691
|
+
* "id": "wfx-abc123xyz456",
|
|
692
|
+
* "reason": "Workflow stuck for 2 hours, not responding to cancel"
|
|
693
|
+
* }
|
|
694
|
+
*
|
|
695
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.TerminateWorkflowExecutionInput
|
|
696
|
+
*/
|
|
697
|
+
export type TerminateWorkflowExecutionInput = Message<"ai.stigmer.agentic.workflowexecution.v1.TerminateWorkflowExecutionInput"> & {
|
|
698
|
+
/**
|
|
699
|
+
* Workflow execution ID to terminate.
|
|
700
|
+
*
|
|
701
|
+
* Format: "wfx-{ulid}" (auto-generated unique identifier)
|
|
702
|
+
* Example: "wfx-abc123xyz456"
|
|
703
|
+
*
|
|
704
|
+
* Validation: Required, cannot be empty
|
|
705
|
+
*
|
|
706
|
+
* @generated from field: string id = 1;
|
|
707
|
+
*/
|
|
708
|
+
id: string;
|
|
709
|
+
/**
|
|
710
|
+
* Human-readable reason for termination.
|
|
711
|
+
*
|
|
712
|
+
* Stored in the audit trail and passed to Temporal for operational debugging.
|
|
713
|
+
* Optional but strongly recommended - termination is a drastic action
|
|
714
|
+
* and the reason helps with post-incident analysis.
|
|
715
|
+
*
|
|
716
|
+
* Examples:
|
|
717
|
+
* - "Workflow stuck for 2 hours, not responding to cancel"
|
|
718
|
+
* - "Infinite loop detected, consuming 100% CPU"
|
|
719
|
+
* - "Emergency stop - incorrect data being processed"
|
|
720
|
+
* - "Cancel failed after 3 attempts, force terminating"
|
|
721
|
+
*
|
|
722
|
+
* @generated from field: string reason = 2;
|
|
723
|
+
*/
|
|
724
|
+
reason: string;
|
|
725
|
+
};
|
|
726
|
+
/**
|
|
727
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.TerminateWorkflowExecutionInput.
|
|
728
|
+
* Use `create(TerminateWorkflowExecutionInputSchema)` to create a new message.
|
|
729
|
+
*/
|
|
730
|
+
export declare const TerminateWorkflowExecutionInputSchema: GenMessage<TerminateWorkflowExecutionInput>;
|
|
731
|
+
/**
|
|
732
|
+
* RecoverWorkflowExecutionInput requests recovery of a failed workflow execution.
|
|
733
|
+
*
|
|
734
|
+
* Recovery resumes execution from the last successful checkpoint, preserving
|
|
735
|
+
* all completed work. This uses Temporal's Reset functionality to continue
|
|
736
|
+
* the workflow without re-executing successful steps.
|
|
737
|
+
*
|
|
738
|
+
* ## Behavior
|
|
739
|
+
*
|
|
740
|
+
* - Uses Temporal ResetWorkflow API to resume from last successful point
|
|
741
|
+
* - Completed tasks are preserved - NOT re-executed
|
|
742
|
+
* - Creates a new Temporal run in the same workflow ID chain
|
|
743
|
+
* - Execution transitions from FAILED back to IN_PROGRESS phase
|
|
744
|
+
* - Workflow continues from where it failed
|
|
745
|
+
*
|
|
746
|
+
* ## Preconditions
|
|
747
|
+
*
|
|
748
|
+
* - Execution must be in EXECUTION_FAILED phase
|
|
749
|
+
* - TERMINATED executions cannot be recovered (use case: data corruption risk)
|
|
750
|
+
* - CANCELLED executions cannot be recovered (intentional user action)
|
|
751
|
+
* - User must have can_edit permission on the workflow execution
|
|
752
|
+
*
|
|
753
|
+
* ## Idempotency
|
|
754
|
+
*
|
|
755
|
+
* If recovery is already in progress (execution moved to IN_PROGRESS after
|
|
756
|
+
* a previous recover call), the call succeeds as a no-op and returns current state.
|
|
757
|
+
*
|
|
758
|
+
* ## Recovery vs Restart
|
|
759
|
+
*
|
|
760
|
+
* | Aspect | Recover | Restart (create new) |
|
|
761
|
+
* |--------|---------|----------------------|
|
|
762
|
+
* | Completed work | Preserved | Lost (re-executed) |
|
|
763
|
+
* | Side effects | Not duplicated | May duplicate |
|
|
764
|
+
* | Execution ID | Same | New ID |
|
|
765
|
+
* | Use case | Resume after fix | Start fresh |
|
|
766
|
+
*
|
|
767
|
+
* ## Use Cases
|
|
768
|
+
*
|
|
769
|
+
* - Workflow failed due to transient error (network timeout, rate limit)
|
|
770
|
+
* - External dependency was down but is now available
|
|
771
|
+
* - Bug was fixed and workflow should continue from failure point
|
|
772
|
+
* - Retry after investigating and fixing the root cause
|
|
773
|
+
*
|
|
774
|
+
* ## Example
|
|
775
|
+
*
|
|
776
|
+
* {
|
|
777
|
+
* "id": "wfx-abc123xyz456",
|
|
778
|
+
* "reason": "Stripe API was down, now recovered - resuming payment processing"
|
|
779
|
+
* }
|
|
780
|
+
*
|
|
781
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.RecoverWorkflowExecutionInput
|
|
782
|
+
*/
|
|
783
|
+
export type RecoverWorkflowExecutionInput = Message<"ai.stigmer.agentic.workflowexecution.v1.RecoverWorkflowExecutionInput"> & {
|
|
784
|
+
/**
|
|
785
|
+
* Workflow execution ID to recover.
|
|
786
|
+
*
|
|
787
|
+
* Must be in FAILED phase. TERMINATED and CANCELLED executions
|
|
788
|
+
* cannot be recovered.
|
|
789
|
+
*
|
|
790
|
+
* Format: "wfx-{ulid}" (auto-generated unique identifier)
|
|
791
|
+
* Example: "wfx-abc123xyz456"
|
|
792
|
+
*
|
|
793
|
+
* Validation: Required, cannot be empty
|
|
794
|
+
*
|
|
795
|
+
* @generated from field: string id = 1;
|
|
796
|
+
*/
|
|
797
|
+
id: string;
|
|
798
|
+
/**
|
|
799
|
+
* Human-readable reason for recovery.
|
|
800
|
+
*
|
|
801
|
+
* Stored in the audit trail for operational debugging and compliance.
|
|
802
|
+
* Helps track why the recovery was needed and what was fixed.
|
|
803
|
+
*
|
|
804
|
+
* Examples:
|
|
805
|
+
* - "Stripe API recovered, resuming payment processing"
|
|
806
|
+
* - "Fixed typo in email template, continuing workflow"
|
|
807
|
+
* - "Increased timeout for slow API, retrying"
|
|
808
|
+
* - "Root cause identified and fixed in config"
|
|
809
|
+
*
|
|
810
|
+
* @generated from field: string reason = 2;
|
|
811
|
+
*/
|
|
812
|
+
reason: string;
|
|
813
|
+
};
|
|
814
|
+
/**
|
|
815
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.RecoverWorkflowExecutionInput.
|
|
816
|
+
* Use `create(RecoverWorkflowExecutionInputSchema)` to create a new message.
|
|
817
|
+
*/
|
|
818
|
+
export declare const RecoverWorkflowExecutionInputSchema: GenMessage<RecoverWorkflowExecutionInput>;
|
|
819
|
+
/**
|
|
820
|
+
* PauseWorkflowExecutionInput requests temporarily pausing a workflow execution.
|
|
821
|
+
*
|
|
822
|
+
* Pauses the workflow at its current checkpoint. Unlike cancel, the execution
|
|
823
|
+
* is NOT terminal and can be resumed later from where it left off.
|
|
824
|
+
*
|
|
825
|
+
* ## Behavior
|
|
826
|
+
*
|
|
827
|
+
* When a workflow is paused:
|
|
828
|
+
* 1. A "pause" signal is sent to the Temporal workflow
|
|
829
|
+
* 2. Running activities are gracefully cancelled (checkpoint saved)
|
|
830
|
+
* 3. Execution transitions to EXECUTION_PAUSED phase
|
|
831
|
+
* 4. Workflow waits for resume signal (no resources consumed)
|
|
832
|
+
*
|
|
833
|
+
* ## Resume Flow
|
|
834
|
+
*
|
|
835
|
+
* The paused workflow can be resumed via the resume RPC:
|
|
836
|
+
* 1. Resume signal unblocks the workflow
|
|
837
|
+
* 2. Activities are re-invoked with same thread_id
|
|
838
|
+
* 3. LangGraph loads from checkpoint automatically
|
|
839
|
+
* 4. Execution continues from exact pause point
|
|
840
|
+
*
|
|
841
|
+
* @since Gap A3 (Pause/Resume Propagation)
|
|
842
|
+
*
|
|
843
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.PauseWorkflowExecutionInput
|
|
844
|
+
*/
|
|
845
|
+
export type PauseWorkflowExecutionInput = Message<"ai.stigmer.agentic.workflowexecution.v1.PauseWorkflowExecutionInput"> & {
|
|
846
|
+
/**
|
|
847
|
+
* Workflow execution ID to pause.
|
|
848
|
+
*
|
|
849
|
+
* Must be in PENDING or IN_PROGRESS phase. Cannot pause
|
|
850
|
+
* executions that are already terminal (COMPLETED, FAILED, CANCELLED, TERMINATED).
|
|
851
|
+
*
|
|
852
|
+
* Format: "wfx-{ulid}" (auto-generated unique identifier)
|
|
853
|
+
* Example: "wfx-abc123xyz456"
|
|
854
|
+
*
|
|
855
|
+
* Validation: Required, cannot be empty
|
|
856
|
+
*
|
|
857
|
+
* @generated from field: string id = 1;
|
|
858
|
+
*/
|
|
859
|
+
id: string;
|
|
860
|
+
/**
|
|
861
|
+
* Human-readable reason for pausing.
|
|
862
|
+
*
|
|
863
|
+
* Stored in the audit trail for operational debugging and compliance.
|
|
864
|
+
* Helps track why the pause was needed.
|
|
865
|
+
*
|
|
866
|
+
* Examples:
|
|
867
|
+
* - "Pausing for scheduled maintenance window"
|
|
868
|
+
* - "User requested pause to review progress"
|
|
869
|
+
* - "Pausing due to rate limit concerns"
|
|
870
|
+
* - "Emergency pause - investigating issue"
|
|
871
|
+
*
|
|
872
|
+
* @generated from field: string reason = 2;
|
|
873
|
+
*/
|
|
874
|
+
reason: string;
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.PauseWorkflowExecutionInput.
|
|
878
|
+
* Use `create(PauseWorkflowExecutionInputSchema)` to create a new message.
|
|
879
|
+
*/
|
|
880
|
+
export declare const PauseWorkflowExecutionInputSchema: GenMessage<PauseWorkflowExecutionInput>;
|
|
881
|
+
/**
|
|
882
|
+
* ResumeWorkflowExecutionInput requests resuming a paused workflow execution.
|
|
883
|
+
*
|
|
884
|
+
* Continues execution from the checkpoint where it was paused. The workflow
|
|
885
|
+
* re-invokes activities with the same thread_id, which loads from checkpoint
|
|
886
|
+
* and continues from where it left off.
|
|
887
|
+
*
|
|
888
|
+
* ## Behavior
|
|
889
|
+
*
|
|
890
|
+
* When a workflow is resumed:
|
|
891
|
+
* 1. A "resume" signal is sent to the paused Temporal workflow
|
|
892
|
+
* 2. Workflow unblocks from its wait state
|
|
893
|
+
* 3. Activities are re-invoked with same execution context
|
|
894
|
+
* 4. LangGraph loads checkpoint using thread_id
|
|
895
|
+
* 5. Execution continues from exact pause point
|
|
896
|
+
*
|
|
897
|
+
* ## Preconditions
|
|
898
|
+
*
|
|
899
|
+
* - Execution must be in EXECUTION_PAUSED phase
|
|
900
|
+
* - Cannot resume non-paused executions
|
|
901
|
+
*
|
|
902
|
+
* @since Gap A3 (Pause/Resume Propagation)
|
|
903
|
+
*
|
|
904
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.ResumeWorkflowExecutionInput
|
|
905
|
+
*/
|
|
906
|
+
export type ResumeWorkflowExecutionInput = Message<"ai.stigmer.agentic.workflowexecution.v1.ResumeWorkflowExecutionInput"> & {
|
|
907
|
+
/**
|
|
908
|
+
* Workflow execution ID to resume.
|
|
909
|
+
*
|
|
910
|
+
* Must be in PAUSED phase. Cannot resume executions
|
|
911
|
+
* that are not paused.
|
|
912
|
+
*
|
|
913
|
+
* Format: "wfx-{ulid}" (auto-generated unique identifier)
|
|
914
|
+
* Example: "wfx-abc123xyz456"
|
|
915
|
+
*
|
|
916
|
+
* Validation: Required, cannot be empty
|
|
917
|
+
*
|
|
918
|
+
* @generated from field: string id = 1;
|
|
919
|
+
*/
|
|
920
|
+
id: string;
|
|
921
|
+
};
|
|
922
|
+
/**
|
|
923
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.ResumeWorkflowExecutionInput.
|
|
924
|
+
* Use `create(ResumeWorkflowExecutionInputSchema)` to create a new message.
|
|
925
|
+
*/
|
|
926
|
+
export declare const ResumeWorkflowExecutionInputSchema: GenMessage<ResumeWorkflowExecutionInput>;
|
|
927
|
+
/**
|
|
928
|
+
* SendSignalInput requests delivery of a signal to a workflow execution.
|
|
929
|
+
*
|
|
930
|
+
* Sends a signal to a running workflow execution, typically to unblock a LISTEN task.
|
|
931
|
+
* Uses Temporal's SignalWithStart API internally for race-proof delivery - if the
|
|
932
|
+
* workflow hasn't started yet, it will be started first and then receive the signal.
|
|
933
|
+
*
|
|
934
|
+
* ## Behavior
|
|
935
|
+
*
|
|
936
|
+
* 1. Validates execution exists and is in a signalable phase
|
|
937
|
+
* 2. Uses Temporal SignalWithStart for atomic delivery:
|
|
938
|
+
* - If workflow exists → sends signal immediately
|
|
939
|
+
* - If workflow not started yet → starts workflow, then sends signal
|
|
940
|
+
* 3. Signal is delivered to workflow's signal channel
|
|
941
|
+
* 4. LISTEN task waiting for this signal will unblock and continue
|
|
942
|
+
* 5. Returns the current WorkflowExecution state
|
|
943
|
+
*
|
|
944
|
+
* ## Preconditions
|
|
945
|
+
*
|
|
946
|
+
* - Execution must be in EXECUTION_PENDING or EXECUTION_IN_PROGRESS phase
|
|
947
|
+
* - Cannot signal terminal executions (COMPLETED, FAILED, CANCELLED, TERMINATED)
|
|
948
|
+
* - User must have can_edit permission on the workflow execution
|
|
949
|
+
*
|
|
950
|
+
* ## Race-Proof Delivery
|
|
951
|
+
*
|
|
952
|
+
* SignalWithStart solves the race condition where a signal might arrive before
|
|
953
|
+
* the Temporal workflow is fully started. Without it, SignalWorkflow fails with
|
|
954
|
+
* "WorkflowNotFound" if called too early. SignalWithStart handles both cases
|
|
955
|
+
* atomically, ensuring signals are never lost.
|
|
956
|
+
*
|
|
957
|
+
* ## Use Cases
|
|
958
|
+
*
|
|
959
|
+
* - External system events (webhooks, CDC) triggering workflow continuation
|
|
960
|
+
* - Human-in-the-loop approvals via external systems
|
|
961
|
+
* - Integration with third-party services that send callbacks
|
|
962
|
+
* - Testing LISTEN tasks during development
|
|
963
|
+
*
|
|
964
|
+
* ## Example
|
|
965
|
+
*
|
|
966
|
+
* {
|
|
967
|
+
* "execution_id": "wfx-abc123xyz456",
|
|
968
|
+
* "signal_name": "payment_confirmed",
|
|
969
|
+
* "payload": {
|
|
970
|
+
* "transaction_id": "txn_123",
|
|
971
|
+
* "amount": 99.99,
|
|
972
|
+
* "currency": "USD"
|
|
973
|
+
* }
|
|
974
|
+
* }
|
|
975
|
+
*
|
|
976
|
+
* @since Gap B1 (Signal-With-Start)
|
|
977
|
+
*
|
|
978
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.SendSignalInput
|
|
979
|
+
*/
|
|
980
|
+
export type SendSignalInput = Message<"ai.stigmer.agentic.workflowexecution.v1.SendSignalInput"> & {
|
|
981
|
+
/**
|
|
982
|
+
* Workflow execution ID to send the signal to.
|
|
983
|
+
*
|
|
984
|
+
* Format: "wfx-{ulid}" (auto-generated unique identifier)
|
|
985
|
+
* Example: "wfx-abc123xyz456"
|
|
986
|
+
*
|
|
987
|
+
* Validation: Required, cannot be empty
|
|
988
|
+
*
|
|
989
|
+
* @generated from field: string execution_id = 1;
|
|
990
|
+
*/
|
|
991
|
+
executionId: string;
|
|
992
|
+
/**
|
|
993
|
+
* Signal name to send.
|
|
994
|
+
*
|
|
995
|
+
* Must match the signal ID defined in the workflow's LISTEN task.
|
|
996
|
+
* Signal names are case-sensitive and should follow snake_case convention.
|
|
997
|
+
*
|
|
998
|
+
* Examples:
|
|
999
|
+
* - "payment_confirmed"
|
|
1000
|
+
* - "approval_received"
|
|
1001
|
+
* - "external_event"
|
|
1002
|
+
* - "verification_complete"
|
|
1003
|
+
*
|
|
1004
|
+
* Validation: Required, cannot be empty
|
|
1005
|
+
*
|
|
1006
|
+
* @generated from field: string signal_name = 2;
|
|
1007
|
+
*/
|
|
1008
|
+
signalName: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* Signal payload data.
|
|
1011
|
+
*
|
|
1012
|
+
* JSON-serializable data to send with the signal. The payload is delivered
|
|
1013
|
+
* to the workflow and can be accessed by the LISTEN task.
|
|
1014
|
+
*
|
|
1015
|
+
* Optional - signals can be sent without payload if they just need to
|
|
1016
|
+
* unblock the workflow without passing data.
|
|
1017
|
+
*
|
|
1018
|
+
* Examples:
|
|
1019
|
+
* - { "status": "approved", "approver": "jane@example.com" }
|
|
1020
|
+
* - { "transaction_id": "txn_123", "amount": 99.99 }
|
|
1021
|
+
* - { "verified": true }
|
|
1022
|
+
*
|
|
1023
|
+
* Note: Use google.protobuf.Struct for arbitrary JSON payloads.
|
|
1024
|
+
*
|
|
1025
|
+
* @generated from field: google.protobuf.Struct payload = 3;
|
|
1026
|
+
*/
|
|
1027
|
+
payload?: JsonObject;
|
|
1028
|
+
/**
|
|
1029
|
+
* Idempotency key for deduplication of signal delivery.
|
|
1030
|
+
*
|
|
1031
|
+
* Optional - if not provided, signal is processed without dedupe protection.
|
|
1032
|
+
* When provided, duplicate signals with the same key (within the TTL window)
|
|
1033
|
+
* return the cached response instead of re-delivering the signal.
|
|
1034
|
+
*
|
|
1035
|
+
* ## Format Recommendations
|
|
1036
|
+
*
|
|
1037
|
+
* - Webhook sources: "{source}:{event_id}" (e.g., "stripe:evt_1234567890")
|
|
1038
|
+
* - API callers: Client-generated UUID (e.g., "550e8400-e29b-41d4-a716-446655440000")
|
|
1039
|
+
* - Scheduled events: "{schedule_id}:{timestamp}" (e.g., "sched_abc:2026-02-08T12:00:00Z")
|
|
1040
|
+
*
|
|
1041
|
+
* ## Scope
|
|
1042
|
+
*
|
|
1043
|
+
* Keys are scoped to the organization to prevent cross-org collisions.
|
|
1044
|
+
* The effective key stored is: "{org_id}:{idempotency_key}"
|
|
1045
|
+
*
|
|
1046
|
+
* ## TTL (Time-To-Live)
|
|
1047
|
+
*
|
|
1048
|
+
* Keys expire after 24 hours by default. After expiration, the same key
|
|
1049
|
+
* can be reused and will trigger a new signal delivery. This aligns with
|
|
1050
|
+
* industry standards (e.g., Stripe's 24-hour idempotency window).
|
|
1051
|
+
*
|
|
1052
|
+
* ## Behavior on Duplicate
|
|
1053
|
+
*
|
|
1054
|
+
* When a duplicate key is detected:
|
|
1055
|
+
* - The signal is NOT re-delivered to the workflow
|
|
1056
|
+
* - The original WorkflowExecution state is returned (idempotent response)
|
|
1057
|
+
* - No error is returned (success with cached result)
|
|
1058
|
+
*
|
|
1059
|
+
* ## Use Cases
|
|
1060
|
+
*
|
|
1061
|
+
* 1. Webhook retry protection: Stripe/GitHub may retry webhooks on timeout
|
|
1062
|
+
* 2. Client retry safety: API clients can safely retry on network errors
|
|
1063
|
+
* 3. At-least-once to effectively-once: Convert retries into safe operations
|
|
1064
|
+
*
|
|
1065
|
+
* Example: "stripe:evt_1NqZP92eZvKYlo2CqOc7XYRT"
|
|
1066
|
+
*
|
|
1067
|
+
* @since Gap B2 (Event Dedupe)
|
|
1068
|
+
*
|
|
1069
|
+
* @generated from field: string idempotency_key = 4;
|
|
1070
|
+
*/
|
|
1071
|
+
idempotencyKey: string;
|
|
1072
|
+
};
|
|
1073
|
+
/**
|
|
1074
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.SendSignalInput.
|
|
1075
|
+
* Use `create(SendSignalInputSchema)` to create a new message.
|
|
1076
|
+
*/
|
|
1077
|
+
export declare const SendSignalInputSchema: GenMessage<SendSignalInput>;
|
|
1078
|
+
/**
|
|
1079
|
+
* WorkflowUpdateType defines the type of workflow execution update event.
|
|
1080
|
+
*
|
|
1081
|
+
* Used by WorkflowExecutionUpdate to indicate what changed in the execution.
|
|
1082
|
+
* Helps clients apply efficient delta updates instead of re-rendering entire UI.
|
|
1083
|
+
*
|
|
1084
|
+
* Event Sequence Example:
|
|
1085
|
+
* 1. wf_update_status_changed (PENDING → IN_PROGRESS)
|
|
1086
|
+
* 2. wf_update_task_started (task-1 started)
|
|
1087
|
+
* 3. wf_update_task_completed (task-1 completed)
|
|
1088
|
+
* 4. wf_update_task_started (task-2 started)
|
|
1089
|
+
* 5. wf_update_task_completed (task-2 completed)
|
|
1090
|
+
* 6. wf_update_execution_completed (workflow done)
|
|
1091
|
+
*
|
|
1092
|
+
* @generated from enum ai.stigmer.agentic.workflowexecution.v1.WorkflowUpdateType
|
|
1093
|
+
*/
|
|
1094
|
+
export declare enum WorkflowUpdateType {
|
|
1095
|
+
/**
|
|
1096
|
+
* Unspecified update type (invalid, should never be used).
|
|
1097
|
+
*
|
|
1098
|
+
* @generated from enum value: workflow_update_type_unspecified = 0;
|
|
1099
|
+
*/
|
|
1100
|
+
workflow_update_type_unspecified = 0,
|
|
1101
|
+
/**
|
|
1102
|
+
* Workflow execution phase changed.
|
|
1103
|
+
*
|
|
1104
|
+
* Triggered when status.phase transitions:
|
|
1105
|
+
* - PENDING → IN_PROGRESS (execution started)
|
|
1106
|
+
* - IN_PROGRESS → COMPLETED (execution succeeded)
|
|
1107
|
+
* - IN_PROGRESS → FAILED (execution failed)
|
|
1108
|
+
* - IN_PROGRESS → CANCELLED (execution cancelled)
|
|
1109
|
+
*
|
|
1110
|
+
* UI Impact: Update status badge, progress indicator
|
|
1111
|
+
*
|
|
1112
|
+
* @generated from enum value: wf_update_status_changed = 1;
|
|
1113
|
+
*/
|
|
1114
|
+
wf_update_status_changed = 1,
|
|
1115
|
+
/**
|
|
1116
|
+
* A workflow task started executing.
|
|
1117
|
+
*
|
|
1118
|
+
* Triggered when task status changes from PENDING to IN_PROGRESS.
|
|
1119
|
+
*
|
|
1120
|
+
* Update includes:
|
|
1121
|
+
* - task.status = WORKFLOW_TASK_IN_PROGRESS
|
|
1122
|
+
* - task.started_at = current timestamp
|
|
1123
|
+
*
|
|
1124
|
+
* UI Impact: Show spinner/loading indicator for this task
|
|
1125
|
+
*
|
|
1126
|
+
* @generated from enum value: wf_update_task_started = 2;
|
|
1127
|
+
*/
|
|
1128
|
+
wf_update_task_started = 2,
|
|
1129
|
+
/**
|
|
1130
|
+
* A workflow task completed successfully.
|
|
1131
|
+
*
|
|
1132
|
+
* Triggered when task status changes from IN_PROGRESS to COMPLETED.
|
|
1133
|
+
*
|
|
1134
|
+
* Update includes:
|
|
1135
|
+
* - task.status = WORKFLOW_TASK_COMPLETED
|
|
1136
|
+
* - task.output = task results
|
|
1137
|
+
* - task.completed_at = current timestamp
|
|
1138
|
+
* - execution.completed_tasks incremented
|
|
1139
|
+
*
|
|
1140
|
+
* UI Impact: Show checkmark, display task output, update progress bar
|
|
1141
|
+
*
|
|
1142
|
+
* @generated from enum value: wf_update_task_completed = 3;
|
|
1143
|
+
*/
|
|
1144
|
+
wf_update_task_completed = 3,
|
|
1145
|
+
/**
|
|
1146
|
+
* A workflow task failed.
|
|
1147
|
+
*
|
|
1148
|
+
* Triggered when task status changes from IN_PROGRESS to FAILED.
|
|
1149
|
+
*
|
|
1150
|
+
* Update includes:
|
|
1151
|
+
* - task.status = WORKFLOW_TASK_FAILED
|
|
1152
|
+
* - task.error = error message
|
|
1153
|
+
* - task.completed_at = current timestamp
|
|
1154
|
+
* - execution.completed_tasks incremented
|
|
1155
|
+
*
|
|
1156
|
+
* UI Impact: Show error icon, display error message, may trigger workflow failure
|
|
1157
|
+
*
|
|
1158
|
+
* @generated from enum value: wf_update_task_failed = 4;
|
|
1159
|
+
*/
|
|
1160
|
+
wf_update_task_failed = 4,
|
|
1161
|
+
/**
|
|
1162
|
+
* Workflow execution completed successfully.
|
|
1163
|
+
*
|
|
1164
|
+
* Triggered when all tasks completed and workflow produces final output.
|
|
1165
|
+
*
|
|
1166
|
+
* Update includes:
|
|
1167
|
+
* - execution.status.phase = EXECUTION_COMPLETED
|
|
1168
|
+
* - execution.status.output = workflow results
|
|
1169
|
+
* - execution.status.completed_at = current timestamp
|
|
1170
|
+
*
|
|
1171
|
+
* UI Impact: Show success badge, display final output, enable download/export
|
|
1172
|
+
*
|
|
1173
|
+
* Note: This is a terminal event - no more updates will follow.
|
|
1174
|
+
*
|
|
1175
|
+
* @generated from enum value: wf_update_execution_completed = 5;
|
|
1176
|
+
*/
|
|
1177
|
+
wf_update_execution_completed = 5,
|
|
1178
|
+
/**
|
|
1179
|
+
* Workflow execution was cancelled.
|
|
1180
|
+
*
|
|
1181
|
+
* Triggered when user or system cancels the execution.
|
|
1182
|
+
*
|
|
1183
|
+
* Update includes:
|
|
1184
|
+
* - execution.status.phase = EXECUTION_CANCELLED
|
|
1185
|
+
* - execution.status.completed_at = current timestamp
|
|
1186
|
+
*
|
|
1187
|
+
* UI Impact: Show cancelled badge, grey out in-progress tasks
|
|
1188
|
+
*
|
|
1189
|
+
* Note: This is a terminal event - no more updates will follow.
|
|
1190
|
+
*
|
|
1191
|
+
* @generated from enum value: wf_update_execution_cancelled = 6;
|
|
1192
|
+
*/
|
|
1193
|
+
wf_update_execution_cancelled = 6
|
|
1194
|
+
}
|
|
1195
|
+
/**
|
|
1196
|
+
* Describes the enum ai.stigmer.agentic.workflowexecution.v1.WorkflowUpdateType.
|
|
1197
|
+
*/
|
|
1198
|
+
export declare const WorkflowUpdateTypeSchema: GenEnum<WorkflowUpdateType>;
|