@volter-ai-dev/supercode-ui 0.1.0 → 0.1.2

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 CHANGED
@@ -36,11 +36,13 @@ import '@volter-ai-dev/supercode-ui/styles.css';
36
36
 
37
37
  const mounted = mountSupercodeMessenger(document.querySelector('#agent'), {
38
38
  state: initialState,
39
- onIntent(intent) {
40
- host.send(intent);
41
- },
42
- onClose() {
43
- panel.close();
39
+ adapter: {
40
+ onIntent(intent) {
41
+ host.send(intent);
42
+ },
43
+ onClose() {
44
+ panel.close();
45
+ },
44
46
  },
45
47
  });
46
48
 
@@ -83,8 +85,9 @@ binding.subscribe((state) => mounted.update(state));
83
85
  mounted.update(binding.getState());
84
86
  ```
85
87
 
86
- The binding maps only standard controller operations. Host-owned pagination, durable attention,
87
- drafts, artifact materialization, and future reduction receipts remain explicit callbacks. A
88
+ The binding maps standard controller operations, including verified reduce-and-continue, and
89
+ projects its durable reduction receipt directly. Host-owned pagination, durable attention,
90
+ drafts, and artifact materialization remain explicit callbacks. A
88
91
  browser should receive projected state from a trusted host rather than instantiate a local
89
92
  controller or gain filesystem authority.
90
93
 
@@ -0,0 +1,17 @@
1
+ export type * from './index.js';
2
+ export {
3
+ ActivityGroup,
4
+ Composer,
5
+ ContinuationBar,
6
+ Conversation,
7
+ HarnessLogo,
8
+ LoadingStatus,
9
+ RequestCard,
10
+ SessionDetails,
11
+ SessionList,
12
+ SessionRow,
13
+ SupercodeMessenger,
14
+ TaskPlan,
15
+ TranscriptEntry,
16
+ hasHarnessLogo,
17
+ } from './index.js';