@cxmyu/ccglance 1.2.0 → 1.2.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.
package/README.md CHANGED
@@ -11,7 +11,13 @@ model · effort · context · cache · git · session — all at a glance
11
11
 
12
12
  [English](./README.md) · [简体中文](./README.zh-CN.md) · [GitHub](https://github.com/CxMYu/CcGlanceLine)
13
13
 
14
- ![ccglance preview](./docs/assets/preview.png)
14
+ **Windows 11 · Segoe UI Emoji**
15
+
16
+ ![ccglance on Windows 11](./docs/assets/preview-windows.png)
17
+
18
+ **macOS · Apple Color Emoji**
19
+
20
+ ![ccglance on macOS](./docs/assets/preview-macos.png)
15
21
 
16
22
  </div>
17
23
 
@@ -29,7 +35,8 @@ ccglance intentionally outputs standard Unicode emoji. A Nerd Font improves text
29
35
  metrics and symbol coverage, but color emoji are still rendered by the operating
30
36
  system's emoji font (for example Segoe UI Emoji on Windows, Apple Color Emoji on
31
37
  macOS, and Noto Color Emoji on many Linux desktops), so their artwork can differ
32
- across platforms.
38
+ across platforms. The two previews above use the same ccglance text, colors, and
39
+ spacing; only the platform emoji font changes.
33
40
 
34
41
  ## Install
35
42
 
package/README.zh-CN.md CHANGED
@@ -11,7 +11,13 @@
11
11
 
12
12
  [English](./README.md) · [简体中文](./README.zh-CN.md) · [GitHub](https://github.com/CxMYu/CcGlanceLine)
13
13
 
14
- ![ccglance 预览](./docs/assets/preview.png)
14
+ **Windows 11 · Segoe UI Emoji**
15
+
16
+ ![ccglance 在 Windows 11 上的效果](./docs/assets/preview-windows.png)
17
+
18
+ **macOS · Apple Color Emoji**
19
+
20
+ ![ccglance 在 macOS 上的效果](./docs/assets/preview-macos.png)
15
21
 
16
22
  </div>
17
23
 
@@ -28,6 +34,7 @@
28
34
  ccglance 会固定输出标准 Unicode emoji。Nerd Font 可以改善文本宽度和符号覆盖,
29
35
  但彩色 emoji 仍由系统 emoji 字体渲染(例如 Windows 的 Segoe UI Emoji、
30
36
  macOS 的 Apple Color Emoji、很多 Linux 桌面的 Noto Color Emoji),所以不同平台的图案可能不同。
37
+ 上面两张效果图使用完全相同的 ccglance 文本、颜色与间距,只有平台 emoji 字体不同。
31
38
 
32
39
  ## 安装
33
40
 
@@ -87,8 +87,6 @@ const context = (ctx) => {
87
87
  const parts = [(0, format_1.fmtPct)(pct), `↓${(0, format_1.fmtTokens)(used)}`, `↑${(0, format_1.fmtTokens)(out)}`];
88
88
  if (remain != null)
89
89
  parts.push(`→${(0, format_1.fmtTokens)(remain)}`);
90
- if (ctx.data.exceeds_200k_tokens)
91
- parts.push('⚠200k+');
92
90
  return iconSeg(ctx, 'context', col, 'context', parts.join(colors_1.DOT));
93
91
  };
94
92
  const cache = (ctx) => {
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cxmyu/ccglance",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "A fast, zero-dependency, multi-line status line for Claude Code — model, effort, context, cache, git and session, all at a glance.",
5
5
  "bin": {
6
6
  "ccglance": "dist/cli.js"
@@ -13,7 +13,8 @@
13
13
  "type": "commonjs",
14
14
  "files": [
15
15
  "dist",
16
- "docs/assets/preview.png"
16
+ "docs/assets/preview-windows.png",
17
+ "docs/assets/preview-macos.png"
17
18
  ],
18
19
  "engines": {
19
20
  "node": ">=22"
Binary file