@stigmer/protos 0.0.69 → 0.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/stigmer/agentic/agent/v1/api_pb.d.ts +7 -6
- package/ai/stigmer/agentic/agent/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/command_connect.d.ts +5 -1
- package/ai/stigmer/agentic/agent/v1/command_connect.js +5 -1
- package/ai/stigmer/agentic/agent/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/command_pb.d.ts +5 -1
- package/ai/stigmer/agentic/agent/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/io_pb.d.ts +4 -1
- package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +13 -8
- package/ai/stigmer/agentic/agent/v1/query_connect.js +13 -8
- package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +13 -8
- package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +57 -175
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/status_pb.d.ts +5 -5
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +20 -22
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.d.ts +16 -28
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +34 -16
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +34 -16
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +34 -16
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +41 -25
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +41 -25
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +0 -52
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.js +1 -6
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +17 -3
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +17 -3
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +17 -3
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +26 -71
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/writeback_pb.d.ts +2 -0
- package/ai/stigmer/agentic/agentexecution/v1/writeback_pb.js +2 -0
- package/ai/stigmer/agentic/agentexecution/v1/writeback_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.d.ts +9 -4
- package/ai/stigmer/agentic/agentinstance/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +17 -12
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +17 -12
- package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +17 -12
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.js +0 -1
- package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/io_pb.d.ts +13 -11
- package/ai/stigmer/agentic/agentinstance/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/query_connect.d.ts +11 -4
- package/ai/stigmer/agentic/agentinstance/v1/query_connect.js +11 -4
- package/ai/stigmer/agentic/agentinstance/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/query_pb.d.ts +11 -4
- package/ai/stigmer/agentic/agentinstance/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +10 -6
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/environment/v1/api_pb.d.ts +9 -6
- package/ai/stigmer/agentic/environment/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/environment/v1/command_connect.d.ts +32 -9
- package/ai/stigmer/agentic/environment/v1/command_connect.js +32 -9
- package/ai/stigmer/agentic/environment/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/environment/v1/command_pb.d.ts +32 -9
- package/ai/stigmer/agentic/environment/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/environment/v1/io_pb.d.ts +20 -12
- package/ai/stigmer/agentic/environment/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/environment/v1/query_connect.d.ts +19 -6
- package/ai/stigmer/agentic/environment/v1/query_connect.js +19 -6
- package/ai/stigmer/agentic/environment/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/environment/v1/query_pb.d.ts +19 -6
- package/ai/stigmer/agentic/environment/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/environment/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/environment/v1/spec_pb.d.ts +19 -23
- package/ai/stigmer/agentic/environment/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/api_pb.d.ts +8 -7
- package/ai/stigmer/agentic/executioncontext/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.d.ts +13 -4
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.js +13 -4
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.d.ts +13 -4
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.js +2 -1
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/io_pb.d.ts +8 -5
- package/ai/stigmer/agentic/executioncontext/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +11 -5
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +11 -5
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +11 -5
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.js +2 -1
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/spec_pb.d.ts +20 -17
- package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/api_pb.d.ts +3 -19
- package/ai/stigmer/agentic/mcpserver/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +23 -43
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +23 -43
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +23 -43
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +5 -11
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.d.ts +5 -12
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js +5 -12
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.d.ts +5 -12
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +19 -68
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +18 -44
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/command_connect.d.ts +25 -11
- package/ai/stigmer/agentic/session/v1/command_connect.js +25 -11
- package/ai/stigmer/agentic/session/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/command_pb.d.ts +25 -11
- package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +13 -13
- package/ai/stigmer/agentic/session/v1/enum_pb.js +13 -13
- package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/io_pb.d.ts +7 -5
- package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/query_connect.d.ts +4 -0
- package/ai/stigmer/agentic/session/v1/query_connect.js +4 -0
- package/ai/stigmer/agentic/session/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/query_pb.d.ts +4 -0
- package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +34 -23
- package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/workspace_pb.d.ts +47 -52
- package/ai/stigmer/agentic/session/v1/workspace_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/command_connect.d.ts +22 -22
- package/ai/stigmer/agentic/skill/v1/command_connect.js +22 -22
- package/ai/stigmer/agentic/skill/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/command_pb.d.ts +22 -22
- package/ai/stigmer/agentic/skill/v1/io_pb.d.ts +31 -34
- package/ai/stigmer/agentic/skill/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/query_connect.d.ts +8 -7
- package/ai/stigmer/agentic/skill/v1/query_connect.js +8 -7
- package/ai/stigmer/agentic/skill/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/query_pb.d.ts +8 -7
- package/ai/stigmer/agentic/skill/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/spec_pb.d.ts +5 -4
- package/ai/stigmer/agentic/skill/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/skill/v1/status_pb.d.ts +32 -21
- package/ai/stigmer/agentic/skill/v1/status_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/api_pb.d.ts +7 -6
- package/ai/stigmer/agentic/workflow/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +4 -1
- package/ai/stigmer/agentic/workflow/v1/command_connect.js +4 -1
- package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +4 -1
- package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/enum_pb.d.ts +47 -15
- package/ai/stigmer/agentic/workflow/v1/enum_pb.js +47 -15
- package/ai/stigmer/agentic/workflow/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/query_connect.d.ts +6 -1
- package/ai/stigmer/agentic/workflow/v1/query_connect.js +6 -1
- package/ai/stigmer/agentic/workflow/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/query_pb.d.ts +6 -1
- package/ai/stigmer/agentic/workflow/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.d.ts +27 -33
- package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js +9 -10
- package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/spec_pb.d.ts +21 -13
- package/ai/stigmer/agentic/workflow/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/status_pb.d.ts +4 -4
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +5 -7
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/call_activity_pb.d.ts +6 -3
- package/ai/stigmer/agentic/workflow/v1/tasks/call_activity_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.d.ts +2 -3
- package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/fork_pb.d.ts +2 -3
- package/ai/stigmer/agentic/workflow/v1/tasks/fork_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/grpc_call_pb.d.ts +2 -3
- package/ai/stigmer/agentic/workflow/v1/tasks/grpc_call_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.d.ts +2 -3
- package/ai/stigmer/agentic/workflow/v1/tasks/http_call_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/listen_pb.d.ts +4 -6
- package/ai/stigmer/agentic/workflow/v1/tasks/listen_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/raise_pb.d.ts +2 -3
- package/ai/stigmer/agentic/workflow/v1/tasks/raise_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/run_pb.d.ts +3 -2
- package/ai/stigmer/agentic/workflow/v1/tasks/run_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/set_pb.d.ts +2 -3
- package/ai/stigmer/agentic/workflow/v1/tasks/set_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/switch_pb.d.ts +2 -3
- package/ai/stigmer/agentic/workflow/v1/tasks/switch_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.d.ts +2 -3
- package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/wait_pb.d.ts +5 -4
- package/ai/stigmer/agentic/workflow/v1/tasks/wait_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +60 -252
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +100 -88
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +100 -88
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +100 -88
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.d.ts +62 -413
- package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js +62 -413
- package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +148 -697
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +14 -58
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.d.ts +17 -13
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js +17 -13
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.d.ts +17 -13
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.d.ts +29 -192
- package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowinstance/v1/api_pb.d.ts +9 -16
- package/ai/stigmer/agentic/workflowinstance/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowinstance/v1/command_connect.d.ts +13 -40
- package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js +13 -40
- package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflowinstance/v1/command_pb.d.ts +13 -40
- package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js +2 -1
- package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowinstance/v1/io_pb.d.ts +8 -39
- package/ai/stigmer/agentic/workflowinstance/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowinstance/v1/query_connect.d.ts +14 -61
- package/ai/stigmer/agentic/workflowinstance/v1/query_connect.js +14 -61
- package/ai/stigmer/agentic/workflowinstance/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflowinstance/v1/query_pb.d.ts +14 -61
- package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js +2 -1
- package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.d.ts +11 -24
- package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +39 -9
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +39 -9
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/enum_pb.d.ts +34 -5
- package/ai/stigmer/commons/apiresource/enum_pb.js +34 -5
- package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/io_pb.d.ts +1 -1
- package/ai/stigmer/commons/rpc/pagination_pb.d.ts +10 -4
- package/ai/stigmer/commons/rpc/pagination_pb.js.map +1 -1
- package/ai/stigmer/iam/apikey/v1/api_pb.d.ts +17 -8
- package/ai/stigmer/iam/apikey/v1/api_pb.js.map +1 -1
- package/ai/stigmer/iam/apikey/v1/command_connect.d.ts +16 -4
- package/ai/stigmer/iam/apikey/v1/command_connect.js +16 -4
- package/ai/stigmer/iam/apikey/v1/command_connect.js.map +1 -1
- package/ai/stigmer/iam/apikey/v1/command_pb.d.ts +16 -4
- package/ai/stigmer/iam/apikey/v1/command_pb.js +1 -1
- package/ai/stigmer/iam/apikey/v1/command_pb.js.map +1 -1
- package/ai/stigmer/iam/apikey/v1/io_pb.d.ts +9 -3
- package/ai/stigmer/iam/apikey/v1/io_pb.js.map +1 -1
- package/ai/stigmer/iam/apikey/v1/query_connect.d.ts +13 -4
- package/ai/stigmer/iam/apikey/v1/query_connect.js +13 -4
- package/ai/stigmer/iam/apikey/v1/query_connect.js.map +1 -1
- package/ai/stigmer/iam/apikey/v1/query_pb.d.ts +13 -4
- package/ai/stigmer/iam/apikey/v1/query_pb.js +1 -1
- package/ai/stigmer/iam/apikey/v1/query_pb.js.map +1 -1
- package/ai/stigmer/iam/apikey/v1/spec_pb.d.ts +13 -8
- package/ai/stigmer/iam/apikey/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/api_pb.d.ts +8 -6
- package/ai/stigmer/iam/iampolicy/v1/api_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/command_connect.d.ts +22 -15
- package/ai/stigmer/iam/iampolicy/v1/command_connect.js +22 -15
- package/ai/stigmer/iam/iampolicy/v1/command_connect.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/command_pb.d.ts +22 -15
- package/ai/stigmer/iam/iampolicy/v1/command_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/io_pb.d.ts +22 -6
- package/ai/stigmer/iam/iampolicy/v1/io_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/query_connect.d.ts +7 -2
- package/ai/stigmer/iam/iampolicy/v1/query_connect.js +7 -2
- package/ai/stigmer/iam/iampolicy/v1/query_connect.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/query_pb.d.ts +7 -2
- package/ai/stigmer/iam/iampolicy/v1/query_pb.js +1 -1
- package/ai/stigmer/iam/iampolicy/v1/query_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.d.ts +57 -12
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js +57 -12
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.d.ts +16 -9
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.d.ts +6 -0
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js +6 -0
- package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/spec_pb.d.ts +8 -8
- package/ai/stigmer/iam/identityaccount/v1/api_pb.d.ts +11 -6
- package/ai/stigmer/iam/identityaccount/v1/api_pb.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/command_connect.d.ts +21 -10
- package/ai/stigmer/iam/identityaccount/v1/command_connect.js +21 -10
- package/ai/stigmer/iam/identityaccount/v1/command_connect.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/command_pb.d.ts +21 -10
- package/ai/stigmer/iam/identityaccount/v1/command_pb.js +1 -1
- package/ai/stigmer/iam/identityaccount/v1/command_pb.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/enum_pb.d.ts +9 -6
- package/ai/stigmer/iam/identityaccount/v1/enum_pb.js +9 -6
- package/ai/stigmer/iam/identityaccount/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/io_pb.d.ts +24 -10
- package/ai/stigmer/iam/identityaccount/v1/io_pb.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/query_connect.d.ts +12 -6
- package/ai/stigmer/iam/identityaccount/v1/query_connect.js +12 -6
- package/ai/stigmer/iam/identityaccount/v1/query_connect.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/query_pb.d.ts +12 -6
- package/ai/stigmer/iam/identityaccount/v1/query_pb.js +1 -1
- package/ai/stigmer/iam/identityaccount/v1/query_pb.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/spec_pb.d.ts +10 -7
- package/ai/stigmer/iam/identityaccount/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/iam/identityaccount/v1/webhook_pb.d.ts +22 -1
- package/ai/stigmer/iam/identityaccount/v1/webhook_pb.js.map +1 -1
- package/ai/stigmer/iam/identityprovider/v1/api_pb.d.ts +1 -1
- package/ai/stigmer/iam/identityprovider/v1/command_connect.d.ts +23 -6
- package/ai/stigmer/iam/identityprovider/v1/command_connect.js +23 -6
- package/ai/stigmer/iam/identityprovider/v1/command_connect.js.map +1 -1
- package/ai/stigmer/iam/identityprovider/v1/command_pb.d.ts +23 -6
- package/ai/stigmer/iam/identityprovider/v1/command_pb.js.map +1 -1
- package/ai/stigmer/iam/identityprovider/v1/io_pb.d.ts +8 -6
- package/ai/stigmer/iam/identityprovider/v1/io_pb.js.map +1 -1
- package/ai/stigmer/iam/identityprovider/v1/query_connect.d.ts +11 -2
- package/ai/stigmer/iam/identityprovider/v1/query_connect.js +11 -2
- package/ai/stigmer/iam/identityprovider/v1/query_connect.js.map +1 -1
- package/ai/stigmer/iam/identityprovider/v1/query_pb.d.ts +11 -2
- package/ai/stigmer/iam/identityprovider/v1/query_pb.js.map +1 -1
- package/ai/stigmer/platform/github/v1/service_connect.d.ts +27 -22
- package/ai/stigmer/platform/github/v1/service_connect.js +27 -22
- package/ai/stigmer/platform/github/v1/service_connect.js.map +1 -1
- package/ai/stigmer/platform/github/v1/service_pb.d.ts +46 -37
- package/ai/stigmer/platform/github/v1/service_pb.js +10 -10
- package/ai/stigmer/platform/github/v1/service_pb.js.map +1 -1
- package/ai/stigmer/search/v1/io_pb.d.ts +40 -40
- package/ai/stigmer/search/v1/io_pb.js.map +1 -1
- package/ai/stigmer/search/v1/query_connect.d.ts +26 -20
- package/ai/stigmer/search/v1/query_connect.js +26 -20
- package/ai/stigmer/search/v1/query_connect.js.map +1 -1
- package/ai/stigmer/search/v1/query_pb.d.ts +26 -20
- package/ai/stigmer/search/v1/query_pb.js +14 -8
- package/ai/stigmer/search/v1/query_pb.js.map +1 -1
- package/ai/stigmer/tenancy/organization/v1/api_pb.d.ts +7 -5
- package/ai/stigmer/tenancy/organization/v1/api_pb.js.map +1 -1
- package/ai/stigmer/tenancy/organization/v1/command_connect.d.ts +17 -9
- package/ai/stigmer/tenancy/organization/v1/command_connect.js +17 -9
- package/ai/stigmer/tenancy/organization/v1/command_connect.js.map +1 -1
- package/ai/stigmer/tenancy/organization/v1/command_pb.d.ts +17 -9
- package/ai/stigmer/tenancy/organization/v1/command_pb.js +1 -1
- package/ai/stigmer/tenancy/organization/v1/command_pb.js.map +1 -1
- package/ai/stigmer/tenancy/organization/v1/enum_pb.d.ts +6 -2
- package/ai/stigmer/tenancy/organization/v1/enum_pb.js +6 -2
- package/ai/stigmer/tenancy/organization/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/tenancy/organization/v1/io_pb.d.ts +8 -6
- package/ai/stigmer/tenancy/organization/v1/io_pb.js.map +1 -1
- package/ai/stigmer/tenancy/organization/v1/query_connect.d.ts +16 -9
- package/ai/stigmer/tenancy/organization/v1/query_connect.js +16 -9
- package/ai/stigmer/tenancy/organization/v1/query_connect.js.map +1 -1
- package/ai/stigmer/tenancy/organization/v1/query_pb.d.ts +16 -9
- package/ai/stigmer/tenancy/organization/v1/query_pb.js +1 -1
- package/ai/stigmer/tenancy/organization/v1/query_pb.js.map +1 -1
- package/ai/stigmer/tenancy/organization/v1/spec_pb.d.ts +15 -4
- package/ai/stigmer/tenancy/organization/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/tenancy/project/v1/api_pb.d.ts +2 -23
- package/ai/stigmer/tenancy/project/v1/api_pb.js.map +1 -1
- package/ai/stigmer/tenancy/project/v1/command_connect.d.ts +12 -3
- package/ai/stigmer/tenancy/project/v1/command_connect.js +12 -3
- package/ai/stigmer/tenancy/project/v1/command_connect.js.map +1 -1
- package/ai/stigmer/tenancy/project/v1/command_pb.d.ts +12 -3
- package/ai/stigmer/tenancy/project/v1/command_pb.js.map +1 -1
- package/ai/stigmer/tenancy/project/v1/io_pb.d.ts +2 -0
- package/ai/stigmer/tenancy/project/v1/io_pb.js.map +1 -1
- package/ai/stigmer/tenancy/project/v1/query_connect.d.ts +2 -0
- package/ai/stigmer/tenancy/project/v1/query_connect.js +2 -0
- package/ai/stigmer/tenancy/project/v1/query_connect.js.map +1 -1
- package/ai/stigmer/tenancy/project/v1/query_pb.d.ts +2 -0
- package/ai/stigmer/tenancy/project/v1/query_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -28,8 +28,9 @@ export const WorkflowExecutionCommandController = {
|
|
|
28
28
|
* Create and trigger a new workflow execution.
|
|
29
29
|
*
|
|
30
30
|
* This RPC creates a WorkflowExecution resource and immediately triggers it for execution.
|
|
31
|
-
* The workflow execution engine
|
|
31
|
+
* The workflow execution engine picks up the execution and begins processing tasks.
|
|
32
32
|
*
|
|
33
|
+
* @internal
|
|
33
34
|
* Input Validation:
|
|
34
35
|
* - metadata.org must be specified
|
|
35
36
|
* - spec.workflow_instance_id is required and must reference an existing WorkflowInstance
|
|
@@ -111,7 +112,7 @@ export const WorkflowExecutionCommandController = {
|
|
|
111
112
|
* "org": "acme"
|
|
112
113
|
* },
|
|
113
114
|
* "spec": {
|
|
114
|
-
* "workflow_instance_id": "
|
|
115
|
+
* "workflow_instance_id": "wfi_customer-onboarding-prod",
|
|
115
116
|
* "trigger_message": "New signup: john.doe@example.com",
|
|
116
117
|
* "trigger_metadata": {
|
|
117
118
|
* "source": "api",
|
|
@@ -129,7 +130,7 @@ export const WorkflowExecutionCommandController = {
|
|
|
129
130
|
* "api_version": "agentic.stigmer.ai/v1",
|
|
130
131
|
* "kind": "WorkflowExecution",
|
|
131
132
|
* "metadata": {
|
|
132
|
-
* "id": "
|
|
133
|
+
* "id": "wfx_abc123xyz456", // Auto-generated
|
|
133
134
|
* "name": "customer-onboarding-20250111-143022",
|
|
134
135
|
* "org": "acme"
|
|
135
136
|
* },
|
|
@@ -152,7 +153,9 @@ export const WorkflowExecutionCommandController = {
|
|
|
152
153
|
kind: MethodKind.Unary,
|
|
153
154
|
},
|
|
154
155
|
/**
|
|
155
|
-
* Update execution with full state.
|
|
156
|
+
* Update an existing workflow execution with full state.
|
|
157
|
+
*
|
|
158
|
+
* @internal
|
|
156
159
|
* Used by users to update execution configuration (spec fields).
|
|
157
160
|
* No individual field updates - always provide complete state.
|
|
158
161
|
*
|
|
@@ -166,8 +169,11 @@ export const WorkflowExecutionCommandController = {
|
|
|
166
169
|
},
|
|
167
170
|
/**
|
|
168
171
|
* Update execution status during workflow execution.
|
|
169
|
-
*
|
|
170
|
-
*
|
|
172
|
+
*
|
|
173
|
+
* @internal
|
|
174
|
+
* System-level RPC used by workflow-runner to send progressive status updates
|
|
175
|
+
* (messages, task states, phase, etc.). Optimized for frequent status updates
|
|
176
|
+
* and merges status fields with existing state.
|
|
171
177
|
*
|
|
172
178
|
* This RPC is used by the workflow execution engine (Temporal) to update the status
|
|
173
179
|
* of a running workflow execution. Users cannot call this RPC directly.
|
|
@@ -240,7 +246,7 @@ export const WorkflowExecutionCommandController = {
|
|
|
240
246
|
* Example Request (Task Completed):
|
|
241
247
|
* {
|
|
242
248
|
* "metadata": {
|
|
243
|
-
* "id": "
|
|
249
|
+
* "id": "wfx_abc123xyz456"
|
|
244
250
|
* },
|
|
245
251
|
* "status": {
|
|
246
252
|
* "phase": 2, // EXECUTION_IN_PROGRESS
|
|
@@ -272,29 +278,27 @@ export const WorkflowExecutionCommandController = {
|
|
|
272
278
|
kind: MethodKind.Unary,
|
|
273
279
|
},
|
|
274
280
|
/**
|
|
275
|
-
* Submit approval for a child agent's tool execution
|
|
281
|
+
* Submit an approval decision for a child agent's tool execution.
|
|
276
282
|
*
|
|
277
283
|
* This RPC forwards the approval decision to the child AgentExecution that
|
|
278
284
|
* is waiting for approval. The child is identified by the child_agent_execution_id
|
|
279
285
|
* in status.pending_approval.
|
|
280
286
|
*
|
|
281
|
-
* ## Behavior
|
|
282
|
-
*
|
|
283
287
|
* When a workflow invokes an agent that requires tool approval, the approval
|
|
284
288
|
* request surfaces at the workflow level via status.pending_approval. Users can
|
|
285
289
|
* submit their decision through this RPC, which forwards it to the child agent.
|
|
286
290
|
*
|
|
291
|
+
* @internal
|
|
287
292
|
* The approval is forwarded to the child via AgentExecution.submitApproval RPC,
|
|
288
293
|
* ensuring consistent validation and Temporal workflow signaling.
|
|
289
294
|
*
|
|
290
|
-
*
|
|
291
|
-
*
|
|
295
|
+
* Preconditions:
|
|
292
296
|
* - status.pending_approval must be populated
|
|
293
297
|
* - tool_call_id must match status.pending_approval.tool_call_id
|
|
294
298
|
* - status.pending_approval.child_agent_execution_id must not be empty
|
|
295
299
|
* - User must have can_edit permission on the workflow execution
|
|
296
300
|
*
|
|
297
|
-
*
|
|
301
|
+
* State Transitions
|
|
298
302
|
*
|
|
299
303
|
* After successful approval:
|
|
300
304
|
* - Approval is forwarded to child AgentExecution
|
|
@@ -303,13 +307,13 @@ export const WorkflowExecutionCommandController = {
|
|
|
303
307
|
* - WorkflowExecution.status.pending_approval is eventually cleared
|
|
304
308
|
* - Workflow task status returns from WAITING_APPROVAL to IN_PROGRESS
|
|
305
309
|
*
|
|
306
|
-
*
|
|
310
|
+
* Approval Actions
|
|
307
311
|
*
|
|
308
312
|
* - APPROVE: Tool executes with the provided arguments
|
|
309
313
|
* - SKIP: Tool execution is skipped, agent continues with skip message
|
|
310
314
|
* - REJECT: Agent execution fails with rejection error
|
|
311
315
|
*
|
|
312
|
-
*
|
|
316
|
+
* Error Cases
|
|
313
317
|
*
|
|
314
318
|
* - NOT_FOUND: Workflow execution doesn't exist
|
|
315
319
|
* - PERMISSION_DENIED: User doesn't have can_edit permission
|
|
@@ -317,12 +321,12 @@ export const WorkflowExecutionCommandController = {
|
|
|
317
321
|
* - INVALID_ARGUMENT: Tool call ID mismatch, or action is UNSPECIFIED
|
|
318
322
|
* - UNAVAILABLE: Failed to forward to child agent (transient error)
|
|
319
323
|
*
|
|
320
|
-
*
|
|
324
|
+
* Idempotency
|
|
321
325
|
*
|
|
322
326
|
* If the same approval is submitted twice (same workflow execution, tool_call_id,
|
|
323
327
|
* and action), the second call is a no-op if the approval was already processed.
|
|
324
328
|
*
|
|
325
|
-
*
|
|
329
|
+
* Alternative: Direct Agent Approval
|
|
326
330
|
*
|
|
327
331
|
* Users can also submit approvals directly via AgentExecution.submitApproval
|
|
328
332
|
* using the child_agent_execution_id. Both paths are equivalent and result
|
|
@@ -339,7 +343,7 @@ export const WorkflowExecutionCommandController = {
|
|
|
339
343
|
kind: MethodKind.Unary,
|
|
340
344
|
},
|
|
341
345
|
/**
|
|
342
|
-
* Delete
|
|
346
|
+
* Delete a workflow execution.
|
|
343
347
|
*
|
|
344
348
|
* @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.delete
|
|
345
349
|
*/
|
|
@@ -353,9 +357,13 @@ export const WorkflowExecutionCommandController = {
|
|
|
353
357
|
* Send a signal to a running workflow execution.
|
|
354
358
|
*
|
|
355
359
|
* Delivers a signal to a workflow execution, typically to unblock a LISTEN task.
|
|
360
|
+
* Delivery is race-proof: the signal is guaranteed to arrive even if sent
|
|
361
|
+
* before the workflow is fully started.
|
|
362
|
+
*
|
|
363
|
+
* @internal
|
|
356
364
|
* Uses Temporal's SignalWithStart API internally for race-proof delivery.
|
|
357
365
|
*
|
|
358
|
-
*
|
|
366
|
+
* Behavior
|
|
359
367
|
*
|
|
360
368
|
* 1. Validates execution exists and is in a signalable phase
|
|
361
369
|
* 2. Uses Temporal SignalWithStart for atomic delivery:
|
|
@@ -365,13 +373,13 @@ export const WorkflowExecutionCommandController = {
|
|
|
365
373
|
* 4. LISTEN task waiting for this signal will unblock and continue
|
|
366
374
|
* 5. Returns the current WorkflowExecution state
|
|
367
375
|
*
|
|
368
|
-
*
|
|
376
|
+
* Preconditions
|
|
369
377
|
*
|
|
370
378
|
* - Execution must be in EXECUTION_PENDING or EXECUTION_IN_PROGRESS phase
|
|
371
379
|
* - Cannot signal terminal executions (COMPLETED, FAILED, CANCELLED, TERMINATED)
|
|
372
380
|
* - User must have can_edit permission on the workflow execution
|
|
373
381
|
*
|
|
374
|
-
*
|
|
382
|
+
* Race-Proof Delivery (SignalWithStart)
|
|
375
383
|
*
|
|
376
384
|
* This RPC uses Temporal's SignalWithStart API to handle the race condition
|
|
377
385
|
* where a signal might arrive before the workflow is fully started:
|
|
@@ -379,7 +387,7 @@ export const WorkflowExecutionCommandController = {
|
|
|
379
387
|
* - SignalWithStart atomically: starts workflow if needed, then sends signal
|
|
380
388
|
* - Guarantees signal delivery even in race conditions
|
|
381
389
|
*
|
|
382
|
-
*
|
|
390
|
+
* Signal Matching
|
|
383
391
|
*
|
|
384
392
|
* The signal_name must match the signal ID defined in the workflow's LISTEN task:
|
|
385
393
|
*
|
|
@@ -395,17 +403,17 @@ export const WorkflowExecutionCommandController = {
|
|
|
395
403
|
* API Call:
|
|
396
404
|
* { "signal_name": "payment_confirmed", "payload": {...} }
|
|
397
405
|
*
|
|
398
|
-
*
|
|
406
|
+
* Error Cases
|
|
399
407
|
*
|
|
400
408
|
* - NOT_FOUND: Workflow execution doesn't exist
|
|
401
409
|
* - PERMISSION_DENIED: User doesn't have can_edit permission
|
|
402
410
|
* - FAILED_PRECONDITION: Execution is in a terminal phase
|
|
403
411
|
* - INVALID_ARGUMENT: execution_id or signal_name is empty
|
|
404
412
|
*
|
|
405
|
-
*
|
|
413
|
+
* Example Request
|
|
406
414
|
*
|
|
407
415
|
* {
|
|
408
|
-
* "execution_id": "
|
|
416
|
+
* "execution_id": "wfx_abc123xyz456",
|
|
409
417
|
* "signal_name": "payment_confirmed",
|
|
410
418
|
* "payload": {
|
|
411
419
|
* "transaction_id": "txn_123",
|
|
@@ -414,7 +422,7 @@ export const WorkflowExecutionCommandController = {
|
|
|
414
422
|
* }
|
|
415
423
|
* }
|
|
416
424
|
*
|
|
417
|
-
*
|
|
425
|
+
* Example Response
|
|
418
426
|
*
|
|
419
427
|
* Returns the current WorkflowExecution state (phase may still be IN_PROGRESS
|
|
420
428
|
* as the workflow continues after receiving the signal).
|
|
@@ -432,14 +440,14 @@ export const WorkflowExecutionCommandController = {
|
|
|
432
440
|
/**
|
|
433
441
|
* Cancel a running workflow execution gracefully.
|
|
434
442
|
*
|
|
435
|
-
* Sends a cancellation signal to the workflow
|
|
436
|
-
*
|
|
437
|
-
*
|
|
438
|
-
* transitioning to the CANCELLED phase.
|
|
443
|
+
* Sends a cancellation signal to the workflow. The workflow code can handle
|
|
444
|
+
* the cancellation signal to perform cleanup (e.g., compensation logic,
|
|
445
|
+
* resource cleanup, notifications) before transitioning to the CANCELLED phase.
|
|
439
446
|
*
|
|
447
|
+
* @internal
|
|
440
448
|
* Temporal Equivalent: `temporal workflow cancel --workflow-id <id>`
|
|
441
449
|
*
|
|
442
|
-
*
|
|
450
|
+
* Behavior
|
|
443
451
|
*
|
|
444
452
|
* 1. Validates execution exists and is in a cancellable phase
|
|
445
453
|
* 2. Sends cancellation signal to Temporal workflow
|
|
@@ -447,43 +455,43 @@ export const WorkflowExecutionCommandController = {
|
|
|
447
455
|
* 4. Execution transitions to EXECUTION_CANCELLED phase
|
|
448
456
|
* 5. Returns updated WorkflowExecution with new phase
|
|
449
457
|
*
|
|
450
|
-
*
|
|
458
|
+
* Preconditions
|
|
451
459
|
*
|
|
452
460
|
* - Execution must be in EXECUTION_PENDING or EXECUTION_IN_PROGRESS phase
|
|
453
461
|
* - Cannot cancel already-terminal executions (COMPLETED, FAILED, CANCELLED, TERMINATED)
|
|
454
462
|
*
|
|
455
|
-
*
|
|
463
|
+
* State Transitions
|
|
456
464
|
*
|
|
457
465
|
* - status.phase: PENDING/IN_PROGRESS → CANCELLED
|
|
458
466
|
* - status.completed_at: Set to current timestamp
|
|
459
467
|
* - In-progress tasks: May complete cleanup or be interrupted
|
|
460
468
|
*
|
|
461
|
-
*
|
|
469
|
+
* Idempotency
|
|
462
470
|
*
|
|
463
471
|
* Cancelling an already-cancelled execution succeeds as a no-op.
|
|
464
472
|
* The call returns the current execution state without side effects.
|
|
465
473
|
* This ensures safe retry of cancel requests.
|
|
466
474
|
*
|
|
467
|
-
*
|
|
475
|
+
* Error Cases
|
|
468
476
|
*
|
|
469
477
|
* - NOT_FOUND: Execution with given ID doesn't exist
|
|
470
478
|
* - PERMISSION_DENIED: User lacks can_edit permission on the execution
|
|
471
479
|
* - FAILED_PRECONDITION: Execution is in a terminal phase (COMPLETED, FAILED, TERMINATED)
|
|
472
480
|
* - INVALID_ARGUMENT: ID is empty or malformed
|
|
473
481
|
*
|
|
474
|
-
*
|
|
482
|
+
* Example Request
|
|
475
483
|
*
|
|
476
484
|
* {
|
|
477
|
-
* "id": "
|
|
485
|
+
* "id": "wfx_abc123xyz456",
|
|
478
486
|
* "reason": "Customer requested cancellation - order no longer needed"
|
|
479
487
|
* }
|
|
480
488
|
*
|
|
481
|
-
*
|
|
489
|
+
* Example Response
|
|
482
490
|
*
|
|
483
491
|
* {
|
|
484
492
|
* "api_version": "agentic.stigmer.ai/v1",
|
|
485
493
|
* "kind": "WorkflowExecution",
|
|
486
|
-
* "metadata": { "id": "
|
|
494
|
+
* "metadata": { "id": "wfx_abc123xyz456" },
|
|
487
495
|
* "status": {
|
|
488
496
|
* "phase": 5, // EXECUTION_CANCELLED
|
|
489
497
|
* "completed_at": "2026-02-07T18:30:00Z"
|
|
@@ -501,14 +509,14 @@ export const WorkflowExecutionCommandController = {
|
|
|
501
509
|
/**
|
|
502
510
|
* Terminate a workflow execution immediately.
|
|
503
511
|
*
|
|
504
|
-
* Force-stops the workflow
|
|
505
|
-
*
|
|
506
|
-
*
|
|
507
|
-
* unresponsive workflows that don't respond to cancellation.
|
|
512
|
+
* Force-stops the workflow without allowing cleanup. Unlike cancel,
|
|
513
|
+
* the workflow code cannot respond to termination - it is stopped immediately.
|
|
514
|
+
* Use this for stuck or unresponsive workflows that don't respond to cancellation.
|
|
508
515
|
*
|
|
516
|
+
* @internal
|
|
509
517
|
* Temporal Equivalent: `temporal workflow terminate --workflow-id <id>`
|
|
510
518
|
*
|
|
511
|
-
*
|
|
519
|
+
* Behavior
|
|
512
520
|
*
|
|
513
521
|
* 1. Validates execution exists and is in a terminable phase
|
|
514
522
|
* 2. Force-kills workflow via Temporal (no signal sent to workflow)
|
|
@@ -516,19 +524,19 @@ export const WorkflowExecutionCommandController = {
|
|
|
516
524
|
* 4. No cleanup callbacks or defer blocks are executed
|
|
517
525
|
* 5. Returns updated WorkflowExecution with TERMINATED phase
|
|
518
526
|
*
|
|
519
|
-
*
|
|
527
|
+
* Preconditions
|
|
520
528
|
*
|
|
521
529
|
* - Execution must be in EXECUTION_PENDING or EXECUTION_IN_PROGRESS phase
|
|
522
530
|
* - Cannot terminate already-terminal executions
|
|
523
531
|
*
|
|
524
|
-
*
|
|
532
|
+
* State Transitions
|
|
525
533
|
*
|
|
526
534
|
* - status.phase: PENDING/IN_PROGRESS → TERMINATED
|
|
527
535
|
* - status.completed_at: Set to current timestamp
|
|
528
536
|
* - status.error: May contain termination reason
|
|
529
537
|
* - In-progress tasks: Stopped abruptly (no cleanup)
|
|
530
538
|
*
|
|
531
|
-
*
|
|
539
|
+
* Terminated vs Cancelled
|
|
532
540
|
*
|
|
533
541
|
* | Aspect | cancel | terminate |
|
|
534
542
|
* |--------|--------|-----------|
|
|
@@ -537,31 +545,31 @@ export const WorkflowExecutionCommandController = {
|
|
|
537
545
|
* | Use case | Normal stop | Stuck workflows |
|
|
538
546
|
* | Can recover? | No | No |
|
|
539
547
|
*
|
|
540
|
-
*
|
|
548
|
+
* Idempotency
|
|
541
549
|
*
|
|
542
550
|
* Terminating an already-terminated execution succeeds as a no-op.
|
|
543
551
|
* The call returns the current execution state without side effects.
|
|
544
552
|
*
|
|
545
|
-
*
|
|
553
|
+
* Error Cases
|
|
546
554
|
*
|
|
547
555
|
* - NOT_FOUND: Execution with given ID doesn't exist
|
|
548
556
|
* - PERMISSION_DENIED: User lacks can_edit permission on the execution
|
|
549
557
|
* - FAILED_PRECONDITION: Execution is in a terminal phase
|
|
550
558
|
* - INVALID_ARGUMENT: ID is empty or malformed
|
|
551
559
|
*
|
|
552
|
-
*
|
|
560
|
+
* Example Request
|
|
553
561
|
*
|
|
554
562
|
* {
|
|
555
|
-
* "id": "
|
|
563
|
+
* "id": "wfx_abc123xyz456",
|
|
556
564
|
* "reason": "Workflow stuck for 2 hours, not responding to cancel"
|
|
557
565
|
* }
|
|
558
566
|
*
|
|
559
|
-
*
|
|
567
|
+
* Example Response
|
|
560
568
|
*
|
|
561
569
|
* {
|
|
562
570
|
* "api_version": "agentic.stigmer.ai/v1",
|
|
563
571
|
* "kind": "WorkflowExecution",
|
|
564
|
-
* "metadata": { "id": "
|
|
572
|
+
* "metadata": { "id": "wfx_abc123xyz456" },
|
|
565
573
|
* "status": {
|
|
566
574
|
* "phase": 6, // EXECUTION_TERMINATED
|
|
567
575
|
* "completed_at": "2026-02-07T18:35:00Z",
|
|
@@ -580,14 +588,14 @@ export const WorkflowExecutionCommandController = {
|
|
|
580
588
|
/**
|
|
581
589
|
* Recover a failed workflow execution from the last checkpoint.
|
|
582
590
|
*
|
|
583
|
-
* Resumes execution from the last successful point
|
|
584
|
-
*
|
|
585
|
-
*
|
|
586
|
-
* without duplicating side effects.
|
|
591
|
+
* Resumes execution from the last successful point. Completed work is
|
|
592
|
+
* preserved - successful tasks are NOT re-executed. This enables
|
|
593
|
+
* "retry and resume" semantics without duplicating side effects.
|
|
587
594
|
*
|
|
595
|
+
* @internal
|
|
588
596
|
* Temporal Equivalent: `temporal workflow reset --workflow-id <id> --type LastWorkflowTask`
|
|
589
597
|
*
|
|
590
|
-
*
|
|
598
|
+
* Behavior
|
|
591
599
|
*
|
|
592
600
|
* 1. Validates execution is in FAILED phase (recoverable)
|
|
593
601
|
* 2. Identifies the last successful checkpoint in workflow history
|
|
@@ -596,14 +604,14 @@ export const WorkflowExecutionCommandController = {
|
|
|
596
604
|
* 5. Workflow continues from where it failed
|
|
597
605
|
* 6. Returns updated WorkflowExecution with IN_PROGRESS phase
|
|
598
606
|
*
|
|
599
|
-
*
|
|
607
|
+
* Preconditions
|
|
600
608
|
*
|
|
601
609
|
* - Execution must be in EXECUTION_FAILED phase
|
|
602
610
|
* - TERMINATED executions cannot be recovered (intentional hard stop)
|
|
603
611
|
* - CANCELLED executions cannot be recovered (intentional user action)
|
|
604
612
|
* - COMPLETED executions don't need recovery
|
|
605
613
|
*
|
|
606
|
-
*
|
|
614
|
+
* State Transitions
|
|
607
615
|
*
|
|
608
616
|
* - status.phase: FAILED → IN_PROGRESS
|
|
609
617
|
* - status.completed_at: Cleared (execution is running again)
|
|
@@ -611,7 +619,7 @@ export const WorkflowExecutionCommandController = {
|
|
|
611
619
|
* - Completed tasks: Preserved (not re-executed)
|
|
612
620
|
* - Failed tasks: Reset to pending, will be retried
|
|
613
621
|
*
|
|
614
|
-
*
|
|
622
|
+
* Recovery vs Restart
|
|
615
623
|
*
|
|
616
624
|
* | Aspect | recover | Create new execution |
|
|
617
625
|
* |--------|---------|----------------------|
|
|
@@ -620,13 +628,13 @@ export const WorkflowExecutionCommandController = {
|
|
|
620
628
|
* | Execution ID | Same | New ID |
|
|
621
629
|
* | Use case | Resume after fix | Start fresh |
|
|
622
630
|
*
|
|
623
|
-
*
|
|
631
|
+
* Idempotency
|
|
624
632
|
*
|
|
625
633
|
* If recovery already succeeded (execution is now IN_PROGRESS from a
|
|
626
634
|
* previous recover call), the call succeeds as a no-op and returns
|
|
627
635
|
* the current execution state.
|
|
628
636
|
*
|
|
629
|
-
*
|
|
637
|
+
* Error Cases
|
|
630
638
|
*
|
|
631
639
|
* - NOT_FOUND: Execution with given ID doesn't exist
|
|
632
640
|
* - PERMISSION_DENIED: User lacks can_edit permission on the execution
|
|
@@ -636,19 +644,19 @@ export const WorkflowExecutionCommandController = {
|
|
|
636
644
|
* - Execution is CANCELLED (cannot recover)
|
|
637
645
|
* - INVALID_ARGUMENT: ID is empty or malformed
|
|
638
646
|
*
|
|
639
|
-
*
|
|
647
|
+
* Example Request
|
|
640
648
|
*
|
|
641
649
|
* {
|
|
642
|
-
* "id": "
|
|
650
|
+
* "id": "wfx_abc123xyz456",
|
|
643
651
|
* "reason": "Stripe API recovered, resuming payment processing"
|
|
644
652
|
* }
|
|
645
653
|
*
|
|
646
|
-
*
|
|
654
|
+
* Example Response
|
|
647
655
|
*
|
|
648
656
|
* {
|
|
649
657
|
* "api_version": "agentic.stigmer.ai/v1",
|
|
650
658
|
* "kind": "WorkflowExecution",
|
|
651
|
-
* "metadata": { "id": "
|
|
659
|
+
* "metadata": { "id": "wfx_abc123xyz456" },
|
|
652
660
|
* "status": {
|
|
653
661
|
* "phase": 2, // EXECUTION_IN_PROGRESS
|
|
654
662
|
* "started_at": "2026-02-07T10:00:00Z",
|
|
@@ -674,7 +682,9 @@ export const WorkflowExecutionCommandController = {
|
|
|
674
682
|
* the execution is NOT terminal and can be resumed later from where it left off.
|
|
675
683
|
* The workflow gracefully checkpoints and exits, preserving all progress.
|
|
676
684
|
*
|
|
677
|
-
*
|
|
685
|
+
* @internal
|
|
686
|
+
*
|
|
687
|
+
* Behavior
|
|
678
688
|
*
|
|
679
689
|
* 1. Validates execution exists and is in a pausable phase
|
|
680
690
|
* 2. Sends "pause" signal to Temporal workflow
|
|
@@ -684,19 +694,19 @@ export const WorkflowExecutionCommandController = {
|
|
|
684
694
|
* 6. Workflow waits for resume signal (no resources consumed)
|
|
685
695
|
* 7. Returns updated WorkflowExecution with PAUSED phase
|
|
686
696
|
*
|
|
687
|
-
*
|
|
697
|
+
* Preconditions
|
|
688
698
|
*
|
|
689
699
|
* - Execution must be in EXECUTION_PENDING or EXECUTION_IN_PROGRESS phase
|
|
690
700
|
* - Cannot pause already-terminal executions (COMPLETED, FAILED, CANCELLED, TERMINATED)
|
|
691
701
|
*
|
|
692
|
-
*
|
|
702
|
+
* State Transitions
|
|
693
703
|
*
|
|
694
704
|
* - status.phase: PENDING/IN_PROGRESS → PAUSED
|
|
695
705
|
* - status.completed_at: NOT set (execution is not finished)
|
|
696
706
|
* - Running activities: Gracefully cancelled, checkpoint saved
|
|
697
707
|
* - LangGraph state: Preserved via thread_id checkpoint
|
|
698
708
|
*
|
|
699
|
-
*
|
|
709
|
+
* Paused vs Cancelled
|
|
700
710
|
*
|
|
701
711
|
* | Aspect | pause | cancel |
|
|
702
712
|
* |--------|-------|--------|
|
|
@@ -706,7 +716,7 @@ export const WorkflowExecutionCommandController = {
|
|
|
706
716
|
* | Progress preserved? | Yes | No |
|
|
707
717
|
* | Use case | Temporary stop, maintenance | Permanent stop |
|
|
708
718
|
*
|
|
709
|
-
*
|
|
719
|
+
* Agent Activity Behavior
|
|
710
720
|
*
|
|
711
721
|
* When pause is signaled to a workflow running an agent:
|
|
712
722
|
* 1. Workflow cancels the running activity gracefully
|
|
@@ -715,31 +725,31 @@ export const WorkflowExecutionCommandController = {
|
|
|
715
725
|
* 4. Activity returns with paused status
|
|
716
726
|
* 5. On resume, activity loads from checkpoint and continues
|
|
717
727
|
*
|
|
718
|
-
*
|
|
728
|
+
* Idempotency
|
|
719
729
|
*
|
|
720
730
|
* Pausing an already-paused execution succeeds as a no-op.
|
|
721
731
|
* The call returns the current execution state without side effects.
|
|
722
732
|
*
|
|
723
|
-
*
|
|
733
|
+
* Error Cases
|
|
724
734
|
*
|
|
725
735
|
* - NOT_FOUND: Execution with given ID doesn't exist
|
|
726
736
|
* - PERMISSION_DENIED: User lacks can_edit permission on the execution
|
|
727
737
|
* - FAILED_PRECONDITION: Execution is in a terminal phase
|
|
728
738
|
* - INVALID_ARGUMENT: ID is empty or malformed
|
|
729
739
|
*
|
|
730
|
-
*
|
|
740
|
+
* Example Request
|
|
731
741
|
*
|
|
732
742
|
* {
|
|
733
|
-
* "id": "
|
|
743
|
+
* "id": "wfx_abc123xyz456",
|
|
734
744
|
* "reason": "Pausing for scheduled maintenance window"
|
|
735
745
|
* }
|
|
736
746
|
*
|
|
737
|
-
*
|
|
747
|
+
* Example Response
|
|
738
748
|
*
|
|
739
749
|
* {
|
|
740
750
|
* "api_version": "agentic.stigmer.ai/v1",
|
|
741
751
|
* "kind": "WorkflowExecution",
|
|
742
|
-
* "metadata": { "id": "
|
|
752
|
+
* "metadata": { "id": "wfx_abc123xyz456" },
|
|
743
753
|
* "status": {
|
|
744
754
|
* "phase": 7, // EXECUTION_PAUSED
|
|
745
755
|
* "started_at": "2026-02-07T10:00:00Z"
|
|
@@ -764,7 +774,9 @@ export const WorkflowExecutionCommandController = {
|
|
|
764
774
|
* re-invokes activities with the same thread_id, which loads from checkpoint
|
|
765
775
|
* and continues from where it left off.
|
|
766
776
|
*
|
|
767
|
-
*
|
|
777
|
+
* @internal
|
|
778
|
+
*
|
|
779
|
+
* Behavior
|
|
768
780
|
*
|
|
769
781
|
* 1. Validates execution is in EXECUTION_PAUSED phase
|
|
770
782
|
* 2. Sends "resume" signal to Temporal workflow
|
|
@@ -774,18 +786,18 @@ export const WorkflowExecutionCommandController = {
|
|
|
774
786
|
* 6. Execution transitions back to EXECUTION_IN_PROGRESS phase
|
|
775
787
|
* 7. Returns updated WorkflowExecution with IN_PROGRESS phase
|
|
776
788
|
*
|
|
777
|
-
*
|
|
789
|
+
* Preconditions
|
|
778
790
|
*
|
|
779
791
|
* - Execution must be in EXECUTION_PAUSED phase
|
|
780
792
|
* - Cannot resume non-paused executions
|
|
781
793
|
*
|
|
782
|
-
*
|
|
794
|
+
* State Transitions
|
|
783
795
|
*
|
|
784
796
|
* - status.phase: PAUSED → IN_PROGRESS
|
|
785
797
|
* - Activities: Re-invoked, load from checkpoint
|
|
786
798
|
* - LangGraph state: Loaded from checkpoint via thread_id
|
|
787
799
|
*
|
|
788
|
-
*
|
|
800
|
+
* Resume Behavior
|
|
789
801
|
*
|
|
790
802
|
* When resume is signaled to a paused workflow:
|
|
791
803
|
* 1. Java workflow unblocks from Workflow.await()
|
|
@@ -794,30 +806,30 @@ export const WorkflowExecutionCommandController = {
|
|
|
794
806
|
* 4. LangGraph loads checkpoint using thread_id
|
|
795
807
|
* 5. Agent continues from exact position where it was paused
|
|
796
808
|
*
|
|
797
|
-
*
|
|
809
|
+
* Idempotency
|
|
798
810
|
*
|
|
799
811
|
* Resuming an already-running execution succeeds as a no-op.
|
|
800
812
|
* The call returns the current execution state without side effects.
|
|
801
813
|
*
|
|
802
|
-
*
|
|
814
|
+
* Error Cases
|
|
803
815
|
*
|
|
804
816
|
* - NOT_FOUND: Execution with given ID doesn't exist
|
|
805
817
|
* - PERMISSION_DENIED: User lacks can_edit permission on the execution
|
|
806
818
|
* - FAILED_PRECONDITION: Execution is not in PAUSED phase
|
|
807
819
|
* - INVALID_ARGUMENT: ID is empty or malformed
|
|
808
820
|
*
|
|
809
|
-
*
|
|
821
|
+
* Example Request
|
|
810
822
|
*
|
|
811
823
|
* {
|
|
812
|
-
* "id": "
|
|
824
|
+
* "id": "wfx_abc123xyz456"
|
|
813
825
|
* }
|
|
814
826
|
*
|
|
815
|
-
*
|
|
827
|
+
* Example Response
|
|
816
828
|
*
|
|
817
829
|
* {
|
|
818
830
|
* "api_version": "agentic.stigmer.ai/v1",
|
|
819
831
|
* "kind": "WorkflowExecution",
|
|
820
|
-
* "metadata": { "id": "
|
|
832
|
+
* "metadata": { "id": "wfx_abc123xyz456" },
|
|
821
833
|
* "status": {
|
|
822
834
|
* "phase": 2, // EXECUTION_IN_PROGRESS
|
|
823
835
|
* "started_at": "2026-02-07T10:00:00Z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,8IAA8I;AAC9I,oBAAoB;AACpB,cAAc;AAGd,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIhD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,QAAQ,EAAE,4EAA4E;IACtF,OAAO,EAAE;QACP
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/command_connect.ts"],"names":[],"mappings":"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"}
|