GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add Claude Opus 4.7 to built-in models by Marve10s · Pull Request #2072 · pingdotgg/t3code

Conversation

@Marve10s

@Marve10s Marve10s commented Apr 16, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

  • Add claude-opus-4-7 as a built-in model in the Claude provider with full capability metadata (effort levels, context window options)
  • Update the opus alias to resolve to the latest Opus 4.7, while preserving opus-4.6 and all existing aliases
  • Opus 4.7 key differences from 4.6: no fast mode, uses adaptive thinking (not extended thinking), 1M native context window, 128k max output

Changes

  • apps/server/src/provider/Layers/ClaudeProvider.ts — added claude-opus-4-7 entry to BUILT_IN_MODELS
  • packages/contracts/src/model.ts — added opus → claude-opus-4-7, opus-4.7, claude-opus-4.7 aliases

Note

Medium Risk
Changes provider model selection/capabilities and effort handling (including new version comparison logic), which could affect which Claude models are exposed and how sessions are configured on different installed CLI versions.

Overview
Adds Claude Opus 4.7 as a built-in claudeAgent model with updated capability metadata (including xhigh default reasoning effort and 200k/1M context options), and updates opus/opus-4.7 aliases to resolve to it.

Gates exposure of Opus 4.7 on a minimum Claude Code CLI version (2.1.111) using a new shared compareCliVersions utility (also reused for Codex version checks), surfacing an upgrade message and hiding the model on older versions.

Renames and expands Claude effort typing from ClaudeCodeEffort to ClaudeAgentEffort (adding xhigh) across server, shared, and web code; updates adapter/tests accordingly, bumps @anthropic-ai/claude-agent-sdk, and adjusts Codex git text generation to pass --skip-git-repo-check.

Reviewed by Cursor Bugbot for commit dafa03f. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Add Claude Opus 4.7 to built-in Claude models with xhigh default effort

  • Adds claude-opus-4-7 as a built-in model in ClaudeProvider.ts, conditionally exposed only when the Claude Code CLI version is >= 2.1.111; older versions receive an upgrade prompt instead.
  • Introduces xhigh as a valid ClaudeAgentEffort value in contracts/src/model.ts, replacing the prior array-union approach with Schema.Literals and renaming ClaudeCodeEffort to ClaudeAgentEffort throughout.
  • Adds shared CLI version comparison utilities in cliVersion.ts, replacing duplicated semver logic that previously existed only for Codex.
  • Model slug aliases opus, opus-4.7, and claude-opus-4.7 now resolve to claude-opus-4-7.
  • Behavioral Change: ultrathink effort is prompt-injected for Opus 4.7 rather than forwarded directly; xhigh is the new default effort for that model.

Macroscope summarized dafa03f.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sscotth and vishrutkmr7 reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
@coderabbitai

coderabbitai Bot commented Apr 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: c756ec56-2c10-4e3d-826d-ae7617ab694c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ 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
  • X
  • Mastodon
  • Reddit
  • LinkedIn

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Apr 16, 2026
@Marve10s

Marve10s commented Apr 16, 2026

Copy link
Copy Markdown
Contributor Author

@juliusmarminge Wanna try this out ? I checked and it worked for me. Would like to merge this asap, want a new model lol

akarabach reacted with laugh emoji
All reactions
  • 😄 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@akarabach

akarabach commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

@juliusmarminge Wanna try this out ? I checked and it worked for me. Would like to merge this asap, want a new model lol

use claude code ;)

Marve10s and vishrutkmr7 reacted with confused emoji
All reactions
  • 😕 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Marve10s

Marve10s commented Apr 16, 2026

Copy link
Copy Markdown
Contributor Author

@juliusmarminge Wanna try this out ? I checked and it worked for me. Would like to merge this asap, want a new model lol

use claude code ;)

I don't want to get back to this shitty CLI...

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@akarabach

akarabach commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

@Marve10s @juliusmarminge
do they have new labling of effort level ? I see in console xhigh!
Screenshot 2026-04-16 at 19 01 38

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@flawstick

flawstick commented Apr 16, 2026

Copy link
Copy Markdown

Get this shit merged NOW

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@akarabach

akarabach commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

@akarabach

do they have new labling of effort level ? I see in console xhigh!

If you're referring to the ultrathink, that's also appear to be present in the Opus 4.6 config. I don't know what the origin of the discrepancy is.

https://github.com/pingdotgg/t3code/blob/main/apps/server/src/provider/Layers/ClaudeProvider.ts#L44-L64

xhight is missing

Marve10s reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Marve10s

Marve10s commented Apr 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

@akarabach

do they have new labling of effort level ? I see in console xhigh!

