asciify-engine 4.15.0 → 4.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/kit.d.cts CHANGED
@@ -790,6 +790,15 @@ interface StreamTextOptions extends KitOptions {
790
790
  onState?: (state: StreamState) => void;
791
791
  /** Reasoning lines `reasoning()` keeps in view above the reply; older ones scroll up and fade. Default 2. */
792
792
  reasoningLines?: number;
793
+ /**
794
+ * How characters land, set at creation. `flicker`: a glyph cell flickers, then resolves into the letter. `roll`: each
795
+ * character rolls up through glyphs in the text's own font and settles on the crisp letter, like the odometer. Default `flicker`.
796
+ */
797
+ transition?: 'flicker' | 'roll';
798
+ /** Ms one character rolls under `transition: 'roll'`; each next character starts `stagger` ms later. Default 300. */
799
+ roll?: number;
800
+ /** Glyphs a character rolls through. Default `#%*+=-:`. */
801
+ glyphs?: string;
793
802
  }
794
803
  interface StreamTextHandle extends KitHandle<StreamTextOptions> {
795
804
  /** Appends a token: its characters land as flickering glyph cells that resolve into letters, left to right. */
package/dist/kit.d.ts CHANGED
@@ -790,6 +790,15 @@ interface StreamTextOptions extends KitOptions {
790
790
  onState?: (state: StreamState) => void;
791
791
  /** Reasoning lines `reasoning()` keeps in view above the reply; older ones scroll up and fade. Default 2. */
792
792
  reasoningLines?: number;
793
+ /**
794
+ * How characters land, set at creation. `flicker`: a glyph cell flickers, then resolves into the letter. `roll`: each
795
+ * character rolls up through glyphs in the text's own font and settles on the crisp letter, like the odometer. Default `flicker`.
796
+ */
797
+ transition?: 'flicker' | 'roll';
798
+ /** Ms one character rolls under `transition: 'roll'`; each next character starts `stagger` ms later. Default 300. */
799
+ roll?: number;
800
+ /** Glyphs a character rolls through. Default `#%*+=-:`. */
801
+ glyphs?: string;
793
802
  }
794
803
  interface StreamTextHandle extends KitHandle<StreamTextOptions> {
795
804
  /** Appends a token: its characters land as flickering glyph cells that resolve into letters, left to right. */