@delta-infra/cli 1.0.2 → 1.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delta-infra/cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Delta Sandbox CLI",
5
5
  "bin": {
6
6
  "delta-cli": "scripts/run.js"
@@ -9,8 +9,12 @@
9
9
  "postinstall": "node scripts/install.js"
10
10
  },
11
11
  "files": [
12
- "scripts/",
13
- "skills/"
12
+ "scripts/install.js",
13
+ "scripts/run.js",
14
+ "skills/delta-sandbox/SKILL.md",
15
+ "skills/delta-sandbox/references/",
16
+ "skills/delta-shared/SKILL.md",
17
+ "skills/delta-shared/references/"
14
18
  ],
15
19
  "keywords": [
16
20
  "delta",
@@ -1,20 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
-
4
- cd /usr/src/myapp
5
- mkdir -p bin
6
-
7
- VERSION=$(git describe --tags --always --dirty 2>/dev/null || echo "dev")
8
- COMMIT=$(git rev-parse --short HEAD 2>/dev/null || echo "unknown")
9
- DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ)
10
-
11
- LDFLAGS="-X github.com/delta-infra/delta-infra-cli/internal/build.Version=${VERSION} -X github.com/delta-infra/delta-infra-cli/internal/build.Commit=${COMMIT} -X github.com/delta-infra/delta-infra-cli/internal/build.Date=${DATE}"
12
-
13
- echo "Building delta-cli-linux-amd64 ..."
14
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs=false -ldflags "${LDFLAGS}" -o bin/delta-cli-linux-amd64 ./cmd/delta-cli
15
-
16
- echo "Building delta-cli-windows-amd64.exe ..."
17
- CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -buildvcs=false -ldflags "${LDFLAGS}" -o bin/delta-cli-windows-amd64.exe ./cmd/delta-cli
18
-
19
- echo "Done."
20
- ls -la bin/
package/skills/AGENTS.md DELETED
@@ -1,39 +0,0 @@
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