unsys-canvas 0.2.1 → 0.2.3
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 +1 -1
- package/dist/core.d.ts +2 -2
- package/dist/core.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +193 -417
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -45
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# unsys-canvas
|
|
2
2
|
|
|
3
|
-
MIT React package: think on an Excalidraw board with a **host-supplied** LLM (`runModel`, or deprecated `onAsk`). Published as [`unsys-canvas`](https://www.npmjs.com/package/unsys-canvas) (currently 0.2.
|
|
3
|
+
MIT React package: think on an Excalidraw board with a **host-supplied** LLM (`runModel`, or deprecated `onAsk`). Published as [`unsys-canvas`](https://www.npmjs.com/package/unsys-canvas) (currently 0.2.3).
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npm install unsys-canvas
|
package/dist/core.d.ts
CHANGED
|
@@ -377,7 +377,7 @@ declare function unsysCanvasHasLiveElements(scene: UnsysCanvasScene | null | und
|
|
|
377
377
|
* prompt construction, parse/validation, and board placement policy.
|
|
378
378
|
*
|
|
379
379
|
* Host extras use the same definition shape. A Pretty command, extra laser
|
|
380
|
-
* gestures, or
|
|
380
|
+
* gestures, or the right-click menu should add a row here (or via `commands`) rather than
|
|
381
381
|
* forking prompt files in the host.
|
|
382
382
|
*/
|
|
383
383
|
|
|
@@ -434,7 +434,7 @@ type UnsysCanvasParsedCommandReply = {
|
|
|
434
434
|
type UnsysCanvasCommandDefinition = UnsysCanvasCommandDef & {
|
|
435
435
|
gesture?: string | null;
|
|
436
436
|
gestureHint?: string | null;
|
|
437
|
-
/** Sidebar /
|
|
437
|
+
/** Sidebar / right-click menu. Hidden model kinds (ask, check, …) are false. */
|
|
438
438
|
catalog?: boolean;
|
|
439
439
|
needsModel?: boolean;
|
|
440
440
|
placement?: UnsysCanvasPlacementMode;
|