@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.
Files changed (51) hide show
  1. package/README.md +37 -1
  2. package/activity.mjs +5 -1235
  3. package/chunks/chunk-ATCOWFRV.mjs +105 -0
  4. package/chunks/chunk-LOP6XOON.mjs +671 -0
  5. package/chunks/chunk-LQMYNJPU.mjs +120 -0
  6. package/chunks/chunk-LS6JBXNT.mjs +1237 -0
  7. package/chunks/chunk-O7Q2PELK.mjs +201 -0
  8. package/chunks/chunk-OW42DS6P.mjs +842 -0
  9. package/chunks/chunk-SJ3YTA6Z.mjs +316 -0
  10. package/chunks/chunk-SSYNT434.mjs +224 -0
  11. package/chunks/chunk-V3UM7H7W.mjs +328 -0
  12. package/chunks/chunk-XD2WJYSL.mjs +29 -0
  13. package/chunks/chunk-ZLYHUYE2.mjs +62 -0
  14. package/components.d.ts +3 -0
  15. package/components.mjs +59 -3766
  16. package/composer.mjs +8 -580
  17. package/conversation.mjs +16 -1373
  18. package/embed.mjs +15 -3681
  19. package/icon.mjs +3 -58
  20. package/index.d.ts +25 -0
  21. package/logo.mjs +5 -87
  22. package/messenger.d.ts +3 -0
  23. package/messenger.mjs +21 -3677
  24. package/package.json +3 -2
  25. package/react/activity.mjs +5 -1235
  26. package/react/chunks/chunk-2RIHDJT6.mjs +842 -0
  27. package/react/chunks/chunk-7ES5FSLG.mjs +316 -0
  28. package/react/chunks/chunk-GV5KV5UY.mjs +105 -0
  29. package/react/chunks/chunk-GYQOTTZ5.mjs +224 -0
  30. package/react/chunks/chunk-LS6JBXNT.mjs +1237 -0
  31. package/react/chunks/chunk-OINC7LV7.mjs +62 -0
  32. package/react/chunks/chunk-TQHX2DQG.mjs +120 -0
  33. package/react/chunks/chunk-UKHDCPME.mjs +328 -0
  34. package/react/chunks/chunk-UKMTRNJN.mjs +671 -0
  35. package/react/chunks/chunk-ZM5X5LOF.mjs +29 -0
  36. package/react/chunks/chunk-ZXD7NZXI.mjs +201 -0
  37. package/react/components.mjs +59 -3766
  38. package/react/composer.mjs +8 -580
  39. package/react/conversation.mjs +16 -1373
  40. package/react/icon.mjs +3 -58
  41. package/react/index.d.ts +25 -0
  42. package/react/logo.mjs +5 -87
  43. package/react/messenger.d.ts +3 -0
  44. package/react/messenger.mjs +21 -3677
  45. package/react/sessions.mjs +9 -519
  46. package/react/settings.mjs +9 -425
  47. package/react/subagents.mjs +8 -1546
  48. package/sessions.mjs +9 -519
  49. package/settings.mjs +9 -425
  50. package/styles.css +12 -0
  51. 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 Storybook build is part of the repository SDK gate.
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.