@volter-ai-dev/supercode-ui 0.1.70 → 0.1.72
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 +61 -1
- package/activity.mjs +5 -1235
- package/chunks/chunk-2FG7VKIW.mjs +201 -0
- package/chunks/chunk-4XUMCWPC.mjs +29 -0
- package/chunks/chunk-E65I2I2L.mjs +120 -0
- package/chunks/chunk-IL5T2AST.mjs +842 -0
- package/chunks/chunk-LOP6XOON.mjs +671 -0
- package/chunks/chunk-LS6JBXNT.mjs +1237 -0
- package/chunks/chunk-SJ3YTA6Z.mjs +316 -0
- package/chunks/chunk-TKTOVDXB.mjs +139 -0
- package/chunks/chunk-V3UM7H7W.mjs +328 -0
- package/chunks/chunk-WRK5TBX3.mjs +224 -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 +22 -3
- package/react/activity.mjs +5 -1235
- package/react/chunks/chunk-7ES5FSLG.mjs +316 -0
- package/react/chunks/chunk-LS6JBXNT.mjs +1237 -0
- package/react/chunks/chunk-LYRIQE5M.mjs +29 -0
- package/react/chunks/chunk-NJC6S2AW.mjs +201 -0
- package/react/chunks/chunk-OINC7LV7.mjs +62 -0
- package/react/chunks/chunk-QL6QEYPK.mjs +842 -0
- package/react/chunks/chunk-UGL6AB2K.mjs +120 -0
- package/react/chunks/chunk-UKHDCPME.mjs +328 -0
- package/react/chunks/chunk-UKMTRNJN.mjs +671 -0
- package/react/chunks/chunk-VFOVJ4S3.mjs +139 -0
- package/react/chunks/chunk-YK7SJ6EH.mjs +224 -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/react/supervision-components.mjs +1354 -0
- package/react/supervision.d.ts +36 -0
- package/sessions.mjs +9 -519
- package/settings.mjs +9 -425
- package/source-inventory.d.ts +240 -0
- package/source-inventory.mjs +367 -0
- package/styles.css +104 -0
- package/subagents.mjs +8 -1546
- package/supervision-components.d.ts +36 -0
- package/supervision-components.mjs +1354 -0
- package/supervision.d.ts +242 -0
- package/supervision.mjs +349 -0
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.
|
|
@@ -336,3 +372,27 @@ honest unavailable-preview state rather than a broken thumbnail or deceptive act
|
|
|
336
372
|
An embedding product such as Vibewaiting should therefore be small: Lucarne owns its iframe and
|
|
337
373
|
launcher lifecycle, Supercode owns this UI and the controller semantics, and Vibewaiting only
|
|
338
374
|
bridges state/intents plus host-specific theme and persistence policy.
|
|
375
|
+
|
|
376
|
+
## Native supervision (0.1.72)
|
|
377
|
+
|
|
378
|
+
Independent workflow, job/run, configuration inventory and approval compositions
|
|
379
|
+
are available from `./preact/supervision` and `./react/supervision`. Their bounded
|
|
380
|
+
projections and native host adapters live in `./supervision`. These do not need
|
|
381
|
+
a conversation controller. A host supplies source scopes and native SDK clients.
|
|
382
|
+
|
|
383
|
+
`createSupervisionHost` binds job discovery, profile-scoped run history and
|
|
384
|
+
confirmed pause, resume, run requests and deletion for Hermes, OpenClaw and the orchestrator. `createSourceInventoryHost`
|
|
385
|
+
reads profiles, channels, routes, triggers, skills and memory; it does not turn
|
|
386
|
+
instance-wide native readers into per-profile readers. `createApprovalHost`
|
|
387
|
+
requires the existing native connection and session, re-reads a pending choice,
|
|
388
|
+
and requires a matching decision receipt. Configuration inventories are read-only. `JobControls` requires explicit host capabilities and keeps run-request receipts distinct from completed runs.
|
|
389
|
+
|
|
390
|
+
The public parts include `JobList`, `OrchestrationJobs`, `SourceInspector` and
|
|
391
|
+
`ApprovalInbox`; see the source inventory and supervision parts stories. Native
|
|
392
|
+
unknowns, discovery failures and delivery failures remain distinct states.
|
|
393
|
+
|
|
394
|
+
Validation: package build, TypeScript checks and 49 headless tests pass, including
|
|
395
|
+
colliding job IDs across orchestrator profiles and confirmation of a paused job.
|
|
396
|
+
Workbench separately exercised these components in normal Chrome and native job
|
|
397
|
+
creation/history/pause against a disposable orchestrator home. This does not claim
|
|
398
|
+
full scheduling migration, write editors, or live permission round-trip coverage.
|