@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
|
@@ -7,77 +7,56 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const file_ai_stigmer_agentic_agent_v1_spec: GenFile;
|
|
9
9
|
/**
|
|
10
|
-
* AgentSpec defines the configurable properties of an
|
|
11
|
-
* This is the "Template" layer - declares capabilities and requirements.
|
|
10
|
+
* AgentSpec defines the configurable properties of an agent.
|
|
12
11
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* metadata:
|
|
17
|
-
* name: engineering-assistant
|
|
18
|
-
* slug: eng-assistant
|
|
19
|
-
* spec:
|
|
20
|
-
* description: "Helps engineering teams with code review"
|
|
21
|
-
* instructions: "You are an engineering assistant..."
|
|
22
|
-
* mcp_server_usages:
|
|
23
|
-
* - mcp_server_ref:
|
|
24
|
-
* kind: mcp_server
|
|
25
|
-
* slug: github
|
|
26
|
-
* enabled_tools: [search_code, create_pr]
|
|
27
|
-
* skill_refs:
|
|
28
|
-
* - kind: skill
|
|
29
|
-
* slug: code-review-best-practices
|
|
12
|
+
* @internal
|
|
13
|
+
* This is the "Template" layer — declares capabilities and requirements.
|
|
14
|
+
* The overview.md file provides the SDK-facing description and example YAML.
|
|
30
15
|
*
|
|
31
16
|
* @generated from message ai.stigmer.agentic.agent.v1.AgentSpec
|
|
32
17
|
*/
|
|
33
18
|
export type AgentSpec = Message<"ai.stigmer.agentic.agent.v1.AgentSpec"> & {
|
|
34
19
|
/**
|
|
35
20
|
* Human-readable description for UI and marketplace display.
|
|
36
|
-
* Should explain what this agent does and its primary capabilities.
|
|
37
21
|
*
|
|
38
22
|
* @generated from field: string description = 1;
|
|
39
23
|
*/
|
|
40
24
|
description: string;
|
|
41
25
|
/**
|
|
42
26
|
* Icon URL for marketplace and UI display.
|
|
43
|
-
*
|
|
27
|
+
* Must be a publicly accessible URL to an image (SVG, PNG, or JPEG).
|
|
44
28
|
*
|
|
45
29
|
* @generated from field: string icon_url = 2;
|
|
46
30
|
*/
|
|
47
31
|
iconUrl: string;
|
|
48
32
|
/**
|
|
49
|
-
*
|
|
50
|
-
* This is the agent's system prompt - the core logic that shapes its responses.
|
|
51
|
-
* Should be at least 10 characters to ensure meaningful instructions.
|
|
33
|
+
* System prompt defining the agent's behavior and personality.
|
|
52
34
|
*
|
|
53
35
|
* @generated from field: string instructions = 3;
|
|
54
36
|
*/
|
|
55
37
|
instructions: string;
|
|
56
38
|
/**
|
|
57
|
-
* MCP servers this
|
|
58
|
-
* Each
|
|
59
|
-
* The slug from each reference must be unique within this Agent.
|
|
39
|
+
* MCP servers this agent can use.
|
|
40
|
+
* Each entry must reference a unique McpServer resource by slug.
|
|
60
41
|
*
|
|
61
42
|
* @generated from field: repeated ai.stigmer.agentic.agent.v1.McpServerUsage mcp_server_usages = 4;
|
|
62
43
|
*/
|
|
63
44
|
mcpServerUsages: McpServerUsage[];
|
|
64
45
|
/**
|
|
65
|
-
* Skill resources providing
|
|
66
|
-
* Skills are injected into the agent's context as additional capabilities.
|
|
46
|
+
* Skill resources providing additional knowledge to the agent.
|
|
67
47
|
*
|
|
68
48
|
* @generated from field: repeated ai.stigmer.commons.apiresource.ApiResourceReference skill_refs = 5;
|
|
69
49
|
*/
|
|
70
50
|
skillRefs: ApiResourceReference[];
|
|
71
51
|
/**
|
|
72
52
|
* Sub-agents that can be delegated to.
|
|
73
|
-
* Sub-agents
|
|
53
|
+
* Sub-agents can access a subset of the parent's MCP servers and tools.
|
|
74
54
|
*
|
|
75
55
|
* @generated from field: repeated ai.stigmer.agentic.agent.v1.SubAgent sub_agents = 6;
|
|
76
56
|
*/
|
|
77
57
|
subAgents: SubAgent[];
|
|
78
58
|
/**
|
|
79
59
|
* Environment variables required by the agent.
|
|
80
|
-
* Uses the shared EnvironmentSpec for consistent env var handling across resources.
|
|
81
60
|
*
|
|
82
61
|
* @generated from field: ai.stigmer.agentic.environment.v1.EnvironmentSpec env_spec = 7;
|
|
83
62
|
*/
|
|
@@ -90,79 +69,53 @@ export type AgentSpec = Message<"ai.stigmer.agentic.agent.v1.AgentSpec"> & {
|
|
|
90
69
|
export declare const AgentSpecSchema: GenMessage<AgentSpec>;
|
|
91
70
|
/**
|
|
92
71
|
* SubAgent defines a specialized agent that the parent can delegate to.
|
|
93
|
-
* SubAgents have restricted access to the parent's MCP servers.
|
|
94
72
|
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* - SubAgent skills can reference any Skill resource (independent of parent)
|
|
73
|
+
* A sub-agent can only access MCP servers that the parent has in
|
|
74
|
+
* mcp_server_usages, and its tools must be a subset of the parent's
|
|
75
|
+
* enabled tools. Skills are independent of the parent.
|
|
99
76
|
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* - name: code-reviewer
|
|
103
|
-
* description: "Reviews code changes for quality and security"
|
|
104
|
-
* instructions: "You review code changes. Focus on security..."
|
|
105
|
-
* mcp_access:
|
|
106
|
-
* - mcp_server: github
|
|
107
|
-
* enabled_tools: [search_code, get_file]
|
|
108
|
-
* skill_refs:
|
|
109
|
-
* - kind: skill
|
|
110
|
-
* slug: code-review-best-practices
|
|
77
|
+
* @internal
|
|
78
|
+
* Permission model enforced at execution time by the delegation handler.
|
|
111
79
|
*
|
|
112
80
|
* @generated from message ai.stigmer.agentic.agent.v1.SubAgent
|
|
113
81
|
*/
|
|
114
82
|
export type SubAgent = Message<"ai.stigmer.agentic.agent.v1.SubAgent"> & {
|
|
115
83
|
/**
|
|
116
84
|
* Unique name of the sub-agent within the parent agent.
|
|
117
|
-
* Used for delegation routing and logging.
|
|
118
|
-
* Examples: "code-reviewer", "researcher", "writer"
|
|
119
85
|
*
|
|
120
86
|
* @generated from field: string name = 1;
|
|
121
87
|
*/
|
|
122
88
|
name: string;
|
|
123
89
|
/**
|
|
124
|
-
*
|
|
125
|
-
* Helps the parent agent decide when to delegate to this sub-agent.
|
|
126
|
-
* Example: "Reviews code changes for security issues and best practices"
|
|
90
|
+
* What this sub-agent specializes in.
|
|
127
91
|
*
|
|
128
92
|
* @generated from field: string description = 2;
|
|
129
93
|
*/
|
|
130
94
|
description: string;
|
|
131
95
|
/**
|
|
132
|
-
*
|
|
133
|
-
* Defines the sub-agent's personality, expertise, and constraints.
|
|
134
|
-
* Should be at least 10 characters to ensure meaningful instructions.
|
|
96
|
+
* System prompt for this sub-agent.
|
|
135
97
|
*
|
|
136
98
|
* @generated from field: string instructions = 3;
|
|
137
99
|
*/
|
|
138
100
|
instructions: string;
|
|
139
101
|
/**
|
|
140
102
|
* MCP server access grants for this sub-agent.
|
|
141
|
-
* Each
|
|
142
|
-
*
|
|
143
|
-
* Sub-agent can only use MCP servers listed here.
|
|
103
|
+
* Each entry references a parent McpServerUsage by slug and optionally
|
|
104
|
+
* restricts which tools are available.
|
|
144
105
|
*
|
|
145
106
|
* @generated from field: repeated ai.stigmer.agentic.agent.v1.McpAccess mcp_access = 4;
|
|
146
107
|
*/
|
|
147
108
|
mcpAccess: McpAccess[];
|
|
148
109
|
/**
|
|
149
|
-
* Skill resources for this sub-agent
|
|
150
|
-
* Skills provide domain-specific knowledge and capabilities.
|
|
110
|
+
* Skill resources for this sub-agent.
|
|
151
111
|
*
|
|
152
112
|
* @generated from field: repeated ai.stigmer.commons.apiresource.ApiResourceReference skill_refs = 5;
|
|
153
113
|
*/
|
|
154
114
|
skillRefs: ApiResourceReference[];
|
|
155
115
|
/**
|
|
156
116
|
* Model override for this sub-agent.
|
|
157
|
-
* When set,
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* Examples:
|
|
161
|
-
* - Parent uses "claude-sonnet-4" ($3/$15 per MTok)
|
|
162
|
-
* - File search sub-agent overrides to "claude-haiku-4" ($0.25/$1.25)
|
|
163
|
-
* - Code review sub-agent keeps parent model (leave empty)
|
|
164
|
-
*
|
|
165
|
-
* When empty: inherits the parent agent's model (current behavior).
|
|
117
|
+
* When set, uses this model instead of the parent's model.
|
|
118
|
+
* When empty, inherits the parent agent's model.
|
|
166
119
|
*
|
|
167
120
|
* @generated from field: string model_override = 6;
|
|
168
121
|
*/
|
|
@@ -174,45 +127,33 @@ export type SubAgent = Message<"ai.stigmer.agentic.agent.v1.SubAgent"> & {
|
|
|
174
127
|
*/
|
|
175
128
|
export declare const SubAgentSchema: GenMessage<SubAgent>;
|
|
176
129
|
/**
|
|
177
|
-
* McpServerUsage declares that this
|
|
178
|
-
* The slug from mcp_server_ref becomes the identifier for SubAgent access.
|
|
130
|
+
* McpServerUsage declares that this agent uses a McpServer resource.
|
|
179
131
|
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
132
|
+
* The slug from mcp_server_ref identifies this server for SubAgent access
|
|
133
|
+
* grants via McpAccess.
|
|
182
134
|
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
* kind: mcp_server
|
|
187
|
-
* slug: github
|
|
188
|
-
* enabled_tools: [search_code, get_file, create_pr]
|
|
189
|
-
* tool_approval_overrides:
|
|
190
|
-
* - tool_name: delete_repository
|
|
191
|
-
* requires_approval: false # Trust this agent
|
|
192
|
-
* - mcp_server_ref:
|
|
193
|
-
* org: acme-corp
|
|
194
|
-
* kind: mcp_server
|
|
195
|
-
* slug: internal-tools
|
|
135
|
+
* @internal
|
|
136
|
+
* Design principle: Users already named their McpServer with a slug.
|
|
137
|
+
* We use that slug as the identifier — no extra naming required.
|
|
196
138
|
*
|
|
197
139
|
* @generated from message ai.stigmer.agentic.agent.v1.McpServerUsage
|
|
198
140
|
*/
|
|
199
141
|
export type McpServerUsage = Message<"ai.stigmer.agentic.agent.v1.McpServerUsage"> & {
|
|
200
142
|
/**
|
|
201
143
|
* Reference to the McpServer resource.
|
|
202
|
-
* Must reference a resource with kind=mcp_server (44).
|
|
203
|
-
* The slug from this reference is how SubAgents identify this server.
|
|
204
144
|
*
|
|
205
145
|
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceReference mcp_server_ref = 1;
|
|
206
146
|
*/
|
|
207
147
|
mcpServerRef?: ApiResourceReference;
|
|
208
148
|
/**
|
|
209
|
-
* Tools to enable from this MCP server for this
|
|
210
|
-
*
|
|
211
|
-
*
|
|
149
|
+
* Tools to enable from this MCP server for this agent.
|
|
150
|
+
* Empty list uses the McpServer's default_enabled_tools.
|
|
151
|
+
* Sub-agents can only restrict this set further, not expand it.
|
|
212
152
|
*
|
|
153
|
+
* @internal
|
|
213
154
|
* Tool names must match exactly what the MCP server reports via tools/list.
|
|
214
|
-
*
|
|
215
|
-
* Do NOT include names from
|
|
155
|
+
* Only names from discovered_capabilities.tools are valid here.
|
|
156
|
+
* Do NOT include names from discovered_capabilities.resource_templates —
|
|
216
157
|
* resource templates are read-only data endpoints, not callable tools.
|
|
217
158
|
* Including a resource template name here causes a fatal runtime error.
|
|
218
159
|
*
|
|
@@ -221,30 +162,7 @@ export type McpServerUsage = Message<"ai.stigmer.agentic.agent.v1.McpServerUsage
|
|
|
221
162
|
enabledTools: string[];
|
|
222
163
|
/**
|
|
223
164
|
* Override approval requirements for specific tools.
|
|
224
|
-
*
|
|
225
|
-
* These overrides take precedence over McpServer.default_tool_approvals,
|
|
226
|
-
* allowing per-agent customization of the approval policy.
|
|
227
|
-
*
|
|
228
|
-
* Use cases:
|
|
229
|
-
* - Disable approval for a trusted automation agent
|
|
230
|
-
* - Add approval for a tool that doesn't have default approval
|
|
231
|
-
* - Customize the approval message for this agent's context
|
|
232
|
-
*
|
|
233
|
-
* Example (trusted deployment agent - disable defaults):
|
|
234
|
-
* tool_approval_overrides:
|
|
235
|
-
* - tool_name: "delete_repository"
|
|
236
|
-
* requires_approval: false # Trust this agent for deletions
|
|
237
|
-
* - tool_name: "force_push"
|
|
238
|
-
* requires_approval: false # Trust this agent for force pushes
|
|
239
|
-
*
|
|
240
|
-
* Example (stricter approval for customer-facing agent):
|
|
241
|
-
* tool_approval_overrides:
|
|
242
|
-
* - tool_name: "send_email"
|
|
243
|
-
* requires_approval: true
|
|
244
|
-
* message: "Send customer communication: {{args.subject}}"
|
|
245
|
-
* - tool_name: "create_ticket"
|
|
246
|
-
* requires_approval: true
|
|
247
|
-
* message: "Create support ticket for customer"
|
|
165
|
+
* Takes precedence over McpServer.default_tool_approvals.
|
|
248
166
|
*
|
|
249
167
|
* @generated from field: repeated ai.stigmer.agentic.agent.v1.ToolApprovalOverride tool_approval_overrides = 3;
|
|
250
168
|
*/
|
|
@@ -256,37 +174,27 @@ export type McpServerUsage = Message<"ai.stigmer.agentic.agent.v1.McpServerUsage
|
|
|
256
174
|
*/
|
|
257
175
|
export declare const McpServerUsageSchema: GenMessage<McpServerUsage>;
|
|
258
176
|
/**
|
|
259
|
-
* McpAccess grants a
|
|
260
|
-
* Uses the same slug that identifies the McpServer resource.
|
|
177
|
+
* McpAccess grants a sub-agent access to one of the parent's MCP servers.
|
|
261
178
|
*
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
* Example YAML:
|
|
267
|
-
* sub_agents:
|
|
268
|
-
* - name: code-reviewer
|
|
269
|
-
* mcp_access:
|
|
270
|
-
* - mcp_server: github
|
|
271
|
-
* enabled_tools: [search_code, get_file]
|
|
272
|
-
* - mcp_server: slack
|
|
273
|
-
* # enabled_tools empty = all tools from parent
|
|
179
|
+
* @internal
|
|
180
|
+
* Permission model enforced at execution time: sub-agent can only access
|
|
181
|
+
* servers in the parent's mcp_server_usages, and tools must be a subset
|
|
182
|
+
* of the parent's enabled_tools.
|
|
274
183
|
*
|
|
275
184
|
* @generated from message ai.stigmer.agentic.agent.v1.McpAccess
|
|
276
185
|
*/
|
|
277
186
|
export type McpAccess = Message<"ai.stigmer.agentic.agent.v1.McpAccess"> & {
|
|
278
187
|
/**
|
|
279
188
|
* Slug of the McpServer to grant access to.
|
|
280
|
-
* Must match mcp_server_ref.slug from
|
|
189
|
+
* Must match a mcp_server_ref.slug from the parent's mcp_server_usages.
|
|
281
190
|
*
|
|
282
191
|
* @generated from field: string mcp_server = 1;
|
|
283
192
|
*/
|
|
284
193
|
mcpServer: string;
|
|
285
194
|
/**
|
|
286
|
-
* Tools this
|
|
195
|
+
* Tools this sub-agent can use from this MCP server.
|
|
287
196
|
* Must be a subset of the parent's enabled_tools for this server.
|
|
288
|
-
* Empty list
|
|
289
|
-
* Only MCP tool names are valid — never include resource template names.
|
|
197
|
+
* Empty list grants access to all tools the parent has enabled.
|
|
290
198
|
*
|
|
291
199
|
* @generated from field: repeated string enabled_tools = 2;
|
|
292
200
|
*/
|
|
@@ -300,29 +208,18 @@ export declare const McpAccessSchema: GenMessage<McpAccess>;
|
|
|
300
208
|
/**
|
|
301
209
|
* ToolApprovalOverride allows per-agent customization of approval requirements.
|
|
302
210
|
*
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
211
|
+
* Set requires_approval to true to require approval even when the McpServer
|
|
212
|
+
* has no default, or to false to skip approval even when the McpServer
|
|
213
|
+
* requires it. These overrides take precedence over
|
|
214
|
+
* McpServer.default_tool_approvals but can be bypassed at execution time
|
|
215
|
+
* by AgentExecution.auto_approve_all.
|
|
307
216
|
*
|
|
308
|
-
*
|
|
217
|
+
* @internal
|
|
218
|
+
* Policy chain (lowest to highest priority):
|
|
219
|
+
* 1. McpServer.default_tool_approvals — platform/org defaults
|
|
220
|
+
* 2. Agent.McpServerUsage.tool_approval_overrides — per-agent (this message)
|
|
221
|
+
* 3. AgentExecution.auto_approve_all — runtime bypass
|
|
309
222
|
*
|
|
310
|
-
* When requires_approval=true and message is empty:
|
|
311
|
-
* - If McpServer has default_tool_approvals for this tool, uses that message
|
|
312
|
-
* - Otherwise, auto-generates: "Execute tool: {tool_name}"
|
|
313
|
-
*
|
|
314
|
-
* When message is provided, it overrides any McpServer default message.
|
|
315
|
-
*
|
|
316
|
-
* ## Policy Chain Position
|
|
317
|
-
*
|
|
318
|
-
* This sits in the middle of the approval policy chain:
|
|
319
|
-
* 1. McpServer.default_tool_approvals - Platform/org defaults (lowest priority)
|
|
320
|
-
* 2. Agent.McpServerUsage.tool_approval_overrides (this message) - Per-agent customization
|
|
321
|
-
* 3. AgentExecution.auto_approve_all - Runtime bypass (highest priority)
|
|
322
|
-
*
|
|
323
|
-
* ## Validation
|
|
324
|
-
*
|
|
325
|
-
* The tool_name should match a tool in the referenced McpServer's tools/list.
|
|
326
223
|
* Invalid tool names are silently ignored (no approval applied).
|
|
327
224
|
* This allows forward-compatibility when MCP servers add/remove tools.
|
|
328
225
|
*
|
|
@@ -331,8 +228,6 @@ export declare const McpAccessSchema: GenMessage<McpAccess>;
|
|
|
331
228
|
export type ToolApprovalOverride = Message<"ai.stigmer.agentic.agent.v1.ToolApprovalOverride"> & {
|
|
332
229
|
/**
|
|
333
230
|
* Name of the tool to override.
|
|
334
|
-
* Must match exactly (case-sensitive) with MCP server's tool name.
|
|
335
|
-
* Example: "delete_repository", "send_email", "execute_sql"
|
|
336
231
|
*
|
|
337
232
|
* @generated from field: string tool_name = 1;
|
|
338
233
|
*/
|
|
@@ -340,27 +235,14 @@ export type ToolApprovalOverride = Message<"ai.stigmer.agentic.agent.v1.ToolAppr
|
|
|
340
235
|
/**
|
|
341
236
|
* Whether this tool requires approval for this agent.
|
|
342
237
|
*
|
|
343
|
-
* false: No approval needed (overrides any McpServer default)
|
|
344
|
-
* true: Approval required (even if McpServer has no default)
|
|
345
|
-
*
|
|
346
|
-
* Note: This can be further overridden at execution time by
|
|
347
|
-
* AgentExecutionSpec.auto_approve_all=true
|
|
348
|
-
*
|
|
349
238
|
* @generated from field: bool requires_approval = 2;
|
|
350
239
|
*/
|
|
351
240
|
requiresApproval: boolean;
|
|
352
241
|
/**
|
|
353
|
-
*
|
|
354
|
-
* Supports {{args.field}} placeholders
|
|
355
|
-
*
|
|
356
|
-
*
|
|
357
|
-
* - Uses McpServer's default message for this tool (if exists)
|
|
358
|
-
* - Otherwise auto-generates: "Execute tool: {tool_name}"
|
|
359
|
-
*
|
|
360
|
-
* Guidelines for effective messages:
|
|
361
|
-
* - Be specific to this agent's context
|
|
362
|
-
* - Include the most important argument values
|
|
363
|
-
* - Keep under 100 characters for UI display
|
|
242
|
+
* Custom approval message shown to the reviewer.
|
|
243
|
+
* Supports {{args.field}} placeholders.
|
|
244
|
+
* When empty, falls back to the McpServer default or auto-generates
|
|
245
|
+
* "Execute tool: {tool_name}".
|
|
364
246
|
*
|
|
365
247
|
* @generated from field: string message = 3;
|
|
366
248
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,mHAAmH;AACnH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAC;AAC3F,OAAO,EAAE,iDAAiD,EAAE,MAAM,+CAA+C,CAAC;AAElH,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,k1DAAk1D,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,mHAAmH;AACnH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAC;AAC3F,OAAO,EAAE,iDAAiD,EAAE,MAAM,+CAA+C,CAAC;AAElH,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,k1DAAk1D,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAiErgE;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA+CxD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA+BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAgDxD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -6,7 +6,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_ai_stigmer_agentic_agent_v1_status: GenFile;
|
|
8
8
|
/**
|
|
9
|
-
* AgentStatus contains system-managed state for an
|
|
9
|
+
* AgentStatus contains system-managed state for an agent.
|
|
10
10
|
*
|
|
11
11
|
* @generated from message ai.stigmer.agentic.agent.v1.AgentStatus
|
|
12
12
|
*/
|
|
@@ -18,10 +18,10 @@ export type AgentStatus = Message<"ai.stigmer.agentic.agent.v1.AgentStatus"> & {
|
|
|
18
18
|
*/
|
|
19
19
|
audit?: ApiResourceAudit;
|
|
20
20
|
/**
|
|
21
|
-
* ID of the default agent instance
|
|
22
|
-
* Every agent has exactly one default instance that
|
|
23
|
-
*
|
|
24
|
-
*
|
|
21
|
+
* ID of the default agent instance.
|
|
22
|
+
* Every agent has exactly one default instance that uses all agent defaults
|
|
23
|
+
* and requires no additional configuration. Created automatically when the
|
|
24
|
+
* agent is created.
|
|
25
25
|
*
|
|
26
26
|
* @generated from field: string default_instance_id = 1;
|
|
27
27
|
*/
|
|
@@ -131,35 +131,31 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
|
|
|
131
131
|
[key: string]: TodoItem;
|
|
132
132
|
};
|
|
133
133
|
/**
|
|
134
|
-
*
|
|
134
|
+
* Callback token for notifying a parent workflow when this execution completes.
|
|
135
135
|
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
* is responsible for completing the external activity when the agent execution finishes.
|
|
136
|
+
* Present when this execution was triggered by a workflow. Empty when the
|
|
137
|
+
* execution runs independently (chat, API call).
|
|
139
138
|
*
|
|
140
|
-
*
|
|
139
|
+
* @internal
|
|
141
140
|
*
|
|
142
|
-
*
|
|
141
|
+
* When this AgentExecution is triggered from a Temporal activity, the
|
|
142
|
+
* calling activity passes its task token here. The agent-runner completes
|
|
143
|
+
* the external activity when the execution finishes.
|
|
144
|
+
*
|
|
145
|
+
* Token Handshake Pattern:
|
|
143
146
|
* 1. External activity extracts token and stores in AgentExecution.status
|
|
144
147
|
* 2. Activity returns activity.ErrResultPending (paused, thread freed)
|
|
145
148
|
* 3. Agent executes (seconds to minutes)
|
|
146
149
|
* 4. On completion: agent-runner completes external activity via token
|
|
147
150
|
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
151
|
+
* Why in Status (not Spec):
|
|
150
152
|
* - System-generated by Temporal, not user-provided
|
|
151
153
|
* - Runtime state, not configuration
|
|
152
154
|
* - Ephemeral, only relevant during execution
|
|
153
155
|
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
* - **With token**: Agent invoked from workflow, workflow waits for completion
|
|
157
|
-
* - **Without token**: Agent runs independently (chat, API call)
|
|
158
|
-
*
|
|
159
|
-
* ## References
|
|
160
|
-
*
|
|
156
|
+
* References:
|
|
161
157
|
* - WorkflowExecution.spec.callback_token (field 7) - Same pattern
|
|
162
|
-
* -
|
|
158
|
+
* - ADR: docs/adr/20260122-async-agent-execution-temporal-token-handshake.md
|
|
163
159
|
*
|
|
164
160
|
* @generated from field: bytes callback_token = 10;
|
|
165
161
|
*/
|
|
@@ -175,6 +171,12 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
|
|
|
175
171
|
/**
|
|
176
172
|
* Active pending approval requests for this execution.
|
|
177
173
|
*
|
|
174
|
+
* Contains one entry per tool call that requires user approval before
|
|
175
|
+
* it can proceed. Sub-agent approvals are included with from_sub_agent
|
|
176
|
+
* set to true. Empty when no approvals are pending.
|
|
177
|
+
*
|
|
178
|
+
* @internal
|
|
179
|
+
*
|
|
178
180
|
* Computed server-side by the Go/Java UpdateStatus handlers on every write.
|
|
179
181
|
* The handler scans messages[].tool_calls and
|
|
180
182
|
* sub_agent_executions[].messages[].tool_calls, collecting entries where
|
|
@@ -185,9 +187,6 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
|
|
|
185
187
|
* with the authoritative tool call state embedded in messages. No lifecycle
|
|
186
188
|
* state machine, no merge logic, no forward-only enforcement needed.
|
|
187
189
|
*
|
|
188
|
-
* Sub-agent approvals are included with from_sub_agent=true and
|
|
189
|
-
* sub_agent_name set, so the UI can attribute each approval to its origin.
|
|
190
|
-
*
|
|
191
190
|
* Lifecycle:
|
|
192
191
|
* 1. Agent-runner sets ToolCall.status = WAITING_APPROVAL on the message
|
|
193
192
|
* 2. UpdateStatus handler recomputes this field, entry appears
|
|
@@ -195,8 +194,6 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
|
|
|
195
194
|
* 4. User submits decisions via SubmitApproval RPC (one per tool call)
|
|
196
195
|
* 5. Agent resumes, ToolCall.status advances, next recompute drops the entry
|
|
197
196
|
*
|
|
198
|
-
* Empty when no approvals are pending.
|
|
199
|
-
*
|
|
200
197
|
* @generated from field: repeated ai.stigmer.agentic.agentexecution.v1.PendingApproval pending_approvals = 16;
|
|
201
198
|
*/
|
|
202
199
|
pendingApprovals: PendingApproval[];
|
|
@@ -271,8 +268,9 @@ export type AgentExecutionStatus = Message<"ai.stigmer.agentic.agentexecution.v1
|
|
|
271
268
|
*/
|
|
272
269
|
export declare const AgentExecutionStatusSchema: GenMessage<AgentExecutionStatus>;
|
|
273
270
|
/**
|
|
274
|
-
* Setup progress reported
|
|
271
|
+
* Setup progress reported during the EXECUTION_PENDING phase.
|
|
275
272
|
*
|
|
273
|
+
* @internal
|
|
276
274
|
* Designed as a sub-message (rather than a bare string) so future fields
|
|
277
275
|
* (completed_phases, total_phases, phase_index) can be added without
|
|
278
276
|
* deprecation or breaking changes.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/api_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,oIAAoI;AACpI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAE3E,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAE3E,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAE3E,OAAO,EAAE,mDAAmD,EAAE,MAAM,gBAAgB,CAAC;AAErF,OAAO,EAAE,4CAA4C,EAAE,MAAM,0CAA0C,CAAC;AAExG,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAY,aAAa,CACjF,QAAQ,CAAC,0gEAA0gE,EAAE,CAAC,kDAAkD,EAAE,kDAAkD,EAAE,iDAAiD,EAAE,8CAA8C,EAAE,iDAAiD,EAAE,8CAA8C,EAAE,kDAAkD,EAAE,8CAA8C,EAAE,mDAAmD,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgDtlF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/api_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,oIAAoI;AACpI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAE3E,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAE3E,OAAO,EAAE,kDAAkD,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,8CAA8C,EAAE,MAAM,WAAW,CAAC;AAE3E,OAAO,EAAE,mDAAmD,EAAE,MAAM,gBAAgB,CAAC;AAErF,OAAO,EAAE,4CAA4C,EAAE,MAAM,0CAA0C,CAAC;AAExG,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAY,aAAa,CACjF,QAAQ,CAAC,0gEAA0gE,EAAE,CAAC,kDAAkD,EAAE,kDAAkD,EAAE,iDAAiD,EAAE,8CAA8C,EAAE,iDAAiD,EAAE,8CAA8C,EAAE,kDAAkD,EAAE,8CAA8C,EAAE,mDAAmD,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgDtlF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC;AAwNhE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC;AAuBhE;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -5,25 +5,21 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const file_ai_stigmer_agentic_agentexecution_v1_approval: GenFile;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* call state in messages.
|
|
8
|
+
* A pending approval request for a tool call that requires user consent before execution.
|
|
10
9
|
*
|
|
11
|
-
*
|
|
10
|
+
* Each entry represents one tool call waiting for a user decision (approve, skip,
|
|
11
|
+
* or reject). Sub-agent approvals are included with from_sub_agent set to true
|
|
12
|
+
* and sub_agent_name identifying the origin.
|
|
12
13
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
14
|
+
* @internal
|
|
15
|
+
*
|
|
16
|
+
* Computed server-side by the UpdateStatus handlers on every write. The handler
|
|
17
|
+
* scans messages[].tool_calls and sub_agent_executions[].messages[].tool_calls,
|
|
15
18
|
* collecting entries where status == WAITING_APPROVAL && requires_approval == true.
|
|
16
19
|
* Because the list is recomputed rather than merged, it is always consistent
|
|
17
20
|
* with the authoritative tool call state embedded in messages.
|
|
18
21
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* When a sub-agent's tool requires approval, the computed projection includes
|
|
22
|
-
* it with from_sub_agent=true and sub_agent_name set. This allows UI to show:
|
|
23
|
-
* "Sub-agent 'code-reviewer' needs approval to execute 'delete_file'"
|
|
24
|
-
*
|
|
25
|
-
* ## Lifecycle
|
|
26
|
-
*
|
|
22
|
+
* Lifecycle:
|
|
27
23
|
* 1. Tool with requires_approval=true is about to execute
|
|
28
24
|
* 2. Agent-runner sets ToolCall.status = WAITING_APPROVAL on the message
|
|
29
25
|
* 3. Server recomputes pending_approvals, entry appears
|
|
@@ -128,15 +124,15 @@ export type PendingApproval = Message<"ai.stigmer.agentic.agentexecution.v1.Pend
|
|
|
128
124
|
*/
|
|
129
125
|
export declare const PendingApprovalSchema: GenMessage<PendingApproval>;
|
|
130
126
|
/**
|
|
131
|
-
*
|
|
132
|
-
* when a child agent enters WAITING_FOR_APPROVAL state.
|
|
127
|
+
* Notification sent to a parent workflow when a child agent needs tool approval.
|
|
133
128
|
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
129
|
+
* Contains all pending approvals from a single child agent execution,
|
|
130
|
+
* enabling the parent workflow to surface approval requests to users
|
|
131
|
+
* without polling.
|
|
137
132
|
*
|
|
138
|
-
*
|
|
133
|
+
* @internal
|
|
139
134
|
*
|
|
135
|
+
* Signal Flow:
|
|
140
136
|
* 1. Child agent requires tool approval (phase = WAITING_FOR_APPROVAL)
|
|
141
137
|
* 2. Java workflow detects this and builds ChildApprovalNotification
|
|
142
138
|
* 3. Java sends Temporal signal "child_approval_required" to parent workflow
|
|
@@ -144,15 +140,7 @@ export declare const PendingApprovalSchema: GenMessage<PendingApproval>;
|
|
|
144
140
|
* 5. Parent updates task status to WORKFLOW_TASK_WAITING_APPROVAL
|
|
145
141
|
* 6. Parent populates WorkflowExecution.status.pending_approvals
|
|
146
142
|
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
* Upon receiving this signal, the parent workflow should:
|
|
150
|
-
* 1. Update its task status to WORKFLOW_TASK_WAITING_APPROVAL
|
|
151
|
-
* 2. Populate WorkflowExecution.status.pending_approvals with all entries
|
|
152
|
-
* 3. Surface the approval requests to users via UI/API
|
|
153
|
-
*
|
|
154
|
-
* ## Graceful Degradation
|
|
155
|
-
*
|
|
143
|
+
* Graceful Degradation:
|
|
156
144
|
* If the signal fails to send (parent workflow completed, network error),
|
|
157
145
|
* the system continues to function. Users can still submit approvals directly
|
|
158
146
|
* via the AgentExecution.SubmitApproval RPC.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approval_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/approval_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,yIAAyI;AACzI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAY,aAAa,CACtF,QAAQ,CAAC,imBAAimB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"approval_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/approval_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,yIAAyI;AACzI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAY,aAAa,CACtF,QAAQ,CAAC,imBAAimB,CAAC,CAAC;AA6H9mB;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC;AAuDrE;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC"}
|