Skip to content

Add OpenClaude agent support - #2522

Merged
nwparker merged 8 commits into
stablyai:mainfrom
RajvardhanPatil07:openclaude-agent-support
May 30, 2026
Merged

nwparker merged 8 commits into
stablyai:mainfrom
RajvardhanPatil07:openclaude-agent-support

Conversation

@RajvardhanPatil07

@RajvardhanPatil07 RajvardhanPatil07 commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds OpenClaude as a supported Orca agent with PATH detection, launch config, settings catalog entry, search keywords, status labels, telemetry id, notification label, and README badge.
  • Supports draft launches through openclaude --prefill.
  • Adds @openclaude orchestration matching and tightens agent group title matching so OpenClaude sessions stay separate from Claude sessions.

Icon

Gitlawb/OpenClaude avatar

Validation

  • pnpm exec vitest run --config config/vitest.config.ts src/shared/agent-kind.test.ts src/shared/agent-process-recognition.test.ts src/renderer/src/lib/tui-agent-startup.test.ts src/renderer/src/lib/agent-status.test.ts src/main/runtime/orchestration/groups.test.ts
  • pnpm run typecheck
  • pnpm run lint

@RajvardhanPatil07
RajvardhanPatil07 marked this pull request as ready for review May 21, 2026 14:20
@nwparker

Copy link
Copy Markdown
Contributor

Do you know if they have a better icon?
https://www.google.com/s2/favicons?domain=github.com&sz=64

This is just GH's icon 😢

@nwparker
nwparker requested review from nwparker and removed request for brennanb2025 May 26, 2026 05:28
@nwparker
nwparker force-pushed the openclaude-agent-support branch from 5f986b3 to 1e456c9 Compare May 29, 2026 10:41
@nwparker

Copy link
Copy Markdown
Contributor

Coordinator pass completed. I took this PR over, rebased it onto current main, fixed the OpenClaude/Claude title-detection gap, and pushed 1e456c9083bcf2dfd1198b7d505c313b6946a5e6 to the contributor branch.

Evidence:

  • pnpm exec vitest run --config config/vitest.config.ts src/shared/agent-kind.test.ts src/shared/agent-process-recognition.test.ts src/shared/tui-agent-startup.test.ts src/renderer/src/lib/tui-agent-startup.test.ts src/renderer/src/lib/agent-status.test.ts src/main/runtime/orchestration/groups.test.ts src/main/ipc/preflight.test.ts src/shared/telemetry-events.test.ts src/renderer/src/components/agent/AgentCombobox.test.tsx passed: 9 files, 211 tests.
  • pnpm run typecheck passed.
  • pnpm run lint passed.
  • git diff --check and local git merge-tree --write-tree origin/main HEAD passed.
  • Electron dev app proof from this branch on CDP port 9334 showed Settings > Agents with OpenClaude as a separate available agent option using command openclaude and install link https://github.com/Gitlawb/openclaude.
  • Mocked activity/status runtime proof showed Claude and OpenClaude as distinct working rows rather than collapsed Claude matches.
  • Evidence screenshots were captured locally at .playwright-cli/openclaude-agents-pane.png and .playwright-cli/openclaude-activity-distinct.png.

Residual limits:

I did not merge this PR.

@RajvardhanPatil07

Copy link
Copy Markdown
Contributor Author

Local coordinator pass is complete and 1e456c9083bcf2dfd1198b7d505c313b6946a5e6 has been pushed.

Local tests, typecheck, lint, diff check, merge-tree, and manual Electron verification passed. The only remaining blocker is GitHub Actions approval:

https://github.com/stablyai/orca/actions/runs/26632680187

Could a maintainer approve and run the PR Checks workflow?

@nwparker

Copy link
Copy Markdown
Contributor

Maintainer update: I reproduced the new stale-branch conflict against current origin/main, resolved it, and pushed merge-forward commit 16badb8990f04c269744c296d176774b9c497d21 to this PR branch.

Reproduction / resolution evidence:

  • Starting from PR head 1e456c9083, git merge --no-edit origin/main conflicted in src/main/ipc/preflight.test.ts.
  • The conflict was the test handler arg type: this PR needed the SSH remote-agent connectionId path for OpenClaude detection, while current main added WSL wslDistro / wslDefault preflight coverage.
  • Resolution keeps both: the test handler args now cover force, WSL selection, and SSH connectionId.
  • Current main also pushed src/renderer/src/lib/agent-catalog.tsx over the lint line cap after adding OpenClaude, so I added a scoped max-lines rationale comment to keep the existing one-file agent catalog/icon registry passing lint without changing behavior.

Validation on pushed commit 16badb8990f04c269744c296d176774b9c497d21:

  • pnpm exec vitest run --config config/vitest.config.ts src/shared/agent-kind.test.ts src/shared/agent-process-recognition.test.ts src/shared/tui-agent-startup.test.ts src/renderer/src/lib/tui-agent-startup.test.ts src/renderer/src/lib/agent-status.test.ts src/main/runtime/orchestration/groups.test.ts src/main/ipc/preflight.test.ts src/shared/telemetry-events.test.ts src/renderer/src/components/agent/AgentCombobox.test.tsx -> 9 files / 221 tests passed.
  • pnpm run typecheck passed.
  • pnpm run lint passed with 0 warnings / 0 errors.
  • git diff --check HEAD^..HEAD passed.
  • git merge-tree --write-tree origin/main HEAD passed -> 22cb82b0efbc83f7f0b2686c065364f1b7fd1756.

Current GitHub state after push: MERGEABLE / UNSTABLE; no status checks are currently reported on the PR. I did not merge it.

@RajvardhanPatil07

Copy link
Copy Markdown
Contributor Author

Thanks for resolving the stale-branch conflict and pushing 16badb8990f04c269744c296d176774b9c497d21.

I’ll hold off on further changes. Since the PR is mergeable but still UNSTABLE with no reported checks, I’ll wait for CI approval/rerun or maintainer guidance before doing anything else.

@nwparker
nwparker force-pushed the openclaude-agent-support branch from d6cea85 to 9038ad3 Compare May 30, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants