claudish 14.5.1 → 14.5.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/index.js +9 -6
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -5332,7 +5332,7 @@ var init_onepassword_config = __esm(() => {
|
|
|
5332
5332
|
});
|
|
5333
5333
|
|
|
5334
5334
|
// src/version.ts
|
|
5335
|
-
var VERSION = "14.5.
|
|
5335
|
+
var VERSION = "14.5.2";
|
|
5336
5336
|
|
|
5337
5337
|
// src/redact.ts
|
|
5338
5338
|
function isPlaceholder(value) {
|
|
@@ -104194,10 +104194,12 @@ function vendorOf(provider) {
|
|
|
104194
104194
|
function pct(fraction) {
|
|
104195
104195
|
return `${Math.round(fraction * 100)}%`;
|
|
104196
104196
|
}
|
|
104197
|
-
function renderWindows(row, pool) {
|
|
104198
|
-
const
|
|
104199
|
-
|
|
104200
|
-
|
|
104197
|
+
function renderWindows(row, pool, now) {
|
|
104198
|
+
const usage = row.state.usage ?? null;
|
|
104199
|
+
const windows = liveWindows(usage, now);
|
|
104200
|
+
if (windows.length === 0) {
|
|
104201
|
+
return dim4(usage && usage.windows.length > 0 ? "refilled since last seen" : "usage unknown");
|
|
104202
|
+
}
|
|
104201
104203
|
return windows.map((w) => {
|
|
104202
104204
|
const threshold = pool.switchAtByWindow[w.slot] ?? pool.switchAt;
|
|
104203
104205
|
const text = `${w.displayId} ${pct(w.usedFraction)}`;
|
|
@@ -104210,7 +104212,7 @@ function renderRow2(row, pool, now) {
|
|
|
104210
104212
|
const legacy = row.record.legacy ? dim4(" (legacy file)") : "";
|
|
104211
104213
|
const disabled = row.record.enabled ? "" : dim4(" disabled");
|
|
104212
104214
|
const plan = row.record.identity.plan ? dim4(` ${row.record.identity.plan}`) : "";
|
|
104213
|
-
lines.push(` ${marker} ${strong2(row.record.label)}${legacy}${plan}${disabled} ${renderWindows(row, pool)}` + (row.isActive ? dim4(" active") : ""));
|
|
104215
|
+
lines.push(` ${marker} ${strong2(row.record.label)}${legacy}${plan}${disabled} ${renderWindows(row, pool, now)}` + (row.isActive ? dim4(" active") : ""));
|
|
104214
104216
|
if (row.stateFailed) {
|
|
104215
104217
|
lines.push(` ${warn2("state unreadable \u2014 ranked last, never assumed fresh")}`);
|
|
104216
104218
|
}
|
|
@@ -104501,6 +104503,7 @@ The allowance trajectory, alerts and sessions of a claudish provider's account p
|
|
|
104501
104503
|
--horizon <h|d> how far ahead to project, 1h to 7d (default 7d)
|
|
104502
104504
|
--provider codex the claudish provider (openai-codex); the only one with a model today`;
|
|
104503
104505
|
var init_account_command = __esm(() => {
|
|
104506
|
+
init_policy2();
|
|
104504
104507
|
init_pool();
|
|
104505
104508
|
init_registry();
|
|
104506
104509
|
init_state_store();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claudish",
|
|
3
|
-
"version": "14.5.
|
|
3
|
+
"version": "14.5.2",
|
|
4
4
|
"description": "Run Claude Code with any model - OpenRouter, Ollama, LM Studio & local models",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"ai"
|
|
72
72
|
],
|
|
73
73
|
"optionalDependencies": {
|
|
74
|
-
"@claudish/magmux-darwin-arm64": "14.5.
|
|
75
|
-
"@claudish/magmux-darwin-x64": "14.5.
|
|
76
|
-
"@claudish/magmux-linux-arm64": "14.5.
|
|
77
|
-
"@claudish/magmux-linux-x64": "14.5.
|
|
74
|
+
"@claudish/magmux-darwin-arm64": "14.5.2",
|
|
75
|
+
"@claudish/magmux-darwin-x64": "14.5.2",
|
|
76
|
+
"@claudish/magmux-linux-arm64": "14.5.2",
|
|
77
|
+
"@claudish/magmux-linux-x64": "14.5.2"
|
|
78
78
|
},
|
|
79
79
|
"author": "Jack Rudenko <i@madappgang.com>",
|
|
80
80
|
"license": "MIT",
|