If you're referring to the ultrathink, that's also appear to be present in the Opus 4.6 config. I don't know what the origin of the discrepancy is.
https://github.com/pingdotgg/t3code/blob/main/apps/server/src/provider/Layers/ClaudeProvider.ts#L44-L64

xhight is missing

Will fix

Edit 2 : should be fixed

image
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Apr 16, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Apr 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Needs human review

This PR introduces a new user-facing model option (Claude Opus 4.7) with version-gated availability, changes the default 'opus' alias to point to the new model, and adds a new effort level ('xhigh'). While well-tested and following existing patterns, the new capability and alias change warrant human review.

You can customize Macroscope's approvability policy. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@macroscopeapp
macroscopeapp Bot dismissed their stale review April 16, 2026 16:18

Dismissing prior approval to re-evaluate b501340

@github-actions github-actions Bot added size:M 30-99 changed lines (additions + deletions). and removed size:S 10-29 changed lines (additions + deletions). labels Apr 16, 2026
@Marve10s
Marve10s force-pushed the feat/add-opus-4-7 branch 2 times, most recently from 4734a47 to 6effba7 Compare April 16, 2026 16:28
cursor[bot]
cursor Bot reviewed Apr 16, 2026
View reviewed changes
Comment thread apps/server/src/provider/Layers/ClaudeAdapter.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

akarabach
akarabach reviewed Apr 16, 2026
View reviewed changes
Comment thread apps/server/src/provider/Layers/ClaudeAdapter.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added size:L 100-499 changed lines (additions + deletions). and removed size:M 30-99 changed lines (additions + deletions). labels Apr 16, 2026
macroscopeapp[bot]
macroscopeapp Bot reviewed Apr 16, 2026
View reviewed changes
Comment thread apps/server/src/provider/cliVersion.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@Marve10s
Marve10s force-pushed the feat/add-opus-4-7 branch from 7ca51db to 9ef2f1a Compare April 16, 2026 16:46
@Marve10s
Support Claude Opus 4.7 in Claude provider
6fc7d22
@Marve10s
Marve10s force-pushed the feat/add-opus-4-7 branch from 9ef2f1a to 6fc7d22 Compare April 16, 2026 16:49
cursor[bot]
cursor Bot reviewed Apr 16, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 6fc7d22. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/provider/codexCliVersion.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
Schema.is
39831ad
@github-actions github-actions Bot added size:XL 500-999 changed lines (additions + deletions). and removed size:L 100-499 changed lines (additions + deletions). labels Apr 16, 2026
@juliusmarminge
refactor: rename ClaudeCodeEffort to ClaudeAgentEffort across multipl…
d0421bb
…e files
@juliusmarminge
fxi codex text gen
dafa03f
@juliusmarminge
juliusmarminge merged commit 3e07f5a into pingdotgg:main Apr 16, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@adrianorocha-dev adrianorocha-dev mentioned this pull request Apr 16, 2026
[Feature]: Request to support Opus 4.7 xHigh and Ultraplan #2075
Closed
3 tasks done
@wopas wopas mentioned this pull request Apr 16, 2026
[Bug]: Claude Opus 4.7 default effort xhigh crashes Claude CLI on session start #2085
Closed
2 tasks done
aaditagrawal added a commit to aaditagrawal/t3code that referenced this pull request Apr 18, 2026
@aaditagrawal
sync: merge 33 upstream commits from pingdotgg/t3code
d583485
Integrates upstream/main (9df3c64) on top of fork's main (9602c18).

