@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,145 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/workflowinstance/v1/command.proto (package ai.stigmer.agentic.workflowinstance.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* WorkflowInstanceCommandController handles write operations (Create, Update, Delete) for WorkflowInstance resources.
|
|
8
|
+
*
|
|
9
|
+
* This service provides the CUD (Create, Update, Delete) operations following the
|
|
10
|
+
* Command-Query Separation pattern. All RPCs that modify state go through this controller.
|
|
11
|
+
*
|
|
12
|
+
* Authorization:
|
|
13
|
+
* - create: Custom authorization logic (validates workflow_id access, env_refs access)
|
|
14
|
+
* - update: Standard authorization (requires update permission on the instance)
|
|
15
|
+
* - delete: Standard authorization (requires delete permission on the instance)
|
|
16
|
+
*
|
|
17
|
+
* All workflow instances belong to an organization.
|
|
18
|
+
*
|
|
19
|
+
* @generated from service ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController
|
|
20
|
+
*/
|
|
21
|
+
export const WorkflowInstanceCommandController = {
|
|
22
|
+
typeName: "ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController",
|
|
23
|
+
methods: {
|
|
24
|
+
/**
|
|
25
|
+
* Create or update a workflow instance.
|
|
26
|
+
* The authorization and state-operation are determined depending on whether the workflow instance
|
|
27
|
+
* is going to be created or updated which is determined as part of the request execution.
|
|
28
|
+
*
|
|
29
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.apply
|
|
30
|
+
*/
|
|
31
|
+
apply: {
|
|
32
|
+
name: "apply",
|
|
33
|
+
I: WorkflowInstance,
|
|
34
|
+
O: WorkflowInstance,
|
|
35
|
+
kind: MethodKind.Unary,
|
|
36
|
+
},
|
|
37
|
+
/**
|
|
38
|
+
* Create a new workflow instance.
|
|
39
|
+
*
|
|
40
|
+
* Creates a configured deployment of a Workflow template with environment bindings.
|
|
41
|
+
*
|
|
42
|
+
* Input validation:
|
|
43
|
+
* - metadata.org must be specified
|
|
44
|
+
* - spec.workflow_id must be a valid Workflow resource ID
|
|
45
|
+
* - spec.env_refs must reference valid Environment resources
|
|
46
|
+
*
|
|
47
|
+
* Authorization:
|
|
48
|
+
* Uses custom authorization logic to verify:
|
|
49
|
+
* 1. User has permission to access the referenced Workflow template
|
|
50
|
+
* 2. User has permission to access all referenced Environment resources
|
|
51
|
+
* 3. Owner scope is valid for the user's organization/identity
|
|
52
|
+
*
|
|
53
|
+
* Returns:
|
|
54
|
+
* The created WorkflowInstance with:
|
|
55
|
+
* - Assigned resource ID (metadata.id)
|
|
56
|
+
* - Created timestamp (status.audit.created_at)
|
|
57
|
+
* - Initial version (status.audit.version = 1)
|
|
58
|
+
*
|
|
59
|
+
* Example:
|
|
60
|
+
* Input: WorkflowInstance with workflow_id="wfl-123", env_refs=["env-prod"]
|
|
61
|
+
* Output: WorkflowInstance with id="wfi-abc456", created_at="2025-01-11T10:00:00Z"
|
|
62
|
+
*
|
|
63
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.create
|
|
64
|
+
*/
|
|
65
|
+
create: {
|
|
66
|
+
name: "create",
|
|
67
|
+
I: WorkflowInstance,
|
|
68
|
+
O: WorkflowInstance,
|
|
69
|
+
kind: MethodKind.Unary,
|
|
70
|
+
},
|
|
71
|
+
/**
|
|
72
|
+
* Update an existing workflow instance.
|
|
73
|
+
*
|
|
74
|
+
* Modifies the configuration of an existing WorkflowInstance.
|
|
75
|
+
* You can update:
|
|
76
|
+
* - spec.description (change descriptive text)
|
|
77
|
+
* - spec.env_refs (add/remove/reorder environment bindings)
|
|
78
|
+
* - metadata.labels, metadata.tags, metadata.annotations
|
|
79
|
+
*
|
|
80
|
+
* You cannot update:
|
|
81
|
+
* - spec.workflow_id (must delete and recreate to change template)
|
|
82
|
+
* - metadata.id (immutable resource identifier)
|
|
83
|
+
* - metadata.org (immutable after creation)
|
|
84
|
+
*
|
|
85
|
+
* Authorization:
|
|
86
|
+
* Requires "update" permission on the specific WorkflowInstance resource.
|
|
87
|
+
* Field path "metadata.id" identifies which resource to authorize.
|
|
88
|
+
*
|
|
89
|
+
* Versioning:
|
|
90
|
+
* Each update increments status.audit.version and updates status.audit.updated_at.
|
|
91
|
+
*
|
|
92
|
+
* Returns:
|
|
93
|
+
* The updated WorkflowInstance with:
|
|
94
|
+
* - Incremented version number
|
|
95
|
+
* - Updated timestamp
|
|
96
|
+
* - Modified spec fields
|
|
97
|
+
*
|
|
98
|
+
* Error: PERMISSION_DENIED if user lacks update permission
|
|
99
|
+
*
|
|
100
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.update
|
|
101
|
+
*/
|
|
102
|
+
update: {
|
|
103
|
+
name: "update",
|
|
104
|
+
I: WorkflowInstance,
|
|
105
|
+
O: WorkflowInstance,
|
|
106
|
+
kind: MethodKind.Unary,
|
|
107
|
+
},
|
|
108
|
+
/**
|
|
109
|
+
* Delete a workflow instance.
|
|
110
|
+
*
|
|
111
|
+
* Permanently removes a WorkflowInstance resource.
|
|
112
|
+
*
|
|
113
|
+
* Important:
|
|
114
|
+
* - Deletion is permanent and cannot be undone
|
|
115
|
+
* - Does NOT delete the referenced Workflow template (templates are reusable)
|
|
116
|
+
* - Does NOT delete the referenced Environment resources (environments are reusable)
|
|
117
|
+
* - DOES cascade delete any dependent WorkflowExecution resources (executions belong to instance)
|
|
118
|
+
*
|
|
119
|
+
* Authorization:
|
|
120
|
+
* Requires "delete" permission on the specific WorkflowInstance resource.
|
|
121
|
+
* Field path "value" extracts the resource ID from WorkflowInstanceId wrapper.
|
|
122
|
+
*
|
|
123
|
+
* Use Cases:
|
|
124
|
+
* - Remove deprecated instances
|
|
125
|
+
* - Clean up test/dev instances
|
|
126
|
+
* - Decommission old deployment configurations
|
|
127
|
+
*
|
|
128
|
+
* Returns:
|
|
129
|
+
* The deleted WorkflowInstance (final state before deletion).
|
|
130
|
+
* Useful for audit logs and confirming what was deleted.
|
|
131
|
+
*
|
|
132
|
+
* Error: PERMISSION_DENIED if user lacks delete permission
|
|
133
|
+
* Error: NOT_FOUND if instance ID doesn't exist
|
|
134
|
+
*
|
|
135
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.delete
|
|
136
|
+
*/
|
|
137
|
+
delete: {
|
|
138
|
+
name: "delete",
|
|
139
|
+
I: WorkflowInstanceId,
|
|
140
|
+
O: WorkflowInstance,
|
|
141
|
+
kind: MethodKind.Unary,
|
|
142
|
+
},
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
//# sourceMappingURL=command_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowinstance/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,4IAA4I;AAC5I,oBAAoB;AACpB,cAAc;AAKd,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,QAAQ,EAAE,0EAA0E;IACpF,OAAO,EAAE;QACP;;;;;;WAMG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;WA2BG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA8BG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA4BG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { WorkflowInstanceSchema } from "./api_pb";
|
|
3
|
+
import type { WorkflowInstanceIdSchema } from "./io_pb";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/agentic/workflowinstance/v1/command.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_agentic_workflowinstance_v1_command: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* WorkflowInstanceCommandController handles write operations (Create, Update, Delete) for WorkflowInstance resources.
|
|
10
|
+
*
|
|
11
|
+
* This service provides the CUD (Create, Update, Delete) operations following the
|
|
12
|
+
* Command-Query Separation pattern. All RPCs that modify state go through this controller.
|
|
13
|
+
*
|
|
14
|
+
* Authorization:
|
|
15
|
+
* - create: Custom authorization logic (validates workflow_id access, env_refs access)
|
|
16
|
+
* - update: Standard authorization (requires update permission on the instance)
|
|
17
|
+
* - delete: Standard authorization (requires delete permission on the instance)
|
|
18
|
+
*
|
|
19
|
+
* All workflow instances belong to an organization.
|
|
20
|
+
*
|
|
21
|
+
* @generated from service ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController
|
|
22
|
+
*/
|
|
23
|
+
export declare const WorkflowInstanceCommandController: GenService<{
|
|
24
|
+
/**
|
|
25
|
+
* Create or update a workflow instance.
|
|
26
|
+
* The authorization and state-operation are determined depending on whether the workflow instance
|
|
27
|
+
* is going to be created or updated which is determined as part of the request execution.
|
|
28
|
+
*
|
|
29
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.apply
|
|
30
|
+
*/
|
|
31
|
+
apply: {
|
|
32
|
+
methodKind: "unary";
|
|
33
|
+
input: typeof WorkflowInstanceSchema;
|
|
34
|
+
output: typeof WorkflowInstanceSchema;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Create a new workflow instance.
|
|
38
|
+
*
|
|
39
|
+
* Creates a configured deployment of a Workflow template with environment bindings.
|
|
40
|
+
*
|
|
41
|
+
* Input validation:
|
|
42
|
+
* - metadata.org must be specified
|
|
43
|
+
* - spec.workflow_id must be a valid Workflow resource ID
|
|
44
|
+
* - spec.env_refs must reference valid Environment resources
|
|
45
|
+
*
|
|
46
|
+
* Authorization:
|
|
47
|
+
* Uses custom authorization logic to verify:
|
|
48
|
+
* 1. User has permission to access the referenced Workflow template
|
|
49
|
+
* 2. User has permission to access all referenced Environment resources
|
|
50
|
+
* 3. Owner scope is valid for the user's organization/identity
|
|
51
|
+
*
|
|
52
|
+
* Returns:
|
|
53
|
+
* The created WorkflowInstance with:
|
|
54
|
+
* - Assigned resource ID (metadata.id)
|
|
55
|
+
* - Created timestamp (status.audit.created_at)
|
|
56
|
+
* - Initial version (status.audit.version = 1)
|
|
57
|
+
*
|
|
58
|
+
* Example:
|
|
59
|
+
* Input: WorkflowInstance with workflow_id="wfl-123", env_refs=["env-prod"]
|
|
60
|
+
* Output: WorkflowInstance with id="wfi-abc456", created_at="2025-01-11T10:00:00Z"
|
|
61
|
+
*
|
|
62
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.create
|
|
63
|
+
*/
|
|
64
|
+
create: {
|
|
65
|
+
methodKind: "unary";
|
|
66
|
+
input: typeof WorkflowInstanceSchema;
|
|
67
|
+
output: typeof WorkflowInstanceSchema;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Update an existing workflow instance.
|
|
71
|
+
*
|
|
72
|
+
* Modifies the configuration of an existing WorkflowInstance.
|
|
73
|
+
* You can update:
|
|
74
|
+
* - spec.description (change descriptive text)
|
|
75
|
+
* - spec.env_refs (add/remove/reorder environment bindings)
|
|
76
|
+
* - metadata.labels, metadata.tags, metadata.annotations
|
|
77
|
+
*
|
|
78
|
+
* You cannot update:
|
|
79
|
+
* - spec.workflow_id (must delete and recreate to change template)
|
|
80
|
+
* - metadata.id (immutable resource identifier)
|
|
81
|
+
* - metadata.org (immutable after creation)
|
|
82
|
+
*
|
|
83
|
+
* Authorization:
|
|
84
|
+
* Requires "update" permission on the specific WorkflowInstance resource.
|
|
85
|
+
* Field path "metadata.id" identifies which resource to authorize.
|
|
86
|
+
*
|
|
87
|
+
* Versioning:
|
|
88
|
+
* Each update increments status.audit.version and updates status.audit.updated_at.
|
|
89
|
+
*
|
|
90
|
+
* Returns:
|
|
91
|
+
* The updated WorkflowInstance with:
|
|
92
|
+
* - Incremented version number
|
|
93
|
+
* - Updated timestamp
|
|
94
|
+
* - Modified spec fields
|
|
95
|
+
*
|
|
96
|
+
* Error: PERMISSION_DENIED if user lacks update permission
|
|
97
|
+
*
|
|
98
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.update
|
|
99
|
+
*/
|
|
100
|
+
update: {
|
|
101
|
+
methodKind: "unary";
|
|
102
|
+
input: typeof WorkflowInstanceSchema;
|
|
103
|
+
output: typeof WorkflowInstanceSchema;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Delete a workflow instance.
|
|
107
|
+
*
|
|
108
|
+
* Permanently removes a WorkflowInstance resource.
|
|
109
|
+
*
|
|
110
|
+
* Important:
|
|
111
|
+
* - Deletion is permanent and cannot be undone
|
|
112
|
+
* - Does NOT delete the referenced Workflow template (templates are reusable)
|
|
113
|
+
* - Does NOT delete the referenced Environment resources (environments are reusable)
|
|
114
|
+
* - DOES cascade delete any dependent WorkflowExecution resources (executions belong to instance)
|
|
115
|
+
*
|
|
116
|
+
* Authorization:
|
|
117
|
+
* Requires "delete" permission on the specific WorkflowInstance resource.
|
|
118
|
+
* Field path "value" extracts the resource ID from WorkflowInstanceId wrapper.
|
|
119
|
+
*
|
|
120
|
+
* Use Cases:
|
|
121
|
+
* - Remove deprecated instances
|
|
122
|
+
* - Clean up test/dev instances
|
|
123
|
+
* - Decommission old deployment configurations
|
|
124
|
+
*
|
|
125
|
+
* Returns:
|
|
126
|
+
* The deleted WorkflowInstance (final state before deletion).
|
|
127
|
+
* Useful for audit logs and confirming what was deleted.
|
|
128
|
+
*
|
|
129
|
+
* Error: PERMISSION_DENIED if user lacks delete permission
|
|
130
|
+
* Error: NOT_FOUND if instance ID doesn't exist
|
|
131
|
+
*
|
|
132
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.delete
|
|
133
|
+
*/
|
|
134
|
+
delete: {
|
|
135
|
+
methodKind: "unary";
|
|
136
|
+
input: typeof WorkflowInstanceIdSchema;
|
|
137
|
+
output: typeof WorkflowInstanceSchema;
|
|
138
|
+
};
|
|
139
|
+
}>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/workflowinstance/v1/command.proto (package ai.stigmer.agentic.workflowinstance.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_workflowinstance_v1_api } from "./api_pb";
|
|
6
|
+
import { file_ai_stigmer_agentic_workflowinstance_v1_io } from "./io_pb";
|
|
7
|
+
import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb";
|
|
8
|
+
import { file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options } from "../../../iam/iampolicy/v1/rpcauthorization/method_options_pb";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file ai/stigmer/agentic/workflowinstance/v1/command.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_ai_stigmer_agentic_workflowinstance_v1_command = /*@__PURE__*/ fileDesc("CjRhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3dpbnN0YW5jZS92MS9jb21tYW5kLnByb3RvEiZhaS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3dpbnN0YW5jZS52MTKgBQohV29ya2Zsb3dJbnN0YW5jZUNvbW1hbmRDb250cm9sbGVyEnsKBWFwcGx5EjguYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93aW5zdGFuY2UudjEuV29ya2Zsb3dJbnN0YW5jZRo4LmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvd2luc3RhbmNlLnYxLldvcmtmbG93SW5zdGFuY2USfAoGY3JlYXRlEjguYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93aW5zdGFuY2UudjEuV29ya2Zsb3dJbnN0YW5jZRo4LmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvd2luc3RhbmNlLnYxLldvcmtmbG93SW5zdGFuY2USvQEKBnVwZGF0ZRI4LmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvd2luc3RhbmNlLnYxLldvcmtmbG93SW5zdGFuY2UaOC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3dpbnN0YW5jZS52MS5Xb3JrZmxvd0luc3RhbmNlIj/CuBg7CAQQMyILbWV0YWRhdGEuaWQqKHVuYXV0aG9yaXplZCB0byB1cGRhdGUgd29ya2Zsb3cgaW5zdGFuY2USuQEKBmRlbGV0ZRI6LmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvd2luc3RhbmNlLnYxLldvcmtmbG93SW5zdGFuY2VJZBo4LmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvd2luc3RhbmNlLnYxLldvcmtmbG93SW5zdGFuY2UiOcK4GDUIAhAzIgV2YWx1ZSoodW5hdXRob3JpemVkIHRvIGRlbGV0ZSB3b3JrZmxvdyBpbnN0YW5jZRoEoP8rM2IGcHJvdG8z", [file_ai_stigmer_agentic_workflowinstance_v1_api, file_ai_stigmer_agentic_workflowinstance_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options]);
|
|
13
|
+
/**
|
|
14
|
+
* WorkflowInstanceCommandController handles write operations (Create, Update, Delete) for WorkflowInstance resources.
|
|
15
|
+
*
|
|
16
|
+
* This service provides the CUD (Create, Update, Delete) operations following the
|
|
17
|
+
* Command-Query Separation pattern. All RPCs that modify state go through this controller.
|
|
18
|
+
*
|
|
19
|
+
* Authorization:
|
|
20
|
+
* - create: Custom authorization logic (validates workflow_id access, env_refs access)
|
|
21
|
+
* - update: Standard authorization (requires update permission on the instance)
|
|
22
|
+
* - delete: Standard authorization (requires delete permission on the instance)
|
|
23
|
+
*
|
|
24
|
+
* All workflow instances belong to an organization.
|
|
25
|
+
*
|
|
26
|
+
* @generated from service ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController
|
|
27
|
+
*/
|
|
28
|
+
export const WorkflowInstanceCommandController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_agentic_workflowinstance_v1_command, 0);
|
|
29
|
+
//# sourceMappingURL=command_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowinstance/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,4IAA4I;AAC5I,oBAAoB;AAKpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,UAAU,CAAC;AAE3E,OAAO,EAAE,8CAA8C,EAAE,MAAM,SAAS,CAAC;AACzE,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,gEAAgE,EAAE,MAAM,8DAA8D,CAAC;AAEhJ;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAY,aAAa,CACvF,QAAQ,CAAC,8gCAA8gC,EAAE,CAAC,+CAA+C,EAAE,8CAA8C,EAAE,uDAAuD,EAAE,gEAAgE,CAAC,CAAC,CAAC;AAEzvC;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAoHzC,aAAa,CAChB,WAAW,CAAC,mDAAmD,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { WorkflowInstance } from "./api_pb";
|
|
3
|
+
import type { PageInfo } from "../../../commons/rpc/pagination_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file ai/stigmer/agentic/workflowinstance/v1/io.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_ai_stigmer_agentic_workflowinstance_v1_io: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* WorkflowInstanceId wraps a workflow instance identifier for RPC operations.
|
|
11
|
+
*
|
|
12
|
+
* Used as input to RPCs that operate on a single instance:
|
|
13
|
+
* - get: Retrieve a specific instance by ID
|
|
14
|
+
* - delete: Remove a specific instance by ID
|
|
15
|
+
*
|
|
16
|
+
* Format: Resource ID string (e.g., "wfi-abc123")
|
|
17
|
+
* Validation: Required field (must not be empty)
|
|
18
|
+
*
|
|
19
|
+
* @generated from message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceId
|
|
20
|
+
*/
|
|
21
|
+
export type WorkflowInstanceId = Message<"ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceId"> & {
|
|
22
|
+
/**
|
|
23
|
+
* The workflow instance resource ID.
|
|
24
|
+
* Example: "wfi-abc123"
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: string value = 1;
|
|
27
|
+
*/
|
|
28
|
+
value: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceId.
|
|
32
|
+
* Use `create(WorkflowInstanceIdSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export declare const WorkflowInstanceIdSchema: GenMessage<WorkflowInstanceId>;
|
|
35
|
+
/**
|
|
36
|
+
* GetWorkflowInstancesByWorkflowRequest retrieves all instances of a specific Workflow template.
|
|
37
|
+
*
|
|
38
|
+
* This allows you to find all configured deployments of a given Workflow.
|
|
39
|
+
* For example, a "deploy-to-cloud" Workflow might have instances:
|
|
40
|
+
* - "prod-deploy" (with production environments)
|
|
41
|
+
* - "staging-deploy" (with staging environments)
|
|
42
|
+
* - "dev-deploy" (with development environments)
|
|
43
|
+
*
|
|
44
|
+
* Supports pagination for efficient retrieval of large result sets.
|
|
45
|
+
*
|
|
46
|
+
* @generated from message ai.stigmer.agentic.workflowinstance.v1.GetWorkflowInstancesByWorkflowRequest
|
|
47
|
+
*/
|
|
48
|
+
export type GetWorkflowInstancesByWorkflowRequest = Message<"ai.stigmer.agentic.workflowinstance.v1.GetWorkflowInstancesByWorkflowRequest"> & {
|
|
49
|
+
/**
|
|
50
|
+
* Workflow template ID to filter by.
|
|
51
|
+
*
|
|
52
|
+
* Returns all WorkflowInstance resources where spec.workflow_id matches this value.
|
|
53
|
+
* Format: Workflow resource ID (e.g., "wfl-abc123")
|
|
54
|
+
* Validation: Required field
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: string workflow_id = 1;
|
|
57
|
+
*/
|
|
58
|
+
workflowId: string;
|
|
59
|
+
/**
|
|
60
|
+
* Pagination options for controlling result set size and pages.
|
|
61
|
+
*
|
|
62
|
+
* Includes:
|
|
63
|
+
* - page_size: Maximum number of instances per page
|
|
64
|
+
* - page_token: Token from previous response for next page
|
|
65
|
+
*
|
|
66
|
+
* Example pagination flow:
|
|
67
|
+
* 1. Request with page_info.page_size = 20
|
|
68
|
+
* 2. Response includes page_token = "next_page_token_here"
|
|
69
|
+
* 3. Subsequent request with page_info.page_token = "next_page_token_here"
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: ai.stigmer.commons.rpc.PageInfo page_info = 2;
|
|
72
|
+
*/
|
|
73
|
+
pageInfo?: PageInfo;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message ai.stigmer.agentic.workflowinstance.v1.GetWorkflowInstancesByWorkflowRequest.
|
|
77
|
+
* Use `create(GetWorkflowInstancesByWorkflowRequestSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export declare const GetWorkflowInstancesByWorkflowRequestSchema: GenMessage<GetWorkflowInstancesByWorkflowRequest>;
|
|
80
|
+
/**
|
|
81
|
+
* WorkflowInstanceList contains a paginated list of workflow instances.
|
|
82
|
+
*
|
|
83
|
+
* Returned by list and query operations. Includes pagination metadata
|
|
84
|
+
* to support iterating through large result sets.
|
|
85
|
+
*
|
|
86
|
+
* @generated from message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceList
|
|
87
|
+
*/
|
|
88
|
+
export type WorkflowInstanceList = Message<"ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceList"> & {
|
|
89
|
+
/**
|
|
90
|
+
* Total number of pages available in the full result set.
|
|
91
|
+
*
|
|
92
|
+
* Use this to determine if there are more pages to fetch.
|
|
93
|
+
* If total_pages > current_page, more results are available.
|
|
94
|
+
*
|
|
95
|
+
* Example: If total_pages = 5, you can fetch up to 5 pages of results.
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: int32 total_pages = 1;
|
|
98
|
+
*/
|
|
99
|
+
totalPages: number;
|
|
100
|
+
/**
|
|
101
|
+
* Workflow instances in the current page.
|
|
102
|
+
*
|
|
103
|
+
* The number of entries is controlled by the page_size parameter
|
|
104
|
+
* in the request. May be fewer than page_size on the last page.
|
|
105
|
+
*
|
|
106
|
+
* Each entry is a complete WorkflowInstance resource with:
|
|
107
|
+
* - api_version, kind, metadata
|
|
108
|
+
* - spec (workflow_id, description, env_refs)
|
|
109
|
+
* - status (audit information)
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: repeated ai.stigmer.agentic.workflowinstance.v1.WorkflowInstance entries = 2;
|
|
112
|
+
*/
|
|
113
|
+
entries: WorkflowInstance[];
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceList.
|
|
117
|
+
* Use `create(WorkflowInstanceListSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export declare const WorkflowInstanceListSchema: GenMessage<WorkflowInstanceList>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file ai/stigmer/agentic/workflowinstance/v1/io.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_api } from "./api_pb";
|
|
6
|
+
import { file_ai_stigmer_commons_rpc_pagination } from "../../../commons/rpc/pagination_pb";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file ai/stigmer/agentic/workflowinstance/v1/io.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_ai_stigmer_agentic_workflowinstance_v1_io = /*@__PURE__*/ fileDesc("Ci9haS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3dpbnN0YW5jZS92MS9pby5wcm90bxImYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93aW5zdGFuY2UudjEiKwoSV29ya2Zsb3dJbnN0YW5jZUlkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEieQolR2V0V29ya2Zsb3dJbnN0YW5jZXNCeVdvcmtmbG93UmVxdWVzdBIbCgt3b3JrZmxvd19pZBgBIAEoCUIGukgDyAEBEjMKCXBhZ2VfaW5mbxgCIAEoCzIgLmFpLnN0aWdtZXIuY29tbW9ucy5ycGMuUGFnZUluZm8idgoUV29ya2Zsb3dJbnN0YW5jZUxpc3QSEwoLdG90YWxfcGFnZXMYASABKAUSSQoHZW50cmllcxgCIAMoCzI4LmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvd2luc3RhbmNlLnYxLldvcmtmbG93SW5zdGFuY2ViBnByb3RvMw", [file_ai_stigmer_agentic_workflowinstance_v1_api, file_ai_stigmer_commons_rpc_pagination, file_buf_validate_validate]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceId.
|
|
14
|
+
* Use `create(WorkflowInstanceIdSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const WorkflowInstanceIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflowinstance_v1_io, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message ai.stigmer.agentic.workflowinstance.v1.GetWorkflowInstancesByWorkflowRequest.
|
|
19
|
+
* Use `create(GetWorkflowInstancesByWorkflowRequestSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const GetWorkflowInstancesByWorkflowRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflowinstance_v1_io, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceList.
|
|
24
|
+
* Use `create(WorkflowInstanceListSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const WorkflowInstanceListSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflowinstance_v1_io, 2);
|
|
27
|
+
//# sourceMappingURL=io_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowinstance/v1/io_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,uIAAuI;AACvI,oBAAoB;AAQpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,UAAU,CAAC;AAE3E,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAY,aAAa,CAClF,QAAQ,CAAC,ogBAAogB,EAAE,CAAC,+CAA+C,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAwBxoB;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC;AA4CjE;;;GAGG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAsD,aAAa,CACzH,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC;AAuCjE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WorkflowInstanceQueryController handles read operations (Get, List, Search) for WorkflowInstance resources.
|
|
3
|
+
*
|
|
4
|
+
* This service provides all query operations following the Command-Query Separation pattern.
|
|
5
|
+
* All RPCs that read state without modifying it go through this controller.
|
|
6
|
+
*
|
|
7
|
+
* Authorization:
|
|
8
|
+
* - get: Requires get permission on the specific instance
|
|
9
|
+
* - getByWorkflow: Authorization handled in handler via FGA query (returns filtered instances)
|
|
10
|
+
* - getByReference: Custom authorization (supports flexible reference lookup)
|
|
11
|
+
*
|
|
12
|
+
* All operations respect owner scope visibility rules (users see only their org/identity resources).
|
|
13
|
+
*
|
|
14
|
+
* @generated from service ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceQueryController
|
|
15
|
+
*/
|
|
16
|
+
export declare const WorkflowInstanceQueryController: {
|
|
17
|
+
readonly typeName: "ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceQueryController";
|
|
18
|
+
readonly methods: {
|
|
19
|
+
/**
|
|
20
|
+
* Get a single workflow instance by ID.
|
|
21
|
+
*
|
|
22
|
+
* Retrieves a specific WorkflowInstance using its unique resource identifier.
|
|
23
|
+
*
|
|
24
|
+
* Input:
|
|
25
|
+
* WorkflowInstanceId with the instance ID (e.g., "wfi-abc123")
|
|
26
|
+
*
|
|
27
|
+
* Returns:
|
|
28
|
+
* Complete WorkflowInstance resource with:
|
|
29
|
+
* - api_version, kind, metadata
|
|
30
|
+
* - spec (workflow_id, description, env_refs)
|
|
31
|
+
* - status (audit information: created_at, updated_at, version)
|
|
32
|
+
*
|
|
33
|
+
* Authorization:
|
|
34
|
+
* Requires "get" permission on the specific WorkflowInstance.
|
|
35
|
+
* Field path "value" extracts the resource ID from WorkflowInstanceId wrapper.
|
|
36
|
+
* Verifies user has access based on:
|
|
37
|
+
* - Instance owner scope (organization or identity_account)
|
|
38
|
+
* - User's IAM policies
|
|
39
|
+
*
|
|
40
|
+
* Use Cases:
|
|
41
|
+
* - Retrieve instance configuration before executing
|
|
42
|
+
* - View instance details in UI
|
|
43
|
+
* - Fetch instance for editing/updating
|
|
44
|
+
*
|
|
45
|
+
* Error: PERMISSION_DENIED if user lacks get permission
|
|
46
|
+
* Error: NOT_FOUND if instance ID doesn't exist
|
|
47
|
+
*
|
|
48
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceQueryController.get
|
|
49
|
+
*/
|
|
50
|
+
readonly get: {
|
|
51
|
+
readonly name: "get";
|
|
52
|
+
readonly I: any;
|
|
53
|
+
readonly O: any;
|
|
54
|
+
readonly kind: any;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Get all instances of a specific workflow template.
|
|
58
|
+
*
|
|
59
|
+
* Retrieves all WorkflowInstance resources that reference a specific Workflow template.
|
|
60
|
+
* Useful for discovering all configured deployments of a workflow.
|
|
61
|
+
*
|
|
62
|
+
* Example Use Case:
|
|
63
|
+
* Workflow "deploy-to-cloud" (wfl-123) has instances:
|
|
64
|
+
* - "prod-deploy" (wfi-abc) - Production deployment with aws-prod-env
|
|
65
|
+
* - "staging-deploy" (wfi-def) - Staging deployment with aws-staging-env
|
|
66
|
+
* - "dev-deploy" (wfi-ghi) - Development deployment with aws-dev-env
|
|
67
|
+
*
|
|
68
|
+
* Input:
|
|
69
|
+
* GetWorkflowInstancesByWorkflowRequest with:
|
|
70
|
+
* - workflow_id: Workflow template ID to filter by
|
|
71
|
+
* - page_info: Pagination settings (page_size, page_token)
|
|
72
|
+
*
|
|
73
|
+
* Returns:
|
|
74
|
+
* WorkflowInstanceList with:
|
|
75
|
+
* - total_pages: Total number of pages available
|
|
76
|
+
* - entries: Array of WorkflowInstance resources in current page
|
|
77
|
+
*
|
|
78
|
+
* Authorization:
|
|
79
|
+
* Authorization is handled in handler via FGA query for authorized workflow_instance_ids,
|
|
80
|
+
* then filtered by workflow_id. This ensures users only see instances they have access to,
|
|
81
|
+
* even if the parent workflow is shared across organizations.
|
|
82
|
+
*
|
|
83
|
+
* Filtering:
|
|
84
|
+
* Results are filtered by:
|
|
85
|
+
* - User's organization/identity visibility
|
|
86
|
+
* - IAM policies
|
|
87
|
+
* - Owner scope rules
|
|
88
|
+
*
|
|
89
|
+
* Error: PERMISSION_DENIED if user lacks access to the workflow
|
|
90
|
+
* Error: NOT_FOUND if workflow_id doesn't exist
|
|
91
|
+
*
|
|
92
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceQueryController.getByWorkflow
|
|
93
|
+
*/
|
|
94
|
+
readonly getByWorkflow: {
|
|
95
|
+
readonly name: "getByWorkflow";
|
|
96
|
+
readonly I: any;
|
|
97
|
+
readonly O: any;
|
|
98
|
+
readonly kind: any;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Get a workflow instance by flexible reference (ID or slug).
|
|
102
|
+
*
|
|
103
|
+
* Retrieves a WorkflowInstance using ApiResourceReference which supports multiple lookup methods:
|
|
104
|
+
* - By ID: {id: "wfi-abc123"}
|
|
105
|
+
* - By slug: {slug: "prod-deploy"}
|
|
106
|
+
* - By name: {name: "Production Deploy"}
|
|
107
|
+
*
|
|
108
|
+
* Input:
|
|
109
|
+
* ApiResourceReference with one of: id, slug, or name
|
|
110
|
+
*
|
|
111
|
+
* Returns:
|
|
112
|
+
* Complete WorkflowInstance resource matching the reference.
|
|
113
|
+
*
|
|
114
|
+
* Authorization:
|
|
115
|
+
* Uses custom authorization logic in the handler.
|
|
116
|
+
* Allows for flexible authorization based on reference type and context.
|
|
117
|
+
* Typical checks:
|
|
118
|
+
* - User has get permission on the resolved instance
|
|
119
|
+
* - Instance owner scope matches user's organization/identity
|
|
120
|
+
*
|
|
121
|
+
* Use Cases:
|
|
122
|
+
* - User-friendly lookups by slug instead of opaque IDs
|
|
123
|
+
* - CLI commands using human-readable names
|
|
124
|
+
* - API integrations using stable slugs
|
|
125
|
+
*
|
|
126
|
+
* Example:
|
|
127
|
+
* Input: ApiResourceReference{slug: "prod-deploy"}
|
|
128
|
+
* Output: WorkflowInstance with metadata.slug = "prod-deploy"
|
|
129
|
+
*
|
|
130
|
+
* Error: PERMISSION_DENIED if user lacks access
|
|
131
|
+
* Error: NOT_FOUND if reference doesn't resolve to an instance
|
|
132
|
+
*
|
|
133
|
+
* @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceQueryController.getByReference
|
|
134
|
+
*/
|
|
135
|
+
readonly getByReference: {
|
|
136
|
+
readonly name: "getByReference";
|
|
137
|
+
readonly I: any;
|
|
138
|
+
readonly O: any;
|
|
139
|
+
readonly kind: any;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|