run402 2.39.3 → 2.39.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/README.md +2 -2
- package/lib/deploy-v2.mjs +10 -11
- package/lib/image.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Command-line interface for [Run402](https://run402.com) — provision Postgres databases, deploy static sites, run Node 22 serverless functions, host content-addressed CDN assets, send email, sign on-chain. Paid autonomously with x402 USDC on Base. **Prototype tier is free on testnet.**
|
|
4
4
|
|
|
5
|
-
For the full CLI reference (every flag, every subcommand) see **<https://run402.com/llms-cli.txt>**.
|
|
5
|
+
For the full CLI reference (every flag, every subcommand) see **<https://docs.run402.com/llms-cli.txt>**.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -243,7 +243,7 @@ run402 functions --help
|
|
|
243
243
|
|
|
244
244
|
The canonical, comprehensive CLI reference — every flag, every subcommand, edge cases, troubleshooting — lives at:
|
|
245
245
|
|
|
246
|
-
**<https://run402.com/llms-cli.txt>**
|
|
246
|
+
**<https://docs.run402.com/llms-cli.txt>**
|
|
247
247
|
|
|
248
248
|
Same content also at [`cli/llms-cli.txt`](./llms-cli.txt) in the repo. Treat that file as authoritative; this README is a quick-orientation landing page.
|
|
249
249
|
|
package/lib/deploy-v2.mjs
CHANGED
|
@@ -93,7 +93,7 @@ Options:
|
|
|
93
93
|
--allow-warnings Continue past plan warnings that require confirmation
|
|
94
94
|
|
|
95
95
|
Output:
|
|
96
|
-
stdout: { "
|
|
96
|
+
stdout: { "release_id": "rel_...", "operation_id": "op_...", "urls": {...}, "warnings": [...] }
|
|
97
97
|
stderr: one JSON event per line (suppressed with --quiet or --final-only)
|
|
98
98
|
|
|
99
99
|
Secrets:
|
|
@@ -141,7 +141,7 @@ the pointer-swap activation). The gateway re-runs only the failed phase
|
|
|
141
141
|
forward — SQL is never replayed.
|
|
142
142
|
|
|
143
143
|
Output:
|
|
144
|
-
stdout: { "
|
|
144
|
+
stdout: { "release_id": "...", "operation_id": "...", "urls": {...} }
|
|
145
145
|
stderr: one JSON event per line (suppressed with --quiet)
|
|
146
146
|
`;
|
|
147
147
|
|
|
@@ -155,7 +155,7 @@ Options:
|
|
|
155
155
|
--limit <n> Maximum number of operations to return
|
|
156
156
|
|
|
157
157
|
Output:
|
|
158
|
-
stdout: { "
|
|
158
|
+
stdout: { "operations": [...], "cursor": "..." | null }
|
|
159
159
|
`;
|
|
160
160
|
|
|
161
161
|
const EVENTS_HELP = `run402 deploy events — Fetch the recorded event stream for a deploy operation
|
|
@@ -167,7 +167,7 @@ Options:
|
|
|
167
167
|
--project <id> Project ID that owns the operation (default: active project)
|
|
168
168
|
|
|
169
169
|
Output:
|
|
170
|
-
stdout: { "
|
|
170
|
+
stdout: { "events": [...] }
|
|
171
171
|
`;
|
|
172
172
|
|
|
173
173
|
const RELEASE_HELP = `run402 deploy release — Inspect deploy release inventory and diffs
|
|
@@ -183,8 +183,8 @@ Subcommands:
|
|
|
183
183
|
diff Diff two release targets
|
|
184
184
|
|
|
185
185
|
Output:
|
|
186
|
-
get/active: { "
|
|
187
|
-
diff: { "
|
|
186
|
+
get/active: { "release": {...} } # includes route inventory and inventory warnings when returned
|
|
187
|
+
diff: { "diff": {...} } # includes route added/removed/changed diff buckets
|
|
188
188
|
`;
|
|
189
189
|
|
|
190
190
|
const RELEASE_GET_HELP = `run402 deploy release get — Fetch a release inventory by id
|
|
@@ -197,7 +197,7 @@ Options:
|
|
|
197
197
|
--site-limit <n> Maximum site path entries to include (gateway default: 5000)
|
|
198
198
|
|
|
199
199
|
Output:
|
|
200
|
-
stdout: { "
|
|
200
|
+
stdout: { "release": {...} } # preserves full routes inventory and warnings
|
|
201
201
|
`;
|
|
202
202
|
|
|
203
203
|
const RELEASE_ACTIVE_HELP = `run402 deploy release active — Fetch the active release inventory
|
|
@@ -210,7 +210,7 @@ Options:
|
|
|
210
210
|
--site-limit <n> Maximum site path entries to include (gateway default: 5000)
|
|
211
211
|
|
|
212
212
|
Output:
|
|
213
|
-
stdout: { "
|
|
213
|
+
stdout: { "release": {...} } # preserves full routes inventory and warnings
|
|
214
214
|
`;
|
|
215
215
|
|
|
216
216
|
const RELEASE_DIFF_HELP = `run402 deploy release diff — Diff two release targets
|
|
@@ -225,7 +225,7 @@ Options:
|
|
|
225
225
|
--limit <n> Maximum entries per site diff bucket (gateway default: 1000)
|
|
226
226
|
|
|
227
227
|
Output:
|
|
228
|
-
stdout: { "
|
|
228
|
+
stdout: { "diff": {...} } # preserves routes.added/removed/changed
|
|
229
229
|
`;
|
|
230
230
|
|
|
231
231
|
const DIAGNOSE_HELP = `run402 deploy diagnose — Diagnose a Run402 public URL
|
|
@@ -244,7 +244,7 @@ Options:
|
|
|
244
244
|
--method <method> HTTP method to diagnose (default: GET)
|
|
245
245
|
|
|
246
246
|
Output:
|
|
247
|
-
stdout: { "
|
|
247
|
+
stdout: { "would_serve": true|false, "diagnostic_status": 200|404|..., "match": "...", "summary": "...", "request": {...}, "warnings": [...], "resolution": {...}, "next_steps": [...] }
|
|
248
248
|
`;
|
|
249
249
|
|
|
250
250
|
const RESOLVE_HELP = `run402 deploy resolve — Low-level deploy URL diagnostics
|
|
@@ -326,7 +326,6 @@ Options:
|
|
|
326
326
|
|
|
327
327
|
Output:
|
|
328
328
|
stdout: {
|
|
329
|
-
"status": "ok",
|
|
330
329
|
"release_id": "rel_old_abc123",
|
|
331
330
|
"operation_id": "op_...",
|
|
332
331
|
"previous_release_id": "rel_new_xxx",
|
package/lib/image.mjs
CHANGED
|
@@ -20,7 +20,7 @@ Examples:
|
|
|
20
20
|
run402 image generate "portrait of a cat CEO" --aspect portrait --output cat.png
|
|
21
21
|
|
|
22
22
|
Output (without --output):
|
|
23
|
-
{ "
|
|
23
|
+
{ "aspect": "square", "content_type": "image/png", "image": "<base64>" }
|
|
24
24
|
|
|
25
25
|
Notes:
|
|
26
26
|
- Requires a funded allowance (run402 allowance create && run402 allowance fund)
|
package/package.json
CHANGED