feat: add Claude Opus 4.7 support — new flagship model

- patcher.config.json: opus-4-7 added to models list, set as default opus
- PS1 installers: ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-7
- CLAUDE_CUSTOM_MODELS includes opus-4-7 first
- v2.1.111 cli.js with patches applied

Opus 4.7 (released 2026-04-16):
- 1M context, 128K output
- New xhigh effort level
- Adaptive thinking (no more budget_tokens)
- High-res vision (2576px), high token efficiency

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
delta-cloud-208e
2026-04-16 17:52:09 +00:00
parent 84405df361
commit b13b44b98f
3 changed files with 7 additions and 6 deletions

View File

@@ -1,8 +1,9 @@
{ {
"base_url": "https://ai.37-187-136-86.sslip.io", "base_url": "https://ai.37-187-136-86.sslip.io",
"api_key": "ClauderAPI2", "api_key": "ClauderAPI2",
"model": "claude-opus-4-6", "model": "claude-opus-4-7",
"models": [ "models": [
"claude-opus-4-7",
"claude-opus-4-6", "claude-opus-4-6",
"claude-sonnet-4-6", "claude-sonnet-4-6",
"gpt-5.3-codex", "gpt-5.3-codex",
@@ -18,7 +19,7 @@
"glm-4.7" "glm-4.7"
], ],
"default_sonnet_model": "claude-sonnet-4-6", "default_sonnet_model": "claude-sonnet-4-6",
"default_opus_model": "claude-opus-4-6", "default_opus_model": "claude-opus-4-7",
"timeout_ms": 3000000, "timeout_ms": 3000000,
"theme": "dark", "theme": "dark",
"complete_onboarding": true, "complete_onboarding": true,

View File

@@ -142,9 +142,9 @@ $envVars = @{
"ANTHROPIC_API_KEY" = "ClauderAPI2" "ANTHROPIC_API_KEY" = "ClauderAPI2"
"ANTHROPIC_AUTH_TOKEN" = "ClauderAPI2" "ANTHROPIC_AUTH_TOKEN" = "ClauderAPI2"
"ANTHROPIC_BASE_URL" = "https://ai.37-187-136-86.sslip.io" "ANTHROPIC_BASE_URL" = "https://ai.37-187-136-86.sslip.io"
"ANTHROPIC_DEFAULT_OPUS_MODEL" = "claude-opus-4-6" "ANTHROPIC_DEFAULT_OPUS_MODEL" = "claude-opus-4-7"
"ANTHROPIC_DEFAULT_SONNET_MODEL" = "claude-sonnet-4-6" "ANTHROPIC_DEFAULT_SONNET_MODEL" = "claude-sonnet-4-6"
"CLAUDE_CUSTOM_MODELS" = "claude-opus-4-6,claude-sonnet-4-6,gpt-5.4,gpt-5.3-codex,gpt-5.2-codex,claude-opus-4-5-20251101,claude-sonnet-4-5-20250929,gemini-3.1-pro-preview,gemini-3-flash-preview,qwen3-coder-plus,qwen3-coder-flash,glm-5,glm-4.7" "CLAUDE_CUSTOM_MODELS" = "claude-opus-4-7,claude-opus-4-6,claude-sonnet-4-6,gpt-5.4,gpt-5.3-codex,gpt-5.2-codex,claude-opus-4-5-20251101,claude-sonnet-4-5-20250929,gemini-3.1-pro-preview,gemini-3-flash-preview,qwen3-coder-plus,qwen3-coder-flash,glm-5,glm-4.7"
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC" = "1" "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC" = "1"
"CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY" = "1" "CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY" = "1"
"DISABLE_TELEMETRY" = "1" "DISABLE_TELEMETRY" = "1"

View File

@@ -64,9 +64,9 @@ $envVars = @{
"ANTHROPIC_API_KEY" = "ClauderAPI2" "ANTHROPIC_API_KEY" = "ClauderAPI2"
"ANTHROPIC_AUTH_TOKEN" = "ClauderAPI2" "ANTHROPIC_AUTH_TOKEN" = "ClauderAPI2"
"ANTHROPIC_BASE_URL" = "https://ai.37-187-136-86.sslip.io" "ANTHROPIC_BASE_URL" = "https://ai.37-187-136-86.sslip.io"
"ANTHROPIC_DEFAULT_OPUS_MODEL" = "claude-opus-4-6" "ANTHROPIC_DEFAULT_OPUS_MODEL" = "claude-opus-4-7"
"ANTHROPIC_DEFAULT_SONNET_MODEL" = "claude-sonnet-4-6" "ANTHROPIC_DEFAULT_SONNET_MODEL" = "claude-sonnet-4-6"
"CLAUDE_CUSTOM_MODELS" = "claude-opus-4-6,claude-sonnet-4-6,gpt-5.4,gpt-5.3-codex,gpt-5.2-codex,claude-opus-4-5-20251101,claude-sonnet-4-5-20250929,gemini-3.1-pro-preview,gemini-3-flash-preview,qwen3-coder-plus,qwen3-coder-flash,glm-5,glm-4.7" "CLAUDE_CUSTOM_MODELS" = "claude-opus-4-7,claude-opus-4-6,claude-sonnet-4-6,gpt-5.4,gpt-5.3-codex,gpt-5.2-codex,claude-opus-4-5-20251101,claude-sonnet-4-5-20250929,gemini-3.1-pro-preview,gemini-3-flash-preview,qwen3-coder-plus,qwen3-coder-flash,glm-5,glm-4.7"
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC" = "1" "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC" = "1"
"CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY" = "1" "CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY" = "1"
"DISABLE_TELEMETRY" = "1" "DISABLE_TELEMETRY" = "1"