feat(agentexec): run a Kit task's stages on its harness through a named output adapter

This commit is contained in:
sam committed 2026-09-26 09:20:30 +10:00
1 parent 5507ded2d5
commit 0d042b72d9
7 files changed
+145 -21

No files matched your search

+4 -1
View File
@@ -104,7 +104,10 @@ type HarnessSpec struct {
User string `json:"user,omitempty"`
// Env is the invocation's entire environment. Nothing is inherited from
// the worker, whose environment carries its credentials.
Env []string `json:"env,omitempty"`
Env []string `json:"env,omitempty"`
// Adapter names the output adapter reading the CLI's stream; empty is
// a CLI with none.
Adapter string `json:"adapter,omitempty"`
Launch []string `json:"launch"`
Prompt []string `json:"prompt"`
Resume []string `json:"resume,omitempty"`