@funnycode/myclaude 0.1.8 → 0.1.10

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
@@ -3,6 +3,8 @@
3
3
  **myclaude** — An open-source AI coding assistant that runs in your terminal.
4
4
  This project is a fork/rebrand of Claude Code, committed to providing an independent, open AI coding experience.
5
5
 
6
+ ![myclaude](docs/funnycode.png)
7
+
6
8
  ```bash
7
9
  npx @funnycode/myclaude
8
10
  ```
@@ -12,7 +14,9 @@ npx @funnycode/myclaude
12
14
  ## Features
13
15
 
14
16
  - **AI Chat** — Write, refactor, debug, and explain code via natural language
15
- - **80+ Slash Commands** — `/commit`, `/review`, `/plan`, `/test`, `/doctor` and more
17
+ - **80+ Slash Commands** — `/commit`, `/review`, `/plan`, `/doctor`, `/buddy`, `/achievements` and more
18
+ - **BUDDY Companion** — A terminal pet that grows with you. Hatch, pet, and bond with your ASCII companion. 18 species, 5 rarity tiers, shiny variants.
19
+ - **Achievements** — Unlock 20+ achievements as you code: streaks, milestones, discoveries.
16
20
  - **File Operations** — Edit, write, create, and search files with AI guidance
17
21
  - **Git Integration** — Automatic commit messages, branch management, PR creation
18
22
  - **MCP Support** — Model Context Protocol for extensible tool integrations
@@ -114,6 +118,12 @@ npx @funnycode/myclaude --help # Show help
114
118
  | `/reload-plugins` | Reload all plugins |
115
119
  | `/hooks` | Manage hooks |
116
120
 
121
+ ### Companion & Achievements
122
+ | Command | Description |
123
+ |---------|-------------|
124
+ | `/buddy` | Manage your terminal companion (hatch, pet, card, mute) |
125
+ | `/achievements` | View unlocked achievements and progress |
126
+
117
127
  ### System
118
128
  | Command | Description |
119
129
  |---------|-------------|
@@ -138,6 +148,68 @@ npx @funnycode/myclaude --help # Show help
138
148
 
139
149
  ---
140
150
 
151
+ ## BUDDY — Your Terminal Companion
152
+
153
+ myclaude comes with a built-in virtual pet that lives in your terminal. Each pet is **deterministically generated** from your user ID — what you get is uniquely yours and cannot be cheated.
154
+
155
+ ### Species (18 total)
156
+
157
+ 🦆 Duck   🪿 Goose   🫧 Blob   🐱 Cat   🐉 Dragon
158
+ 🐙 Octopus   🦉 Owl   🐧 Penguin   🐢 Turtle   🐌 Snail
159
+ 👻 Ghost   🦎 Axolotl   🦫 Capybara   🌵 Cactus   🤖 Robot
160
+ 🐰 Rabbit   🍄 Mushroom   🐈 Chonk
161
+
162
+ ### Rarity System
163
+
164
+ | Rarity | Chance | Stars |
165
+ |--------|--------|-------|
166
+ | Common | 60% | ★ |
167
+ | Uncommon | 25% | ★★ |
168
+ | Rare | 10% | ★★★ |
169
+ | Epic | 4% | ★★★★ |
170
+ | Legendary | 1% | ★★★★★ |
171
+
172
+ There's also a **1% shiny chance** independent of rarity — shiny companions sparkle ✨
173
+
174
+ ### Stats
175
+
176
+ Each companion has 5 attributes: `DEBUGGING`, `PATIENCE`, `CHAOS`, `WISDOM`, `SNARK` — with one peak stat and one dump stat.
177
+
178
+ ### Commands
179
+
180
+ | Command | Description |
181
+ |---------|-------------|
182
+ | `/buddy hatch` | Hatch a new companion |
183
+ | `/buddy pet` | Pet your companion (hearts animation) |
184
+ | `/buddy card` | View companion card with stats |
185
+ | `/buddy mute` | Hide companion from terminal |
186
+ | `/buddy unmute` | Show companion again |
187
+
188
+ The companion reacts to your conversation and occasionally comments via speech bubbles. Each species has custom idle animations and pet reactions.
189
+
190
+ ---
191
+
192
+ ## Achievements
193
+
194
+ Unlock achievements as you use myclaude. Track your progress with `/achievements`.
195
+
196
+ ### Categories
197
+
198
+ | Category | Description |
199
+ |----------|-------------|
200
+ | 🌟 Getting Started | First hatch, first commit, first review, first plugin, first skill |
201
+ | 📊 Usage | 10/100 commits, 100/1000 messages, model switching, config changes |
202
+ | 🔥 Streaks | 3/7/30 consecutive days of use |
203
+ | 🐾 Buddy | Hatch, pet 10/100 times, legendary or shiny companion |
204
+ | ⚡ Power | Add an MCP server |
205
+
206
+ ```bash
207
+ /achievements # Show unlocked achievements summary
208
+ /achievements list # Show all achievements with progress
209
+ ```
210
+
211
+ ---
212
+
141
213
  ## Verified Working Features
