Skip to content

fix: update altimate.ai/zen URLs to opencode.ai/zen#348

Open
gautamdoulani wants to merge 1 commit intoAltimateAI:mainfrom
gautamdoulani:fix/update-altimate-urls-to-opencode
Open

fix: update altimate.ai/zen URLs to opencode.ai/zen#348
gautamdoulani wants to merge 1 commit intoAltimateAI:mainfrom
gautamdoulani:fix/update-altimate-urls-to-opencode

Conversation

@gautamdoulani
Copy link

@gautamdoulani gautamdoulani commented Mar 21, 2026

Summary

Replace all references to https://altimate.ai/zen with https://opencode.ai/zen across UI messages, error strings, and test fixtures.

https://altimate.ai/zen link is broken

What changed and why?

Test Plan

NA

How was this tested?
NA

Checklist

  • Tests added/updated
  • Documentation updated (if needed)
  • CHANGELOG updated (if user-facing)

Summary by CodeRabbit

  • Chores
    • Updated API provider endpoints and documentation links throughout the application to use the opencode.ai domain. Users will see these updated URLs in API key authentication instructions, provider documentation, and error messages related to account usage limits and credit management features.

Replace all references to https://altimate.ai/zen with https://opencode.ai/zen
across UI messages, error strings, and test fixtures.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link

@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 repository is configured for manual code reviews. Comment @claude review to trigger a review.

@github-actions
Copy link

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link

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

coderabbitai bot commented Mar 21, 2026

📝 Walkthrough

Walkthrough

This pull request updates domain references across three files, changing instructional and endpoint URLs from altimate.ai to opencode.ai. The changes affect UI dialogs, error messages, and test fixtures without modifying any control flow or functionality.

Changes

Cohort / File(s) Summary
Domain Migration (altimate.ai → opencode.ai)
packages/opencode/src/cli/cmd/tui/component/dialog-provider.tsx, packages/opencode/src/session/retry.ts, packages/opencode/test/tool/fixtures/models-api.json
Updated API and documentation URLs across UI components, error messages, and test fixtures to reflect new opencode.ai domain.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Hopping through code with a confident stride,
URLs shift from altimate to opencode's side,
Dialog, retry, fixtures aligned,
A domain migration, perfectly designed!

