drizzy-agent 0.5.5 → 0.5.7

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 CHANGED
@@ -3423,8 +3423,8 @@ var init_agent_model_defaults = __esm(() => {
3423
3423
  },
3424
3424
  gptcoder: {
3425
3425
  chain: [
3426
- { providers: ["openai", "venice", "opencode"], model: "gpt-5.4", variant: "medium" },
3427
- { providers: ["github-copilot"], model: "gpt-5.4", variant: "medium" }
3426
+ { providers: ["openai", "venice", "opencode"], model: "gpt-5.3-codex", variant: "medium" },
3427
+ { providers: ["github-copilot"], model: "gpt-5.3-codex", variant: "medium" }
3428
3428
  ],
3429
3429
  includeInInstall: true,
3430
3430
  requiresAnyProvider: ["openai", "github-copilot", "venice", "opencode"]
@@ -3493,7 +3493,7 @@ var init_agent_model_defaults = __esm(() => {
3493
3493
  includeInInstall: true
3494
3494
  },
3495
3495
  "coder-junior": {
3496
- chain: [{ providers: CLAUDE_PROVIDERS, model: "claude-sonnet-4-6" }, { providers: OPENAI_PROVIDERS, model: "gpt-5.4", variant: "medium" }, { providers: GEMINI_PROVIDERS, model: "gemini-3-flash" }],
3496
+ chain: [{ providers: CLAUDE_PROVIDERS, model: "claude-sonnet-4-6" }, { providers: OPENAI_PROVIDERS, model: "gpt-5.3-codex", variant: "medium" }, { providers: GEMINI_PROVIDERS, model: "gemini-3-flash" }],
3497
3497
  includeInInstall: false
3498
3498
  }
3499
3499
  };
@@ -3553,14 +3553,14 @@ var init_agent_model_defaults = __esm(() => {
3553
3553
  chain: [
3554
3554
  { providers: CLAUDE_PROVIDERS, model: "claude-sonnet-4-6" },
3555
3555
  { providers: KIMI_K25_PROVIDERS, model: "kimi-k2.5" },
3556
- { providers: OPENAI_NATIVE_PROVIDERS, model: "gpt-5.4", variant: "medium" },
3556
+ { providers: OPENAI_NATIVE_PROVIDERS, model: "gpt-5.3-codex", variant: "medium" },
3557
3557
  { providers: GEMINI_PROVIDERS, model: "gemini-3-flash" },
3558
3558
  { providers: ["opencode"], model: "minimax-m2.5-free", alwaysAvailable: true }
3559
3559
  ],
3560
3560
  includeInInstall: true
3561
3561
  },
3562
3562
  "unspecified-high": {
3563
- chain: [{ providers: CLAUDE_PROVIDERS, model: "claude-opus-4-6", variant: "max" }, { providers: OPENAI_PROVIDERS, model: "gpt-5.4", variant: "high" }, { providers: ["zai-coding-plan", "opencode"], model: "glm-5" }, { providers: ["kimi-for-coding"], model: "k2p5" }, { providers: KIMI_K25_PROVIDERS, model: "kimi-k2.5" }],
3563
+ chain: [{ providers: CLAUDE_PROVIDERS, model: "claude-opus-4-6", variant: "max" }, { providers: OPENAI_PROVIDERS, model: "gpt-5.3-codex", variant: "high" }, { providers: ["zai-coding-plan", "opencode"], model: "glm-5" }, { providers: ["kimi-for-coding"], model: "k2p5" }, { providers: KIMI_K25_PROVIDERS, model: "kimi-k2.5" }],
3564
3564
  includeInInstall: true
3565
3565
  },
3566
3566
  writing: {
@@ -29254,7 +29254,7 @@ function createMcpOAuthCommand() {
29254
29254
  // package.json
29255
29255
  var package_default = {
29256
29256
  name: "drizzy-agent",
29257
- version: "0.5.5",
29257
+ version: "0.5.7",
29258
29258
  description: "DrizzyAgent - AI agent plugin for OpenCode",
29259
29259
  main: "dist/index.js",
29260
29260
  types: "dist/index.d.ts",
@@ -29330,17 +29330,17 @@ var package_default = {
29330
29330
  typescript: "^5.7.3"
29331
29331
  },
29332
29332
  optionalDependencies: {
29333
- "drizzy-agent-darwin-arm64": "0.5.5",
29334
- "drizzy-agent-darwin-x64": "0.5.5",
29335
- "drizzy-agent-darwin-x64-baseline": "0.5.5",
29336
- "drizzy-agent-linux-arm64": "0.5.5",
29337
- "drizzy-agent-linux-arm64-musl": "0.5.5",
29338
- "drizzy-agent-linux-x64": "0.5.5",
29339
- "drizzy-agent-linux-x64-baseline": "0.5.5",
29340
- "drizzy-agent-linux-x64-musl": "0.5.5",
29341
- "drizzy-agent-linux-x64-musl-baseline": "0.5.5",
29342
- "drizzy-agent-windows-x64": "0.5.5",
29343
- "drizzy-agent-windows-x64-baseline": "0.5.5"
29333
+ "drizzy-agent-darwin-arm64": "0.5.7",
29334
+ "drizzy-agent-darwin-x64": "0.5.7",
29335
+ "drizzy-agent-darwin-x64-baseline": "0.5.7",
29336
+ "drizzy-agent-linux-arm64": "0.5.7",
29337
+ "drizzy-agent-linux-arm64-musl": "0.5.7",
29338
+ "drizzy-agent-linux-x64": "0.5.7",
29339
+ "drizzy-agent-linux-x64-baseline": "0.5.7",
29340
+ "drizzy-agent-linux-x64-musl": "0.5.7",
29341
+ "drizzy-agent-linux-x64-musl-baseline": "0.5.7",
29342
+ "drizzy-agent-windows-x64": "0.5.7",
29343
+ "drizzy-agent-windows-x64-baseline": "0.5.7"
29344
29344
  },
29345
29345
  overrides: {
29346
29346
  "@opencode-ai/sdk": "^1.2.24"
@@ -1,4 +1 @@
1
- export declare function mapClaudeModelToOpenCode(model: string | undefined): {
2
- providerID: string;
3
- modelID: string;
4
- } | undefined;
1
+ export declare function mapClaudeModelToOpenCode(model: string | undefined): string | undefined;
@@ -1,10 +1,7 @@
1
1
  import type { AgentConfig } from "@opencode-ai/sdk";
2
2
  export type AgentScope = "user" | "project";
3
3
  export type ClaudeCodeAgentConfig = Omit<AgentConfig, "model"> & {
4
- model?: string | {
5
- providerID: string;
6
- modelID: string;
7
- };
4
+ model?: string;
8
5
  };
9
6
  export interface AgentFrontmatter {
10
7
  name?: string;
package/dist/index.js CHANGED
@@ -16691,8 +16691,8 @@ var AGENT_MODEL_DEFAULTS = {
16691
16691
  },
16692
16692
  gptcoder: {
16693
16693
  chain: [
16694
- { providers: ["openai", "venice", "opencode"], model: "gpt-5.4", variant: "medium" },
16695
- { providers: ["github-copilot"], model: "gpt-5.4", variant: "medium" }
16694
+ { providers: ["openai", "venice", "opencode"], model: "gpt-5.3-codex", variant: "medium" },
16695
+ { providers: ["github-copilot"], model: "gpt-5.3-codex", variant: "medium" }
16696
16696
  ],
16697
16697
  includeInInstall: true,
16698
16698
  requiresAnyProvider: ["openai", "github-copilot", "venice", "opencode"]
@@ -16761,7 +16761,7 @@ var AGENT_MODEL_DEFAULTS = {
16761
16761
  includeInInstall: true
16762
16762
  },
16763
16763
  "coder-junior": {
16764
- chain: [{ providers: CLAUDE_PROVIDERS, model: "claude-sonnet-4-6" }, { providers: OPENAI_PROVIDERS, model: "gpt-5.4", variant: "medium" }, { providers: GEMINI_PROVIDERS, model: "gemini-3-flash" }],
16764
+ chain: [{ providers: CLAUDE_PROVIDERS, model: "claude-sonnet-4-6" }, { providers: OPENAI_PROVIDERS, model: "gpt-5.3-codex", variant: "medium" }, { providers: GEMINI_PROVIDERS, model: "gemini-3-flash" }],
16765
16765
  includeInInstall: false
16766
16766
  }
16767
16767
  };
@@ -16821,14 +16821,14 @@ var CATEGORY_MODEL_DEFAULTS = {
16821
16821
  chain: [
16822
16822
  { providers: CLAUDE_PROVIDERS, model: "claude-sonnet-4-6" },
16823
16823
  { providers: KIMI_K25_PROVIDERS, model: "kimi-k2.5" },
16824
- { providers: OPENAI_NATIVE_PROVIDERS, model: "gpt-5.4", variant: "medium" },
16824
+ { providers: OPENAI_NATIVE_PROVIDERS, model: "gpt-5.3-codex", variant: "medium" },
16825
16825
  { providers: GEMINI_PROVIDERS, model: "gemini-3-flash" },
16826
16826
  { providers: ["opencode"], model: "minimax-m2.5-free", alwaysAvailable: true }
16827
16827
  ],
16828
16828
  includeInInstall: true
16829
16829
  },
16830
16830
  "unspecified-high": {
16831
- chain: [{ providers: CLAUDE_PROVIDERS, model: "claude-opus-4-6", variant: "max" }, { providers: OPENAI_PROVIDERS, model: "gpt-5.4", variant: "high" }, { providers: ["zai-coding-plan", "opencode"], model: "glm-5" }, { providers: ["kimi-for-coding"], model: "k2p5" }, { providers: KIMI_K25_PROVIDERS, model: "kimi-k2.5" }],
16831
+ chain: [{ providers: CLAUDE_PROVIDERS, model: "claude-opus-4-6", variant: "max" }, { providers: OPENAI_PROVIDERS, model: "gpt-5.3-codex", variant: "high" }, { providers: ["zai-coding-plan", "opencode"], model: "glm-5" }, { providers: ["kimi-for-coding"], model: "k2p5" }, { providers: KIMI_K25_PROVIDERS, model: "kimi-k2.5" }],
16832
16832
  includeInInstall: true
16833
16833
  },
16834
16834
  writing: {
@@ -19036,23 +19036,6 @@ import { existsSync as existsSync16, readdirSync as readdirSync5, readFileSync a
19036
19036
  import { basename as basename2, join as join20 } from "path";
19037
19037
  init_logger();
19038
19038
 
19039
- // src/shared/model-format-normalizer.ts
19040
- function normalizeModelFormat(model) {
19041
- if (!model) {
19042
- return;
19043
- }
19044
- if (typeof model === "object" && "providerID" in model && "modelID" in model) {
19045
- return { providerID: model.providerID, modelID: model.modelID };
19046
- }
19047
- if (typeof model === "string") {
19048
- const parts = model.split("/");
19049
- if (parts.length >= 2) {
19050
- return { providerID: parts[0], modelID: parts.slice(1).join("/") };
19051
- }
19052
- }
19053
- return;
19054
- }
19055
-
19056
19039
  // src/features/claude-code-agent-loader/claude-model-mapper.ts
19057
19040
  var ANTHROPIC_PREFIX = "anthropic/";
19058
19041
  var CLAUDE_CODE_ALIAS_MAP = new Map([
@@ -19080,8 +19063,7 @@ function mapClaudeModelString(model) {
19080
19063
  return;
19081
19064
  }
19082
19065
  function mapClaudeModelToOpenCode(model) {
19083
- const mappedModel = mapClaudeModelString(model);
19084
- return mappedModel ? normalizeModelFormat(mappedModel) : undefined;
19066
+ return mapClaudeModelString(model);
19085
19067
  }
19086
19068
 
19087
19069
  // src/features/claude-code-plugin-loader/agent-loader.ts
@@ -74390,6 +74372,23 @@ Available categories: ${categoryNames.join(", ")}`
74390
74372
  fallbackChain: configuredFallbackChain ?? requirement?.fallbackChain
74391
74373
  };
74392
74374
  }
74375
+ // src/shared/model-format-normalizer.ts
74376
+ function normalizeModelFormat(model) {
74377
+ if (!model) {
74378
+ return;
74379
+ }
74380
+ if (typeof model === "object" && "providerID" in model && "modelID" in model) {
74381
+ return { providerID: model.providerID, modelID: model.modelID };
74382
+ }
74383
+ if (typeof model === "string") {
74384
+ const parts = model.split("/");
74385
+ if (parts.length >= 2) {
74386
+ return { providerID: parts[0], modelID: parts.slice(1).join("/") };
74387
+ }
74388
+ }
74389
+ return;
74390
+ }
74391
+
74393
74392
  // src/tools/delegate-task/subagent-resolver.ts
74394
74393
  init_logger();
74395
74394
  async function resolveSubagentExecution(args, executorCtx, parentAgent, categoryExamples) {
@@ -44,7 +44,7 @@
44
44
  * | Agent | Unified Chain |
45
45
  * |-------|---------------|
46
46
  * | **coder** | claude-opus-4-6 → k2p5 → kimi-k2.5 → gpt-5.4 → glm-5 → big-pickle |
47
- * | **gptcoder** | gpt-5.4 (openai/venice/opencode) → gpt-5.4 (github-copilot) |
47
+ * | **gptcoder** | gpt-5.3-codex (openai/venice/opencode) → gpt-5.3-codex (github-copilot) |
48
48
  * | **planner** | claude-opus-4-6 → k2p5 → gpt-5.4 → gemini-3.1-pro |
49
49
  * | **oracle** | gpt-5.4 → kimi-k2.5 → gemini-3.1-pro → claude-opus-4-6 → big-pickle (free) |
50
50
  * | **librarian** | gemini-3-flash → glm-4.7 → claude-sonnet-4-5 → minimax → big-pickle → glm-4.7-free |
@@ -53,7 +53,7 @@
53
53
  * | **plan-consultant** | claude-opus-4-6 → k2p5 → gpt-5.4 → gemini-3.1-pro |
54
54
  * | **plan-reviewer** | gpt-5.4 → kimi-k2.5 → claude-opus-4-6 → gemini-3.1-pro → big-pickle (free) |
55
55
  * | **atlas** | k2p5 → claude-sonnet-4-6 → claude-sonnet-4-5 → gpt-5.4 → gemini-3.1-pro |
56
- * | **coder-junior** | claude-sonnet-4-6 → gpt-5.4 → gemini-3-flash (runtime only) |
56
+ * | **coder-junior** | claude-sonnet-4-6 → gpt-5.3-codex → gemini-3-flash (runtime only) |
57
57
  *
58
58
  * ## Category Model Chains
59
59
  *
@@ -64,8 +64,8 @@
64
64
  * | **deep** | gpt-5.4 → claude-opus-4-6 → gemini-3.1-pro → kimi-k2.5 → big-pickle (free) |
65
65
  * | **artistry** | gemini-3.1-pro → claude-opus-4-6 → gpt-5.4 → kimi-k2.5 → minimax-m2.5-free (free) |
66
66
  * | **quick** | claude-haiku-4-5 → gemini-3-flash → gpt-5.1-codex-mini → gpt-5-nano (free) |
67
- * | **unspecified-low** | claude-sonnet-4-6 → kimi-k2.5 → gpt-5.4 → gemini-3-flash → minimax-m2.5-free (free) |
68
- * | **unspecified-high** | claude-opus-4-6 → gpt-5.4 → glm-5 → k2p5 → kimi-k2.5 |
67
+ * | **unspecified-low** | claude-sonnet-4-6 → kimi-k2.5 → gpt-5.3-codex → gemini-3-flash → minimax-m2.5-free (free) |
68
+ * | **unspecified-high** | claude-opus-4-6 → gpt-5.3-codex → glm-5 → k2p5 → kimi-k2.5 |
69
69
  * | **writing** | gemini-3-flash → k2p5 → claude-sonnet-4-6 |
70
70
  *
71
71
  * ## Special Cases
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzy-agent",
3
- "version": "0.5.5",
3
+ "version": "0.5.7",
4
4
  "description": "DrizzyAgent - AI agent plugin for OpenCode",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -76,17 +76,17 @@
76
76
  "typescript": "^5.7.3"
77
77
  },
78
78
  "optionalDependencies": {
79
- "drizzy-agent-darwin-arm64": "0.5.5",
80
- "drizzy-agent-darwin-x64": "0.5.5",
81
- "drizzy-agent-darwin-x64-baseline": "0.5.5",
82
- "drizzy-agent-linux-arm64": "0.5.5",
83
- "drizzy-agent-linux-arm64-musl": "0.5.5",
84
- "drizzy-agent-linux-x64": "0.5.5",
85
- "drizzy-agent-linux-x64-baseline": "0.5.5",
86
- "drizzy-agent-linux-x64-musl": "0.5.5",
87
- "drizzy-agent-linux-x64-musl-baseline": "0.5.5",
88
- "drizzy-agent-windows-x64": "0.5.5",
89
- "drizzy-agent-windows-x64-baseline": "0.5.5"
79
+ "drizzy-agent-darwin-arm64": "0.5.7",
80
+ "drizzy-agent-darwin-x64": "0.5.7",
81
+ "drizzy-agent-darwin-x64-baseline": "0.5.7",
82
+ "drizzy-agent-linux-arm64": "0.5.7",
83
+ "drizzy-agent-linux-arm64-musl": "0.5.7",
84
+ "drizzy-agent-linux-x64": "0.5.7",
85
+ "drizzy-agent-linux-x64-baseline": "0.5.7",
86
+ "drizzy-agent-linux-x64-musl": "0.5.7",
87
+ "drizzy-agent-linux-x64-musl-baseline": "0.5.7",
88
+ "drizzy-agent-windows-x64": "0.5.7",
89
+ "drizzy-agent-windows-x64-baseline": "0.5.7"
90
90
  },
91
91
  "overrides": {
92
92
  "@opencode-ai/sdk": "^1.2.24"