@dokebi/cli 0.4.91 → 0.4.93

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/AI.md CHANGED
@@ -77,7 +77,7 @@ The `blog` plan, depending on the answers: `init` (when the folder is not a proj
77
77
  | `dokebi config unset <id>[.<path>]... [--process <name>]` | Removes options ([D-0153](https://git.nyx-zone.com/dokebi/framework/-/blob/main/docs/decisions/D-0153-config-unset.md)) from dokebi.yaml and from dokebi.example.yaml where the sample has them, in one transaction, with the mappings left empty (the plugin section stays): `{ removed: [{ option, files }], changed, warnings?, configRequired? }`. Values are never printed. A path that is not set is the warning `OPTION_NOT_SET` (a repeated call changes nothing); a secret may be removed (warning `SECRET_REMOVED`: what it signed no longer verifies; to replace one use `config secret --rotate`). The plugin need not be installed (a section `dokebi remove` kept). `logging.<path>` removes from `options.logging`, list items by `name` (else `type`) or index (`config unset logging.targets.studio` removes that target); an item that is not there is `OPTION_NOT_SET`. The removal may only leave missing required values (`configRequired`) or issues the options already had (warning `OPTIONS_STILL_INVALID` with the next `hint`); a new issue is `INVALID_PLUGIN_OPTIONS` and nothing is written. Use it for a key a plugin does not know: `INVALID_PLUGIN_OPTIONS` (from add, config set, doctor) names `npx dokebi config unset <id>.<key>` in its `fix`, and a key that moved to another plugin (`dokebi-web.files` → `dokebi-static.mounts`, D-0147) says where it went and the commands that carry it over A section a file still holds as written is that section, never the plugin the name belongs to: in a sample with the old `options.dokebi-logger` (now `options.logging`), `config unset dokebi-logger.level` removes that old key and warns `SECTION_NOT_READ`, and the live `logging.level` stays (AI-M47 report: it removed the live one before); with no such section the plugin id is `PATH_MISMATCH` (name it `logging.<path>`). List indexes and names are of each file as it is before the call, whichever name reaches the section; one item named twice (`logging.targets.studio` and its index) is removed once. A section alone (`config unset dokebi-logger`) removes a whole section nothing reads; a plugin's, the settings' or a core section (`logging`, `reload`) that way is `INVALID_SET` With `--process <name>` (D-0251) only that process's own value goes (it then reads the shared one); dokebi.example.yaml is not changed. |
78
78
  | `dokebi config secrets` | The secret option paths the app needs, **by name, never values** ([D-0184](https://git.nyx-zone.com/dokebi/framework/-/blob/main/docs/decisions/D-0184-production-deploy.md)): `{ file, secretsFile, listed, secrets[{path, source, listed, required, type}], missing }` from the settings the app reads (`DOKEBI_CONFIG`, else dokebi.yaml) merged with the secrets file `DOKEBI_SECRETS` names. `source` is `config`, `secrets` or `null` (not set: absent, empty or a `<placeholder>`); `listed` means the document's `secrets:` list names it (the app refuses to start without it), `required` that an installed plugin's install plan generates it (`dokebi-session.secrets`). A secret inside a list item is named by the item where the settings name it (`logging.targets.studio.token` for `logging.targets.1.token`: its `name`, else the `type` of an item without a name, when no other item shares it): the key a secrets file fills that field with, the list staying in the settings (@dokebi/config 0.4.4). `type` is the option's JSON Schema type (`string`; `array` for a list such as `dokebi-session.secrets`, `dokebi-auth.secrets`, `dokebi-csrf.secrets`, `dokebi-mail.secrets`; several as a list; `null` without a schema): a tool that writes the secrets file writes an `array` as a YAML list, even of one value (a text there is `INVALID_PLUGIN_OPTIONS`). Exit 1 with `ok: false` while `missing` is not empty. Warnings `SECRET_IN_CONFIG_FILE` (with `DOKEBI_SECRETS` set, the settings file still holds a secret) and `SECRETS_PLAN_UNREADABLE` (a plugin's install module could not run: npm install). A secrets file readable by others, the same option in both files, or a list item the settings do not have, fails as the app would (`CONFIG_SECRETS_UNSAFE`, `CONFIG_SECRETS_CONFLICT`, `CONFIG_SECRETS_UNMATCHED`) |
79
79
  | `dokebi deploy init [--target <systemd\|compose>] [--instance <name>]... [--port <n>] [--dry-run]` | **An existing project made ready for a server** (D-0184, §11): per instance (with @dokebi/web: `production` port 3000, `staging` 3001, another name needs `--port`, two instances never share a port: `PORT_IN_USE`; without it nothing listens: no port (0, `— (no web server)` in DEPLOY.md) and `--port` is `USAGE`) `deploy/<instance>/dokebi.example.yaml` (the sample without its secrets, with the instance's web host/port/trustProxy, storage folder and a `secrets:` list), `deploy/<instance>/secrets.example.yaml` (the secret paths with placeholders; a secret inside a list item is that field only, named by the item: `logging.targets.studio.token`, the list staying in the settings sample), `deploy/systemd/<app>-<instance>.service` (or `deploy/compose/<instance>.yaml` with `--target compose`, and Dockerfile/.dockerignore when missing), with @dokebi/db also `deploy/systemd/<app>-<instance>-backup.service`/`.timer`, `deploy/backup.mjs` and `deploy/restore-drill.mjs`, and `DEPLOY.md`. Result `{ app, target, instances[{instance, port, unit, settings, secrets, code, data, logs, backups, database}], secrets, changed, unchanged, kept }`. A second run changes nothing; a file you edited since is kept (`kept`, warning `DEPLOY_FILE_KEPT`); an untouched one is rewritten (DEPLOY.md gains a new instance). Errors `NOT_A_PROJECT`, `APP_NAME_INVALID` (package.json name), `EXAMPLE_MISSING`, `PORT_REQUIRED`, `PORT_IN_USE`, `OPTIONS_SCHEMA_UNREADABLE` (npm install first: without a plugin's schema its secrets cannot be told apart) |
80
- | `dokebi deploy proxy --caddy\|--nginx --domain <host>... [--instance <name>] [--dry-run]` | The reverse proxy file of an instance (D-0184): `deploy/proxy/<app>-<instance>.Caddyfile` or `.nginx.conf`, from `deploy/<instance>/dokebi.example.yaml` (port, health routes, body limit, request timeout): TLS (Caddy's automatic certificates; nginx with certbot's paths and an http → https redirect), `X-Forwarded-For/Proto/Host`, WebSocket upgrades (nginx: other requests send no `Connection` upstream, so `keepalive 16` reuses connections, idle for at most 60 s, below the app's 72 s), unbuffered SSE (the app sends `X-Accel-Buffering: no`) and a long read timeout when the app keeps streams (SSE, WebSocket, MCP), only the listed names (nginx answers another `Host` with 421; Caddy serves only its site names), `/health/live` and `/health/ready` passed through with one `Cache-Control: no-store` (the app's own replaced), the app's own `Cache-Control` and compression left as they are. Warnings `TRUST_PROXY_MISSING` (the sample's `dokebi-web.trustProxy` lacks 127.0.0.1 or ::1) and `DOMAIN_NOT_MAPPED` (a domain not in `dokebi-app.domains`). Errors `WEB_NOT_INSTALLED`, `INSTANCE_UNKNOWN` (deploy init first) |
80
+ | `dokebi deploy proxy --caddy\|--nginx --domain <host>... [--front cloudflare\|cloudfront\|none] [--instance <name>] [--dry-run]` | The reverse proxy file of an instance (D-0184): `deploy/proxy/<app>-<instance>.Caddyfile` or `.nginx.conf`, from `deploy/<instance>/dokebi.example.yaml` (port, health routes, body limit, request timeout): TLS (Caddy's automatic certificates; nginx with certbot's paths and an http → https redirect), `X-Forwarded-For/Proto/Host`, WebSocket upgrades (nginx: other requests send no `Connection` upstream, so `keepalive 16` reuses connections, idle for at most 60 s, below the app's 72 s), unbuffered SSE (the app sends `X-Accel-Buffering: no`) and a long read timeout when the app keeps streams (SSE, WebSocket, MCP), only the listed names (nginx answers another `Host` with 421; Caddy serves only its site names), `/health/live` and `/health/ready` passed through with one `Cache-Control: no-store` (the app's own replaced), the app's own `Cache-Control` and compression left as they are. Warnings `TRUST_PROXY_MISSING` (the sample's `dokebi-web.trustProxy` lacks 127.0.0.1 or ::1) and `DOMAIN_NOT_MAPPED` (a domain not in `dokebi-app.domains`). Errors `WEB_NOT_INSTALLED`, `INSTANCE_UNKNOWN` (deploy init first) With `--nginx --front cloudflare\|cloudfront\|none` (D-0252) it writes one server on port 80 for domains a CDN ends TLS for, or reached over plain HTTP (`none`): `X-Forwarded-For $proxy_add_x_forwarded_for` (appended, never replaced), Host as sent, and the front's scheme (`$http_x_forwarded_proto`, `$http_cloudfront_forwarded_proto`, `$scheme`). Its first line `# dokebi-proxy-format: 1 front=<front>` names a stable format a server agent can copy. The app then lists the CDN in `dokebi-web.edges` (@dokebi/web AI.md §2.6). |
81
81
  | `dokebi dev-infra [up\|start\|stop\|down\|status] [--file <path>] [--db-port <n>] [--dry-run]` | Without an action: prepare compose.yaml and the database URL in dokebi.yaml; no .env is generated. With an action: run Docker Compose using the YAML password in the child environment only. Repeat --file for additional Compose files. down retains data volumes. --db-port and --dry-run apply only to preparation. On a kept compose.yaml (`COMPOSE_KEPT`, its published port is the URL's) `--db-port <n>` changes only the published host port of `services.db` in it (every other byte of the file stays) and the URL in dokebi.yaml, with the warning `COMPOSE_PORT_CHANGED` (`hint`: `dev-infra up` recreates a running container on the new port and keeps its data volume); a taken port is `PORT_IN_USE`. A port entry the CLI cannot read (a variable, a range) refuses `--db-port` with `COMPOSE_PORT_UNKNOWN` (`details.file`, `details.fix`: set the entry yourself) and nothing is written; without the flag the run keeps the URL's port and warns `COMPOSE_PORT_UNKNOWN`. A MongoDB is a single-node replica set (`rs0`, D-0103): the generated mongod gets `--replSet rs0` and a key file made inside the container at each start (mongod needs one for a replica set with authentication), the healthcheck initiates the set once and passes when the member is the writable primary (so `up` returns when transactions work), and the URL ends with `replicaSet=rs0&directConnection=true`; `service.replicaSet` says so. A kept compose.yaml whose server is standalone (written before) keeps a standalone URL and gives the warning `DEV_INFRA_STANDALONE`, whose `hint` is the switch: `dev-infra down`, move compose.yaml away, `dev-infra --db-port <its port>`, `dev-infra up` (password and data volume kept). `DEV_INFRA_CONFIG_INVALID` means the main database URL is invalid/unset; `DEV_INFRA_FAILED` means the Compose action failed. |
82
82
  | `dokebi verify [--wait-ms <n>] [--test-timeout-ms <n>]` · `verify --remote <https-url> [--timeout-ms <ms>]` | With `--remote` (D-0184) only that site is checked, nothing local runs: `{ ok, url, checks[{name, ok, warning?, status?, detail, ms}], certificate? }` with the checks `tls` (the certificate is valid for the host; under 14 days left is a warning), `redirect` (http answers a redirect to https; a warning otherwise), `live` and `ready` (the health routes of the settings when run in a project, else `/health/live` and `/health/ready`, must answer 200), `headers` (HSTS and `X-Content-Type-Options: nosniff`; on an HTML answer also `X-Frame-Options` or CSP `frame-ancestors`, and `Referrer-Policy` (a warning); `X-Powered-By` fails; HSTS under 180 days is a warning); exit 1 when a check fails. Without it: `{ ok, checks[{name, ok, skipped?, ms, code?, message?, details?}], urls[], listen[], tests?, tellUser?, relay?, finalReport?, warnings? }` (`warnings`: `ENV_DOKEBI_CONFIG_IGNORED` when `.env` sets `DOKEBI_CONFIG`, §2.2): doctor → check (`dokebi check` below, reusing the doctor result) → typecheck (skipped without the script) → build (Vite) → test (the package.json `test` script, skipped without one: `no test script`; see **Tests in verify** below) → preflight (`ALREADY_RUNNING`, `PORT_IN_USE`, `DB_URL_MISSING`; a taken web port is the user's call as in the recipe preflight: the problem has `alternative` (the first free port after it), `fix` (`npx dokebi config set dokebi-web.port=<alternative>`), `waitForUser`, `question` and `next`, and the result repeats `waitForUser`, `question` and `next`; `waitForUser` is false when the last recipe ran with `--defaults`) → start (`--wait-ms`, default 30000) → HTTP (connects to the listening address: `/health/ready`, and `GET /` with the Host header of every app domain; with neither a readiness route (`healthRoutes: false`) nor an app domain, one identity probe `GET /` that passes with any status below 500 carrying this run's header, so HTTP never passes without a request: `details.requests[].identity: true`; each request must complete within 5 s, a response cut off or never finished is `HTTP_FAILED`) → stop. `urls` are the addresses the app answers (see `start`), `listen` the bound addresses. `ok` only when everything passes (otherwise exit 1). A doctor or preflight failure skips the start; a check failure does not. It never stops an app that already runs. **HTTP counts only answers from the app verify started**: it passes a random token in `DOKEBI_VERIFY_TOKEN` and @dokebi/web echoes it in the response header `x-dokebi-verify` (only while that variable is set, no cost in production). An answer without the token comes from another server on the port: `FOREIGN_SERVER` (`details.requests[].instance: other`). When the app did not start, HTTP is skipped and fails (`NOT_STARTED`). A settings file with `dokebi-web.listen: false` (a worker process of the same code picked with `DOKEBI_CONFIG`, D-0221) skips HTTP as passed (`skipped: 'listen: false (dokebi-web): this process opens no port'`) and the preflight's port check; start still proves the app started (0.4.45) and returns at its ready signal instead of waiting out `--wait-ms` for a listening line that never comes (0.4.46). stop ends the processes verify started by the pid start returned (no `ps` needed, works in a sandbox); `APP_EXITED` when the app ended by itself first, `STOP_FAILED` when a signal cannot be sent; a SIGINT, SIGTERM or SIGHUP to verify while its app runs stops that app first (forced after 5 s), then verify ends as the signal says (also while the start step still waits for the app: nothing it started is left running). With `ok: true` and an applied recipe (`.dokebi/recipe.json`), `tellUser: string[]` holds the lines your final message must include (each choice with who made it: `<id> = <value>: your answer`, `: chosen by the AI (you left the choice to it)` followed by `: <aiReason>` when you gave one, `: chosen by default (<reason>)`; then the notices); a notice that names the app address (the admin login) is filled in with the address the app has now (`urls`, else `dokebi-web.port`), so a later port change shows the new one; with them comes `relay: { tellUser: 'verbatim', instruction }` (AI-M05 F6): copy the lines unchanged into your final message, never translated, reworded or summarized, and add your own summary only after them; when verify also has `finalReport`, the instruction adds that the table or list a heading announces (Database practice, Silenced check rules) is written right under it in the same message — a results file or a link does not replace it; the human output ends with them under `Tell the user exactly these lines.` and the same instruction. An EJS blog without @dokebi/session gets a notice that offers it to the user (AI-M05 F3: with `--defaults` the next step says not to add it, since the defaults are the plan; with `--answers-from user` the next step says to ask first). Without a recipe record there is no `tellUser`. With `ok: true` and @dokebi/db installed, `finalReport: string[]` (D-0105 §4) says what your final message must also contain, written by you rather than copied: the table of section 6 of `node_modules/@dokebi/db/AI.md`, one row per rule with the queries or jobs it applies to, the measurement and the verdict (pass, or the fix you made) (a results file does not replace it); the human output lists it under `Your final message must also contain:`, and when there are `tellUser` lines they end with a heading for each (`Database practice (@dokebi/db AI.md section 6): the table below, here in this message, has one row per rule of that section (6.1 Cost follows the page, not the table; …), …`, naming the rules of the installed AI.md, `Silenced check rules (dokebi-check allow markers), each followed below, here in this message, by why the rule does not apply there: …`): relay them as they are and write the table or the reasons under them |
83
83
  | `dokebi mail preview <name> [--locale <locale>]` | Render preview.json without network connections or data hooks; JSON includes subject, html, text and locale |
@@ -135,7 +135,7 @@ Most commands support `--json` (one machine document); interactive `dev`, `logs`
135
135
  - Every app the CLI runs (`dev`, `start`, `start --foreground`, `verify`) gets an existing project `.env` under the CLI's own environment (§2.2).
136
136
 
137
137
  - One project = one entry (`src/main.ts`; several apps share it), started once, or (D-0251) once per process of one settings file.
138
- - **Several processes from one dokebi.yaml (D-0251).** When the settings declare `processes` (each with what it changes from the shared `options`, @dokebi/config AI.md §1.2) and `run` (the ones this folder starts; default: all), `dev` and `start` start `src/main.ts` once per process of `run`, each with `DOKEBI_PROCESS=<name>`, so each reads its own options (a web process, and a worker with `dokebi-web.listen: false` that takes the job queues, runs the schedules and the outbox). Under `start` several processes run under one supervisor (the pid of the PID file): their lines go to app.log tagged with the process, `ready` comes once every process started (their IPC message or start line), `stop` and `reload` reach all of them, and one that ends while the others run is written to the log (`PROCESS_EXITED`) and ends the others, as one app's crash would. The result and `status` name `processes`. One process in `run` (a worker-only folder: another deployment of the same file with `run: [worker]`) starts alone, its lines untagged. Before the start, what the set leaves undone is a warning (also in `doctor`): `PROCESS_QUEUE_NOT_TAKEN` (a job queue no declared process takes: jobs only pile up), `PROCESS_WORK_NOT_RUN` (no process runs the outbox, the schedules or partition upkeep), `PROCESS_SCHEDULES_TWICE` (several processes run the schedules without `coordination`); two processes of `run` listening on one port (`PROCESS_PORT_SHARED`) or sharing a websocket-hub `serverId` (`PROCESS_SERVER_ID_SHARED`) are errors and refuse the start (`PROCESS_SET_INVALID`). A process declared but not in `run` counts as running elsewhere. `doctor` also checks each process's own options against the plugin schemas (`INVALID_PLUGIN_OPTIONS` with `path: dokebi.yaml (processes.<name>)`). A settings file per process (`DOKEBI_CONFIG=dokebi.worker.yaml node src/main.ts`, D-0221) still works. Run files live in `.dokebi/run/` (`app.pid`, `app.log`, `app.log.1`…, `log-writer.log`; the `.gitignore` inside is `*`, so Git never takes them).
138
+ - **Several processes from one dokebi.yaml (D-0251).** When the settings declare `processes` (each with what it changes from the shared `options`, @dokebi/config AI.md §1.2) and `run` (the ones this folder starts; default: all), `dev` and `start` start `src/main.ts` once per process of `run`, each with `DOKEBI_PROCESS=<name>`, so each reads its own options (a web process, and a worker with `dokebi-web.listen: false` that takes the job queues, runs the schedules and the outbox). Under `start` several processes run under one supervisor (the pid of the PID file): their lines go to app.log tagged with the process, `ready` comes once every process started (their IPC message or start line), `stop` and `reload` reach all of them, and one that ends while the others run is written to the log (`PROCESS_EXITED`) and ends the others, as one app's crash would. The result and `status` name `processes`. One process in `run` (a worker-only folder: another deployment of the same file with `run: [worker]`) starts alone, its lines untagged. Before the start, what the set leaves undone is a warning (also in `doctor`): `PROCESS_QUEUE_NOT_TAKEN` (a job queue no declared process takes: jobs only pile up), `PROCESS_WORK_NOT_RUN` (no process runs the outbox, the schedules or partition upkeep), `PROCESS_SCHEDULES_TWICE` (several processes run the schedules without `coordination`); two processes of `run` listening on one port (`PROCESS_PORT_SHARED`) or sharing a websocket-hub `serverId` (`PROCESS_SERVER_ID_SHARED`) are errors and refuse the start (`PROCESS_SET_INVALID`). A process declared but not in `run` counts as running elsewhere. Under `dev` a process whose own options set `application-runtime.workers` runs that many cluster workers, and `DOKEBI_DEV_WORKERS` (default 1) is for the processes that set none: dev says which got what first (`workers: web 4 (DOKEBI_DEV_WORKERS), worker 1 (its own application-runtime.workers)`). `doctor` also checks each process's own options against the plugin schemas (`INVALID_PLUGIN_OPTIONS` with `path: dokebi.yaml (processes.<name>)`). A settings file per process (`DOKEBI_CONFIG=dokebi.worker.yaml node src/main.ts`, D-0221) still works. Run files live in `.dokebi/run/` (`app.pid`, `app.log`, `app.log.1`…, `log-writer.log`; the `.gitignore` inside is `*`, so Git never takes them).
139
139
  - **Log rotation (D-0053)**: `start` launches a separate log writer process, and the writer starts the app with stdout and stderr pipes and writes `app.log` line by line. When the next line would pass `--log-max-mb` (default 50, 1–10240), it moves the file to `app.log.1` at a line boundary and keeps `--log-files` files (default 5, 1–100). Fast writes lose no line (a slow disk makes the app's writes wait). Out of range is `USAGE`, and so is combining them with `--foreground`. There is no dokebi.yaml setting (put fixed values in a package.json script). The writer ignores SIGTERM and, when the app ends (crashes included), writes one line `--- dokebi: app exited (…) ---` and ends. The app runs in a process group of its own: processes it started and left running when it ended (stopped, crashed or killed) get SIGTERM and, 2 s later, SIGKILL, and app.log says so (`--- dokebi: processes the app started were still running; ended them (…) ---`), so nothing it left holds a port after `stop` or `verify`. Start a process that must outlive the app in a group of its own (`detached: true`). The writer's own errors go to `.dokebi/run/log-writer.log` as one JSON line each (`level: error`, `code`, the full `error`): `LOG_OPEN_FAILED`, `LOG_WRITE_FAILED`, `LOG_ROTATE_FAILED`, `LOG_LINES_DROPPED`, `APP_SPAWN_FAILED`, `APP_OUTPUT_FAILED`.
140
140
  - `start`: the inspect checks (an error diagnostic is `START_CHECK_FAILED`), then a background run with `NODE_ENV=production` (kept when already set). The app also gets a random per-start `DOKEBI_INSTANCE_TOKEN`, kept with the pid, the `urls` and the log writer's loopback `control` port in `.dokebi/run/app.pid` (0600) for the proofs below; it never appears in output. When the log shows `Dokebi application started` (the line the generated main writes), or the app sends `{ dokebi: 'started' }` on its IPC channel (the generated main does after `app.start()`, so a `logging.level` above info, which hides the line, still counts as started; AI-M43), `ready: true`. The result has `logWriter` (pid), `logMaxBytes`, `logFiles`, `listen` (the bound addresses from the web server's listening line, such as `http://127.0.0.1:3000`) and `urls`, the addresses the app answers: with @dokebi/app the Host name picks the app, so `urls` are `http://<domain>:<port>` for every configured domain that resolves to this machine (`localhost`, `*.localhost`, `127.x.x.x`), plus `listen` when `unknownDomain` names an app; without @dokebi/app they equal `listen` (`0.0.0.0` shown as `127.0.0.1`). Open and test `urls`: a request to the bound IP gets 404 when that IP is not an app domain (do not add one with `app link` for that). `urls` is empty when only public domains are configured (they answer through DNS or a proxy). `dokebi dev` prints the same addresses (from `dokebi-web.port`) when it starts. Without that line within `--wait-ms` (default 10000) it reports `ready: false` and a warning, even if the process lives. When the process ends before that: `START_FAILED` (details.tail: the last 30 log lines; details.logWriterLog: the end of the writer's diagnostics). Already running: `ALREADY_RUNNING`; a SIGINT, SIGTERM or SIGHUP before `start` answered ends the log writer and the app it spawned and removes the pid file and the start lock, then the command ends as the signal says (an interrupted start leaves nothing running); another start in progress: `START_IN_PROGRESS` (one start at a time holds `.dokebi/run/start.lock` from before it checks the running state until the pid file is written, so of two concurrent starts exactly one runs the app and the other starts nothing).
141
141
  - **Without process information** (no `ps`, a sandbox blocks it, /proc unreadable; D-0073), `status`, `stop` and `start` (with a PID file) ask the app instead: `kill(pid, 0)` saying the pid does not exist makes the PID file stale; otherwise they send a random challenge in the request header `x-dokebi-instance` to the recorded address (or `dokebi-web.port` of dokebi.yaml), and @dokebi/web answers with HMAC-SHA256 of its `DOKEBI_INSTANCE_TOKEN` (the token itself never goes on the wire). Only the right answer proves the pid is this start's app: `status` then reports `proof: "http"` (no `rssMb`) and `stop` signals it (`proof: "http"` in its result). When the proof fails (no web plugin, another server on the port, a PID file of an older CLI without a token), they fail with `PROCESS_INFO_FAILED` as before (the reason in `cause`; `details.pid`, `source`, `hint` (run outside the sandbox or allow `ps` or /proc), `manualStop` (check the pid yourself, `kill -TERM <pid>`, then delete `.dokebi/run/app.pid`) and `instanceProof{tried, reason}`), signal nothing and **keep** the PID file (the app may still live). With `ps` the behaviour is unchanged (`proof: "process"`). `verify` stops the process it started seconds ago with the pid start returned (only `kill(pid, 0)` and SIGTERM).
package/catalog.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$comment": "Generated by scripts/catalog/build.ts from package.json dokebiCatalog fields and packages/cli/catalog-src (D-0065). Do not edit; run node scripts/catalog/build.ts.",
3
3
  "schemaVersion": 1,
4
- "cli": "0.4.91",
4
+ "cli": "0.4.93",
5
5
  "core": {
6
6
  "package": "@dokebi/core",
7
7
  "version": "0.4.9"
@@ -450,7 +450,7 @@
450
450
  {
451
451
  "id": "dokebi-app",
452
452
  "package": "@dokebi/app",
453
- "version": "0.4.14",
453
+ "version": "0.4.16",
454
454
  "kind": "plugin",
455
455
  "summary": "Several apps chosen by request domain (src/apps/<app>) with a template each; installs web, controller and template-ejs with it",
456
456
  "description": "Multiple apps per project for Dokebi: pick the app and template by request domain, with EJS and Inertia skeletons.",
@@ -480,7 +480,7 @@
480
480
  "requires": [
481
481
  {
482
482
  "id": "dokebi-web",
483
- "range": "^0.4.19",
483
+ "range": "^0.4.21",
484
484
  "package": "@dokebi/web",
485
485
  "automatic": true
486
486
  },
@@ -513,6 +513,7 @@
513
513
  ],
514
514
  "optionKeys": [
515
515
  "apps",
516
+ "domainRefreshMs",
516
517
  "domains",
517
518
  "unknownDomain"
518
519
  ],
@@ -589,7 +590,7 @@
589
590
  {
590
591
  "id": "dokebi-auth",
591
592
  "package": "@dokebi/auth",
592
- "version": "0.4.6",
593
+ "version": "0.4.7",
593
594
  "kind": "plugin",
594
595
  "summary": "Login on your own user table: sessions, remember-me, API tokens, route protection, authorize hook, password hashing, login throttling, realms; optional Google/Apple social login",
595
596
  "description": "Login for @dokebi/web on your own user table through an extension class: sessions, remember-me, API tokens (personal, access/refresh), route protection, authorization hook, password hashing, login throttling, realms.",
@@ -830,7 +831,7 @@
830
831
  {
831
832
  "id": null,
832
833
  "package": "@dokebi/cli",
833
- "version": "0.4.91",
834
+ "version": "0.4.93",
834
835
  "kind": "cli",
835
836
  "summary": "Commands to create a project, browse the plugin catalog, run recipes, install plugins and verify (dokebi)",
836
837
  "description": "Project scaffolding, plugin catalog, recipes, install and verification CLI for Dokebi.",
@@ -868,7 +869,7 @@
868
869
  {
869
870
  "id": null,
870
871
  "package": "@dokebi/cluster",
871
- "version": "0.4.3",
872
+ "version": "0.4.4",
872
873
  "kind": "library",
873
874
  "summary": "Runner that starts several app workers from a node:cluster parent process, watches them and replaces them one by one",
874
875
  "description": "node:cluster runner for Dokebi: starts, watches and rolls independent application workers.",
@@ -3457,7 +3458,7 @@
3457
3458
  {
3458
3459
  "id": "dokebi-template-inertia",
3459
3460
  "package": "@dokebi/template-inertia",
3460
- "version": "0.4.14",
3461
+ "version": "0.4.15",
3461
3462
  "kind": "plugin",
3462
3463
  "summary": "Inertia (v3) server adapter: Vue 3 views, Vite build files and optional server-side rendering (SSR)",
3463
3464
  "description": "Inertia v3 server adapter for Dokebi: page JSON, Vite manifest assets and optional server-side rendering.",
@@ -3677,7 +3678,7 @@
3677
3678
  {
3678
3679
  "id": "dokebi-web",
3679
3680
  "package": "@dokebi/web",
3680
- "version": "0.4.20",
3681
+ "version": "0.4.21",
3681
3682
  "kind": "plugin",
3682
3683
  "summary": "Fastify 5 HTTP server (503 before ready, health paths, drain, zero-downtime cluster replacement, security headers and overload protection on by default)",
3683
3684
  "description": "Fastify 5 HTTP server owned by a Dokebi app: 503 before ready, health routes, drain and cluster handover.",
@@ -3722,6 +3723,7 @@
3722
3723
  "developmentErrors",
3723
3724
  "drainGraceMs",
3724
3725
  "drainIdleMs",
3726
+ "edges",
3725
3727
  "formBody",
3726
3728
  "formMaxFields",
3727
3729
  "formOldInputMaxChars",
package/dist/bin.js CHANGED
@@ -958,6 +958,7 @@ async function deployCommand(input) {
958
958
  let target;
959
959
  let port;
960
960
  let proxy;
961
+ let front;
961
962
  let dryRun = false;
962
963
  const value = (index) => {
963
964
  const text = input[index];
@@ -983,6 +984,8 @@ async function deployCommand(input) {
983
984
  proxy = arg === '--caddy' ? 'caddy' : 'nginx';
984
985
  else if (action === 'proxy' && arg === '--domain')
985
986
  domains.push(value(++index));
987
+ else if (action === 'proxy' && arg === '--front' && front === undefined)
988
+ front = value(++index);
986
989
  else
987
990
  throw new CliError('USAGE', USAGE_LINES);
988
991
  }
@@ -1003,8 +1006,13 @@ async function deployCommand(input) {
1003
1006
  }
1004
1007
  if (!proxy || !domains.length || instances.length > 1)
1005
1008
  throw new CliError('USAGE', USAGE_LINES);
1009
+ // D-0252: --front (nginx): what the domains come through; the block the server's agent copies.
1010
+ if (front !== undefined &&
1011
+ (proxy !== 'nginx' || !['cloudflare', 'cloudfront', 'none'].includes(front)))
1012
+ throw new CliError('USAGE', `--front is cloudflare, cloudfront or none, with --nginx\n${USAGE_LINES}`);
1006
1013
  const result = await deploy.deployProxy(process.cwd(), {
1007
1014
  proxy,
1015
+ ...(front === undefined ? {} : { front: front }),
1008
1016
  domains,
1009
1017
  instance: instances[0] ?? 'production',
1010
1018
  dryRun,
package/dist/commands.js CHANGED
@@ -100,7 +100,7 @@ export const COMMANDS = [
100
100
  },
101
101
  {
102
102
  name: 'deploy proxy',
103
- usage: 'dokebi deploy proxy --caddy|--nginx --domain <host>... [--instance <name>] [--dry-run] [--json]',
103
+ usage: 'dokebi deploy proxy --caddy|--nginx --domain <host>... [--front cloudflare|cloudfront|none] [--instance <name>] [--dry-run] [--json]',
104
104
  summary: 'Write the reverse proxy configuration of an instance (TLS, forwarded headers, WebSocket upgrade, unbuffered SSE, /health/*, static caching) from its settings sample',
105
105
  },
106
106
  {
@@ -533,13 +533,17 @@ export const COMMAND_DETAILS = {
533
533
  'write deploy/proxy/<app>-<instance>.nginx.conf (certificate paths of certbot; HTTP redirected to HTTPS)',
534
534
  ],
535
535
  ['--domain <host>', 'repeatable; the first is the main name'],
536
+ [
537
+ '--front cloudflare|cloudfront|none',
538
+ "with --nginx (D-0252): one server on port 80 for domains a CDN ends TLS for (cloudflare, cloudfront) or reached over plain HTTP (none); X-Forwarded-For appended with the address nginx saw and the front's scheme header; a stable format (first line: # dokebi-proxy-format: 1) for a server agent to copy",
539
+ ],
536
540
  [
537
541
  '--instance <name>',
538
542
  'the instance whose deploy/<instance>/dokebi.example.yaml it reads (default production)',
539
543
  ],
540
544
  ['--dry-run', 'plan only'],
541
545
  ],
542
- example: 'npx dokebi deploy proxy --caddy --domain shop.example.com --json\nnpx dokebi deploy proxy --nginx --domain staging.shop.example.com --instance staging --json',
546
+ example: 'npx dokebi deploy proxy --caddy --domain shop.example.com --json\nnpx dokebi deploy proxy --nginx --domain staging.shop.example.com --instance staging --json\nnpx dokebi deploy proxy --nginx --front cloudflare --domain shop.example.com --json',
543
547
  },
544
548
  'dev-infra': {
545
549
  flags: [
@@ -54,3 +54,11 @@ export interface ProxyInput {
54
54
  }
55
55
  export declare function caddyfile(input: ProxyInput): string;
56
56
  export declare function nginxConf(input: ProxyInput): string;
57
+ /**
58
+ * D-0252: an nginx server on port 80 for domains whose TLS ends elsewhere (a CDN) or that are
59
+ * reached over plain HTTP (a callback API). The output is a stable format for the server's agent
60
+ * (the first line names its version): one server block, X-Forwarded-For appended with the address
61
+ * nginx saw (a CDN edge, which dokebi-web.edges lists, or the client itself), Host as sent, and
62
+ * the scheme of the front.
63
+ */
64
+ export declare function nginxFrontConf(input: ProxyInput, front: 'cloudflare' | 'cloudfront' | 'none'): string;
@@ -425,3 +425,80 @@ ${only}
425
425
  }
426
426
  `;
427
427
  }
428
+ /** D-0252: the scheme header nginx passes on for each front (the CDN's, or its own). */
429
+ const FRONT_SCHEME = {
430
+ cloudflare: '$http_x_forwarded_proto',
431
+ cloudfront: '$http_cloudfront_forwarded_proto',
432
+ none: '$scheme',
433
+ };
434
+ /**
435
+ * D-0252: an nginx server on port 80 for domains whose TLS ends elsewhere (a CDN) or that are
436
+ * reached over plain HTTP (a callback API). The output is a stable format for the server's agent
437
+ * (the first line names its version): one server block, X-Forwarded-For appended with the address
438
+ * nginx saw (a CDN edge, which dokebi-web.edges lists, or the client itself), Host as sent, and
439
+ * the scheme of the front.
440
+ */
441
+ export function nginxFrontConf(input, front) {
442
+ const { at } = input;
443
+ const names = input.domains.join(' ');
444
+ const upstream = at.unit.replaceAll('-', '_');
445
+ const hosts = input.domains.map((name) => name.replaceAll('.', '\\.')).join('|');
446
+ const through = front === 'none'
447
+ ? 'straight to this server over HTTP (no CDN)'
448
+ : `through ${front === 'cloudflare' ? 'Cloudflare' : 'CloudFront'}, which ends TLS`;
449
+ const edges = front === 'none'
450
+ ? ''
451
+ : ` and the\n# ${front} ranges (dokebi-web.edges.${front}, web.edges.set with ${front}Ranges() of @dokebi/web/edges)`;
452
+ const cloudfront = front === 'cloudfront'
453
+ ? '\n# CloudFront: forward the CloudFront-Forwarded-Proto header to the origin (origin request policy).'
454
+ : '';
455
+ const map = input.streams
456
+ ? `map $http_upgrade $${upstream}_connection {\n default upgrade;\n '' '';\n}\n\n`
457
+ : '';
458
+ return `# dokebi-proxy-format: 1 front=${front}
459
+ # ${at.app} (${at.instance}): ${names} come ${through}; nginx listens on 80 and passes
460
+ # requests to the app on 127.0.0.1:${at.port}.
461
+ # The app (D-0252) trusts this nginx (dokebi-web.trustProxy: [127.0.0.1, ::1])${edges}:
462
+ # it walks X-Forwarded-For through them to the client. A domain row with front: ${front} refuses
463
+ # requests that came another way (421 DOMAIN_FRONT_MISMATCH).${cloudfront}
464
+ # Install: copy to /etc/nginx/conf.d/${at.unit}-${front}.conf, then nginx -t && systemctl reload nginx.
465
+
466
+ ${map}upstream ${upstream} {
467
+ server 127.0.0.1:${at.port};
468
+ keepalive 16;
469
+ keepalive_timeout 60s;
470
+ }
471
+
472
+ server {
473
+ listen 80;
474
+ listen [::]:80;
475
+ server_name ${names};
476
+ # Only these names (421: the client asked the wrong server).
477
+ if ($host !~* "^(?:${hosts})$") { return 421; }
478
+
479
+ client_max_body_size ${input.maxBodyBytes};
480
+ gzip off;
481
+
482
+ proxy_http_version 1.1;
483
+ proxy_set_header Host $host;
484
+ # Appends the address nginx saw: never replace it with one client address (the app could then
485
+ # not tell a CDN edge from a client that wrote one).
486
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
487
+ proxy_set_header X-Forwarded-Proto ${FRONT_SCHEME[front]};
488
+ proxy_set_header Upgrade $http_upgrade;
489
+ proxy_set_header Connection ${input.streams ? `$${upstream}_connection` : '""'};
490
+ proxy_read_timeout ${input.readTimeoutSeconds}s;
491
+ proxy_send_timeout ${input.readTimeoutSeconds}s;
492
+
493
+ location = ${input.live} { proxy_pass http://${upstream}; proxy_hide_header Cache-Control; add_header Cache-Control no-store always; }
494
+ location = ${input.ready} { proxy_pass http://${upstream}; proxy_hide_header Cache-Control; add_header Cache-Control no-store always; }
495
+
496
+ location / {
497
+ proxy_pass http://${upstream};
498
+ }
499
+
500
+ access_log /var/log/nginx/${at.unit}.access.log;
501
+ error_log /var/log/nginx/${at.unit}.error.log;
502
+ }
503
+ `;
504
+ }
package/dist/deploy.d.ts CHANGED
@@ -45,6 +45,12 @@ export interface DeployInitOptions {
45
45
  export declare function deployInit(input: string, options: DeployInitOptions): Promise<DeployInitResult>;
46
46
  export interface DeployProxyOptions {
47
47
  readonly proxy: 'caddy' | 'nginx';
48
+ /**
49
+ * D-0252 (nginx): what the domains come through. cloudflare / cloudfront: the CDN ends TLS and
50
+ * the server listens on 80 only; none: straight to this server on 80, no TLS. Left out: nginx
51
+ * ends TLS itself (certbot), as before.
52
+ */
53
+ readonly front?: 'cloudflare' | 'cloudfront' | 'none';
48
54
  readonly domains: readonly string[];
49
55
  readonly instance: string;
50
56
  readonly dryRun?: boolean;
package/dist/deploy.js CHANGED
@@ -10,7 +10,7 @@ import { indexedPath, namedPath, requiredSecretPaths, schemaTypes, unreadableWar
10
10
  import { configShow } from './config-show.js';
11
11
  import { CONFIG_FILE, renderConfig } from './configuration.js';
12
12
  import { BACKUP_SCRIPT, RESTORE_DRILL_SCRIPT } from './deploy-scripts.js';
13
- import { backupService, backupTimer, caddyfile, composeFile, deployGuide, layout, nginxConf, systemdUnit, } from './deploy-templates.js';
13
+ import { backupService, backupTimer, caddyfile, composeFile, deployGuide, layout, nginxConf, nginxFrontConf, systemdUnit, } from './deploy-templates.js';
14
14
  import { DEPLOYMENT_FILES } from './deployment.js';
15
15
  import { debug, isMissing } from './diagnostics.js';
16
16
  import { CliError } from './errors.js';
@@ -531,7 +531,11 @@ export async function deployProxy(input, options) {
531
531
  const file = options.proxy === 'caddy'
532
532
  ? `deploy/proxy/${at.unit}.Caddyfile`
533
533
  : `deploy/proxy/${at.unit}.nginx.conf`;
534
- const body = options.proxy === 'caddy' ? caddyfile(proxyInput) : nginxConf(proxyInput);
534
+ const body = options.proxy === 'caddy'
535
+ ? caddyfile(proxyInput)
536
+ : options.front
537
+ ? nginxFrontConf(proxyInput, options.front)
538
+ : nginxConf(proxyInput);
535
539
  const warnings = [];
536
540
  const trusted = Array.isArray(web.trustProxy) ? web.trustProxy : [];
537
541
  if (!trusted.includes('127.0.0.1') || !trusted.includes('::1'))
package/dist/output.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export declare const CLI_VERSION = "0.4.91";
1
+ export declare const CLI_VERSION = "0.4.93";
2
2
  export declare function envelope(command: string, result: unknown, ok?: boolean): object;
3
3
  export declare function failure(command: string, error: unknown, mutationStarted: boolean): object;
package/dist/output.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CliError } from './errors.js';
2
- export const CLI_VERSION = '0.4.91';
2
+ export const CLI_VERSION = '0.4.93';
3
3
  export function envelope(command, result, ok = true) {
4
4
  return { schemaVersion: 1, cliVersion: CLI_VERSION, command, ok, result, error: null };
5
5
  }
@@ -9,6 +9,8 @@ export interface ProcessSet {
9
9
  readonly options: ReadonlyMap<string, Options>;
10
10
  /** The shared `options` alone. */
11
11
  readonly shared: Options;
12
+ /** What each process sets itself (`processes.<name>.options`, as written). */
13
+ readonly own: ReadonlyMap<string, Options>;
12
14
  }
13
15
  /** The process set of a settings source; undefined when it declares no processes. */
14
16
  export declare function processSetOf(source: string): ProcessSet | undefined;
@@ -19,6 +21,12 @@ export declare function processSetOf(source: string): ProcessSet | undefined;
19
21
  export declare function readProcessSet(root: string): Promise<ProcessSet | undefined>;
20
22
  /** The process set, or undefined when the file cannot be read or parsed (doctor reports that). */
21
23
  export declare function processSetOrNone(root: string): Promise<ProcessSet | undefined>;
24
+ /**
25
+ * The worker count a process sets itself (`processes.<name>.options.application-runtime.workers`),
26
+ * or undefined. Under `dokebi dev` such a process runs that many (DOKEBI_DEV_WORKERS is for the
27
+ * processes that set none, D-0251): a worker kept at one is never multiplied by it.
28
+ */
29
+ export declare function ownWorkers(set: ProcessSet, name: string): number | undefined;
22
30
  /** Whether a process with these options opens its web port (D-0221: `listen: false` does not). */
23
31
  export declare function listens(options: Options): boolean;
24
32
  /** The first process of `run` that opens its web port: the one dev and start show and probe. */
package/dist/processes.js CHANGED
@@ -5,6 +5,7 @@
5
5
  // what the set leaves undone (a queue no process takes, two processes on one port), and the
6
6
  // `process` field that tells their log lines apart.
7
7
  import { ConfigError, parseConfig } from '@dokebi/config';
8
+ import { parseDocument } from 'yaml';
8
9
  import { readProjectSettings } from './configuration.js';
9
10
  import { debug, describeError, isMissing } from './diagnostics.js';
10
11
  import { CliError } from './errors.js';
@@ -17,11 +18,17 @@ export function processSetOf(source) {
17
18
  const options = new Map();
18
19
  for (const name of shared.processes)
19
20
  options.set(name, parseConfig(source, undefined, { process: name }).options);
21
+ // The document passed @dokebi/config's checks above; this reads what each process wrote.
22
+ const raw = parseDocument(source, { version: '1.2' }).toJS();
23
+ const own = new Map();
24
+ for (const name of shared.processes)
25
+ own.set(name, raw.processes?.[name]?.options ?? {});
20
26
  return {
21
27
  run: shared.run,
22
28
  declared: shared.processes,
23
29
  options,
24
30
  shared: shared.options,
31
+ own,
25
32
  };
26
33
  }
27
34
  /**
@@ -71,6 +78,17 @@ function section(options, key) {
71
78
  ? value
72
79
  : {};
73
80
  }
81
+ /**
82
+ * The worker count a process sets itself (`processes.<name>.options.application-runtime.workers`),
83
+ * or undefined. Under `dokebi dev` such a process runs that many (DOKEBI_DEV_WORKERS is for the
84
+ * processes that set none, D-0251): a worker kept at one is never multiplied by it.
85
+ */
86
+ export function ownWorkers(set, name) {
87
+ const value = section(set.own.get(name) ?? {}, 'application-runtime').workers;
88
+ return typeof value === 'number' && Number.isInteger(value) && value >= 1 && value <= 64
89
+ ? value
90
+ : undefined;
91
+ }
74
92
  /** Whether a process with these options opens its web port (D-0221: `listen: false` does not). */
75
93
  export function listens(options) {
76
94
  return section(options, 'dokebi-web').listen !== false;
package/dist/server.js CHANGED
@@ -44,7 +44,7 @@ import { CliError } from './errors.js';
44
44
  import { askLogWriter, CONTROL_HOST } from './log-writer-control.js';
45
45
  import { redactNpmOutput } from './npm-client.js';
46
46
  import { endLeftovers, holdTermination, killGroup, PROCESS_GROUPS } from './process-group.js';
47
- import { listens, PROCESS_VARIABLE, processIssues, processSetOf, readProcessSet, tagLines, webProcess, } from './processes.js';
47
+ import { listens, ownWorkers, PROCESS_VARIABLE, processIssues, processSetOf, readProcessSet, tagLines, webProcess, } from './processes.js';
48
48
  import { ProjectInspector } from './project-inspector.js';
49
49
  import { LineBuffer, logFiles } from './rotating-log.js';
50
50
  import { ViteHostProcess, viteHostScript } from './vite-host-process.js';
@@ -1810,6 +1810,21 @@ export async function dev(root, print) {
1810
1810
  const said = set
1811
1811
  ? processIssues(set).map((issue) => `${issue.code}: ${issue.message} (${issue.fix})`)
1812
1812
  : [];
1813
+ // D-0251: a process that sets its own worker count runs that many; DOKEBI_DEV_WORKERS (the
1814
+ // environment or .env) is for the others, and dev says which got what.
1815
+ const asked = process.env.DOKEBI_DEV_WORKERS ?? fileEnv.DOKEBI_DEV_WORKERS;
1816
+ const counts = new Map();
1817
+ for (const name of set?.run ?? []) {
1818
+ const count = set ? ownWorkers(set, name) : undefined;
1819
+ if (count !== undefined)
1820
+ counts.set(name, count);
1821
+ }
1822
+ if (set && counts.size)
1823
+ said.unshift(`workers: ${set.run
1824
+ .map((name) => counts.has(name)
1825
+ ? `${name} ${counts.get(name)} (its own application-runtime.workers)`
1826
+ : `${name} ${asked ?? 1} (${asked === undefined ? 'dev default' : 'DOKEBI_DEV_WORKERS'})`)
1827
+ .join(', ')}`);
1813
1828
  const named = set ? `${set.run.join(' ')}|${said.join('|')}` : '';
1814
1829
  if (named !== lastSet) {
1815
1830
  lastSet = named;
@@ -1842,7 +1857,12 @@ export async function dev(root, print) {
1842
1857
  for (const name of set?.run ?? ['']) {
1843
1858
  // Only processes that open the web port get Vite (a worker renders no page).
1844
1859
  const vite = needsVite(name) ? extra : { DOKEBI_VITE_DEV: '0' };
1845
- const current = child([entry], { ...vite, ...(name ? { [PROCESS_VARIABLE]: name } : {}) }, true, set && set.run.length > 1 ? name : undefined);
1860
+ const count = counts.get(name);
1861
+ const current = child([entry], {
1862
+ ...vite,
1863
+ ...(name ? { [PROCESS_VARIABLE]: name } : {}),
1864
+ ...(count === undefined ? {} : { DOKEBI_DEV_WORKERS: String(count) }),
1865
+ }, true, set && set.run.length > 1 ? name : undefined);
1846
1866
  started.set(name, current);
1847
1867
  current.once('exit', (code, signal) => {
1848
1868
  if (apps.get(name) === current && !exiting)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dokebi/cli",
3
- "version": "0.4.91",
3
+ "version": "0.4.93",
4
4
  "description": "Project scaffolding, plugin catalog, recipes, install and verification CLI for Dokebi.",
5
5
  "keywords": [
6
6
  "dokebi",