@keystone-os/cli 0.1.0 → 0.2.0
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 +15 -0
- package/dist/index.js +1316 -19
- package/package.json +19 -7
package/README.md
CHANGED
|
@@ -50,3 +50,18 @@ keystone build
|
|
|
50
50
|
keystone build --anchor-arweave
|
|
51
51
|
keystone build -o ./dist
|
|
52
52
|
```
|
|
53
|
+
|
|
54
|
+
### publish [dir]
|
|
55
|
+
|
|
56
|
+
Full pipeline: Gatekeeper → Build → Arweave (Cold) → Registry (Hot).
|
|
57
|
+
|
|
58
|
+
| Step | Action | Tool |
|
|
59
|
+
|------|--------|------|
|
|
60
|
+
| 1. Scan | Security & policy check | Gatekeeper AST + lockfile |
|
|
61
|
+
| 2. Anchor | Immutable code upload | Arweave via Irys |
|
|
62
|
+
| 3. Register | Hot path indexing | Keystone OS API |
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
keystone publish -n "My App" -d "Description" -w <creator_wallet> --api-url https://keystone.example.com
|
|
66
|
+
keystone publish --skip-arweave # Skip Arweave (registry only)
|
|
67
|
+
```
|