claude-use 11.70.0 → 11.70.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 +5 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/types/index.d.ts +898 -898
- 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.70.
|
|
37390
|
+
version: "11.70.1",
|
|
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>",
|
|
@@ -143414,6 +143414,9 @@ function larger(left, right) {
|
|
|
143414
143414
|
function wholeTokens(count2) {
|
|
143415
143415
|
return Math.trunc(count2 ?? 0);
|
|
143416
143416
|
}
|
|
143417
|
+
function writtenCountsKey(usage) {
|
|
143418
|
+
return [usage.input_tokens, usage.output_tokens, usage.cache_creation_input_tokens, usage.cache_read_input_tokens].map(String).join("|");
|
|
143419
|
+
}
|
|
143417
143420
|
function foldTokens(state, record2) {
|
|
143418
143421
|
const usage = record2.message?.usage;
|
|
143419
143422
|
if (record2.type !== "assistant" || usage === void 0) {
|
|
@@ -143425,7 +143428,7 @@ function foldTokens(state, record2) {
|
|
|
143425
143428
|
cacheCreationTokens: wholeTokens(usage.cache_creation_input_tokens),
|
|
143426
143429
|
cacheReadTokens: wholeTokens(usage.cache_read_input_tokens)
|
|
143427
143430
|
};
|
|
143428
|
-
const key = record2.message?.id ??
|
|
143431
|
+
const key = record2.message?.id ?? writtenCountsKey(usage);
|
|
143429
143432
|
if (state.open?.key === key) {
|
|
143430
143433
|
return { totals: sum(state.totals, increase(state.open.usage, counts)), open: { key, usage: larger(state.open.usage, counts) } };
|
|
143431
143434
|
}
|
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.70.
|
|
4765
|
+
version: "11.70.1",
|
|
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.70.
|
|
4741
|
+
version: "11.70.1",
|
|
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>",
|