@datarails-ai/dr-appspace-cli 0.12.73 → 0.12.75
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 +16 -2
- package/dist/cli.js +750 -126
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,8 +26,22 @@ dr-appspace app-space whoami -s DEV
|
|
|
26
26
|
to managed agents works here unchanged.
|
|
27
27
|
- **`app-space` commands** (ported from `dr-dev-cli app-space`, re-based onto
|
|
28
28
|
this auth): `whoami`, `list`, `get`, `logs`, `try`, `push`, `publish`,
|
|
29
|
-
`unpublish` — plus `scaffold`, `preview`, `test`, `contract`, `compile
|
|
30
|
-
`eject`.
|
|
29
|
+
`unpublish` — plus `scaffold`, `preview`, `test`, `contract`, `compile`,
|
|
30
|
+
`eject` and `migrate`.
|
|
31
|
+
|
|
32
|
+
### Moving an app to the new `ctx` names
|
|
33
|
+
|
|
34
|
+
`migrate [dir]` sends the folder's handlers, lib modules and manifest to
|
|
35
|
+
`POST /apps/migrate-preview` and prints the diff, the open points and the
|
|
36
|
+
manifest additions. It writes nothing. `--write` applies the diff, adds the
|
|
37
|
+
manifest additions (it never changes or deletes a key you wrote), and then runs
|
|
38
|
+
the package check (`/package/validate`, the push's own gates); `--no-check`
|
|
39
|
+
skips that. The write is all or nothing: a link, a file you may not write, a
|
|
40
|
+
file that is not UTF-8 or a file that changed after it was sent stops it before
|
|
41
|
+
the first write, and a failure after it puts the old text back. The manifest
|
|
42
|
+
additions go into your own text and layout.
|
|
43
|
+
`--to-runtime 2` is refused: runtime 2 is proposed (DR-58160). Rules:
|
|
44
|
+
`docs/appspace/ctx-migrate.md`.
|
|
31
45
|
|
|
32
46
|
### A handler that takes a file
|
|
33
47
|
|