142
214
 
143
215
  The following features have been tested and confirmed working:
@@ -151,6 +223,8 @@ The following features have been tested and confirmed working:
151
223
  - ✅ Git commit generation
152
224
  - ✅ File editing and creation
153
225
  - ✅ Skills system
226
+ - ✅ BUDDY companion (hatch, pet, card, mute)
227
+ - ✅ Achievements system
154
228
  - ✅ Vim mode
155
229
  - ✅ Config management
156
230
  - ✅ Doctor diagnostics
@@ -204,17 +278,31 @@ The build script bundles `src/entrypoints/cli.tsx` into a single file `dist/mycl
204
278
 
205
279
  ```
206
280
  src/
207
- ├── commands/ # Slash command implementations
208
- ├── components/ # React Ink UI components
209
- ├── services/ # Backend services (API, MCP, analytics)
210
- ├── tools/ # Tool implementations
211
- ├── utils/ # Shared utilities
212
- ├── entrypoints/ # CLI entry points
213
- └── main.tsx # TUI main entry
281
+ ├── achievements/ # Achievement system (types, storage, checker)
282
+ ├── buddy/ # BUDDY companion (sprites, animations, types)
283
+ ├── commands/ # Slash command implementations
284
+ ├── components/ # React Ink UI components
285
+ ├── services/ # Backend services (API, MCP, analytics)
286
+ ├── tools/ # Tool implementations
287
+ ├── utils/ # Shared utilities
288
+ ├── entrypoints/ # CLI entry points
289
+ └── main.tsx # TUI main entry
214
290
  ```
215
291
 
216
292
  ---
217
293
 
294
+ ## Roadmap
295
+
296
+ See [docs/ROADMAP.md](docs/ROADMAP.md) for the full iteration plan:
297
+
298
+ - **P0** — Activate hidden features (BUDDY, Auto Memory) ✅
299
+ - **P1** — Growth system (Achievements, skill recommendations)
300
+ - **P2** — Interactive experience (multi-interaction, events)
301
+ - **P3** — Extension ecosystem (plugin marketplace, Skill Studio)
302
+ - **P4** — Intelligent evolution (personalized fine-tuning, offline mode)
303
+
304
+ ---
305
+
218
306
  ## Contributing
219
307
 
220
308
  Pull requests are welcome!
package/README.zh-CN.md CHANGED
@@ -3,6 +3,8 @@
3
3
  **myclaude** — 开源的 AI 编程助手,运行在你的终端中。
4
4
  本项目是 Claude Code 的 fork/rebrand,致力于提供独立、开放的 AI 编码体验。
5
5
 
6
+ ![myclaude](docs/funnycode.png)
7
+
6
8
  ```bash
7
9
  npx @funnycode/myclaude
