claude-use 0.2.5 → 0.2.6

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/cli.cjs +5 -2
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -221857,7 +221857,7 @@ var categories_default_default = {
221857
221857
  // package.json
221858
221858
  var package_default = {
221859
221859
  name: "claude-use",
221860
- version: "0.2.5",
221860
+ version: "0.2.6",
221861
221861
  description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
221862
221862
  license: "Apache-2.0",
221863
221863
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -240957,6 +240957,9 @@ var UnsupportedShimSourceError = class extends Error {
240957
240957
  function claudeTargetFilename(ownExecutablePath) {
240958
240958
  return ownExecutablePath.toLowerCase().endsWith(".exe") ? "claude.exe" : "claude";
240959
240959
  }
240960
+ function isInvokedAsClaude(invokedName) {
240961
+ return invokedName === "claude" || invokedName.toLowerCase() === "claude.exe";
240962
+ }
240960
240963
  function resolveOwnInstallDirs(paths, ownExecutablePath) {
240961
240964
  const dirs = [import_node_path17.default.dirname(ownExecutablePath)];
240962
240965
  const state = readJson(paths.claudeShimFile, ClaudeShimStateSchema);
@@ -241765,7 +241768,7 @@ function runClaude(argvOverride) {
241765
241768
  }
241766
241769
  function main() {
241767
241770
  const invokedName = import_node_path20.default.basename(process.argv[1] ?? "claude-use");
241768
- if (invokedName === "claude") {
241771
+ if (isInvokedAsClaude(invokedName)) {
241769
241772
  runClaude();
241770
241773
  } else {
241771
241774
  buildClaudeUseProgram().parse(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Joseph Mearman <joseph@mearman.co.uk>",