@seed-ship/mcp-ui-solid 8.0.0-solid2.0 → 8.0.0-solid2.3
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/CHANGELOG.md +58 -2
- package/README.md +24 -12
- package/dist/components/ScratchpadPanel.cjs +20 -10
- package/dist/components/ScratchpadPanel.cjs.map +1 -1
- package/dist/components/ScratchpadPanel.d.ts.map +1 -1
- package/dist/components/ScratchpadPanel.js +20 -10
- package/dist/components/ScratchpadPanel.js.map +1 -1
- package/dist/server/components/ArtifactRenderer.cjs +1 -1
- package/dist/server/components/ArtifactRenderer.js +1 -1
- package/dist/server/components/AutocompleteDropdown.cjs +2 -2
- package/dist/server/components/AutocompleteDropdown.js +2 -2
- package/dist/server/components/ChartJSRenderer.cjs +1 -1
- package/dist/server/components/ChartJSRenderer.js +1 -1
- package/dist/server/components/ScratchpadPanel.cjs +28 -18
- package/dist/server/components/ScratchpadPanel.cjs.map +1 -1
- package/dist/server/components/ScratchpadPanel.js +28 -18
- package/dist/server/components/ScratchpadPanel.js.map +1 -1
- package/dist/server/components/UIResourceRenderer.cjs +1 -1
- package/dist/server/components/UIResourceRenderer.js +1 -1
- package/docs/KATEX-COMPATIBILITY-2026-11-09.md +84 -0
- package/docs/SOLID2-DEPOSIUM-HANDOFF-2026-10-27.md +4 -0
- package/docs/SOLID2-PREVIEW.md +11 -7
- package/docs/SOLID2-RC21-QUALIFICATION-2026-11-10.md +90 -0
- package/docs/SOLID2-SCRATCHPAD-LAZY-PROPS-2026-11-03.md +60 -0
- package/package.json +13 -10
- package/src/components/ScratchpadPanel.tsx +20 -8
package/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,65 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [8.0.0-solid2.
|
|
8
|
+
## [8.0.0-solid2.3] - Unreleased Solid 2 RC.21 qualification candidate
|
|
9
9
|
|
|
10
|
-
###
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Align core/web/signals/compiler/Babel to exact `2.0.0-rc.21` and the scoped
|
|
13
|
+
Vite plugin to `3.0.0-next.57`. Keep Vite 8.3.5, renderer-owned Seroval 1.7.0,
|
|
14
|
+
virtual-core 3.13.18, Spec 6 and CLI 5.0.2 unchanged.
|
|
15
|
+
- Preserve the exact optional KaTeX peer `0.18.4 || 0.18.5` and requalify both
|
|
16
|
+
versions plus the absent peer against real RC.21 tarballs.
|
|
17
|
+
- Reject RC.20/RC.21 mixing and the RC.21 `CAUGHT_REACTIVE_READ` diagnostic in
|
|
18
|
+
consumer SSR gates. Full source CI now also runs on PRs into the preview
|
|
19
|
+
branch; no push or release trigger is added.
|
|
20
|
+
- Update test hosts to the plugin's `start.nodeServer` option, wait for complete
|
|
21
|
+
server-log writes before inspection, and bind the KaTeX matrix to the same
|
|
22
|
+
CI artifact and tarball as the main runtime qualification.
|
|
23
|
+
- `.2` remains the RC.20 qualification identity; `.3` needs separate review,
|
|
24
|
+
exact-head CI evidence and publication authorization. No tag/channel or
|
|
25
|
+
stable main/runtime change is made by qualification.
|
|
26
|
+
|
|
27
|
+
## [8.0.0-solid2.2] - Unreleased KaTeX compatibility candidate
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- Accept only the explicitly qualified optional KaTeX versions `0.18.4 || 0.18.5`.
|
|
32
|
+
Keep the adapter, public exports, Solid RC.20 cohort, development KaTeX 0.18.4
|
|
33
|
+
baseline and other components unchanged. Add a genuine packed-consumer matrix
|
|
34
|
+
for both versions and for KaTeX absent, including SSR/hydration and Chromium.
|
|
35
|
+
- Candidate channel is `solid2`; this source PR neither publishes nor moves any
|
|
36
|
+
dist-tag. The existing promotion policy still binds the published `.1` and
|
|
37
|
+
requires separate review before a future `.2` release.
|
|
38
|
+
- This is compatibility qualification, not remediation of GHSA-238p-pmpm-9mq7
|
|
39
|
+
in direct 0.18.4 (already patched). Mermaid's older transitive KaTeX remains
|
|
40
|
+
an application-owned follow-up. See the dated KaTeX qualification handoff.
|
|
41
|
+
|
|
42
|
+
## [8.0.0-solid2.1] - Published Solid 2 RC.20 preview
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- Resolve Scratchpad mount-log props during component setup, not owner-backed
|
|
47
|
+
`onSettled`. A host JSX conditional for `pinned` no longer creates a memo in
|
|
48
|
+
a forbidden lifecycle scope (`PRIMITIVE_IN_FORBIDDEN_SCOPE`).
|
|
49
|
+
- Capture the Scratchpad debug flag/id in effect compute and pass them to a
|
|
50
|
+
prop-free logger in apply, also preventing `PRIMITIVE_IN_EFFECT_CALLBACK`.
|
|
51
|
+
- Preserve reactive pin changes, auto-close suppression, timer cleanup and the
|
|
52
|
+
once-per-mount creation log. Add real compiler-conditional prop regressions and
|
|
53
|
+
full/optional-absent public-tarball browser probes.
|
|
54
|
+
|
|
55
|
+
### Changed
|
|
56
|
+
|
|
57
|
+
- Pin core/web/signals/compiler/Babel together to `2.0.0-rc.20`, matching the
|
|
58
|
+
reported host cohort. Keep Vite plugin next.51, Spec 6 and CLI 5.0.2 unchanged.
|
|
59
|
+
- The bug was reproduced and the focused fix checked on RC.19 before the cohort
|
|
60
|
+
update; `.1` has separate RC.20 qualification, not reused `.0` archive evidence.
|
|
61
|
+
- Prepare publication through the separate `solid2` policy only; no runtime-PR
|
|
62
|
+
merge, npm upload, host change or stable `latest` change is implied.
|
|
63
|
+
|
|
64
|
+
## [8.0.0-solid2.0] - 2026-11-01 — published Solid 2 RC.19 preview
|
|
65
|
+
|
|
66
|
+
### Historical 2026-10-27 source preparation
|
|
11
67
|
|
|
12
68
|
- Candidate source identity is `8.0.0-solid2.0`, on the Solid 2 line. Stable
|
|
13
69
|
`7.x` (including future `7.1.x`) remains Solid 1 and npm `latest`; Solid 2 is
|
package/README.md
CHANGED
|
@@ -2,21 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## Solid 2 preview (unpublished)
|
|
4
4
|
|
|
5
|
-
**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
**RC.21 candidate prepared on 2026-11-10:** based on the `.2` KaTeX
|
|
6
|
+
qualification, carrying the Scratchpad fix and coherent RC.21 toolchain.
|
|
7
|
+
This qualification PR does not authorize
|
|
8
|
+
staging, publication, a dist-tag change or application installation.
|
|
9
|
+
See the [current RC.21/Deposium handoff](./docs/SOLID2-RC21-QUALIFICATION-2026-11-10.md).
|
|
10
|
+
The [KaTeX handoff](./docs/KATEX-COMPATIBILITY-2026-11-09.md) records `.2` / RC.20 qualification.
|
|
11
|
+
The [Scratchpad handoff](./docs/SOLID2-SCRATCHPAD-LAZY-PROPS-2026-11-03.md) records the prior fix.
|
|
9
12
|
The [pause/resumption handoff](./docs/SOLID2-PREVIEW-HANDOFF-2026-10-23.md)
|
|
10
13
|
records the preserved source, checksums, known gaps and restart checklist.
|
|
11
14
|
|
|
12
|
-
This branch prepares `8.0.0-solid2.
|
|
15
|
+
This branch prepares `8.0.0-solid2.3` as an **opt-in preview for a separate
|
|
13
16
|
Solid 2 host**. The stable `7.x` line, including future `7.1.x` releases, remains
|
|
14
17
|
Solid 1 on npm `latest`; Solid 2 belongs to `8.x` and the separate `solid2` tag.
|
|
15
|
-
The `8.0.0-solid2.
|
|
18
|
+
The `8.0.0-solid2.3` source version alone proves neither qualification nor
|
|
16
19
|
release approval: bind later proof to the exact source HEAD and archive. Zod is
|
|
17
20
|
4.6.6 and Spec is 6.x. This is not a
|
|
18
|
-
dual-runtime package: required peers are exactly `solid-js@2.0.0-rc.
|
|
19
|
-
`@solidjs/web@2.0.0-rc.
|
|
21
|
+
dual-runtime package: required peers are exactly `solid-js@2.0.0-rc.21` and
|
|
22
|
+
`@solidjs/web@2.0.0-rc.21` (Node >=22.12.0). DOM types/imports move to
|
|
20
23
|
`@solidjs/web`; core and draft-store APIs come from `solid-js`.
|
|
21
24
|
|
|
22
25
|
For any later host qualification, use an identified archive qualified from the
|
|
@@ -27,6 +30,12 @@ optional peers, real-package qualification, consumer integration and rollback
|
|
|
27
30
|
boundaries. Large-table virtualization uses optional
|
|
28
31
|
`@tanstack/virtual-core@3.13.18`; the Solid 1 adapter is not compatible.
|
|
29
32
|
|
|
33
|
+
Scratchpad `pinned` and `debug` may be ordinary reactive JSX conditionals.
|
|
34
|
+
Lifecycle logging snapshots the initial props during setup; debug effects read
|
|
35
|
+
props in compute and consume that snapshot in apply. Host-side memo hoisting is
|
|
36
|
+
not required for this regression. The published `.0` targeted RC.19; `.1` and
|
|
37
|
+
the `.2` candidate target RC.20; `.3` targets RC.21. Each release needs its own CI/archive approval.
|
|
38
|
+
|
|
30
39
|
Public component names, MCP wire payloads, HTML trust policy, callbacks and CSS
|
|
31
40
|
tokens are retained. Imperative store/controller methods commit before returning;
|
|
32
41
|
ordinary reactive writes follow Solid 2 staged scheduling. Do not widen the
|
|
@@ -109,7 +118,7 @@ currency guards and sanitized MathML output. No change without a provider;
|
|
|
109
118
|
Install the optional peer only if the host wants the supplied KaTeX adapter:
|
|
110
119
|
|
|
111
120
|
```bash
|
|
112
|
-
pnpm add --save-exact katex@0.18.
|
|
121
|
+
pnpm add --save-exact katex@0.18.5
|
|
113
122
|
```
|
|
114
123
|
|
|
115
124
|
```tsx
|
|
@@ -121,9 +130,12 @@ import { renderKatexMath } from '@seed-ship/mcp-ui-solid/plugins/katex'
|
|
|
121
130
|
</MCPUIMathProvider>
|
|
122
131
|
```
|
|
123
132
|
|
|
124
|
-
The
|
|
125
|
-
|
|
126
|
-
|
|
133
|
+
The candidate's optional peer explicitly accepts `0.18.4 || 0.18.5`, not a
|
|
134
|
+
caret or an untested future range. Its development baseline remains 0.18.4.
|
|
135
|
+
KaTeX 0.18.5 pulls in Commander 15 (Node >=22.12); use the host's supported
|
|
136
|
+
Node version before upgrading. The KaTeX adapter does not choose the Solid
|
|
137
|
+
runtime; this `.3` preview requires the coherent RC.21 cohort.
|
|
138
|
+
See the [version-specific qualification and Deposium handoff](./docs/KATEX-COMPATIBILITY-2026-11-09.md).
|
|
127
139
|
|
|
128
140
|
The provider applies to `text` with `markdown: true` and string-valued table
|
|
129
141
|
cells, including virtualized rows. It recognizes `$...$` inline and `$$...$$`
|
|
@@ -163,11 +163,11 @@ var ScratchpadPanel = (props) => {
|
|
|
163
163
|
const hasFilters = () => Object.keys(props.state.filters || {}).length > 0;
|
|
164
164
|
const [eventCount, setEventCount] = (0, solid_js.createSignal)(0);
|
|
165
165
|
const [lastEvent, setLastEvent] = (0, solid_js.createSignal)("");
|
|
166
|
-
const debugLog = (event, data) => {
|
|
167
|
-
if (!
|
|
166
|
+
const debugLog = (event, data, enabled, id) => {
|
|
167
|
+
if (!enabled) return;
|
|
168
168
|
setEventCount((c) => c + 1);
|
|
169
169
|
setLastEvent(event);
|
|
170
|
-
console.log(`[ScratchpadPanel:${
|
|
170
|
+
console.log(`[ScratchpadPanel:${id}] ${event}`, data || "");
|
|
171
171
|
};
|
|
172
172
|
const VALID_TRANSITIONS = {
|
|
173
173
|
loading: [
|
|
@@ -201,7 +201,13 @@ var ScratchpadPanel = (props) => {
|
|
|
201
201
|
]
|
|
202
202
|
};
|
|
203
203
|
let prevStatus = (0, solid_js.untrack)(() => props.state.status);
|
|
204
|
-
(0, solid_js.
|
|
204
|
+
const created = (0, solid_js.untrack)(() => ({
|
|
205
|
+
id: props.state.id,
|
|
206
|
+
sections: props.state.sections?.length || 0,
|
|
207
|
+
status: props.state.status,
|
|
208
|
+
pinned: props.pinned
|
|
209
|
+
}));
|
|
210
|
+
(0, solid_js.onSettled)(() => console.info(`%c[MCP-UI] Scratchpad created%c id=${created.id} sections=${created.sections} status=${created.status}${created.pinned ? " pinned=true" : ""}`, "color: #10b981; font-weight: bold", "color: inherit"));
|
|
205
211
|
(0, solid_js.createEffect)(() => ({
|
|
206
212
|
status: props.state.status,
|
|
207
213
|
id: props.state.id,
|
|
@@ -229,17 +235,21 @@ var ScratchpadPanel = (props) => {
|
|
|
229
235
|
action,
|
|
230
236
|
asyncAction: props.asyncAction,
|
|
231
237
|
data
|
|
232
|
-
});
|
|
238
|
+
}, props.debug, props.state.id);
|
|
233
239
|
if (props.asyncAction && !CLOSE_ALIASES.has(action)) setLoadingAction(action);
|
|
234
240
|
props.onAction?.(action, data);
|
|
235
241
|
if (CLOSE_ALIASES.has(action) && props.onClose) props.onClose();
|
|
236
242
|
};
|
|
237
243
|
(0, solid_js.createEffect)(() => ({
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
244
|
+
enabled: props.debug,
|
|
245
|
+
id: props.state.id,
|
|
246
|
+
state: {
|
|
247
|
+
status: props.state.status,
|
|
248
|
+
sections: props.state.sections?.length,
|
|
249
|
+
filters: Object.keys(props.state.filters || {}),
|
|
250
|
+
turn: props.state.turn
|
|
251
|
+
}
|
|
252
|
+
}), ({ enabled, id, state }) => debugLog("state", state, enabled, id));
|
|
243
253
|
(0, solid_js.createEffect)(() => ({
|
|
244
254
|
status: props.state.status,
|
|
245
255
|
delay: props.autoCloseDelay,
|