code-agent-auto-commit 1.3.2 → 1.3.3
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/.code-agent-auto-commit.example.json +1 -1
- package/README.md +2 -0
- package/dist/core/config.js +1 -1
- package/docs/zh-CN.md +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,6 +48,8 @@ cac init
|
|
|
48
48
|
# Edit .cac/.code-agent-auto-commit.json — set your model and defaultProvider.
|
|
49
49
|
# Fill keys in .cac/.env and load them:
|
|
50
50
|
source .cac/.env
|
|
51
|
+
# OR:
|
|
52
|
+
cac ai set-key <provider|ENV_VAR> <api-key> [--config <path>]
|
|
51
53
|
|
|
52
54
|
# 3. Install hooks
|
|
53
55
|
cac install --tool all --scope project
|
package/dist/core/config.js
CHANGED
package/docs/zh-CN.md
CHANGED
|
@@ -18,6 +18,8 @@ cac init
|
|
|
18
18
|
# 编辑 .cac/.code-agent-auto-commit.json,设置 model 和 defaultProvider。
|
|
19
19
|
# 在 .cac/.env 中填入 API Key 后加载:
|
|
20
20
|
source .cac/.env
|
|
21
|
+
# 或者:
|
|
22
|
+
cac ai set-key <provider|ENV_VAR> <api-key> [--config <path>]
|
|
21
23
|
|
|
22
24
|
# 3. 安装钩子
|
|
23
25
|
cac install --tool all --scope project
|
package/package.json
CHANGED