agent-shim 8.20.1 → 8.20.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 +6 -1
- package/dist/types/index.d.ts +8 -8
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -61790,7 +61790,7 @@ function registerIdentityCommand(program2, deps) {
|
|
|
61790
61790
|
// package.json
|
|
61791
61791
|
var package_default = {
|
|
61792
61792
|
name: "agent-shim",
|
|
61793
|
-
version: "8.20.
|
|
61793
|
+
version: "8.20.2",
|
|
61794
61794
|
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.",
|
|
61795
61795
|
license: "MIT",
|
|
61796
61796
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -62169,6 +62169,7 @@ var INTERNAL_HEADER_NAMES = [
|
|
|
62169
62169
|
"x-agent-shim-hop",
|
|
62170
62170
|
"x-agent-shim-hop-id",
|
|
62171
62171
|
"x-headroom-project-id",
|
|
62172
|
+
"x-headroom-session-id",
|
|
62172
62173
|
"x-headroom-base-url"
|
|
62173
62174
|
];
|
|
62174
62175
|
var IDENTITY_HEADER = "x-agent-shim-identity";
|
|
@@ -62176,6 +62177,7 @@ var SESSION_HEADER = "x-agent-shim-session";
|
|
|
62176
62177
|
var PROVIDER_HEADER = "x-agent-shim-provider";
|
|
62177
62178
|
var HEADROOM_FLAG_HEADER = "x-agent-shim-headroom";
|
|
62178
62179
|
var PROJECT_ID_HEADER = "x-headroom-project-id";
|
|
62180
|
+
var SESSION_ATTRIBUTION_HEADER = "x-headroom-session-id";
|
|
62179
62181
|
var HEADROOM_BASE_URL_HEADER = "x-headroom-base-url";
|
|
62180
62182
|
var AUTH_HEADER = "x-agent-shim-auth";
|
|
62181
62183
|
var HOP_SECRET_HEADER = "x-agent-shim-hop";
|
|
@@ -72230,6 +72232,9 @@ async function applyHeadroomHop(request7, response, upstream, deps) {
|
|
|
72230
72232
|
if (request7.session.projectId !== void 0) {
|
|
72231
72233
|
headers[PROJECT_ID_HEADER] = request7.session.projectId;
|
|
72232
72234
|
}
|
|
72235
|
+
if (request7.session.sessionId !== void 0) {
|
|
72236
|
+
headers[SESSION_ATTRIBUTION_HEADER] = request7.session.sessionId;
|
|
72237
|
+
}
|
|
72233
72238
|
headers[HOP_SECRET_HEADER] = deps.hopSecret;
|
|
72234
72239
|
try {
|
|
72235
72240
|
await forwardThroughHeadroom(request7, response, { socketPath, headers, log: deps.log });
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3998,13 +3998,13 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
3998
3998
|
"config-profile": "config-profile";
|
|
3999
3999
|
identity: "identity";
|
|
4000
4000
|
provider: "provider";
|
|
4001
|
-
pool: "pool";
|
|
4002
|
-
keychain: "keychain";
|
|
4003
4001
|
"ambient-credential": "ambient-credential";
|
|
4004
4002
|
"binary-discovery": "binary-discovery";
|
|
4005
4003
|
"claude-shim": "claude-shim";
|
|
4006
4004
|
"path-resolution": "path-resolution";
|
|
4007
4005
|
"legacy-name": "legacy-name";
|
|
4006
|
+
pool: "pool";
|
|
4007
|
+
keychain: "keychain";
|
|
4008
4008
|
"directory-rules": "directory-rules";
|
|
4009
4009
|
"categories-local": "categories-local";
|
|
4010
4010
|
"active-identity": "active-identity";
|
|
@@ -4475,13 +4475,13 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
4475
4475
|
"config-profile": "config-profile";
|
|
4476
4476
|
identity: "identity";
|
|
4477
4477
|
provider: "provider";
|
|
4478
|
-
pool: "pool";
|
|
4479
|
-
keychain: "keychain";
|
|
4480
4478
|
"ambient-credential": "ambient-credential";
|
|
4481
4479
|
"binary-discovery": "binary-discovery";
|
|
4482
4480
|
"claude-shim": "claude-shim";
|
|
4483
4481
|
"path-resolution": "path-resolution";
|
|
4484
4482
|
"legacy-name": "legacy-name";
|
|
4483
|
+
pool: "pool";
|
|
4484
|
+
keychain: "keychain";
|
|
4485
4485
|
"directory-rules": "directory-rules";
|
|
4486
4486
|
"categories-local": "categories-local";
|
|
4487
4487
|
"active-identity": "active-identity";
|
|
@@ -4769,13 +4769,13 @@ declare const DoctorFindingSchema: z.ZodObject<{
|
|
|
4769
4769
|
"config-profile": "config-profile";
|
|
4770
4770
|
identity: "identity";
|
|
4771
4771
|
provider: "provider";
|
|
4772
|
-
pool: "pool";
|
|
4773
|
-
keychain: "keychain";
|
|
4774
4772
|
"ambient-credential": "ambient-credential";
|
|
4775
4773
|
"binary-discovery": "binary-discovery";
|
|
4776
4774
|
"claude-shim": "claude-shim";
|
|
4777
4775
|
"path-resolution": "path-resolution";
|
|
4778
4776
|
"legacy-name": "legacy-name";
|
|
4777
|
+
pool: "pool";
|
|
4778
|
+
keychain: "keychain";
|
|
4779
4779
|
"directory-rules": "directory-rules";
|
|
4780
4780
|
"categories-local": "categories-local";
|
|
4781
4781
|
"active-identity": "active-identity";
|
|
@@ -4798,13 +4798,13 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
4798
4798
|
"config-profile": "config-profile";
|
|
4799
4799
|
identity: "identity";
|
|
4800
4800
|
provider: "provider";
|
|
4801
|
-
pool: "pool";
|
|
4802
|
-
keychain: "keychain";
|
|
4803
4801
|
"ambient-credential": "ambient-credential";
|
|
4804
4802
|
"binary-discovery": "binary-discovery";
|
|
4805
4803
|
"claude-shim": "claude-shim";
|
|
4806
4804
|
"path-resolution": "path-resolution";
|
|
4807
4805
|
"legacy-name": "legacy-name";
|
|
4806
|
+
pool: "pool";
|
|
4807
|
+
keychain: "keychain";
|
|
4808
4808
|
"directory-rules": "directory-rules";
|
|
4809
4809
|
"categories-local": "categories-local";
|
|
4810
4810
|
"active-identity": "active-identity";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-shim",
|
|
3
|
-
"version": "8.20.
|
|
3
|
+
"version": "8.20.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>",
|