@oisincoveney/pipeline 1.0.0

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.
@@ -0,0 +1,18 @@
1
+ export type Harness = "claude" | "codex" | "opencode" | "pi";
2
+ export type AgentRole = "researcher" | "test-writer" | "code-writer" | "verifier";
3
+ export interface AgentResult {
4
+ exitCode: number;
5
+ stdout: string;
6
+ }
7
+ export interface AgentRunRequest {
8
+ contextFile: string | null;
9
+ harness: Harness;
10
+ prompt: string;
11
+ role: AgentRole;
12
+ worktreePath: string;
13
+ }
14
+ export interface AgentAdapter {
15
+ run(request: AgentRunRequest): Promise<AgentResult>;
16
+ }
17
+ export declare function spawnAgent(harness: Harness, _role: AgentRole, prompt: string, contextFile: string | null, worktreePath: string): Promise<AgentResult>;
18
+ export declare const subprocessAgentAdapter: AgentAdapter;