lazycodex-ai 5.0.0-beta.83 → 5.0.0-beta.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +418 -65
- package/dist/cli-node/index.js +418 -65
- package/package.json +1 -1
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
- package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
- package/packages/omo-codex/plugin/components/lcx/skills/lcx-contribute-bug-fix/SKILL.md +1 -1
- package/packages/omo-codex/plugin/components/lcx/skills/lcx-doctor/SKILL.md +3 -3
- package/packages/omo-codex/plugin/components/lcx/skills/lcx-report-bug/SKILL.md +5 -5
- package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/dist/cli.js +12 -0
- package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/rules/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/src/post-compact-budget.ts +12 -0
- package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/package-lock.json +12 -12
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/skills/lcx-contribute-bug-fix/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/lcx-doctor/SKILL.md +3 -3
- package/packages/omo-codex/plugin/skills/lcx-report-bug/SKILL.md +5 -5
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +2 -2
package/dist/cli/index.js
CHANGED
|
@@ -64,7 +64,7 @@ var package_default;
|
|
|
64
64
|
var init_package = __esm(() => {
|
|
65
65
|
package_default = {
|
|
66
66
|
name: "oh-my-opencode",
|
|
67
|
-
version: "5.0.0-beta.
|
|
67
|
+
version: "5.0.0-beta.85",
|
|
68
68
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
69
69
|
main: "./dist/index.js",
|
|
70
70
|
types: "dist/index.d.ts",
|
|
@@ -247,7 +247,7 @@ var init_package = __esm(() => {
|
|
|
247
247
|
zod: "^4.6.5"
|
|
248
248
|
},
|
|
249
249
|
devDependencies: {
|
|
250
|
-
"@code-yeongyu/senpi": "2026.9.
|
|
250
|
+
"@code-yeongyu/senpi": "2026.9.23",
|
|
251
251
|
"@oh-my-opencode/agents-md-core": "workspace:*",
|
|
252
252
|
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
|
|
253
253
|
"@oh-my-opencode/boulder-state": "workspace:*",
|
|
@@ -287,18 +287,18 @@ var init_package = __esm(() => {
|
|
|
287
287
|
typescript: "^7.0.2"
|
|
288
288
|
},
|
|
289
289
|
optionalDependencies: {
|
|
290
|
-
"oh-my-opencode-darwin-arm64": "5.0.0-beta.
|
|
291
|
-
"oh-my-opencode-darwin-x64": "5.0.0-beta.
|
|
292
|
-
"oh-my-opencode-darwin-x64-baseline": "5.0.0-beta.
|
|
293
|
-
"oh-my-opencode-linux-arm64": "5.0.0-beta.
|
|
294
|
-
"oh-my-opencode-linux-arm64-musl": "5.0.0-beta.
|
|
295
|
-
"oh-my-opencode-linux-x64": "5.0.0-beta.
|
|
296
|
-
"oh-my-opencode-linux-x64-baseline": "5.0.0-beta.
|
|
297
|
-
"oh-my-opencode-linux-x64-musl": "5.0.0-beta.
|
|
298
|
-
"oh-my-opencode-linux-x64-musl-baseline": "5.0.0-beta.
|
|
299
|
-
"oh-my-opencode-windows-arm64": "5.0.0-beta.
|
|
300
|
-
"oh-my-opencode-windows-x64": "5.0.0-beta.
|
|
301
|
-
"oh-my-opencode-windows-x64-baseline": "5.0.0-beta.
|
|
290
|
+
"oh-my-opencode-darwin-arm64": "5.0.0-beta.85",
|
|
291
|
+
"oh-my-opencode-darwin-x64": "5.0.0-beta.85",
|
|
292
|
+
"oh-my-opencode-darwin-x64-baseline": "5.0.0-beta.85",
|
|
293
|
+
"oh-my-opencode-linux-arm64": "5.0.0-beta.85",
|
|
294
|
+
"oh-my-opencode-linux-arm64-musl": "5.0.0-beta.85",
|
|
295
|
+
"oh-my-opencode-linux-x64": "5.0.0-beta.85",
|
|
296
|
+
"oh-my-opencode-linux-x64-baseline": "5.0.0-beta.85",
|
|
297
|
+
"oh-my-opencode-linux-x64-musl": "5.0.0-beta.85",
|
|
298
|
+
"oh-my-opencode-linux-x64-musl-baseline": "5.0.0-beta.85",
|
|
299
|
+
"oh-my-opencode-windows-arm64": "5.0.0-beta.85",
|
|
300
|
+
"oh-my-opencode-windows-x64": "5.0.0-beta.85",
|
|
301
|
+
"oh-my-opencode-windows-x64-baseline": "5.0.0-beta.85"
|
|
302
302
|
},
|
|
303
303
|
overrides: {
|
|
304
304
|
"@earendil-works/pi-agent-core": "0.84.2",
|
|
@@ -7180,7 +7180,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7180
7180
|
fallbackChain: [
|
|
7181
7181
|
{
|
|
7182
7182
|
providers: ["anthropic", "github-copilot", "opencode"],
|
|
7183
|
-
model: "claude-opus-5",
|
|
7183
|
+
model: "claude-opus-5-5",
|
|
7184
7184
|
variant: "max"
|
|
7185
7185
|
},
|
|
7186
7186
|
{
|
|
@@ -7188,7 +7188,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7188
7188
|
model: "kimi-k3"
|
|
7189
7189
|
},
|
|
7190
7190
|
{
|
|
7191
|
-
providers: ["openai", "
|
|
7191
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7192
7192
|
model: "gpt-5.6-sol",
|
|
7193
7193
|
variant: "medium"
|
|
7194
7194
|
},
|
|
@@ -7200,17 +7200,22 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7200
7200
|
hephaestus: {
|
|
7201
7201
|
fallbackChain: [
|
|
7202
7202
|
{
|
|
7203
|
-
providers: ["openai", "
|
|
7203
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7204
|
+
model: "gpt-6-sol",
|
|
7205
|
+
variant: "medium"
|
|
7206
|
+
},
|
|
7207
|
+
{
|
|
7208
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7204
7209
|
model: "gpt-5.6-sol",
|
|
7205
7210
|
variant: "medium"
|
|
7206
7211
|
}
|
|
7207
7212
|
],
|
|
7208
|
-
requiresProvider: ["openai", "
|
|
7213
|
+
requiresProvider: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7209
7214
|
requiresAnyModel: true
|
|
7210
7215
|
},
|
|
7211
7216
|
oracle: {
|
|
7212
7217
|
fallbackChain: [
|
|
7213
|
-
{ providers: ["openai", "
|
|
7218
|
+
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-5.6-sol", variant: "xhigh" },
|
|
7214
7219
|
{ providers: ["github-copilot"], model: "gpt-5.6-sol", variant: "high" },
|
|
7215
7220
|
{
|
|
7216
7221
|
providers: ["google", "github-copilot", "opencode"],
|
|
@@ -7219,7 +7224,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7219
7224
|
},
|
|
7220
7225
|
{
|
|
7221
7226
|
providers: ["anthropic", "github-copilot", "opencode"],
|
|
7222
|
-
model: "claude-opus-5",
|
|
7227
|
+
model: "claude-opus-5-5",
|
|
7223
7228
|
variant: "max"
|
|
7224
7229
|
},
|
|
7225
7230
|
{ providers: ["opencode-go"], model: "glm-5.2" }
|
|
@@ -7228,35 +7233,35 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7228
7233
|
librarian: {
|
|
7229
7234
|
fallbackChain: [
|
|
7230
7235
|
{ providers: ["kimi-for-coding"], model: "kimi-for-coding-highspeed", variant: "off" },
|
|
7231
|
-
{ providers: ["openai", "
|
|
7236
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6-luna-fast", variant: "low" },
|
|
7232
7237
|
{ providers: ["deepseek"], model: "deepseek-v4-flash", variant: "max" },
|
|
7233
7238
|
{ providers: ["opencode-go", "bailian-coding-plan"], model: "qwen3.7-plus" },
|
|
7234
7239
|
{ providers: ["opencode-go"], model: "minimax-m3" },
|
|
7235
7240
|
{ providers: ["minimax-coding-plan", "minimax-cn-coding-plan"], model: "MiniMax-M3" },
|
|
7236
7241
|
{ providers: ["opencode-go"], model: "minimax-m2.7" },
|
|
7237
7242
|
{ providers: ["anthropic", "github-copilot"], model: "claude-haiku-4-5" },
|
|
7238
|
-
{ providers: ["openai", "
|
|
7243
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-5.4-nano" }
|
|
7239
7244
|
]
|
|
7240
7245
|
},
|
|
7241
7246
|
explore: {
|
|
7242
7247
|
fallbackChain: [
|
|
7243
7248
|
{ providers: ["kimi-for-coding"], model: "kimi-for-coding-highspeed", variant: "off" },
|
|
7244
|
-
{ providers: ["openai", "
|
|
7249
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6-luna-fast", variant: "low" },
|
|
7245
7250
|
{ providers: ["deepseek"], model: "deepseek-v4-flash", variant: "max" },
|
|
7246
7251
|
{ providers: ["opencode-go", "bailian-coding-plan"], model: "qwen3.7-plus" },
|
|
7247
7252
|
{ providers: ["opencode-go"], model: "minimax-m3" },
|
|
7248
7253
|
{ providers: ["minimax-coding-plan", "minimax-cn-coding-plan"], model: "MiniMax-M3" },
|
|
7249
7254
|
{ providers: ["opencode-go"], model: "minimax-m2.7" },
|
|
7250
7255
|
{ providers: ["anthropic", "github-copilot"], model: "claude-haiku-4-5" },
|
|
7251
|
-
{ providers: ["openai", "
|
|
7256
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-5.4-nano" }
|
|
7252
7257
|
]
|
|
7253
7258
|
},
|
|
7254
7259
|
"multimodal-looker": {
|
|
7255
7260
|
fallbackChain: [
|
|
7256
|
-
{ providers: ["openai", "
|
|
7261
|
+
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-5.6-sol", variant: "low" },
|
|
7257
7262
|
{ providers: ["opencode-go"], model: "kimi-k3" },
|
|
7258
7263
|
{ providers: ["zai-coding-plan"], model: "glm-4.6v" },
|
|
7259
|
-
{ providers: ["openai", "
|
|
7264
|
+
{ providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"], model: "gpt-5-nano" }
|
|
7260
7265
|
]
|
|
7261
7266
|
},
|
|
7262
7267
|
prometheus: {
|
|
@@ -7266,6 +7271,11 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7266
7271
|
model: "claude-fable-5-1",
|
|
7267
7272
|
variant: "xhigh"
|
|
7268
7273
|
},
|
|
7274
|
+
{
|
|
7275
|
+
providers: ["anthropic", "github-copilot", "opencode"],
|
|
7276
|
+
model: "claude-opus-5-5",
|
|
7277
|
+
variant: "max"
|
|
7278
|
+
},
|
|
7269
7279
|
{
|
|
7270
7280
|
providers: ["opencode-go", "kimi-for-coding", "moonshotai", "opencode"],
|
|
7271
7281
|
model: "kimi-k3",
|
|
@@ -7282,7 +7292,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7282
7292
|
},
|
|
7283
7293
|
{
|
|
7284
7294
|
providers: ["anthropic", "github-copilot", "opencode"],
|
|
7285
|
-
model: "claude-opus-5",
|
|
7295
|
+
model: "claude-opus-5-5",
|
|
7286
7296
|
variant: "max"
|
|
7287
7297
|
},
|
|
7288
7298
|
{
|
|
@@ -7294,12 +7304,12 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7294
7304
|
},
|
|
7295
7305
|
momus: {
|
|
7296
7306
|
fallbackChain: [
|
|
7297
|
-
{ providers: ["openai", "
|
|
7307
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6-astra", variant: "xhigh" },
|
|
7298
7308
|
{ providers: ["github-copilot"], model: "gpt-6-astra", variant: "high" },
|
|
7299
|
-
{ providers: ["openai", "
|
|
7309
|
+
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-6-astra", variant: "high" },
|
|
7300
7310
|
{
|
|
7301
7311
|
providers: ["anthropic", "github-copilot", "opencode"],
|
|
7302
|
-
model: "claude-opus-5",
|
|
7312
|
+
model: "claude-opus-5-5",
|
|
7303
7313
|
variant: "max"
|
|
7304
7314
|
},
|
|
7305
7315
|
{
|
|
@@ -7315,7 +7325,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7315
7325
|
{ providers: ["anthropic", "github-copilot", "opencode"], model: "claude-sonnet-5" },
|
|
7316
7326
|
{ providers: ["opencode-go"], model: "kimi-k3" },
|
|
7317
7327
|
{
|
|
7318
|
-
providers: ["openai", "
|
|
7328
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7319
7329
|
model: "gpt-5.6-sol",
|
|
7320
7330
|
variant: "medium"
|
|
7321
7331
|
},
|
|
@@ -7329,7 +7339,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7329
7339
|
{ providers: ["anthropic", "github-copilot", "opencode"], model: "claude-sonnet-5" },
|
|
7330
7340
|
{ providers: ["opencode-go"], model: "kimi-k3" },
|
|
7331
7341
|
{
|
|
7332
|
-
providers: ["openai", "
|
|
7342
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7333
7343
|
model: "gpt-5.6-sol",
|
|
7334
7344
|
variant: "medium"
|
|
7335
7345
|
},
|
|
@@ -7355,7 +7365,7 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7355
7365
|
},
|
|
7356
7366
|
{
|
|
7357
7367
|
providers: ["anthropic", "anthropic-api", "github-copilot", "opencode"],
|
|
7358
|
-
model: "claude-opus-5",
|
|
7368
|
+
model: "claude-opus-5-5",
|
|
7359
7369
|
variant: "max"
|
|
7360
7370
|
},
|
|
7361
7371
|
{
|
|
@@ -7367,18 +7377,23 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7367
7377
|
},
|
|
7368
7378
|
ultrabrain: {
|
|
7369
7379
|
fallbackChain: [
|
|
7370
|
-
{ providers: ["openai", "
|
|
7380
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6-astra", variant: "max" },
|
|
7371
7381
|
{ providers: ["github-copilot"], model: "gpt-6-astra", variant: "max" },
|
|
7372
|
-
{ providers: ["openai", "
|
|
7373
|
-
{ providers: ["openai", "
|
|
7382
|
+
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-6-astra", variant: "max" },
|
|
7383
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-5.6-sol", variant: "max" },
|
|
7374
7384
|
{ providers: ["github-copilot"], model: "gpt-5.6-sol", variant: "max" },
|
|
7375
|
-
{ providers: ["openai", "
|
|
7385
|
+
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-5.6-sol", variant: "max" }
|
|
7376
7386
|
]
|
|
7377
7387
|
},
|
|
7378
7388
|
"deep-low": {
|
|
7379
7389
|
fallbackChain: [
|
|
7380
7390
|
{
|
|
7381
|
-
providers: ["openai", "
|
|
7391
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7392
|
+
model: "gpt-6-sol",
|
|
7393
|
+
variant: "medium"
|
|
7394
|
+
},
|
|
7395
|
+
{
|
|
7396
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7382
7397
|
model: "gpt-5.6-sol",
|
|
7383
7398
|
variant: "medium"
|
|
7384
7399
|
}
|
|
@@ -7387,7 +7402,7 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7387
7402
|
"deep-high": {
|
|
7388
7403
|
fallbackChain: [
|
|
7389
7404
|
{
|
|
7390
|
-
providers: ["openai", "
|
|
7405
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7391
7406
|
model: "gpt-6-astra",
|
|
7392
7407
|
variant: "high"
|
|
7393
7408
|
}
|
|
@@ -7401,20 +7416,20 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7401
7416
|
variant: "max"
|
|
7402
7417
|
},
|
|
7403
7418
|
{
|
|
7404
|
-
providers: ["
|
|
7405
|
-
model: "
|
|
7419
|
+
providers: ["anthropic", "anthropic-api", "github-copilot", "opencode"],
|
|
7420
|
+
model: "claude-opus-5-5",
|
|
7406
7421
|
variant: "max"
|
|
7407
7422
|
},
|
|
7408
7423
|
{
|
|
7409
|
-
providers: ["
|
|
7410
|
-
model: "
|
|
7411
|
-
variant: "
|
|
7424
|
+
providers: ["kimi-for-coding", "moonshotai", "opencode-go", "opencode"],
|
|
7425
|
+
model: "kimi-k3",
|
|
7426
|
+
variant: "max"
|
|
7412
7427
|
}
|
|
7413
7428
|
]
|
|
7414
7429
|
},
|
|
7415
7430
|
quick: {
|
|
7416
7431
|
fallbackChain: [
|
|
7417
|
-
{ providers: ["
|
|
7432
|
+
{ providers: ["chatgpt-subscription"], model: "gpt-6-luna-fast", variant: "low" },
|
|
7418
7433
|
{ providers: ["deepseek"], model: "deepseek-v4-flash", variant: "off" },
|
|
7419
7434
|
{
|
|
7420
7435
|
providers: ["qwen-token-plan", "alibaba-token-plan", "bailian-coding-plan"],
|
|
@@ -7436,7 +7451,7 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7436
7451
|
{ providers: ["xiaomi", "opencode-go"], model: "mimo-v2.6-pro", variant: "max" },
|
|
7437
7452
|
{ providers: ["xai", "github-copilot", "opencode-go"], model: "grok-4.7", variant: "xhigh" },
|
|
7438
7453
|
{
|
|
7439
|
-
providers: ["openai", "
|
|
7454
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7440
7455
|
model: "gpt-5.6-terra",
|
|
7441
7456
|
variant: "high"
|
|
7442
7457
|
},
|
|
@@ -7458,8 +7473,8 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7458
7473
|
fallbackChain: [
|
|
7459
7474
|
{
|
|
7460
7475
|
providers: ["anthropic", "anthropic-api", "github-copilot", "opencode"],
|
|
7461
|
-
model: "claude-opus-5",
|
|
7462
|
-
variant: "
|
|
7476
|
+
model: "claude-opus-5-5",
|
|
7477
|
+
variant: "max"
|
|
7463
7478
|
},
|
|
7464
7479
|
{ providers: ["zai-coding-plan", "opencode-go"], model: "glm-5.3", variant: "max" },
|
|
7465
7480
|
{
|
|
@@ -7477,14 +7492,14 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7477
7492
|
variant: "low"
|
|
7478
7493
|
},
|
|
7479
7494
|
{
|
|
7480
|
-
providers: ["
|
|
7481
|
-
model: "
|
|
7495
|
+
providers: ["anthropic", "anthropic-api", "github-copilot", "opencode"],
|
|
7496
|
+
model: "claude-opus-5-5",
|
|
7482
7497
|
variant: "low"
|
|
7483
7498
|
},
|
|
7484
7499
|
{
|
|
7485
7500
|
providers: ["anthropic", "anthropic-api", "github-copilot", "opencode"],
|
|
7486
7501
|
model: "claude-opus-4-6",
|
|
7487
|
-
variant: "
|
|
7502
|
+
variant: "max"
|
|
7488
7503
|
}
|
|
7489
7504
|
]
|
|
7490
7505
|
}
|
|
@@ -7592,7 +7607,7 @@ var init_model_capability_aliases = __esm(() => {
|
|
|
7592
7607
|
description: "Normalizes OpenCode's OpenAI GPT fast service-tier IDs to canonical snapshot IDs.",
|
|
7593
7608
|
providerIDs: ["openai"],
|
|
7594
7609
|
allowedSubproviderHosts: ["vercel"],
|
|
7595
|
-
match: (normalizedModelID) => /^(?:gpt-5\.6-(?:sol|terra|luna)|gpt-6-astra)-fast$/.test(normalizedModelID),
|
|
7610
|
+
match: (normalizedModelID) => /^(?:gpt-5\.6-(?:sol|terra|luna)|gpt-6-(?:astra|sol|luna))-fast$/.test(normalizedModelID),
|
|
7596
7611
|
canonicalize: (normalizedModelID) => normalizedModelID.slice(0, -"-fast".length)
|
|
7597
7612
|
},
|
|
7598
7613
|
{
|
|
@@ -7733,13 +7748,21 @@ var init_model_capability_heuristics = __esm(() => {
|
|
|
7733
7748
|
supportsTemperature: false
|
|
7734
7749
|
},
|
|
7735
7750
|
{
|
|
7736
|
-
family: "gpt-6",
|
|
7737
|
-
|
|
7751
|
+
family: "gpt-6-astra",
|
|
7752
|
+
pattern: /gpt-6-astra/,
|
|
7738
7753
|
variants: ["low", "medium", "high", "xhigh", "max"],
|
|
7739
7754
|
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
7740
7755
|
reasoningEffortAliases: { none: "low", minimal: "low" },
|
|
7741
7756
|
supportsTemperature: false
|
|
7742
7757
|
},
|
|
7758
|
+
{
|
|
7759
|
+
family: "gpt-6",
|
|
7760
|
+
includes: ["gpt-6"],
|
|
7761
|
+
variants: ["low", "medium", "high", "xhigh", "max"],
|
|
7762
|
+
reasoningEfforts: ["none", "low", "medium", "high", "xhigh", "max"],
|
|
7763
|
+
reasoningEffortAliases: { minimal: "low" },
|
|
7764
|
+
supportsTemperature: false
|
|
7765
|
+
},
|
|
7743
7766
|
{
|
|
7744
7767
|
family: "gpt-5",
|
|
7745
7768
|
includes: ["gpt-5"],
|
|
@@ -8136,6 +8159,38 @@ var init_supplemental_entries = __esm(() => {
|
|
|
8136
8159
|
output: 128000
|
|
8137
8160
|
}
|
|
8138
8161
|
},
|
|
8162
|
+
"gpt-6-sol": {
|
|
8163
|
+
id: "gpt-6-sol",
|
|
8164
|
+
family: "gpt",
|
|
8165
|
+
reasoning: true,
|
|
8166
|
+
temperature: false,
|
|
8167
|
+
toolCall: true,
|
|
8168
|
+
modalities: {
|
|
8169
|
+
input: ["text", "image"],
|
|
8170
|
+
output: ["text"]
|
|
8171
|
+
},
|
|
8172
|
+
limit: {
|
|
8173
|
+
context: 1050000,
|
|
8174
|
+
input: 922000,
|
|
8175
|
+
output: 128000
|
|
8176
|
+
}
|
|
8177
|
+
},
|
|
8178
|
+
"gpt-6-luna": {
|
|
8179
|
+
id: "gpt-6-luna",
|
|
8180
|
+
family: "gpt-nano",
|
|
8181
|
+
reasoning: true,
|
|
8182
|
+
temperature: false,
|
|
8183
|
+
toolCall: true,
|
|
8184
|
+
modalities: {
|
|
8185
|
+
input: ["text", "image"],
|
|
8186
|
+
output: ["text"]
|
|
8187
|
+
},
|
|
8188
|
+
limit: {
|
|
8189
|
+
context: 1050000,
|
|
8190
|
+
input: 922000,
|
|
8191
|
+
output: 128000
|
|
8192
|
+
}
|
|
8193
|
+
},
|
|
8139
8194
|
"gpt-5.6-sol": {
|
|
8140
8195
|
id: "gpt-5.6-sol",
|
|
8141
8196
|
family: "gpt",
|
|
@@ -8200,6 +8255,22 @@ var init_supplemental_entries = __esm(() => {
|
|
|
8200
8255
|
output: 128000
|
|
8201
8256
|
}
|
|
8202
8257
|
},
|
|
8258
|
+
"gpt-6-luna-fast": {
|
|
8259
|
+
id: "gpt-6-luna-fast",
|
|
8260
|
+
family: "gpt-nano",
|
|
8261
|
+
reasoning: true,
|
|
8262
|
+
temperature: false,
|
|
8263
|
+
toolCall: true,
|
|
8264
|
+
modalities: {
|
|
8265
|
+
input: ["text", "image"],
|
|
8266
|
+
output: ["text"]
|
|
8267
|
+
},
|
|
8268
|
+
limit: {
|
|
8269
|
+
context: 1050000,
|
|
8270
|
+
input: 922000,
|
|
8271
|
+
output: 128000
|
|
8272
|
+
}
|
|
8273
|
+
},
|
|
8203
8274
|
"gpt-5.6-luna-fast": {
|
|
8204
8275
|
id: "gpt-5.6-luna-fast",
|
|
8205
8276
|
family: "gpt-mini",
|
|
@@ -9322,9 +9393,10 @@ You are working on tasks that don't fit specific categories but require moderate
|
|
|
9322
9393
|
</Category_Context>`, UNSPECIFIED_LOW_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Use only when no specialist category fits, effort is moderate, and scope stays within a few files/modules. Prefer any matching specialist category.</Selection_Gate>
|
|
9323
9394
|
<Caller_Warning>Provide explicit must-do steps, forbidden scope, and concrete success criteria.</Caller_Warning>`, UNSPECIFIED_HIGH_CATEGORY_PROMPT_APPEND = `<Category_Context>
|
|
9324
9395
|
You are working on tasks that don't fit specific categories but require substantial effort.
|
|
9325
|
-
</Category_Context>`, UNSPECIFIED_HIGH_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Use only when no specialist category fits and substantial effort spans systems/modules with broad impact. Use unspecified-low for contained moderate work.</Selection_Gate>`, DEEP_LOW_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Route here when one subsystem plus its callers holds the mechanism and the evidence, once read, leaves one right answer. Wide but mechanical work belongs here or in a quick batch. When unsure, choose deep-low: a misrouted child returns \`ESCALATE: deep-high\` after one cheap attempt; re-spawn the same brief as deep-high with its findings.</Selection_Gate>`, DEEP_HIGH_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Route here only when you can name the decision evidence cannot settle: a trade-off with no single right answer, a contract change crossing a package or process boundary, a mechanism with no in-repo pattern to copy, or correctness argued from invariants rather than observed in a test. Wide scope with easy decisions is deep-low or unspecified-high; reasoning as the deliverable is ultrabrain.</Selection_Gate>`,
|
|
9396
|
+
</Category_Context>`, UNSPECIFIED_HIGH_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Use only when no specialist category fits and substantial effort spans systems/modules with broad impact. Use unspecified-low for contained moderate work.</Selection_Gate>`, DEEP_LOW_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Route here when one subsystem plus its callers holds the mechanism and the evidence, once read, leaves one right answer. Wide but mechanical work belongs here or in a quick batch. When unsure, choose deep-low: a misrouted child returns \`ESCALATE: deep-high\` after one cheap attempt; re-spawn the same brief as deep-high with its findings.</Selection_Gate>`, DEEP_HIGH_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Route here only when you can name the decision evidence cannot settle: a trade-off with no single right answer, a contract change crossing a package or process boundary, a mechanism with no in-repo pattern to copy, or correctness argued from invariants rather than observed in a test. Wide scope with easy decisions is deep-low or unspecified-high; reasoning as the deliverable is ultrabrain.</Selection_Gate>`, DEEP_LOW_GATE_MODELS, DEEP_HIGH_GATE_MODEL = "gpt-6-astra", OPENAI_CATEGORIES;
|
|
9326
9397
|
var init_openai_categories = __esm(() => {
|
|
9327
9398
|
init_types();
|
|
9399
|
+
DEEP_LOW_GATE_MODELS = ["gpt-6-sol", "gpt-5.6-sol"];
|
|
9328
9400
|
OPENAI_CATEGORIES = [
|
|
9329
9401
|
{
|
|
9330
9402
|
name: "ultrabrain",
|
|
@@ -9335,12 +9407,12 @@ var init_openai_categories = __esm(() => {
|
|
|
9335
9407
|
},
|
|
9336
9408
|
{
|
|
9337
9409
|
name: "deep-low",
|
|
9338
|
-
config: { model: "openai/gpt-
|
|
9410
|
+
config: { model: "openai/gpt-6-sol", variant: "medium" },
|
|
9339
9411
|
description: "Default deep lane: one goal, one deliverable, decisions the child can settle from what it reads. **3D graphics, computer/browser use, CAPTCHA, multimodal, backend, logic, and algorithm work is routed here.** Multiple goals fan out as parallel calls.",
|
|
9340
9412
|
callerGuidance: DEEP_LOW_CATEGORY_CALLER_GUIDANCE,
|
|
9341
9413
|
promptAppend: DEEP_LOW_CATEGORY_PROMPT_APPEND,
|
|
9342
9414
|
resolvePromptAppend: resolveDeepLowCategoryPromptAppend,
|
|
9343
|
-
requiresModel:
|
|
9415
|
+
requiresModel: DEEP_LOW_GATE_MODELS
|
|
9344
9416
|
},
|
|
9345
9417
|
{
|
|
9346
9418
|
name: "deep-high",
|
|
@@ -9353,7 +9425,7 @@ var init_openai_categories = __esm(() => {
|
|
|
9353
9425
|
},
|
|
9354
9426
|
{
|
|
9355
9427
|
name: "quick",
|
|
9356
|
-
config: { model: "openai/gpt-
|
|
9428
|
+
config: { model: "openai/gpt-6-luna-fast", variant: "low" },
|
|
9357
9429
|
description: "Trivial tasks - single file changes, typo fixes, simple modifications",
|
|
9358
9430
|
callerGuidance: QUICK_CATEGORY_CALLER_GUIDANCE,
|
|
9359
9431
|
promptAppend: QUICK_CATEGORY_PROMPT_APPEND
|
|
@@ -9367,7 +9439,7 @@ var init_openai_categories = __esm(() => {
|
|
|
9367
9439
|
},
|
|
9368
9440
|
{
|
|
9369
9441
|
name: "unspecified-high",
|
|
9370
|
-
config: { model: "anthropic/claude-opus-5", variant: "
|
|
9442
|
+
config: { model: "anthropic/claude-opus-5-5", variant: "max" },
|
|
9371
9443
|
description: "Tasks that don't fit other categories, high effort required",
|
|
9372
9444
|
callerGuidance: UNSPECIFIED_HIGH_CATEGORY_CALLER_GUIDANCE,
|
|
9373
9445
|
promptAppend: UNSPECIFIED_HIGH_CATEGORY_PROMPT_APPEND,
|
|
@@ -64328,6 +64400,216 @@ var init_model_capabilities_generated = __esm(() => {
|
|
|
64328
64400
|
context: 500000,
|
|
64329
64401
|
output: 500000
|
|
64330
64402
|
}
|
|
64403
|
+
},
|
|
64404
|
+
"claude-opus-5-5": {
|
|
64405
|
+
id: "claude-opus-5-5",
|
|
64406
|
+
family: "claude-opus",
|
|
64407
|
+
reasoning: true,
|
|
64408
|
+
temperature: false,
|
|
64409
|
+
toolCall: true,
|
|
64410
|
+
modalities: {
|
|
64411
|
+
input: [
|
|
64412
|
+
"text",
|
|
64413
|
+
"image",
|
|
64414
|
+
"pdf"
|
|
64415
|
+
],
|
|
64416
|
+
output: [
|
|
64417
|
+
"text"
|
|
64418
|
+
]
|
|
64419
|
+
},
|
|
64420
|
+
limit: {
|
|
64421
|
+
context: 1e6,
|
|
64422
|
+
output: 128000
|
|
64423
|
+
}
|
|
64424
|
+
},
|
|
64425
|
+
"claude-opus-5-5@default": {
|
|
64426
|
+
id: "claude-opus-5-5@default",
|
|
64427
|
+
family: "claude-opus",
|
|
64428
|
+
reasoning: true,
|
|
64429
|
+
temperature: false,
|
|
64430
|
+
toolCall: true,
|
|
64431
|
+
modalities: {
|
|
64432
|
+
input: [
|
|
64433
|
+
"text",
|
|
64434
|
+
"image",
|
|
64435
|
+
"pdf"
|
|
64436
|
+
],
|
|
64437
|
+
output: [
|
|
64438
|
+
"text"
|
|
64439
|
+
]
|
|
64440
|
+
},
|
|
64441
|
+
limit: {
|
|
64442
|
+
context: 1e6,
|
|
64443
|
+
output: 128000
|
|
64444
|
+
}
|
|
64445
|
+
},
|
|
64446
|
+
"anthropic/claude-opus-5.5": {
|
|
64447
|
+
id: "anthropic/claude-opus-5.5",
|
|
64448
|
+
family: "claude-opus",
|
|
64449
|
+
reasoning: true,
|
|
64450
|
+
temperature: true,
|
|
64451
|
+
toolCall: true,
|
|
64452
|
+
modalities: {
|
|
64453
|
+
input: [
|
|
64454
|
+
"text",
|
|
64455
|
+
"image",
|
|
64456
|
+
"pdf"
|
|
64457
|
+
],
|
|
64458
|
+
output: [
|
|
64459
|
+
"text"
|
|
64460
|
+
]
|
|
64461
|
+
},
|
|
64462
|
+
limit: {
|
|
64463
|
+
context: 1e6,
|
|
64464
|
+
output: 128000
|
|
64465
|
+
}
|
|
64466
|
+
},
|
|
64467
|
+
"au.anthropic.claude-opus-5-5": {
|
|
64468
|
+
id: "au.anthropic.claude-opus-5-5",
|
|
64469
|
+
family: "claude-opus",
|
|
64470
|
+
reasoning: true,
|
|
64471
|
+
temperature: false,
|
|
64472
|
+
toolCall: true,
|
|
64473
|
+
modalities: {
|
|
64474
|
+
input: [
|
|
64475
|
+
"text",
|
|
64476
|
+
"image",
|
|
64477
|
+
"pdf"
|
|
64478
|
+
],
|
|
64479
|
+
output: [
|
|
64480
|
+
"text"
|
|
64481
|
+
]
|
|
64482
|
+
},
|
|
64483
|
+
limit: {
|
|
64484
|
+
context: 1e6,
|
|
64485
|
+
output: 128000
|
|
64486
|
+
}
|
|
64487
|
+
},
|
|
64488
|
+
"anthropic.claude-opus-5-5": {
|
|
64489
|
+
id: "anthropic.claude-opus-5-5",
|
|
64490
|
+
family: "claude-opus",
|
|
64491
|
+
reasoning: true,
|
|
64492
|
+
temperature: false,
|
|
64493
|
+
toolCall: true,
|
|
64494
|
+
modalities: {
|
|
64495
|
+
input: [
|
|
64496
|
+
"text",
|
|
64497
|
+
"image",
|
|
64498
|
+
"pdf"
|
|
64499
|
+
],
|
|
64500
|
+
output: [
|
|
64501
|
+
"text"
|
|
64502
|
+
]
|
|
64503
|
+
},
|
|
64504
|
+
limit: {
|
|
64505
|
+
context: 1e6,
|
|
64506
|
+
output: 128000
|
|
64507
|
+
}
|
|
64508
|
+
},
|
|
64509
|
+
"eu.anthropic.claude-opus-5-5": {
|
|
64510
|
+
id: "eu.anthropic.claude-opus-5-5",
|
|
64511
|
+
family: "claude-opus",
|
|
64512
|
+
reasoning: true,
|
|
64513
|
+
temperature: false,
|
|
64514
|
+
toolCall: true,
|
|
64515
|
+
modalities: {
|
|
64516
|
+
input: [
|
|
64517
|
+
"text",
|
|
64518
|
+
"image",
|
|
64519
|
+
"pdf"
|
|
64520
|
+
],
|
|
64521
|
+
output: [
|
|
64522
|
+
"text"
|
|
64523
|
+
]
|
|
64524
|
+
},
|
|
64525
|
+
limit: {
|
|
64526
|
+
context: 1e6,
|
|
64527
|
+
output: 128000
|
|
64528
|
+
}
|
|
64529
|
+
},
|
|
64530
|
+
"global.anthropic.claude-opus-5-5": {
|
|
64531
|
+
id: "global.anthropic.claude-opus-5-5",
|
|
64532
|
+
family: "claude-opus",
|
|
64533
|
+
reasoning: true,
|
|
64534
|
+
temperature: false,
|
|
64535
|
+
toolCall: true,
|
|
64536
|
+
modalities: {
|
|
64537
|
+
input: [
|
|
64538
|
+
"text",
|
|
64539
|
+
"image",
|
|
64540
|
+
"pdf"
|
|
64541
|
+
],
|
|
64542
|
+
output: [
|
|
64543
|
+
"text"
|
|
64544
|
+
]
|
|
64545
|
+
},
|
|
64546
|
+
limit: {
|
|
64547
|
+
context: 1e6,
|
|
64548
|
+
output: 128000
|
|
64549
|
+
}
|
|
64550
|
+
},
|
|
64551
|
+
"jp.anthropic.claude-opus-5-5": {
|
|
64552
|
+
id: "jp.anthropic.claude-opus-5-5",
|
|
64553
|
+
family: "claude-opus",
|
|
64554
|
+
reasoning: true,
|
|
64555
|
+
temperature: false,
|
|
64556
|
+
toolCall: true,
|
|
64557
|
+
modalities: {
|
|
64558
|
+
input: [
|
|
64559
|
+
"text",
|
|
64560
|
+
"image",
|
|
64561
|
+
"pdf"
|
|
64562
|
+
],
|
|
64563
|
+
output: [
|
|
64564
|
+
"text"
|
|
64565
|
+
]
|
|
64566
|
+
},
|
|
64567
|
+
limit: {
|
|
64568
|
+
context: 1e6,
|
|
64569
|
+
output: 128000
|
|
64570
|
+
}
|
|
64571
|
+
},
|
|
64572
|
+
"us.anthropic.claude-opus-5-5": {
|
|
64573
|
+
id: "us.anthropic.claude-opus-5-5",
|
|
64574
|
+
family: "claude-opus",
|
|
64575
|
+
reasoning: true,
|
|
64576
|
+
temperature: false,
|
|
64577
|
+
toolCall: true,
|
|
64578
|
+
modalities: {
|
|
64579
|
+
input: [
|
|
64580
|
+
"text",
|
|
64581
|
+
"image",
|
|
64582
|
+
"pdf"
|
|
64583
|
+
],
|
|
64584
|
+
output: [
|
|
64585
|
+
"text"
|
|
64586
|
+
]
|
|
64587
|
+
},
|
|
64588
|
+
limit: {
|
|
64589
|
+
context: 1e6,
|
|
64590
|
+
output: 128000
|
|
64591
|
+
}
|
|
64592
|
+
},
|
|
64593
|
+
"anthropic/claude-opus-5-5": {
|
|
64594
|
+
id: "anthropic/claude-opus-5-5",
|
|
64595
|
+
family: "claude-opus",
|
|
64596
|
+
reasoning: true,
|
|
64597
|
+
temperature: false,
|
|
64598
|
+
toolCall: true,
|
|
64599
|
+
modalities: {
|
|
64600
|
+
input: [
|
|
64601
|
+
"text",
|
|
64602
|
+
"image",
|
|
64603
|
+
"pdf"
|
|
64604
|
+
],
|
|
64605
|
+
output: [
|
|
64606
|
+
"text"
|
|
64607
|
+
]
|
|
64608
|
+
},
|
|
64609
|
+
limit: {
|
|
64610
|
+
context: 1e6,
|
|
64611
|
+
output: 128000
|
|
64612
|
+
}
|
|
64331
64613
|
}
|
|
64332
64614
|
}
|
|
64333
64615
|
};
|
|
@@ -76766,12 +77048,12 @@ function applyOpenAiOnlyModelCatalog(config) {
|
|
|
76766
77048
|
var OPENAI_ONLY_AGENT_OVERRIDES, OPENAI_ONLY_CATEGORY_OVERRIDES;
|
|
76767
77049
|
var init_openai_only_model_catalog = __esm(() => {
|
|
76768
77050
|
OPENAI_ONLY_AGENT_OVERRIDES = {
|
|
76769
|
-
explore: { model: "openai/gpt-
|
|
76770
|
-
librarian: { model: "openai/gpt-
|
|
77051
|
+
explore: { model: "openai/gpt-6-luna-fast", variant: "low" },
|
|
77052
|
+
librarian: { model: "openai/gpt-6-luna-fast", variant: "low" }
|
|
76771
77053
|
};
|
|
76772
77054
|
OPENAI_ONLY_CATEGORY_OVERRIDES = {
|
|
76773
77055
|
artistry: { model: "openai/gpt-5.6-sol", variant: "xhigh" },
|
|
76774
|
-
quick: { model: "openai/gpt-
|
|
77056
|
+
quick: { model: "openai/gpt-6-luna-fast" },
|
|
76775
77057
|
"visual-engineering": { model: "openai/gpt-5.6-sol", variant: "high" },
|
|
76776
77058
|
writing: { model: "openai/gpt-5.6-sol", variant: "medium" }
|
|
76777
77059
|
};
|
|
@@ -76981,7 +77263,7 @@ function generateModelConfig(config) {
|
|
|
76981
77263
|
if (role === "explore") {
|
|
76982
77264
|
let agentConfig;
|
|
76983
77265
|
if (avail.native.openai) {
|
|
76984
|
-
agentConfig = { model: "openai/gpt-
|
|
77266
|
+
agentConfig = { model: "openai/gpt-6-luna-fast", variant: "low" };
|
|
76985
77267
|
} else if (avail.native.claude) {
|
|
76986
77268
|
agentConfig = { model: "anthropic/claude-haiku-4-5" };
|
|
76987
77269
|
} else if (avail.opencodeZen) {
|
|
@@ -77761,6 +78043,63 @@ var init_harness_native_rename = __esm(() => {
|
|
|
77761
78043
|
init_src4();
|
|
77762
78044
|
});
|
|
77763
78045
|
|
|
78046
|
+
// packages/omo-opencode/src/config-migration/subscription-provider-rename.ts
|
|
78047
|
+
function renameProviderId(providerId) {
|
|
78048
|
+
return LEGACY_PROVIDER_IDS[providerId];
|
|
78049
|
+
}
|
|
78050
|
+
function renameModelReference(modelReference) {
|
|
78051
|
+
const providerSeparator = modelReference.indexOf("/");
|
|
78052
|
+
if (providerSeparator <= 0)
|
|
78053
|
+
return;
|
|
78054
|
+
const canonicalProvider = renameProviderId(modelReference.slice(0, providerSeparator));
|
|
78055
|
+
if (canonicalProvider === undefined)
|
|
78056
|
+
return;
|
|
78057
|
+
const modelPartVerbatim = modelReference.slice(providerSeparator);
|
|
78058
|
+
return `${canonicalProvider}${modelPartVerbatim}`;
|
|
78059
|
+
}
|
|
78060
|
+
function rewriteValue(value, path, rewrites) {
|
|
78061
|
+
if (typeof value === "string") {
|
|
78062
|
+
const renamed = renameModelReference(value) ?? renameProviderId(value);
|
|
78063
|
+
if (renamed === undefined)
|
|
78064
|
+
return value;
|
|
78065
|
+
rewrites.push({ from: value, path, to: renamed });
|
|
78066
|
+
return renamed;
|
|
78067
|
+
}
|
|
78068
|
+
if (Array.isArray(value))
|
|
78069
|
+
return value.map((entry, index) => rewriteValue(entry, `${path}[${index}]`, rewrites));
|
|
78070
|
+
if (value !== null && typeof value === "object") {
|
|
78071
|
+
return Object.fromEntries(Object.entries(value).map(([key, entry]) => {
|
|
78072
|
+
const canonicalKey = renameModelReference(key) ?? renameProviderId(key);
|
|
78073
|
+
const nextKey = canonicalKey ?? key;
|
|
78074
|
+
if (canonicalKey !== undefined)
|
|
78075
|
+
rewrites.push({ from: key, path: `${path}.${key}`, to: canonicalKey });
|
|
78076
|
+
return [nextKey, rewriteValue(entry, `${path}.${nextKey}`, rewrites)];
|
|
78077
|
+
}));
|
|
78078
|
+
}
|
|
78079
|
+
return value;
|
|
78080
|
+
}
|
|
78081
|
+
function hasLegacySubscriptionProviderIds(document) {
|
|
78082
|
+
const rewrites = [];
|
|
78083
|
+
rewriteValue(document, "$", rewrites);
|
|
78084
|
+
return rewrites.length > 0;
|
|
78085
|
+
}
|
|
78086
|
+
function transformSubscriptionProviderRename(document) {
|
|
78087
|
+
const rewrites = [];
|
|
78088
|
+
const rewritten = rewriteValue(document, "$", rewrites);
|
|
78089
|
+
const next = rewritten !== null && typeof rewritten === "object" && !Array.isArray(rewritten) ? rewritten : {};
|
|
78090
|
+
return {
|
|
78091
|
+
diagnostics: rewrites.map((rewrite) => `${rewrite.path}: ${rewrite.from} renamed to ${rewrite.to}`),
|
|
78092
|
+
document: next
|
|
78093
|
+
};
|
|
78094
|
+
}
|
|
78095
|
+
var SUBSCRIPTION_PROVIDER_RENAME_MIGRATION_ID = "2026-09-subscription-provider-rename", LEGACY_PROVIDER_IDS;
|
|
78096
|
+
var init_subscription_provider_rename = __esm(() => {
|
|
78097
|
+
LEGACY_PROVIDER_IDS = Object.freeze({
|
|
78098
|
+
"claude-sdk-oauth": "anthropic-subscription",
|
|
78099
|
+
"openai-codex": "chatgpt-subscription"
|
|
78100
|
+
});
|
|
78101
|
+
});
|
|
78102
|
+
|
|
77764
78103
|
// packages/omo-opencode/src/config-migration/migration-plans.ts
|
|
77765
78104
|
function backupTimestamp(value) {
|
|
77766
78105
|
return value ?? new Date().toISOString().replace(/[:.]/g, "-");
|
|
@@ -77851,6 +78190,18 @@ function harnessNativeRenamePlan(targetPath) {
|
|
|
77851
78190
|
transform: inspect
|
|
77852
78191
|
};
|
|
77853
78192
|
}
|
|
78193
|
+
function subscriptionProviderRenamePlan(targetPath) {
|
|
78194
|
+
const inspect = (sources) => transformSubscriptionProviderRename(sources[0]?.value);
|
|
78195
|
+
return {
|
|
78196
|
+
id: SUBSCRIPTION_PROVIDER_RENAME_MIGRATION_ID,
|
|
78197
|
+
inspect,
|
|
78198
|
+
mode: "replace-target",
|
|
78199
|
+
shouldRun: hasLegacySubscriptionProviderIds,
|
|
78200
|
+
sources: [],
|
|
78201
|
+
targetPath,
|
|
78202
|
+
transform: inspect
|
|
78203
|
+
};
|
|
78204
|
+
}
|
|
77854
78205
|
function existingOmoConfigPath(directory, options) {
|
|
77855
78206
|
const fileSystem = discoveryFileSystem(options);
|
|
77856
78207
|
for (const fileName of ["omo.jsonc", "omo.json"]) {
|
|
@@ -77915,7 +78266,8 @@ function createLegacyConfigMigrationPlans(options) {
|
|
|
77915
78266
|
...legacyPlans,
|
|
77916
78267
|
...inPlaceTargets.map(reasoningPlan),
|
|
77917
78268
|
...inPlaceTargets.map(categoryDeepSplitPlan),
|
|
77918
|
-
...inPlaceTargets.map(harnessNativeRenamePlan)
|
|
78269
|
+
...inPlaceTargets.map(harnessNativeRenamePlan),
|
|
78270
|
+
...inPlaceTargets.map(subscriptionProviderRenamePlan)
|
|
77919
78271
|
];
|
|
77920
78272
|
}
|
|
77921
78273
|
var init_migration_plans = __esm(() => {
|
|
@@ -77927,6 +78279,7 @@ var init_migration_plans = __esm(() => {
|
|
|
77927
78279
|
init_reasoning_unification();
|
|
77928
78280
|
init_category_deep_split();
|
|
77929
78281
|
init_harness_native_rename();
|
|
78282
|
+
init_subscription_provider_rename();
|
|
77930
78283
|
init_src4();
|
|
77931
78284
|
});
|
|
77932
78285
|
|
|
@@ -88379,7 +88732,7 @@ var package_default2;
|
|
|
88379
88732
|
var init_package2 = __esm(() => {
|
|
88380
88733
|
package_default2 = {
|
|
88381
88734
|
name: "@oh-my-opencode/omo-codex",
|
|
88382
|
-
version: "5.0.0-beta.
|
|
88735
|
+
version: "5.0.0-beta.85",
|
|
88383
88736
|
type: "module",
|
|
88384
88737
|
private: true,
|
|
88385
88738
|
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
|