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-node/index.js
CHANGED
|
@@ -65,7 +65,7 @@ var package_default;
|
|
|
65
65
|
var init_package = __esm(() => {
|
|
66
66
|
package_default = {
|
|
67
67
|
name: "oh-my-opencode",
|
|
68
|
-
version: "5.0.0-beta.
|
|
68
|
+
version: "5.0.0-beta.85",
|
|
69
69
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
70
70
|
main: "./dist/index.js",
|
|
71
71
|
types: "dist/index.d.ts",
|
|
@@ -248,7 +248,7 @@ var init_package = __esm(() => {
|
|
|
248
248
|
zod: "^4.6.5"
|
|
249
249
|
},
|
|
250
250
|
devDependencies: {
|
|
251
|
-
"@code-yeongyu/senpi": "2026.9.
|
|
251
|
+
"@code-yeongyu/senpi": "2026.9.23",
|
|
252
252
|
"@oh-my-opencode/agents-md-core": "workspace:*",
|
|
253
253
|
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
|
|
254
254
|
"@oh-my-opencode/boulder-state": "workspace:*",
|
|
@@ -288,18 +288,18 @@ var init_package = __esm(() => {
|
|
|
288
288
|
typescript: "^7.0.2"
|
|
289
289
|
},
|
|
290
290
|
optionalDependencies: {
|
|
291
|
-
"oh-my-opencode-darwin-arm64": "5.0.0-beta.
|
|
292
|
-
"oh-my-opencode-darwin-x64": "5.0.0-beta.
|
|
293
|
-
"oh-my-opencode-darwin-x64-baseline": "5.0.0-beta.
|
|
294
|
-
"oh-my-opencode-linux-arm64": "5.0.0-beta.
|
|
295
|
-
"oh-my-opencode-linux-arm64-musl": "5.0.0-beta.
|
|
296
|
-
"oh-my-opencode-linux-x64": "5.0.0-beta.
|
|
297
|
-
"oh-my-opencode-linux-x64-baseline": "5.0.0-beta.
|
|
298
|
-
"oh-my-opencode-linux-x64-musl": "5.0.0-beta.
|
|
299
|
-
"oh-my-opencode-linux-x64-musl-baseline": "5.0.0-beta.
|
|
300
|
-
"oh-my-opencode-windows-arm64": "5.0.0-beta.
|
|
301
|
-
"oh-my-opencode-windows-x64": "5.0.0-beta.
|
|
302
|
-
"oh-my-opencode-windows-x64-baseline": "5.0.0-beta.
|
|
291
|
+
"oh-my-opencode-darwin-arm64": "5.0.0-beta.85",
|
|
292
|
+
"oh-my-opencode-darwin-x64": "5.0.0-beta.85",
|
|
293
|
+
"oh-my-opencode-darwin-x64-baseline": "5.0.0-beta.85",
|
|
294
|
+
"oh-my-opencode-linux-arm64": "5.0.0-beta.85",
|
|
295
|
+
"oh-my-opencode-linux-arm64-musl": "5.0.0-beta.85",
|
|
296
|
+
"oh-my-opencode-linux-x64": "5.0.0-beta.85",
|
|
297
|
+
"oh-my-opencode-linux-x64-baseline": "5.0.0-beta.85",
|
|
298
|
+
"oh-my-opencode-linux-x64-musl": "5.0.0-beta.85",
|
|
299
|
+
"oh-my-opencode-linux-x64-musl-baseline": "5.0.0-beta.85",
|
|
300
|
+
"oh-my-opencode-windows-arm64": "5.0.0-beta.85",
|
|
301
|
+
"oh-my-opencode-windows-x64": "5.0.0-beta.85",
|
|
302
|
+
"oh-my-opencode-windows-x64-baseline": "5.0.0-beta.85"
|
|
303
303
|
},
|
|
304
304
|
overrides: {
|
|
305
305
|
"@earendil-works/pi-agent-core": "0.84.2",
|
|
@@ -7181,7 +7181,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7181
7181
|
fallbackChain: [
|
|
7182
7182
|
{
|
|
7183
7183
|
providers: ["anthropic", "github-copilot", "opencode"],
|
|
7184
|
-
model: "claude-opus-5",
|
|
7184
|
+
model: "claude-opus-5-5",
|
|
7185
7185
|
variant: "max"
|
|
7186
7186
|
},
|
|
7187
7187
|
{
|
|
@@ -7189,7 +7189,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7189
7189
|
model: "kimi-k3"
|
|
7190
7190
|
},
|
|
7191
7191
|
{
|
|
7192
|
-
providers: ["openai", "
|
|
7192
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7193
7193
|
model: "gpt-5.6-sol",
|
|
7194
7194
|
variant: "medium"
|
|
7195
7195
|
},
|
|
@@ -7201,17 +7201,22 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7201
7201
|
hephaestus: {
|
|
7202
7202
|
fallbackChain: [
|
|
7203
7203
|
{
|
|
7204
|
-
providers: ["openai", "
|
|
7204
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7205
|
+
model: "gpt-6-sol",
|
|
7206
|
+
variant: "medium"
|
|
7207
|
+
},
|
|
7208
|
+
{
|
|
7209
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7205
7210
|
model: "gpt-5.6-sol",
|
|
7206
7211
|
variant: "medium"
|
|
7207
7212
|
}
|
|
7208
7213
|
],
|
|
7209
|
-
requiresProvider: ["openai", "
|
|
7214
|
+
requiresProvider: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7210
7215
|
requiresAnyModel: true
|
|
7211
7216
|
},
|
|
7212
7217
|
oracle: {
|
|
7213
7218
|
fallbackChain: [
|
|
7214
|
-
{ providers: ["openai", "
|
|
7219
|
+
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-5.6-sol", variant: "xhigh" },
|
|
7215
7220
|
{ providers: ["github-copilot"], model: "gpt-5.6-sol", variant: "high" },
|
|
7216
7221
|
{
|
|
7217
7222
|
providers: ["google", "github-copilot", "opencode"],
|
|
@@ -7220,7 +7225,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7220
7225
|
},
|
|
7221
7226
|
{
|
|
7222
7227
|
providers: ["anthropic", "github-copilot", "opencode"],
|
|
7223
|
-
model: "claude-opus-5",
|
|
7228
|
+
model: "claude-opus-5-5",
|
|
7224
7229
|
variant: "max"
|
|
7225
7230
|
},
|
|
7226
7231
|
{ providers: ["opencode-go"], model: "glm-5.2" }
|
|
@@ -7229,35 +7234,35 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7229
7234
|
librarian: {
|
|
7230
7235
|
fallbackChain: [
|
|
7231
7236
|
{ providers: ["kimi-for-coding"], model: "kimi-for-coding-highspeed", variant: "off" },
|
|
7232
|
-
{ providers: ["openai", "
|
|
7237
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6-luna-fast", variant: "low" },
|
|
7233
7238
|
{ providers: ["deepseek"], model: "deepseek-v4-flash", variant: "max" },
|
|
7234
7239
|
{ providers: ["opencode-go", "bailian-coding-plan"], model: "qwen3.7-plus" },
|
|
7235
7240
|
{ providers: ["opencode-go"], model: "minimax-m3" },
|
|
7236
7241
|
{ providers: ["minimax-coding-plan", "minimax-cn-coding-plan"], model: "MiniMax-M3" },
|
|
7237
7242
|
{ providers: ["opencode-go"], model: "minimax-m2.7" },
|
|
7238
7243
|
{ providers: ["anthropic", "github-copilot"], model: "claude-haiku-4-5" },
|
|
7239
|
-
{ providers: ["openai", "
|
|
7244
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-5.4-nano" }
|
|
7240
7245
|
]
|
|
7241
7246
|
},
|
|
7242
7247
|
explore: {
|
|
7243
7248
|
fallbackChain: [
|
|
7244
7249
|
{ providers: ["kimi-for-coding"], model: "kimi-for-coding-highspeed", variant: "off" },
|
|
7245
|
-
{ providers: ["openai", "
|
|
7250
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6-luna-fast", variant: "low" },
|
|
7246
7251
|
{ providers: ["deepseek"], model: "deepseek-v4-flash", variant: "max" },
|
|
7247
7252
|
{ providers: ["opencode-go", "bailian-coding-plan"], model: "qwen3.7-plus" },
|
|
7248
7253
|
{ providers: ["opencode-go"], model: "minimax-m3" },
|
|
7249
7254
|
{ providers: ["minimax-coding-plan", "minimax-cn-coding-plan"], model: "MiniMax-M3" },
|
|
7250
7255
|
{ providers: ["opencode-go"], model: "minimax-m2.7" },
|
|
7251
7256
|
{ providers: ["anthropic", "github-copilot"], model: "claude-haiku-4-5" },
|
|
7252
|
-
{ providers: ["openai", "
|
|
7257
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-5.4-nano" }
|
|
7253
7258
|
]
|
|
7254
7259
|
},
|
|
7255
7260
|
"multimodal-looker": {
|
|
7256
7261
|
fallbackChain: [
|
|
7257
|
-
{ providers: ["openai", "
|
|
7262
|
+
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-5.6-sol", variant: "low" },
|
|
7258
7263
|
{ providers: ["opencode-go"], model: "kimi-k3" },
|
|
7259
7264
|
{ providers: ["zai-coding-plan"], model: "glm-4.6v" },
|
|
7260
|
-
{ providers: ["openai", "
|
|
7265
|
+
{ providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"], model: "gpt-5-nano" }
|
|
7261
7266
|
]
|
|
7262
7267
|
},
|
|
7263
7268
|
prometheus: {
|
|
@@ -7267,6 +7272,11 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7267
7272
|
model: "claude-fable-5-1",
|
|
7268
7273
|
variant: "xhigh"
|
|
7269
7274
|
},
|
|
7275
|
+
{
|
|
7276
|
+
providers: ["anthropic", "github-copilot", "opencode"],
|
|
7277
|
+
model: "claude-opus-5-5",
|
|
7278
|
+
variant: "max"
|
|
7279
|
+
},
|
|
7270
7280
|
{
|
|
7271
7281
|
providers: ["opencode-go", "kimi-for-coding", "moonshotai", "opencode"],
|
|
7272
7282
|
model: "kimi-k3",
|
|
@@ -7283,7 +7293,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7283
7293
|
},
|
|
7284
7294
|
{
|
|
7285
7295
|
providers: ["anthropic", "github-copilot", "opencode"],
|
|
7286
|
-
model: "claude-opus-5",
|
|
7296
|
+
model: "claude-opus-5-5",
|
|
7287
7297
|
variant: "max"
|
|
7288
7298
|
},
|
|
7289
7299
|
{
|
|
@@ -7295,12 +7305,12 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7295
7305
|
},
|
|
7296
7306
|
momus: {
|
|
7297
7307
|
fallbackChain: [
|
|
7298
|
-
{ providers: ["openai", "
|
|
7308
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6-astra", variant: "xhigh" },
|
|
7299
7309
|
{ providers: ["github-copilot"], model: "gpt-6-astra", variant: "high" },
|
|
7300
|
-
{ providers: ["openai", "
|
|
7310
|
+
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-6-astra", variant: "high" },
|
|
7301
7311
|
{
|
|
7302
7312
|
providers: ["anthropic", "github-copilot", "opencode"],
|
|
7303
|
-
model: "claude-opus-5",
|
|
7313
|
+
model: "claude-opus-5-5",
|
|
7304
7314
|
variant: "max"
|
|
7305
7315
|
},
|
|
7306
7316
|
{
|
|
@@ -7316,7 +7326,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7316
7326
|
{ providers: ["anthropic", "github-copilot", "opencode"], model: "claude-sonnet-5" },
|
|
7317
7327
|
{ providers: ["opencode-go"], model: "kimi-k3" },
|
|
7318
7328
|
{
|
|
7319
|
-
providers: ["openai", "
|
|
7329
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7320
7330
|
model: "gpt-5.6-sol",
|
|
7321
7331
|
variant: "medium"
|
|
7322
7332
|
},
|
|
@@ -7330,7 +7340,7 @@ var init_agent_model_requirements = __esm(() => {
|
|
|
7330
7340
|
{ providers: ["anthropic", "github-copilot", "opencode"], model: "claude-sonnet-5" },
|
|
7331
7341
|
{ providers: ["opencode-go"], model: "kimi-k3" },
|
|
7332
7342
|
{
|
|
7333
|
-
providers: ["openai", "
|
|
7343
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7334
7344
|
model: "gpt-5.6-sol",
|
|
7335
7345
|
variant: "medium"
|
|
7336
7346
|
},
|
|
@@ -7356,7 +7366,7 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7356
7366
|
},
|
|
7357
7367
|
{
|
|
7358
7368
|
providers: ["anthropic", "anthropic-api", "github-copilot", "opencode"],
|
|
7359
|
-
model: "claude-opus-5",
|
|
7369
|
+
model: "claude-opus-5-5",
|
|
7360
7370
|
variant: "max"
|
|
7361
7371
|
},
|
|
7362
7372
|
{
|
|
@@ -7368,18 +7378,23 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7368
7378
|
},
|
|
7369
7379
|
ultrabrain: {
|
|
7370
7380
|
fallbackChain: [
|
|
7371
|
-
{ providers: ["openai", "
|
|
7381
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6-astra", variant: "max" },
|
|
7372
7382
|
{ providers: ["github-copilot"], model: "gpt-6-astra", variant: "max" },
|
|
7373
|
-
{ providers: ["openai", "
|
|
7374
|
-
{ providers: ["openai", "
|
|
7383
|
+
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-6-astra", variant: "max" },
|
|
7384
|
+
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-5.6-sol", variant: "max" },
|
|
7375
7385
|
{ providers: ["github-copilot"], model: "gpt-5.6-sol", variant: "max" },
|
|
7376
|
-
{ providers: ["openai", "
|
|
7386
|
+
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-5.6-sol", variant: "max" }
|
|
7377
7387
|
]
|
|
7378
7388
|
},
|
|
7379
7389
|
"deep-low": {
|
|
7380
7390
|
fallbackChain: [
|
|
7381
7391
|
{
|
|
7382
|
-
providers: ["openai", "
|
|
7392
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7393
|
+
model: "gpt-6-sol",
|
|
7394
|
+
variant: "medium"
|
|
7395
|
+
},
|
|
7396
|
+
{
|
|
7397
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7383
7398
|
model: "gpt-5.6-sol",
|
|
7384
7399
|
variant: "medium"
|
|
7385
7400
|
}
|
|
@@ -7388,7 +7403,7 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7388
7403
|
"deep-high": {
|
|
7389
7404
|
fallbackChain: [
|
|
7390
7405
|
{
|
|
7391
|
-
providers: ["openai", "
|
|
7406
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7392
7407
|
model: "gpt-6-astra",
|
|
7393
7408
|
variant: "high"
|
|
7394
7409
|
}
|
|
@@ -7402,20 +7417,20 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7402
7417
|
variant: "max"
|
|
7403
7418
|
},
|
|
7404
7419
|
{
|
|
7405
|
-
providers: ["
|
|
7406
|
-
model: "
|
|
7420
|
+
providers: ["anthropic", "anthropic-api", "github-copilot", "opencode"],
|
|
7421
|
+
model: "claude-opus-5-5",
|
|
7407
7422
|
variant: "max"
|
|
7408
7423
|
},
|
|
7409
7424
|
{
|
|
7410
|
-
providers: ["
|
|
7411
|
-
model: "
|
|
7412
|
-
variant: "
|
|
7425
|
+
providers: ["kimi-for-coding", "moonshotai", "opencode-go", "opencode"],
|
|
7426
|
+
model: "kimi-k3",
|
|
7427
|
+
variant: "max"
|
|
7413
7428
|
}
|
|
7414
7429
|
]
|
|
7415
7430
|
},
|
|
7416
7431
|
quick: {
|
|
7417
7432
|
fallbackChain: [
|
|
7418
|
-
{ providers: ["
|
|
7433
|
+
{ providers: ["chatgpt-subscription"], model: "gpt-6-luna-fast", variant: "low" },
|
|
7419
7434
|
{ providers: ["deepseek"], model: "deepseek-v4-flash", variant: "off" },
|
|
7420
7435
|
{
|
|
7421
7436
|
providers: ["qwen-token-plan", "alibaba-token-plan", "bailian-coding-plan"],
|
|
@@ -7437,7 +7452,7 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7437
7452
|
{ providers: ["xiaomi", "opencode-go"], model: "mimo-v2.6-pro", variant: "max" },
|
|
7438
7453
|
{ providers: ["xai", "github-copilot", "opencode-go"], model: "grok-4.7", variant: "xhigh" },
|
|
7439
7454
|
{
|
|
7440
|
-
providers: ["openai", "
|
|
7455
|
+
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
7441
7456
|
model: "gpt-5.6-terra",
|
|
7442
7457
|
variant: "high"
|
|
7443
7458
|
},
|
|
@@ -7459,8 +7474,8 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7459
7474
|
fallbackChain: [
|
|
7460
7475
|
{
|
|
7461
7476
|
providers: ["anthropic", "anthropic-api", "github-copilot", "opencode"],
|
|
7462
|
-
model: "claude-opus-5",
|
|
7463
|
-
variant: "
|
|
7477
|
+
model: "claude-opus-5-5",
|
|
7478
|
+
variant: "max"
|
|
7464
7479
|
},
|
|
7465
7480
|
{ providers: ["zai-coding-plan", "opencode-go"], model: "glm-5.3", variant: "max" },
|
|
7466
7481
|
{
|
|
@@ -7478,14 +7493,14 @@ var init_category_model_requirements = __esm(() => {
|
|
|
7478
7493
|
variant: "low"
|
|
7479
7494
|
},
|
|
7480
7495
|
{
|
|
7481
|
-
providers: ["
|
|
7482
|
-
model: "
|
|
7496
|
+
providers: ["anthropic", "anthropic-api", "github-copilot", "opencode"],
|
|
7497
|
+
model: "claude-opus-5-5",
|
|
7483
7498
|
variant: "low"
|
|
7484
7499
|
},
|
|
7485
7500
|
{
|
|
7486
7501
|
providers: ["anthropic", "anthropic-api", "github-copilot", "opencode"],
|
|
7487
7502
|
model: "claude-opus-4-6",
|
|
7488
|
-
variant: "
|
|
7503
|
+
variant: "max"
|
|
7489
7504
|
}
|
|
7490
7505
|
]
|
|
7491
7506
|
}
|
|
@@ -7593,7 +7608,7 @@ var init_model_capability_aliases = __esm(() => {
|
|
|
7593
7608
|
description: "Normalizes OpenCode's OpenAI GPT fast service-tier IDs to canonical snapshot IDs.",
|
|
7594
7609
|
providerIDs: ["openai"],
|
|
7595
7610
|
allowedSubproviderHosts: ["vercel"],
|
|
7596
|
-
match: (normalizedModelID) => /^(?:gpt-5\.6-(?:sol|terra|luna)|gpt-6-astra)-fast$/.test(normalizedModelID),
|
|
7611
|
+
match: (normalizedModelID) => /^(?:gpt-5\.6-(?:sol|terra|luna)|gpt-6-(?:astra|sol|luna))-fast$/.test(normalizedModelID),
|
|
7597
7612
|
canonicalize: (normalizedModelID) => normalizedModelID.slice(0, -"-fast".length)
|
|
7598
7613
|
},
|
|
7599
7614
|
{
|
|
@@ -7734,13 +7749,21 @@ var init_model_capability_heuristics = __esm(() => {
|
|
|
7734
7749
|
supportsTemperature: false
|
|
7735
7750
|
},
|
|
7736
7751
|
{
|
|
7737
|
-
family: "gpt-6",
|
|
7738
|
-
|
|
7752
|
+
family: "gpt-6-astra",
|
|
7753
|
+
pattern: /gpt-6-astra/,
|
|
7739
7754
|
variants: ["low", "medium", "high", "xhigh", "max"],
|
|
7740
7755
|
reasoningEfforts: ["low", "medium", "high", "xhigh", "max"],
|
|
7741
7756
|
reasoningEffortAliases: { none: "low", minimal: "low" },
|
|
7742
7757
|
supportsTemperature: false
|
|
7743
7758
|
},
|
|
7759
|
+
{
|
|
7760
|
+
family: "gpt-6",
|
|
7761
|
+
includes: ["gpt-6"],
|
|
7762
|
+
variants: ["low", "medium", "high", "xhigh", "max"],
|
|
7763
|
+
reasoningEfforts: ["none", "low", "medium", "high", "xhigh", "max"],
|
|
7764
|
+
reasoningEffortAliases: { minimal: "low" },
|
|
7765
|
+
supportsTemperature: false
|
|
7766
|
+
},
|
|
7744
7767
|
{
|
|
7745
7768
|
family: "gpt-5",
|
|
7746
7769
|
includes: ["gpt-5"],
|
|
@@ -8137,6 +8160,38 @@ var init_supplemental_entries = __esm(() => {
|
|
|
8137
8160
|
output: 128000
|
|
8138
8161
|
}
|
|
8139
8162
|
},
|
|
8163
|
+
"gpt-6-sol": {
|
|
8164
|
+
id: "gpt-6-sol",
|
|
8165
|
+
family: "gpt",
|
|
8166
|
+
reasoning: true,
|
|
8167
|
+
temperature: false,
|
|
8168
|
+
toolCall: true,
|
|
8169
|
+
modalities: {
|
|
8170
|
+
input: ["text", "image"],
|
|
8171
|
+
output: ["text"]
|
|
8172
|
+
},
|
|
8173
|
+
limit: {
|
|
8174
|
+
context: 1050000,
|
|
8175
|
+
input: 922000,
|
|
8176
|
+
output: 128000
|
|
8177
|
+
}
|
|
8178
|
+
},
|
|
8179
|
+
"gpt-6-luna": {
|
|
8180
|
+
id: "gpt-6-luna",
|
|
8181
|
+
family: "gpt-nano",
|
|
8182
|
+
reasoning: true,
|
|
8183
|
+
temperature: false,
|
|
8184
|
+
toolCall: true,
|
|
8185
|
+
modalities: {
|
|
8186
|
+
input: ["text", "image"],
|
|
8187
|
+
output: ["text"]
|
|
8188
|
+
},
|
|
8189
|
+
limit: {
|
|
8190
|
+
context: 1050000,
|
|
8191
|
+
input: 922000,
|
|
8192
|
+
output: 128000
|
|
8193
|
+
}
|
|
8194
|
+
},
|
|
8140
8195
|
"gpt-5.6-sol": {
|
|
8141
8196
|
id: "gpt-5.6-sol",
|
|
8142
8197
|
family: "gpt",
|
|
@@ -8201,6 +8256,22 @@ var init_supplemental_entries = __esm(() => {
|
|
|
8201
8256
|
output: 128000
|
|
8202
8257
|
}
|
|
8203
8258
|
},
|
|
8259
|
+
"gpt-6-luna-fast": {
|
|
8260
|
+
id: "gpt-6-luna-fast",
|
|
8261
|
+
family: "gpt-nano",
|
|
8262
|
+
reasoning: true,
|
|
8263
|
+
temperature: false,
|
|
8264
|
+
toolCall: true,
|
|
8265
|
+
modalities: {
|
|
8266
|
+
input: ["text", "image"],
|
|
8267
|
+
output: ["text"]
|
|
8268
|
+
},
|
|
8269
|
+
limit: {
|
|
8270
|
+
context: 1050000,
|
|
8271
|
+
input: 922000,
|
|
8272
|
+
output: 128000
|
|
8273
|
+
}
|
|
8274
|
+
},
|
|
8204
8275
|
"gpt-5.6-luna-fast": {
|
|
8205
8276
|
id: "gpt-5.6-luna-fast",
|
|
8206
8277
|
family: "gpt-mini",
|
|
@@ -9323,9 +9394,10 @@ You are working on tasks that don't fit specific categories but require moderate
|
|
|
9323
9394
|
</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>
|
|
9324
9395
|
<Caller_Warning>Provide explicit must-do steps, forbidden scope, and concrete success criteria.</Caller_Warning>`, UNSPECIFIED_HIGH_CATEGORY_PROMPT_APPEND = `<Category_Context>
|
|
9325
9396
|
You are working on tasks that don't fit specific categories but require substantial effort.
|
|
9326
|
-
</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>`,
|
|
9397
|
+
</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;
|
|
9327
9398
|
var init_openai_categories = __esm(() => {
|
|
9328
9399
|
init_types();
|
|
9400
|
+
DEEP_LOW_GATE_MODELS = ["gpt-6-sol", "gpt-5.6-sol"];
|
|
9329
9401
|
OPENAI_CATEGORIES = [
|
|
9330
9402
|
{
|
|
9331
9403
|
name: "ultrabrain",
|
|
@@ -9336,12 +9408,12 @@ var init_openai_categories = __esm(() => {
|
|
|
9336
9408
|
},
|
|
9337
9409
|
{
|
|
9338
9410
|
name: "deep-low",
|
|
9339
|
-
config: { model: "openai/gpt-
|
|
9411
|
+
config: { model: "openai/gpt-6-sol", variant: "medium" },
|
|
9340
9412
|
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.",
|
|
9341
9413
|
callerGuidance: DEEP_LOW_CATEGORY_CALLER_GUIDANCE,
|
|
9342
9414
|
promptAppend: DEEP_LOW_CATEGORY_PROMPT_APPEND,
|
|
9343
9415
|
resolvePromptAppend: resolveDeepLowCategoryPromptAppend,
|
|
9344
|
-
requiresModel:
|
|
9416
|
+
requiresModel: DEEP_LOW_GATE_MODELS
|
|
9345
9417
|
},
|
|
9346
9418
|
{
|
|
9347
9419
|
name: "deep-high",
|
|
@@ -9354,7 +9426,7 @@ var init_openai_categories = __esm(() => {
|
|
|
9354
9426
|
},
|
|
9355
9427
|
{
|
|
9356
9428
|
name: "quick",
|
|
9357
|
-
config: { model: "openai/gpt-
|
|
9429
|
+
config: { model: "openai/gpt-6-luna-fast", variant: "low" },
|
|
9358
9430
|
description: "Trivial tasks - single file changes, typo fixes, simple modifications",
|
|
9359
9431
|
callerGuidance: QUICK_CATEGORY_CALLER_GUIDANCE,
|
|
9360
9432
|
promptAppend: QUICK_CATEGORY_PROMPT_APPEND
|
|
@@ -9368,7 +9440,7 @@ var init_openai_categories = __esm(() => {
|
|
|
9368
9440
|
},
|
|
9369
9441
|
{
|
|
9370
9442
|
name: "unspecified-high",
|
|
9371
|
-
config: { model: "anthropic/claude-opus-5", variant: "
|
|
9443
|
+
config: { model: "anthropic/claude-opus-5-5", variant: "max" },
|
|
9372
9444
|
description: "Tasks that don't fit other categories, high effort required",
|
|
9373
9445
|
callerGuidance: UNSPECIFIED_HIGH_CATEGORY_CALLER_GUIDANCE,
|
|
9374
9446
|
promptAppend: UNSPECIFIED_HIGH_CATEGORY_PROMPT_APPEND,
|
|
@@ -64329,6 +64401,216 @@ var init_model_capabilities_generated = __esm(() => {
|
|
|
64329
64401
|
context: 500000,
|
|
64330
64402
|
output: 500000
|
|
64331
64403
|
}
|
|
64404
|
+
},
|
|
64405
|
+
"claude-opus-5-5": {
|
|
64406
|
+
id: "claude-opus-5-5",
|
|
64407
|
+
family: "claude-opus",
|
|
64408
|
+
reasoning: true,
|
|
64409
|
+
temperature: false,
|
|
64410
|
+
toolCall: true,
|
|
64411
|
+
modalities: {
|
|
64412
|
+
input: [
|
|
64413
|
+
"text",
|
|
64414
|
+
"image",
|
|
64415
|
+
"pdf"
|
|
64416
|
+
],
|
|
64417
|
+
output: [
|
|
64418
|
+
"text"
|
|
64419
|
+
]
|
|
64420
|
+
},
|
|
64421
|
+
limit: {
|
|
64422
|
+
context: 1e6,
|
|
64423
|
+
output: 128000
|
|
64424
|
+
}
|
|
64425
|
+
},
|
|
64426
|
+
"claude-opus-5-5@default": {
|
|
64427
|
+
id: "claude-opus-5-5@default",
|
|
64428
|
+
family: "claude-opus",
|
|
64429
|
+
reasoning: true,
|
|
64430
|
+
temperature: false,
|
|
64431
|
+
toolCall: true,
|
|
64432
|
+
modalities: {
|
|
64433
|
+
input: [
|
|
64434
|
+
"text",
|
|
64435
|
+
"image",
|
|
64436
|
+
"pdf"
|
|
64437
|
+
],
|
|
64438
|
+
output: [
|
|
64439
|
+
"text"
|
|
64440
|
+
]
|
|
64441
|
+
},
|
|
64442
|
+
limit: {
|
|
64443
|
+
context: 1e6,
|
|
64444
|
+
output: 128000
|
|
64445
|
+
}
|
|
64446
|
+
},
|
|
64447
|
+
"anthropic/claude-opus-5.5": {
|
|
64448
|
+
id: "anthropic/claude-opus-5.5",
|
|
64449
|
+
family: "claude-opus",
|
|
64450
|
+
reasoning: true,
|
|
64451
|
+
temperature: true,
|
|
64452
|
+
toolCall: true,
|
|
64453
|
+
modalities: {
|
|
64454
|
+
input: [
|
|
64455
|
+
"text",
|
|
64456
|
+
"image",
|
|
64457
|
+
"pdf"
|
|
64458
|
+
],
|
|
64459
|
+
output: [
|
|
64460
|
+
"text"
|
|
64461
|
+
]
|
|
64462
|
+
},
|
|
64463
|
+
limit: {
|
|
64464
|
+
context: 1e6,
|
|
64465
|
+
output: 128000
|
|
64466
|
+
}
|
|
64467
|
+
},
|
|
64468
|
+
"au.anthropic.claude-opus-5-5": {
|
|
64469
|
+
id: "au.anthropic.claude-opus-5-5",
|
|
64470
|
+
family: "claude-opus",
|
|
64471
|
+
reasoning: true,
|
|
64472
|
+
temperature: false,
|
|
64473
|
+
toolCall: true,
|
|
64474
|
+
modalities: {
|
|
64475
|
+
input: [
|
|
64476
|
+
"text",
|
|
64477
|
+
"image",
|
|
64478
|
+
"pdf"
|
|
64479
|
+
],
|
|
64480
|
+
output: [
|
|
64481
|
+
"text"
|
|
64482
|
+
]
|
|
64483
|
+
},
|
|
64484
|
+
limit: {
|
|
64485
|
+
context: 1e6,
|
|
64486
|
+
output: 128000
|
|
64487
|
+
}
|
|
64488
|
+
},
|
|
64489
|
+
"anthropic.claude-opus-5-5": {
|
|
64490
|
+
id: "anthropic.claude-opus-5-5",
|
|
64491
|
+
family: "claude-opus",
|
|
64492
|
+
reasoning: true,
|
|
64493
|
+
temperature: false,
|
|
64494
|
+
toolCall: true,
|
|
64495
|
+
modalities: {
|
|
64496
|
+
input: [
|
|
64497
|
+
"text",
|
|
64498
|
+
"image",
|
|
64499
|
+
"pdf"
|
|
64500
|
+
],
|
|
64501
|
+
output: [
|
|
64502
|
+
"text"
|
|
64503
|
+
]
|
|
64504
|
+
},
|
|
64505
|
+
limit: {
|
|
64506
|
+
context: 1e6,
|
|
64507
|
+
output: 128000
|
|
64508
|
+
}
|
|
64509
|
+
},
|
|
64510
|
+
"eu.anthropic.claude-opus-5-5": {
|
|
64511
|
+
id: "eu.anthropic.claude-opus-5-5",
|
|
64512
|
+
family: "claude-opus",
|
|
64513
|
+
reasoning: true,
|
|
64514
|
+
temperature: false,
|
|
64515
|
+
toolCall: true,
|
|
64516
|
+
modalities: {
|
|
64517
|
+
input: [
|
|
64518
|
+
"text",
|
|
64519
|
+
"image",
|
|
64520
|
+
"pdf"
|
|
64521
|
+
],
|
|
64522
|
+
output: [
|
|
64523
|
+
"text"
|
|
64524
|
+
]
|
|
64525
|
+
},
|
|
64526
|
+
limit: {
|
|
64527
|
+
context: 1e6,
|
|
64528
|
+
output: 128000
|
|
64529
|
+
}
|
|
64530
|
+
},
|
|
64531
|
+
"global.anthropic.claude-opus-5-5": {
|
|
64532
|
+
id: "global.anthropic.claude-opus-5-5",
|
|
64533
|
+
family: "claude-opus",
|
|
64534
|
+
reasoning: true,
|
|
64535
|
+
temperature: false,
|
|
64536
|
+
toolCall: true,
|
|
64537
|
+
modalities: {
|
|
64538
|
+
input: [
|
|
64539
|
+
"text",
|
|
64540
|
+
"image",
|
|
64541
|
+
"pdf"
|
|
64542
|
+
],
|
|
64543
|
+
output: [
|
|
64544
|
+
"text"
|
|
64545
|
+
]
|
|
64546
|
+
},
|
|
64547
|
+
limit: {
|
|
64548
|
+
context: 1e6,
|
|
64549
|
+
output: 128000
|
|
64550
|
+
}
|
|
64551
|
+
},
|
|
64552
|
+
"jp.anthropic.claude-opus-5-5": {
|
|
64553
|
+
id: "jp.anthropic.claude-opus-5-5",
|
|
64554
|
+
family: "claude-opus",
|
|
64555
|
+
reasoning: true,
|
|
64556
|
+
temperature: false,
|
|
64557
|
+
toolCall: true,
|
|
64558
|
+
modalities: {
|
|
64559
|
+
input: [
|
|
64560
|
+
"text",
|
|
64561
|
+
"image",
|
|
64562
|
+
"pdf"
|
|
64563
|
+
],
|
|
64564
|
+
output: [
|
|
64565
|
+
"text"
|
|
64566
|
+
]
|
|
64567
|
+
},
|
|
64568
|
+
limit: {
|
|
64569
|
+
context: 1e6,
|
|
64570
|
+
output: 128000
|
|
64571
|
+
}
|
|
64572
|
+
},
|
|
64573
|
+
"us.anthropic.claude-opus-5-5": {
|
|
64574
|
+
id: "us.anthropic.claude-opus-5-5",
|
|
64575
|
+
family: "claude-opus",
|
|
64576
|
+
reasoning: true,
|
|
64577
|
+
temperature: false,
|
|
64578
|
+
toolCall: true,
|
|
64579
|
+
modalities: {
|
|
64580
|
+
input: [
|
|
64581
|
+
"text",
|
|
64582
|
+
"image",
|
|
64583
|
+
"pdf"
|
|
64584
|
+
],
|
|
64585
|
+
output: [
|
|
64586
|
+
"text"
|
|
64587
|
+
]
|
|
64588
|
+
},
|
|
64589
|
+
limit: {
|
|
64590
|
+
context: 1e6,
|
|
64591
|
+
output: 128000
|
|
64592
|
+
}
|
|
64593
|
+
},
|
|
64594
|
+
"anthropic/claude-opus-5-5": {
|
|
64595
|
+
id: "anthropic/claude-opus-5-5",
|
|
64596
|
+
family: "claude-opus",
|
|
64597
|
+
reasoning: true,
|
|
64598
|
+
temperature: false,
|
|
64599
|
+
toolCall: true,
|
|
64600
|
+
modalities: {
|
|
64601
|
+
input: [
|
|
64602
|
+
"text",
|
|
64603
|
+
"image",
|
|
64604
|
+
"pdf"
|
|
64605
|
+
],
|
|
64606
|
+
output: [
|
|
64607
|
+
"text"
|
|
64608
|
+
]
|
|
64609
|
+
},
|
|
64610
|
+
limit: {
|
|
64611
|
+
context: 1e6,
|
|
64612
|
+
output: 128000
|
|
64613
|
+
}
|
|
64332
64614
|
}
|
|
64333
64615
|
}
|
|
64334
64616
|
};
|
|
@@ -76845,12 +77127,12 @@ function applyOpenAiOnlyModelCatalog(config) {
|
|
|
76845
77127
|
var OPENAI_ONLY_AGENT_OVERRIDES, OPENAI_ONLY_CATEGORY_OVERRIDES;
|
|
76846
77128
|
var init_openai_only_model_catalog = __esm(() => {
|
|
76847
77129
|
OPENAI_ONLY_AGENT_OVERRIDES = {
|
|
76848
|
-
explore: { model: "openai/gpt-
|
|
76849
|
-
librarian: { model: "openai/gpt-
|
|
77130
|
+
explore: { model: "openai/gpt-6-luna-fast", variant: "low" },
|
|
77131
|
+
librarian: { model: "openai/gpt-6-luna-fast", variant: "low" }
|
|
76850
77132
|
};
|
|
76851
77133
|
OPENAI_ONLY_CATEGORY_OVERRIDES = {
|
|
76852
77134
|
artistry: { model: "openai/gpt-5.6-sol", variant: "xhigh" },
|
|
76853
|
-
quick: { model: "openai/gpt-
|
|
77135
|
+
quick: { model: "openai/gpt-6-luna-fast" },
|
|
76854
77136
|
"visual-engineering": { model: "openai/gpt-5.6-sol", variant: "high" },
|
|
76855
77137
|
writing: { model: "openai/gpt-5.6-sol", variant: "medium" }
|
|
76856
77138
|
};
|
|
@@ -77060,7 +77342,7 @@ function generateModelConfig(config) {
|
|
|
77060
77342
|
if (role === "explore") {
|
|
77061
77343
|
let agentConfig;
|
|
77062
77344
|
if (avail.native.openai) {
|
|
77063
|
-
agentConfig = { model: "openai/gpt-
|
|
77345
|
+
agentConfig = { model: "openai/gpt-6-luna-fast", variant: "low" };
|
|
77064
77346
|
} else if (avail.native.claude) {
|
|
77065
77347
|
agentConfig = { model: "anthropic/claude-haiku-4-5" };
|
|
77066
77348
|
} else if (avail.opencodeZen) {
|
|
@@ -77840,6 +78122,63 @@ var init_harness_native_rename = __esm(() => {
|
|
|
77840
78122
|
init_src4();
|
|
77841
78123
|
});
|
|
77842
78124
|
|
|
78125
|
+
// packages/omo-opencode/src/config-migration/subscription-provider-rename.ts
|
|
78126
|
+
function renameProviderId(providerId) {
|
|
78127
|
+
return LEGACY_PROVIDER_IDS[providerId];
|
|
78128
|
+
}
|
|
78129
|
+
function renameModelReference(modelReference) {
|
|
78130
|
+
const providerSeparator = modelReference.indexOf("/");
|
|
78131
|
+
if (providerSeparator <= 0)
|
|
78132
|
+
return;
|
|
78133
|
+
const canonicalProvider = renameProviderId(modelReference.slice(0, providerSeparator));
|
|
78134
|
+
if (canonicalProvider === undefined)
|
|
78135
|
+
return;
|
|
78136
|
+
const modelPartVerbatim = modelReference.slice(providerSeparator);
|
|
78137
|
+
return `${canonicalProvider}${modelPartVerbatim}`;
|
|
78138
|
+
}
|
|
78139
|
+
function rewriteValue(value, path, rewrites) {
|
|
78140
|
+
if (typeof value === "string") {
|
|
78141
|
+
const renamed = renameModelReference(value) ?? renameProviderId(value);
|
|
78142
|
+
if (renamed === undefined)
|
|
78143
|
+
return value;
|
|
78144
|
+
rewrites.push({ from: value, path, to: renamed });
|
|
78145
|
+
return renamed;
|
|
78146
|
+
}
|
|
78147
|
+
if (Array.isArray(value))
|
|
78148
|
+
return value.map((entry, index) => rewriteValue(entry, `${path}[${index}]`, rewrites));
|
|
78149
|
+
if (value !== null && typeof value === "object") {
|
|
78150
|
+
return Object.fromEntries(Object.entries(value).map(([key, entry]) => {
|
|
78151
|
+
const canonicalKey = renameModelReference(key) ?? renameProviderId(key);
|
|
78152
|
+
const nextKey = canonicalKey ?? key;
|
|
78153
|
+
if (canonicalKey !== undefined)
|
|
78154
|
+
rewrites.push({ from: key, path: `${path}.${key}`, to: canonicalKey });
|
|
78155
|
+
return [nextKey, rewriteValue(entry, `${path}.${nextKey}`, rewrites)];
|
|
78156
|
+
}));
|
|
78157
|
+
}
|
|
78158
|
+
return value;
|
|
78159
|
+
}
|
|
78160
|
+
function hasLegacySubscriptionProviderIds(document) {
|
|
78161
|
+
const rewrites = [];
|
|
78162
|
+
rewriteValue(document, "$", rewrites);
|
|
78163
|
+
return rewrites.length > 0;
|
|
78164
|
+
}
|
|
78165
|
+
function transformSubscriptionProviderRename(document) {
|
|
78166
|
+
const rewrites = [];
|
|
78167
|
+
const rewritten = rewriteValue(document, "$", rewrites);
|
|
78168
|
+
const next = rewritten !== null && typeof rewritten === "object" && !Array.isArray(rewritten) ? rewritten : {};
|
|
78169
|
+
return {
|
|
78170
|
+
diagnostics: rewrites.map((rewrite) => `${rewrite.path}: ${rewrite.from} renamed to ${rewrite.to}`),
|
|
78171
|
+
document: next
|
|
78172
|
+
};
|
|
78173
|
+
}
|
|
78174
|
+
var SUBSCRIPTION_PROVIDER_RENAME_MIGRATION_ID = "2026-09-subscription-provider-rename", LEGACY_PROVIDER_IDS;
|
|
78175
|
+
var init_subscription_provider_rename = __esm(() => {
|
|
78176
|
+
LEGACY_PROVIDER_IDS = Object.freeze({
|
|
78177
|
+
"claude-sdk-oauth": "anthropic-subscription",
|
|
78178
|
+
"openai-codex": "chatgpt-subscription"
|
|
78179
|
+
});
|
|
78180
|
+
});
|
|
78181
|
+
|
|
77843
78182
|
// packages/omo-opencode/src/config-migration/migration-plans.ts
|
|
77844
78183
|
function backupTimestamp(value) {
|
|
77845
78184
|
return value ?? new Date().toISOString().replace(/[:.]/g, "-");
|
|
@@ -77930,6 +78269,18 @@ function harnessNativeRenamePlan(targetPath) {
|
|
|
77930
78269
|
transform: inspect
|
|
77931
78270
|
};
|
|
77932
78271
|
}
|
|
78272
|
+
function subscriptionProviderRenamePlan(targetPath) {
|
|
78273
|
+
const inspect = (sources) => transformSubscriptionProviderRename(sources[0]?.value);
|
|
78274
|
+
return {
|
|
78275
|
+
id: SUBSCRIPTION_PROVIDER_RENAME_MIGRATION_ID,
|
|
78276
|
+
inspect,
|
|
78277
|
+
mode: "replace-target",
|
|
78278
|
+
shouldRun: hasLegacySubscriptionProviderIds,
|
|
78279
|
+
sources: [],
|
|
78280
|
+
targetPath,
|
|
78281
|
+
transform: inspect
|
|
78282
|
+
};
|
|
78283
|
+
}
|
|
77933
78284
|
function existingOmoConfigPath(directory, options) {
|
|
77934
78285
|
const fileSystem = discoveryFileSystem(options);
|
|
77935
78286
|
for (const fileName of ["omo.jsonc", "omo.json"]) {
|
|
@@ -77994,7 +78345,8 @@ function createLegacyConfigMigrationPlans(options) {
|
|
|
77994
78345
|
...legacyPlans,
|
|
77995
78346
|
...inPlaceTargets.map(reasoningPlan),
|
|
77996
78347
|
...inPlaceTargets.map(categoryDeepSplitPlan),
|
|
77997
|
-
...inPlaceTargets.map(harnessNativeRenamePlan)
|
|
78348
|
+
...inPlaceTargets.map(harnessNativeRenamePlan),
|
|
78349
|
+
...inPlaceTargets.map(subscriptionProviderRenamePlan)
|
|
77998
78350
|
];
|
|
77999
78351
|
}
|
|
78000
78352
|
var init_migration_plans = __esm(() => {
|
|
@@ -78006,6 +78358,7 @@ var init_migration_plans = __esm(() => {
|
|
|
78006
78358
|
init_reasoning_unification();
|
|
78007
78359
|
init_category_deep_split();
|
|
78008
78360
|
init_harness_native_rename();
|
|
78361
|
+
init_subscription_provider_rename();
|
|
78009
78362
|
init_src4();
|
|
78010
78363
|
});
|
|
78011
78364
|
|
|
@@ -88458,7 +88811,7 @@ var package_default2;
|
|
|
88458
88811
|
var init_package2 = __esm(() => {
|
|
88459
88812
|
package_default2 = {
|
|
88460
88813
|
name: "@oh-my-opencode/omo-codex",
|
|
88461
|
-
version: "5.0.0-beta.
|
|
88814
|
+
version: "5.0.0-beta.85",
|
|
88462
88815
|
type: "module",
|
|
88463
88816
|
private: true,
|
|
88464
88817
|
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
|