oh-my-opencode-cohub 1.12.7 → 1.12.8
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 +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAyHlD,QAAA,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAyHlD,QAAA,MAAM,WAAW,EAAE,MAghBlB,CAAC;AAEF,eAAO,MAAM,MAAM,QAAc,CAAC;AAClC,eAAe,WAAW,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1838,9 +1838,9 @@ var CoHubPlugin = async (input, options) => {
|
|
|
1838
1838
|
const existing = c.agent[name];
|
|
1839
1839
|
const pc = pluginConfig;
|
|
1840
1840
|
const merged = existing ? { ...pc, ...existing } : { ...pc };
|
|
1841
|
-
if (
|
|
1841
|
+
if (pc.model)
|
|
1842
1842
|
merged.model = pc.model;
|
|
1843
|
-
if (
|
|
1843
|
+
if (pc.variant)
|
|
1844
1844
|
merged.variant = pc.variant;
|
|
1845
1845
|
c.agent[name] = merged;
|
|
1846
1846
|
}
|