@lace-cloud/canvas 0.25.0 → 0.27.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 +7 -5
- package/dist/{chunk-YLJWYH7B.mjs → chunk-F3X6TTZ6.mjs} +790 -577
- package/dist/chunk-F3X6TTZ6.mjs.map +1 -0
- package/dist/engine/index.cjs +736 -534
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +2 -2
- package/dist/engine/index.d.ts +2 -2
- package/dist/engine/index.mjs +3 -1
- package/dist/index.cjs +3747 -3448
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +331 -242
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-CdHLt_qh.d.mts → registry-D7G7pqU4.d.mts} +71 -8
- package/dist/{registry-CdHLt_qh.d.ts → registry-D7G7pqU4.d.ts} +71 -8
- package/package.json +3 -3
- package/dist/chunk-YLJWYH7B.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -144,11 +144,13 @@ const { ports, close } = await openEngineSession(caller, { root: '/path/to/autho
|
|
|
144
144
|
`Invocation.cancel()` sends `CancelInvoke`
|
|
145
145
|
only and leaves `events` running until the command's own exit — a
|
|
146
146
|
`signal` abort or `close()` detaches the stream instead, without
|
|
147
|
-
cancelling the command's remote effects. An `Invoke` stream that
|
|
148
|
-
before the command's exit rejects `events` with
|
|
149
|
-
when the consumer's `signal` aborted
|
|
150
|
-
|
|
151
|
-
and
|
|
147
|
+
cancelling the command's remote effects. An `Invoke` stream that stops
|
|
148
|
+
before the command's exit, by an end or an error, rejects `events` with
|
|
149
|
+
`CommandDetachedError` when the consumer's `signal` aborted; otherwise
|
|
150
|
+
with `CommandUnobservedError` once the engine sent `started` (it
|
|
151
|
+
accepted the request and runs the command, so the command ran and its
|
|
152
|
+
outcome never arrived), and with the call's own error before it (the
|
|
153
|
+
command never ran).
|
|
152
154
|
- `openEngineCommands(caller, { cwd })` is the commands mapping:
|
|
153
155
|
`Initialize` once, `Invoke` per command, no session and no Subscribe.
|
|
154
156
|
- Both mappings name the protocol version this package speaks
|