@orkestrel/terminal 0.0.13 → 0.0.14
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 +3 -7
- package/dist/src/core/index.cjs +391 -249
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +532 -288
- package/dist/src/core/index.d.ts +532 -288
- package/dist/src/core/index.js +376 -232
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +187 -201
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +129 -143
- package/dist/src/server/index.d.ts +129 -143
- package/dist/src/server/index.js +176 -185
- package/dist/src/server/index.js.map +1 -1
- package/package.json +15 -16
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# @orkestrel/terminal
|
|
2
2
|
|
|
3
3
|
The terminal side of a form, for the `@orkestrel` line. `@orkestrel/form` owns
|
|
4
|
-
the document — the schema, the
|
|
4
|
+
the document — the schema, the controls, the rules, the values, and the
|
|
5
5
|
settle-once `answer` promise. This package owns what form has no opinion about:
|
|
6
|
-
a key decoder, a theme, pure per-field reducers, and
|
|
6
|
+
a key decoder, a theme, pure per-field reducers, and the surfaces one form
|
|
7
7
|
can be answered on. The server `Terminal` implements the one driving contract
|
|
8
8
|
against a real TTY (raw-mode stdin, live in-place re-render, a `node:readline`
|
|
9
9
|
fallback when piped). The headless `Prompt` broker PARKS a live form until
|
|
@@ -18,10 +18,6 @@ elsewhere to this machine's keyboard over SSE. Built beside
|
|
|
18
18
|
npm install @orkestrel/terminal
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
`@orkestrel/form` is pinned to a committed tarball until it is published, so
|
|
22
|
-
this package is not publishable yet. The pin, its standing conditions, and the
|
|
23
|
-
re-pin recipe are recorded in [guides/terminal.md](./guides/terminal.md).
|
|
24
|
-
|
|
25
21
|
## Requirements
|
|
26
22
|
|
|
27
23
|
- Node.js >= 22
|
|
@@ -85,7 +81,7 @@ the multi-endpoint manager, the stores, and the TTY driver.
|
|
|
85
81
|
|
|
86
82
|
## Package
|
|
87
83
|
|
|
88
|
-
|
|
84
|
+
The entry points, per the `exports` field in `package.json`, are `.` (the
|
|
89
85
|
host-independent core — the reducers, the broker, the bridge, the manager, and
|
|
90
86
|
the stores) and `./server` (the Node-only `Terminal` driver). Both entry points
|
|
91
87
|
ship dual ESM+CJS builds.
|