@vibecook/ice 0.16.0-portals.4 → 0.16.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/dist/{chunk-Z7POWSDB.js → chunk-REJTEK3V.js} +1 -1
- package/dist/chunk-REJTEK3V.js.map +1 -0
- package/dist/desk-objects.js +15 -8
- package/dist/desk-objects.js.map +1 -1
- package/dist/desk.js +1 -1
- package/dist/types/packages/desk/src/kinds/world.d.ts +5 -1
- package/dist/types/packages/objects/src/board/board-pen.d.ts +1 -1
- package/dist/types/packages/objects/src/calendar/hand.d.ts +5 -1
- package/dist/types/packages/objects/src/notebook/leaf.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-Z7POWSDB.js.map +0 -1
package/dist/desk.js
CHANGED
|
@@ -471,7 +471,11 @@ export interface KindDriverHost {
|
|
|
471
471
|
/** A kind's driver on one desk: ticked once a frame before the kinds' clocks; idle when it has nothing to follow (D7 #14). */
|
|
472
472
|
export interface KindDriver {
|
|
473
473
|
follow(now: number): void;
|
|
474
|
-
/**
|
|
474
|
+
/**
|
|
475
|
+
* Nothing to follow this frame — no object of ITS kind in hand, no press, no rest or roll owed: the host may skip `follow` (the
|
|
476
|
+
* idle-tick budget). Absent: never skipped. Another kind's object in hand is not its to follow: a driver that is not idle while ANY
|
|
477
|
+
* object is held keeps the desk stepping every frame for as long as one is (petition I52 — ICE's three reference drivers did).
|
|
478
|
+
*/
|
|
475
479
|
idle?(): boolean;
|
|
476
480
|
dispose?(): void;
|
|
477
481
|
}
|
|
@@ -21,7 +21,7 @@ export interface BoardPenOptions {
|
|
|
21
21
|
readonly defer?: (fn: () => void) => void;
|
|
22
22
|
}
|
|
23
23
|
export interface BoardPen {
|
|
24
|
-
/** Nothing to follow (D7 #14): no board in hand, no stroke laid, no marker to lie down. */
|
|
24
|
+
/** Nothing to follow (D7 #14): no board in hand, no stroke laid, no marker to lie down — another kind's object in hand is not the pen's (petition I52). */
|
|
25
25
|
idle(): boolean;
|
|
26
26
|
/** Once a frame, before the kinds' clocks: the hand onto the board in hand, its stroke laid, lifted, committed. */
|
|
27
27
|
follow(now: number): void;
|
|
@@ -45,7 +45,11 @@ export interface CalendarHandOptions {
|
|
|
45
45
|
export interface CalendarHand {
|
|
46
46
|
/** Once a frame, before the kinds' clocks: the marks on every pad; the bar's today acted on. */
|
|
47
47
|
follow(now: number): void;
|
|
48
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Nothing to follow (D7 #14, K7a): no PAD in hand (another kind's object in hand is not the hand's — petition I52), no hand on a
|
|
50
|
+
* roll, no corner lifted, no marks, no selection, no note carried, no glide or roll owed, no press — and, a pad on the desk, neither
|
|
51
|
+
* the pointer nor the camera moved since the last follow.
|
|
52
|
+
*/
|
|
49
53
|
idle(): boolean;
|
|
50
54
|
/** Leave the document's commit door (the landing's extender). */
|
|
51
55
|
dispose(): void;
|
|
@@ -22,7 +22,7 @@ export interface NotebookHandOptions {
|
|
|
22
22
|
export interface NotebookHand {
|
|
23
23
|
/** Once a frame, before the kinds' clocks: the hand onto the book in hand — its stroke laid, lifted, committed. */
|
|
24
24
|
follow(now: number): void;
|
|
25
|
-
/** Nothing to follow (D7 #14): no book in hand, no stroke laid, no turn in progress. */
|
|
25
|
+
/** Nothing to follow (D7 #14): no book in hand, no stroke laid, no turn in progress — another kind's object in hand is not the hand's (petition I52). */
|
|
26
26
|
idle(): boolean;
|
|
27
27
|
/** The stroke in hand: its book, its page and how many samples so far; null when none. */
|
|
28
28
|
live(): {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibecook/ice",
|
|
3
|
-
"version": "0.16.0
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "ICE — infinite canvas engine. The desk: every object under the camera drawn by one WebGPU renderer from a CRDT-synced ECS world, the DOM in screen space. defineObject turns a GPU kind into a canvas citizen — selectable, movable, nested in mini mats, undoable per gesture, collaborative.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "James Yong <me@jamesyong42.com>",
|