myclaude-code 8.8.11 → 8.8.13
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 +44 -10
- package/dist/cli.js +83 -83
- package/dist/login-redirect-command.js +2 -2
- package/dist/provider-command.js +30 -30
- package/dist/provider-setup.js +107 -103
- package/install.sh +4 -2
- package/package.json +10 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# myclaude v8.8.
|
|
1
|
+
# myclaude v8.8.13
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|
|
|
5
5
|
`myclaude` is a fast-start AI coding CLI under the `我的code` brand. It is positioned around direct provider setup instead of Claude Code account login, so users can connect a compatible third-party API endpoint quickly and start working immediately.
|
|
6
6
|
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
- No official Claude Code login flow in the normal getting-started path
|
|
10
10
|
- Quick provider setup for custom Anthropic-compatible API URLs
|
|
11
11
|
- Works with third-party API gateways, relay services, and self-hosted compatible endpoints
|
|
12
|
-
- Global install
|
|
12
|
+
- Global install without npm binary collisions
|
|
13
|
+
- Launch with `myclaude` or `mycode`, then let the native installer configure `claude`
|
|
13
14
|
- Cleaner onboarding focused on fast API URL and API key configuration
|
|
14
15
|
|
|
15
16
|
## Install
|
|
@@ -25,32 +26,43 @@ Install globally from npm:
|
|
|
25
26
|
npm install -g myclaude-code
|
|
26
27
|
```
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
Run it once with `npx` if you do not want a global install:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npx myclaude-code
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
This installs the non-conflicting npm commands:
|
|
29
36
|
|
|
30
37
|
```bash
|
|
31
38
|
myclaude
|
|
32
39
|
mycode
|
|
33
|
-
claude
|
|
34
40
|
```
|
|
35
41
|
|
|
36
|
-
|
|
42
|
+
Then run the built-in installer once to configure the native launcher, including the `claude` command:
|
|
37
43
|
|
|
38
|
-
|
|
44
|
+
```bash
|
|
45
|
+
myclaude install --force
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
After that, you can launch with:
|
|
39
49
|
|
|
40
50
|
```bash
|
|
41
|
-
|
|
51
|
+
myclaude
|
|
52
|
+
mycode
|
|
53
|
+
claude
|
|
42
54
|
```
|
|
43
55
|
|
|
44
56
|
One-line install:
|
|
45
57
|
|
|
46
58
|
```bash
|
|
47
|
-
curl -fsSL https://unpkg.com/myclaude-code@8.8.
|
|
59
|
+
curl -fsSL https://unpkg.com/myclaude-code@8.8.13/install.sh | bash
|
|
48
60
|
```
|
|
49
61
|
|
|
50
62
|
Install a specific version:
|
|
51
63
|
|
|
52
64
|
```bash
|
|
53
|
-
curl -fsSL https://unpkg.com/myclaude-code@8.8.
|
|
65
|
+
curl -fsSL https://unpkg.com/myclaude-code@8.8.13/install.sh | bash -s -- 8.8.13
|
|
54
66
|
```
|
|
55
67
|
|
|
56
68
|
## Quick Start
|
|
@@ -72,6 +84,7 @@ Version check:
|
|
|
72
84
|
```bash
|
|
73
85
|
myclaude --version
|
|
74
86
|
mycode --version
|
|
87
|
+
# available after running: myclaude install --force
|
|
75
88
|
claude --version
|
|
76
89
|
```
|
|
77
90
|
|
|
@@ -121,10 +134,31 @@ Current gateway note:
|
|
|
121
134
|
## Release Flow
|
|
122
135
|
|
|
123
136
|
- Source repo: `https://github.com/mycode699/myclaude-code`
|
|
137
|
+
- CI validates repository metadata, smoke-tests the tracked `dist/` bundle, runs package dry-runs, and blocks releases on failure
|
|
124
138
|
- GitHub Releases publish installable archives plus `install.sh`
|
|
125
139
|
- npm publishes the `myclaude-code` package for global installation
|
|
126
140
|
- Public release artifacts are generated from the tracked runtime bundle in `dist/cli.js`
|
|
127
141
|
|
|
142
|
+
## Developer Verification
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
npm run validate:repo
|
|
146
|
+
npm run verify:dist
|
|
147
|
+
npm test
|
|
148
|
+
npm run check
|
|
149
|
+
npm run build
|
|
150
|
+
npm run package:release
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
- `npm run validate:repo`: checks package metadata, required tracked files, workflow presence, and tag/version consistency
|
|
154
|
+
- `npm run verify:dist`: smoke-tests `dist/cli.js` and `dist/provider-setup.js`
|
|
155
|
+
- `npm test`: runs packaging and release regression tests with Node's built-in test runner
|
|
156
|
+
- `npm run check`: full local verification gate used by CI
|
|
157
|
+
- `npm run build`: runs `check` and previews the publishable npm tarball with `npm pack --dry-run`
|
|
158
|
+
- `npm run package:release`: runs `check` and produces archives in `release-artifacts/`
|
|
159
|
+
|
|
160
|
+
For source reconstruction experiments there is still `npm run rebuild:experimental`, but it is intentionally not part of CI or release gating.
|
|
161
|
+
|
|
128
162
|
## Package Focus
|
|
129
163
|
|
|
130
164
|
This repository is presented as the distribution and release home for `myclaude`: install it quickly, configure your preferred provider, and start using it without the usual account-login friction.
|