cc-insight 0.1.2 → 0.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-insight",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Local Claude Code usage dashboard — sessions, skills, efficiency, MCP servers, and shareable poster",
5
5
  "type": "module",
6
6
  "bin": {
@@ -3,7 +3,8 @@ import { setRange } from './app.js'
3
3
 
4
4
  const TOPIC_COLORS = {
5
5
  '调试修复': 'var(--green)',
6
- '功能开发': 'var(--cyan)',
6
+ '功能开发': 'var(--cyan)',
7
+ '新功能开发': 'var(--cyan)', // 旧数据兼容
7
8
  '架构设计': 'var(--amber)',
8
9
  '代码重构': 'var(--purple)',
9
10
  '学习探索': 'var(--red)',
@@ -15,7 +16,8 @@ const TOPIC_COLORS = {
15
16
  // 热力图用 rgba,支持按强度调节透明度
16
17
  const TOPIC_HEX = {
17
18
  '调试修复': '74,222,128',
18
- '功能开发': '34,211,238',
19
+ '功能开发': '34,211,238',
20
+ '新功能开发': '34,211,238', // 旧数据兼容
19
21
  '架构设计': '245,158,11',
20
22
  '代码重构': '167,139,250',
21
23
  '学习探索': '248,113,113',