@funnycode/myclaude 0.1.4 → 0.1.6
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 +13 -0
- package/README.md +40 -18
- package/README.zh-CN.md +38 -16
- package/dist/myclaude.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.6] - 2026-06-12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- Fixed README.md content: changed from Chinese to English as the default document
|
|
7
|
+
|
|
8
|
+
## [0.1.5] - 2026-06-12
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Updated README.md and README.zh-CN.md to reflect actual project state
|
|
12
|
+
- Added multi-model provider support documentation
|
|
13
|
+
- Added missing commands (review, feedback, summary, thinkback)
|
|
14
|
+
- Updated repository links and build instructions
|
|
15
|
+
|
|
3
16
|
## [0.1.0] - 2025-03-01
|
|
4
17
|
|
|
5
18
|
### Added
|
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# @funnycode/myclaude
|
|
2
2
|
|
|
3
|
-
An open-source AI coding assistant in your terminal
|
|
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.
|
|
4
5
|
|
|
5
6
|
```bash
|
|
6
7
|
npx @funnycode/myclaude
|
|
@@ -10,15 +11,16 @@ npx @funnycode/myclaude
|
|
|
10
11
|
|
|
11
12
|
## Features
|
|
12
13
|
|
|
13
|
-
- **AI Chat** —
|
|
14
|
-
- **80+ Slash Commands** — `/commit`, `/review`, `/
|
|
14
|
+
- **AI Chat** — Write, refactor, debug, and explain code via natural language
|
|
15
|
+
- **80+ Slash Commands** — `/commit`, `/review`, `/plan`, `/test`, `/doctor` and more
|
|
15
16
|
- **File Operations** — Edit, write, create, and search files with AI guidance
|
|
16
17
|
- **Git Integration** — Automatic commit messages, branch management, PR creation
|
|
17
18
|
- **MCP Support** — Model Context Protocol for extensible tool integrations
|
|
18
19
|
- **Plugin System** — Install and manage plugins from marketplaces
|
|
19
20
|
- **Agent Mode** — Multi-step autonomous task execution
|
|
20
21
|
- **Skills System** — Extend capabilities with reusable skills
|
|
21
|
-
- **Terminal UI** — React Ink
|
|
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
|
|
22
24
|
|
|
23
25
|
---
|
|
24
26
|
|
|
@@ -40,7 +42,7 @@ Or install globally:
|
|
|
40
42
|
|
|
41
43
|
```bash
|
|
42
44
|
npm install -g @funnycode/myclaude
|
|
43
|
-
|
|
45
|
+
myclaude
|
|
44
46
|
```
|
|
45
47
|
|
|
46
48
|
### Set API Key
|
|
@@ -85,6 +87,7 @@ npx @funnycode/myclaude --help # Show help
|
|
|
85
87
|
| `/diff` | Show git diff |
|
|
86
88
|
| `/branch` | Switch/create branches |
|
|
87
89
|
| `/plan` | Create an implementation plan |
|
|
90
|
+
| `/review` | Review code |
|
|
88
91
|
|
|
89
92
|
### AI & Model
|
|
90
93
|
| Command | Description |
|
|
@@ -129,6 +132,9 @@ npx @funnycode/myclaude --help # Show help
|
|
|
129
132
|
| `/tag` | Tag current session |
|
|
130
133
|
| `/export` | Export session |
|
|
131
134
|
| `/upgrade` | Check for updates |
|
|
135
|
+
| `/feedback` | Submit feedback |
|
|
136
|
+
| `/summary` | Generate session summary |
|
|
137
|
+
| `/thinkback` | Think-back review |
|
|
132
138
|
|
|
133
139
|
---
|
|
134
140
|
|
|
@@ -139,7 +145,7 @@ The following features have been tested and confirmed working:
|
|
|
139
145
|
- ✅ Interactive REPL (chat with AI)
|
|
140
146
|
- ✅ Print mode (`-p` flag)
|
|
141
147
|
- ✅ Model switching (`/model`)
|
|
142
|
-
- ✅
|
|
148
|
+
- ✅ Most slash commands
|
|
143
149
|
- ✅ MCP server add/remove/list
|
|
144
150
|
- ✅ Plugin installation
|
|
145
151
|
- ✅ Git commit generation
|
|
@@ -151,6 +157,7 @@ The following features have been tested and confirmed working:
|
|
|
151
157
|
- ✅ Dark/light themes
|
|
152
158
|
- ✅ Keybinding customization
|
|
153
159
|
- ✅ API key authentication (with any Anthropic-compatible provider)
|
|
160
|
+
- ✅ Multi-model providers (Bedrock / Vertex / Foundry)
|
|
154
161
|
|
|
155
162
|
---
|
|
156
163
|
|
|
@@ -178,39 +185,54 @@ Supports both `MYCLAUDE_*` and `CLAUDE_CODE_*` names.
|
|
|
178
185
|
|
|
179
186
|
---
|
|
180
187
|
|
|
181
|
-
##
|
|
182
|
-
|
|
183
|
-
Contributions via MR (Merge Request) are welcome!
|
|
184
|
-
|
|
185
|
-
### Development
|
|
188
|
+
## Development
|
|
186
189
|
|
|
187
190
|
```bash
|
|
188
|
-
git clone https://
|
|
191
|
+
git clone https://gitee.com/thomaslwq/myclaude.git
|
|
189
192
|
cd myclaude
|
|
190
193
|
bun install
|
|
191
|
-
bun run dev
|
|
194
|
+
bun run dev # Development mode
|
|
195
|
+
bun run build # Build to dist/myclaude.js
|
|
196
|
+
bun run version # Verify CLI boots
|
|
192
197
|
```
|
|
193
198
|
|
|
194
|
-
### Build
|
|
199
|
+
### Build Output
|
|
195
200
|
|
|
196
|
-
|
|
197
|
-
|
|
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
|
+
|
|
203
|
+
### Directory Structure
|
|
204
|
+
|
|
205
|
+
```
|
|
206
|
+
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
|
|
198
214
|
```
|
|
199
215
|
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## Contributing
|
|
219
|
+
|
|
220
|
+
Pull requests are welcome!
|
|
221
|
+
|
|
200
222
|
### Guidelines
|
|
201
223
|
|
|
202
224
|
- Fork the repo and create a feature branch
|
|
203
225
|
- Keep changes focused and minimal
|
|
204
226
|
- Test your changes before submitting
|
|
205
|
-
- Open a
|
|
227
|
+
- Open a PR against the `main` branch
|
|
206
228
|
|
|
207
229
|
---
|
|
208
230
|
|
|
209
231
|
## Links
|
|
210
232
|
|
|
233
|
+
- **Gitee**: [https://gitee.com/thomaslwq/myclaude](https://gitee.com/thomaslwq/myclaude)
|
|
211
234
|
- **GitHub**: [https://github.com/thomaslwq/myclaude](https://github.com/thomaslwq/myclaude)
|
|
212
235
|
- **npm**: [https://www.npmjs.com/package/@funnycode/myclaude](https://www.npmjs.com/package/@funnycode/myclaude)
|
|
213
|
-
- **Gitee**: [https://gitee.com/thomaslwq/myclaude](https://gitee.com/thomaslwq/myclaude)
|
|
214
236
|
|
|
215
237
|
---
|
|
216
238
|
|
package/README.zh-CN.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# @funnycode/myclaude
|
|
2
2
|
|
|
3
|
-
开源的 AI
|
|
3
|
+
**myclaude** — 开源的 AI 编程助手,运行在你的终端中。
|
|
4
|
+
本项目是 Claude Code 的 fork/rebrand,致力于提供独立、开放的 AI 编码体验。
|
|
4
5
|
|
|
5
6
|
```bash
|
|
6
7
|
npx @funnycode/myclaude
|
|
@@ -11,7 +12,7 @@ npx @funnycode/myclaude
|
|
|
11
12
|
## 功能特性
|
|
12
13
|
|
|
13
14
|
- **AI 对话** — 通过自然语言编写、重构、调试和解释代码
|
|
14
|
-
- **80+ 斜杠命令** — `/commit`、`/review`、`/test`、`/
|
|
15
|
+
- **80+ 斜杠命令** — `/commit`、`/review`、`/plan`、`/test`、`/doctor` 等
|
|
15
16
|
- **文件操作** — 在 AI 指导下编辑、写入、创建和搜索文件
|
|
16
17
|
- **Git 集成** — 自动生成提交信息、管理分支、创建 PR
|
|
17
18
|
- **MCP 支持** — Model Context Protocol 可扩展工具集成
|
|
@@ -19,6 +20,7 @@ npx @funnycode/myclaude
|
|
|
19
20
|
- **Agent 模式** — 多步自主任务执行
|
|
20
21
|
- **技能系统** — 通过可复用技能扩展能力
|
|
21
22
|
- **终端 UI** — React Ink 界面,支持语法高亮、主题和 Vim 模式
|
|
23
|
+
- **多模型支持** — Anthropic、AWS Bedrock、Google Vertex AI、Microsoft Foundry
|
|
22
24
|
|
|
23
25
|
---
|
|
24
26
|
|
|
@@ -40,7 +42,7 @@ npx @funnycode/myclaude
|
|
|
40
42
|
|
|
41
43
|
```bash
|
|
42
44
|
npm install -g @funnycode/myclaude
|
|
43
|
-
|
|
45
|
+
myclaude
|
|
44
46
|
```
|
|
45
47
|
|
|
46
48
|
### 设置 API Key
|
|
@@ -85,6 +87,7 @@ npx @funnycode/myclaude --help # 查看帮助
|
|
|
85
87
|
| `/diff` | 查看 Git 差异 |
|
|
86
88
|
| `/branch` | 切换/创建分支 |
|
|
87
89
|
| `/plan` | 创建实施计划 |
|
|
90
|
+
| `/review` | 代码审查 |
|
|
88
91
|
|
|
89
92
|
### AI 和模型
|
|
90
93
|
| 命令 | 说明 |
|
|
@@ -129,6 +132,9 @@ npx @funnycode/myclaude --help # 查看帮助
|
|
|
129
132
|
| `/tag` | 标记当前会话 |
|
|
130
133
|
| `/export` | 导出会话 |
|
|
131
134
|
| `/upgrade` | 检查更新 |
|
|
135
|
+
| `/feedback` | 提交反馈 |
|
|
136
|
+
| `/summary` | 生成会话摘要 |
|
|
137
|
+
| `/thinkback` | 回溯思考过程 |
|
|
132
138
|
|
|
133
139
|
---
|
|
134
140
|
|
|
@@ -139,7 +145,7 @@ npx @funnycode/myclaude --help # 查看帮助
|
|
|
139
145
|
- ✅ 交互式 REPL(与 AI 对话)
|
|
140
146
|
- ✅ 打印模式(`-p` 参数)
|
|
141
147
|
- ✅ 模型切换(`/model`)
|
|
142
|
-
- ✅
|
|
148
|
+
- ✅ 大多数斜杠命令
|
|
143
149
|
- ✅ MCP 服务器添加/删除/列表
|
|
144
150
|
- ✅ 插件安装
|
|
145
151
|
- ✅ Git 提交信息生成
|
|
@@ -151,6 +157,7 @@ npx @funnycode/myclaude --help # 查看帮助
|
|
|
151
157
|
- ✅ 深色/浅色主题
|
|
152
158
|
- ✅ 按键绑定自定义
|
|
153
159
|
- ✅ API 密钥认证(兼容任何 Anthropic API 提供商)
|
|
160
|
+
- ✅ 多模型提供商(Bedrock / Vertex / Foundry)
|
|
154
161
|
|
|
155
162
|
---
|
|
156
163
|
|
|
@@ -178,39 +185,54 @@ npx @funnycode/myclaude --help # 查看帮助
|
|
|
178
185
|
|
|
179
186
|
---
|
|
180
187
|
|
|
181
|
-
##
|
|
182
|
-
|
|
183
|
-
欢迎提交 MR(Merge Request)参与贡献!
|
|
184
|
-
|
|
185
|
-
### 开发
|
|
188
|
+
## 开发
|
|
186
189
|
|
|
187
190
|
```bash
|
|
188
|
-
git clone https://
|
|
191
|
+
git clone https://gitee.com/thomaslwq/myclaude.git
|
|
189
192
|
cd myclaude
|
|
190
193
|
bun install
|
|
191
|
-
bun run dev
|
|
194
|
+
bun run dev # 开发模式
|
|
195
|
+
bun run build # 构建到 dist/myclaude.js
|
|
196
|
+
bun run version # 验证 CLI 启动
|
|
192
197
|
```
|
|
193
198
|
|
|
194
|
-
###
|
|
199
|
+
### 构建产物
|
|
195
200
|
|
|
196
|
-
|
|
197
|
-
|
|
201
|
+
构建脚本会将 `src/entrypoints/cli.tsx` 打包为单文件 `dist/myclaude.js`,并注入版本号等编译时常量。
|
|
202
|
+
|
|
203
|
+
### 目录结构
|
|
204
|
+
|
|
205
|
+
```
|
|
206
|
+
src/
|
|
207
|
+
├── commands/ # 斜杠命令实现
|
|
208
|
+
├── components/ # React Ink UI 组件
|
|
209
|
+
├── services/ # 后端服务(API、MCP、分析)
|
|
210
|
+
├── tools/ # 工具实现
|
|
211
|
+
├── utils/ # 共享工具函数
|
|
212
|
+
├── entrypoints/ # CLI 入口
|
|
213
|
+
└── main.tsx # TUI 主入口
|
|
198
214
|
```
|
|
199
215
|
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## 贡献
|
|
219
|
+
|
|
220
|
+
欢迎提交 PR 参与贡献!
|
|
221
|
+
|
|
200
222
|
### 指南
|
|
201
223
|
|
|
202
224
|
- Fork 仓库并创建功能分支
|
|
203
225
|
- 保持改动聚焦且最小化
|
|
204
226
|
- 提交前测试你的改动
|
|
205
|
-
- 向 `main` 分支发起
|
|
227
|
+
- 向 `main` 分支发起 PR
|
|
206
228
|
|
|
207
229
|
---
|
|
208
230
|
|
|
209
231
|
## 相关链接
|
|
210
232
|
|
|
233
|
+
- **Gitee**: [https://gitee.com/thomaslwq/myclaude](https://gitee.com/thomaslwq/myclaude)
|
|
211
234
|
- **GitHub**: [https://github.com/thomaslwq/myclaude](https://github.com/thomaslwq/myclaude)
|
|
212
235
|
- **npm**: [https://www.npmjs.com/package/@funnycode/myclaude](https://www.npmjs.com/package/@funnycode/myclaude)
|
|
213
|
-
- **Gitee**: [https://gitee.com/thomaslwq/myclaude](https://gitee.com/thomaslwq/myclaude)
|
|
214
236
|
|
|
215
237
|
---
|
|
216
238
|
|
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-
|
|
7
|
+
VERSION: "0.1.6",
|
|
8
|
+
BUILD_TIME: "2026-06-12T13:12:20.245Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|