agent-shim 8.20.0 → 8.20.1
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 +11 -4
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -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.1",
|
|
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>",
|
|
@@ -62818,7 +62818,7 @@ function assess(member, nowMs) {
|
|
|
62818
62818
|
return assessRefusedNested(member, nested, nowMs);
|
|
62819
62819
|
}
|
|
62820
62820
|
const assessment = assessIdentity(member, nowMs);
|
|
62821
|
-
return { ...assessment, candidate: { ...assessment.candidate, reasons: [`picked by pool "${nested.pool}"
|
|
62821
|
+
return { ...assessment, candidate: { ...assessment.candidate, reasons: [`picked by pool "${nested.pool}"`, ...nested.reasons] } };
|
|
62822
62822
|
}
|
|
62823
62823
|
function assessIdentity(member, nowMs) {
|
|
62824
62824
|
const plan = planOf(member.account);
|
|
@@ -77088,8 +77088,15 @@ function describeRule(rule) {
|
|
|
77088
77088
|
return parts.length === 0 ? "(nothing)" : parts.join(", ");
|
|
77089
77089
|
}
|
|
77090
77090
|
async function checkRuleTargets(deps, options) {
|
|
77091
|
-
if (typeof options.identity === "string"
|
|
77092
|
-
|
|
77091
|
+
if (typeof options.identity === "string") {
|
|
77092
|
+
if (options.identity.startsWith(POOL_SELECTOR_PREFIX)) {
|
|
77093
|
+
const poolName = options.identity.slice(POOL_SELECTOR_PREFIX.length);
|
|
77094
|
+
if (readPools(deps.paths)[poolName] === void 0) {
|
|
77095
|
+
throw new PoolNotFoundError(poolName);
|
|
77096
|
+
}
|
|
77097
|
+
} else if (readIdentity(deps.paths, options.identity) === void 0) {
|
|
77098
|
+
throw new IdentityNotFoundError(options.identity);
|
|
77099
|
+
}
|
|
77093
77100
|
}
|
|
77094
77101
|
if (typeof options.configProfile === "string") {
|
|
77095
77102
|
await ensureProfileExists(deps, options.configProfile);
|
package/dist/index.cjs
CHANGED
|
@@ -6059,7 +6059,7 @@ function assess(member, nowMs) {
|
|
|
6059
6059
|
return assessRefusedNested(member, nested, nowMs);
|
|
6060
6060
|
}
|
|
6061
6061
|
const assessment = assessIdentity(member, nowMs);
|
|
6062
|
-
return { ...assessment, candidate: { ...assessment.candidate, reasons: [`picked by pool "${nested.pool}"
|
|
6062
|
+
return { ...assessment, candidate: { ...assessment.candidate, reasons: [`picked by pool "${nested.pool}"`, ...nested.reasons] } };
|
|
6063
6063
|
}
|
|
6064
6064
|
function assessIdentity(member, nowMs) {
|
|
6065
6065
|
const plan = planOf(member.account);
|
package/dist/index.mjs
CHANGED
|
@@ -5795,7 +5795,7 @@ function assess(member, nowMs) {
|
|
|
5795
5795
|
return assessRefusedNested(member, nested, nowMs);
|
|
5796
5796
|
}
|
|
5797
5797
|
const assessment = assessIdentity(member, nowMs);
|
|
5798
|
-
return { ...assessment, candidate: { ...assessment.candidate, reasons: [`picked by pool "${nested.pool}"
|
|
5798
|
+
return { ...assessment, candidate: { ...assessment.candidate, reasons: [`picked by pool "${nested.pool}"`, ...nested.reasons] } };
|
|
5799
5799
|
}
|
|
5800
5800
|
function assessIdentity(member, nowMs) {
|
|
5801
5801
|
const plan = planOf(member.account);
|
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";
|
|
4001
4003
|
"ambient-credential": "ambient-credential";
|
|
4002
4004
|
"binary-discovery": "binary-discovery";
|
|
4003
4005
|
"claude-shim": "claude-shim";
|
|
4004
4006
|
"path-resolution": "path-resolution";
|
|
4005
4007
|
"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";
|
|
4478
4480
|
"ambient-credential": "ambient-credential";
|
|
4479
4481
|
"binary-discovery": "binary-discovery";
|
|
4480
4482
|
"claude-shim": "claude-shim";
|
|
4481
4483
|
"path-resolution": "path-resolution";
|
|
4482
4484
|
"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";
|
|
4772
4774
|
"ambient-credential": "ambient-credential";
|
|
4773
4775
|
"binary-discovery": "binary-discovery";
|
|
4774
4776
|
"claude-shim": "claude-shim";
|
|
4775
4777
|
"path-resolution": "path-resolution";
|
|
4776
4778
|
"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";
|
|
4801
4803
|
"ambient-credential": "ambient-credential";
|
|
4802
4804
|
"binary-discovery": "binary-discovery";
|
|
4803
4805
|
"claude-shim": "claude-shim";
|
|
4804
4806
|
"path-resolution": "path-resolution";
|
|
4805
4807
|
"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.1",
|
|
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>",
|