Skip to content

feat(agents): add Freebuff as a first-class TUI agent - #20839

Closed
Prarambha369 wants to merge 1 commit into
stablyai:mainfrom
Prarambha369:feat/freebuff-agent
Closed

Prarambha369 wants to merge 1 commit into
stablyai:mainfrom
Prarambha369:feat/freebuff-agent

Conversation

@Prarambha369

@Prarambha369 Prarambha369 commented Sep 15, 2026 •

Copy link
Copy Markdown

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 freebuff CLI on your PATH, it appears in the agent picker and in Settings → Agents under Installed, and orca worktree create --agent freebuff works like any other agent.

What Changed

A one-to-one mirror of every codebuff wiring site with a freebuff twin — own id, display name, icon, and telemetry kind, no aliasing (27 files, +38 lines):

  • TuiAgent union + TUI_AGENT_CONFIG: detectCmd: 'freebuff', promptInjectionMode: 'stdin-after-start' (launchCmd/expectedProcess default to detectCmd)
  • Display names, auto-pick order, agent-kind map + AGENT_KIND_VALUES
  • Renderer: catalog entry, favicon asset map, new 64×64 freebuff.png (sourced from freebuff.com's apple-touch-icon)
  • Mobile: labels/favicon domains + icon asset map
  • skills-cli-agent-keys: null — the community skills CLI has no Freebuff key, so it is dropped rather than guessed (same treatment as Codebuff)
  • i18n: catalog key 68ec58ea51 in all six locales + 'Freebuff' added to the locale brand allowlist
  • Docs: supported.mdx row + README badges (root and six localized variants)

Why

Freebuff (npm freebuff) is actively used but shipped in none of Orca's agent surfaces — freebuff appears 0 times in the 1.4.200 app bundle while codebuff appears 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

image

After
image

What has been verified so far, without screenshots:

  • The patched dev build's module graph serves the updated catalog: GET /src/lib/agent-catalog.tsx on the running dev server returned the module containing the freebuff entry (id, label, cmd, faviconDomain, homepageUrl).
  • The patched dev app launched and reached a healthy runtime state (main/renderer processes up, no startup errors in the log).

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

  • I manually tested these changes locally — built and launched the patched dev app on Linux (Wayland/Hyprland); it booted to a healthy runtime. Scope of manual verification: boot health + the served catalog module containing the Freebuff entry (see Visual Proof for the honest boundary). Linux only; Windows/macOS/SSH not exercised locally.
  • Automated tests added/updated, or explained why not below — no new tests needed: this is purely additive registry wiring already covered by exhaustive-map tests. Locally, 112 tests pass (agent-kind, telemetry-events, keybindings-default-bindings, AgentCombobox, agent-picker-search, agent-catalog-links); CI (pullfrog run) verified tsc --noEmit clean for the web, cli, and node projects. The full local pnpm typecheck OOMed 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 detectCmd and that no codebuff wiring 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

  • Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

  • Security: no new inputs or permissions; detectCmd is a fixed binary name resolved from PATH like every other agent.
  • Cross-platform: registry/config entries are platform-neutral; freebuff ships cross-platform via npm. Only Linux was tested locally; the launch contract (stdin-after-start) is the same one Codebuff uses.
  • Remote SSH: detection is PATH-based on the host, same as other agents; not explicitly exercised over SSH.
  • Mobile: labels, favicon domain, and icon asset wired; the mobile workspace was not built locally.
  • Backwards compatibility: purely additive — new union member and enum value, no changes to existing settings, telemetry, or persistence.
  • Performance: one extra PATH probe at detection and a 1.1 KB PNG asset; negligible.

Checklist

  • This PR is small and focused
  • I explained what changed and why (including ELI5)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason — pending: not yet captured, see Visual Proof
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred) — lint clean locally; typecheck verified clean by CI; full build not run locally

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`.
Copilot AI lite review requested due to automatic review settings September 15, 2026 12:59
@Prarambha369

Copy link
Copy Markdown
Author

Closes #20376 ([Feature] Freebuff — the Discord mirror where the wiring instructions in the issue body come from).

Also related, for completeness:

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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.

@coderabbitai

coderabbitai Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 6069c77f-707a-46ba-a1bd-19b9e9a62127

📥 Commits

Reviewing files that changed from the base of the PR and between caa465d and a177c26.

⛔ Files ignored due to path filters (1)
  • src/shared/agent-icons/freebuff.png is excluded by !**/*.png
📒 Files selected for processing (27)
  • README.md
  • config/scripts/locale-translation-policy.mjs
  • docs/readme/README.es.md
  • docs/readme/README.fr.md
  • docs/readme/README.ja.md
  • docs/readme/README.ko.md
  • docs/readme/README.pt.md
  • docs/readme/README.zh-CN.md
  • docs/site/content/docs/agents/supported.mdx
  • mobile/src/components/mobile-agent-icon-assets.ts
  • mobile/src/tasks/mobile-tui-agents.ts
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/lib/agent-catalog.tsx
  • src/renderer/src/lib/agent-favicon-assets.ts
  • src/renderer/src/lib/agent-status.ts
  • src/shared/agent-kind.ts
  • src/shared/skills-cli-agent-keys.ts
  • src/shared/telemetry-property-schemas.ts
  • src/shared/tui-agent-config.ts
  • src/shared/tui-agent-display-names.ts
  • src/shared/tui-agent-selection.ts
  • src/shared/tui-agent.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

Freebuff 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 Freebuff name.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to a177c

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)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly and concisely describes the primary change: adding Freebuff as a first-class TUI agent.
Description check ✅ Passed The description is detailed and covers the required sections, linked issue, visual proof, testing, AI disclosure, review notes, scope boundaries, and checklist. It also honestly records platform cover…

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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 — TuiAgent union, TUI_AGENT_CONFIG (detectCmd: 'freebuff', stdin-after-start), display names, TUI_AGENT_AUTO_PICK_ORDER, the agent-kind map plus AGENT_KIND_VALUES, and a deliberate skills-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.ts and 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.

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@Prarambha369

Copy link
Copy Markdown
Author

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 codebuff pattern (catalog key in all six locales) and links the newer #20376, but if maintainers prefer to land that one, I'm happy to close this and contribute there instead. Leaving the choice to them.

@gh1viriginice-ai

Copy link
Copy Markdown

2 days after PR, still no comment from author. the app is released today without freebuff

nwparker added a commit that referenced this pull request Sep 28, 2026
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>
@Prarambha369

Copy link
Copy Markdown
Author

Thanks for picking this up in #23567 and crediting this PR in the commit.
Closing — no follow-up needed from me.

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.

[Feature] Freebuff

3 participants