Skip to content

fix: update remaining opencode references in help output and CLI#547

Open
VJ-yadav wants to merge 1 commit intoAltimateAI:mainfrom
VJ-yadav:fix/help-branding-opencode-refs
Open

fix: update remaining opencode references in help output and CLI#547
VJ-yadav wants to merge 1 commit intoAltimateAI:mainfrom
VJ-yadav:fix/help-branding-opencode-refs

Conversation

@VJ-yadav
Copy link
Copy Markdown

@VJ-yadav VJ-yadav commented Mar 28, 2026

Summary

Fixes #416 — Updates user-facing opencode references to altimate-code across help text, CLI commands, and mDNS discovery.

Changed (8 files, 19 replacements):

  • thread.ts — TUI help descriptions
  • uninstall.ts — uninstall command description
  • pr.ts — user-facing messages + spawn("opencode", ...)spawn("altimate-code", ...) (functional fix — old binary name fails on rebranded installs)
  • network.ts, config.ts, mdns.ts — mDNS domain opencode.localaltimate-code.local
  • thread.test.ts — test expectations for mDNS domain
  • types.gen.ts — JSDoc mDNS domain reference

Intentionally NOT changed: Internal identifiers (@opencode/Auth, ProviderID.opencode, OPENCODE_* env vars), @opencode-ai/* package names, .opencode config directories, npm registry names in uninstall, User-Agent/X-Title protocol headers.

Test Plan

  • bun turbo typecheck passes across all 5 packages
  • bun test test/cli/tui/thread.test.ts passes with updated mDNS expectations
  • Manual: altimate-code --help shows no opencode in descriptions
  • Manual: altimate-code pr messages reference altimate-code

Checklist

  • Follows conventional commit format
  • No breaking changes to internal APIs or env vars
  • Tests updated for changed behavior

Summary by CodeRabbit

  • Chores
    • Updated default mDNS domain configuration to altimate-code.local
    • Service name updated to use altimate-code prefix instead of opencode
    • PR command workflow now integrates with altimate-code tooling

Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@github-actions
Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 28, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: b0936958-1707-47d9-9c92-26fcb5781194

📥 Commits

Reviewing files that changed from the base of the PR and between 377e484 and ade8d48.

⛔ Files ignored due to path filters (1)
  • packages/sdk/js/src/v2/gen/types.gen.ts is excluded by !**/gen/**
📒 Files selected for processing (5)
  • packages/opencode/src/cli/cmd/pr.ts
  • packages/opencode/src/cli/network.ts
  • packages/opencode/src/config/config.ts
  • packages/opencode/src/server/mdns.ts
  • packages/opencode/test/cli/tui/thread.test.ts
✅ Files skipped from review due to trivial changes (4)
  • packages/opencode/src/server/mdns.ts
  • packages/opencode/test/cli/tui/thread.test.ts
  • packages/opencode/src/cli/network.ts
  • packages/opencode/src/config/config.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/opencode/src/cli/cmd/pr.ts

📝 Walkthrough

Walkthrough

This PR updates branding and configuration references across the codebase, changing default identifiers and binary invocations from "opencode" to "altimate-code". Changes include the PR command's session import/TUI execution, mDNS domain defaults, server service naming, configuration documentation, and test fixtures.

Changes

Cohort / File(s) Summary
PR Command Execution
packages/opencode/src/cli/cmd/pr.ts
Updated CLI status strings ("Found … session", "Starting …"), binary invocations for session import (Process.text(["altimate-code","import", ...])) and TUI spawn, and non-zero exit error reference to altimate-code. PR body URL matching pattern unchanged.
Network & Server Configuration
packages/opencode/src/cli/network.ts, packages/opencode/src/config/config.ts, packages/opencode/src/server/mdns.ts
Updated default mDNS domain from opencode.local to altimate-code.local across CLI option metadata, Zod schema documentation, and mDNS service publishing. Updated mDNS service name prefix from opencode- to altimate-code- in MDNS.publish.
Test Fixtures
packages/opencode/test/cli/tui/thread.test.ts
Updated test input arguments for mDNS domain from "opencode.local" to "altimate-code.local".

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • AltimateAI/altimate-code#572: Updates branding in PR command and related files from "opencode" to "altimate-code" descriptions; this PR extends those changes with actual binary invocation updates.

Suggested labels

contributor

Poem

🐰 A hop through the mDNS domain so fine,
From opencode to altimate, a brand new sign,
Service names dance and strings align,
One rabbit cheers: "This rebrand's divine!"

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: updating remaining opencode references to altimate-code in help output and CLI across the codebase.
Description check ✅ Passed The description follows the required template with Summary and Test Plan sections completed, though manual testing checklist items remain incomplete (marked as unchecked).
Linked Issues check ✅ Passed The PR addresses issue #416 by replacing user-facing opencode references with altimate-code in TUI hints, CLI help text, mDNS domains, and spawn commands while preserving internal identifiers.
Out of Scope Changes check ✅ Passed All changes are directly related to fixing issue #416 (rebranding user-facing references); intentional exclusions of internal identifiers, package names, and protocol headers align with stated objectives.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

Replace user-visible "opencode" branding in CLI --help descriptions,
mDNS defaults, and pr command binary spawns with "altimate-code".

Closes AltimateAI#417, relates to AltimateAI#416.

Co-Authored-By: Vijay Yadav <vijay@studentsucceed.com>
@VJ-yadav VJ-yadav force-pushed the fix/help-branding-opencode-refs branch from 377e484 to ade8d48 Compare April 3, 2026 06:10
@dev-punia-altimate
Copy link
Copy Markdown

❌ Tests — Failures Detected

TypeScript — 15 failure(s)

  • connection_refused [2.50ms]
  • timeout [2.32ms]
  • permission_denied [2.50ms]
  • parse_error [2.22ms]
  • oom [2.48ms]
  • network_error [2.32ms]
  • auth_failure [2.42ms]
  • rate_limit [2.56ms]
  • internal_error [2.62ms]
  • empty_error [0.23ms]
  • connection_refused [0.15ms]
  • timeout [0.08ms]
  • permission_denied [0.06ms]
  • parse_error [0.08ms]
  • oom [0.06ms]

cc @VJ-yadav
Tested at ade8d48d | Run log | Powered by QA Autopilot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Altimate code Hints on starting TUI are referred from upstream provider (OC)

2 participants