sumulige-claude 1.0.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 (72) hide show
  1. package/.claude/AGENTS.md +42 -0
  2. package/.claude/README.md +142 -0
  3. package/.claude/rag/skill-index.json +15 -0
  4. package/.claude/settings.local.json +36 -0
  5. package/.claude/skills/api-tester/SKILL.md +61 -0
  6. package/.claude/skills/api-tester/examples/basic.md +3 -0
  7. package/.claude/skills/api-tester/metadata.yaml +30 -0
  8. package/.claude/skills/api-tester/templates/default.md +3 -0
  9. package/AGENTS.md +33 -0
  10. package/README.md +857 -0
  11. package/cli.js +814 -0
  12. package/development/todos/INDEX.md +114 -0
  13. package/development/todos/active/_README.md +49 -0
  14. package/development/todos/active/todo-system.md +37 -0
  15. package/development/todos/archived/_README.md +11 -0
  16. package/development/todos/backlog/_README.md +11 -0
  17. package/development/todos/backlog/mcp-integration.md +35 -0
  18. package/development/todos/completed/_README.md +11 -0
  19. package/development/todos/completed/boris-optimizations.md +39 -0
  20. package/package.json +35 -0
  21. package/template/.claude/CLAUDE-template.md +138 -0
  22. package/template/.claude/README.md +142 -0
  23. package/template/.claude/boris-optimizations.md +167 -0
  24. package/template/.claude/commands/commit-push-pr.md +59 -0
  25. package/template/.claude/commands/commit.md +53 -0
  26. package/template/.claude/commands/pr.md +76 -0
  27. package/template/.claude/commands/review.md +61 -0
  28. package/template/.claude/commands/sessions.md +62 -0
  29. package/template/.claude/commands/skill-create.md +131 -0
  30. package/template/.claude/commands/test.md +56 -0
  31. package/template/.claude/commands/todos.md +99 -0
  32. package/template/.claude/commands/verify-work.md +63 -0
  33. package/template/.claude/hooks/code-formatter.cjs +187 -0
  34. package/template/.claude/hooks/multi-session.cjs +181 -0
  35. package/template/.claude/hooks/project-kickoff.cjs +114 -0
  36. package/template/.claude/hooks/rag-skill-loader.cjs +159 -0
  37. package/template/.claude/hooks/session-end.sh +61 -0
  38. package/template/.claude/hooks/sync-to-log.sh +83 -0
  39. package/template/.claude/hooks/thinking-silent.cjs +145 -0
  40. package/template/.claude/hooks/tl-summary.sh +54 -0
  41. package/template/.claude/hooks/todo-manager.cjs +248 -0
  42. package/template/.claude/hooks/verify-work.cjs +134 -0
  43. package/template/.claude/rag/skill-index.json +135 -0
  44. package/template/.claude/settings.json +33 -0
  45. package/template/.claude/skills/SKILLS.md +145 -0
  46. package/template/.claude/skills/examples/README.md +47 -0
  47. package/template/.claude/skills/examples/basic-task.md +67 -0
  48. package/template/.claude/skills/examples/bug-fix-workflow.md +92 -0
  49. package/template/.claude/skills/examples/feature-development.md +81 -0
  50. package/template/.claude/skills/manus-kickoff/SKILL.md +128 -0
  51. package/template/.claude/skills/manus-kickoff/examples/basic.md +84 -0
  52. package/template/.claude/skills/manus-kickoff/metadata.yaml +33 -0
  53. package/template/.claude/skills/manus-kickoff/templates/PROJECT_KICKOFF.md +89 -0
  54. package/template/.claude/skills/manus-kickoff/templates/PROJECT_PROPOSAL.md +227 -0
  55. package/template/.claude/skills/manus-kickoff/templates/TASK_PLAN.md +121 -0
  56. package/template/.claude/skills/template/SKILL.md +61 -0
  57. package/template/.claude/skills/template/metadata.yaml +30 -0
  58. package/template/.claude/templates/PROJECT_KICKOFF.md +89 -0
  59. package/template/.claude/templates/PROJECT_PROPOSAL.md +227 -0
  60. package/template/.claude/templates/TASK_PLAN.md +121 -0
  61. package/template/.claude/thinking-routes/QUICKREF.md +98 -0
  62. package/template/CLAUDE-template.md +114 -0
  63. package/template/README.md +148 -0
  64. package/template/development/todos/INDEX.md +63 -0
  65. package/template/development/todos/active/_README.md +49 -0
  66. package/template/development/todos/archived/_README.md +11 -0
  67. package/template/development/todos/backlog/_README.md +11 -0
  68. package/template/development/todos/completed/_README.md +11 -0
  69. package/template/init.sh +150 -0
  70. package/template/project-paradigm.md +313 -0
  71. package/template/prompts/how-to-find.md +163 -0
  72. package/template/thinkinglens-silent.md +138 -0
