claudish 12.2.1 → 12.2.2
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 +7 -3
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -901,7 +901,7 @@ var init_onepassword_config = __esm(() => {
|
|
|
901
901
|
});
|
|
902
902
|
|
|
903
903
|
// src/version.ts
|
|
904
|
-
var VERSION = "12.2.
|
|
904
|
+
var VERSION = "12.2.2";
|
|
905
905
|
|
|
906
906
|
// src/logger.ts
|
|
907
907
|
import { appendFile, existsSync as existsSync2, mkdirSync, readdirSync, unlinkSync, writeFileSync as writeFileSync2 } from "fs";
|
|
@@ -30248,6 +30248,9 @@ function decideLaunchRole(facts) {
|
|
|
30248
30248
|
return "never";
|
|
30249
30249
|
return "interactive-launch";
|
|
30250
30250
|
}
|
|
30251
|
+
function decideTuiRole(env = process.env) {
|
|
30252
|
+
return inMcpSession(env) ? "never" : "tui";
|
|
30253
|
+
}
|
|
30251
30254
|
var role = "never", fixed = false;
|
|
30252
30255
|
var init_prompt_role = __esm(() => {
|
|
30253
30256
|
init_child_env();
|
|
@@ -30919,7 +30922,8 @@ function displayPath2(path) {
|
|
|
30919
30922
|
return path.startsWith(`${home}/`) ? `~${path.slice(home.length)}` : path;
|
|
30920
30923
|
}
|
|
30921
30924
|
function describeMuseSigningSource(opts = {}) {
|
|
30922
|
-
|
|
30925
|
+
const signedAndLive = opts.signedWith !== undefined && opts.failure === undefined;
|
|
30926
|
+
if (opts.probed && lastRejection && !signedAndLive) {
|
|
30923
30927
|
return { present: false, label: "Muse Code login rejected", detail: lastRejection };
|
|
30924
30928
|
}
|
|
30925
30929
|
if (opts.signedWith) {
|
|
@@ -83243,7 +83247,7 @@ import { createCliRenderer as createCliRenderer3 } from "@opentui/core";
|
|
|
83243
83247
|
import { createRoot as createRoot3 } from "@opentui/react";
|
|
83244
83248
|
import { jsx as jsx28 } from "@opentui/react/jsx-runtime";
|
|
83245
83249
|
async function startConfigTui() {
|
|
83246
|
-
setCredentialPromptRole(
|
|
83250
|
+
setCredentialPromptRole(decideTuiRole());
|
|
83247
83251
|
ensureEndpointsRegistered();
|
|
83248
83252
|
setStderrQuiet(true);
|
|
83249
83253
|
const loginRequest = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claudish",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.2",
|
|
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": "12.2.
|
|
64
|
-
"@claudish/magmux-darwin-x64": "12.2.
|
|
65
|
-
"@claudish/magmux-linux-arm64": "12.2.
|
|
66
|
-
"@claudish/magmux-linux-x64": "12.2.
|
|
63
|
+
"@claudish/magmux-darwin-arm64": "12.2.2",
|
|
64
|
+
"@claudish/magmux-darwin-x64": "12.2.2",
|
|
65
|
+
"@claudish/magmux-linux-arm64": "12.2.2",
|
|
66
|
+
"@claudish/magmux-linux-x64": "12.2.2"
|
|
67
67
|
},
|
|
68
68
|
"author": "Jack Rudenko <i@madappgang.com>",
|
|
69
69
|
"license": "MIT",
|