Agents: add pluggable CLIs

Co-authored-by: RealSid08 <RealSid08@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2025-12-02 10:42:27 +00:00
parent 52c311e47f
commit f31e89d5af
15 changed files with 624 additions and 150 deletions

View File

@@ -762,7 +762,7 @@ describe("config and templating", () => {
reply: {
mode: "command" as const,
command: ["claude", "{{Body}}"],
claudeOutputFormat: "text" as const,
agent: { kind: "claude", format: "text" as const },
},
},
};
@@ -802,7 +802,7 @@ describe("config and templating", () => {
reply: {
mode: "command" as const,
command: ["claude", "{{Body}}"],
claudeOutputFormat: "json" as const,
agent: { kind: "claude", format: "json" as const },
},
},
};
@@ -830,7 +830,7 @@ describe("config and templating", () => {
reply: {
mode: "command" as const,
command: ["claude", "{{Body}}"],
// No claudeOutputFormat set on purpose
agent: { kind: "claude" },
},
},
};