pipeline-worker 0.1.23 → 0.1.24

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.
package/README.md CHANGED
@@ -8,7 +8,7 @@ Automate the last mile of your local changes: pipeline-worker takes the uncommit
8
8
 
9
9
  1. Captures your staged + unstaged changes (your working tree is only read, not modified, up through this point).
10
10
  2. Replays them in a disposable git worktree.
11
- 3. Asks a coding agent (Claude Code or GitHub Copilot CLI) to infer the intent: change type, branch slug, commit message, summary.
11
+ 3. Asks a coding agent (Claude Code, [Pi](https://pi.dev), or GitHub Copilot CLI) to infer the intent: change type, branch slug, commit message, summary.
12
12
  4. Runs your `build` / `lint` / `test` commands, fail-fast.
13
13
  5. Commits, pushes, and opens a GitLab MR or GitHub PR — the branch name is composed from the configurable `branchPattern`.
14
14
  6. Polls the CI pipeline; on failure it hands the pipeline URL to the agent, which pulls the failed jobs and logs itself via whatever GitLab/GitHub MCP tooling is available (pipeline-worker's own forge MCP server, or an external one the agent already has configured), commits the fix, pushes, and re-polls — capped at `maxFixAttempts` before escalating to a human with an MR comment.
@@ -19,9 +19,20 @@ Polling is plain REST and costs zero agent tokens; the agent is invoked only whe
19
19
  ## Requirements
20
20
 
21
21
  - Node.js >= 20.12 and git
22
- - One coding agent CLI on your PATH: [Claude Code](https://claude.com/claude-code) (`claude`) or [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli) (`copilot`)
22
+ - One coding agent CLI on your PATH: [Claude Code](https://claude.com/claude-code) (`claude`), [Pi](https://pi.dev) (`pi`), or [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli) (`copilot`)
23
23
  - A GitLab or GitHub token with API access to the repo
24
24
 
25
+ ### Agents
26
+
27
+ | CLI | `PIPELINE_WORKER_AGENT` | Setup | Per-invocation model selection |
28
+ | --- | ----------------------- | ----- | ------------------------------ |
29
+ | [Claude Code](https://claude.com/claude-code) | `claude` | `npm install -g @anthropic-ai/claude-code` | ✅ (`--model`) |
30
+ | [Pi](https://pi.dev) | `pi` | `npm install -g @earendil-works/pi-coding-agent` | ✅ (`--model`) — any provider/model |
31
+ | [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli) | `copilot` | Install via [GitHub's docs](https://docs.github.com/en/copilot/how-tos/copilot-cli) | ❌ (uses its own configured model) |
32
+
33
+ Pi supports models from any provider — Anthropic, OpenAI, Google Gemini, DeepSeek, Groq, OpenRouter, etc.
34
+ Configure your provider/api-key via pi's own setup (`/login`), env vars, or `--provider` in the adapter.
35
+
25
36
  ## Install
26
37
 
27
38
  ```sh
@@ -36,7 +47,7 @@ Set these once in your shell profile (`~/.zshrc` / `~/.bashrc`) and every
36
47
  repo on the machine picks them up — no per-repo setup needed:
37
48
 
38
49
  ```sh
39
- export PIPELINE_WORKER_AGENT=claude
50
+ export PIPELINE_WORKER_AGENT=claude # or pi, or copilot
40
51
  export PIPELINE_WORKER_FORGE=gitlab
41
52
  export PIPELINE_WORKER_GITLAB_HOST=https://gitlab.example.com
42
53
  export PIPELINE_WORKER_GITLAB_TOKEN=glpat-xxxxx
@@ -57,7 +68,7 @@ pipeline-worker is configured entirely through real environment variables — se
57
68
 
58
69
  | Env var | Default | Meaning |
59
70
  | --------------------------------------- | ---------------------------- | ----------------------------------------------------------------------------- |
60
- | `PIPELINE_WORKER_AGENT` | `claude` | `claude` or `copilot` |
71
+ | `PIPELINE_WORKER_AGENT` | `claude` | `claude`, `pi`, or `copilot` |
61
72
  | `PIPELINE_WORKER_FORGE` | `gitlab` | `gitlab` or `github` |
62
73
  | `PIPELINE_WORKER_GITLAB_HOST` | — | e.g. `https://gitlab.example.com` |
63
74
  | `PIPELINE_WORKER_GITLAB_PROJECT_ID` | — | numeric project id |
@@ -69,7 +80,7 @@ pipeline-worker is configured entirely through real environment variables — se
69
80
  | `PIPELINE_WORKER_BRANCH_PATTERN` | `pipeline-worker/{name}` | feature branch naming template — see below |
70
81
  | `PIPELINE_WORKER_CLEANUP` | `true` | reset repoRoot to HEAD once cleanup fires (see `PIPELINE_WORKER_CLEANUP_EARLY` for when) (`false` to keep your local uncommitted changes as-is) |
71
82
  | `PIPELINE_WORKER_CLEANUP_EARLY` | `false` | `true` resets repoRoot as soon as the MR/PR is opened (diff committed + pushed), instead of waiting for CI to go green — frees the repo (and the run lock) for a new `pipeline-worker run` while this run's CI-watch/fix loop keeps going in the background |
72
- | `PIPELINE_WORKER_INTENT_MODEL` | `haiku` | model used for the intent-capture step (branch/commit/summary); claude only copilot has no per-invocation model selection and ignores it |
83
+ | `PIPELINE_WORKER_INTENT_MODEL` | `haiku` | model used for the intent-capture step (branch/commit/summary); claude and pi support per-invocation model selection copilot ignores it |
73
84
  | `PIPELINE_WORKER_BUILD` | auto-detected from toolchain | build command override; set to an empty string to skip the stage |
74
85
  | `PIPELINE_WORKER_LINT` | auto-detected from toolchain | lint command override; set to an empty string to skip the stage |
75
86
  | `PIPELINE_WORKER_TEST` | auto-detected from toolchain | test command override; set to an empty string to skip the stage |
@@ -126,7 +137,7 @@ A stage with no command (`—`) is skipped. If no toolchain is detected and no c
126
137
 
127
138
  Before doing any work, `pipeline-worker run` checks npm for a newer published version and installs it automatically if the locally installed one is out of date (the update takes effect on the next run). This check is best-effort: if npm is unreachable or the install fails, the run proceeds anyway on whatever version is already installed.
128
139
 
129
- Every time a run hands a turn to Claude Code or the Copilot CLI (resolving a conflict, capturing intent, fixing a failed pipeline), the output includes that turn's duration and an `agent session: <id>` line — `claude --resume <id>` (or `copilot --resume <id>`) opens the same session later to see exactly what it did and why. Copilot CLI has no way to report the session id it picked for itself, so pipeline-worker assigns one via `--name` instead and reports that.
140
+ Every time a run hands a turn to the agent (resolving a conflict, capturing intent, fixing a failed pipeline), the output includes that turn's duration and an `agent session: <id>` line — `claude --resume <id>`, `pi --session <id>`, or `copilot --resume <id>` opens the same session later to see exactly what it did and why. Copilot CLI has no way to report the session id it picked for itself, so pipeline-worker assigns one via `--name` instead and reports that.
130
141
 
131
142
  ## How the fix loop stays bounded
132
143
 
@@ -1,5 +1,6 @@
1
1
  import { claudeAdapter } from './claude.js';
2
2
  import { copilotAdapter } from './copilot.js';
3
+ import { piAdapter } from './pi.js';
3
4
  /**
4
5
  * Picks the adapter named by PIPELINE_WORKER_AGENT. Deliberately no runtime
5
6
  * fallback/interactive choice — the config names exactly one agent per repo.
@@ -10,6 +11,8 @@ export function selectAgent(config) {
10
11
  return claudeAdapter;
11
12
  case 'copilot':
12
13
  return copilotAdapter;
14
+ case 'pi':
15
+ return piAdapter;
13
16
  }
14
17
  }
15
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agent/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,MAA4B;IACtD,QAAQ,MAAM,CAAC,KAAK,EAAE,CAAC;QACrB,KAAK,QAAQ;YACX,OAAO,aAAa,CAAC;QACvB,KAAK,SAAS;YACZ,OAAO,cAAc,CAAC;IAC1B,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/agent/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,MAA4B;IACtD,QAAQ,MAAM,CAAC,KAAK,EAAE,CAAC;QACrB,KAAK,QAAQ;YACX,OAAO,aAAa,CAAC;QACvB,KAAK,SAAS;YACZ,OAAO,cAAc,CAAC;QACxB,KAAK,IAAI;YACP,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Headless pi CLI adapter. Flags verified against pi's CLI reference:
3
+ * `-p/--print` for non-interactive output, `--provider`, `--model` for
4
+ * per-invocation model selection, `--tools` for tool allowlisting, `--name`
5
+ * for session labelling.
6
+ *
7
+ * Pi supports any model from its extensive provider list: Anthropic, OpenAI,
8
+ * Google Gemini, DeepSeek, Groq, OpenRouter, etc. Users configure their
9
+ * provider/api-key via pi's own setup (`/login`) or env vars; this adapter
10
+ * passes through `opts.model` (e.g. the configured
11
+ * `PIPELINE_WORKER_INTENT_MODEL`) so each invocation can use a different
12
+ * model.
13
+ *
14
+ * Known gaps vs the Claude adapter, handled here:
15
+ * - no structured-output/JSON-schema flag -> the schema is embedded in the
16
+ * prompt and the JSON object is extracted from the response text (same
17
+ * strategy as the copilot adapter);
18
+ * - no per-invocation MCP config flag -> `mcpConfigPath` is unsupported;
19
+ * register the server in pi's config or pass `-e` in pi's own settings;
20
+ * - no `--allowedTools` flag -> pi uses `--tools <list>` for allowlisting,
21
+ * so `opts.allowedTools` is mapped from Claude-style names to pi-style
22
+ * names (PascalCase -> lowercase, scoped patterns e.g. `Bash(git diff:*)`
23
+ * -> `bash`) before being passed;
24
+ * - no `--permission-mode` flag -> pi in `-p` mode is non-interactive by
25
+ * default, so `opts.permissionMode` is ignored;
26
+ * - the prompt is piped over stdin rather than passed as a CLI argument,
27
+ * since large prompts (e.g. full git diff) can exceed the OS's exec()
28
+ * argument size limit (E2BIG). Pi reads piped stdin and merges it into
29
+ * the initial prompt when using `-p`.
30
+ *
31
+ * Session tracking: pi supports `--name` for a display name and `--session`
32
+ * for resuming a specific session. We pass `--name` so the user can look up
33
+ * what pi did; the session id isn't returned in print mode, so `sessionId`
34
+ * is set to the name we chose.
35
+ */
36
+ import { type AgentAdapter } from './types.js';
37
+ export declare const piAdapter: AgentAdapter;
@@ -0,0 +1,104 @@
1
+ /**
2
+ * Headless pi CLI adapter. Flags verified against pi's CLI reference:
3
+ * `-p/--print` for non-interactive output, `--provider`, `--model` for
4
+ * per-invocation model selection, `--tools` for tool allowlisting, `--name`
5
+ * for session labelling.
6
+ *
7
+ * Pi supports any model from its extensive provider list: Anthropic, OpenAI,
8
+ * Google Gemini, DeepSeek, Groq, OpenRouter, etc. Users configure their
9
+ * provider/api-key via pi's own setup (`/login`) or env vars; this adapter
10
+ * passes through `opts.model` (e.g. the configured
11
+ * `PIPELINE_WORKER_INTENT_MODEL`) so each invocation can use a different
12
+ * model.
13
+ *
14
+ * Known gaps vs the Claude adapter, handled here:
15
+ * - no structured-output/JSON-schema flag -> the schema is embedded in the
16
+ * prompt and the JSON object is extracted from the response text (same
17
+ * strategy as the copilot adapter);
18
+ * - no per-invocation MCP config flag -> `mcpConfigPath` is unsupported;
19
+ * register the server in pi's config or pass `-e` in pi's own settings;
20
+ * - no `--allowedTools` flag -> pi uses `--tools <list>` for allowlisting,
21
+ * so `opts.allowedTools` is mapped from Claude-style names to pi-style
22
+ * names (PascalCase -> lowercase, scoped patterns e.g. `Bash(git diff:*)`
23
+ * -> `bash`) before being passed;
24
+ * - no `--permission-mode` flag -> pi in `-p` mode is non-interactive by
25
+ * default, so `opts.permissionMode` is ignored;
26
+ * - the prompt is piped over stdin rather than passed as a CLI argument,
27
+ * since large prompts (e.g. full git diff) can exceed the OS's exec()
28
+ * argument size limit (E2BIG). Pi reads piped stdin and merges it into
29
+ * the initial prompt when using `-p`.
30
+ *
31
+ * Session tracking: pi supports `--name` for a display name and `--session`
32
+ * for resuming a specific session. We pass `--name` so the user can look up
33
+ * what pi did; the session id isn't returned in print mode, so `sessionId`
34
+ * is set to the name we chose.
35
+ */
36
+ import { execFile } from 'node:child_process';
37
+ import { promisify } from 'node:util';
38
+ import { randomUUID } from 'node:crypto';
39
+ import { AGENT_INVOKE_TIMEOUT_MS } from './types.js';
40
+ import { writePromptToStdin } from './stdinPrompt.js';
41
+ const execFileAsync = promisify(execFile);
42
+ /**
43
+ * Maps a Claude-style tool name to the pi equivalent. Claude uses PascalCase
44
+ * and supports scoped patterns like `Bash(git diff:*)`; pi uses lowercase
45
+ * names only and has no scoping — a scoped bash pattern maps to `bash`.
46
+ *
47
+ * Known mappings:
48
+ * Read -> read
49
+ * Grep -> grep
50
+ * Glob -> find (pi has `find` rather than `glob`)
51
+ * Write -> write
52
+ * Edit -> edit
53
+ * Bash* -> bash
54
+ * * -> passed through lowercased
55
+ */
56
+ function mapToolName(claudeName) {
57
+ const lower = claudeName.toLowerCase();
58
+ if (lower === 'glob')
59
+ return 'find';
60
+ if (lower.startsWith('bash'))
61
+ return 'bash';
62
+ return lower;
63
+ }
64
+ /** Pulls the outermost JSON object out of a text answer that may have prose around it. */
65
+ function extractJsonObject(text) {
66
+ const start = text.indexOf('{');
67
+ const end = text.lastIndexOf('}');
68
+ return start !== -1 && end > start ? text.slice(start, end + 1) : text;
69
+ }
70
+ export const piAdapter = {
71
+ async invoke(opts) {
72
+ const args = ['-p'];
73
+ if (opts.model) {
74
+ args.push('--model', opts.model);
75
+ }
76
+ if (opts.allowedTools?.length) {
77
+ const mapped = opts.allowedTools.map(mapToolName);
78
+ args.push('--tools', mapped.join(','));
79
+ }
80
+ const sessionName = `pipeline-worker-${randomUUID()}`;
81
+ args.push('--name', sessionName);
82
+ let prompt = opts.prompt;
83
+ if (opts.jsonSchema) {
84
+ prompt +=
85
+ '\n\nRespond with ONLY a single JSON object matching this JSON Schema — no prose, no code fences:\n' +
86
+ JSON.stringify(opts.jsonSchema);
87
+ }
88
+ const start = Date.now();
89
+ const invocation = execFileAsync('pi', args, {
90
+ cwd: opts.cwd,
91
+ timeout: AGENT_INVOKE_TIMEOUT_MS,
92
+ maxBuffer: 64 * 1024 * 1024,
93
+ });
94
+ // stdin is always a pipe here since stdio isn't overridden in execFileAsync's options.
95
+ writePromptToStdin(invocation.child.stdin, prompt);
96
+ const { stdout } = await invocation;
97
+ return {
98
+ text: opts.jsonSchema ? extractJsonObject(stdout) : stdout.trim(),
99
+ sessionId: sessionName,
100
+ durationMs: Date.now() - start,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AW;YACtB,UAAU,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK;SAC/B,CAAC;IACJ,CAAC;CACF,CAAC"}
@@ -13,7 +13,7 @@ import { parseEnv } from 'node:util';
13
13
  import { detectChecks } from './detectChecks.js';
14
14
  import { deriveProjectPath } from '../git/resolveProjectPath.js';
15
15
  import { detectGithubRepo } from '../git/remote.js';
16
- const AGENT_NAMES = ['claude', 'copilot'];
16
+ const AGENT_NAMES = ['claude', 'copilot', 'pi'];
17
17
  const FORGE_NAMES = ['gitlab', 'github'];
18
18
  // build/lint/test defaults come from detectChecks(repoRoot) at load time.
19
19
  const DEFAULT_CONFIG = {
@@ -1 +1 @@
1
- {"version":3,"file":"loader.js","sourceRoot":"","sources":["../../src/config/loader.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGpD,MAAM,WAAW,GAAyB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;AAChE,MAAM,WAAW,GAAyB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAE/D,0EAA0E;AAC1E,MAAM,cAAc,GAA0D;IAC5E,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE;QACN,IAAI,EAAE,EAAE;QACR,SAAS,EAAE,CAAC;KACb;IACD,MAAM,EAAE;QACN,IAAI,EAAE,EAAE;KACT;IACD,cAAc,EAAE,CAAC;IACjB,mBAAmB,EAAE,EAAE;IACvB,aAAa,EAAE,wBAAwB;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I,cAAc,CAAC,WAAW;QACnF,cAAc,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,cAAc,CAAC,cAAc,CAAC;QACrG,eAAe,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,cAAc,CAAC,eAAe,CAAC;KACvG,CAAC;AACJ,CAAC"}
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /** Single source of truth for pipeline-worker's cross-module data shapes. */
2
- export type AgentName = 'claude' | 'copilot';
2
+ export type AgentName = 'claude' | 'copilot' | 'pi';
3
3
  export type ForgeName = 'gitlab' | 'github';
4
4
  export interface PipelineWorkerConfig {
5
5
  agent: AgentName;
@@ -9,9 +9,11 @@ export function repositoryUrl(config) {
9
9
  return config.gitlab.host ? `${config.gitlab.host} (project ${config.gitlab.projectId})` : '(not configured)';
10
10
  }
11
11
  export function agentDescription(config) {
12
- // Mirrors captureIntent.ts's model handling: only claude supports
13
- // per-invocation model selection today, so only claude has a "mode" to show.
14
- return config.agent === 'claude' ? `claude (${config.intentModel} for intent capture, default model for CI fixes)` : 'copilot';
12
+ // claude and pi support per-invocation model selection; copilot does not.
13
+ if (config.agent === 'claude' || config.agent === 'pi') {
14
+ return `${config.agent} (${config.intentModel} for intent capture, default model for CI fixes)`;
15
+ }
16
+ return 'copilot';
15
17
  }
16
18
  export async function printWelcome(config, repoRoot) {
17
19
  const user = await getGitUser(repoRoot);
@@ -1 +1 @@
1
- {"version":3,"file":"welcome.js","sourceRoot":"","sources":["../../src/ui/welcome.ts"],"names":[],"mappings":"AAAA,sGAAsG;AAEtG,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,MAAM,UAAU,GAAG,EAAE,CAAC;AAEtB,MAAM,UAAU,aAAa,CAAC,MAA4B;IACxD,IAAI,MAAM,CAAC,KAAK,KAAK,QAAQ,EAAE,CA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,CAAC;QAClC,OAAO,CAAC,GAAG,CAAC,KAAK,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC;IAC5E,CAAC;IACD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACpB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipeline-worker",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "Automated git-worktree workflow: captures intent from a diff via Claude Code or GitHub Copilot CLI, runs build/lint/test, opens a GitLab MR or GitHub PR, and auto-fixes failing pipelines — with a companion forge MCP server (TOON-encoded responses).",
5
5
  "license": "MIT",
6
6
  "author": "Mohan TN <mohan.tn100@gmail.com>",
@@ -19,6 +19,8 @@
19
19
  "pull-request",
20
20
  "claude",
21
21
  "copilot",
22
+ "pi",
23
+ "pi-coding-agent",
22
24
  "mcp",
23
25
  "agent"
24
26
  ],