@funnycode/myclaude 0.1.5 → 0.1.7
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/CHANGELOG.md +10 -0
- package/README.md +160 -160
- package/dist/myclaude.js +2 -2
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.7] - 2026-06-12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- Force npm registry to refresh README display (added explicit readme field)
|
|
7
|
+
|
|
8
|
+
## [0.1.6] - 2026-06-12
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Fixed README.md content: changed from Chinese to English as the default document
|
|
12
|
+
|
|
3
13
|
## [0.1.5] - 2026-06-12
|
|
4
14
|
|
|
5
15
|
### Changed
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @funnycode/myclaude
|
|
2
2
|
|
|
3
|
-
**myclaude** —
|
|
4
|
-
|
|
3
|
+
**myclaude** — An open-source AI coding assistant that runs in your terminal.
|
|
4
|
+
This project is a fork/rebrand of Claude Code, committed to providing an independent, open AI coding experience.
|
|
5
5
|
|
|
6
6
|
```bash
|
|
7
7
|
npx @funnycode/myclaude
|
|
@@ -9,226 +9,226 @@ npx @funnycode/myclaude
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Features
|
|
13
13
|
|
|
14
|
-
- **AI
|
|
15
|
-
- **80+
|
|
16
|
-
-
|
|
17
|
-
- **Git
|
|
18
|
-
- **MCP
|
|
19
|
-
-
|
|
20
|
-
- **Agent
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
14
|
+
- **AI Chat** — Write, refactor, debug, and explain code via natural language
|
|
15
|
+
- **80+ Slash Commands** — `/commit`, `/review`, `/plan`, `/test`, `/doctor` and more
|
|
16
|
+
- **File Operations** — Edit, write, create, and search files with AI guidance
|
|
17
|
+
- **Git Integration** — Automatic commit messages, branch management, PR creation
|
|
18
|
+
- **MCP Support** — Model Context Protocol for extensible tool integrations
|
|
19
|
+
- **Plugin System** — Install and manage plugins from marketplaces
|
|
20
|
+
- **Agent Mode** — Multi-step autonomous task execution
|
|
21
|
+
- **Skills System** — Extend capabilities with reusable skills
|
|
22
|
+
- **Terminal UI** — React Ink interface with syntax highlighting, themes, and Vim mode
|
|
23
|
+
- **Multi-Model Support** — Anthropic, AWS Bedrock, Google Vertex AI, Microsoft Foundry
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
27
|
-
##
|
|
27
|
+
## Quick Start
|
|
28
28
|
|
|
29
|
-
###
|
|
29
|
+
### Prerequisites
|
|
30
30
|
|
|
31
|
-
- **Node.js >= 18
|
|
32
|
-
- **Git
|
|
33
|
-
- **Anthropic API
|
|
31
|
+
- **Node.js >= 18** (works with Bun too)
|
|
32
|
+
- **Git** (for some features)
|
|
33
|
+
- **Anthropic API key** or compatible provider
|
|
34
34
|
|
|
35
|
-
###
|
|
35
|
+
### Install & Run
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
npx @funnycode/myclaude
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
Or install globally:
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
44
|
npm install -g @funnycode/myclaude
|
|
45
45
|
myclaude
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
###
|
|
48
|
+
### Set API Key
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
51
|
export ANTHROPIC_API_KEY=sk-ant-...
|
|
52
|
-
#
|
|
52
|
+
# Or use the myclaude alias:
|
|
53
53
|
export MYCLAUDE_API_KEY=sk-ant-...
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
---
|
|
57
57
|
|
|
58
|
-
##
|
|
58
|
+
## Usage
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
|
-
npx @funnycode/myclaude #
|
|
62
|
-
npx @funnycode/myclaude -p "
|
|
63
|
-
npx @funnycode/myclaude --version #
|
|
64
|
-
npx @funnycode/myclaude --help #
|
|
61
|
+
npx @funnycode/myclaude # Start interactive REPL
|
|
62
|
+
npx @funnycode/myclaude -p "explain this project" # Run with a prompt
|
|
63
|
+
npx @funnycode/myclaude --version # Show version
|
|
64
|
+
npx @funnycode/myclaude --help # Show help
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
---
|
|
68
68
|
|
|
69
|
-
##
|
|
70
|
-
|
|
71
|
-
###
|
|
72
|
-
|
|
|
73
|
-
|
|
74
|
-
| `/help` |
|
|
75
|
-
| `/clear` |
|
|
76
|
-
| `/exit` |
|
|
77
|
-
| `/resume` |
|
|
78
|
-
| `/rewind` |
|
|
79
|
-
| `/rename` |
|
|
80
|
-
| `/config` |
|
|
81
|
-
| `/doctor` |
|
|
82
|
-
|
|
83
|
-
###
|
|
84
|
-
|
|
|
85
|
-
|
|
86
|
-
| `/commit` |
|
|
87
|
-
| `/diff` |
|
|
88
|
-
| `/branch` |
|
|
89
|
-
| `/plan` |
|
|
90
|
-
| `/review` |
|
|
91
|
-
|
|
92
|
-
### AI &
|
|
93
|
-
|
|
|
94
|
-
|
|
95
|
-
| `/model` |
|
|
96
|
-
| `/effort` |
|
|
97
|
-
| `/fast` |
|
|
98
|
-
| `/brief` |
|
|
99
|
-
| `/output-style` |
|
|
100
|
-
|
|
101
|
-
###
|
|
102
|
-
|
|
|
103
|
-
|
|
104
|
-
| `/add-dir` |
|
|
105
|
-
| `/context` |
|
|
106
|
-
| `/files` |
|
|
107
|
-
| `/copy` |
|
|
108
|
-
|
|
109
|
-
### MCP &
|
|
110
|
-
|
|
|
111
|
-
|
|
112
|
-
| `/mcp` |
|
|
113
|
-
| `/plugin` |
|
|
114
|
-
| `/reload-plugins` |
|
|
115
|
-
| `/hooks` |
|
|
116
|
-
|
|
117
|
-
###
|
|
118
|
-
|
|
|
119
|
-
|
|
120
|
-
| `/status` |
|
|
121
|
-
| `/stats` |
|
|
122
|
-
| `/cost` |
|
|
123
|
-
| `/color` |
|
|
124
|
-
| `/theme` |
|
|
125
|
-
| `/keybindings` |
|
|
126
|
-
| `/vim` |
|
|
127
|
-
| `/terminal-setup` |
|
|
128
|
-
| `/memory` |
|
|
129
|
-
| `/skills` |
|
|
130
|
-
| `/sandbox` |
|
|
131
|
-
| `/session` |
|
|
132
|
-
| `/tag` |
|
|
133
|
-
| `/export` |
|
|
134
|
-
| `/upgrade` |
|
|
135
|
-
| `/feedback` |
|
|
136
|
-
| `/summary` |
|
|
137
|
-
| `/thinkback` |
|
|
69
|
+
## Slash Commands
|
|
70
|
+
|
|
71
|
+
### Core
|
|
72
|
+
| Command | Description |
|
|
73
|
+
|---------|-------------|
|
|
74
|
+
| `/help` | Show help |
|
|
75
|
+
| `/clear` | Clear conversation |
|
|
76
|
+
| `/exit` | Exit |
|
|
77
|
+
| `/resume` | Resume a previous session |
|
|
78
|
+
| `/rewind` | Rewind conversation |
|
|
79
|
+
| `/rename` | Rename current session |
|
|
80
|
+
| `/config` | Configure settings |
|
|
81
|
+
| `/doctor` | Diagnose and verify installation |
|
|
82
|
+
|
|
83
|
+
### Code & Git
|
|
84
|
+
| Command | Description |
|
|
85
|
+
|---------|-------------|
|
|
86
|
+
| `/commit` | Generate a git commit message |
|
|
87
|
+
| `/diff` | Show git diff |
|
|
88
|
+
| `/branch` | Switch/create branches |
|
|
89
|
+
| `/plan` | Create an implementation plan |
|
|
90
|
+
| `/review` | Review code |
|
|
91
|
+
|
|
92
|
+
### AI & Model
|
|
93
|
+
| Command | Description |
|
|
94
|
+
|---------|-------------|
|
|
95
|
+
| `/model` | Change AI model |
|
|
96
|
+
| `/effort` | Set effort level |
|
|
97
|
+
| `/fast` | Toggle fast mode |
|
|
98
|
+
| `/brief` | Toggle brief mode |
|
|
99
|
+
| `/output-style` | Set output style |
|
|
100
|
+
|
|
101
|
+
### Files & Context
|
|
102
|
+
| Command | Description |
|
|
103
|
+
|---------|-------------|
|
|
104
|
+
| `/add-dir` | Add directory to context |
|
|
105
|
+
| `/context` | Show current context |
|
|
106
|
+
| `/files` | File operations |
|
|
107
|
+
| `/copy` | Copy content |
|
|
108
|
+
|
|
109
|
+
### MCP & Plugins
|
|
110
|
+
| Command | Description |
|
|
111
|
+
|---------|-------------|
|
|
112
|
+
| `/mcp` | Manage MCP servers |
|
|
113
|
+
| `/plugin` | Manage plugins and marketplaces |
|
|
114
|
+
| `/reload-plugins` | Reload all plugins |
|
|
115
|
+
| `/hooks` | Manage hooks |
|
|
116
|
+
|
|
117
|
+
### System
|
|
118
|
+
| Command | Description |
|
|
119
|
+
|---------|-------------|
|
|
120
|
+
| `/status` | Show authentication and session status |
|
|
121
|
+
| `/stats` | Show usage statistics |
|
|
122
|
+
| `/cost` | Show cost information |
|
|
123
|
+
| `/color` | Set color theme |
|
|
124
|
+
| `/theme` | Set UI theme |
|
|
125
|
+
| `/keybindings` | Configure keybindings |
|
|
126
|
+
| `/vim` | Toggle Vim mode |
|
|
127
|
+
| `/terminal-setup` | Terminal setup |
|
|
128
|
+
| `/memory` | Manage AI memory |
|
|
129
|
+
| `/skills` | Manage skills |
|
|
130
|
+
| `/sandbox` | Toggle sandbox mode |
|
|
131
|
+
| `/session` | Session management |
|
|
132
|
+
| `/tag` | Tag current session |
|
|
133
|
+
| `/export` | Export session |
|
|
134
|
+
| `/upgrade` | Check for updates |
|
|
135
|
+
| `/feedback` | Submit feedback |
|
|
136
|
+
| `/summary` | Generate session summary |
|
|
137
|
+
| `/thinkback` | Think-back review |
|
|
138
138
|
|
|
139
139
|
---
|
|
140
140
|
|
|
141
|
-
##
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
- ✅
|
|
146
|
-
- ✅
|
|
147
|
-
- ✅
|
|
148
|
-
- ✅
|
|
149
|
-
- ✅ MCP
|
|
150
|
-
- ✅
|
|
151
|
-
- ✅ Git
|
|
152
|
-
- ✅
|
|
153
|
-
- ✅
|
|
154
|
-
- ✅ Vim
|
|
155
|
-
- ✅
|
|
156
|
-
- ✅ Doctor
|
|
157
|
-
- ✅
|
|
158
|
-
- ✅
|
|
159
|
-
- ✅ API
|
|
160
|
-
- ✅
|
|
141
|
+
## Verified Working Features
|
|
142
|
+
|
|
143
|
+
The following features have been tested and confirmed working:
|
|
144
|
+
|
|
145
|
+
- ✅ Interactive REPL (chat with AI)
|
|
146
|
+
- ✅ Print mode (`-p` flag)
|
|
147
|
+
- ✅ Model switching (`/model`)
|
|
148
|
+
- ✅ Most slash commands
|
|
149
|
+
- ✅ MCP server add/remove/list
|
|
150
|
+
- ✅ Plugin installation
|
|
151
|
+
- ✅ Git commit generation
|
|
152
|
+
- ✅ File editing and creation
|
|
153
|
+
- ✅ Skills system
|
|
154
|
+
- ✅ Vim mode
|
|
155
|
+
- ✅ Config management
|
|
156
|
+
- ✅ Doctor diagnostics
|
|
157
|
+
- ✅ Dark/light themes
|
|
158
|
+
- ✅ Keybinding customization
|
|
159
|
+
- ✅ API key authentication (with any Anthropic-compatible provider)
|
|
160
|
+
- ✅ Multi-model providers (Bedrock / Vertex / Foundry)
|
|
161
161
|
|
|
162
162
|
---
|
|
163
163
|
|
|
164
|
-
##
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
|
170
|
-
|
|
171
|
-
| `ANTHROPIC_API_KEY` / `MYCLAUDE_API_KEY` | API
|
|
172
|
-
| `ANTHROPIC_BASE_URL` / `MYCLAUDE_BASE_URL` |
|
|
173
|
-
| `MYCLAUDE_MODEL` |
|
|
174
|
-
| `MYCLAUDE_SIMPLE` |
|
|
175
|
-
| `MYCLAUDE_BRIEF` |
|
|
176
|
-
| `MYCLAUDE_DISABLE_THINKING` |
|
|
177
|
-
| `MYCLAUDE_PROACTIVE` |
|
|
178
|
-
| `MYCLAUDE_USE_BEDROCK` |
|
|
179
|
-
| `MYCLAUDE_USE_VERTEX` |
|
|
180
|
-
| `MYCLAUDE_USE_FOUNDRY` |
|
|
181
|
-
| `MYCLAUDE_DISABLE_AUTO_MEMORY` |
|
|
182
|
-
| `MYCLAUDE_SYNTAX_HIGHLIGHT` |
|
|
183
|
-
| `MYCLAUDE_IDLE_THRESHOLD_MINUTES` |
|
|
184
|
-
| `MYCLAUDE_EFFORT_LEVEL` |
|
|
164
|
+
## Environment Variables
|
|
165
|
+
|
|
166
|
+
Supports both `MYCLAUDE_*` and `CLAUDE_CODE_*` names.
|
|
167
|
+
`CLAUDE_CODE_*` takes priority if both are set.
|
|
168
|
+
|
|
169
|
+
| Variable | Description |
|
|
170
|
+
|----------|-------------|
|
|
171
|
+
| `ANTHROPIC_API_KEY` / `MYCLAUDE_API_KEY` | API key (required) |
|
|
172
|
+
| `ANTHROPIC_BASE_URL` / `MYCLAUDE_BASE_URL` | Custom API base URL |
|
|
173
|
+
| `MYCLAUDE_MODEL` | Model override |
|
|
174
|
+
| `MYCLAUDE_SIMPLE` | Simple mode (no TUI) |
|
|
175
|
+
| `MYCLAUDE_BRIEF` | Brief mode |
|
|
176
|
+
| `MYCLAUDE_DISABLE_THINKING` | Disable thinking |
|
|
177
|
+
| `MYCLAUDE_PROACTIVE` | Proactive mode |
|
|
178
|
+
| `MYCLAUDE_USE_BEDROCK` | Use AWS Bedrock |
|
|
179
|
+
| `MYCLAUDE_USE_VERTEX` | Use Google Vertex AI |
|
|
180
|
+
| `MYCLAUDE_USE_FOUNDRY` | Use Microsoft Foundry |
|
|
181
|
+
| `MYCLAUDE_DISABLE_AUTO_MEMORY` | Disable auto memory |
|
|
182
|
+
| `MYCLAUDE_SYNTAX_HIGHLIGHT` | Syntax highlight theme |
|
|
183
|
+
| `MYCLAUDE_IDLE_THRESHOLD_MINUTES` | Idle timeout (default: 75) |
|
|
184
|
+
| `MYCLAUDE_EFFORT_LEVEL` | Effort level |
|
|
185
185
|
|
|
186
186
|
---
|
|
187
187
|
|
|
188
|
-
##
|
|
188
|
+
## Development
|
|
189
189
|
|
|
190
190
|
```bash
|
|
191
191
|
git clone https://gitee.com/thomaslwq/myclaude.git
|
|
192
192
|
cd myclaude
|
|
193
193
|
bun install
|
|
194
|
-
bun run dev #
|
|
195
|
-
bun run build #
|
|
196
|
-
bun run version #
|
|
194
|
+
bun run dev # Development mode
|
|
195
|
+
bun run build # Build to dist/myclaude.js
|
|
196
|
+
bun run version # Verify CLI boots
|
|
197
197
|
```
|
|
198
198
|
|
|
199
|
-
###
|
|
199
|
+
### Build Output
|
|
200
200
|
|
|
201
|
-
|
|
201
|
+
The build script bundles `src/entrypoints/cli.tsx` into a single file `dist/myclaude.js`, injecting compile-time constants such as version number.
|
|
202
202
|
|
|
203
|
-
###
|
|
203
|
+
### Directory Structure
|
|
204
204
|
|
|
205
205
|
```
|
|
206
206
|
src/
|
|
207
|
-
├── commands/ #
|
|
208
|
-
├── components/ # React Ink UI
|
|
209
|
-
├── services/ #
|
|
210
|
-
├── tools/ #
|
|
211
|
-
├── utils/ #
|
|
212
|
-
├── entrypoints/ # CLI
|
|
213
|
-
└── main.tsx # TUI
|
|
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
|
|
214
214
|
```
|
|
215
215
|
|
|
216
216
|
---
|
|
217
217
|
|
|
218
|
-
##
|
|
218
|
+
## Contributing
|
|
219
219
|
|
|
220
|
-
|
|
220
|
+
Pull requests are welcome!
|
|
221
221
|
|
|
222
|
-
###
|
|
222
|
+
### Guidelines
|
|
223
223
|
|
|
224
|
-
- Fork
|
|
225
|
-
-
|
|
226
|
-
-
|
|
227
|
-
-
|
|
224
|
+
- Fork the repo and create a feature branch
|
|
225
|
+
- Keep changes focused and minimal
|
|
226
|
+
- Test your changes before submitting
|
|
227
|
+
- Open a PR against the `main` branch
|
|
228
228
|
|
|
229
229
|
---
|
|
230
230
|
|
|
231
|
-
##
|
|
231
|
+
## Links
|
|
232
232
|
|
|
233
233
|
- **Gitee**: [https://gitee.com/thomaslwq/myclaude](https://gitee.com/thomaslwq/myclaude)
|
|
234
234
|
- **GitHub**: [https://github.com/thomaslwq/myclaude](https://github.com/thomaslwq/myclaude)
|
|
@@ -236,6 +236,6 @@ src/
|
|
|
236
236
|
|
|
237
237
|
---
|
|
238
238
|
|
|
239
|
-
##
|
|
239
|
+
## License
|
|
240
240
|
|
|
241
241
|
MIT
|
package/dist/myclaude.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
// MACRO - build-time constants (injected by build.ts)
|
|
5
5
|
// MACRO injected by build script
|
|
6
6
|
globalThis.MACRO = {
|
|
7
|
-
VERSION: "0.1.
|
|
8
|
-
BUILD_TIME: "2026-06-12T13:
|
|
7
|
+
VERSION: "0.1.7",
|
|
8
|
+
BUILD_TIME: "2026-06-12T13:15:43.792Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funnycode/myclaude",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
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\nSee README.md for full documentation.",
|
|
6
7
|
"license": "MIT",
|
|
7
8
|
"type": "module",
|
|
8
9
|
"packageManager": "bun@1.3.5",
|