@volter-ai-dev/supercode-ui 0.1.21 → 0.1.23

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/README.md CHANGED
@@ -126,11 +126,17 @@ The browser cannot supply locators, credentials, policy, environment variables,
126
126
  materialization paths. Session keys and target harnesses must be revalidated by the host.
127
127
  `pickContext` is optional and host-owned: the default composer shows one attachment control when
128
128
  this callback exists and accepts either typed text context (`detail`) or native image inputs
129
- (`url`). Images can also be pasted directly. The composer bounds images to four supported browser
130
- formats at 5 MB each, previews them locally, and keeps both attachment kinds associated with queued
129
+ (`url`). Images can also be pasted or dropped directly, and an image-only turn is sent without
130
+ inventing fallback prompt text. The composer bounds images to four supported browser formats at
131
+ 5 MB each, previews them locally, and keeps both attachment kinds associated with queued
131
132
  messages, retry, edit, and new-chat recovery. The host still chooses how explicit file selection
132
133
  is exposed and must revalidate every returned item.
133
134
 
135
+ Transcript images with a browser-safe URL open in a keyboard-accessible, viewport-bounded viewer;
136
+ remote images expose copy-link and open-original actions, while local data images can be downloaded.
137
+ If a host deliberately omits a large historical data URL from its bounded projection, the UI shows
138
+ an honest unavailable-preview attachment instead of a broken thumbnail or a deceptive action.
139
+
134
140
  An embedding product such as Vibewaiting should therefore be small: Lucarne owns its iframe and
135
141
  launcher lifecycle, Supercode owns this UI and the controller semantics, and Vibewaiting only
136
142
  bridges state/intents plus host-specific theme and persistence policy.
package/components.d.ts CHANGED
@@ -5,7 +5,9 @@ export {
5
5
  ContinuationBar,
6
6
  Conversation,
7
7
  HarnessLogo,
8
+ ImageViewer,
8
9
  LoadingStatus,
10
+ MessageImages,
9
11
  RequestCard,
10
12
  SessionDetails,
11
13
  SessionList,