yunxiao-code 1.1.1 → 1.1.2
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/LICENSE +21 -0
- package/README.md +20 -1
- package/package.json +9 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 yx-code contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ npm install -g yunxiao-code
|
|
|
26
26
|
### 从源码编译
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
git clone
|
|
29
|
+
git clone https://github.com/ZLStream/yunxiao-code.git
|
|
30
30
|
cd yunxiao-code
|
|
31
31
|
make build-local
|
|
32
32
|
sudo make install
|
|
@@ -39,6 +39,25 @@ go build -o yx-code ./cmd/yx-code
|
|
|
39
39
|
sudo mv yx-code /usr/local/bin/
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
#### 安装 Claude Code 插件(可选)
|
|
43
|
+
|
|
44
|
+
如需使用 Claude Code 斜杠命令,手动创建软链接:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
# 安装 commands
|
|
48
|
+
ln -s $(pwd)/claude-plugin/commands ~/.claude/commands/yx-commands
|
|
49
|
+
|
|
50
|
+
# 安装 skills
|
|
51
|
+
ln -s $(pwd)/claude-plugin/skills ~/.claude/skills/yx-commands
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
安装后可在 Claude Code 中使用:
|
|
55
|
+
- `/yx-commands:commit` - 分析代码变更并提交
|
|
56
|
+
- `/yx-commands:push` - 推送代码
|
|
57
|
+
- `/yx-commands:mr` - 创建合并请求
|
|
58
|
+
- `/yx-commands:review` - 查看代码差异
|
|
59
|
+
- `/yx-commands:commit-push-mr` - 一键完成完整工作流
|
|
60
|
+
|
|
42
61
|
## 系统要求
|
|
43
62
|
|
|
44
63
|
- Go 1.26.1+(从源码编译时)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yunxiao-code",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "阿里云云效 CLI 工具",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aliyun",
|
|
@@ -11,6 +11,14 @@
|
|
|
11
11
|
"git",
|
|
12
12
|
"代码"
|
|
13
13
|
],
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/ZLStream/yunxiao-code.git"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://github.com/ZLStream/yunxiao-code#readme",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/ZLStream/yunxiao-code/issues"
|
|
21
|
+
},
|
|
14
22
|
"bin": {
|
|
15
23
|
"yx-code": "bin/yx-code.js"
|
|
16
24
|
},
|