@axiomify/cli 6.2.1 → 6.3.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.
Files changed (26) hide show
  1. package/README.md +24 -1
  2. package/dist/{chunk-YZPZCUKZ.mjs → chunk-RB36UO4V.mjs} +6 -1
  3. package/dist/{dist-IQQ2XGG4.mjs → dist-VAEIFZ3L.mjs} +1 -1
  4. package/dist/index.js +20485 -7266
  5. package/dist/index.mjs +20449 -7229
  6. package/dist/{uws_darwin_arm64_127-NGHTXN5Q.node → uws_darwin_arm64_127-V5DTIWNB.node} +0 -0
  7. package/dist/{uws_darwin_arm64_137-ESY6MPLH.node → uws_darwin_arm64_137-AJYIN3W4.node} +0 -0
  8. package/dist/{uws_darwin_arm64_147-V7BKA3SU.node → uws_darwin_arm64_147-YS3FVXLJ.node} +0 -0
  9. package/dist/{uws_darwin_x64_127-WIZGG7MS.node → uws_darwin_x64_127-7VCP23H2.node} +0 -0
  10. package/dist/{uws_darwin_x64_137-APKZWL4Y.node → uws_darwin_x64_137-EG66YUEP.node} +0 -0
  11. package/dist/{uws_darwin_x64_147-W2HKFQZT.node → uws_darwin_x64_147-OIHEOSJS.node} +0 -0
  12. package/dist/{uws_linux_arm64_127-3CO7NSFJ.node → uws_linux_arm64_127-2N3KTPCY.node} +0 -0
  13. package/dist/{uws_linux_arm64_137-HWEDGGZV.node → uws_linux_arm64_137-S5HGIOI7.node} +0 -0
  14. package/dist/{uws_linux_arm64_147-7UCIYMK2.node → uws_linux_arm64_147-XPRGWGND.node} +0 -0
  15. package/dist/{uws_linux_x64_127-KA4E76LJ.node → uws_linux_x64_127-LJQBDHXM.node} +0 -0
  16. package/dist/{uws_linux_x64_137-DDFLTTJR.node → uws_linux_x64_137-UMR3B5ND.node} +0 -0
  17. package/dist/{uws_linux_x64_147-MJSFREL3.node → uws_linux_x64_147-C7U5Y6TN.node} +0 -0
  18. package/dist/{uws_win32_x64_127-O4US4Y4L.node → uws_win32_x64_127-LP3SUGL6.node} +0 -0
  19. package/dist/{uws_win32_x64_137-L5OZROQ7.node → uws_win32_x64_137-Z7DML3M6.node} +0 -0
  20. package/dist/{uws_win32_x64_147-D7MGKVRG.node → uws_win32_x64_147-KOMROJCV.node} +0 -0
  21. package/package.json +4 -3
  22. package/ui-dist/assets/index-C1t6d4ij.css +1 -0
  23. package/ui-dist/assets/index-DvNeCKR7.js +34 -0
  24. package/ui-dist/favicon.svg +1 -0
  25. package/ui-dist/icons.svg +24 -0
  26. package/ui-dist/index.html +14 -0
package/README.md CHANGED
@@ -28,8 +28,9 @@ the same major as your `@axiomify/*` runtime packages.
28
28
  | `axiomify dev [entry]` | Hot-reload dev server (esbuild watch) |
29
29
  | `axiomify build [entry]` | Compile a production bundle to `dist/` |
30
30
  | `axiomify routes [entry]` | Inspect every HTTP + WebSocket route |
31
- | `axiomify openapi [entry]` | Generate the OpenAPI 3.0.3 spec |
31
+ | `axiomify openapi [entry]` | Generate the OpenAPI 3.1.0 spec |
32
32
  | `axiomify check [entry]` | Static production-readiness audit |
33
+ | `axiomify studio [entry]` | Launch Axiomify Studio visual dashboard |
33
34
  | `axiomify doctor` | Diagnose the host environment |
34
35
  | `axiomify sdk <subcommand>` | Manage, generate, build, validate, and diff SDKs |
35
36
 
@@ -130,6 +131,28 @@ protected, security plugins active.
130
131
 
131
132
  Exit code 1 on any fail — wire into CI to gate deploys.
132
133
 
134
+ ## `axiomify studio`
135
+
136
+ ```bash
137
+ axiomify studio [entry]
138
+ ```
139
+
140
+ Launches Axiomify Studio — a premium visual developer dashboard that serves as a control center for your API. It inspects your application's:
141
+
142
+ - **Route Inspector**: Search, filter, and drill down into HTTP & WebSocket routes.
143
+ - **Schema Inspector**: Browse and inspect JSON schemas compiled from Zod validators.
144
+ - **OpenAPI Spec Viewer**: Render collapsible tree views of OpenAPI paths and operations.
145
+ - **Lifecycle Hooks**: Review registered hook handlers across request lifecycle phases.
146
+ - **Health Dashboard**: Inspect production-readiness finding audits (pass/warn/fail).
147
+ - **Request Tester**: Construct and send test requests (GET, POST, etc.) directly against your in-memory Axiomify app instance, capturing response status, headers, and body.
148
+
149
+ The dashboard uses **Live Sync** (WebSockets) powered by esbuild's watch context to automatically re-compile and refresh the browser interface in real time as you edit your project files.
150
+
151
+ Flags:
152
+
153
+ - `-p, --port <number>`: Port to start the Studio server on (default: `4399`, falls back to a random port if busy).
154
+ - `--no-open`: Disable auto-opening the dashboard in the browser.
155
+
133
156
  ## `axiomify doctor`
134
157
 
135
158
  ```bash
@@ -21,6 +21,10 @@ var __esm = (fn, res) => function __init() {
21
21
  var __commonJS = (cb, mod) => function __require2() {
22
22
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
23
23
  };
24
+ var __export = (target, all) => {
25
+ for (var name in all)
26
+ __defProp(target, name, { get: all[name], enumerable: true });
27
+ };
24
28
  var __copyProps = (to, from, except, desc) => {
25
29
  if (from && typeof from === "object" || typeof from === "function") {
26
30
  for (let key of __getOwnPropNames(from))
@@ -37,5 +41,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
37
41
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
38
42
  mod
39
43
  ));
44
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
40
45
 
41
- export { __commonJS, __esm, __glob, __require, __toESM };
46
+ export { __commonJS, __esm, __export, __glob, __require, __toCommonJS, __toESM };
@@ -1,4 +1,4 @@
1
- import { __require } from './chunk-YZPZCUKZ.mjs';
1
+ import { __require } from './chunk-RB36UO4V.mjs';
2
2
 
3
3
  // ../openapi/dist/index.mjs
4
4
  var __require2 = /* @__PURE__ */ ((x) => typeof __require !== "undefined" ? __require : typeof Proxy !== "undefined" ? new Proxy(x, {