@@ -0,0 +1,163 @@
1
+ # 对话历史快速查看指南
2
+
3
+ > 如何找到你的对话记录
4
+ > 最后更新:2026-01-11
5
+
6
+ ---
7
+
8
+ ## 方式一:Claude Code 内置历史(完整对话)
9
+
10
+ ### 方法 A:CLI 查看
11
+
12
+ ```bash
13
+ # 查看最近的对话列表
14
+ claude-code history
15
+
16
+ # 查看特定项目的对话
17
+ claude-code history --project evolvemind
18
+
19
+ # 查看某个对话的详情
20
+ claude-code show <conversation-id>
21
+ ```
22
+
23
+ ### 方法 B:重启时恢复
24
+
25
+ ```bash
26
+ # 在项目目录下启动 Claude Code
27
+ cd /Users/sumulige/Documents/Antigravity/evolvemind
28
+ claude-code
29
+
30
+ # 会自动恢复上次的对话上下文
31
+ ```
32
+
33
+ ---
34
+
35
+ ## 方式二:对话摘要(快速回顾)
36
+
37
+ ### 查看今日对话
38
+
39
+ ```bash
40
+ .claude/hooks/tl-summary.sh
41
+ ```
42
+
43
+ 输出示例:
44
+ ```
45
+ 📅 今日对话摘要
46
+ ────────────────────────────────────────
47
+ 会话 ID: s-20260111-evolvemind
48
+ 开始时间: 2026-01-11 10:30:00
49
+ 对话轮次: 15
50
+
51
+ 📊 操作统计:
52
+ 💬 normal: 10
53
+ 📝 code-edit: 4
54
+ ⚡ potential-action: 1
55
+
56
+ 🕐 最近活动:
57
+ 15:20 📝 Edit
58
+ 15:15 💬 UserPromptSubmit
59
+ 15:10 ⚡ 完成数据分析功能
60
+ ```
61
+
62
+ ---
63
+
64
+ ## 方式三:原始数据(开发者)
65
+
66
+ ### 查看对话流原始数据
67
+
68
+ ```bash
69
+ # 查看原始 JSON
70
+ cat .claude/thinking-routes/.conversation-flow.json
71
+
72
+ # 或用 jq 格式化查看
73
+ cat .claude/thinking-routes/.conversation-flow.json | jq '.'
74
+ ```
75
+
76
+ ### 查看思维节点
77
+
78
+ ```bash
79
+ # 查看最近 10 个思维节点
80
+ npx -p tsx tsx .claude/thinking-routes/index.ts recent 10
81
+
82
+ # 查看思维图谱(图形化)
83
+ npx -p tsx tsx .claude/thinking-routes/index.ts log --graph
84
+
85
+ # 搜索思维节点
86
+ npx -p tsx tsx .claude/thinking-routes/index.ts search "数据分析"
87
+ ```
88
+
89
+ ---
90
+
91
+ ## 方式四:项目日志(完整记录)
92
+
93
+ ### 查看 PROJECT_LOG.md
94
+
95
+ ```bash
96
+ # 查看完整项目构建历史
97
+ cat .claude/PROJECT_LOG.md
98
+
99
+ # 或用 less 分页查看
100
+ less .claude/PROJECT_LOG.md
101
+ ```
102
+
103
+ ### 查看 MEMORY.md(增量)
104
+
105
+ ```bash
106
+ # 查看最近的变更
107
+ cat .claude/MEMORY.md
108
+ ```
109
+
110
+ ---
111
+
112
+ ## 快捷命令
113
+
114
+ 把以下命令加到你的 shell 配置(`.zshrc` 或 `.bashrc`):
115
+
116
+ ```bash
117
+ # 对话摘要
118
+ alias tl='.claude/hooks/tl-summary.sh'
119
+
120
+ # 思维节点
121
+ alias tl-recent='npx -p tsx tsx .claude/thinking-routes/index.ts recent'
122
+ alias tl-graph='npx -p tsx tsx .claude/thinking-routes/index.ts log --graph'
123
+ alias tl-search='npx -p tsx tsx .claude/thinking-routes/index.ts search'
124
+
125
+ # 项目日志
126
+ alias log='cat .claude/PROJECT_LOG.md | less'
127
+ alias memory='cat .claude/MEMORY.md'
128
+ ```
129
+
130
+ 使用:
131
+ ```bash
132
+ tl # 查看对话摘要
133
+ tl-recent # 查看最近思维节点
134
+ tl-graph # 查看思维图谱
135
+ tl-search # 搜索思维节点
136
+ ```
137
+
138
+ ---
139
+
140
+ ## 数据位置
141
+
142
+ ```
143
+ .claude/thinking-routes/
144
+ ├── .conversation-flow.json # 对话流数据
145
+ ├── .current-session # 当前会话 ID
146
+ ├── sessions/ # 会话记录
147
+ ├── decisions/ # 思维节点
148
+ └── index/ # 全局索引
149
+
150
+ .claude/
151
+ ├── MEMORY.md # 增量记忆
152
+ ├── PROJECT_LOG.md # 完整日志
153
+ └── ANCHORS.md # 快速索引
154
+ ```
155
+
156
+ ---
157
+
158
+ ## 推荐工作流
159
+
160
+ 1. **日常回顾**:每天结束前执行 `tl` 查看摘要
161
+ 2. **查找决策**:用 `tl-search "关键词"` 搜索
162
+ 3. **了解历史**:查看 `MEMORY.md` 或 `PROJECT_LOG.md`
163
+ 4. **完整对话**:用 `claude-code history` 查看内置历史
@@ -0,0 +1,138 @@
1
+ # ThinkingLens 无感知模式
2
+
3
+ > 完全自动、完全静默的对话追踪
4
+ > 最后更新:2026-01-11
5
+
6
+ ---
7
+
8
+ ## 特点
9
+
10
+ ✅ **完全静默** - 对话期间零输出、零打扰
11
+ ✅ **自动追踪** - 每次 Prompt 自动记录
12
+ ✅ **智能识别** - 自动识别关键操作
13
+ ✅ **按需查看** - 想看的时候再看
14
+
15
+ ---
16
+
17
+ ## 工作原理
18
+
19
+ ```
20
+ 你: "帮我实现数据分析"
21
+
22
+ [Hook 静默执行 - 1ms]
23
+ ↓ (无输出)
24
+ AI: "好的,我来实现..."
25
+ ```
26
+
27
+ 后台自动记录:
28
+ - 对话时间
29
+ - 操作类型(代码编辑、关键决策等)
30
+ - 输入长度
31
+ - 上下文信息
32
+
33
+ ---
34
+
35
+ ## 使用方法
36
+
37
+ ### 1. 自动追踪(已启用)
38
+
39
+ 什么都不用做!系统在后台静默运行。
40
+
41
+ ### 2. 查看摘要(按需)
42
+
43
+ ```bash
44
+ .claude/hooks/tl-summary.sh
45
+ ```
46
+
47
+ 输出示例:
48
+ ```
49
+ 📅 今日对话摘要
50
+ ────────────────────────────────────────
51
+ 会话 ID: s-20260111-evolvemind
52
+ 开始时间: 2026-01-11 10:30:00
53
+ 对话轮次: 15
54
+
55
+ 📊 操作统计:
56
+ 💬 normal: 10
57
+ 📝 code-edit: 4
58
+ ⚡ potential-action: 1
59
+
60
+ 🕐 最近活动:
61
+ 15:20 📝 Edit
62
+ 15:15 💬 UserPromptSubmit
63
+ 15:10 ⚡ 完成数据分析功能
64
+ ```
65
+
66
+ ---
67
+
68
+ ## 文件位置
69
+
70
+ ```
71
+ .claude/
72
+ ├── hooks/
73
+ │ ├── thinking-silent.js # 无感知追踪 Hook ✅ 当前使用
74
+ │ ├── tl-summary.sh # 查看摘要命令
75
+ │ └── ...
76
+ └── thinking-routes/
77
+ └── .conversation-flow.json # 对话流数据
78
+ ```
79
+
80
+ ---
81
+
82
+ ## 配置
83
+
84
+ 在 `.claude/settings.json` 中:
85
+
86
+ ```json
87
+ {
88
+ "hooks": {
89
+ "UserPromptSubmit": [
90
+ {
91
+ "hooks": [{
92
+ "type": "command",
93
+ "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/thinking-silent.js",
94
+ "timeout": 1
95
+ }]
96
+ }
97
+ ]
98
+ }
99
+ }
100
+ ```
101
+
102
+ ---
103
+
104
+ ## 数据隐私
105
+
106
+ - 数据只保存在本地项目
107
+ - 不会上传到任何外部服务
108
+ - 你可以随时删除 `.conversation-flow.json`
109
+
110
+ ---
111
+
112
+ ## 迁移到新项目
113
+
114
+ 只需复制 2 个文件:
115
+
116
+ ```bash
117
+ # 1. 复制 Hook
118
+ cp .claude/hooks/thinking-silent.js /新项目/.claude/hooks/
119
+
120
+ # 2. 更新 settings.json
121
+ # 添加 UserPromptSubmit hook 配置
122
+ ```
123
+
124
+ ---
125
+
126
+ ## 常见问题
127
+
128
+ **Q: 会影响性能吗?**
129
+ A: 不会,每次执行耗时 < 1ms
130
+
131
+ **Q: 会占用多少空间?**
132
+ A: 每次对话约 100-500 字节,可忽略
133
+
134
+ **Q: 如何清空记录?**
135
+ A: 删除 `.claude/thinking-routes/.conversation-flow.json`
136
+
137
+ **Q: 对话会保存到云端吗?**
138
+ A: 不会,只保存在本地