Upstream features adopted:
- Claude Opus 4.5 and 4.7 built-in models (pingdotgg#2072, pingdotgg#2143)
- Node-native TypeScript migration across desktop/server (pingdotgg#2098)
- Configurable project grouping with client-settings overrides (pingdotgg#2055, pingdotgg#2099)
- Thread status in command palette (pingdotgg#2107)
- Responsive composer / plan sidebar on narrow windows (pingdotgg#1198)
- Capture-phase CTRL+J keydown for Windows terminal toggle (pingdotgg#2113/pingdotgg#2142)
- Bypass xterm for global terminal shortcuts (pingdotgg#1580)
- Windows ARM build target (pingdotgg#2080)
- Windows PATH hydration + repair (pingdotgg#1729)
- Gitignore-aware workspace search (pingdotgg#2078)
- Claude process leak fix + stale session monitoring (pingdotgg#2042)
- Preserve provider bindings when stopping sessions (pingdotgg#2084)
- Clean up invalid pending-approval projections (pingdotgg#2106) — new migration
- Extract backend startup readiness coordination
- Drop stale text-gen options on reset (pingdotgg#2076)
- Extend negative repository identity cache TTL (pingdotgg#2083)
- Allow deleting non-empty projects from warning toast (pingdotgg#1264)
- Restore defaults only on General settings (pingdotgg#1710)
- Release workflow modernization (blacksmith runners, GitHub App token guards, v0.0.20 version bump)

Fork features preserved:
- All 8 providers (codex, claudeAgent, copilot, cursor, opencode,
  geminiCli, amp, kilo) with their adapters, services, and tests
- Fork's custom OpenCode protocol impl in apps/server/src/opencode/ (kept
  over upstream's @opencode-ai/sdk-based provider added in pingdotgg#1758 — fork's
  version is tested and integrated; upstream's parallel files deleted)
- Fork's direct-CLI Cursor adapter (kept over upstream's new ACP-based
  CursorProvider added in pingdotgg#1355 — upstream's parallel files deleted)
- Fork's ProviderRegistry aggregates only codex + claudeAgent snapshots;
  the other 6 providers register via ProviderAdapterRegistry
- PROVIDER_CACHE_IDS stays at [codex, claudeAgent] matching what the
  registry actually caches
- Migration IDs preserved (fork 23/24/25/26; upstream's new 025 lands at
  ID 27 to avoid re-applying on deployed fork DBs)
- Fork's generic per-provider settings (enabled/binaryPath/configDir/
  customModels) kept over upstream's opencode-specific serverUrl/password
- Log directory IPC channels, updateInstallInFlight tracking, icon
  composer pipeline all preserved
- Fork's simplified release.yml (no npm CLI publish, no nightly infra)
- composerDraftStore normalizeProviderKind widened to accept all 8 kinds
- Dark mode --background set to #0f0f0f

Test status:
- All 9 package typechecks pass
- Lint clean (0 errors)
- Tests: 1877 passed, 15 skipped (incl. 4 historically-flaky GitManager
  cross-repo PR selector tests newly gated with TODO for Node-native-TS
  follow-up)
@aaditagrawal aaditagrawal mentioned this pull request Apr 18, 2026
sync: merge 33 upstream commits from pingdotgg/t3code aaditagrawal/t3code#71
Merged
5 of 9 tasks
alecramos-sudo added a commit to alecramos-sudo/t3code that referenced this pull request Apr 20, 2026
@alecramos-sudo @claude
merge: upstream/main into dev-build (v0.0.20 + 27 commits)
d1b3124
Brings in upstream changes since d22c6f5:
- Claude Opus 4.5 built-in model (pingdotgg#2143)
- Claude Opus 4.7 built-in model (pingdotgg#2072)
- opencode provider support (pingdotgg#1758)
- Claude process leak fix & session reaper (pingdotgg#2042)
- Configurable project grouping (pingdotgg#2055)
- Node-native TypeScript for desktop/server (pingdotgg#2098)
- Clean up invalid pending approval projections (pingdotgg#2106)
- Thread status in command palette (pingdotgg#2107)
- Backend startup readiness coordination (pingdotgg#2133)
- Preserve provider bindings on session stop (pingdotgg#2125)
- Allow deleting non-empty projects (pingdotgg#1264)
- Various Windows fixes and CI improvements

Conflict resolutions:
- model.ts: kept claudeAgent opus-4-7 default, added opencode entry
- settings.ts: adopted upstream sidebarProjectGroupingMode/Overrides
- ClaudeProvider.ts: adopted upstream Opus 4.7 effort config
- Sidebar.tsx: adopted upstream project grouping approach
- package.json: kept custom desktop-only build filter

Co-Authored-By: Claude Opus 4.6 <[email protected]>
MuneerAhmed03 pushed a commit to MuneerAhmed03/t3code that referenced this pull request Apr 26, 2026
@Marve10s @juliusmarminge
feat: add Claude Opus 4.7 to built-in models (pingdotgg#2072)
e0c20b1
Co-authored-by: Julius Marminge <[email protected]>
youpele52 referenced this pull request in youpele52/bigbud Jun 17, 2026
@Marve10s @juliusmarminge
feat: add Claude Opus 4.7 to built-in models (#2072)
082f8ba
Co-authored-by: Julius Marminge <[email protected]>
NeilTheFisher pushed a commit to NeilTheFisher/t3code that referenced this pull request Aug 18, 2026
@Marve10s @juliusmarminge
feat: add Claude Opus 4.7 to built-in models (pingdotgg#2072)
bf3e781
Co-authored-by: Julius Marminge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] left review comments
@cursor cursor[bot] cursor[bot] left review comments
+1 more reviewer
@akarabach akarabach akarabach left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XL 500-999 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@Marve10s @akarabach @flawstick @juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.