claude-use 11.67.4 → 11.67.5
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 +9 -6
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -37387,7 +37387,7 @@ var init_package = __esm({
|
|
|
37387
37387
|
"package.json"() {
|
|
37388
37388
|
package_default = {
|
|
37389
37389
|
name: "claude-use",
|
|
37390
|
-
version: "11.67.
|
|
37390
|
+
version: "11.67.5",
|
|
37391
37391
|
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.",
|
|
37392
37392
|
license: "MIT",
|
|
37393
37393
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -142991,7 +142991,7 @@ function toolsRow(context) {
|
|
|
142991
142991
|
|
|
142992
142992
|
// src/statusline/transcript/tokens.ts
|
|
142993
142993
|
init_zod();
|
|
142994
|
-
var tokenCount = external_exports.number().nonnegative();
|
|
142994
|
+
var tokenCount = external_exports.number().int().nonnegative();
|
|
142995
142995
|
var SessionTokensSchema = external_exports.strictObject({ inputTokens: tokenCount, outputTokens: tokenCount, cacheCreationTokens: tokenCount, cacheReadTokens: tokenCount });
|
|
142996
142996
|
var TokenStateSchema = external_exports.strictObject({
|
|
142997
142997
|
totals: SessionTokensSchema,
|
|
@@ -143026,16 +143026,19 @@ function larger(left, right) {
|
|
|
143026
143026
|
cacheReadTokens: Math.max(left.cacheReadTokens, right.cacheReadTokens)
|
|
143027
143027
|
};
|
|
143028
143028
|
}
|
|
143029
|
+
function wholeTokens(count2) {
|
|
143030
|
+
return Math.trunc(count2 ?? 0);
|
|
143031
|
+
}
|
|
143029
143032
|
function foldTokens(state, record2) {
|
|
143030
143033
|
const usage = record2.message?.usage;
|
|
143031
143034
|
if (record2.type !== "assistant" || usage === void 0) {
|
|
143032
143035
|
return state;
|
|
143033
143036
|
}
|
|
143034
143037
|
const counts = {
|
|
143035
|
-
inputTokens: usage.input_tokens
|
|
143036
|
-
outputTokens: usage.output_tokens
|
|
143037
|
-
cacheCreationTokens: usage.cache_creation_input_tokens
|
|
143038
|
-
cacheReadTokens: usage.cache_read_input_tokens
|
|
143038
|
+
inputTokens: wholeTokens(usage.input_tokens),
|
|
143039
|
+
outputTokens: wholeTokens(usage.output_tokens),
|
|
143040
|
+
cacheCreationTokens: wholeTokens(usage.cache_creation_input_tokens),
|
|
143041
|
+
cacheReadTokens: wholeTokens(usage.cache_read_input_tokens)
|
|
143039
143042
|
};
|
|
143040
143043
|
const key = record2.message?.id ?? `${String(counts.inputTokens)}|${String(counts.outputTokens)}|${String(counts.cacheCreationTokens)}|${String(counts.cacheReadTokens)}`;
|
|
143041
143044
|
if (state.open?.key === key) {
|
package/dist/index.cjs
CHANGED
|
@@ -4762,7 +4762,7 @@ var init_package = __esm({
|
|
|
4762
4762
|
"package.json"() {
|
|
4763
4763
|
package_default = {
|
|
4764
4764
|
name: "claude-use",
|
|
4765
|
-
version: "11.67.
|
|
4765
|
+
version: "11.67.5",
|
|
4766
4766
|
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.",
|
|
4767
4767
|
license: "MIT",
|
|
4768
4768
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
package/dist/index.mjs
CHANGED
|
@@ -4738,7 +4738,7 @@ var init_package = __esm({
|
|
|
4738
4738
|
"package.json"() {
|
|
4739
4739
|
package_default = {
|
|
4740
4740
|
name: "claude-use",
|
|
4741
|
-
version: "11.67.
|
|
4741
|
+
version: "11.67.5",
|
|
4742
4742
|
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.",
|
|
4743
4743
|
license: "MIT",
|
|
4744
4744
|
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.67.
|
|
3
|
+
"version": "11.67.5",
|
|
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>",
|