@wrongstack/tui 0.2.0 → 0.3.2

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/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { Agent, SlashCommandRegistry, AttachmentStore, EventBus, TokenCounter, QueueStore, Director } from '@wrongstack/core';
2
+ import { VisionAdapters } from '@wrongstack/runtime/vision';
2
3
  import React from 'react';
3
4
 
4
5
  interface ProviderOption {
@@ -16,6 +17,9 @@ interface RunTuiOptions {
16
17
  attachments: AttachmentStore;
17
18
  events: EventBus;
18
19
  tokenCounter?: TokenCounter;
20
+ visionAdapters?: VisionAdapters;
21
+ /** Resolve current model vision support. Falls back to provider capability when omitted. */
22
+ supportsVision?: () => boolean | Promise<boolean>;
19
23
  model: string;
20
24
  banner?: boolean;
21
25
  /** Persists the input queue across crashes; if omitted, the queue is in-memory only. */