@funnycode/myclaude 0.1.200 โ 0.1.268
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 +317 -308
- package/dist/myclaude.js +1689 -659
- package/dist/myclaude.mjs +1689 -659
- package/package.json +131 -131
package/README.md
CHANGED
|
@@ -1,308 +1,317 @@
|
|
|
1
|
-
# ๐ญ myclaude
|
|
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
|
-
| Command | What it does |
|
|
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
|
-
export
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
export
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
export
|
|
255
|
-
export
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
1
|
+
# ๐ญ myclaude
|
|
2
|
+
|
|
3
|
+
> **โ ๏ธ SECURITY NOTICE: This is an open-source fork/rebrand of Anthropic's Claude Code.**
|
|
4
|
+
> This package is **NOT** the official Anthropic package. It is published by a third party
|
|
5
|
+
> under the `@funnycode` organization. If you are looking for the official Anthropic
|
|
6
|
+
> package, use `@anthropic-ai/claude-code` (if available) or visit https://claude.ai.
|
|
7
|
+
>
|
|
8
|
+
> This fork uses the official Anthropic SDK to communicate with the Anthropic API โ
|
|
9
|
+
> your API keys are sent directly to Anthropic's servers, not to this package's author.
|
|
10
|
+
> However, as with any third-party fork, you should review the source code before use.
|
|
11
|
+
|
|
12
|
+
> **Your AI coding sidekick in the terminal โ write smarter, ship faster.**
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npx @funnycode/myclaude
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
[](https://www.npmjs.com/package/@funnycode/myclaude)
|
|
19
|
+
[](LICENSE)
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## โจ What Makes MyClaude Different?
|
|
24
|
+
|
|
25
|
+
| | Feature | Why You'll Love It |
|
|
26
|
+
|---|---------|-------------------|
|
|
27
|
+
| ๐พ | **BUDDY Pet** | A virtual pet grows as you code โ hatch it, feed it, play with it. 18 species, legendary rarity, shiny variants. |
|
|
28
|
+
| ๐ | **Achievements** | Unlock 20+ achievements. Streaks, milestones, discoveries โ your coding journey gamified. |
|
|
29
|
+
| ๐ฏ | **Frontend TDD** | `/frontend-tdd` โ Red-Green-Refactor workflow for frontend testing, built right in. |
|
|
30
|
+
| ๐ | **Git Flow** | `/new-feature`, `/finish-release`, `/new-hotfix` โ full Git Flow workflow as slash commands. |
|
|
31
|
+
| ๐ค | **ECC Built-in** | 76+ commands and 246+ skills loaded at startup โ zero setup. |
|
|
32
|
+
| ๐ง | **AI Chat** | Write, refactor, debug, and explain code. Multi-model (Anthropic, Bedrock, Vertex, Foundry). |
|
|
33
|
+
| ๐จ | **Beautiful TUI** | React Ink terminal UI with themes, Vim mode, syntax highlighting. |
|
|
34
|
+
| ๐ | **Plugins & MCP** | Extend with plugins, MCP servers, custom skills. |
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## ๐ Start in 10 Seconds
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
# Set your API key
|
|
42
|
+
export ANTHROPIC_API_KEY=sk-ant-...
|
|
43
|
+
|
|
44
|
+
# Run instantly (no install needed)
|
|
45
|
+
npx @funnycode/myclaude
|
|
46
|
+
|
|
47
|
+
# Or install globally
|
|
48
|
+
npm install -g @funnycode/myclaude
|
|
49
|
+
myclaude
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Prerequisites:** Bun โฅ 1.3.5 (or Node.js โฅ 22.17) ยท Git
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## ๐ฎ Slash Commands at a Glance
|
|
57
|
+
|
|
58
|
+
### ๐ Essential
|
|
59
|
+
| Command | What it does |
|
|
60
|
+
|---------|-------------|
|
|
61
|
+
| `/help` | Show help |
|
|
62
|
+
| `/config` | Configure settings |
|
|
63
|
+
| `/doctor` | Diagnose & verify installation |
|
|
64
|
+
| `/model` | Switch AI model |
|
|
65
|
+
| `/effort` | Set effort level |
|
|
66
|
+
|
|
67
|
+
### ๐งช Testing & Quality
|
|
68
|
+
| Command | What it does |
|
|
69
|
+
|---------|-------------|
|
|
70
|
+
| **`/frontend-tdd <description>`** | **TDD Red-Green-Refactor cycle for frontend features** |
|
|
71
|
+
| `/review` | Review a pull request |
|
|
72
|
+
| `/plan` | Create an implementation plan |
|
|
73
|
+
|
|
74
|
+
### ๐ Git Flow
|
|
75
|
+
| Command | What it does |
|
|
76
|
+
|---------|-------------|
|
|
77
|
+
| `/new-feature <name> [from]` | Create feature branch from `main` |
|
|
78
|
+
| `/finish-feature [target]` | Merge feature to `main` |
|
|
79
|
+
| `/new-release <version> [from]` | Create release branch |
|
|
80
|
+
| `/finish-release` | Merge release to `main` & `develop` |
|
|
81
|
+
| `/new-hotfix <name> [from]` | Create hotfix branch |
|
|
82
|
+
| `/finish-hotfix` | Merge hotfix to `main` & `develop` |
|
|
83
|
+
| `/commit` | Generate a git commit |
|
|
84
|
+
|
|
85
|
+
### ๐พ BUDDY & Achievements
|
|
86
|
+
| Command | What it does |
|
|
87
|
+
|---------|-------------|
|
|
88
|
+
| `/buddy hatch` | Hatch a new companion |
|
|
89
|
+
| `/buddy pet` | Pet your buddy (+5 XP โค๏ธ) |
|
|
90
|
+
| `/buddy feed` | Feed your buddy (+15 XP) |
|
|
91
|
+
| `/buddy play` | Play with your buddy (+20 XP) |
|
|
92
|
+
| `/buddy card` | View stats & milestones |
|
|
93
|
+
| `/achievements` | Track your unlocks |
|
|
94
|
+
|
|
95
|
+
### ๐ Integrations
|
|
96
|
+
| Command | What it does |
|
|
97
|
+
|---------|-------------|
|
|
98
|
+
| `/mcp` | Manage MCP servers |
|
|
99
|
+
| `/plugin` | Install & manage plugins |
|
|
100
|
+
| `/hooks` | Manage hooks |
|
|
101
|
+
| `/skills` | List available skills |
|
|
102
|
+
|
|
103
|
+
### โ๏ธ System
|
|
104
|
+
| Command | What it does |
|
|
105
|
+
|---------|-------------|
|
|
106
|
+
| `/status` | Session & auth status |
|
|
107
|
+
| `/vim` | Toggle Vim mode |
|
|
108
|
+
| `/theme` | Change UI theme |
|
|
109
|
+
| `/keybindings` | Customize shortcuts |
|
|
110
|
+
| `/memory` | Manage AI memory |
|
|
111
|
+
| `/feedback` | Submit feedback |
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## ๐พ BUDDY โ Your Terminal Pet
|
|
116
|
+
|
|
117
|
+
myclaude has a virtual pet that **lives in your terminal**. It's generated from your user ID โ **yours is unique, no two alike**.
|
|
118
|
+
|
|
119
|
+
### 18 Species
|
|
120
|
+
|
|
121
|
+
๐ฆ Duck ยท ๐ชฟ Goose ยท ๐ซง Blob ยท ๐ฑ Cat ยท ๐ Dragon ยท ๐ Octopus ยท ๐ฆ Owl
|
|
122
|
+
๐ง Penguin ยท ๐ข Turtle ยท ๐ Snail ยท ๐ป Ghost ยท ๐ฆ Axolotl ยท ๐ฆซ Capybara
|
|
123
|
+
๐ต Cactus ยท ๐ค Robot ยท ๐ฐ Rabbit ยท ๐ Mushroom ยท ๐ Chonk
|
|
124
|
+
|
|
125
|
+
### Rarity & Stats
|
|
126
|
+
|
|
127
|
+
| Rarity | Odds | Stars |
|
|
128
|
+
|--------|------|-------|
|
|
129
|
+
| Common | 60% | โ
|
|
|
130
|
+
| Uncommon | 25% | โ
โ
|
|
|
131
|
+
| Rare | 10% | โ
โ
โ
|
|
|
132
|
+
| Epic | 4% | โ
โ
โ
โ
|
|
|
133
|
+
| Legendary | **1%** | โ
โ
โ
โ
โ
|
|
|
134
|
+
| โจ Shiny | **1%** (independent) | Sparkles! |
|
|
135
|
+
|
|
136
|
+
Each companion has 5 stats: `DEBUGGING`, `PATIENCE`, `CHAOS`, `WISDOM`, `SNARK`. Gain XP, level up (max 50), and **evolve** into new forms.
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## ๐ฏ Frontend TDD
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
/frontend-tdd Create a user login form with email validation
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
This command guides the AI through the **Red-Green-Refactor** cycle:
|
|
147
|
+
|
|
148
|
+
๐ด **Red** โ Write a failing test first
|
|
149
|
+
๐ข **Green** โ Minimum code to pass
|
|
150
|
+
๐ต **Refactor** โ Clean up, keep the test green
|
|
151
|
+
|
|
152
|
+
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.
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## ๐ Git Flow Workflow
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
/new-feature user-auth # feature/user-auth from main
|
|
160
|
+
/new-feature api-rate-limit develop # feature/api-rate-limit from develop
|
|
161
|
+
/finish-feature # merge to main
|
|
162
|
+
/finish-feature develop # merge to develop instead
|
|
163
|
+
/new-release 1.2.0 # release/1.2.0 from main
|
|
164
|
+
/new-hotfix security-patch # hotfix/security-patch from main
|
|
165
|
+
/finish-hotfix # merge to main & develop
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
All commands default to `main` and accept an optional `[from]` or `[target]` argument.
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## ๐ Built-in Integrations
|
|
173
|
+
|
|
174
|
+
### CodeGraph โ Semantic Code Intelligence
|
|
175
|
+
Auto-detects `codegraph` CLI and enables it as a built-in plugin for surgical code context.
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
npm i -g @colbymchenry/codegraph
|
|
179
|
+
cd your-project
|
|
180
|
+
codegraph init
|
|
181
|
+
/plugin enable codegraph
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### ECC โ Agent Operating System
|
|
185
|
+
**76+ commands and 246+ skills** are loaded at startup โ no install, no config. Just start typing `/`.
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## โ๏ธ Environment Variables
|
|
190
|
+
|
|
191
|
+
Use `MYCLAUDE_*` or `CLAUDE_CODE_*` (the latter takes priority).
|
|
192
|
+
|
|
193
|
+
| Key Variables | What it does |
|
|
194
|
+
|--------------|-------------|
|
|
195
|
+
| `ANTHROPIC_API_KEY` / `MYCLAUDE_API_KEY` | API key (required) |
|
|
196
|
+
| `ANTHROPIC_BASE_URL` | Custom API endpoint |
|
|
197
|
+
| `MYCLAUDE_MODEL` | Override model |
|
|
198
|
+
| `MYCLAUDE_SIMPLE` | Non-TUI mode |
|
|
199
|
+
| `MYCLAUDE_DISABLE_THINKING` | Skip extended thinking |
|
|
200
|
+
| `MYCLAUDE_USE_BEDROCK` | AWS Bedrock provider |
|
|
201
|
+
| `MYCLAUDE_USE_VERTEX` | Google Vertex AI provider |
|
|
202
|
+
| `MYCLAUDE_USE_FOUNDRY` | Microsoft Foundry provider |
|
|
203
|
+
| `MYCLAUDE_SYNTAX_HIGHLIGHT` | Highlight theme |
|
|
204
|
+
| `MYCLAUDE_IDLE_THRESHOLD_MINUTES` | Idle timeout (default: 75) |
|
|
205
|
+
| `MYCLAUDE_EFFORT_LEVEL` | Effort level |
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## ๐ง Custom Models
|
|
210
|
+
|
|
211
|
+
myclaude supports third-party models (any provider compatible with the Anthropic API format) and local models.
|
|
212
|
+
|
|
213
|
+
### Basic Configuration
|
|
214
|
+
|
|
215
|
+
| Env Variable | What it does | Example |
|
|
216
|
+
|--------------|-------------|---------|
|
|
217
|
+
| `ANTHROPIC_BASE_URL` | Custom API endpoint | `https://your-api.example.com` |
|
|
218
|
+
| `MYCLAUDE_MODEL` / `CLAUDE_CODE_MODEL` | Specify model name | `claude-sonnet-4-20250514`, `gemini-2.5-pro` |
|
|
219
|
+
|
|
220
|
+
> Supports both `MYCLAUDE_*` and `CLAUDE_CODE_*` prefixes โ the latter takes priority, fully compatible with Claude Code environment variable naming.
|
|
221
|
+
|
|
222
|
+
### Common Scenarios
|
|
223
|
+
|
|
224
|
+
**Using a proxy / relay API:**
|
|
225
|
+
```bash
|
|
226
|
+
export ANTHROPIC_BASE_URL=https://your-proxy.com/v1
|
|
227
|
+
export ANTHROPIC_API_KEY=your-proxy-key
|
|
228
|
+
export MYCLAUDE_MODEL=claude-sonnet-4-20250514
|
|
229
|
+
npx @funnycode/myclaude
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
**Using Ollama local models (via compatibility layer):**
|
|
233
|
+
```bash
|
|
234
|
+
# First, start Ollama and pull a model
|
|
235
|
+
# ollama pull llama3.2
|
|
236
|
+
|
|
237
|
+
# Use tools like llm-cluster or litellm to provide an Anthropic-compatible endpoint
|
|
238
|
+
export ANTHROPIC_BASE_URL=http://localhost:8000/v1
|
|
239
|
+
export ANTHROPIC_API_KEY=sk-local
|
|
240
|
+
export MYCLAUDE_MODEL=llama3.2
|
|
241
|
+
npx @funnycode/myclaude
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
**Using Google Vertex AI:**
|
|
245
|
+
```bash
|
|
246
|
+
export MYCLAUDE_USE_VERTEX=true
|
|
247
|
+
export CLOUD_ML_REGION=us-central1
|
|
248
|
+
gcloud auth application-default login
|
|
249
|
+
npx @funnycode/myclaude
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Using AWS Bedrock:**
|
|
253
|
+
```bash
|
|
254
|
+
export MYCLAUDE_USE_BEDROCK=true
|
|
255
|
+
export AWS_REGION=us-east-1
|
|
256
|
+
# AWS credentials via env vars or ~/.aws/credentials
|
|
257
|
+
npx @funnycode/myclaude
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
**Using Microsoft Foundry:**
|
|
261
|
+
```bash
|
|
262
|
+
export MYCLAUDE_USE_FOUNDRY=true
|
|
263
|
+
export AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com
|
|
264
|
+
export AZURE_OPENAI_API_KEY=your-azure-key
|
|
265
|
+
npx @funnycode/myclaude
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
> ๐ At runtime, you can also use the `/model` command to quickly switch between supported models.
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
## ๐ Dev
|
|
273
|
+
|
|
274
|
+
```bash
|
|
275
|
+
git clone https://github.com/thomaslwq/myclaude.git
|
|
276
|
+
cd myclaude
|
|
277
|
+
bun install
|
|
278
|
+
bun run dev # Dev mode
|
|
279
|
+
bun run build # Bundle to dist/myclaude.mjs
|
|
280
|
+
bun run version # Verify CLI boots
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
### Structure
|
|
284
|
+
|
|
285
|
+
```
|
|
286
|
+
src/
|
|
287
|
+
โโโ achievements/ # Achievement system
|
|
288
|
+
โโโ buddy/ # BUDDY companion (sprites, evolution)
|
|
289
|
+
โโโ commands/ # All slash commands
|
|
290
|
+
โโโ components/ # React Ink UI
|
|
291
|
+
โโโ events/ # Calendar & seasonal easter eggs
|
|
292
|
+
โโโ services/ # API, MCP, analytics
|
|
293
|
+
โโโ tools/ # Tool implementations
|
|
294
|
+
โโโ utils/ # Shared utilities
|
|
295
|
+
โโโ entrypoints/ # CLI entry points
|
|
296
|
+
โโโ main.tsx # TUI main entry
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
---
|
|
300
|
+
|
|
301
|
+
## ๐ค Contributing
|
|
302
|
+
|
|
303
|
+
PRs welcome! Fork โ branch โ small focused changes โ test โ PR.
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## ๐ Links
|
|
308
|
+
|
|
309
|
+
- **GitHub**: [github.com/thomaslwq/myclaude](https://github.com/thomaslwq/myclaude)
|
|
310
|
+
- **Gitee**: [gitee.com/thomaslwq/myclaude](https://gitee.com/thomaslwq/myclaude)
|
|
311
|
+
- **npm**: [npmjs.com/package/@funnycode/myclaude](https://www.npmjs.com/package/@funnycode/myclaude)
|
|
312
|
+
|
|
313
|
+
---
|
|
314
|
+
|
|
315
|
+
## ๐ License
|
|
316
|
+
|
|
317
|
+
MIT
|