claudish 10.6.0 → 10.6.1
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/index.js +18 -3
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -889,7 +889,7 @@ var init_onepassword_config = __esm(() => {
|
|
|
889
889
|
});
|
|
890
890
|
|
|
891
891
|
// src/version.ts
|
|
892
|
-
var VERSION = "10.6.
|
|
892
|
+
var VERSION = "10.6.1";
|
|
893
893
|
|
|
894
894
|
// src/logger.ts
|
|
895
895
|
import { appendFile, existsSync as existsSync2, mkdirSync, readdirSync, unlinkSync, writeFileSync as writeFileSync2 } from "fs";
|
|
@@ -72244,7 +72244,22 @@ ${DIM}Updating...${RESET}
|
|
|
72244
72244
|
}
|
|
72245
72245
|
return { status: "failed", method: installInfo.method };
|
|
72246
72246
|
}
|
|
72247
|
-
|
|
72247
|
+
function printUpdateHelp() {
|
|
72248
|
+
console.log(`Usage: claudish update
|
|
72249
|
+
|
|
72250
|
+
Checks the npm registry for the latest claudish release and, when it is newer
|
|
72251
|
+
than this one, installs it with the package manager that installed this copy
|
|
72252
|
+
(bun, npm or Homebrew), then shows what changed.
|
|
72253
|
+
|
|
72254
|
+
Options:
|
|
72255
|
+
-h, --help Show this help and exit without checking or installing
|
|
72256
|
+
`);
|
|
72257
|
+
}
|
|
72258
|
+
async function updateCommand(args = []) {
|
|
72259
|
+
if (args.includes("--help") || args.includes("-h")) {
|
|
72260
|
+
printUpdateHelp();
|
|
72261
|
+
return;
|
|
72262
|
+
}
|
|
72248
72263
|
refreshAnsi2();
|
|
72249
72264
|
const currentVersion = getVersion3();
|
|
72250
72265
|
const installInfo = detectInstallationMethod();
|
|
@@ -83710,7 +83725,7 @@ if (isMcpMode) {
|
|
|
83710
83725
|
const quotaProviderArg = args.find((a, i) => i > args.indexOf(firstPositional) && !a.startsWith("-"));
|
|
83711
83726
|
Promise.resolve().then(() => (init_quota_command(), {})).then((m) => quotaCommand(quotaProviderArg));
|
|
83712
83727
|
} else if (isUpdateCommand) {
|
|
83713
|
-
Promise.resolve().then(() => (init_update_command(), {})).then((m) => updateCommand());
|
|
83728
|
+
Promise.resolve().then(() => (init_update_command(), {})).then((m) => updateCommand(args));
|
|
83714
83729
|
} else if (isInitCommand) {
|
|
83715
83730
|
const scopeFlag = args.includes("--local") ? "local" : args.includes("--global") ? "global" : undefined;
|
|
83716
83731
|
Promise.resolve().then(() => (init_profile_commands(), {})).then((pc) => initCommand(scopeFlag).catch(handlePromptExit));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claudish",
|
|
3
|
-
"version": "10.6.
|
|
3
|
+
"version": "10.6.1",
|
|
4
4
|
"description": "Run Claude Code with any model - OpenRouter, Ollama, LM Studio & local models",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"ai"
|
|
61
61
|
],
|
|
62
62
|
"optionalDependencies": {
|
|
63
|
-
"@claudish/magmux-darwin-arm64": "10.6.
|
|
64
|
-
"@claudish/magmux-darwin-x64": "10.6.
|
|
65
|
-
"@claudish/magmux-linux-arm64": "10.6.
|
|
66
|
-
"@claudish/magmux-linux-x64": "10.6.
|
|
63
|
+
"@claudish/magmux-darwin-arm64": "10.6.1",
|
|
64
|
+
"@claudish/magmux-darwin-x64": "10.6.1",
|
|
65
|
+
"@claudish/magmux-linux-arm64": "10.6.1",
|
|
66
|
+
"@claudish/magmux-linux-x64": "10.6.1"
|
|
67
67
|
},
|
|
68
68
|
"author": "Jack Rudenko <i@madappgang.com>",
|
|
69
69
|
"license": "MIT",
|