@reinamaccredy/oh-my-opencode 3.0.0-beta.12 → 3.0.0-beta.14

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
@@ -2253,7 +2253,7 @@ var require_picocolors = __commonJS((exports, module) => {
2253
2253
  var require_package = __commonJS((exports, module) => {
2254
2254
  module.exports = {
2255
2255
  name: "@reinamaccredy/oh-my-opencode",
2256
- version: "3.0.0-beta.12",
2256
+ version: "3.0.0-beta.13",
2257
2257
  description: "Fork of oh-my-opencode with Maestro workflow integration - Multi-Model Orchestration, Parallel Background Agents, Design Phases, and TDD Methodology",
2258
2258
  main: "dist/index.js",
2259
2259
  types: "dist/index.d.ts",
package/dist/index.js CHANGED
@@ -16966,6 +16966,14 @@ var AGENT_NAME_MAP = {
16966
16966
  var HOOK_NAME_MAP = {
16967
16967
  "anthropic-auto-compact": "anthropic-context-window-limit-recovery"
16968
16968
  };
16969
+ var GOOGLE_TO_PROXYPAL_MODEL_MAP = {
16970
+ "google/gemini-3-pro-preview": "proxypal/gemini-3-pro-preview",
16971
+ "google/gemini-3-flash-preview": "proxypal/gemini-3-flash-preview",
16972
+ "google/gemini-3-flash": "proxypal/gemini-3-flash-preview",
16973
+ "google/gemini-3-pro": "proxypal/gemini-3-pro-preview",
16974
+ "google/gemini-3-pro-high": "proxypal/gemini-3-pro-preview",
16975
+ "google/gemini-3-pro-low": "proxypal/gemini-3-pro-preview"
16976
+ };
16969
16977
  var MODEL_TO_CATEGORY_MAP = {
16970
16978
  "proxypal/gemini-3-pro-preview": "visual-engineering",
16971
16979
  "proxypal/gpt-5.2-codex": "ultrabrain",
@@ -16973,6 +16981,25 @@ var MODEL_TO_CATEGORY_MAP = {
16973
16981
  "proxypal/gemini-claude-opus-4-5-thinking": "most-capable",
16974
16982
  "proxypal/gemini-claude-sonnet-4-5-thinking": "general"
16975
16983
  };
16984
+ function migrateGoogleToProxypalModel(model) {
16985
+ const proxypalModel = GOOGLE_TO_PROXYPAL_MODEL_MAP[model];
16986
+ if (proxypalModel) {
16987
+ return { migrated: proxypalModel, changed: true };
16988
+ }
16989
+ return { migrated: model, changed: false };
16990
+ }
16991
+ function migrateModelsInConfig(config) {
16992
+ let changed = false;
16993
+ const migrated = { ...config };
16994
+ if (typeof migrated.model === "string") {
16995
+ const { migrated: newModel, changed: modelChanged } = migrateGoogleToProxypalModel(migrated.model);
16996
+ if (modelChanged) {
16997
+ migrated.model = newModel;
16998
+ changed = true;
16999
+ }
17000
+ }
17001
+ return { migrated, changed };
17002
+ }
16976
17003
  function migrateAgentNames(agents) {
16977
17004
  const migrated = {};
16978
17005
  let changed = false;
@@ -17035,6 +17062,26 @@ function migrateConfigFile(configPath, rawConfig) {
17035
17062
  needsWrite = true;
17036
17063
  }
17037
17064
  }
17065
+ if (rawConfig.agents && typeof rawConfig.agents === "object") {
17066
+ const agents = rawConfig.agents;
17067
+ for (const [name, config] of Object.entries(agents)) {
17068
+ const { migrated, changed } = migrateModelsInConfig(config);
17069
+ if (changed) {
17070
+ agents[name] = migrated;
17071
+ needsWrite = true;
17072
+ }
17073
+ }
17074
+ }
17075
+ if (rawConfig.categories && typeof rawConfig.categories === "object") {
17076
+ const categories = rawConfig.categories;
17077
+ for (const [name, config] of Object.entries(categories)) {
17078
+ const { migrated, changed } = migrateModelsInConfig(config);
17079
+ if (changed) {
17080
+ categories[name] = migrated;
17081
+ needsWrite = true;
17082
+ }
17083
+ }
17084
+ }
17038
17085
  if (rawConfig.agents && typeof rawConfig.agents === "object") {
17039
17086
  const agents = rawConfig.agents;
17040
17087
  for (const [name, config] of Object.entries(agents)) {
@@ -1,6 +1,15 @@
1
1
  export declare const AGENT_NAME_MAP: Record<string, string>;
2
2
  export declare const HOOK_NAME_MAP: Record<string, string>;
3
+ export declare const GOOGLE_TO_PROXYPAL_MODEL_MAP: Record<string, string>;
3
4
  export declare const MODEL_TO_CATEGORY_MAP: Record<string, string>;
5
+ export declare function migrateGoogleToProxypalModel(model: string): {
6
+ migrated: string;
7
+ changed: boolean;
8
+ };
9
+ export declare function migrateModelsInConfig(config: Record<string, unknown>): {
10
+ migrated: Record<string, unknown>;
11
+ changed: boolean;
12
+ };
4
13
  export declare function migrateAgentNames(agents: Record<string, unknown>): {
5
14
  migrated: Record<string, unknown>;
6
15
  changed: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reinamaccredy/oh-my-opencode",
3
- "version": "3.0.0-beta.12",
3
+ "version": "3.0.0-beta.14",
4
4
  "description": "Fork of oh-my-opencode with Maestro workflow integration - Multi-Model Orchestration, Parallel Background Agents, Design Phases, and TDD Methodology",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -68,6 +68,7 @@
68
68
  "@openauthjs/openauth": "^0.4.3",
69
69
  "@opencode-ai/plugin": "^1.1.1",
70
70
  "@opencode-ai/sdk": "^1.1.1",
71
+ "@reinamaccredy/oh-my-opencode": "^3.0.0-beta.13",
71
72
  "commander": "^14.0.2",
72
73
  "hono": "^4.10.4",
73
74
  "js-yaml": "^4.1.1",