fix(daemon): bound a package workflow's tools by its accepted authority

This commit is contained in:
sam committed 2026-10-11 03:48:31 +11:00
1 parent f4b111bc3f
commit fc0e156649
6 files changed
+108 -6

No files matched your search

+2 -2
View File
@@ -28,8 +28,8 @@ type Request struct {
RunCredential string `json:"run_credential,omitempty"`
// WorkflowDefinition is the exact YAML pinned on Task before dispatch.
WorkflowDefinition string `json:"workflow_definition"`
// Tools is the agent profile's tool allowlist; empty allows every tool.
Tools []string `json:"tools,omitempty"`
// Tools is the tool allowlist: nil allows every tool, an empty list none.
Tools []string `json:"tools"`
// Harness, set for a Kit profile, runs every agent stage on the Kit's
// CLI instead of the built-in loop.
Harness *agentrun.HarnessSpec `json:"harness,omitempty"`