@funnycode/myclaude 0.1.9 → 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 +94 -8
- package/README.zh-CN.md +94 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,7 +14,9 @@ npx @funnycode/myclaude
|
|
|
14
14
|
## Features
|
|
15
15
|
|
|
16
16
|
- **AI Chat** — Write, refactor, debug, and explain code via natural language
|
|
17
|
-
- **80+ Slash Commands** — `/commit`, `/review`, `/plan`, `/
|
|
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.
|
|
18
20
|
- **File Operations** — Edit, write, create, and search files with AI guidance
|
|
19
21
|
- **Git Integration** — Automatic commit messages, branch management, PR creation
|
|
20
22
|
- **MCP Support** — Model Context Protocol for extensible tool integrations
|
|
@@ -116,6 +118,12 @@ npx @funnycode/myclaude --help # Show help
|
|
|
116
118
|
| `/reload-plugins` | Reload all plugins |
|
|
117
119
|
| `/hooks` | Manage hooks |
|
|
118
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
|
+
|
|
119
127
|
### System
|
|
120
128
|
| Command | Description |
|
|
121
129
|
|---------|-------------|
|
|
@@ -140,6 +148,68 @@ npx @funnycode/myclaude --help # Show help
|
|
|
140
148
|
|
|
141
149
|
---
|
|
142
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
|
+
|
|
143
213
|
## Verified Working Features
|
|
144
214
|
|
|
145
215
|
The following features have been tested and confirmed working:
|
|
@@ -153,6 +223,8 @@ The following features have been tested and confirmed working:
|
|
|
153
223
|
- ✅ Git commit generation
|
|
154
224
|
- ✅ File editing and creation
|
|
155
225
|
- ✅ Skills system
|
|
226
|
+
- ✅ BUDDY companion (hatch, pet, card, mute)
|
|
227
|
+
- ✅ Achievements system
|
|
156
228
|
- ✅ Vim mode
|
|
157
229
|
- ✅ Config management
|
|
158
230
|
- ✅ Doctor diagnostics
|
|
@@ -206,17 +278,31 @@ The build script bundles `src/entrypoints/cli.tsx` into a single file `dist/mycl
|
|
|
206
278
|
|
|
207
279
|
```
|
|
208
280
|
src/
|
|
209
|
-
├──
|
|
210
|
-
├──
|
|
211
|
-
├──
|
|
212
|
-
├──
|
|
213
|
-
├──
|
|
214
|
-
├──
|
|
215
|
-
|
|
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
|
|
216
290
|
```
|
|
217
291
|
|
|
218
292
|
---
|
|
219
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
|
+
|
|
220
306
|
## Contributing
|
|
221
307
|
|
|
222
308
|
Pull requests are welcome!
|
package/README.zh-CN.md
CHANGED
|
@@ -14,7 +14,9 @@ npx @funnycode/myclaude
|
|
|
14
14
|
## 功能特性
|
|
15
15
|
|
|
16
16
|
- **AI 对话** — 通过自然语言编写、重构、调试和解释代码
|
|
17
|
-
- **80+ 斜杠命令** — `/commit`、`/review`、`/plan`、`/
|
|
17
|
+
- **80+ 斜杠命令** — `/commit`、`/review`、`/plan`、`/doctor`、`/buddy`、`/achievements` 等
|
|
18
|
+
- **BUDDY 伙伴** — 终端电子宠物,与你一同成长。孵化、抚摸、培养。18 个物种、5 级稀有度、闪光变异
|
|
19
|
+
- **成就系统** — 边编码边解锁 20+ 成就:连续使用、里程牌、探索发现
|
|
18
20
|
- **文件操作** — 在 AI 指导下编辑、写入、创建和搜索文件
|
|
19
21
|
- **Git 集成** — 自动生成提交信息、管理分支、创建 PR
|
|
20
22
|
- **MCP 支持** — Model Context Protocol 可扩展工具集成
|
|
@@ -116,6 +118,12 @@ npx @funnycode/myclaude --help # 查看帮助
|
|
|
116
118
|
| `/reload-plugins` | 重新加载所有插件 |
|
|
117
119
|
| `/hooks` | 管理钩子 |
|
|
118
120
|
|
|
121
|
+
### 伙伴 & 成就
|
|
122
|
+
| 命令 | 说明 |
|
|
123
|
+
|------|------|
|
|
124
|
+
| `/buddy` | 管理终端伙伴(孵化、抚摸、卡片、静音) |
|
|
125
|
+
| `/achievements` | 查看已解锁的成就和进度 |
|
|
126
|
+
|
|
119
127
|
### 系统
|
|
120
128
|
| 命令 | 说明 |
|
|
121
129
|
|------|------|
|
|
@@ -140,9 +148,69 @@ npx @funnycode/myclaude --help # 查看帮助
|
|
|
140
148
|
|
|
141
149
|
---
|
|
142
150
|
|
|
143
|
-
##
|
|
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% | ★★★★★ |
|
|
144
171
|
|
|
145
|
-
|
|
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
|
+
伙伴会对你对话的内容做出反应,通过气泡说话。每种物种都有不同的空闲动画和抚摸反应。
|
|
189
|
+
|
|
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
|
+
## 已确认可用的功能
|
|
146
214
|
|
|
147
215
|
- ✅ 交互式 REPL(与 AI 对话)
|
|
148
216
|
- ✅ 打印模式(`-p` 参数)
|
|
@@ -153,6 +221,8 @@ npx @funnycode/myclaude --help # 查看帮助
|
|
|
153
221
|
- ✅ Git 提交信息生成
|
|
154
222
|
- ✅ 文件编辑和创建
|
|
155
223
|
- ✅ 技能系统
|
|
224
|
+
- ✅ BUDDY 伙伴(孵化、抚摸、卡片、静音)
|
|
225
|
+
- ✅ 成就系统
|
|
156
226
|
- ✅ Vim 模式
|
|
157
227
|
- ✅ 配置管理
|
|
158
228
|
- ✅ Doctor 诊断
|
|
@@ -206,17 +276,31 @@ bun run version # 验证 CLI 启动
|
|
|
206
276
|
|
|
207
277
|
```
|
|
208
278
|
src/
|
|
209
|
-
├──
|
|
210
|
-
├──
|
|
211
|
-
├──
|
|
212
|
-
├──
|
|
213
|
-
├──
|
|
214
|
-
├──
|
|
215
|
-
|
|
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 主入口
|
|
216
288
|
```
|
|
217
289
|
|
|
218
290
|
---
|
|
219
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
|
+
|
|
220
304
|
## 贡献
|
|
221
305
|
|
|
222
306
|
欢迎提交 PR 参与贡献!
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funnycode/myclaude",
|
|
3
|
-
"version": "0.1.
|
|
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",
|