Repository navigation
feat(agents): add Freebuff as a first-class TUI agent - #20839
Prarambha369 wants to merge 1 commit into
Conversation
Freebuff (npm: freebuff, freebuff.com) is the free sibling of Codebuff in the same agent family, but it was absent from every Orca surface — the union, launch config, catalog, icons, telemetry, and docs all shipped Codebuff only. This mirrors every Codebuff wiring site with a Freebuff twin rather than aliasing it, so it gets its own id, display name, icon, and telemetry kind: - TuiAgent union + TUI_AGENT_CONFIG (detectCmd 'freebuff', stdin-after-start, launchCmd/expectedProcess defaulting to detectCmd) - display names, auto-pick order, agent-kind + AGENT_KIND_VALUES - renderer catalog entry, favicon assets, and a 64x64 freebuff.png (sourced from freebuff.com's apple-touch-icon) - mobile labels/favicon domains + icon asset map - skills CLI mapping (null — the skills CLI has no Freebuff key) - i18n catalog key 68ec58ea51 in all six locales + 'Freebuff' in the locale brand allowlist so it never gets mistranslated - supported.mdx row and README badges (root + six localized variants) With the binary on PATH it appears under Installed in Settings → Agents and is launchable via `orca worktree create --agent freebuff`.
|
Closes #20376 ([Feature] Freebuff — the Discord mirror where the wiring instructions in the issue body come from). Also related, for completeness:
|
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved blocking issues were identified.
Pull request overview
Adds Freebuff as a first-class TUI agent across Orca’s shared configuration, desktop/mobile interfaces, telemetry, localization, and documentation.
Changes:
- Registers Freebuff for detection, launching, selection, and telemetry.
- Adds desktop/mobile catalog entries and icon metadata.
- Updates localization, documentation, and README badges.
File summaries
| File | Change |
|---|---|
src/shared/tui-agent.ts |
Adds the Freebuff agent ID. |
src/shared/tui-agent-selection.ts |
Adds auto-pick ordering. |
src/shared/tui-agent-display-names.ts |
Adds the display name. |
src/shared/tui-agent-config.ts |
Configures detection and prompt injection. |
src/shared/telemetry-property-schemas.ts |
Adds the telemetry kind. |
src/shared/skills-cli-agent-keys.ts |
Handles the unsupported skills mapping. |
src/shared/agent-kind.ts |
Maps Freebuff telemetry identity. |
src/renderer/src/lib/agent-status.ts |
Enables status icons. |
src/renderer/src/lib/agent-favicon-assets.ts |
Registers the favicon. |
src/renderer/src/lib/agent-catalog.tsx |
Adds the desktop catalog entry. |
src/renderer/src/i18n/locales/zh.json |
Adds the localized label. |
src/renderer/src/i18n/locales/ko.json |
Adds the localized label. |
src/renderer/src/i18n/locales/ja.json |
Adds the localized label. |
src/renderer/src/i18n/locales/fr.json |
Adds the localized label. |
src/renderer/src/i18n/locales/es.json |
Adds the localized label. |
src/renderer/src/i18n/locales/en.json |
Adds the localized label. |
README.md |
Adds the Freebuff badge. |
mobile/src/tasks/mobile-tui-agents.ts |
Adds mobile favicon metadata. |
mobile/src/components/mobile-agent-icon-assets.ts |
Registers the mobile icon. |
docs/site/content/docs/agents/supported.mdx |
Documents Freebuff support. |
docs/readme/README.zh-CN.md |
Adds the localized badge. |
docs/readme/README.pt.md |
Adds the localized badge. |
docs/readme/README.ko.md |
Adds the localized badge. |
docs/readme/README.ja.md |
Adds the localized badge. |
docs/readme/README.fr.md |
Adds the localized badge. |
docs/readme/README.es.md |
Adds the localized badge. |
config/scripts/locale-translation-policy.mjs |
Preserves the Freebuff brand name. |
Review details
- Files reviewed: 27/28 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (27)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughFreebuff is added as a supported agent. Shared types, detection, selection, telemetry, and display mappings now include it. Renderer and mobile surfaces include its catalog entry, localization, favicon, and icon assets. Documentation lists Freebuff in supported-agent sections. The translation policy preserves the Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to Freebuff is wired across launch, selection, telemetry, renderer, mobile, localization, and documentation without a confirmed blocking issue. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Adds Freebuff (freebuff, freebuff.com) as a first-class TUI agent, mirroring the existing Codebuff wiring across the shared registries, renderer, mobile, i18n, docs, and assets.
- Shared agent registry —
TuiAgentunion,TUI_AGENT_CONFIG(detectCmd: 'freebuff',stdin-after-start), display names,TUI_AGENT_AUTO_PICK_ORDER, theagent-kindmap plusAGENT_KIND_VALUES, and a deliberateskills-cli-agent-keys: null. - Renderer surfaces — catalog entry (ordering still matches the auto-pick list), bundled favicon import/map, and
ICONABLE_AGENT_TYPES. - Mobile — favicon domain in
mobile-tui-agents.tsand the bundled icon asset map; mobile labels/order derive from shared, so no separate list needed. - Assets, docs, i18n — a new 64×64
freebuff.png, the never-translate brand allowlist entry, one i18n key across all six locales, the supported-agents doc row, and README badges (root plus six localized variants).
Verification this run: the agent-kind, skills-cli-agent-keys, quick-workspace-agent-selection, keybindings-default-bindings, agent-picker-search, agent-catalog-links, telemetry-events, AgentCombobox, and AgentsPane tests pass; tsc --noEmit for the web, cli, and node projects is clean. The npm package freebuff exists with a freebuff bin, matching detectCmd. A grep sweep for codebuff found no wiring site this PR missed — the app-level detection/title/hook registries contain no codebuff entry, so Freebuff correctly has none either.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
|
Note: #17065 (opened Aug 28) implements the same feature and got here first. I've commented there offering to consolidate — this PR adds locale parity with the shipped |
|
2 days after PR, still no comment from author. the app is released today without freebuff |
Add Freebuff launch support and execution-host status reporting for the sidebar, including running, question, blocked, and settled states. Validate against captured CLI transcripts and real rendered sidebar evidence. Cross-referenced community implementations #17065, #20839, and the Freebuff portion of #18790. Preserve their agent/catalog/mobile/documentation coverage and add canonical status publication and regression tests. Co-authored-by: Harkaran Brar <18134082+harkaranbrar7@users.noreply.github.com> Co-authored-by: Prarambha369 <98906077+Prarambha369@users.noreply.github.com> Co-authored-by: Lesley Murfin <260182349+LesleyMurfin@users.noreply.github.com>
|
Thanks for picking this up in #23567 and crediting this PR in the commit. |

ELI5
Orca can launch lots of coding agents, but not Freebuff — the free sibling of Codebuff from the same family. This PR teaches Orca about it: with the
freebuffCLI on your PATH, it appears in the agent picker and in Settings → Agents under Installed, andorca worktree create --agent freebuffworks like any other agent.What Changed
A one-to-one mirror of every
codebuffwiring site with afreebufftwin — own id, display name, icon, and telemetry kind, no aliasing (27 files, +38 lines):TuiAgentunion +TUI_AGENT_CONFIG:detectCmd: 'freebuff',promptInjectionMode: 'stdin-after-start'(launchCmd/expectedProcessdefault todetectCmd)agent-kindmap +AGENT_KIND_VALUESfreebuff.png(sourced from freebuff.com's apple-touch-icon)skills-cli-agent-keys:null— the community skills CLI has no Freebuff key, so it is dropped rather than guessed (same treatment as Codebuff)68ec58ea51in all six locales +'Freebuff'added to the locale brand allowlistsupported.mdxrow + README badges (root and six localized variants)Why
Freebuff (npm
freebuff) is actively used but shipped in none of Orca's agent surfaces —freebuffappears 0 times in the 1.4.200 app bundle whilecodebuffappears 59 times. Without a catalog entry users can only run it in a plain terminal: no detection, picker entry, prompt injection, or telemetry. Codebuff already ships with an identical shape, so a mechanical mirror is the smallest, lowest-risk change. Scope is deliberately tight: no refactors ride along.Linked Issue
Fixes #20376
Related: #6871 (older open request — also being addressed by the parallel #17065), plus closed predecessors #19677 and #9350.
Visual Proof
Before
After

What has been verified so far, without screenshots:
GET /src/lib/agent-catalog.tsxon the running dev server returned the module containing thefreebuffentry (id, label, cmd, faviconDomain, homepageUrl).What is not yet visually confirmed: the rendered Settings → Agents row and picker entry. Reviewers can verify locally in under a minute:
npm i -g freebuff, check out this branch,pnpm install && pnpm dev, open Settings → Agents.Testing
agent-kind,telemetry-events,keybindings-default-bindings,AgentCombobox,agent-picker-search,agent-catalog-links); CI (pullfrog run) verifiedtsc --noEmitclean for the web, cli, and node projects. The full localpnpm typecheckOOMed on this 7 GB machine — that caveat from the original description is resolved by CI.AI Disclosure
Authored with AI assistance: Freebuff's coding agent (Buffy, GLM by Z.ai) prepared the diff, ran local verification, and drafted this description, under my direction and review.
Review
Bot reviews at open time: Copilot — approval recommended, 0 unresolved comments; pullfrog — no new issues, confirmed the npm package's bin matches
detectCmdand that nocodebuffwiring site was missed; CodeRabbit — no actionable comments. Human code-owner review (brennanb2025) pending. Note: #17065 implements the same feature and was opened first — cross-linked there; happy to consolidate per maintainer preference.Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
detectCmdis a fixed binary name resolved from PATH like every other agent.stdin-after-start) is the same one Codebuff uses.Checklist
N/Awith reason — pending: not yet captured, see Visual Proofpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred) — lint clean locally; typecheck verified clean by CI; full build not run locally