@elaraai/e3-ui-cli 1.0.73 → 1.0.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/bin/e3-ui.mjs +6 -0
- package/dist/app/assets/{engine-Bm-cIDd_-DwUdGcTZ.js → engine-DAHqaY4g-CeN5Sr3o.js} +1 -1
- package/dist/app/assets/{index-mj-YVVN1.js → index-oIzAaxly.js} +107 -105
- package/dist/app/index.html +1 -1
- package/dist/commands/tui.d.ts.map +1 -1
- package/dist/commands/tui.js +4 -1
- package/dist/commands/tui.js.map +1 -1
- package/dist/tui/app.d.ts.map +1 -1
- package/dist/tui/app.js +3 -0
- package/dist/tui/app.js.map +1 -1
- package/dist/tui/controller.d.ts.map +1 -1
- package/dist/tui/controller.js +27 -3
- package/dist/tui/controller.js.map +1 -1
- package/dist/tui/model/tree.d.ts +16 -2
- package/dist/tui/model/tree.d.ts.map +1 -1
- package/dist/tui/model/tree.js +72 -33
- package/dist/tui/model/tree.js.map +1 -1
- package/dist/tui/render/text.d.ts +7 -3
- package/dist/tui/render/text.d.ts.map +1 -1
- package/dist/tui/render/text.js +64 -32
- package/dist/tui/render/text.js.map +1 -1
- package/dist/tui/ui/App.d.ts +6 -3
- package/dist/tui/ui/App.d.ts.map +1 -1
- package/dist/tui/ui/App.js +16 -3
- package/dist/tui/ui/App.js.map +1 -1
- package/dist/tui/ui/shell/widgets.d.ts +41 -0
- package/dist/tui/ui/shell/widgets.d.ts.map +1 -1
- package/dist/tui/ui/shell/widgets.js +63 -40
- package/dist/tui/ui/shell/widgets.js.map +1 -1
- package/dist/tui/ui/views/dashboard.d.ts +79 -24
- package/dist/tui/ui/views/dashboard.d.ts.map +1 -1
- package/dist/tui/ui/views/dashboard.js +221 -169
- package/dist/tui/ui/views/dashboard.js.map +1 -1
- package/package.json +14 -14
package/bin/e3-ui.mjs
CHANGED
|
@@ -6,7 +6,13 @@
|
|
|
6
6
|
* Static bin shim — committed so `pnpm install` can create the `e3-ui` bin
|
|
7
7
|
* symlink on a fresh checkout BEFORE the package is built. Delegates to the
|
|
8
8
|
* compiled CLI entry.
|
|
9
|
+
*
|
|
10
|
+
* React and Ink's reconciler pick their build from NODE_ENV when they load,
|
|
11
|
+
* and a user's terminal never sets it: without this line every `e3-ui`
|
|
12
|
+
* session would run the development builds (profiling, checks, and a third
|
|
13
|
+
* more CPU per frame). Set only when the environment says nothing.
|
|
9
14
|
*/
|
|
15
|
+
process.env.NODE_ENV ??= 'production';
|
|
10
16
|
import('../dist/cli.js').catch((err) => {
|
|
11
17
|
console.error('e3-ui: failed to start — build the package first (npm run build).', err?.message ?? err);
|
|
12
18
|
process.exit(1);
|