@funnycode/myclaude 0.1.50 → 0.1.52
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 +245 -356
- package/README.zh-CN.md +245 -356
- package/dist/myclaude.js +78 -2
- package/dist/myclaude.mjs +78 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,356 +1,245 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
| `/
|
|
81
|
-
| `/
|
|
82
|
-
| `/
|
|
83
|
-
| `/
|
|
84
|
-
| `/
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
|
91
|
-
|
|
92
|
-
| `/
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
|
100
|
-
|
|
101
|
-
| `/
|
|
102
|
-
| `/
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
|
122
|
-
|
|
123
|
-
|
|
|
124
|
-
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
/help # All commands (including ECC) appear in the help list
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
---
|
|
250
|
-
|
|
251
|
-
## Git Flow Workflow
|
|
252
|
-
|
|
253
|
-
Built-in Git Flow commands for branch-based development workflows.
|
|
254
|
-
|
|
255
|
-
| Command | Description |
|
|
256
|
-
|---------|-------------|
|
|
257
|
-
| `/new-feature <name> [from]` | Create feature branch from `main` (default) or `[from]` |
|
|
258
|
-
| `/finish-feature [target]` | Merge current feature branch to `main` (default) or `[target]` |
|
|
259
|
-
| `/new-release <version> [from]` | Create release branch from `main` (default) or `[from]` |
|
|
260
|
-
| `/finish-release` | Merge current release branch to `main` and `develop` |
|
|
261
|
-
| `/new-hotfix <name> [from]` | Create hotfix branch from `main` (default) or `[from]` |
|
|
262
|
-
| `/finish-hotfix` | Merge current hotfix branch to `main` and `develop` |
|
|
263
|
-
|
|
264
|
-
**Examples:**
|
|
265
|
-
```bash
|
|
266
|
-
/new-feature user-auth # feature/user-auth from main
|
|
267
|
-
/new-feature api-rate-limit develop # feature/api-rate-limit from develop
|
|
268
|
-
/finish-feature # merge current feature/* to main
|
|
269
|
-
/finish-feature develop # merge current feature/* to develop
|
|
270
|
-
/new-release 1.2.0 # release/1.2.0 from main
|
|
271
|
-
/new-hotfix security-patch # hotfix/security-patch from main
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
---
|
|
275
|
-
|
|
276
|
-
## Environment Variables
|
|
277
|
-
|
|
278
|
-
Supports both `MYCLAUDE_*` and `CLAUDE_CODE_*` names.
|
|
279
|
-
`CLAUDE_CODE_*` takes priority if both are set.
|
|
280
|
-
|
|
281
|
-
| Variable | Description |
|
|
282
|
-
|----------|-------------|
|
|
283
|
-
| `ANTHROPIC_API_KEY` / `MYCLAUDE_API_KEY` | API key (required) |
|
|
284
|
-
| `ANTHROPIC_BASE_URL` / `MYCLAUDE_BASE_URL` | Custom API base URL |
|
|
285
|
-
| `MYCLAUDE_MODEL` | Model override |
|
|
286
|
-
| `MYCLAUDE_SIMPLE` | Simple mode (no TUI) |
|
|
287
|
-
| `MYCLAUDE_BRIEF` | Brief mode |
|
|
288
|
-
| `MYCLAUDE_DISABLE_THINKING` | Disable extended thinking |
|
|
289
|
-
| `MYCLAUDE_PROACTIVE` | Proactive mode |
|
|
290
|
-
| `MYCLAUDE_USE_BEDROCK` | Use AWS Bedrock |
|
|
291
|
-
| `MYCLAUDE_USE_VERTEX` | Use Google Vertex AI |
|
|
292
|
-
| `MYCLAUDE_USE_FOUNDRY` | Use Microsoft Foundry |
|
|
293
|
-
| `MYCLAUDE_DISABLE_AUTO_MEMORY` | Disable auto memory |
|
|
294
|
-
| `MYCLAUDE_SYNTAX_HIGHLIGHT` | Syntax highlight theme |
|
|
295
|
-
| `MYCLAUDE_IDLE_THRESHOLD_MINUTES` | Idle timeout (default: 75) |
|
|
296
|
-
| `MYCLAUDE_EFFORT_LEVEL` | Effort level |
|
|
297
|
-
|
|
298
|
-
---
|
|
299
|
-
|
|
300
|
-
## Development
|
|
301
|
-
|
|
302
|
-
```bash
|
|
303
|
-
git clone https://github.com/thomaslwq/myclaude.git
|
|
304
|
-
cd myclaude
|
|
305
|
-
bun install
|
|
306
|
-
bun run dev # Development mode
|
|
307
|
-
bun run build # Build to dist/myclaude.mjs
|
|
308
|
-
bun run version # Verify CLI boots
|
|
309
|
-
```
|
|
310
|
-
|
|
311
|
-
### Build Output
|
|
312
|
-
|
|
313
|
-
The build script bundles `src/entrypoints/cli.tsx` into a single file `dist/myclaude.mjs`, injecting compile-time constants such as version number.
|
|
314
|
-
|
|
315
|
-
### Directory Structure
|
|
316
|
-
|
|
317
|
-
```
|
|
318
|
-
src/
|
|
319
|
-
├── achievements/ # Achievement system (types, storage, checker)
|
|
320
|
-
├── buddy/ # BUDDY companion (sprites, animations, evolution, types)
|
|
321
|
-
├── commands/ # Slash command implementations
|
|
322
|
-
├── components/ # React Ink UI components
|
|
323
|
-
├── events/ # Event calendar (seasonal easter eggs)
|
|
324
|
-
├── services/ # Backend services (API, MCP, analytics)
|
|
325
|
-
├── tools/ # Tool implementations
|
|
326
|
-
├── utils/ # Shared utilities (envCompat, config, etc.)
|
|
327
|
-
├── entrypoints/ # CLI entry points
|
|
328
|
-
└── main.tsx # TUI main entry
|
|
329
|
-
```
|
|
330
|
-
|
|
331
|
-
---
|
|
332
|
-
|
|
333
|
-
## Contributing
|
|
334
|
-
|
|
335
|
-
Pull requests are welcome!
|
|
336
|
-
|
|
337
|
-
### Guidelines
|
|
338
|
-
|
|
339
|
-
- Fork the repo and create a feature branch
|
|
340
|
-
- Keep changes focused and minimal
|
|
341
|
-
- Test your changes before submitting
|
|
342
|
-
- Open a PR against the `main` branch
|
|
343
|
-
|
|
344
|
-
---
|
|
345
|
-
|
|
346
|
-
## Links
|
|
347
|
-
|
|
348
|
-
- **GitHub**: [https://github.com/thomaslwq/myclaude](https://github.com/thomaslwq/myclaude)
|
|
349
|
-
- **Gitee**: [https://gitee.com/thomaslwq/myclaude](https://gitee.com/thomaslwq/myclaude) (mirror)
|
|
350
|
-
- **npm**: [https://www.npmjs.com/package/@funnycode/myclaude](https://www.npmjs.com/package/@funnycode/myclaude)
|
|
351
|
-
|
|
352
|
-
---
|
|
353
|
-
|
|
354
|
-
## License
|
|
355
|
-
|
|
356
|
-
MIT
|
|
1
|
+
# 🎭 myclaude
|
|
2
|
+
|
|
3
|
+
> **Your AI coding sidekick in the terminal — write smarter, ship faster.**
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx @funnycode/myclaude
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
[](https://www.npmjs.com/package/@funnycode/myclaude)
|
|
10
|
+
[](LICENSE)
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## ✨ What Makes MyClaude Different?
|
|
15
|
+
|
|
16
|
+
| | Feature | Why You'll Love It |
|
|
17
|
+
|---|---------|-------------------|
|
|
18
|
+
| 🐾 | **BUDDY Pet** | A virtual pet grows as you code — hatch it, feed it, play with it. 18 species, legendary rarity, shiny variants. |
|
|
19
|
+
| 🏆 | **Achievements** | Unlock 20+ achievements. Streaks, milestones, discoveries — your coding journey gamified. |
|
|
20
|
+
| 🎯 | **Frontend TDD** | `/frontend-tdd` — Red-Green-Refactor workflow for frontend testing, built right in. |
|
|
21
|
+
| 🌊 | **Git Flow** | `/new-feature`, `/finish-release`, `/new-hotfix` — full Git Flow workflow as slash commands. |
|
|
22
|
+
| 🤖 | **ECC Built-in** | 76+ commands and 246+ skills loaded at startup — zero setup. |
|
|
23
|
+
| 🧠 | **AI Chat** | Write, refactor, debug, and explain code. Multi-model (Anthropic, Bedrock, Vertex, Foundry). |
|
|
24
|
+
| 🎨 | **Beautiful TUI** | React Ink terminal UI with themes, Vim mode, syntax highlighting. |
|
|
25
|
+
| 🔌 | **Plugins & MCP** | Extend with plugins, MCP servers, custom skills. |
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 🚀 Start in 10 Seconds
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Set your API key
|
|
33
|
+
export ANTHROPIC_API_KEY=sk-ant-...
|
|
34
|
+
|
|
35
|
+
# Run instantly (no install needed)
|
|
36
|
+
npx @funnycode/myclaude
|
|
37
|
+
|
|
38
|
+
# Or install globally
|
|
39
|
+
npm install -g @funnycode/myclaude
|
|
40
|
+
myclaude
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**Prerequisites:** Bun ≥ 1.3.5 (or Node.js ≥ 22.17) · Git
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 🎮 Slash Commands at a Glance
|
|
48
|
+
|
|
49
|
+
### 📍 Essential
|
|
50
|
+
| Command | What it does |
|
|
51
|
+
|---------|-------------|
|
|
52
|
+
| `/help` | Show help |
|
|
53
|
+
| `/config` | Configure settings |
|
|
54
|
+
| `/doctor` | Diagnose & verify installation |
|
|
55
|
+
| `/model` | Switch AI model |
|
|
56
|
+
| `/effort` | Set effort level |
|
|
57
|
+
|
|
58
|
+
### 🧪 Testing & Quality
|
|
59
|
+
| Command | What it does |
|
|
60
|
+
|---------|-------------|
|
|
61
|
+
| **`/frontend-tdd <description>`** | **TDD Red-Green-Refactor cycle for frontend features** |
|
|
62
|
+
| `/review` | Review a pull request |
|
|
63
|
+
| `/plan` | Create an implementation plan |
|
|
64
|
+
|
|
65
|
+
### 🌊 Git Flow
|
|
66
|
+
| Command | What it does |
|
|
67
|
+
|---------|-------------|
|
|
68
|
+
| `/new-feature <name> [from]` | Create feature branch from `main` |
|
|
69
|
+
| `/finish-feature [target]` | Merge feature to `main` |
|
|
70
|
+
| `/new-release <version> [from]` | Create release branch |
|
|
71
|
+
| `/finish-release` | Merge release to `main` & `develop` |
|
|
72
|
+
| `/new-hotfix <name> [from]` | Create hotfix branch |
|
|
73
|
+
| `/finish-hotfix` | Merge hotfix to `main` & `develop` |
|
|
74
|
+
| `/commit` | Generate a git commit |
|
|
75
|
+
|
|
76
|
+
### 🐾 BUDDY & Achievements
|
|
77
|
+
| Command | What it does |
|
|
78
|
+
|---------|-------------|
|
|
79
|
+
| `/buddy hatch` | Hatch a new companion |
|
|
80
|
+
| `/buddy pet` | Pet your buddy (+5 XP ❤️) |
|
|
81
|
+
| `/buddy feed` | Feed your buddy (+15 XP) |
|
|
82
|
+
| `/buddy play` | Play with your buddy (+20 XP) |
|
|
83
|
+
| `/buddy card` | View stats & milestones |
|
|
84
|
+
| `/achievements` | Track your unlocks |
|
|
85
|
+
|
|
86
|
+
### 🔌 Integrations
|
|
87
|
+
| Command | What it does |
|
|
88
|
+
|---------|-------------|
|
|
89
|
+
| `/mcp` | Manage MCP servers |
|
|
90
|
+
| `/plugin` | Install & manage plugins |
|
|
91
|
+
| `/hooks` | Manage hooks |
|
|
92
|
+
| `/skills` | List available skills |
|
|
93
|
+
|
|
94
|
+
### ⚙️ System
|
|
95
|
+
| Command | What it does |
|
|
96
|
+
|---------|-------------|
|
|
97
|
+
| `/status` | Session & auth status |
|
|
98
|
+
| `/vim` | Toggle Vim mode |
|
|
99
|
+
| `/theme` | Change UI theme |
|
|
100
|
+
| `/keybindings` | Customize shortcuts |
|
|
101
|
+
| `/memory` | Manage AI memory |
|
|
102
|
+
| `/feedback` | Submit feedback |
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## 🐾 BUDDY — Your Terminal Pet
|
|
107
|
+
|
|
108
|
+
myclaude has a virtual pet that **lives in your terminal**. It's generated from your user ID — **yours is unique, no two alike**.
|
|
109
|
+
|
|
110
|
+
### 18 Species
|
|
111
|
+
|
|
112
|
+
🦆 Duck · 🪿 Goose · 🫧 Blob · 🐱 Cat · 🐉 Dragon · 🐙 Octopus · 🦉 Owl
|
|
113
|
+
🐧 Penguin · 🐢 Turtle · 🐌 Snail · 👻 Ghost · 🦎 Axolotl · 🦫 Capybara
|
|
114
|
+
🌵 Cactus · 🤖 Robot · 🐰 Rabbit · 🍄 Mushroom · 🐈 Chonk
|
|
115
|
+
|
|
116
|
+
### Rarity & Stats
|
|
117
|
+
|
|
118
|
+
| Rarity | Odds | Stars |
|
|
119
|
+
|--------|------|-------|
|
|
120
|
+
| Common | 60% | ★ |
|
|
121
|
+
| Uncommon | 25% | ★★ |
|
|
122
|
+
| Rare | 10% | ★★★ |
|
|
123
|
+
| Epic | 4% | ★★★★ |
|
|
124
|
+
| Legendary | **1%** | ★★★★★ |
|
|
125
|
+
| ✨ Shiny | **1%** (independent) | Sparkles! |
|
|
126
|
+
|
|
127
|
+
Each companion has 5 stats: `DEBUGGING`, `PATIENCE`, `CHAOS`, `WISDOM`, `SNARK`. Gain XP, level up (max 50), and **evolve** into new forms.
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## 🎯 Frontend TDD
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
/frontend-tdd Create a user login form with email validation
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
This command guides the AI through the **Red-Green-Refactor** cycle:
|
|
138
|
+
|
|
139
|
+
🔴 **Red** → Write a failing test first
|
|
140
|
+
🟢 **Green** → Minimum code to pass
|
|
141
|
+
🔵 **Refactor** → Clean up, keep the test green
|
|
142
|
+
|
|
143
|
+
It includes frontend-specific testing best practices: Testing Library behavior queries, `user-event` over `fireEvent`, async handling with `waitFor`/`findBy*`, MSW for API mocking, and accessibility-first selectors.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## 🌊 Git Flow Workflow
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
/new-feature user-auth # feature/user-auth from main
|
|
151
|
+
/new-feature api-rate-limit develop # feature/api-rate-limit from develop
|
|
152
|
+
/finish-feature # merge to main
|
|
153
|
+
/finish-feature develop # merge to develop instead
|
|
154
|
+
/new-release 1.2.0 # release/1.2.0 from main
|
|
155
|
+
/new-hotfix security-patch # hotfix/security-patch from main
|
|
156
|
+
/finish-hotfix # merge to main & develop
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
All commands default to `main` and accept an optional `[from]` or `[target]` argument.
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
## 🔌 Built-in Integrations
|
|
164
|
+
|
|
165
|
+
### CodeGraph — Semantic Code Intelligence
|
|
166
|
+
Auto-detects `codegraph` CLI and enables it as a built-in plugin for surgical code context.
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
npm i -g @colbymchenry/codegraph
|
|
170
|
+
cd your-project
|
|
171
|
+
codegraph init
|
|
172
|
+
/plugin enable codegraph
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### ECC — Agent Operating System
|
|
176
|
+
**76+ commands and 246+ skills** are loaded at startup — no install, no config. Just start typing `/`.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## ⚙️ Environment Variables
|
|
181
|
+
|
|
182
|
+
Use `MYCLAUDE_*` or `CLAUDE_CODE_*` (the latter takes priority).
|
|
183
|
+
|
|
184
|
+
| Key Variables | What it does |
|
|
185
|
+
|--------------|-------------|
|
|
186
|
+
| `ANTHROPIC_API_KEY` / `MYCLAUDE_API_KEY` | API key (required) |
|
|
187
|
+
| `ANTHROPIC_BASE_URL` | Custom API endpoint |
|
|
188
|
+
| `MYCLAUDE_MODEL` | Override model |
|
|
189
|
+
| `MYCLAUDE_SIMPLE` | Non-TUI mode |
|
|
190
|
+
| `MYCLAUDE_DISABLE_THINKING` | Skip extended thinking |
|
|
191
|
+
| `MYCLAUDE_USE_BEDROCK` | AWS Bedrock provider |
|
|
192
|
+
| `MYCLAUDE_USE_VERTEX` | Google Vertex AI provider |
|
|
193
|
+
| `MYCLAUDE_USE_FOUNDRY` | Microsoft Foundry provider |
|
|
194
|
+
| `MYCLAUDE_SYNTAX_HIGHLIGHT` | Highlight theme |
|
|
195
|
+
| `MYCLAUDE_IDLE_THRESHOLD_MINUTES` | Idle timeout (default: 75) |
|
|
196
|
+
| `MYCLAUDE_EFFORT_LEVEL` | Effort level |
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## 🛠 Dev
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
git clone https://github.com/thomaslwq/myclaude.git
|
|
204
|
+
cd myclaude
|
|
205
|
+
bun install
|
|
206
|
+
bun run dev # Dev mode
|
|
207
|
+
bun run build # Bundle to dist/myclaude.mjs
|
|
208
|
+
bun run version # Verify CLI boots
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### Structure
|
|
212
|
+
|
|
213
|
+
```
|
|
214
|
+
src/
|
|
215
|
+
├── achievements/ # Achievement system
|
|
216
|
+
├── buddy/ # BUDDY companion (sprites, evolution)
|
|
217
|
+
├── commands/ # All slash commands
|
|
218
|
+
├── components/ # React Ink UI
|
|
219
|
+
├── events/ # Calendar & seasonal easter eggs
|
|
220
|
+
├── services/ # API, MCP, analytics
|
|
221
|
+
├── tools/ # Tool implementations
|
|
222
|
+
├── utils/ # Shared utilities
|
|
223
|
+
├── entrypoints/ # CLI entry points
|
|
224
|
+
└── main.tsx # TUI main entry
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## 🤝 Contributing
|
|
230
|
+
|
|
231
|
+
PRs welcome! Fork → branch → small focused changes → test → PR.
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## 📎 Links
|
|
236
|
+
|
|
237
|
+
- **GitHub**: [github.com/thomaslwq/myclaude](https://github.com/thomaslwq/myclaude)
|
|
238
|
+
- **Gitee**: [gitee.com/thomaslwq/myclaude](https://gitee.com/thomaslwq/myclaude)
|
|
239
|
+
- **npm**: [npmjs.com/package/@funnycode/myclaude](https://www.npmjs.com/package/@funnycode/myclaude)
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## 📄 License
|
|
244
|
+
|
|
245
|
+
MIT
|