@duckmind/dm 0.53.1 → 0.53.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.
Files changed (2) hide show
  1. package/bin/dm.js +11 -0
  2. package/package.json +6 -6
package/bin/dm.js CHANGED
@@ -136,6 +136,12 @@ function resolveDuckMindModel(value) {
136
136
  }
137
137
  }
138
138
 
139
+ function printDuckMindModelError(requested) {
140
+ console.error("DuckMind provider supports only models: free, auto, lite, smart, deep, image2.");
141
+ console.error(`Model "${requested}" is outside the DuckMind catalog.`);
142
+ console.error("Use --provider openai-codex --model gpt-5.6-sol for Codex subscription models.");
143
+ }
144
+
139
145
  const args = process.argv.slice(2);
140
146
  function printUpgradeHelp() {
141
147
  console.log(`Usage:
@@ -215,6 +221,11 @@ for (let index = 0; index < args.length; index += 1) {
215
221
  }
216
222
  }
217
223
 
224
+ if (duckmindProvider && requestedModel && !resolveDuckMindModel(requestedModel)) {
225
+ printDuckMindModelError(requestedModel);
226
+ process.exit(2);
227
+ }
228
+
218
229
  if (duckmindProvider) {
219
230
  for (let index = 0; index < args.length; index += 1) {
220
231
  const value = args[index];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckmind/dm",
3
- "version": "0.53.1",
3
+ "version": "0.53.7",
4
4
  "description": "DuckMind (dm) terminal AI coworker",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -14,10 +14,10 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "optionalDependencies": {
17
- "@duckmind/dm-darwin-arm64": "0.53.1",
18
- "@duckmind/dm-darwin-x64": "0.53.1",
19
- "@duckmind/dm-linux-arm64": "0.53.1",
20
- "@duckmind/dm-linux-x64": "0.53.1",
21
- "@duckmind/dm-windows-x64": "0.53.1"
17
+ "@duckmind/dm-darwin-arm64": "0.53.7",
18
+ "@duckmind/dm-darwin-x64": "0.53.7",
19
+ "@duckmind/dm-linux-arm64": "0.53.7",
20
+ "@duckmind/dm-linux-x64": "0.53.7",
21
+ "@duckmind/dm-windows-x64": "0.53.7"
22
22
  }
23
23
  }