8
10
  ```
@@ -12,7 +14,9 @@ npx @funnycode/myclaude
12
14
  ## 功能特性
13
15
 
14
16
  - **AI 对话** — 通过自然语言编写、重构、调试和解释代码
15
- - **80+ 斜杠命令** — `/commit`、`/review`、`/plan`、`/test`、`/doctor` 等
17
+ - **80+ 斜杠命令** — `/commit`、`/review`、`/plan`、`/doctor`、`/buddy`、`/achievements` 等
18
+ - **BUDDY 伙伴** — 终端电子宠物,与你一同成长。孵化、抚摸、培养。18 个物种、5 级稀有度、闪光变异
19
+ - **成就系统** — 边编码边解锁 20+ 成就:连续使用、里程牌、探索发现
16
20
  - **文件操作** — 在 AI 指导下编辑、写入、创建和搜索文件
17
21
  - **Git 集成** — 自动生成提交信息、管理分支、创建 PR
18
22
  - **MCP 支持** — Model Context Protocol 可扩展工具集成
@@ -114,6 +118,12 @@ npx @funnycode/myclaude --help # 查看帮助
114
118
  | `/reload-plugins` | 重新加载所有插件 |
115
119
  | `/hooks` | 管理钩子 |
116
120
 
121
+ ### 伙伴 & 成就
122
+ | 命令 | 说明 |
123
+ |------|------|
124
+ | `/buddy` | 管理终端伙伴(孵化、抚摸、卡片、静音) |
125
+ | `/achievements` | 查看已解锁的成就和进度 |
126
+
117
127
  ### 系统
118
128
  | 命令 | 说明 |
119
129
  |------|------|
@@ -138,9 +148,69 @@ npx @funnycode/myclaude --help # 查看帮助
138
148
 
139
149
  ---
140
150
 
141
- ## 已确认可用的功能
151
+ ## BUDDY — 终端电子伙伴
152
+
153
+ myclaude 内置了一个终端电子宠物。每只宠物都根据你的用户 ID **确定性生成**——独一无二,不可作弊。
154
+
155
+ ### 物种(共 18 种)
156
+
157
+ 🦆 鸭子   🪿 鹅   🫧 果冻   🐱 猫   🐉 龙
158
+ 🐙 章鱼   🦉 猫头鹰   🐧 企鹅   🐢 乌龟   🐌 蜗牛
159
+ 👻 幽灵   🦎 六角恐龙   🦫 水豚   🌵 仙人掌   🤖 机器人
160
+ 🐰 兔子   🍄 蘑菇   🐈 胖猫
161
+
162
+ ### 稀有度系统
163
+
164
+ | 稀有度 | 概率 | 星级 |
165
+ |--------|------|------|
166
+ | 普通 | 60% | ★ |
167
+ | 非凡 | 25% | ★★ |
168
+ | 稀有 | 10% | ★★★ |
169
+ | 史诗 | 4% | ★★★★ |
170
+ | 传说 | 1% | ★★★★★ |
171
+
172
+ 还有独立于稀有度的 **1% 闪光概率**——闪光伙伴会闪闪发光 ✨
173
+
174
+ ### 属性
175
+
176
+ 每只伙伴有 5 项属性:`DEBUGGING`(调试)、`PATIENCE`(耐心)、`CHAOS`(混乱)、`WISDOM`(智慧)、`SNARK`(毒舌)——各有一项峰值属性和一项最低属性。
177
+
178
+ ### 命令
179
+
180
+ | 命令 | 说明 |
181
+ |------|------|
182
+ | `/buddy hatch` | 孵化一只伙伴 |
183
+ | `/buddy pet` | 抚摸伙伴(爱心动画) |
184
+ | `/buddy card` | 查看伙伴卡片(属性、稀有度) |
185
+ | `/buddy mute` | 隐藏伙伴 |
186
+ | `/buddy unmute` | 重新显示伙伴 |
187
+
188
+ 伙伴会对你对话的内容做出反应,通过气泡说话。每种物种都有不同的空闲动画和抚摸反应。
142
189
 
143
- 以下功能已经过测试并确认可用:
190
+ ---
191
+
192
+ ## 成就系统
193
+
194
+ 边使用 myclaude 边解锁成就。用 `/achievements` 查看进度。
195
+
196
+ ### 分类
197
+
198
+ | 类别 | 说明 |
199
+ |------|------|
200
+ | 🌟 入门 | 首次孵化、首次提交、首次审查、首次插件、首次技能 |
201
+ | 📊 使用 | 10/100 次提交、100/1000 条消息、切换模型、修改配置 |
202
+ | 🔥 连续 | 连续 3/7/30 天使用 |
203
+ | 🐾 Buddy | 孵化、抚摸 10/100 次、传说或闪光伙伴 |
204
+ | ⚡ 高级 | 添加 MCP 服务器 |
205
+
206
+ ```bash
207
+ /achievements # 查看已解锁成就摘要
208
+ /achievements list # 查看全部成就及进度
209
+ ```
210
+
211
+ ---
212
+
213
+ ## 已确认可用的功能
144
214
 
145
215
  - ✅ 交互式 REPL(与 AI 对话)
146
216
  - ✅ 打印模式(`-p` 参数)
@@ -151,6 +221,8 @@ npx @funnycode/myclaude --help # 查看帮助
151
221
  - ✅ Git 提交信息生成
152
222
  - ✅ 文件编辑和创建
153
223
  - ✅ 技能系统
224
+ - ✅ BUDDY 伙伴(孵化、抚摸、卡片、静音)
225
+ - ✅ 成就系统
154
226
  - ✅ Vim 模式
155
227
  - ✅ 配置管理
156
228
  - ✅ Doctor 诊断
@@ -204,17 +276,31 @@ bun run version # 验证 CLI 启动
204
276
 
205
277
  ```
206
278
  src/
