cc-insight 0.1.3 → 0.1.4

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/package.json +1 -1
  2. package/src/db/db.js +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-insight",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Local Claude Code usage dashboard — sessions, skills, efficiency, MCP servers, and shareable poster",
5
5
  "type": "module",
6
6
  "bin": {
package/src/db/db.js CHANGED
@@ -23,6 +23,8 @@ export function getDb() {
23
23
  if (!existingCols.includes('first_user_msg')) {
24
24
  _db.exec('ALTER TABLE sessions ADD COLUMN first_user_msg TEXT')
25
25
  }
26
+ // 迁移:话题名重命名
27
+ _db.exec(`UPDATE sessions SET topic = '功能开发' WHERE topic = '新功能开发'`)
26
28
  return _db
27
29
  }
28
30