claudish 7.14.0 → 7.15.0
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 +23 -2
- 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.
|
|
584
|
+
var VERSION = "7.15.0";
|
|
585
585
|
|
|
586
586
|
// src/logger.ts
|
|
587
587
|
var exports_logger = {};
|
|
@@ -27508,6 +27508,9 @@ function loadConfig() {
|
|
|
27508
27508
|
if (config2.defaultProvider !== undefined) {
|
|
27509
27509
|
merged.defaultProvider = config2.defaultProvider;
|
|
27510
27510
|
}
|
|
27511
|
+
if (config2.debug !== undefined) {
|
|
27512
|
+
merged.debug = config2.debug;
|
|
27513
|
+
}
|
|
27511
27514
|
if (config2.customEndpoints !== undefined) {
|
|
27512
27515
|
merged.customEndpoints = config2.customEndpoints;
|
|
27513
27516
|
}
|
|
@@ -58600,7 +58603,8 @@ var init_config = __esm(() => {
|
|
|
58600
58603
|
OPENAI_API_KEY: "OPENAI_API_KEY",
|
|
58601
58604
|
OPENAI_BASE_URL: "OPENAI_BASE_URL",
|
|
58602
58605
|
CLAUDISH_SUMMARIZE_TOOLS: "CLAUDISH_SUMMARIZE_TOOLS",
|
|
58603
|
-
CLAUDISH_DIAG_MODE: "CLAUDISH_DIAG_MODE"
|
|
58606
|
+
CLAUDISH_DIAG_MODE: "CLAUDISH_DIAG_MODE",
|
|
58607
|
+
CLAUDISH_DEBUG: "CLAUDISH_DEBUG"
|
|
58604
58608
|
};
|
|
58605
58609
|
OPENROUTER_HEADERS = {
|
|
58606
58610
|
"HTTP-Referer": "https://claudish.com",
|
|
@@ -62416,11 +62420,23 @@ async function parseArgs(args) {
|
|
|
62416
62420
|
if (fileConfig.diagMode && ["auto", "logfile", "off"].includes(fileConfig.diagMode)) {
|
|
62417
62421
|
config3.diagMode = fileConfig.diagMode;
|
|
62418
62422
|
}
|
|
62423
|
+
if (fileConfig.debug === true) {
|
|
62424
|
+
config3.debug = true;
|
|
62425
|
+
}
|
|
62419
62426
|
} catch {}
|
|
62420
62427
|
const envDiagMode = process.env[ENV.CLAUDISH_DIAG_MODE]?.toLowerCase();
|
|
62421
62428
|
if (envDiagMode && ["auto", "logfile", "off"].includes(envDiagMode)) {
|
|
62422
62429
|
config3.diagMode = envDiagMode;
|
|
62423
62430
|
}
|
|
62431
|
+
const envDebug = process.env[ENV.CLAUDISH_DEBUG]?.toLowerCase();
|
|
62432
|
+
if (envDebug === "1" || envDebug === "true") {
|
|
62433
|
+
config3.debug = true;
|
|
62434
|
+
} else if (envDebug === "0" || envDebug === "false") {
|
|
62435
|
+
config3.debug = false;
|
|
62436
|
+
}
|
|
62437
|
+
if (config3.debug && config3.logLevel === "info") {
|
|
62438
|
+
config3.logLevel = "debug";
|
|
62439
|
+
}
|
|
62424
62440
|
let i = 0;
|
|
62425
62441
|
while (i < args.length) {
|
|
62426
62442
|
const arg = args[i];
|
|
@@ -62473,6 +62489,8 @@ async function parseArgs(args) {
|
|
|
62473
62489
|
if (config3.logLevel === "info") {
|
|
62474
62490
|
config3.logLevel = "debug";
|
|
62475
62491
|
}
|
|
62492
|
+
} else if (arg === "--no-debug-claudish") {
|
|
62493
|
+
config3.debug = false;
|
|
62476
62494
|
} else if (arg === "--log-debug") {
|
|
62477
62495
|
console.error("--log-debug was renamed to --debug-claudish (it enables claudish's own debug log, not Claude Code's --debug).");
|
|
62478
62496
|
process.exit(1);
|
|
@@ -63578,6 +63596,8 @@ ${h("OPTIONS")}
|
|
|
63578
63596
|
${green("--op-env")} ${yellow("<id>")} Load env vars from a 1Password Environment (highest priority)
|
|
63579
63597
|
${green("--port")} ${yellow("<port>")} Proxy server port (default: random)
|
|
63580
63598
|
${green("-d, --debug-claudish")} Enable claudish debug logging to file (logs/claudish_*.log)
|
|
63599
|
+
${dim('Always-on: CLAUDISH_DEBUG=1 env var or "debug": true in config.json')}
|
|
63600
|
+
${green("--no-debug-claudish")} Force debug logging off for this run (when globally enabled)
|
|
63581
63601
|
${green("--log-off")} Disable always-on structural logging (~/.claudish/logs/)
|
|
63582
63602
|
${green("--log-diag")} ${yellow("<mode>")} Diagnostic output: auto (default), logfile, off
|
|
63583
63603
|
${dim('Also: CLAUDISH_DIAG_MODE env var or "diagMode" in config.json')}
|
|
@@ -63741,6 +63761,7 @@ ${h("ENVIRONMENT VARIABLES")}
|
|
|
63741
63761
|
${blue("CLAUDISH_PORT")} Default proxy port
|
|
63742
63762
|
${blue("CLAUDISH_CONTEXT_WINDOW")} Override context window size
|
|
63743
63763
|
${blue("CLAUDISH_DIAG_MODE")} Diagnostic output: auto / logfile / off
|
|
63764
|
+
${blue("CLAUDISH_DEBUG")} Always enable debug logging: 1 / true ${dim("(same as -d)")}
|
|
63744
63765
|
${blue("CLAUDISH_MCP_TOOLS")} MCP tool gating: all / low-level / agentic / channel
|
|
63745
63766
|
${blue("CLAUDISH_MODEL_OPUS")} Override model for Opus role
|
|
63746
63767
|
${blue("CLAUDISH_MODEL_SONNET")} Override model for Sonnet role
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claudish",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.15.0",
|
|
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.
|
|
64
|
-
"@claudish/magmux-darwin-x64": "7.
|
|
65
|
-
"@claudish/magmux-linux-arm64": "7.
|
|
66
|
-
"@claudish/magmux-linux-x64": "7.
|
|
63
|
+
"@claudish/magmux-darwin-arm64": "7.15.0",
|
|
64
|
+
"@claudish/magmux-darwin-x64": "7.15.0",
|
|
65
|
+
"@claudish/magmux-linux-arm64": "7.15.0",
|
|
66
|
+
"@claudish/magmux-linux-x64": "7.15.0"
|
|
67
67
|
},
|
|
68
68
|
"author": "Jack Rudenko <i@madappgang.com>",
|
|
69
69
|
"license": "MIT",
|