@seed-ship/mcp-ui-solid 2.9.0 → 2.10.1
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 +17 -11
- package/dist/components/ScratchpadPanel.cjs +426 -175
- package/dist/components/ScratchpadPanel.cjs.map +1 -1
- package/dist/components/ScratchpadPanel.d.ts.map +1 -1
- package/dist/components/ScratchpadPanel.js +426 -175
- package/dist/components/ScratchpadPanel.js.map +1 -1
- package/dist/types/chat-bus.d.ts +12 -1
- package/dist/types/chat-bus.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/ScratchpadPanel.tsx +174 -0
- package/src/types/chat-bus.ts +12 -1
- package/tsconfig.tsbuildinfo +1 -1
package/README.md
CHANGED
|
@@ -5,15 +5,18 @@ SolidJS components + chat toolkit for MCP-generated UI. Part of the [MCP UI ecos
|
|
|
5
5
|
[](https://www.npmjs.com/package/@seed-ship/mcp-ui-solid)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
|
|
8
|
-
## What's New in v2.
|
|
9
|
-
|
|
10
|
-
- **
|
|
11
|
-
- **
|
|
12
|
-
- **
|
|
13
|
-
- **
|
|
14
|
-
- **
|
|
15
|
-
- **
|
|
16
|
-
- **
|
|
8
|
+
## What's New in v2.10.0
|
|
9
|
+
|
|
10
|
+
- **HITL multi-tour** (`@experimental`) - ScratchpadPanel with turn state, progression stepper, and 3 new section types for agent/human collaboration across conversation turns
|
|
11
|
+
- **Section type="understanding"** - Agent shows detected parameters with confidence badges (high/medium/low) + data warnings
|
|
12
|
+
- **Section type="feedback"** - Thumbs up/down with optional comment for validating agent approach
|
|
13
|
+
- **Section type="prompt"** - Agent interpretation display (original query, extracted params, plan)
|
|
14
|
+
- **Interactive filter chips** - Click to edit inline (text or select dropdown), "+" to add new filters
|
|
15
|
+
- **Embedded forms** - Full FormFieldRenderer in scratchpad sections with depends_on reactive fields
|
|
16
|
+
- **Search button** - Prominent search when waiting_human + filters set
|
|
17
|
+
- **Preview auto-refresh** - `previewEndpoint` + debounce on filter change
|
|
18
|
+
- **Chat Bus** (`@experimental`) - Bidirectional event/command bus (17 events, 11 commands incl. updateScratchpad)
|
|
19
|
+
- **19 component renderers** - chart, table, metric, code, map, form, modal, gallery, video, iframe + more
|
|
17
20
|
|
|
18
21
|
## Installation
|
|
19
22
|
|
|
@@ -326,8 +329,11 @@ function WorkspaceView() {
|
|
|
326
329
|
| `preview` | Count badge + summary + mini-table | No | Live result count |
|
|
327
330
|
| `message` | Agent bubble (info/question/warning) | No | Agent explanations |
|
|
328
331
|
| `action` | Buttons (primary/danger/default) | No | Validate, refine, change |
|
|
329
|
-
| `steps` | Stepper
|
|
330
|
-
| `form` |
|
|
332
|
+
| `steps` | Stepper with embedded content | No | Guided workflow |
|
|
333
|
+
| `form` | Full FormFieldRenderer (select, autocomplete, depends_on) | Yes | Interactive parameters |
|
|
334
|
+
| `understanding` | Confidence badges (high/medium/low) + warnings | No | Agent comprehension display |
|
|
335
|
+
| `feedback` | Thumbs up/down + optional comment | Yes | Validate/reject agent approach |
|
|
336
|
+
| `prompt` | Original query + extracted params + plan | Optional | Agent interpretation |
|
|
331
337
|
|
|
332
338
|
### Status Badges
|
|
333
339
|
|