claude-use 11.49.1 → 11.49.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/cli.cjs CHANGED
@@ -35927,7 +35927,7 @@ var init_package = __esm({
35927
35927
  "package.json"() {
35928
35928
  package_default = {
35929
35929
  name: "claude-use",
35930
- version: "11.49.1",
35930
+ version: "11.49.2",
35931
35931
  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.",
35932
35932
  license: "MIT",
35933
35933
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -64666,16 +64666,22 @@ function channelRefusalMessage(channel) {
64666
64666
  function underBrewPrefix(executableRealPath) {
64667
64667
  return BREW_PREFIXES.some((prefix) => executableRealPath === prefix || executableRealPath.startsWith(`${prefix}/`));
64668
64668
  }
64669
+ function inHomebrewKeg(executableRealPath) {
64670
+ return underBrewPrefix(executableRealPath) && executableRealPath.split(/[\\/]/).includes("Cellar");
64671
+ }
64669
64672
  function detectChannel(env) {
64670
64673
  if (env.platform === "win32") {
64671
64674
  return { kind: "scoop" };
64672
64675
  }
64673
- if (underBrewPrefix(env.executableRealPath)) {
64676
+ if (inHomebrewKeg(env.executableRealPath)) {
64674
64677
  return { kind: "brew" };
64675
64678
  }
64676
64679
  if (env.executableRealPath.split(/[\\/]/).includes("node_modules")) {
64677
64680
  return { kind: "npm", reason: "node_modules" };
64678
64681
  }
64682
+ if (underBrewPrefix(env.executableRealPath)) {
64683
+ return { kind: "brew" };
64684
+ }
64679
64685
  if ((env.fileHead ?? "").startsWith("#!")) {
64680
64686
  return { kind: "npm", reason: "script" };
64681
64687
  }
package/dist/index.cjs CHANGED
@@ -4191,7 +4191,7 @@ var init_package = __esm({
4191
4191
  "package.json"() {
4192
4192
  package_default = {
4193
4193
  name: "claude-use",
4194
- version: "11.49.1",
4194
+ version: "11.49.2",
4195
4195
  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.",
4196
4196
  license: "MIT",
4197
4197
  author: "Joseph Mearman <joseph@mearman.co.uk>",
package/dist/index.mjs CHANGED
@@ -4167,7 +4167,7 @@ var init_package = __esm({
4167
4167
  "package.json"() {
4168
4168
  package_default = {
4169
4169
  name: "claude-use",
4170
- version: "11.49.1",
4170
+ version: "11.49.2",
4171
4171
  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.",
4172
4172
  license: "MIT",
4173
4173
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -6322,7 +6322,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
6322
6322
  kind: zod.ZodLiteral<"profile">;
6323
6323
  name: zod.ZodString;
6324
6324
  value: zod.ZodObject<{
6325
- description: zod.ZodOptional<zod.ZodString>;
6326
6325
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
6327
6326
  value: zod.ZodBoolean;
6328
6327
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -6398,6 +6397,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
6398
6397
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
6399
6398
  }, zod_v4_core.$strip>], "kind">]>;
6400
6399
  }, zod_v4_core.$strict>]>>>;
6400
+ description: zod.ZodOptional<zod.ZodString>;
6401
6401
  models: zod.ZodOptional<zod.ZodObject<{
6402
6402
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
6403
6403
  mode: zod.ZodEnum<{
@@ -6495,7 +6495,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
6495
6495
  kind: zod.ZodLiteral<"profile">;
6496
6496
  name: zod.ZodString;
6497
6497
  value: zod.ZodObject<{
6498
- description: zod.ZodOptional<zod.ZodString>;
6499
6498
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
6500
6499
  value: zod.ZodBoolean;
6501
6500
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -6571,6 +6570,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
6571
6570
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
6572
6571
  }, zod_v4_core.$strip>], "kind">]>;
6573
6572
  }, zod_v4_core.$strict>]>>>;
6573
+ description: zod.ZodOptional<zod.ZodString>;
6574
6574
  models: zod.ZodOptional<zod.ZodObject<{
6575
6575
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
6576
6576
  mode: zod.ZodEnum<{
@@ -9556,7 +9556,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9556
9556
  kind: zod.ZodLiteral<"profile">;
9557
9557
  name: zod.ZodString;
9558
9558
  value: zod.ZodObject<{
9559
- description: zod.ZodOptional<zod.ZodString>;
9560
9559
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
9561
9560
  value: zod.ZodBoolean;
9562
9561
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -9632,6 +9631,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9632
9631
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
9633
9632
  }, zod_v4_core.$strip>], "kind">]>;
9634
9633
  }, zod_v4_core.$strict>]>>>;
9634
+ description: zod.ZodOptional<zod.ZodString>;
9635
9635
  models: zod.ZodOptional<zod.ZodObject<{
9636
9636
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
9637
9637
  mode: zod.ZodEnum<{
@@ -9729,7 +9729,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9729
9729
  kind: zod.ZodLiteral<"profile">;
9730
9730
  name: zod.ZodString;
9731
9731
  value: zod.ZodObject<{
9732
- description: zod.ZodOptional<zod.ZodString>;
9733
9732
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
9734
9733
  value: zod.ZodBoolean;
9735
9734
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -9805,6 +9804,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9805
9804
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
9806
9805
  }, zod_v4_core.$strip>], "kind">]>;
9807
9806
  }, zod_v4_core.$strict>]>>>;
9807
+ description: zod.ZodOptional<zod.ZodString>;
9808
9808
  models: zod.ZodOptional<zod.ZodObject<{
9809
9809
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
9810
9810
  mode: zod.ZodEnum<{
@@ -11891,7 +11891,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
11891
11891
  kind: z.ZodLiteral<"profile">;
11892
11892
  name: z.ZodString;
11893
11893
  value: z.ZodObject<{
11894
- description: z.ZodOptional<z.ZodString>;
11895
11894
  entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
11896
11895
  value: z.ZodBoolean;
11897
11896
  when: z.ZodUnion<readonly [z.ZodObject<{
@@ -11967,6 +11966,7 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
11967
11966
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
11968
11967
  }, z.core.$strip>], "kind">]>;
11969
11968
  }, z.core.$strict>]>>>;
11969
+ description: z.ZodOptional<z.ZodString>;
11970
11970
  models: z.ZodOptional<z.ZodObject<{
11971
11971
  virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
11972
11972
  mode: z.ZodEnum<{
@@ -12066,7 +12066,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
12066
12066
  kind: z.ZodLiteral<"profile">;
12067
12067
  name: z.ZodString;
12068
12068
  value: z.ZodObject<{
12069
- description: z.ZodOptional<z.ZodString>;
12070
12069
  entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
12071
12070
  value: z.ZodBoolean;
12072
12071
  when: z.ZodUnion<readonly [z.ZodObject<{
@@ -12142,6 +12141,7 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
12142
12141
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
12143
12142
  }, z.core.$strip>], "kind">]>;
12144
12143
  }, z.core.$strict>]>>>;
12144
+ description: z.ZodOptional<z.ZodString>;
12145
12145
  models: z.ZodOptional<z.ZodObject<{
12146
12146
  virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
12147
12147
  mode: z.ZodEnum<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "11.49.1",
3
+ "version": "11.49.2",
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": "MIT",
6
6
  "author": "Joseph Mearman <joseph@mearman.co.uk>",