@delta-infra/cli 1.0.1 → 1.0.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/README.md CHANGED
@@ -29,6 +29,12 @@ npm install -g @delta-infra/cli
29
29
 
30
30
  安装时会自动从 GitHub Release 下载当前平台的二进制文件并解压到本地。
31
31
 
32
+ ### 方式三:Go Install
33
+
34
+ ```bash
35
+ go install github.com/delta-infra/delta-infra-cli/cmd/delta-cli@latest
36
+ ```
37
+
32
38
  ## 快速开始
33
39
 
34
40
  ### 1. 初始化配置
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delta-infra/cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Delta Sandbox CLI",
5
5
  "bin": {
6
6
  "delta-cli": "scripts/run.js"
@@ -12,7 +12,13 @@
12
12
  "scripts/",
13
13
  "skills/"
14
14
  ],
15
- "keywords": ["delta", "sandbox", "cli", "gpu", "compute"],
15
+ "keywords": [
16
+ "delta",
17
+ "sandbox",
18
+ "cli",
19
+ "gpu",
20
+ "compute"
21
+ ],
16
22
  "license": "MIT",
17
23
  "engines": {
18
24
  "node": ">=18.0.0"
@@ -0,0 +1,39 @@
1
+ # skills/ — AI Agent Skill Packages
2
+
3
+ **Generated:** 2026-06-16 (Deep Refresh)
4
+ **Parent:** `../AGENTS.md`
5
+
6
+ ## OVERVIEW
7
+
8
+ Markdown-based skill definitions for AI agents interacting with delta-cli. Two packages: `delta-sandbox` (sandbox lifecycle operations) and `delta-shared` (auth, config, error handling conventions).
9
+
10
+ ## STRUCTURE
11
+
12
+ ```
13
+ skills/
14
+ ├── delta-sandbox/
15
+ │ ├── SKILL.md # YAML frontmatter + Markdown operation guide
16
+ │ └── references/ # (empty or planned)
17
+ └── delta-shared/
18
+ └── SKILL.md # Shared auth/config rules
19
+ ```
20
+
21
+ ## WHERE TO LOOK
22
+
23
+ | Path | Content |
24
+ |------|---------|
25
+ | `delta-sandbox/SKILL.md` | Sandbox create/run/read/write/kill workflow for AI agents |
26
+ | `delta-shared/SKILL.md` | Shared auth commands, config management, error interpretation |
27
+
28
+ ## CONVENTIONS
29
+
30
+ - YAML frontmatter with `name`, `description`, `metadata.requires.bins`, `metadata.cliHelp`
31
+ - Markdown body with tables for commands and examples; sections for preconditions
32
+ - Skills are included in npm package `files` array and shipped with the CLI distribution
33
+ - References directory for supplementary docs (lifecycle guides, command cheatsheets)
34
+
35
+ ## ANTI-PATTERNS
36
+
37
+ - Do not embed realistic credentials, API keys, or tokens in skill examples
38
+ - Do not break relative links between skills or references
39
+ - Do not reference internal Go package paths in skill docs — use CLI command names