@dvmkit/dvmctl 0.3.3-rc.1 → 0.3.4-rc.1
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": "@dvmkit/dvmctl",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4-rc.1",
|
|
4
4
|
"description": "Builder CLI for creating, testing, and deploying Digital Vending Machines",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -29,14 +29,16 @@
|
|
|
29
29
|
"node": ">=22"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
|
-
"build": "tsup --metafile && node scripts/check-bundled-notices.mjs",
|
|
32
|
+
"build": "node scripts/check-source-boundary.mjs && node scripts/check-bundled-skills.mjs && tsup --metafile && node scripts/check-bundled-notices.mjs",
|
|
33
33
|
"lint": "eslint . --max-warnings 0",
|
|
34
34
|
"typecheck": "tsc --noEmit",
|
|
35
|
-
"test": "
|
|
36
|
-
"verify": "npm run build && npm run lint && npm run typecheck && npm test"
|
|
35
|
+
"test": "npm run test:source && npm run test:package",
|
|
36
|
+
"verify": "npm run build && npm run lint && npm run typecheck && npm test",
|
|
37
|
+
"test:source": "vitest run",
|
|
38
|
+
"test:package": "node --test test/*.test.mjs"
|
|
37
39
|
},
|
|
38
40
|
"dependencies": {
|
|
39
|
-
"@dvmkit/sdk": "0.1
|
|
41
|
+
"@dvmkit/sdk": "0.2.1-rc.9"
|
|
40
42
|
},
|
|
41
43
|
"optionalDependencies": {
|
|
42
44
|
"pg": "8.20.0",
|
|
@@ -61,6 +63,7 @@
|
|
|
61
63
|
"@eslint/js": "^10.0.1",
|
|
62
64
|
"eslint": "^10.0.2",
|
|
63
65
|
"globals": "^17.7.0",
|
|
64
|
-
"typescript-eslint": "^8.56.1"
|
|
66
|
+
"typescript-eslint": "^8.56.1",
|
|
67
|
+
"vitest": "5.0.2"
|
|
65
68
|
}
|
|
66
69
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: build-dvm
|
|
3
3
|
description: Build a first DVM with dvmkit. Use when asked to turn an idea into a paid HTTPS capability, scaffold or hand-write a DVM, implement a `configureDVM` handler, run it locally, verify Cashu, x402, or Tempo test payments, or prepare it for deployment. Do not use for changing the dvmkit platform, SDK internals, or a caller wallet unrelated to testing a DVM.
|
|
4
|
-
compatibility: Node.js 22+, npm, the invited `@dvmkit/dvmctl` release, `@dvmkit/sdk@0.1
|
|
4
|
+
compatibility: Node.js 22+, npm, the invited `@dvmkit/dvmctl` release, `@dvmkit/sdk@0.2.1-rc.9`, and `@dvmkit/dvm-cli@0.3.0`. Docker is needed only when this skill starts its local Cashu FakeWallet mint or performs a container build.
|
|
5
5
|
allowed-tools: Bash Read Write Edit Glob Grep
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -64,7 +64,7 @@ Scaffold when it helps; a hand-written Node 22 project with `@dvmkit/sdk` is equ
|
|
|
64
64
|
For a hand-written project, pin the admitted SDK exactly:
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
|
-
npm install --save-exact @dvmkit/sdk@0.1
|
|
67
|
+
npm install --save-exact @dvmkit/sdk@0.2.1-rc.9
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
```bash
|
|
@@ -150,6 +150,8 @@ stage. VM resources go in `package.json`'s `dvmkit` field (`{ "dvmkit": { "memor
|
|
|
150
150
|
|
|
151
151
|
### Environment variables
|
|
152
152
|
|
|
153
|
+
For cloud compute deployment automation, `dvmctl deploy --target cloud --env-stdin` accepts a piped JSON object of string environment values. They override the project `.env` for this deployment without rewriting it. Input must finish within 5 seconds and fit in 64 KiB. Send secret values through stdin; local, self-host, connect-tier, and dry-run deployments reject this flag.
|
|
154
|
+
|
|
153
155
|
The SDK reads only `DVMKIT_*`-prefixed variables. Old unprefixed names (`MINTS`,
|
|
154
156
|
`MPP_TEMPO_RECIPIENT`, `X402_PAY_TO`, etc.) and the legacy `DVMKIT_FIRST_PARTY` /
|
|
155
157
|
`DVMKIT_ACCESS_TOKENS` / `DVMKIT_SKIP_PAYMENT` are gone — don't use them.
|