Skip to content

Commit c16e183

Browse files
authored
feat: add claude support (#17)
* feat: add claude support * feat: more claude code to be second on marketing page * feat: more changes * chore: bump versions
1 parent 7c41dce commit c16e183

22 files changed

Lines changed: 890 additions & 19 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It pulls work from Linear or GitHub, creates isolated worktrees, runs an agent i
99
- Issue intake from Linear and GitHub.
1010
- Global runtime state under `~/.parallax`.
1111
- CLI control plane plus dashboard UI.
12-
- Codex and Gemini adapters (configurable per project).
12+
- Codex, Gemini, and Claude Code adapters (configurable per project).
1313

1414
## Requirements
1515

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Provider-specific requirement:
6868

6969
#### agent.provider (required)
7070

71-
- allowed values: `codex`, `gemini`
71+
- allowed values: `codex`, `gemini`, `claude-code`
7272

7373
#### agent.model (optional)
7474

docs/getting-started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ parallax preflight
3737
- `gh auth status`
3838
- `codex` CLI (optional)
3939
- `gemini` CLI (optional)
40-
- at least one agent CLI (`codex` or `gemini`) is available
40+
- `claude` CLI (optional)
41+
- at least one agent CLI (`codex`, `gemini`, or `claude`) is available
4142

4243
If a required check fails, fix it before moving on.
4344

docs/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ gh auth login
1515
gh auth status
1616
```
1717

18-
### Neither codex nor gemini found
18+
### None of codex, gemini, or claude found
1919

2020
Install at least one agent CLI and ensure it is on your `PATH`.
2121

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "parallax",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"private": true,
55
"type": "module",
66
"scripts": {

packages/cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Parallax is a local-first AI orchestrator for software development tasks. It pul
1010
- `git`
1111
- `pnpm`
1212
- `gh`
13-
- at least one supported agent CLI (`codex` or `gemini`)
13+
- at least one supported agent CLI (`codex`, `gemini`, or `claude`)
1414

1515
## Install
1616

packages/cli/package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
{
22
"name": "parallax-cli",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
4+
"description": "Local-first AI orchestration CLI for software tasks, plans, approvals, and pull requests.",
45
"type": "module",
6+
"keywords": [
7+
"ai",
8+
"cli",
9+
"developer-tools",
10+
"automation",
11+
"coding-agent",
12+
"linear",
13+
"github",
14+
"pull-request",
15+
"orchestrator",
16+
"parallax"
17+
],
518
"bin": {
619
"parallax": "dist/cli/src/index.js"
720
},

packages/cli/src/commands/preflight.ts

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,19 @@ export async function runPreflight(args: string[]) {
8888
detail: geminiOk ? undefined : 'Install Gemini CLI (npm i -g @google/gemini-cli).',
8989
})
9090

91+
const claudeOk = await commandExists('claude')
9192
checks.push({
92-
name: 'At least one agent CLI (codex or gemini)',
93-
ok: codexOk || geminiOk,
93+
name: 'claude CLI',
94+
ok: claudeOk,
95+
required: false,
96+
detail: claudeOk ? undefined : 'Install Claude Code CLI (npm i -g @anthropic-ai/claude-code).',
97+
})
98+
99+
checks.push({
100+
name: 'At least one agent CLI (codex, gemini, or claude)',
101+
ok: codexOk || geminiOk || claudeOk,
94102
required: true,
95-
detail: codexOk || geminiOk ? undefined : 'Install codex or gemini.',
103+
detail: codexOk || geminiOk || claudeOk ? undefined : 'Install codex, gemini, or claude.',
96104
})
97105
} finally {
98106
spinner?.stop()

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@parallax/common",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"private": true,
55
"type": "module",
66
"main": "./dist/index.js",

packages/common/src/executor.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export class HostExecutor implements LocalExecutor {
3131
cwd: options.cwd,
3232
env: { ...process.env, ...options.env },
3333
shell: false,
34+
stdio: 'pipe',
3435
})
3536

3637
let output = ''
@@ -70,6 +71,10 @@ export class HostExecutor implements LocalExecutor {
7071
}
7172
}
7273

74+
if (child.stdin) {
75+
child.stdin.end()
76+
}
77+
7378
child.stdout.on('data', createHandler('stdout'))
7479
child.stderr.on('data', createHandler('stderr'))
7580

0 commit comments

Comments
 (0)