@fx-/chat-ink 0.0.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -8
  2. package/package.json +5 -3
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { BlockLayoutContext, CellBox, FooterHints, FrameInput, ImageLayoutOptions, ImageProvider, ImageState, InkAppearance, InkGlyphs, InkTheme, InkThemeRole, LayoutContext, Line, LineDraft, LineTarget, MarkdownLayout, Measure, MessageFrame, NOTHING_OPEN, OpenState, ROW_PATH, Span, THUMBNAIL, WrappedRow, asciiGlyphs, cachedMeasure, defaultMeasure, emojiGlyphs, footerSpans, graphemes, hardSplit, layoutBody, layoutImage, layoutMessage, lineText, plainGlyphs, plainMarkdownLayout, plainTheme, prefix, resolveAccent, showsSomething, span, suffix, truncate, wrapLines, wrapText } from "./images.d-KUBzdbd9.js";
2
2
  import { ClockProviderProps, CoreHooks, ElapsedTimerInput, LiveTokensInput, SharedClock } from "@fx-/chat-core/hooks";
3
3
  import { Attachment, CompletionItem, CompletionProvider, CustomBlock, DetailLevel, LivePhase, RenderableMessage, SummaryIconName } from "@fx-/chat-core";
4
- import * as _0 from "react";
5
- import * as _3 from "react";
4
+ import * as _9 from "react";
5
+ import * as _1 from "react";
6
6
  import { ComponentType, FunctionComponentElement, JSX, ProviderProps, ReactNode, Ref } from "react";
7
- import * as _1 from "ink";
8
- import * as _4 from "ink";
7
+ import * as _10 from "ink";
8
+ import * as _2 from "ink";
9
9
  import { DOMElement, Key } from "ink";
10
10
 
11
11
  //#region src/Composer.d.ts
@@ -491,8 +491,8 @@ declare function Styled({ tone, wrap, children, }: {
491
491
 
492
492
  //#endregion
493
493
  //#region src/runtime.d.ts
494
- type ReactApi = typeof _0;
495
- type InkApi = typeof _1;
494
+ type ReactApi = typeof _9;
495
+ type InkApi = typeof _10;
496
496
  /** What a host hands in. */
497
497
  interface ChatInkDeps {
498
498
  React: ReactApi;
@@ -513,8 +513,8 @@ declare function isBound(): boolean;
513
513
  */
514
514
  declare function ClockProvider(props: ClockProviderProps): FunctionComponentElement<ClockProviderProps>;
515
515
  declare function createChatInk(deps: ChatInkDeps): {
516
- React: typeof _3;
517
- ink: typeof _4;
516
+ React: typeof _1;
517
+ ink: typeof _2;
518
518
  /** The core render hooks (clock, timers, rates) on the host's React. */
519
519
  hooks: {
520
520
  ClockProvider: ({ tickMs, children }: ClockProviderProps) => FunctionComponentElement<ProviderProps<SharedClock | null>>;
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@fx-/chat-ink",
3
- "version": "0.0.0",
3
+ "version": "0.1.1",
4
4
  "description": "Terminal (Ink) renderer for @fx-/chat conversations: injected theme, glyphs and markdown; live agent turns; keyboard composer.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": false,
8
- "files": ["dist"],
8
+ "files": [
9
+ "dist"
10
+ ],
9
11
  "exports": {
10
12
  ".": {
11
13
  "types": "./dist/index.d.ts",
@@ -25,7 +27,7 @@
25
27
  "typecheck": "tsc --build"
26
28
  },
27
29
  "dependencies": {
28
- "@fx-/chat-core": "0.0.0",
30
+ "@fx-/chat-core": "0.1.1",
29
31
  "string-width": "8.3.0"
30
32
  },
31
33
  "peerDependencies": {