-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix: use getOpenCodeConfigDir in bun-install to avoid startup warning #2355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
d3b3b74
0d1ea98
b2bfa5d
9c52ac8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ export const CLI_AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = { | |
| }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Custom agent: Opencode Compatibility The PR description indicates a fix for Prompt for AI agents |
||
| oracle: { | ||
| fallbackChain: [ | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2", variant: "high" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex", variant: "high" }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Inconsistent provider configuration: Prompt for AI agents |
||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro", variant: "high" }, | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| ], | ||
|
|
@@ -45,7 +45,7 @@ export const CLI_AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = { | |
| "multimodal-looker": { | ||
| fallbackChain: [ | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-flash" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex" }, | ||
| { providers: ["zai-coding-plan"], model: "glm-4.6v" }, | ||
| { providers: ["kimi-for-coding"], model: "k2p5" }, | ||
| { providers: ["opencode"], model: "kimi-k2.5-free" }, | ||
|
|
@@ -58,7 +58,7 @@ export const CLI_AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = { | |
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| { providers: ["kimi-for-coding"], model: "k2p5" }, | ||
| { providers: ["opencode"], model: "kimi-k2.5-free" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2", variant: "high" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex", variant: "high" }, | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro" }, | ||
| ], | ||
| }, | ||
|
|
@@ -67,13 +67,13 @@ export const CLI_AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = { | |
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| { providers: ["kimi-for-coding"], model: "k2p5" }, | ||
| { providers: ["opencode"], model: "kimi-k2.5-free" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2", variant: "high" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex", variant: "high" }, | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro", variant: "high" }, | ||
| ], | ||
| }, | ||
| momus: { | ||
| fallbackChain: [ | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2", variant: "medium" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex", variant: "medium" }, | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro", variant: "high" }, | ||
| ], | ||
|
|
@@ -83,7 +83,7 @@ export const CLI_AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = { | |
| { providers: ["kimi-for-coding"], model: "k2p5" }, | ||
| { providers: ["opencode"], model: "kimi-k2.5-free" }, | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-sonnet-4-5" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex" }, | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro" }, | ||
| ], | ||
| }, | ||
|
|
@@ -117,7 +117,7 @@ export const CLI_CATEGORY_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = | |
| fallbackChain: [ | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro", variant: "high" }, | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex" }, | ||
| ], | ||
| requiresModel: "gemini-3-pro", | ||
| }, | ||
|
|
@@ -138,7 +138,7 @@ export const CLI_CATEGORY_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = | |
| "unspecified-high": { | ||
| fallbackChain: [ | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2", variant: "high" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex", variant: "high" }, | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro" }, | ||
| ], | ||
| }, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,7 +30,7 @@ export const AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = { | |
| }, | ||
| oracle: { | ||
| fallbackChain: [ | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2", variant: "high" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex", variant: "high" }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: The provider list for gpt-5.3-codex incorrectly includes github-copilot, contradicting existing model configurations and the project's test suite (model-requirements.test.ts). Pre-existing entries using gpt-5.3-codex (hephaestus, ultrabrain, deep, unspecified-low) strictly use ["openai", "opencode"] providers. Including github-copilot will cause routing errors and test failures. Prompt for AI agents |
||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro", variant: "high" }, | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| ], | ||
|
|
@@ -54,15 +54,15 @@ export const AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = { | |
| fallbackChain: [ | ||
| { providers: ["opencode"], model: "kimi-k2.5-free" }, | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-flash" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex" }, | ||
| { providers: ["zai-coding-plan"], model: "glm-4.6v" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5-nano" }, | ||
| ], | ||
| }, | ||
| prometheus: { | ||
| fallbackChain: [ | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2", variant: "high" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex", variant: "high" }, | ||
| { providers: ["opencode"], model: "kimi-k2.5-free" }, | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro" }, | ||
| ], | ||
|
|
@@ -71,13 +71,13 @@ export const AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = { | |
| fallbackChain: [ | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| { providers: ["opencode"], model: "kimi-k2.5-free" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2", variant: "high" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex", variant: "high" }, | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro", variant: "high" }, | ||
| ], | ||
| }, | ||
| momus: { | ||
| fallbackChain: [ | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2", variant: "medium" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex", variant: "medium" }, | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro", variant: "high" }, | ||
| ], | ||
|
|
@@ -86,7 +86,7 @@ export const AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = { | |
| fallbackChain: [ | ||
| { providers: ["opencode"], model: "kimi-k2.5-free" }, | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-sonnet-4-6" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex" }, | ||
| ], | ||
| }, | ||
| } | ||
|
|
@@ -118,7 +118,7 @@ export const CATEGORY_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = { | |
| fallbackChain: [ | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro", variant: "high" }, | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex" }, | ||
| ], | ||
| requiresModel: "gemini-3-pro", | ||
| }, | ||
|
|
@@ -139,7 +139,7 @@ export const CATEGORY_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = { | |
| "unspecified-high": { | ||
| fallbackChain: [ | ||
| { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-opus-4-6", variant: "max" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2", variant: "high" }, | ||
| { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.3-codex", variant: "high" }, | ||
| { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-pro" }, | ||
| ], | ||
| }, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
P1: Custom agent: Opencode Compatibility
Hardcoding
binary: "opencode"breaks OpenCode Desktop compatibility by forcing installations into the CLI directory.Prompt for AI agents