@volter-ai-dev/supercode-ui 0.1.22 → 0.1.24
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 +9 -0
- package/components.d.ts +2 -0
- package/components.mjs +260 -109
- package/composer.mjs +19 -17
- package/controller.d.ts +20 -0
- package/controller.mjs +69 -12
- package/conversation.d.ts +2 -0
- package/conversation.mjs +192 -44
- package/core.mjs +3 -0
- package/embed.mjs +258 -109
- package/index.d.ts +8 -0
- package/messenger.mjs +258 -109
- package/package.json +1 -1
- package/sessions.mjs +15 -13
- package/styles.css +2 -1
package/README.md
CHANGED
|
@@ -132,6 +132,15 @@ inventing fallback prompt text. The composer bounds images to four supported bro
|
|
|
132
132
|
messages, retry, edit, and new-chat recovery. The host still chooses how explicit file selection
|
|
133
133
|
is exposed and must revalidate every returned item.
|
|
134
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
|
+
`createClientProjection` keeps large historical data URLs in a projection-scoped host registry and
|
|
138
|
+
puts only stable metadata plus an opaque `reference` in `SupercodeUiState`. An embedding host may
|
|
139
|
+
implement `adapter.resolveImage` to fetch that reference only after a click and return a bounded
|
|
140
|
+
`Blob`; the viewer owns and revokes the resulting object URL and presents loading, failure, and
|
|
141
|
+
retry states. Without that adapter—or when native data is incomplete—the attachment remains an
|
|
142
|
+
honest unavailable-preview state rather than a broken thumbnail or deceptive action.
|
|
143
|
+
|
|
135
144
|
An embedding product such as Vibewaiting should therefore be small: Lucarne owns its iframe and
|
|
136
145
|
launcher lifecycle, Supercode owns this UI and the controller semantics, and Vibewaiting only
|
|
137
146
|
bridges state/intents plus host-specific theme and persistence policy.
|