Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/runner/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import pkg from "../package.json";
export const PROTOCOL_VERSION = 1;
export const RUNNER_VERSION: string = pkg.version;
export const ENGINES = ["sandbox-agent"] as const;
export const HARNESS_KINDS = ["pi_core", "claude", "pi_agenta"] as const;
export const HARNESS_KINDS = ["pi_core", "claude", "pi_agenta", "codex"] as const;

export interface RunnerInfo {
status: "ok";
Expand Down
5 changes: 4 additions & 1 deletion services/runner/tests/unit/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ describe("createAgentServer", () => {
Array.isArray(body.engines) &&
(body.engines as unknown[]).includes("sandbox-agent"),
);
assert.ok(Array.isArray(body.harnesses));
assert.ok(
Array.isArray(body.harnesses) &&
(body.harnesses as unknown[]).includes("codex"),
);
} finally {
await s.close();
}
Expand Down
Loading