gitcode-cli 0.13.0__py3-none-any.whl → 0.14.0__py3-none-any.whl

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.
gc_cli/__init__.py CHANGED
@@ -4,7 +4,7 @@ GitCode CLI - Command line tool for GitCode.
4
4
  This package provides a Python wrapper for the gc binary.
5
5
  """
6
6
 
7
- __version__ = "0.13.0"
7
+ __version__ = "0.14.0"
8
8
  __author__ = "GitCode CLI Contributors"
9
9
  __all__ = ["__version__", "main"]
10
10
 
Binary file
Binary file
gc_cli/bin/gc-linux-amd64 CHANGED
Binary file
gc_cli/bin/gc-linux-arm64 CHANGED
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitcode-cli
3
- Version: 0.13.0
3
+ Version: 0.14.0
4
4
  Summary: GitCode CLI - Command line tool for GitCode
5
5
  Author-email: GitCode CLI Contributors <support@gitcode.com>
6
6
  Maintainer-email: GitCode CLI Contributors <support@gitcode.com>
@@ -27,15 +27,15 @@ Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
28
  Dynamic: license-file
29
29
 
30
- # GitCode CLI
30
+ # AtomGit CLI(原 GitCode CLI)
31
31
 
32
32
  [![AI 操作指南](https://img.shields.io/badge/📖_使用_AI_操作_GitCode_指南-点击查看-FF6B6B?style=for-the-badge)](./docs/AI-GUIDE.md)
33
33
 
34
34
  [![Go Version](https://img.shields.io/badge/Go-1.22+-00ADD8?style=flat&logo=go)](https://golang.org)
35
35
  [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
36
- [![Release](https://img.shields.io/badge/Release-latest-blue)](https://gitcode.com/gitcode-cli/cli/releases)
36
+ [![Release](https://img.shields.io/badge/Release-latest-blue)](https://gitcode.com/atomgit-cli/cli/releases)
37
37
 
38
- GitCode CLI 把仓库、Issue、PR、Release 和 Actions 带回终端,让开发者减少页面切换,也让脚本与 AI 获得结构化、可审计、带安全边界的 GitCode 执行入口。
38
+ AtomGit CLI(原 GitCode CLI)把仓库、Issue、PR、Release 和 Actions 带回终端,让开发者减少页面切换,也让脚本与 AI 获得结构化、可审计、带安全边界的 GitCode 执行入口。
39
39
 
40
40
  [快速了解核心价值与应用场景,并在五分钟内开始使用](./docs/INTRODUCTION.md)。
41
41
 
@@ -67,33 +67,39 @@ GitCode CLI 把仓库、Issue、PR、Release 和 Actions 带回终端,让开
67
67
 
68
68
  ## 安装
69
69
 
70
- 推荐只让一个全局安装渠道拥有 `gc` / `gitcode`。已安装 Node.js/npm 的 Windows、Linux、macOS 与 AI 环境优先使用下方 npm bootstrap;没有 Node.js 时再选择 Homebrew、DEB/RPM 或隔离的 Python wheel。CI 建议固定版本并校验 checksum。
70
+ 推荐只让一个全局安装渠道拥有 `gc` / `gitcode`。已安装 Node.js/npm 的 Windows、Linux、macOS、OpenHarmony(arm64)与 AI 环境优先使用下方 npm bootstrap;没有 Node.js 时再选择 Homebrew、DEB/RPM 或隔离的 Python wheel。CI 建议固定版本并校验 checksum。
71
71
 
72
72
  ### 推荐:npm 一行 bootstrap(跨平台)
73
73
 
74
- 已安装 Node.js/npm 时,安装或升级 CLI 的首选入口是:
74
+ 已安装 Node.js/npm 时,安装或升级 CLI 的首选入口(推荐坐标 `atomgit-cli`):
75
75
 
76
76
  ```bash
77
- npx -y @gitcode-cli/cli@latest install
77
+ npx -y atomgit-cli@latest install
78
78
  gitcode version
79
79
  ```
80
80
 
81
+ 等价坐标:`npx -y @gitcode-cli/cli@latest install`(与 `@atomgit-cli/cli` 并行等价,旧坐标长期可用,存量安装无需迁移)。npm 上的裸名 `gitcode-cli` 为第三方无关项目,请勿安装。
82
+
81
83
  短命令适合用户主目录等可信环境,会继承当前目录与用户的 npm 配置。CI、审计、不可信项目目录或自定义 npm registry 环境请使用完整加固命令:
82
84
 
83
85
  ```bash
84
- npx --yes --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@latest install
86
+ npx --yes --ignore-scripts --registry=https://registry.npmjs.org atomgit-cli@latest install
85
87
  ```
86
88
 
89
+ (scoped 坐标加固形式:`npx --yes --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@latest install`)
90
+
87
91
  CI、审计或版本复现可固定版本:
88
92
 
89
93
  ```bash
90
- npx --yes --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@0.13.0 install
94
+ npx --yes --ignore-scripts --registry=https://registry.npmjs.org atomgit-cli@0.14.0 install
91
95
  ```
92
96
 
93
- 不要使用 `npm i @gitcode-cli/cli` 或 `npm install @gitcode-cli/cli` 安装全局 CLI;这两条命令只会把包加入当前项目的 `node_modules`,不会更新 PATH 中已有的 `gitcode`。需要由 npm global prefix 管理入口时,可改用:
97
+ (scoped 坐标锁定形式:`npx --yes --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@0.14.0 install`)
98
+
99
+ 不要使用 `npm i atomgit-cli` 或 `npm install atomgit-cli` 安装全局 CLI;这两条命令只会把包加入当前项目的 `node_modules`,不会更新 PATH 中已有的 `gitcode`。需要由 npm global prefix 管理入口时,可改用:
94
100
 
95
101
  ```bash
96
- npm install -g --ignore-scripts --registry=https://registry.npmjs.org --@gitcode-cli:registry=https://registry.npmjs.org @gitcode-cli/cli@latest
102
+ npm install -g --ignore-scripts --registry=https://registry.npmjs.org atomgit-cli@latest
97
103
  gitcode version
98
104
  ```
99
105
 
@@ -117,7 +123,7 @@ gitcode doctor install --json
117
123
 
118
124
  ```bash
119
125
  # 克隆仓库(需要 git clone 才能获取版本信息)
120
- git clone https://gitcode.com/gitcode-cli/cli.git
126
+ git clone https://gitcode.com/atomgit-cli/cli.git
121
127
  cd cli
122
128
 
123
129
  # 方式一:使用 go build(推荐)
@@ -143,10 +149,10 @@ export PATH="$HOME/.local/bin:$PATH"
143
149
 
144
150
  ```bash
145
151
  # 从 Releases 下载 .deb 包
146
- wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.13.0/gc_0.13.0_amd64.deb
152
+ wget https://gitcode.com/atomgit-cli/cli/releases/download/v0.14.0/gc_0.14.0_amd64.deb
147
153
 
148
154
  # 安装
149
- sudo dpkg -i gc_0.13.0_amd64.deb
155
+ sudo dpkg -i gc_0.14.0_amd64.deb
150
156
  ```
151
157
 
152
158
  DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
@@ -155,10 +161,10 @@ DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
155
161
 
156
162
  ```bash
157
163
  # 从 Releases 下载 .rpm 包
158
- wget https://gitcode.com/gitcode-cli/cli/releases/download/v0.13.0/gc-0.13.0-1.x86_64.rpm
164
+ wget https://gitcode.com/atomgit-cli/cli/releases/download/v0.14.0/gc-0.14.0-1.x86_64.rpm
159
165
 
160
166
  # 安装
161
- sudo rpm -i gc-0.13.0-1.x86_64.rpm
167
+ sudo rpm -i gc-0.14.0-1.x86_64.rpm
162
168
  ```
163
169
 
164
170
  DEB/RPM packages install both `gc` and `gitcode`; on Linux they are equivalent.
@@ -174,7 +180,7 @@ source .venv/bin/activate # Linux/macOS
174
180
  # .\.venv\Scripts\Activate.ps1 # Windows PowerShell
175
181
 
176
182
  # 安装(一行命令)
177
- pip install https://gitcode.com/gitcode-cli/cli/releases/download/v0.13.0/gitcode_cli-0.13.0-py3-none-any.whl
183
+ pip install https://gitcode.com/atomgit-cli/cli/releases/download/v0.14.0/gitcode_cli-0.14.0-py3-none-any.whl
178
184
 
179
185
  # Windows PowerShell 中推荐使用 gitcode,避免 gc 被内置 Get-Content 别名覆盖
180
186
  gitcode version
@@ -204,7 +210,7 @@ source .venv/bin/activate # Linux/macOS
204
210
  # .\.venv\Scripts\Activate.ps1 # Windows PowerShell
205
211
 
206
212
  # 固定版本安装,避免 PyPI 尚未同步时安装旧版本
207
- python -m pip install -i https://pypi.org/simple/ gitcode-cli==0.13.0
213
+ python -m pip install -i https://pypi.org/simple/ gitcode-cli==0.14.0
208
214
 
209
215
  # Windows PowerShell 中推荐使用 gitcode
210
216
  gitcode version
@@ -219,7 +225,7 @@ gitcode version
219
225
  | Linux x64 | `gc_linux_amd64` |
220
226
  | Linux ARM64 | `gc_linux_arm64` |
221
227
 
222
- 下载地址: https://gitcode.com/gitcode-cli/cli/releases
228
+ 下载地址: https://gitcode.com/atomgit-cli/cli/releases
223
229
 
224
230
  下载后赋予可执行权限,并放到 PATH 目录:
225
231
 
@@ -261,7 +267,7 @@ unset GC_TOKEN
261
267
  ### Homebrew (macOS/Linux)
262
268
 
263
269
  ```bash
264
- brew install gitcode-cli/homebrew-tap/gc
270
+ brew install atomgit-cli/homebrew-tap/gc
265
271
  ```
266
272
 
267
273
  更新到最新版本:
@@ -419,6 +425,12 @@ gitcode precommit check
419
425
  # 查看流水线运行记录
420
426
  gitcode actions run list -R owner/repo --status FAILED
421
427
 
428
+ # 启用单个仓库的 Actions(交互确认)
429
+ gitcode actions setting enable -R owner/repo
430
+
431
+ # 启用组织下全部仓库的 Actions(非交互)
432
+ gitcode actions setting enable --org my-org --yes
433
+
422
434
  # 查看流水线运行详情
423
435
  gitcode actions run view <run-id> -R owner/repo
424
436
 
@@ -490,15 +502,15 @@ source ~/.config/fish/config.fish
490
502
  补充说明:
491
503
 
492
504
  - `docs/AI-GUIDE.md` 只服务外部项目通过 AI 使用 `gitcode`(或源码构建的 `gc`)
493
- - gitcode-cli 仓库内部 AI 开发请看 `AGENTS.md`、`CLAUDE.md` 和 `spec/workflows/ai-local-development-workflow.md`
505
+ - atomgit-cli 仓库内部 AI 开发请看 `AGENTS.md`、`CLAUDE.md` 和 `spec/workflows/ai-local-development-workflow.md`
494
506
  - `issues-plan/PROGRESS.md` 只作为阶段说明,不作为单个 issue / PR 的实时事实依据
495
507
 
496
508
  ## 开发
497
509
 
498
510
  ```bash
499
511
  # 克隆仓库
500
- git clone https://gitcode.com/gitcode-cli/cli.git
501
- cd gitcode-cli
512
+ git clone https://gitcode.com/atomgit-cli/cli.git
513
+ cd cli
502
514
 
503
515
  # 安装依赖
504
516
  make deps
@@ -532,4 +544,4 @@ make run
532
544
 
533
545
  - [GitCode](https://gitcode.com) - GitCode 平台
534
546
  - [API 文档](https://docs.gitcode.com/docs/apis/) - GitCode API 参考
535
- - [问题反馈](https://gitcode.com/gitcode-cli/cli/issues) - 提交 Bug 或建议
547
+ - [问题反馈](https://gitcode.com/atomgit-cli/cli/issues) - 提交 Bug 或建议
@@ -0,0 +1,15 @@
1
+ gc_cli/__init__.py,sha256=Ryb-uH9JZOlPi8Udr5wS1UoSp7ZEENShgeVvmEXYWgM,243
2
+ gc_cli/__main__.py,sha256=fqZ9iOh0ac8K_B9WmHydaxokzIivd5QBPJoNqgXnugo,154
3
+ gc_cli/wrapper.py,sha256=Q_NathDiUKF5C4D-TEQd5Ky_y2GN88pqS2IybKKOkRs,3155
4
+ gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ gc_cli/bin/gc-darwin-amd64,sha256=lk4jzBXk1dnRE_xYv9_LL1SGpjMPj88fNDw_1M_S8Lo,10234288
6
+ gc_cli/bin/gc-darwin-arm64,sha256=dFucPx5sbu4zDI8CFRzWcqMxPB35pbAQbZLldQsuVM4,9844402
7
+ gc_cli/bin/gc-linux-amd64,sha256=fxTcEeqPt5wtyRqHHdPYLHobX_i22nMu5A6ZVyIbjG8,9314456
8
+ gc_cli/bin/gc-linux-arm64,sha256=QL4fBKTIE7k2nTDIae9dYPPM8LernyOY4kkTZmS4kpQ,8913048
9
+ gc_cli/bin/gc-windows-amd64.exe,sha256=M5TvR6nZVGnIXOfGAY4airBIet9rmK7NYLKFUcPrAzE,9690624
10
+ gitcode_cli-0.14.0.dist-info/licenses/LICENSE,sha256=dViNRlgMSkfn1udYjx-DEm8D6e182mc47gnLUMNjI24,1254
11
+ gitcode_cli-0.14.0.dist-info/METADATA,sha256=USX9whh7uWu4xk07PBnvug6lCFIyc1XOXZc5uZ6lUPM,19996
12
+ gitcode_cli-0.14.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
+ gitcode_cli-0.14.0.dist-info/entry_points.txt,sha256=DresfT5jkpwU3fPn8n0MTao1m5QZi3XEulKFbQ8BYYY,73
14
+ gitcode_cli-0.14.0.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
15
+ gitcode_cli-0.14.0.dist-info/RECORD,,
@@ -1,15 +0,0 @@
1
- gc_cli/__init__.py,sha256=7mbgnWw-LES9R2I82FFJiHZ8eoNaNQudkE8bh6eBmW8,243
2
- gc_cli/__main__.py,sha256=fqZ9iOh0ac8K_B9WmHydaxokzIivd5QBPJoNqgXnugo,154
3
- gc_cli/wrapper.py,sha256=Q_NathDiUKF5C4D-TEQd5Ky_y2GN88pqS2IybKKOkRs,3155
4
- gc_cli/bin/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- gc_cli/bin/gc-darwin-amd64,sha256=pp4pY21DLUS2OiL7b19eXmmzDhR5lfUvV3RFtX8NQ-0,10175920
6
- gc_cli/bin/gc-darwin-arm64,sha256=qEzPl0q9yibfwTx7KG2CfYY_XNUvTSL_fWP5QAoI3hQ,9789746
7
- gc_cli/bin/gc-linux-amd64,sha256=FU4omwz7CA1fljzuVPW9r2i0-UuTvxLP4EmEvAwTjI0,9261208
8
- gc_cli/bin/gc-linux-arm64,sha256=PeUJlF0RMtyudTk4Y0Z0jardgD2Y2rkEWdEL1S1Jdjo,8847512
9
- gc_cli/bin/gc-windows-amd64.exe,sha256=K3w2Puosb6gxMwnKwjMt4yFSZopd7PAW81TXX0ol9ro,9562624
10
- gitcode_cli-0.13.0.dist-info/licenses/LICENSE,sha256=dViNRlgMSkfn1udYjx-DEm8D6e182mc47gnLUMNjI24,1254
11
- gitcode_cli-0.13.0.dist-info/METADATA,sha256=XsWS8BtH2sXAFudwBnwN1jK2foOiv3Gk_8l4DRNhBM0,19295
12
- gitcode_cli-0.13.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
- gitcode_cli-0.13.0.dist-info/entry_points.txt,sha256=DresfT5jkpwU3fPn8n0MTao1m5QZi3XEulKFbQ8BYYY,73
14
- gitcode_cli-0.13.0.dist-info/top_level.txt,sha256=2fSmR3kQ-XhdgFQdVvWmZcEyERJKVZVxOhk7tna1Sus,7
15
- gitcode_cli-0.13.0.dist-info/RECORD,,