+1
-1
@@ -721,3 +721,3 @@ #!/usr/bin/env node | ||
| var __dirname = "/Users/junyu/coding/ccdash/src/utils"; | ||
| var PACKAGE_VERSION = "0.1.6"; | ||
| var PACKAGE_VERSION = "0.1.7"; | ||
| function getPackageVersion() { | ||
@@ -724,0 +724,0 @@ if (/^\d+\.\d+\.\d+/.test(PACKAGE_VERSION)) { |
+1
-1
| { | ||
| "name": "dashcc", | ||
| "version": "0.1.6", | ||
| "version": "0.1.7", | ||
| "description": "A session dashboard status line for Claude Code CLI", | ||
@@ -5,0 +5,0 @@ "module": "src/ccstatusline.ts", |
+21
-0
@@ -40,2 +40,21 @@ <div align="center"> | ||
| ## Responsive Terminal Behavior | ||
| The default terminal width mode is now `Responsive stable`. | ||
| - `narrow` terminals reserve 50% of the measured width | ||
| - `medium` terminals reserve 30% | ||
| - `wide` terminals reserve 20% | ||
| That reserve is recalculated on every status line render, so the layout can shrink and expand cleanly between Claude Code turns instead of getting stuck in a compact state. | ||
| The default dashboard also compacts high-width widgets by priority: | ||
| - context bars shorten first | ||
| - session and weekly usage lines shorten their suffixes on medium widths | ||
| - session and weekly usage lines keep only the bar and percentage on narrow widths | ||
| - long `Goal` and `Now` summaries wrap by display width and clamp to 2 lines | ||
| Temporary Claude UI notices such as update messages are rendered as their own auxiliary line instead of competing with the main dashboard row. | ||
| --- | ||
@@ -62,2 +81,4 @@ | ||
| You can change the width strategy in the TUI under `Terminal Width`, but `Responsive stable` is the recommended default for terminal usage. | ||
| ## All widgets | ||
@@ -64,0 +85,0 @@ |
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
2839750
0.17%68671
0.15%101
26.25%3
-25%