@dashai/cli 0.21.0 → 0.22.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 +10 -0
- package/dist/bin.js +872 -11
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -427,6 +427,16 @@ Flags:
|
|
|
427
427
|
- `--exclude <pattern...>` — Extra exclude patterns appended to the defaults.
|
|
428
428
|
- `--dir <path>` — Project root.
|
|
429
429
|
|
|
430
|
+
### `dashwise module runtime` / `module runtime set` / `module rebuild`
|
|
431
|
+
|
|
432
|
+
Admin-granted controls for a deployed module (plan: `module-admin-controls-plan.md`). Each needs a grant your Dashwise admin makes per workspace; without it the command prints one sentence such as `Streaming for raise-tracker needs a Dashwise admin. Ask your Dashwise admin to enable it.` and exits **3** (other failures exit 1; exit **4** means it stopped waiting at `--timeout`, and the change or build may still finish).
|
|
433
|
+
|
|
434
|
+
- `dashwise module runtime [slug] [--install <id>] [--workspace <ws>] [--json]`: streaming (requested vs in effect), memory, eligibility, grant state, last change.
|
|
435
|
+
- `dashwise module runtime set [slug] --streaming on|off [--memory <mb>] [--reason <text>] [--install <id>] [-y] [--no-wait] [--timeout <s>] [--json]`: switch streaming (about a minute; waits by default). `--memory` is operator-only today and is refused with a hint.
|
|
436
|
+
- `dashwise module rebuild [slug] [--platform-defaults manifest|on|off] [--clean] [--bump patch] [--rollout none|installs:<ids>|workspace[:<id>]] [--from-build <id>] [--reason <text>] [--no-wait] [--timeout <s>] [--json]`: a new patch version from the published source with today's platform image; `--bump minor|major` needs a Dashwise admin.
|
|
437
|
+
|
|
438
|
+
`--json` puts every outcome on stdout as one object. Refusals and failures print `{ "error": { code, message, status, context }, "hint", "needs_grant" }` (`error.code` `USAGE` for a bad invocation), with the failed `build` or `operation` attached when one ran; a timeout adds `"timed_out": true`.
|
|
439
|
+
|
|
430
440
|
### `dashwise query`
|
|
431
441
|
|
|
432
442
|
Run a typed query against the local module's installation via the `@dashai/sdk/query` plane. Three modes:
|