claudish 7.7.1 → 7.7.3
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 +17 -7
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -581,7 +581,7 @@ var init_onepassword_config = __esm(() => {
|
|
|
581
581
|
});
|
|
582
582
|
|
|
583
583
|
// src/version.ts
|
|
584
|
-
var VERSION = "7.7.
|
|
584
|
+
var VERSION = "7.7.3";
|
|
585
585
|
|
|
586
586
|
// src/providers/onepassword-wasm.ts
|
|
587
587
|
var exports_onepassword_wasm = {};
|
|
@@ -70185,7 +70185,10 @@ async function loadStoredApiKeys() {
|
|
|
70185
70185
|
}
|
|
70186
70186
|
for (const globPath of globImports) {
|
|
70187
70187
|
try {
|
|
70188
|
-
const resolved = await resolveGlobImport2(globPath, {
|
|
70188
|
+
const resolved = await resolveGlobImport2(globPath, {
|
|
70189
|
+
auth,
|
|
70190
|
+
warn: () => {}
|
|
70191
|
+
});
|
|
70189
70192
|
for (const [envVar, value] of Object.entries(resolved)) {
|
|
70190
70193
|
if (!process.env[envVar]) {
|
|
70191
70194
|
process.env[envVar] = value;
|
|
@@ -70244,8 +70247,14 @@ async function applyCustomEndpointOpKeys() {
|
|
|
70244
70247
|
}
|
|
70245
70248
|
await applyOpEnvironment();
|
|
70246
70249
|
await applyOpImport();
|
|
70247
|
-
|
|
70248
|
-
|
|
70250
|
+
var opHydrated = false;
|
|
70251
|
+
async function hydrateOpSecrets() {
|
|
70252
|
+
if (opHydrated)
|
|
70253
|
+
return;
|
|
70254
|
+
opHydrated = true;
|
|
70255
|
+
await loadStoredApiKeys();
|
|
70256
|
+
await applyCustomEndpointOpKeys();
|
|
70257
|
+
}
|
|
70249
70258
|
var isMcpMode = process.argv.includes("--mcp");
|
|
70250
70259
|
function handlePromptExit(err) {
|
|
70251
70260
|
if (err && typeof err === "object" && "name" in err && err.name === "ExitPromptError") {
|
|
@@ -70272,13 +70281,13 @@ var isLegacyGeminiLogout = args.includes("--gemini-logout");
|
|
|
70272
70281
|
var isLegacyKimiLogin = args.includes("--kimi-login");
|
|
70273
70282
|
var isLegacyKimiLogout = args.includes("--kimi-logout");
|
|
70274
70283
|
if (isMcpMode) {
|
|
70275
|
-
Promise.resolve().then(() => (init_mcp_server(), exports_mcp_server)).then((mcp) => mcp.startMcpServer());
|
|
70284
|
+
hydrateOpSecrets().then(() => Promise.resolve().then(() => (init_mcp_server(), exports_mcp_server)).then((mcp) => mcp.startMcpServer()));
|
|
70276
70285
|
} else if (isServeCommand) {
|
|
70277
70286
|
const serveArgIndex = args.indexOf("serve");
|
|
70278
|
-
Promise.resolve().then(() => (init_serve_command(), exports_serve_command)).then((m) => m.serveCommand(args.slice(serveArgIndex + 1)).catch((e) => {
|
|
70287
|
+
hydrateOpSecrets().then(() => Promise.resolve().then(() => (init_serve_command(), exports_serve_command)).then((m) => m.serveCommand(args.slice(serveArgIndex + 1)).catch((e) => {
|
|
70279
70288
|
console.error(`[claudish serve] ${e instanceof Error ? e.message : String(e)}`);
|
|
70280
70289
|
process.exit(1);
|
|
70281
|
-
}));
|
|
70290
|
+
})));
|
|
70282
70291
|
} else if (isProvidersCommand) {
|
|
70283
70292
|
const json2 = args.includes("--json");
|
|
70284
70293
|
Promise.resolve().then(() => (init_providers_command(), exports_providers_command)).then((m) => m.providersCommand({ json: json2 }).catch((e) => {
|
|
@@ -70328,6 +70337,7 @@ if (isMcpMode) {
|
|
|
70328
70337
|
runCli();
|
|
70329
70338
|
}
|
|
70330
70339
|
async function runCli() {
|
|
70340
|
+
await hydrateOpSecrets();
|
|
70331
70341
|
const { checkClaudeInstalled: checkClaudeInstalled2, runClaudeWithProxy: runClaudeWithProxy2 } = await Promise.resolve().then(() => (init_claude_runner(), exports_claude_runner));
|
|
70332
70342
|
const { parseArgs: parseArgs2, getVersion: getVersion4 } = await Promise.resolve().then(() => (init_cli(), exports_cli));
|
|
70333
70343
|
const { DEFAULT_PORT_RANGE: DEFAULT_PORT_RANGE2 } = await Promise.resolve().then(() => (init_config(), exports_config));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claudish",
|
|
3
|
-
"version": "7.7.
|
|
3
|
+
"version": "7.7.3",
|
|
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": "7.7.
|
|
64
|
-
"@claudish/magmux-darwin-x64": "7.7.
|
|
65
|
-
"@claudish/magmux-linux-arm64": "7.7.
|
|
66
|
-
"@claudish/magmux-linux-x64": "7.7.
|
|
63
|
+
"@claudish/magmux-darwin-arm64": "7.7.3",
|
|
64
|
+
"@claudish/magmux-darwin-x64": "7.7.3",
|
|
65
|
+
"@claudish/magmux-linux-arm64": "7.7.3",
|
|
66
|
+
"@claudish/magmux-linux-x64": "7.7.3"
|
|
67
67
|
},
|
|
68
68
|
"author": "Jack Rudenko <i@madappgang.com>",
|
|
69
69
|
"license": "MIT",
|