207
- ├── commands/ # 斜杠命令实现
208
- ├── components/ # React Ink UI 组件
209
- ├── services/ # 后端服务(API、MCP、分析)
210
- ├── tools/ # 工具实现
211
- ├── utils/ # 共享工具函数
212
- ├── entrypoints/ # CLI 入口
213
- └── main.tsx # TUI 主入口
279
+ ├── achievements/ # 成就系统(类型定义、存储、检查器)
280
+ ├── buddy/ # BUDDY 伙伴(精灵图、动画、类型)
281
+ ├── commands/ # 斜杠命令实现
282
+ ├── components/ # React Ink UI 组件
283
+ ├── services/ # 后端服务(API、MCP、分析)
284
+ ├── tools/ # 工具实现
285
+ ├── utils/ # 共享工具函数
286
+ ├── entrypoints/ # CLI 入口
287
+ └── main.tsx # TUI 主入口
214
288
  ```
215
289
 
216
290
  ---
217
291
 
292
+ ## 路线图
293
+
294
+ 详见 [docs/ROADMAP.md](docs/ROADMAP.md):
295
+
296
+ - **P0** — 激活隐藏功能(BUDDY、Auto Memory)✅
297
+ - **P1** — 成长系统(成就、技能推荐)
298
+ - **P2** — 互动体验(多交互模式、节日事件)
299
+ - **P3** — 扩展生态(插件市场、Skill Studio)
300
+ - **P4** — 智能进化(个性化微调、离线模式)
301
+
302
+ ---
303
+
218
304
  ## 贡献
219
305
 
220
306
  欢迎提交 PR 参与贡献!
package/dist/myclaude.js CHANGED
@@ -5,7 +5,7 @@
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
7
  VERSION: "0.1.8",
8
- BUILD_TIME: "2026-06-12T13:17:16.271Z",
8
+ BUILD_TIME: "2026-06-12T13:23:10.387Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
Binary file
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
- "readme": "# @funnycode/myclaude\n\n**myclaude** — An open-source AI coding assistant that runs in your terminal.\nThis project is a fork/rebrand of Claude Code, committed to providing an independent, open AI coding experience.\n\n## Quick Start\n\n- Run: `npx @funnycode/myclaude`\n- Requires: Node.js >= 18 and an Anthropic API key\n- Set: `export ANTHROPIC_API_KEY=sk-ant-...`\n\n## Features\n\n- AI Chat, 80+ Slash Commands, File Operations, Git Integration\n- MCP Support, Plugin System, Agent Mode, Skills System\n- React Ink Terminal UI with themes, Vim mode, syntax highlighting\n- Multi-Model: Anthropic, AWS Bedrock, Google Vertex AI, Microsoft Foundry\n\n## Links\n\n- Gitee: https://gitee.com/thomaslwq/myclaude\n- GitHub: https://github.com/thomaslwq/myclaude\n- npm: https://www.npmjs.com/package/@funnycode/myclaude\n\n## License\n\nMIT",
6
+ "readme": "# @funnycode/myclaude\n\n**myclaude** — An open-source AI coding assistant that runs in your terminal.\nThis project is a fork/rebrand of Claude Code, committed to providing an independent, open AI coding experience.\n\n## Quick Start\n\n- Run: `npx @funnycode/myclaude`\n- Requires: Node.js >= 18 and an Anthropic API key\n- Set: `export ANTHROPIC_API_KEY=sk-ant-...`\n\n## Features\n\n- AI Chat, 80+ Slash Commands, File Operations, Git Integration\n- MCP Support, Plugin System, Agent Mode, Skills System\n- **BUDDY Companion** — A terminal pet (18 species, rarity, shiny)\n- **Achievements** — Unlock 20+ achievements as you code\n- React Ink Terminal UI with themes, Vim mode, syntax highlighting\n- Multi-Model: Anthropic, AWS Bedrock, Google Vertex AI, Microsoft Foundry\n\n## BUDDY Commands\n\n- `/buddy hatch` — Hatch a companion\n- `/buddy pet` — Pet your companion\n- `/buddy card` — View stats card\n- `/achievements` — View unlocked achievements\n\n## Links\n\n- Gitee: https://gitee.com/thomaslwq/myclaude\n- GitHub: https://github.com/thomaslwq/myclaude\n- npm: https://www.npmjs.com/package/@funnycode/myclaude\n\n## License\n\nMIT",
7
7
  "license": "MIT",
8
8
  "type": "module",
9
9
  "packageManager": "bun@1.3.5",
@@ -34,7 +34,9 @@
34
34
  "bin/",
35
35
  "LICENSE",
36
36
  "README.md",
37
- "CHANGELOG.md"
37
+ "README.zh-CN.md",
38
+ "CHANGELOG.md",
39
+ "docs/funnycode.png"
38
40
  ],
39
41
  "publishConfig": {
40
42
  "access": "public"