@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 +8 -2
- package/components.d.ts +2 -0
- package/components.mjs +261 -125
- package/composer.mjs +49 -26
- package/conversation.d.ts +2 -0
- package/conversation.mjs +136 -44
- package/embed.mjs +259 -125
- package/index.d.ts +2 -0
- package/messenger.mjs +259 -125
- package/package.json +1 -1
- package/sessions.mjs +14 -13
- package/styles.css +3 -1
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
|
|
130
|
-
|
|
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.
|