claude-use 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 CHANGED
@@ -61790,7 +61790,7 @@ function registerIdentityCommand(program2, deps) {
61790
61790
  // package.json
61791
61791
  var package_default = {
61792
61792
  name: "claude-use",
61793
- version: "8.20.0",
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}": ${nested.reasons.join("; ")}`, ...assessment.candidate.reasons] } };
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" && readIdentity(deps.paths, options.identity) === void 0) {
77092
- throw new IdentityNotFoundError(options.identity);
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}": ${nested.reasons.join("; ")}`, ...assessment.candidate.reasons] } };
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}": ${nested.reasons.join("; ")}`, ...assessment.candidate.reasons] } };
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "8.20.0",
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>",