@getorrery/protocol 0.3.2 → 0.3.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/package.json +1 -1
- package/protocol.d.ts +6 -2
- package/protocol.schema.json +13 -2
package/package.json
CHANGED
package/protocol.d.ts
CHANGED
|
@@ -2676,6 +2676,10 @@ export interface AnimDef {
|
|
|
2676
2676
|
* What a truecolor terminal without images draws.
|
|
2677
2677
|
*/
|
|
2678
2678
|
pixel?: AnimPixel | null;
|
|
2679
|
+
/**
|
|
2680
|
+
* A finer `pixel` for a large box on a terminal that shows images, for the states it has: any other state draws from `pixel`.
|
|
2681
|
+
*/
|
|
2682
|
+
pixelFine?: AnimPixel | null;
|
|
2679
2683
|
/**
|
|
2680
2684
|
* Values that depend on the size it is drawn at (thicker strokes, no glow when small). The first entry whose `below` exceeds the size in CSS px applies; the last has no `below`.
|
|
2681
2685
|
*/
|
|
@@ -2685,7 +2689,7 @@ export interface AnimDef {
|
|
|
2685
2689
|
*/
|
|
2686
2690
|
slots: string[];
|
|
2687
2691
|
/**
|
|
2688
|
-
* Per state (`idle`, `loading`, `thinking`, `executing`, `waiting`, `done`, `error` for the mark): how its frames play.
|
|
2692
|
+
* Per state (`static`, `idle`, `loading`, `thinking`, `executing`, `waiting`, `done`, `error` for the mark): how its frames play.
|
|
2689
2693
|
*/
|
|
2690
2694
|
states: {
|
|
2691
2695
|
[k: string]: AnimState;
|
|
@@ -2746,7 +2750,7 @@ export interface AnimPixel {
|
|
|
2746
2750
|
*/
|
|
2747
2751
|
export interface AnimPixelState {
|
|
2748
2752
|
/**
|
|
2749
|
-
* Frames per second. They
|
|
2753
|
+
* Frames per second. They repeat, unless the state's `loop` is off: then they hold the last.
|
|
2750
2754
|
*/
|
|
2751
2755
|
fps: number;
|
|
2752
2756
|
/**
|
package/protocol.schema.json
CHANGED
|
@@ -203,6 +203,17 @@
|
|
|
203
203
|
}
|
|
204
204
|
]
|
|
205
205
|
},
|
|
206
|
+
"pixelFine": {
|
|
207
|
+
"description": "A finer `pixel` for a large box on a terminal that shows images, for the states it has: any other state draws from `pixel`.",
|
|
208
|
+
"anyOf": [
|
|
209
|
+
{
|
|
210
|
+
"$ref": "#/definitions/AnimPixel"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"type": "null"
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
},
|
|
206
217
|
"sizes": {
|
|
207
218
|
"description": "Values that depend on the size it is drawn at (thicker strokes, no glow when small). The first entry whose `below` exceeds the size in CSS px applies; the last has no `below`.",
|
|
208
219
|
"type": "array",
|
|
@@ -218,7 +229,7 @@
|
|
|
218
229
|
}
|
|
219
230
|
},
|
|
220
231
|
"states": {
|
|
221
|
-
"description": "Per state (`idle`, `loading`, `thinking`, `executing`, `waiting`, `done`, `error` for the mark): how its frames play.",
|
|
232
|
+
"description": "Per state (`static`, `idle`, `loading`, `thinking`, `executing`, `waiting`, `done`, `error` for the mark): how its frames play.",
|
|
222
233
|
"type": "object",
|
|
223
234
|
"additionalProperties": {
|
|
224
235
|
"$ref": "#/definitions/AnimState"
|
|
@@ -306,7 +317,7 @@
|
|
|
306
317
|
],
|
|
307
318
|
"properties": {
|
|
308
319
|
"fps": {
|
|
309
|
-
"description": "Frames per second. They
|
|
320
|
+
"description": "Frames per second. They repeat, unless the state's `loop` is off: then they hold the last.",
|
|
310
321
|
"type": "number",
|
|
311
322
|
"format": "double"
|
|
312
323
|
},
|