@kvali/cli 0.7.1 → 0.7.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kvali",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Live progress for Claude Code: plan progress, the current step and the time left, what the agent is doing right now, tokens and your plan limits, in a pane beside the chat.",
5
5
  "author": { "name": "Giorgi Khiladze" },
6
6
  "homepage": "https://github.com/webGrandpa/kvali",
@@ -20,7 +20,7 @@ With phone notifications set up (`kvali phone`, `kvali phone telegram`, `kvali p
20
20
 
21
21
  ## With the Kvali editor extension
22
22
 
23
- The plugin also writes a small heartbeat file per session to `~/.kvali/live/claude-code/<session>.mod.json`. The [Kvali extension](../../README.md) reads it, so its sidebar shows the same exact state for every Claude Code session on your machine, and it can tell "thinking for 6 minutes" from "Claude Code was closed or froze". The heartbeat never leaves your computer.
23
+ The plugin also writes a small heartbeat file per session to `~/.kvali/live/claude-code/<session>.mod.json`: what the session is doing (the running action's short label and detail), the current step, and your plan usage. The [Kvali extension](../../README.md) reads it, so its sidebar shows the same exact state for every Claude Code session on your machine, and it can tell "thinking for 6 minutes" from "Claude Code was closed or froze". The heartbeat never leaves your computer.
24
24
 
25
25
  ## Install
26
26
 
@@ -41,6 +41,6 @@ claude plugin test packages/claude-plugin
41
41
 
42
42
  ## Privacy
43
43
 
44
- The plugin keeps its state on your computer and has no telemetry. It sends something only when you set up phone notifications: short status lines to the ntfy server, Telegram bot or Discord channel you chose, never code or prompts. [Privacy](https://github.com/webGrandpa/kvali/blob/main/PRIVACY.md) · [Security policy](https://github.com/webGrandpa/kvali/blob/main/SECURITY.md) · MIT License
44
+ The plugin keeps its state on your computer and has no telemetry. It sends something only when you set up phone notifications: short status lines to the ntfy server, Telegram bot or Discord channel you chose, never code, prompts or command lines. [Privacy](https://github.com/webGrandpa/kvali/blob/main/PRIVACY.md) · [Security policy](https://github.com/webGrandpa/kvali/blob/main/SECURITY.md) · MIT License
45
45
 
46
46
  Kvali is an independent open-source project, not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic, used only to say what this plugin works with.
@@ -303,7 +303,8 @@ async function doRefresh($: Engine, force: boolean): Promise<void> {
303
303
  if (loop && rt.pushedLoopFor !== loop.since) {
304
304
  rt.pushedLoopFor = loop.since
305
305
  const u = await read($, usage)
306
- quiet(push($, 'loop', { loop: { what: loop.detail ?? loop.label, count: loop.count, sameError: loop.sameError, forMs: now - loop.since, tokens: totalTokens(u) - loop.tokensAtStart || undefined } }))
306
+ // Claude's description of the command ("Run the tests"), never the command line itself.
307
+ quiet(push($, 'loop', { loop: { what: loop.label, count: loop.count, sameError: loop.sameError, forMs: now - loop.since, tokens: totalTokens(u) - loop.tokensAtStart || undefined } }))
307
308
  }
308
309
  if (rt.pendingPause && !rt.turnActive && now - rt.pendingPause.at >= ASK_PUSH_AFTER_MS) {
309
310
  const { workedMs, sequence } = rt.pendingPause