agent-shim 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 +8 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -35927,7 +35927,7 @@ var init_package = __esm({
|
|
|
35927
35927
|
"package.json"() {
|
|
35928
35928
|
package_default = {
|
|
35929
35929
|
name: "agent-shim",
|
|
35930
|
-
version: "11.49.
|
|
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 (
|
|
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: "agent-shim",
|
|
4194
|
-
version: "11.49.
|
|
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: "agent-shim",
|
|
4170
|
-
version: "11.49.
|
|
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>",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-shim",
|
|
3
|
-
"version": "11.49.
|
|
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>",
|