claude-use 11.6.1 → 11.6.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 -6
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -34007,7 +34007,7 @@ var init_package = __esm({
|
|
|
34007
34007
|
"package.json"() {
|
|
34008
34008
|
package_default = {
|
|
34009
34009
|
name: "claude-use",
|
|
34010
|
-
version: "11.6.
|
|
34010
|
+
version: "11.6.2",
|
|
34011
34011
|
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.",
|
|
34012
34012
|
license: "MIT",
|
|
34013
34013
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -113427,14 +113427,14 @@ function refusalReason(identity, snapshot, nowMs) {
|
|
|
113427
113427
|
return candidate?.class === "ineligible" ? `it is refused right now (${candidate.reasons[0] ?? "no reason recorded"})` : void 0;
|
|
113428
113428
|
}
|
|
113429
113429
|
function reasonNotToOpen(identity, snapshot, nowMs) {
|
|
113430
|
-
|
|
113431
|
-
|
|
113430
|
+
const unified = snapshot?.providers[ANTHROPIC_PROVIDER]?.rateLimit?.unified;
|
|
113431
|
+
if (snapshot === void 0 || unified === void 0) {
|
|
113432
|
+
return "its quota has not been read, so whether a window is open is unknown";
|
|
113432
113433
|
}
|
|
113433
|
-
|
|
113434
|
-
if (unified !== void 0 && unified.fiveHour === void 0 && unified.sevenDay === void 0) {
|
|
113434
|
+
if (unified.fiveHour === void 0 && unified.sevenDay === void 0) {
|
|
113435
113435
|
return "it reports no plan windows, so there is no five-hour window to anchor";
|
|
113436
113436
|
}
|
|
113437
|
-
const five = unified
|
|
113437
|
+
const five = unified.fiveHour === void 0 ? void 0 : effectiveWindow(unified.fiveHour, nowMs);
|
|
113438
113438
|
if (five?.resetsAtMs !== void 0) {
|
|
113439
113439
|
return `a five-hour window is already open, resetting in ${formatAge(five.resetsAtMs - nowMs)}`;
|
|
113440
113440
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -2787,7 +2787,7 @@ var init_package = __esm({
|
|
|
2787
2787
|
"package.json"() {
|
|
2788
2788
|
package_default = {
|
|
2789
2789
|
name: "claude-use",
|
|
2790
|
-
version: "11.6.
|
|
2790
|
+
version: "11.6.2",
|
|
2791
2791
|
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.",
|
|
2792
2792
|
license: "MIT",
|
|
2793
2793
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
package/dist/index.mjs
CHANGED
|
@@ -2763,7 +2763,7 @@ var init_package = __esm({
|
|
|
2763
2763
|
"package.json"() {
|
|
2764
2764
|
package_default = {
|
|
2765
2765
|
name: "claude-use",
|
|
2766
|
-
version: "11.6.
|
|
2766
|
+
version: "11.6.2",
|
|
2767
2767
|
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.",
|
|
2768
2768
|
license: "MIT",
|
|
2769
2769
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-use",
|
|
3
|
-
"version": "11.6.
|
|
3
|
+
"version": "11.6.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>",
|