agent-shim 8.27.0 → 8.28.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/cli.cjs +8 -1
- package/dist/index.cjs +8 -1
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -61796,7 +61796,7 @@ function registerIdentityCommand(program2, deps) {
|
|
|
61796
61796
|
// package.json
|
|
61797
61797
|
var package_default = {
|
|
61798
61798
|
name: "agent-shim",
|
|
61799
|
-
version: "8.
|
|
61799
|
+
version: "8.28.0",
|
|
61800
61800
|
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.",
|
|
61801
61801
|
license: "MIT",
|
|
61802
61802
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -79323,6 +79323,11 @@ function buildFlagArgs(flags) {
|
|
|
79323
79323
|
function buildArgv(params) {
|
|
79324
79324
|
return [...params.toolFlags, ...params.extraFlags, ...params.passthrough];
|
|
79325
79325
|
}
|
|
79326
|
+
var LOOPBACK_HOSTS = ["127.0.0.1", "localhost", "::1"];
|
|
79327
|
+
function withLoopbackHosts(existing) {
|
|
79328
|
+
const listed = (existing ?? "").split(",").map((entry) => entry.trim()).filter((entry) => entry !== "");
|
|
79329
|
+
return [...listed, ...LOOPBACK_HOSTS.filter((host) => !listed.includes(host))].join(",");
|
|
79330
|
+
}
|
|
79326
79331
|
function buildEnv(params) {
|
|
79327
79332
|
const env = { ...params.baseEnv };
|
|
79328
79333
|
const parentCustomHeaders = params.baseEnv.ANTHROPIC_CUSTOM_HEADERS;
|
|
@@ -79367,6 +79372,8 @@ function buildEnv(params) {
|
|
|
79367
79372
|
);
|
|
79368
79373
|
env.NODE_EXTRA_CA_CERTS = params.frontdoor.trustBundlePath;
|
|
79369
79374
|
env.HTTPS_PROXY = connectProxyUrl(params.frontdoor.connectPort, params.frontdoor.sessionToken);
|
|
79375
|
+
env.NO_PROXY = withLoopbackHosts(env.NO_PROXY);
|
|
79376
|
+
env.no_proxy = withLoopbackHosts(env.no_proxy);
|
|
79370
79377
|
}
|
|
79371
79378
|
return env;
|
|
79372
79379
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -12256,7 +12256,7 @@ var import_node_path30 = __toESM(require("node:path"), 1);
|
|
|
12256
12256
|
// package.json
|
|
12257
12257
|
var package_default = {
|
|
12258
12258
|
name: "agent-shim",
|
|
12259
|
-
version: "8.
|
|
12259
|
+
version: "8.28.0",
|
|
12260
12260
|
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.",
|
|
12261
12261
|
license: "MIT",
|
|
12262
12262
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -12672,6 +12672,11 @@ function buildFlagArgs(flags) {
|
|
|
12672
12672
|
function buildArgv(params) {
|
|
12673
12673
|
return [...params.toolFlags, ...params.extraFlags, ...params.passthrough];
|
|
12674
12674
|
}
|
|
12675
|
+
var LOOPBACK_HOSTS = ["127.0.0.1", "localhost", "::1"];
|
|
12676
|
+
function withLoopbackHosts(existing) {
|
|
12677
|
+
const listed = (existing ?? "").split(",").map((entry) => entry.trim()).filter((entry) => entry !== "");
|
|
12678
|
+
return [...listed, ...LOOPBACK_HOSTS.filter((host) => !listed.includes(host))].join(",");
|
|
12679
|
+
}
|
|
12675
12680
|
function buildEnv(params) {
|
|
12676
12681
|
const env = { ...params.baseEnv };
|
|
12677
12682
|
const parentCustomHeaders = params.baseEnv.ANTHROPIC_CUSTOM_HEADERS;
|
|
@@ -12716,6 +12721,8 @@ function buildEnv(params) {
|
|
|
12716
12721
|
);
|
|
12717
12722
|
env.NODE_EXTRA_CA_CERTS = params.frontdoor.trustBundlePath;
|
|
12718
12723
|
env.HTTPS_PROXY = connectProxyUrl(params.frontdoor.connectPort, params.frontdoor.sessionToken);
|
|
12724
|
+
env.NO_PROXY = withLoopbackHosts(env.NO_PROXY);
|
|
12725
|
+
env.no_proxy = withLoopbackHosts(env.no_proxy);
|
|
12719
12726
|
}
|
|
12720
12727
|
return env;
|
|
12721
12728
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -11951,7 +11951,7 @@ import path30 from "node:path";
|
|
|
11951
11951
|
// package.json
|
|
11952
11952
|
var package_default = {
|
|
11953
11953
|
name: "agent-shim",
|
|
11954
|
-
version: "8.
|
|
11954
|
+
version: "8.28.0",
|
|
11955
11955
|
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.",
|
|
11956
11956
|
license: "MIT",
|
|
11957
11957
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -12367,6 +12367,11 @@ function buildFlagArgs(flags) {
|
|
|
12367
12367
|
function buildArgv(params) {
|
|
12368
12368
|
return [...params.toolFlags, ...params.extraFlags, ...params.passthrough];
|
|
12369
12369
|
}
|
|
12370
|
+
var LOOPBACK_HOSTS = ["127.0.0.1", "localhost", "::1"];
|
|
12371
|
+
function withLoopbackHosts(existing) {
|
|
12372
|
+
const listed = (existing ?? "").split(",").map((entry) => entry.trim()).filter((entry) => entry !== "");
|
|
12373
|
+
return [...listed, ...LOOPBACK_HOSTS.filter((host) => !listed.includes(host))].join(",");
|
|
12374
|
+
}
|
|
12370
12375
|
function buildEnv(params) {
|
|
12371
12376
|
const env = { ...params.baseEnv };
|
|
12372
12377
|
const parentCustomHeaders = params.baseEnv.ANTHROPIC_CUSTOM_HEADERS;
|
|
@@ -12411,6 +12416,8 @@ function buildEnv(params) {
|
|
|
12411
12416
|
);
|
|
12412
12417
|
env.NODE_EXTRA_CA_CERTS = params.frontdoor.trustBundlePath;
|
|
12413
12418
|
env.HTTPS_PROXY = connectProxyUrl(params.frontdoor.connectPort, params.frontdoor.sessionToken);
|
|
12419
|
+
env.NO_PROXY = withLoopbackHosts(env.NO_PROXY);
|
|
12420
|
+
env.no_proxy = withLoopbackHosts(env.no_proxy);
|
|
12414
12421
|
}
|
|
12415
12422
|
return env;
|
|
12416
12423
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-shim",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.28.0",
|
|
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>",
|