@volter-ai-dev/supercode-ui 0.1.69 → 0.1.71
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 +37 -1
- package/activity.mjs +5 -1235
- package/chunks/chunk-ATCOWFRV.mjs +105 -0
- package/chunks/chunk-LOP6XOON.mjs +671 -0
- package/chunks/chunk-LQMYNJPU.mjs +120 -0
- package/chunks/chunk-LS6JBXNT.mjs +1237 -0
- package/chunks/chunk-O7Q2PELK.mjs +201 -0
- package/chunks/chunk-OW42DS6P.mjs +842 -0
- package/chunks/chunk-SJ3YTA6Z.mjs +316 -0
- package/chunks/chunk-SSYNT434.mjs +224 -0
- package/chunks/chunk-V3UM7H7W.mjs +328 -0
- package/chunks/chunk-XD2WJYSL.mjs +29 -0
- package/chunks/chunk-ZLYHUYE2.mjs +62 -0
- package/components.d.ts +3 -0
- package/components.mjs +59 -3766
- package/composer.mjs +8 -580
- package/conversation.mjs +16 -1373
- package/embed.mjs +15 -3681
- package/icon.mjs +3 -58
- package/index.d.ts +25 -0
- package/logo.mjs +5 -87
- package/messenger.d.ts +3 -0
- package/messenger.mjs +21 -3677
- package/package.json +3 -2
- package/react/activity.mjs +5 -1235
- package/react/chunks/chunk-2RIHDJT6.mjs +842 -0
- package/react/chunks/chunk-7ES5FSLG.mjs +316 -0
- package/react/chunks/chunk-GV5KV5UY.mjs +105 -0
- package/react/chunks/chunk-GYQOTTZ5.mjs +224 -0
- package/react/chunks/chunk-LS6JBXNT.mjs +1237 -0
- package/react/chunks/chunk-OINC7LV7.mjs +62 -0
- package/react/chunks/chunk-TQHX2DQG.mjs +120 -0
- package/react/chunks/chunk-UKHDCPME.mjs +328 -0
- package/react/chunks/chunk-UKMTRNJN.mjs +671 -0
- package/react/chunks/chunk-ZM5X5LOF.mjs +29 -0
- package/react/chunks/chunk-ZXD7NZXI.mjs +201 -0
- package/react/components.mjs +59 -3766
- package/react/composer.mjs +8 -580
- package/react/conversation.mjs +16 -1373
- package/react/icon.mjs +3 -58
- package/react/index.d.ts +25 -0
- package/react/logo.mjs +5 -87
- package/react/messenger.d.ts +3 -0
- package/react/messenger.mjs +21 -3677
- package/react/sessions.mjs +9 -519
- package/react/settings.mjs +9 -425
- package/react/subagents.mjs +8 -1546
- package/sessions.mjs +9 -519
- package/settings.mjs +9 -425
- package/styles.css +12 -0
- package/subagents.mjs +8 -1546
package/README.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# `@volter-ai-dev/supercode-ui`
|
|
2
2
|
|
|
3
|
+
Repository reference: [UI inventory](../../docs/reference/ui.md) ·
|
|
4
|
+
[feature inventory](../../docs/reference/features.md) ·
|
|
5
|
+
[ideal Storybook first](../../docs/contributing/ui-development.md).
|
|
6
|
+
These repository guides describe current coverage and proposed components; the API below
|
|
7
|
+
describes this package. Workflow and orchestration currently have session-level provenance,
|
|
8
|
+
but no dedicated board, job, run, or routing components.
|
|
9
|
+
|
|
3
10
|
`supercode-ui` is the composable default interface for Supercode's glue workflows: inspect a
|
|
4
11
|
native coding-agent session, continue it safely, switch harnesses, answer requests, hand it to a
|
|
5
12
|
terminal, and export it back without hiding fidelity or residue.
|
|
@@ -9,6 +16,34 @@ The package does not inject iframes, open sockets, read native session files, pe
|
|
|
9
16
|
or assume Lucarne. A host supplies bounded public state and receives typed intents. This lets a
|
|
10
17
|
browser widget, editor panel, desktop app, or ordinary page share one capability-honest UI.
|
|
11
18
|
|
|
19
|
+
## Compose a host layout with shared behavior
|
|
20
|
+
|
|
21
|
+
`MessengerProvider` owns shared navigation and conversation state. Put
|
|
22
|
+
`MessengerSessions` in a persistent sidebar and `MessengerContent` beside it; the
|
|
23
|
+
content retains the complete messenger's actions, receipts, recovery, settings,
|
|
24
|
+
and child-session inspector. `useMessenger()` exposes navigation to host controls.
|
|
25
|
+
|
|
26
|
+
```jsx
|
|
27
|
+
<MessengerProvider state={state} adapter={adapter} initialView="new">
|
|
28
|
+
<aside className="scui-root"><MessengerSessions /></aside>
|
|
29
|
+
<section className="scui-root">
|
|
30
|
+
<MessengerContent showBack={false} starter={{
|
|
31
|
+
variant: 'starter', environmentLabel: 'This workspace',
|
|
32
|
+
suggestions: ['Explain this workspace', 'Fix the failing test'],
|
|
33
|
+
initialDraft: storedNewDraft, onDraftChange: saveNewDraft,
|
|
34
|
+
}} />
|
|
35
|
+
</section>
|
|
36
|
+
</MessengerProvider>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Import these from `/preact` or `/react` (or their `/messenger` subpath).
|
|
40
|
+
The host supplies layout sizing. The optional centered starter uses the same
|
|
41
|
+
harness readiness, attachments, execution modes, and submission logic as the
|
|
42
|
+
complete messenger. Its persisted draft is separate from `state.savedDraft`,
|
|
43
|
+
which belongs to the attached conversation. An asynchronous start must settle
|
|
44
|
+
successfully before the starter clears its draft; merely becoming busy or
|
|
45
|
+
allocating a new runtime is insufficient.
|
|
46
|
+
|
|
12
47
|
## Storybook is the component contract
|
|
13
48
|
|
|
14
49
|
The package's complete development, documentation, and acceptance surface lives in Storybook:
|
|
@@ -23,7 +58,8 @@ Stories import the same built public artifacts that consumers install. They cove
|
|
|
23
58
|
harness identity, loading phase, transcript primitive, native request, tool lifecycle, long plan,
|
|
24
59
|
session inventory, composer/continuation state, receipt, narrow messenger layout, and modular
|
|
25
60
|
override seam. Chromium interaction and axe accessibility tests run every story in both light and
|
|
26
|
-
dark consumer themes. The static
|
|
61
|
+
dark consumer themes. The static build is available through `build:storybook`; see the
|
|
62
|
+
[validation guide](../../docs/contributing/validation.md) for current automation.
|
|
27
63
|
|
|
28
64
|
The older browser fixture remains a low-level embed smoke test; it is not a parallel design system.
|
|
29
65
|
New component behavior and hard-to-reach states belong in Storybook first.
|