claude-use 11.63.0 → 11.64.0
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 +905 -141
- package/dist/index.cjs +18 -7
- package/dist/index.mjs +18 -7
- package/dist/types/index.d.ts +1335 -37
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -328,7 +328,7 @@ var init_statusline = __esm({
|
|
|
328
328
|
init_graphemes();
|
|
329
329
|
init_languages();
|
|
330
330
|
STATUSLINE_HEADER_SEGMENTS = ["model", "provider", "route", "account", "identity", "headroom", "project", "vcs", "effort", "advisor", "version", "outputStyle", "cost", "dailyCost", "sessionName", "duration", "speed"];
|
|
331
|
-
STATUSLINE_ROWS = ["context", "quota", "addedDirs", "gitFiles", "memory", "environment", "sessionTime", "promptCache", "compactions", "tokens"];
|
|
331
|
+
STATUSLINE_ROWS = ["context", "quota", "addedDirs", "gitFiles", "memory", "environment", "sessionTime", "promptCache", "compactions", "tokens", "tools", "skills", "mcp", "agents", "todos"];
|
|
332
332
|
STATUSLINE_SESSION_TIME_PARTS = ["started", "lastReply"];
|
|
333
333
|
PROMPT_CACHE_TTL_SECONDS = { fiveMinutes: 300, oneHour: 3600 };
|
|
334
334
|
STATUSLINE_COLOUR_NAMES = [
|
|
@@ -359,13 +359,13 @@ var init_statusline = __esm({
|
|
|
359
359
|
PRESET_BUNDLES = {
|
|
360
360
|
standard: { layout: { header: DEFAULT_HEADER_SEGMENTS, rows: DEFAULT_ROWS }, git: GIT_WITH_DIRTY_MARKER, jj: JJ_OFF, usage: { resetLabel: false }, context: { breakdown: "never" } },
|
|
361
361
|
full: {
|
|
362
|
-
layout: { header: ["model", "project", "vcs", "effort", "advisor", "version", "outputStyle", "cost", "sessionName", "duration"], rows: ["context", "quota", "addedDirs", "memory", "environment", "promptCache", "compactions", "tokens"] },
|
|
362
|
+
layout: { header: ["model", "project", "vcs", "effort", "advisor", "version", "outputStyle", "cost", "sessionName", "duration"], rows: ["context", "quota", "addedDirs", "memory", "environment", "tools", "skills", "mcp", "agents", "todos", "promptCache", "compactions", "tokens"] },
|
|
363
363
|
git: GIT_WITH_DIRTY_MARKER,
|
|
364
364
|
jj: { enabled: true, showDirty: true, showConflicts: true },
|
|
365
365
|
usage: { resetLabel: true },
|
|
366
366
|
context: { breakdown: "critical" }
|
|
367
367
|
},
|
|
368
|
-
essential: { layout: { header: ["model", "project", "vcs", "duration"], rows: ["context", "addedDirs"] }, git: GIT_WITH_DIRTY_MARKER, jj: JJ_OFF, usage: { resetLabel: true }, context: { breakdown: "never" } },
|
|
368
|
+
essential: { layout: { header: ["model", "project", "vcs", "duration"], rows: ["context", "addedDirs", "tools", "agents", "todos"] }, git: GIT_WITH_DIRTY_MARKER, jj: JJ_OFF, usage: { resetLabel: true }, context: { breakdown: "never" } },
|
|
369
369
|
minimal: { layout: { header: ["model", "project", "vcs"], rows: ["context", "addedDirs"] }, git: GIT_WITH_DIRTY_MARKER, jj: JJ_OFF, usage: { resetLabel: true }, context: { breakdown: "never" } }
|
|
370
370
|
};
|
|
371
371
|
STATUSLINE_PATH_LEVELS = ["1", "2", "3", "full"];
|
|
@@ -481,6 +481,10 @@ var init_statusline = __esm({
|
|
|
481
481
|
promptCache: {
|
|
482
482
|
ttlSeconds: import_zod2.z.number().int().min(1).describe("How long the prompt cache lives, in seconds, when the transcript has not yet shown which tier the session writes (five minutes or one hour); the tier the transcript shows takes over once it does.")
|
|
483
483
|
},
|
|
484
|
+
tools: {
|
|
485
|
+
nameMaxLength: import_zod2.z.number().int().min(0).describe("The most terminal columns of a tool's name the tools row draws, cut with an ellipsis. With a limit set, a tool of an MCP server is shown by its own name, without the server's, whether or not it needs cutting. 0 draws every name whole, an MCP tool's with its server."),
|
|
486
|
+
maxVisible: import_zod2.z.number().int().min(0).describe("The most kinds of finished tool call the tools row names, the most-used first, with the rest counted as +N more. 0 names every kind.")
|
|
487
|
+
},
|
|
484
488
|
colours: {
|
|
485
489
|
context: colourValue.describe("The colour of the context bar and its figures below the warning threshold."),
|
|
486
490
|
usage: colourValue.describe("The colour of the quota bars and their figures below the warning threshold."),
|
|
@@ -492,7 +496,9 @@ var init_statusline = __esm({
|
|
|
492
496
|
empty: colourValue.describe("The colour of the unused part of a bar."),
|
|
493
497
|
project: colourValue.describe("The colour of the project path segment."),
|
|
494
498
|
git: colourValue.describe("The colour of the version control segment's wrapper text (`git:(` and `)`)."),
|
|
495
|
-
gitBranch: colourValue.describe("The colour of the branch or bookmark and its ahead, behind and dirty markers.")
|
|
499
|
+
gitBranch: colourValue.describe("The colour of the branch or bookmark and its ahead, behind and dirty markers."),
|
|
500
|
+
activity: colourValue.describe("The colour of the names of the tools, skills and MCP servers the tools, skills and mcp rows draw. Their running markers take colours.warning and their finished markers colours.context."),
|
|
501
|
+
agent: colourValue.describe("The colour of an agent's type in the agents row.")
|
|
496
502
|
},
|
|
497
503
|
project: {
|
|
498
504
|
pathLevels: import_zod2.z.enum(STATUSLINE_PATH_LEVELS).describe("How many trailing directories of the working directory the project segment shows: 1, 2 or 3, or full for the whole absolute path."),
|
|
@@ -519,7 +525,7 @@ var init_statusline = __esm({
|
|
|
519
525
|
LANGUAGE_ALIASES = { zh: "zh-Hans", "zh-TW": "zh-Hant" };
|
|
520
526
|
TOP_LEVEL = {
|
|
521
527
|
language: import_zod2.z.enum(STATUSLINE_LANGUAGES).describe(LANGUAGE_DESCRIPTION),
|
|
522
|
-
preset: import_zod2.z.enum(STATUSLINE_PRESETS).describe("A named bundle of settings (layout.header, layout.rows, git.enabled, git.showDirty, git.showAheadBehind, git.showLineDiff, jj.enabled, jj.showDirty, jj.showConflicts, usage.resetLabel and context.breakdown) that this layer sets beneath the keys it names itself and above everything the shallower layers set: standard is the statusline's own; full, essential and minimal are claude-hud's presets. Each draws the model, project and version control segments and the context row; full adds the effort, advisor, version, output style, cost, session name and duration segments and the quota, added directories, memory, environment, prompt cache, compactions and session tokens rows, with the token breakdown at high use, essential adds the duration
|
|
528
|
+
preset: import_zod2.z.enum(STATUSLINE_PRESETS).describe("A named bundle of settings (layout.header, layout.rows, git.enabled, git.showDirty, git.showAheadBehind, git.showLineDiff, jj.enabled, jj.showDirty, jj.showConflicts, usage.resetLabel and context.breakdown) that this layer sets beneath the keys it names itself and above everything the shallower layers set: standard is the statusline's own; full, essential and minimal are claude-hud's presets. Each draws the model, project and version control segments and the context row; full adds the effort, advisor, version, output style, cost, session name and duration segments and the quota, added directories, memory, environment, tools, skills, mcp, agents, todos, prompt cache, compactions and session tokens rows, with the token breakdown at high use, essential adds the duration, the added directories row and the tools, agents and todos rows, and minimal adds the added directories row alone.")
|
|
523
529
|
};
|
|
524
530
|
StatuslineSchema = import_zod2.z.strictObject({
|
|
525
531
|
language: import_zod2.z.enum(LANGUAGE_TAGS).transform(canonicalLanguage).describe(LANGUAGE_DESCRIPTION).optional(),
|
|
@@ -540,6 +546,7 @@ var init_statusline = __esm({
|
|
|
540
546
|
environment: import_zod2.z.strictObject(SHAPES.environment).partial().optional(),
|
|
541
547
|
sessionTime: import_zod2.z.strictObject(SHAPES.sessionTime).partial().optional(),
|
|
542
548
|
promptCache: import_zod2.z.strictObject(SHAPES.promptCache).partial().optional(),
|
|
549
|
+
tools: import_zod2.z.strictObject(SHAPES.tools).partial().optional(),
|
|
543
550
|
colours: import_zod2.z.strictObject(SHAPES.colours).partial().optional(),
|
|
544
551
|
project: import_zod2.z.strictObject(SHAPES.project).partial().optional(),
|
|
545
552
|
git: import_zod2.z.strictObject(SHAPES.git).partial().optional(),
|
|
@@ -564,6 +571,7 @@ var init_statusline = __esm({
|
|
|
564
571
|
environment: import_zod2.z.strictObject(SHAPES.environment),
|
|
565
572
|
sessionTime: import_zod2.z.strictObject(SHAPES.sessionTime),
|
|
566
573
|
promptCache: import_zod2.z.strictObject(SHAPES.promptCache),
|
|
574
|
+
tools: import_zod2.z.strictObject(SHAPES.tools),
|
|
567
575
|
colours: import_zod2.z.strictObject(SHAPES.colours),
|
|
568
576
|
project: import_zod2.z.strictObject(SHAPES.project),
|
|
569
577
|
git: import_zod2.z.strictObject(SHAPES.git),
|
|
@@ -588,6 +596,7 @@ var init_statusline = __esm({
|
|
|
588
596
|
environment: { threshold: 0 },
|
|
589
597
|
sessionTime: { parts: [...STATUSLINE_SESSION_TIME_PARTS] },
|
|
590
598
|
promptCache: { ttlSeconds: PROMPT_CACHE_TTL_SECONDS.fiveMinutes },
|
|
599
|
+
tools: { nameMaxLength: 0, maxVisible: 4 },
|
|
591
600
|
colours: {
|
|
592
601
|
context: "green",
|
|
593
602
|
usage: "green",
|
|
@@ -599,7 +608,9 @@ var init_statusline = __esm({
|
|
|
599
608
|
empty: "brightBlack",
|
|
600
609
|
project: "yellow",
|
|
601
610
|
git: "magenta",
|
|
602
|
-
gitBranch: "cyan"
|
|
611
|
+
gitBranch: "cyan",
|
|
612
|
+
activity: "cyan",
|
|
613
|
+
agent: "magenta"
|
|
603
614
|
},
|
|
604
615
|
project: { pathLevels: "1", addedDirsLayout: "inline" },
|
|
605
616
|
git: { enabled: true, showDirty: true, showAheadBehind: false, showLineDiff: false, branchOverflow: "truncate", pushWarnAt: 0, pushCriticalAt: 0 },
|
|
@@ -4693,7 +4704,7 @@ var init_package = __esm({
|
|
|
4693
4704
|
"package.json"() {
|
|
4694
4705
|
package_default = {
|
|
4695
4706
|
name: "claude-use",
|
|
4696
|
-
version: "11.
|
|
4707
|
+
version: "11.64.0",
|
|
4697
4708
|
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.",
|
|
4698
4709
|
license: "MIT",
|
|
4699
4710
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
package/dist/index.mjs
CHANGED
|
@@ -306,7 +306,7 @@ var init_statusline = __esm({
|
|
|
306
306
|
init_graphemes();
|
|
307
307
|
init_languages();
|
|
308
308
|
STATUSLINE_HEADER_SEGMENTS = ["model", "provider", "route", "account", "identity", "headroom", "project", "vcs", "effort", "advisor", "version", "outputStyle", "cost", "dailyCost", "sessionName", "duration", "speed"];
|
|
309
|
-
STATUSLINE_ROWS = ["context", "quota", "addedDirs", "gitFiles", "memory", "environment", "sessionTime", "promptCache", "compactions", "tokens"];
|
|
309
|
+
STATUSLINE_ROWS = ["context", "quota", "addedDirs", "gitFiles", "memory", "environment", "sessionTime", "promptCache", "compactions", "tokens", "tools", "skills", "mcp", "agents", "todos"];
|
|
310
310
|
STATUSLINE_SESSION_TIME_PARTS = ["started", "lastReply"];
|
|
311
311
|
PROMPT_CACHE_TTL_SECONDS = { fiveMinutes: 300, oneHour: 3600 };
|
|
312
312
|
STATUSLINE_COLOUR_NAMES = [
|
|
@@ -337,13 +337,13 @@ var init_statusline = __esm({
|
|
|
337
337
|
PRESET_BUNDLES = {
|
|
338
338
|
standard: { layout: { header: DEFAULT_HEADER_SEGMENTS, rows: DEFAULT_ROWS }, git: GIT_WITH_DIRTY_MARKER, jj: JJ_OFF, usage: { resetLabel: false }, context: { breakdown: "never" } },
|
|
339
339
|
full: {
|
|
340
|
-
layout: { header: ["model", "project", "vcs", "effort", "advisor", "version", "outputStyle", "cost", "sessionName", "duration"], rows: ["context", "quota", "addedDirs", "memory", "environment", "promptCache", "compactions", "tokens"] },
|
|
340
|
+
layout: { header: ["model", "project", "vcs", "effort", "advisor", "version", "outputStyle", "cost", "sessionName", "duration"], rows: ["context", "quota", "addedDirs", "memory", "environment", "tools", "skills", "mcp", "agents", "todos", "promptCache", "compactions", "tokens"] },
|
|
341
341
|
git: GIT_WITH_DIRTY_MARKER,
|
|
342
342
|
jj: { enabled: true, showDirty: true, showConflicts: true },
|
|
343
343
|
usage: { resetLabel: true },
|
|
344
344
|
context: { breakdown: "critical" }
|
|
345
345
|
},
|
|
346
|
-
essential: { layout: { header: ["model", "project", "vcs", "duration"], rows: ["context", "addedDirs"] }, git: GIT_WITH_DIRTY_MARKER, jj: JJ_OFF, usage: { resetLabel: true }, context: { breakdown: "never" } },
|
|
346
|
+
essential: { layout: { header: ["model", "project", "vcs", "duration"], rows: ["context", "addedDirs", "tools", "agents", "todos"] }, git: GIT_WITH_DIRTY_MARKER, jj: JJ_OFF, usage: { resetLabel: true }, context: { breakdown: "never" } },
|
|
347
347
|
minimal: { layout: { header: ["model", "project", "vcs"], rows: ["context", "addedDirs"] }, git: GIT_WITH_DIRTY_MARKER, jj: JJ_OFF, usage: { resetLabel: true }, context: { breakdown: "never" } }
|
|
348
348
|
};
|
|
349
349
|
STATUSLINE_PATH_LEVELS = ["1", "2", "3", "full"];
|
|
@@ -459,6 +459,10 @@ var init_statusline = __esm({
|
|
|
459
459
|
promptCache: {
|
|
460
460
|
ttlSeconds: z2.number().int().min(1).describe("How long the prompt cache lives, in seconds, when the transcript has not yet shown which tier the session writes (five minutes or one hour); the tier the transcript shows takes over once it does.")
|
|
461
461
|
},
|
|
462
|
+
tools: {
|
|
463
|
+
nameMaxLength: z2.number().int().min(0).describe("The most terminal columns of a tool's name the tools row draws, cut with an ellipsis. With a limit set, a tool of an MCP server is shown by its own name, without the server's, whether or not it needs cutting. 0 draws every name whole, an MCP tool's with its server."),
|
|
464
|
+
maxVisible: z2.number().int().min(0).describe("The most kinds of finished tool call the tools row names, the most-used first, with the rest counted as +N more. 0 names every kind.")
|
|
465
|
+
},
|
|
462
466
|
colours: {
|
|
463
467
|
context: colourValue.describe("The colour of the context bar and its figures below the warning threshold."),
|
|
464
468
|
usage: colourValue.describe("The colour of the quota bars and their figures below the warning threshold."),
|
|
@@ -470,7 +474,9 @@ var init_statusline = __esm({
|
|
|
470
474
|
empty: colourValue.describe("The colour of the unused part of a bar."),
|
|
471
475
|
project: colourValue.describe("The colour of the project path segment."),
|
|
472
476
|
git: colourValue.describe("The colour of the version control segment's wrapper text (`git:(` and `)`)."),
|
|
473
|
-
gitBranch: colourValue.describe("The colour of the branch or bookmark and its ahead, behind and dirty markers.")
|
|
477
|
+
gitBranch: colourValue.describe("The colour of the branch or bookmark and its ahead, behind and dirty markers."),
|
|
478
|
+
activity: colourValue.describe("The colour of the names of the tools, skills and MCP servers the tools, skills and mcp rows draw. Their running markers take colours.warning and their finished markers colours.context."),
|
|
479
|
+
agent: colourValue.describe("The colour of an agent's type in the agents row.")
|
|
474
480
|
},
|
|
475
481
|
project: {
|
|
476
482
|
pathLevels: z2.enum(STATUSLINE_PATH_LEVELS).describe("How many trailing directories of the working directory the project segment shows: 1, 2 or 3, or full for the whole absolute path."),
|
|
@@ -497,7 +503,7 @@ var init_statusline = __esm({
|
|
|
497
503
|
LANGUAGE_ALIASES = { zh: "zh-Hans", "zh-TW": "zh-Hant" };
|
|
498
504
|
TOP_LEVEL = {
|
|
499
505
|
language: z2.enum(STATUSLINE_LANGUAGES).describe(LANGUAGE_DESCRIPTION),
|
|
500
|
-
preset: z2.enum(STATUSLINE_PRESETS).describe("A named bundle of settings (layout.header, layout.rows, git.enabled, git.showDirty, git.showAheadBehind, git.showLineDiff, jj.enabled, jj.showDirty, jj.showConflicts, usage.resetLabel and context.breakdown) that this layer sets beneath the keys it names itself and above everything the shallower layers set: standard is the statusline's own; full, essential and minimal are claude-hud's presets. Each draws the model, project and version control segments and the context row; full adds the effort, advisor, version, output style, cost, session name and duration segments and the quota, added directories, memory, environment, prompt cache, compactions and session tokens rows, with the token breakdown at high use, essential adds the duration
|
|
506
|
+
preset: z2.enum(STATUSLINE_PRESETS).describe("A named bundle of settings (layout.header, layout.rows, git.enabled, git.showDirty, git.showAheadBehind, git.showLineDiff, jj.enabled, jj.showDirty, jj.showConflicts, usage.resetLabel and context.breakdown) that this layer sets beneath the keys it names itself and above everything the shallower layers set: standard is the statusline's own; full, essential and minimal are claude-hud's presets. Each draws the model, project and version control segments and the context row; full adds the effort, advisor, version, output style, cost, session name and duration segments and the quota, added directories, memory, environment, tools, skills, mcp, agents, todos, prompt cache, compactions and session tokens rows, with the token breakdown at high use, essential adds the duration, the added directories row and the tools, agents and todos rows, and minimal adds the added directories row alone.")
|
|
501
507
|
};
|
|
502
508
|
StatuslineSchema = z2.strictObject({
|
|
503
509
|
language: z2.enum(LANGUAGE_TAGS).transform(canonicalLanguage).describe(LANGUAGE_DESCRIPTION).optional(),
|
|
@@ -518,6 +524,7 @@ var init_statusline = __esm({
|
|
|
518
524
|
environment: z2.strictObject(SHAPES.environment).partial().optional(),
|
|
519
525
|
sessionTime: z2.strictObject(SHAPES.sessionTime).partial().optional(),
|
|
520
526
|
promptCache: z2.strictObject(SHAPES.promptCache).partial().optional(),
|
|
527
|
+
tools: z2.strictObject(SHAPES.tools).partial().optional(),
|
|
521
528
|
colours: z2.strictObject(SHAPES.colours).partial().optional(),
|
|
522
529
|
project: z2.strictObject(SHAPES.project).partial().optional(),
|
|
523
530
|
git: z2.strictObject(SHAPES.git).partial().optional(),
|
|
@@ -542,6 +549,7 @@ var init_statusline = __esm({
|
|
|
542
549
|
environment: z2.strictObject(SHAPES.environment),
|
|
543
550
|
sessionTime: z2.strictObject(SHAPES.sessionTime),
|
|
544
551
|
promptCache: z2.strictObject(SHAPES.promptCache),
|
|
552
|
+
tools: z2.strictObject(SHAPES.tools),
|
|
545
553
|
colours: z2.strictObject(SHAPES.colours),
|
|
546
554
|
project: z2.strictObject(SHAPES.project),
|
|
547
555
|
git: z2.strictObject(SHAPES.git),
|
|
@@ -566,6 +574,7 @@ var init_statusline = __esm({
|
|
|
566
574
|
environment: { threshold: 0 },
|
|
567
575
|
sessionTime: { parts: [...STATUSLINE_SESSION_TIME_PARTS] },
|
|
568
576
|
promptCache: { ttlSeconds: PROMPT_CACHE_TTL_SECONDS.fiveMinutes },
|
|
577
|
+
tools: { nameMaxLength: 0, maxVisible: 4 },
|
|
569
578
|
colours: {
|
|
570
579
|
context: "green",
|
|
571
580
|
usage: "green",
|
|
@@ -577,7 +586,9 @@ var init_statusline = __esm({
|
|
|
577
586
|
empty: "brightBlack",
|
|
578
587
|
project: "yellow",
|
|
579
588
|
git: "magenta",
|
|
580
|
-
gitBranch: "cyan"
|
|
589
|
+
gitBranch: "cyan",
|
|
590
|
+
activity: "cyan",
|
|
591
|
+
agent: "magenta"
|
|
581
592
|
},
|
|
582
593
|
project: { pathLevels: "1", addedDirsLayout: "inline" },
|
|
583
594
|
git: { enabled: true, showDirty: true, showAheadBehind: false, showLineDiff: false, branchOverflow: "truncate", pushWarnAt: 0, pushCriticalAt: 0 },
|
|
@@ -4669,7 +4680,7 @@ var init_package = __esm({
|
|
|
4669
4680
|
"package.json"() {
|
|
4670
4681
|
package_default = {
|
|
4671
4682
|
name: "claude-use",
|
|
4672
|
-
version: "11.
|
|
4683
|
+
version: "11.64.0",
|
|
4673
4684
|
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.",
|
|
4674
4685
|
license: "MIT",
|
|
4675
4686
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|