@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,332 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ExecutionValue } from "../../executioncontext/v1/spec_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/agentic/workflowexecution/v1/spec.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_agentic_workflowexecution_v1_spec: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* WorkflowExecutionSpec defines the user-provided inputs for a workflow execution.
|
|
10
|
+
*
|
|
11
|
+
* This is the "Execution" layer in the Template→Instance→Execution pattern.
|
|
12
|
+
* WorkflowExecutionSpec is ephemeral - it defines the inputs for a single runtime invocation.
|
|
13
|
+
*
|
|
14
|
+
* Following Stigmer proto standards:
|
|
15
|
+
* - Spec contains ONLY user inputs (what the user controls)
|
|
16
|
+
* - Status contains execution state (what the system manages)
|
|
17
|
+
*
|
|
18
|
+
* The spec is immutable after creation. To retry with different inputs, create a new
|
|
19
|
+
* WorkflowExecution with updated spec values.
|
|
20
|
+
*
|
|
21
|
+
* Spec vs Status Separation:
|
|
22
|
+
* ✅ Spec: workflow_instance_id, workflow_id, trigger_message, trigger_metadata, runtime_env
|
|
23
|
+
* ✅ Status: phase, tasks, output, error, timestamps
|
|
24
|
+
*
|
|
25
|
+
* Instance Resolution (matches AgentExecution pattern):
|
|
26
|
+
* - Either workflow_instance_id OR workflow_id must be provided
|
|
27
|
+
* - If workflow_instance_id: Use the specified instance directly
|
|
28
|
+
* - If workflow_id: Resolve to workflow's default instance (auto-create if missing)
|
|
29
|
+
* - Handler enforces: at least one must be provided
|
|
30
|
+
*
|
|
31
|
+
* Example Use Case 1 (Direct Instance Reference):
|
|
32
|
+
* spec {
|
|
33
|
+
* workflow_instance_id: "wfi-customer-onboarding-prod"
|
|
34
|
+
* trigger_message: "New signup: john.doe@example.com"
|
|
35
|
+
* trigger_metadata: {
|
|
36
|
+
* "source": "web_signup_form"
|
|
37
|
+
* "ip_address": "203.0.113.42"
|
|
38
|
+
* "referrer": "https://marketing.example.com/campaign"
|
|
39
|
+
* "timestamp": "2025-01-11T14:30:22Z"
|
|
40
|
+
* }
|
|
41
|
+
* runtime_env: {
|
|
42
|
+
* "CUSTOMER_EMAIL": { value: "john.doe@example.com" }
|
|
43
|
+
* "CUSTOMER_PLAN": { value: "pro" }
|
|
44
|
+
* "STRIPE_API_KEY": { secret_ref: "sec-stripe-prod" }
|
|
45
|
+
* }
|
|
46
|
+
* }
|
|
47
|
+
*
|
|
48
|
+
* Example Use Case 2 (Default Instance Resolution):
|
|
49
|
+
* spec {
|
|
50
|
+
* workflow_id: "wf-customer-onboarding" // System resolves to default instance
|
|
51
|
+
* trigger_message: "New signup: john.doe@example.com"
|
|
52
|
+
* runtime_env: {
|
|
53
|
+
* "CUSTOMER_EMAIL": { value: "john.doe@example.com" }
|
|
54
|
+
* }
|
|
55
|
+
* }
|
|
56
|
+
*
|
|
57
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionSpec
|
|
58
|
+
*/
|
|
59
|
+
export type WorkflowExecutionSpec = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionSpec"> & {
|
|
60
|
+
/**
|
|
61
|
+
* ID of the WorkflowInstance to execute (optional).
|
|
62
|
+
*
|
|
63
|
+
* The WorkflowInstance contains:
|
|
64
|
+
* - Reference to the Workflow template (orchestration definition)
|
|
65
|
+
* - Environment bindings (configuration and secrets)
|
|
66
|
+
* - Default configuration values
|
|
67
|
+
*
|
|
68
|
+
* Format: "wfi-{slug}" (e.g., "wfi-customer-onboarding-prod")
|
|
69
|
+
*
|
|
70
|
+
* Relationship:
|
|
71
|
+
* Workflow (template) → WorkflowInstance (config + secrets) → WorkflowExecution (runtime)
|
|
72
|
+
*
|
|
73
|
+
* Example:
|
|
74
|
+
* workflow_instance_id: "wfi-customer-onboarding-prod"
|
|
75
|
+
*
|
|
76
|
+
* The workflow_instance_id determines:
|
|
77
|
+
* - Which Workflow template to execute (the orchestration blueprint)
|
|
78
|
+
* - Which Environments provide configuration and secrets
|
|
79
|
+
* - What default values apply (if runtime_env doesn't override)
|
|
80
|
+
*
|
|
81
|
+
* Authorization:
|
|
82
|
+
* User must have "execute" permission on the referenced WorkflowInstance.
|
|
83
|
+
*
|
|
84
|
+
* Note: Either workflow_instance_id OR workflow_id must be provided.
|
|
85
|
+
* Handler enforces this validation.
|
|
86
|
+
*
|
|
87
|
+
* @generated from field: string workflow_instance_id = 1;
|
|
88
|
+
*/
|
|
89
|
+
workflowInstanceId: string;
|
|
90
|
+
/**
|
|
91
|
+
* ID of the Workflow template to execute (optional).
|
|
92
|
+
*
|
|
93
|
+
* When workflow_id is provided without workflow_instance_id, the system:
|
|
94
|
+
* 1. Checks if the Workflow has a default_instance_id in its status
|
|
95
|
+
* 2. If exists: Uses the default instance
|
|
96
|
+
* 3. If missing: Auto-creates a default instance (name: "{workflow_slug}-default")
|
|
97
|
+
* 4. Updates the Workflow status with the default_instance_id
|
|
98
|
+
* 5. Executes using the resolved instance
|
|
99
|
+
*
|
|
100
|
+
* Format: "wf-{slug}" (e.g., "wf-customer-onboarding")
|
|
101
|
+
*
|
|
102
|
+
* This provides a simpler UX for common cases where users want to
|
|
103
|
+
* "just execute a workflow" without manually managing instances.
|
|
104
|
+
*
|
|
105
|
+
* Use Cases:
|
|
106
|
+
* - Quick workflow execution without instance setup
|
|
107
|
+
* - Development and testing (use default instance)
|
|
108
|
+
* - Simple workflows that don't need custom configuration
|
|
109
|
+
*
|
|
110
|
+
* For advanced use cases requiring custom environment bindings or
|
|
111
|
+
* multiple instances with different configurations, use workflow_instance_id.
|
|
112
|
+
*
|
|
113
|
+
* Authorization:
|
|
114
|
+
* User must have "execute" permission on the resolved WorkflowInstance.
|
|
115
|
+
*
|
|
116
|
+
* Note: Either workflow_instance_id OR workflow_id must be provided.
|
|
117
|
+
* Handler enforces this validation.
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: string workflow_id = 6;
|
|
120
|
+
*/
|
|
121
|
+
workflowId: string;
|
|
122
|
+
/**
|
|
123
|
+
* Input message or payload for the workflow.
|
|
124
|
+
*
|
|
125
|
+
* This is the primary input to the workflow - the "trigger event" or "request payload".
|
|
126
|
+
* It can be:
|
|
127
|
+
* - A human-readable message (for conversational workflows)
|
|
128
|
+
* - A JSON payload (for API-triggered workflows)
|
|
129
|
+
* - An event description (for webhook/event-driven workflows)
|
|
130
|
+
*
|
|
131
|
+
* The workflow can access this value using: {{workflow.input.trigger_message}}
|
|
132
|
+
* Tasks can reference it in their input configurations.
|
|
133
|
+
*
|
|
134
|
+
* Examples:
|
|
135
|
+
*
|
|
136
|
+
* Conversational workflow:
|
|
137
|
+
* trigger_message: "Analyze sentiment of recent customer feedback"
|
|
138
|
+
*
|
|
139
|
+
* API workflow:
|
|
140
|
+
* trigger_message: '{"customer_id": "cus-abc123", "action": "upgrade_plan"}'
|
|
141
|
+
*
|
|
142
|
+
* Event-driven workflow:
|
|
143
|
+
* trigger_message: "Payment received: $99.00 for order #12345"
|
|
144
|
+
*
|
|
145
|
+
* The trigger_message is optional - some workflows don't need input (scheduled jobs,
|
|
146
|
+
* workflows that fetch data from APIs, etc.).
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: string trigger_message = 3;
|
|
149
|
+
*/
|
|
150
|
+
triggerMessage: string;
|
|
151
|
+
/**
|
|
152
|
+
* Trigger context metadata.
|
|
153
|
+
*
|
|
154
|
+
* Contains contextual information about who/what triggered this execution and how.
|
|
155
|
+
* This metadata is NOT used by the workflow logic itself - it's for audit, debugging,
|
|
156
|
+
* and analytics.
|
|
157
|
+
*
|
|
158
|
+
* Common metadata keys:
|
|
159
|
+
* - "source": How was this triggered? (api, webhook, schedule, manual, ui)
|
|
160
|
+
* - "caller_id": Who triggered it? (usr-abc123, sys-scheduler, webhook-stripe)
|
|
161
|
+
* - "ip_address": Client IP address (for API/UI triggers)
|
|
162
|
+
* - "user_agent": Client user agent (for API/UI triggers)
|
|
163
|
+
* - "referrer": HTTP referrer (for UI triggers)
|
|
164
|
+
* - "webhook_id": Webhook ID (for webhook triggers)
|
|
165
|
+
* - "schedule_id": Schedule ID (for scheduled triggers)
|
|
166
|
+
* - "timestamp": When was it triggered? (ISO 8601)
|
|
167
|
+
*
|
|
168
|
+
* Example (API trigger):
|
|
169
|
+
* trigger_metadata: {
|
|
170
|
+
* "source": "api"
|
|
171
|
+
* "caller_id": "usr-john-doe"
|
|
172
|
+
* "ip_address": "203.0.113.42"
|
|
173
|
+
* "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)"
|
|
174
|
+
* "timestamp": "2025-01-11T14:30:22Z"
|
|
175
|
+
* }
|
|
176
|
+
*
|
|
177
|
+
* Example (webhook trigger):
|
|
178
|
+
* trigger_metadata: {
|
|
179
|
+
* "source": "webhook"
|
|
180
|
+
* "webhook_id": "whk-stripe-payment-received"
|
|
181
|
+
* "webhook_source": "stripe.com"
|
|
182
|
+
* "event_type": "payment_intent.succeeded"
|
|
183
|
+
* "timestamp": "2025-01-11T14:30:22Z"
|
|
184
|
+
* }
|
|
185
|
+
*
|
|
186
|
+
* Use Cases:
|
|
187
|
+
* - Audit trail: Who triggered this execution and when?
|
|
188
|
+
* - Analytics: Which trigger sources are most common?
|
|
189
|
+
* - Debugging: Was this triggered by a webhook or manually?
|
|
190
|
+
* - Rate limiting: Limit executions per user/source
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: map<string, string> trigger_metadata = 4;
|
|
193
|
+
*/
|
|
194
|
+
triggerMetadata: {
|
|
195
|
+
[key: string]: string;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Runtime environment variables and secrets (execution-scoped).
|
|
199
|
+
*
|
|
200
|
+
* These values are only available for this specific execution and override values
|
|
201
|
+
* from Environments and Workflow defaults.
|
|
202
|
+
*
|
|
203
|
+
* Merge Priority (highest to lowest):
|
|
204
|
+
* 1. runtime_env (this field) - Execution-specific overrides
|
|
205
|
+
* 2. Environment values (from WorkflowInstance.environment_ids)
|
|
206
|
+
* 3. Workflow defaults (from Workflow.default_env)
|
|
207
|
+
*
|
|
208
|
+
* Use Cases:
|
|
209
|
+
*
|
|
210
|
+
* 1. B2B SaaS Integrations (e.g., Plant & Cloud):
|
|
211
|
+
* runtime_env: {
|
|
212
|
+
* "CUSTOMER_API_KEY": { secret_ref: "sec-customer-abc-api-key" }
|
|
213
|
+
* "CUSTOMER_WORKSPACE_ID": { value: "ws-customer-abc" }
|
|
214
|
+
* }
|
|
215
|
+
*
|
|
216
|
+
* 2. Dynamic Configuration:
|
|
217
|
+
* runtime_env: {
|
|
218
|
+
* "DEPLOYMENT_REGION": { value: "us-west-2" }
|
|
219
|
+
* "ENABLE_BETA_FEATURES": { value: "true" }
|
|
220
|
+
* }
|
|
221
|
+
*
|
|
222
|
+
* 3. Temporary Overrides (testing, debugging):
|
|
223
|
+
* runtime_env: {
|
|
224
|
+
* "LOG_LEVEL": { value: "debug" }
|
|
225
|
+
* "DRY_RUN": { value: "true" }
|
|
226
|
+
* }
|
|
227
|
+
*
|
|
228
|
+
* Value Types:
|
|
229
|
+
* - value: Plain text value (not encrypted, use for non-sensitive config)
|
|
230
|
+
* - secret_ref: Reference to a Secret resource (encrypted, use for API keys, passwords)
|
|
231
|
+
*
|
|
232
|
+
* Security:
|
|
233
|
+
* - runtime_env values are stored in ExecutionContext
|
|
234
|
+
* - ExecutionContext is deleted when execution completes (ephemeral secrets)
|
|
235
|
+
* - Secret references are resolved at runtime (never exposed in logs)
|
|
236
|
+
*
|
|
237
|
+
* Example:
|
|
238
|
+
* runtime_env: {
|
|
239
|
+
* "CUSTOMER_EMAIL": {
|
|
240
|
+
* value: "john.doe@example.com"
|
|
241
|
+
* }
|
|
242
|
+
* "STRIPE_API_KEY": {
|
|
243
|
+
* secret_ref: "sec-stripe-prod"
|
|
244
|
+
* }
|
|
245
|
+
* "WEBHOOK_URL": {
|
|
246
|
+
* secret_ref: "sec-webhook-callback-url"
|
|
247
|
+
* }
|
|
248
|
+
* "ENABLE_NOTIFICATIONS": {
|
|
249
|
+
* value: "true"
|
|
250
|
+
* }
|
|
251
|
+
* }
|
|
252
|
+
*
|
|
253
|
+
* Tasks can access these values using: {{env.VARIABLE_NAME}}
|
|
254
|
+
*
|
|
255
|
+
* @generated from field: map<string, ai.stigmer.agentic.executioncontext.v1.ExecutionValue> runtime_env = 5;
|
|
256
|
+
*/
|
|
257
|
+
runtimeEnv: {
|
|
258
|
+
[key: string]: ExecutionValue;
|
|
259
|
+
};
|
|
260
|
+
/**
|
|
261
|
+
* Temporal task token for async activity completion (optional).
|
|
262
|
+
*
|
|
263
|
+
* **Purpose**: Enables async activity completion pattern where the caller
|
|
264
|
+
* (typically a parent workflow or orchestrator) waits for actual workflow completion
|
|
265
|
+
* without blocking worker threads.
|
|
266
|
+
*
|
|
267
|
+
* **Flow**:
|
|
268
|
+
* 1. Caller (Temporal activity) extracts its task token
|
|
269
|
+
* 2. Passes token in this field when creating WorkflowExecution
|
|
270
|
+
* 3. Returns activity.ErrResultPending (activity paused, thread released)
|
|
271
|
+
* 4. Workflow executes (minutes/hours later)
|
|
272
|
+
* 5. Workflow calls ActivityCompletionClient.complete(token, result)
|
|
273
|
+
* 6. Temporal resumes the paused activity with the result
|
|
274
|
+
*
|
|
275
|
+
* **Benefits**:
|
|
276
|
+
* - Correctness: Caller waits for actual completion, not just ACK
|
|
277
|
+
* - Scalability: Worker threads not blocked during long-running execution
|
|
278
|
+
* - Resilience: Token is durable in Temporal; survives restarts
|
|
279
|
+
* - Decoupling: Caller doesn't poll or manage workflow lifecycle
|
|
280
|
+
*
|
|
281
|
+
* **When Empty**:
|
|
282
|
+
* - Empty/null = fire-and-forget or direct API call (backward compatible)
|
|
283
|
+
* - Workflow execution proceeds normally, no callback performed
|
|
284
|
+
* - Use case: CLI commands, API requests, non-workflow triggers
|
|
285
|
+
*
|
|
286
|
+
* **When Provided**:
|
|
287
|
+
* - Workflow MUST complete the external activity using this token
|
|
288
|
+
* - Both success and failure paths must call completion
|
|
289
|
+
* - Token uniquely identifies the external activity execution
|
|
290
|
+
*
|
|
291
|
+
* **Token Format**:
|
|
292
|
+
* - Opaque binary blob from Temporal SDK (typically 100-200 bytes)
|
|
293
|
+
* - Contains: namespace, workflow ID, run ID, activity ID, attempt
|
|
294
|
+
* - DO NOT parse or modify - treat as opaque handle
|
|
295
|
+
*
|
|
296
|
+
* **Security**:
|
|
297
|
+
* - Token grants ability to complete the activity (bearer token)
|
|
298
|
+
* - Should only be passed through trusted internal services
|
|
299
|
+
* - Logged as Base64-encoded string (truncated for security)
|
|
300
|
+
*
|
|
301
|
+
* **Timeout**:
|
|
302
|
+
* - Caller should set StartToCloseTimeout (e.g., 24 hours)
|
|
303
|
+
* - If token callback never arrives, activity times out
|
|
304
|
+
* - Prevents infinite hangs if workflow crashes
|
|
305
|
+
*
|
|
306
|
+
* **Observability**:
|
|
307
|
+
* - Token is logged at creation time (Base64, first 20 chars)
|
|
308
|
+
* - Activity appears as "Running" in Temporal UI until completed
|
|
309
|
+
* - Both caller workflow and this workflow visible in Temporal
|
|
310
|
+
*
|
|
311
|
+
* **Consistency with AgentExecution**:
|
|
312
|
+
* - Same pattern as AgentExecution.spec.callback_token
|
|
313
|
+
* - Enables workflow-calling-workflow scenarios
|
|
314
|
+
* - Future: WorkflowExecution calling WorkflowExecution
|
|
315
|
+
*
|
|
316
|
+
* **References**:
|
|
317
|
+
* - ADR: docs/adr/20260122-async-agent-execution-temporal-token-handshake.md
|
|
318
|
+
* - Temporal Docs: https://docs.temporal.io/activities#asynchronous-activity-completion
|
|
319
|
+
* - Go SDK: https://pkg.go.dev/go.temporal.io/sdk/activity#ErrResultPending
|
|
320
|
+
* - Java SDK: https://www.javadoc.io/doc/io.temporal/temporal-sdk/latest/io/temporal/client/ActivityCompletionClient.html
|
|
321
|
+
*
|
|
322
|
+
* @since 2026-01-22 (Phase 3: Workflow Async Completion)
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: bytes callback_token = 7;
|
|
325
|
+
*/
|
|
326
|
+
callbackToken: Uint8Array;
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionSpec.
|
|
330
|
+
* Use `create(WorkflowExecutionSpecSchema)` to create a new message.
|
|
331
|
+
*/
|
|
332
|
+
export declare const WorkflowExecutionSpecSchema: GenMessage<WorkflowExecutionSpec>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/workflowexecution/v1/spec.proto (package ai.stigmer.agentic.workflowexecution.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_executioncontext_v1_spec } from "../../executioncontext/v1/spec_pb";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file ai/stigmer/agentic/workflowexecution/v1/spec.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_ai_stigmer_agentic_workflowexecution_v1_spec = /*@__PURE__*/ fileDesc("CjJhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3dleGVjdXRpb24vdjEvc3BlYy5wcm90bxInYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93ZXhlY3V0aW9uLnYxIvIDChVXb3JrZmxvd0V4ZWN1dGlvblNwZWMSHAoUd29ya2Zsb3dfaW5zdGFuY2VfaWQYASABKAkSEwoLd29ya2Zsb3dfaWQYBiABKAkSFwoPdHJpZ2dlcl9tZXNzYWdlGAMgASgJEm0KEHRyaWdnZXJfbWV0YWRhdGEYBCADKAsyUy5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3dleGVjdXRpb24udjEuV29ya2Zsb3dFeGVjdXRpb25TcGVjLlRyaWdnZXJNZXRhZGF0YUVudHJ5EmMKC3J1bnRpbWVfZW52GAUgAygLMk4uYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93ZXhlY3V0aW9uLnYxLldvcmtmbG93RXhlY3V0aW9uU3BlYy5SdW50aW1lRW52RW50cnkSFgoOY2FsbGJhY2tfdG9rZW4YByABKAwaNgoUVHJpZ2dlck1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ARppCg9SdW50aW1lRW52RW50cnkSCwoDa2V5GAEgASgJEkUKBXZhbHVlGAIgASgLMjYuYWkuc3RpZ21lci5hZ2VudGljLmV4ZWN1dGlvbmNvbnRleHQudjEuRXhlY3V0aW9uVmFsdWU6AjgBYgZwcm90bzM", [file_ai_stigmer_agentic_executioncontext_v1_spec]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionSpec.
|
|
12
|
+
* Use `create(WorkflowExecutionSpecSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const WorkflowExecutionSpecSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflowexecution_v1_spec, 0);
|
|
15
|
+
//# sourceMappingURL=spec_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,2IAA2I;AAC3I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,gDAAgD,EAAE,MAAM,mCAAmC,CAAC;AAGrG;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,qyBAAqyB,EAAE,CAAC,gDAAgD,CAAC,CAAC,CAAC;AAoUt2B;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { WorkflowInstanceSpec } from "./spec_pb";
|
|
3
|
+
import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb";
|
|
4
|
+
import type { ApiResourceAuditStatus } from "../../../commons/apiresource/status_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file ai/stigmer/agentic/workflowinstance/v1/api.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_ai_stigmer_agentic_workflowinstance_v1_api: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* WorkflowInstance represents a configured deployment of a Workflow template.
|
|
12
|
+
*
|
|
13
|
+
* WorkflowInstance is the "Instance" layer in the Template→Instance→Execution pattern.
|
|
14
|
+
* It binds a reusable Workflow template to specific environments containing credentials,
|
|
15
|
+
* configuration, and secrets needed for execution.
|
|
16
|
+
*
|
|
17
|
+
* A WorkflowInstance:
|
|
18
|
+
* - References a Workflow template (the orchestration blueprint)
|
|
19
|
+
* - Binds one or more Environment resources (configuration + secrets)
|
|
20
|
+
* - Can be executed multiple times via WorkflowExecution resources
|
|
21
|
+
* - Can be platform-scoped (global defaults), org-scoped (team instances), or user-scoped (personal)
|
|
22
|
+
*
|
|
23
|
+
* Example use case:
|
|
24
|
+
* Workflow "deploy-to-cloud" (template) → WorkflowInstance "prod-deploy" (with aws-prod-env)
|
|
25
|
+
* → WorkflowExecution "prod-deploy-20250111-001" (specific run)
|
|
26
|
+
*
|
|
27
|
+
* This separation allows:
|
|
28
|
+
* - Workflow templates to be reusable across teams/environments
|
|
29
|
+
* - Instances to maintain stateful configuration with secrets
|
|
30
|
+
* - Executions to track individual runs with results
|
|
31
|
+
*
|
|
32
|
+
* @generated from message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstance
|
|
33
|
+
*/
|
|
34
|
+
export type WorkflowInstance = Message<"ai.stigmer.agentic.workflowinstance.v1.WorkflowInstance"> & {
|
|
35
|
+
/**
|
|
36
|
+
* API version for this resource type.
|
|
37
|
+
* Format: 'agentic.stigmer.ai/v1'
|
|
38
|
+
* Validated as const to ensure version consistency.
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: string api_version = 1;
|
|
41
|
+
*/
|
|
42
|
+
apiVersion: string;
|
|
43
|
+
/**
|
|
44
|
+
* Resource kind identifier.
|
|
45
|
+
* Must be exactly 'WorkflowInstance' to match the message name.
|
|
46
|
+
* Validated as const for type safety.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: string kind = 2;
|
|
49
|
+
*/
|
|
50
|
+
kind: string;
|
|
51
|
+
/**
|
|
52
|
+
* Standard resource metadata including name, id, slug, labels, tags, and annotations.
|
|
53
|
+
* WorkflowInstances belong to an organization. Visibility controls access:
|
|
54
|
+
* - PUBLIC: Shared templates accessible to all users
|
|
55
|
+
* - PRIVATE: Organization-internal instances
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceMetadata metadata = 3;
|
|
58
|
+
*/
|
|
59
|
+
metadata?: ApiResourceMetadata;
|
|
60
|
+
/**
|
|
61
|
+
* User-provided configuration for this workflow instance.
|
|
62
|
+
* Defines which Workflow template to use and which Environments provide configuration/secrets.
|
|
63
|
+
* See WorkflowInstanceSpec for detailed field documentation.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceSpec spec = 4;
|
|
66
|
+
*/
|
|
67
|
+
spec?: WorkflowInstanceSpec;
|
|
68
|
+
/**
|
|
69
|
+
* System-managed status and audit information.
|
|
70
|
+
* Contains creation/update timestamps, version number, and other audit metadata.
|
|
71
|
+
* This is a simple status (no custom execution state) since WorkflowInstance is configuration only.
|
|
72
|
+
* Execution state is tracked in WorkflowExecution resources.
|
|
73
|
+
*
|
|
74
|
+
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceAuditStatus status = 5;
|
|
75
|
+
*/
|
|
76
|
+
status?: ApiResourceAuditStatus;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstance.
|
|
80
|
+
* Use `create(WorkflowInstanceSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export declare const WorkflowInstanceSchema: GenMessage<WorkflowInstance>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/workflowinstance/v1/api.proto (package ai.stigmer.agentic.workflowinstance.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_workflowinstance_v1_spec } from "./spec_pb";
|
|
6
|
+
import { file_ai_stigmer_commons_apiresource_metadata } from "../../../commons/apiresource/metadata_pb";
|
|
7
|
+
import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb";
|
|
8
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file ai/stigmer/agentic/workflowinstance/v1/api.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_ai_stigmer_agentic_workflowinstance_v1_api = /*@__PURE__*/ fileDesc("CjBhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3dpbnN0YW5jZS92MS9hcGkucHJvdG8SJmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvd2luc3RhbmNlLnYxIs8CChBXb3JrZmxvd0luc3RhbmNlEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEiUKBGtpbmQYAiABKAlCF7pIFHISChBXb3JrZmxvd0luc3RhbmNlEk0KCG1ldGFkYXRhGAMgASgLMjMuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlTWV0YWRhdGFCBrpIA8gBARJKCgRzcGVjGAQgASgLMjwuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93aW5zdGFuY2UudjEuV29ya2Zsb3dJbnN0YW5jZVNwZWMSRgoGc3RhdHVzGAUgASgLMjYuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXRTdGF0dXNiBnByb3RvMw", [file_ai_stigmer_agentic_workflowinstance_v1_spec, file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstance.
|
|
15
|
+
* Use `create(WorkflowInstanceSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const WorkflowInstanceSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflowinstance_v1_api, 0);
|
|
18
|
+
//# sourceMappingURL=api_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowinstance/v1/api_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,wIAAwI;AACxI,oBAAoB;AAWpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,gDAAgD,EAAE,MAAM,WAAW,CAAC;AAE7E,OAAO,EAAE,4CAA4C,EAAE,MAAM,0CAA0C,CAAC;AAExG,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAY,aAAa,CACnF,QAAQ,CAAC,wkBAAwkB,EAAE,CAAC,gDAAgD,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA2E/vB;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WorkflowInstanceCommandController handles write operations (Create, Update, Delete) for WorkflowInstance resources.
|
|
3
|
+
*
|
|
4
|
+
* This service provides the CUD (Create, Update, Delete) operations following the
|
|
5
|
+
* Command-Query Separation pattern. All RPCs that modify state go through this controller.
|
|
6
|
+
*
|
|
7
|
+
* Authorization:
|
|
8
|
+
* - create: Custom authorization logic (validates workflow_id access, env_refs access)
|
|
9
|
+
* - update: Standard authorization (requires update permission on the instance)
|
|
10
|
+
* - delete: Standard authorization (requires delete permission on the instance)
|
|
11
|
+
*
|
|
12
|
+
* All workflow instances belong to an organization.
|
|
13
|
+
*
|
|
14
|
+
* @generated from service ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController
|
|
15
|
+
*/
|
|
16
|
+
export declare const WorkflowInstanceCommandController: {
|
|
17
|
+
readonly typeName: "ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController";
|
|
18
|
+
readonly methods: {
|
|
19
|
+
/**
|
|
20
|
+
* Create or update a workflow instance.
|
|
21
|
+
* The authorization and state-operation are determined depending on whether the workflow instance
|
|
22
|
+
* is going to be created or updated which is determined as part of the request execution.
|
|
23
|
+
*
|
|
24
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.apply
|
|
25
|
+
*/
|
|
26
|
+
readonly apply: {
|
|
27
|
+
readonly name: "apply";
|
|
28
|
+
readonly I: any;
|
|
29
|
+
readonly O: any;
|
|
30
|
+
readonly kind: any;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Create a new workflow instance.
|
|
34
|
+
*
|
|
35
|
+
* Creates a configured deployment of a Workflow template with environment bindings.
|
|
36
|
+
*
|
|
37
|
+
* Input validation:
|
|
38
|
+
* - metadata.org must be specified
|
|
39
|
+
* - spec.workflow_id must be a valid Workflow resource ID
|
|
40
|
+
* - spec.env_refs must reference valid Environment resources
|
|
41
|
+
*
|
|
42
|
+
* Authorization:
|
|
43
|
+
* Uses custom authorization logic to verify:
|
|
44
|
+
* 1. User has permission to access the referenced Workflow template
|
|
45
|
+
* 2. User has permission to access all referenced Environment resources
|
|
46
|
+
* 3. Owner scope is valid for the user's organization/identity
|
|
47
|
+
*
|
|
48
|
+
* Returns:
|
|
49
|
+
* The created WorkflowInstance with:
|
|
50
|
+
* - Assigned resource ID (metadata.id)
|
|
51
|
+
* - Created timestamp (status.audit.created_at)
|
|
52
|
+
* - Initial version (status.audit.version = 1)
|
|
53
|
+
*
|
|
54
|
+
* Example:
|
|
55
|
+
* Input: WorkflowInstance with workflow_id="wfl-123", env_refs=["env-prod"]
|
|
56
|
+
* Output: WorkflowInstance with id="wfi-abc456", created_at="2025-01-11T10:00:00Z"
|
|
57
|
+
*
|
|
58
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.create
|
|
59
|
+
*/
|
|
60
|
+
readonly create: {
|
|
61
|
+
readonly name: "create";
|
|
62
|
+
readonly I: any;
|
|
63
|
+
readonly O: any;
|
|
64
|
+
readonly kind: any;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Update an existing workflow instance.
|
|
68
|
+
*
|
|
69
|
+
* Modifies the configuration of an existing WorkflowInstance.
|
|
70
|
+
* You can update:
|
|
71
|
+
* - spec.description (change descriptive text)
|
|
72
|
+
* - spec.env_refs (add/remove/reorder environment bindings)
|
|
73
|
+
* - metadata.labels, metadata.tags, metadata.annotations
|
|
74
|
+
*
|
|
75
|
+
* You cannot update:
|
|
76
|
+
* - spec.workflow_id (must delete and recreate to change template)
|
|
77
|
+
* - metadata.id (immutable resource identifier)
|
|
78
|
+
* - metadata.org (immutable after creation)
|
|
79
|
+
*
|
|
80
|
+
* Authorization:
|
|
81
|
+
* Requires "update" permission on the specific WorkflowInstance resource.
|
|
82
|
+
* Field path "metadata.id" identifies which resource to authorize.
|
|
83
|
+
*
|
|
84
|
+
* Versioning:
|
|
85
|
+
* Each update increments status.audit.version and updates status.audit.updated_at.
|
|
86
|
+
*
|
|
87
|
+
* Returns:
|
|
88
|
+
* The updated WorkflowInstance with:
|
|
89
|
+
* - Incremented version number
|
|
90
|
+
* - Updated timestamp
|
|
91
|
+
* - Modified spec fields
|
|
92
|
+
*
|
|
93
|
+
* Error: PERMISSION_DENIED if user lacks update permission
|
|
94
|
+
*
|
|
95
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.update
|
|
96
|
+
*/
|
|
97
|
+
readonly update: {
|
|
98
|
+
readonly name: "update";
|
|
99
|
+
readonly I: any;
|
|
100
|
+
readonly O: any;
|
|
101
|
+
readonly kind: any;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Delete a workflow instance.
|
|
105
|
+
*
|
|
106
|
+
* Permanently removes a WorkflowInstance resource.
|
|
107
|
+
*
|
|
108
|
+
* Important:
|
|
109
|
+
* - Deletion is permanent and cannot be undone
|
|
110
|
+
* - Does NOT delete the referenced Workflow template (templates are reusable)
|
|
111
|
+
* - Does NOT delete the referenced Environment resources (environments are reusable)
|
|
112
|
+
* - DOES cascade delete any dependent WorkflowExecution resources (executions belong to instance)
|
|
113
|
+
*
|
|
114
|
+
* Authorization:
|
|
115
|
+
* Requires "delete" permission on the specific WorkflowInstance resource.
|
|
116
|
+
* Field path "value" extracts the resource ID from WorkflowInstanceId wrapper.
|
|
117
|
+
*
|
|
118
|
+
* Use Cases:
|
|
119
|
+
* - Remove deprecated instances
|
|
120
|
+
* - Clean up test/dev instances
|
|
121
|
+
* - Decommission old deployment configurations
|
|
122
|
+
*
|
|
123
|
+
* Returns:
|
|
124
|
+
* The deleted WorkflowInstance (final state before deletion).
|
|
125
|
+
* Useful for audit logs and confirming what was deleted.
|
|
126
|
+
*
|
|
127
|
+
* Error: PERMISSION_DENIED if user lacks delete permission
|
|
128
|
+
* Error: NOT_FOUND if instance ID doesn't exist
|
|
129
|
+
*
|
|
130
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.delete
|
|
131
|
+
*/
|
|
132
|
+
readonly delete: {
|
|
133
|
+
readonly name: "delete";
|
|
134
|
+
readonly I: any;
|
|
135
|
+
readonly O: any;
|
|
136
|
+
readonly kind: any;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|