claudish 7.7.1 → 7.7.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.
Files changed (2) hide show
  1. package/dist/index.js +15 -6
  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.7.1";
584
+ var VERSION = "7.7.2";
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, { auth });
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;
@@ -70242,10 +70245,16 @@ async function applyCustomEndpointOpKeys() {
70242
70245
  process.exit(1);
70243
70246
  }
70244
70247
  }
70245
- await applyOpEnvironment();
70246
- await applyOpImport();
70247
- await loadStoredApiKeys();
70248
- await applyCustomEndpointOpKeys();
70248
+ var earlyArgv = process.argv.slice(2);
70249
+ var hasExplicitOpFlag = earlyArgv.some((a) => a === "--op" || a === "--op-env" || a.startsWith("--op-env="));
70250
+ var earlyFirst = earlyArgv.find((a) => !a.startsWith("-"));
70251
+ var isNoSecretCommand = !hasExplicitOpFlag && (earlyArgv.includes("--help") || earlyArgv.includes("-h") || earlyArgv.includes("--help-ai") || earlyArgv.includes("--version") || earlyArgv.includes("-v") || earlyFirst === "help" || earlyFirst === "version");
70252
+ if (!isNoSecretCommand) {
70253
+ await applyOpEnvironment();
70254
+ await applyOpImport();
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") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudish",
3
- "version": "7.7.1",
3
+ "version": "7.7.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": "7.7.1",
64
- "@claudish/magmux-darwin-x64": "7.7.1",
65
- "@claudish/magmux-linux-arm64": "7.7.1",
66
- "@claudish/magmux-linux-x64": "7.7.1"
63
+ "@claudish/magmux-darwin-arm64": "7.7.2",
64
+ "@claudish/magmux-darwin-x64": "7.7.2",
65
+ "@claudish/magmux-linux-arm64": "7.7.2",
66
+ "@claudish/magmux-linux-x64": "7.7.2"
67
67
  },
68
68
  "author": "Jack Rudenko <i@madappgang.com>",
69
69
  "license": "MIT",