@lokiyou/pi-nano-footer 0.13.0 → 0.14.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.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -83,7 +83,7 @@ Editor.prototype.render = function (width: number): string[] {
83
83
  const [r, g, b] = rgb;
84
84
  // 纯前景呼吸:当前色 + 峰值白色辉光,0.8s 周期
85
85
  // 无背景阴影,避免生硬灯管感
86
- const t = 0.5 + 0.5 * Math.sin(performance.now() / 127);
86
+ const t = 0.5 + 0.5 * Math.sin(performance.now() / 191);
87
87
  const bright = 0.35 + 0.65 * t; // 35%~100%
88
88
  const glow = t * t * 0.45; // 0~0.45 白色 blend
89
89
  const nr = Math.round(Math.min(255, r * bright + (255 - r) * glow));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokiyou/pi-nano-footer",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "超轻量 powerline 风格 footer for Pi Coding Agent — 输入框脉冲发光,霓虹配色,实时显示模型、目录、上下文、token 和费用",
5
5
  "type": "module",
6
6
  "keywords": [