🚥 Pre-merge checks | ✅ 2 | ❌ 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 (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: updating broken altimate.ai/zen URLs to opencode.ai/zen across the codebase.
Description check ✅ Passed The description addresses the template structure with Summary and Test Plan sections, explaining the URL changes and broken link issue, though Test Plan and testing details are marked NA.

✏️ 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.

Tip

CodeRabbit can use your project's `biome` configuration to improve the quality of JS/TS/CSS/JSON code reviews.

Add a configuration file to your project to customize how CodeRabbit runs biome.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (2)
packages/opencode/test/tool/fixtures/models-api.json (2)

20981-20982: Consider updating the provider name for consistency.

The provider name remains "Altimate Code Zen" while the URLs now point to opencode.ai. This inconsistency might confuse users. Consider whether the name should be updated to reflect the new domain (e.g., "OpenCode Zen" or "OpenCode AI Zen").

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/opencode/test/tool/fixtures/models-api.json` around lines 20981 -
20982, Update the provider "name" field in the models API fixture so it matches
the opencode.ai domain; locate the JSON entry where "name": "Altimate Code Zen"
(in packages/opencode/test/tool/fixtures/models-api.json) and change it to a
consistent brand such as "OpenCode Zen" or "OpenCode AI Zen" (or another
approved canonical provider name), ensuring the "doc" URL remains unchanged and
that any tests or references to the old name are updated accordingly.

20980-20982: Consider adding URL validation tests.

Since these API and documentation URLs are critical for the provider configuration and are loaded directly into production code, consider adding tests to verify URL validity. This would help catch broken links early before they impact users.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/opencode/test/tool/fixtures/models-api.json` around lines 20980 -
20982, Add unit tests that validate the "api" and "doc" URL values for the
"Altimate Code Zen" provider in models-api.json: implement a test (e.g.,
test_models_api_urls or validate_provider_urls) that loads the JSON, extracts
the "api" and "doc" fields for the provider name "Altimate Code Zen", asserts
they are well-formed URLs (use URL parser/validator) and optionally performs a
lightweight reachability check (HTTP HEAD or fetch with a short timeout) to
ensure they return a 2xx/3xx status; fail the test with a clear message if
parsing or the reachability check fails.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/opencode/test/tool/fixtures/models-api.json`:
- Around line 20980-20982: The "api" property in the models-api.json entry where
"name" is "Altimate Code Zen" currently points to the broken URL
"https://opencode.ai/zen/v1"; update that "api" value to the correct, verified
endpoint (or null/empty if there is no production API) and ensure the config
consumer validates the endpoint before using it; locate the JSON object with
keys "name": "Altimate Code Zen", "api": "https://opencode.ai/zen/v1", and
"doc": "https://opencode.ai/docs/zen" and either replace the "api" value with
the confirmed working URL or remove/disable it and add runtime validation that
checks the endpoint returns 200 before loading.

---

Nitpick comments:
In `@packages/opencode/test/tool/fixtures/models-api.json`:
- Around line 20981-20982: Update the provider "name" field in the models API
fixture so it matches the opencode.ai domain; locate the JSON entry where
"name": "Altimate Code Zen" (in
packages/opencode/test/tool/fixtures/models-api.json) and change it to a
consistent brand such as "OpenCode Zen" or "OpenCode AI Zen" (or another
approved canonical provider name), ensuring the "doc" URL remains unchanged and
that any tests or references to the old name are updated accordingly.
- Around line 20980-20982: Add unit tests that validate the "api" and "doc" URL
values for the "Altimate Code Zen" provider in models-api.json: implement a test
(e.g., test_models_api_urls or validate_provider_urls) that loads the JSON,
extracts the "api" and "doc" fields for the provider name "Altimate Code Zen",
asserts they are well-formed URLs (use URL parser/validator) and optionally
performs a lightweight reachability check (HTTP HEAD or fetch with a short
timeout) to ensure they return a 2xx/3xx status; fail the test with a clear
message if parsing or the reachability check fails.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 25f86da8-8db0-45be-9791-c94064a30473

📥 Commits

Reviewing files that changed from the base of the PR and between 623d1ac and 37fc06f.

📒 Files selected for processing (3)
  • packages/opencode/src/cli/cmd/tui/component/dialog-provider.tsx
  • packages/opencode/src/session/retry.ts
  • packages/opencode/test/tool/fixtures/models-api.json

Comment on lines +20980 to +20982
"api": "https://opencode.ai/zen/v1",
"name": "Altimate Code Zen",
"doc": "https://altimate.ai/docs/zen",
"doc": "https://opencode.ai/docs/zen",
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify the new opencode.ai URLs are accessible

echo "Testing API endpoint accessibility..."
curl -I -s -o /dev/null -w "%{http_code}" "https://opencode.ai/zen/v1" | grep -E "^(200|301|302|401|403)" && echo " ✓ API endpoint is accessible" || echo " ✗ API endpoint may not be accessible"

echo "Testing documentation URL accessibility..."
curl -I -s -o /dev/null -w "%{http_code}" "https://opencode.ai/docs/zen" | grep -E "^(200|301|302)" && echo " ✓ Documentation URL is accessible" || echo " ✗ Documentation URL may not be accessible"

Repository: AltimateAI/altimate-code

Length of output: 225


🏁 Script executed:

#!/bin/bash
# Get detailed HTTP status for the API endpoint
echo "API Endpoint HTTP Status:"
curl -I -s "https://opencode.ai/zen/v1" | head -1

echo ""
echo "Full response headers for API endpoint:"
curl -I -s "https://opencode.ai/zen/v1" | head -5

echo ""
echo "Documentation URL HTTP Status:"
curl -I -s "https://opencode.ai/docs/zen" | head -1

Repository: AltimateAI/altimate-code

Length of output: 316


The API endpoint is broken and must be fixed before merging.

The verification reveals that the API endpoint https://opencode.ai/zen/v1 returns HTTP 404 (Not Found), making it inaccessible. The documentation URL https://opencode.ai/docs/zen is accessible (HTTP 200), but the broken API endpoint is a critical blocker since this URL is loaded in production code without validation.

Do not merge until the API endpoint URL is corrected or confirmed to be working.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/opencode/test/tool/fixtures/models-api.json` around lines 20980 -
20982, The "api" property in the models-api.json entry where "name" is "Altimate
Code Zen" currently points to the broken URL "https://opencode.ai/zen/v1";
update that "api" value to the correct, verified endpoint (or null/empty if
there is no production API) and ensure the config consumer validates the
endpoint before using it; locate the JSON object with keys "name": "Altimate
Code Zen", "api": "https://opencode.ai/zen/v1", and "doc":
"https://opencode.ai/docs/zen" and either replace the "api" value with the
confirmed working URL or remove/disable it and add runtime validation that
checks the endpoint returns 200 before loading.

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.

1 participant