@delta-infra/cli 1.0.8 → 1.0.9

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 CHANGED
@@ -100,7 +100,7 @@ delta-cli config init \
100
100
 
101
101
  # 通过环境变量
102
102
  export DELTA_INFRA_BASE_URL=http://your-server/api/v1
103
- export DELTA_SANDBOX_TOKEN=your-token
103
+ export DELTA_INFRA_TOKEN=your-token
104
104
  delta-cli config init
105
105
  ```
106
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delta-infra/cli",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Delta Sandbox CLI",
5
5
  "bin": {
6
6
  "delta-cli": "scripts/run.js"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: delta-shared
3
- version: 1.0.8
3
+ version: 1.0.9
4
4
  description: "delta-cli 全局共享规则:配置/认证检查、安全红线、错误处理、sandbox 销毁。"
5
5
  ---
6
6
 
@@ -34,7 +34,7 @@ delta-cli config init --base-url <server-url> --token <token>
34
34
 
35
35
  ### 信息来源优先级
36
36
 
37
- 1. 环境变量:`DELTA_INFRA_BASE_URL`、`DELTA_SANDBOX_TOKEN`
37
+ 1. 环境变量:`DELTA_INFRA_BASE_URL`、`DELTA_INFRA_TOKEN`
38
38
  2. `~/.delta-infra/config.json` 中的 `base_url` / `token`
39
39
  3. 默认值:仅 `base_url` 有内部默认值
40
40
  4. 以上都缺失时,**必须询问用户**,禁止虚构