@seed-ship/mcp-ui-solid 8.0.0-solid2.0 → 8.0.0-solid2.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/CHANGELOG.md CHANGED
@@ -5,9 +5,31 @@ 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.0] - Unreleased Solid 2 preview candidate
8
+ ## [8.0.0-solid2.1] - Unreleased Solid 2 RC.20 preview
9
9
 
10
- ### 2026-10-27 — source preparation, not a qualification or release
10
+ ### Fixed
11
+
12
+ - Resolve Scratchpad mount-log props during component setup, not owner-backed
13
+ `onSettled`. A host JSX conditional for `pinned` no longer creates a memo in
14
+ a forbidden lifecycle scope (`PRIMITIVE_IN_FORBIDDEN_SCOPE`).
15
+ - Capture the Scratchpad debug flag/id in effect compute and pass them to a
16
+ prop-free logger in apply, also preventing `PRIMITIVE_IN_EFFECT_CALLBACK`.
17
+ - Preserve reactive pin changes, auto-close suppression, timer cleanup and the
18
+ once-per-mount creation log. Add real compiler-conditional prop regressions and
19
+ full/optional-absent public-tarball browser probes.
20
+
21
+ ### Changed
22
+
23
+ - Pin core/web/signals/compiler/Babel together to `2.0.0-rc.20`, matching the
24
+ reported host cohort. Keep Vite plugin next.51, Spec 6 and CLI 5.0.2 unchanged.
25
+ - The bug was reproduced and the focused fix checked on RC.19 before the cohort
26
+ update; `.1` has separate RC.20 qualification, not reused `.0` archive evidence.
27
+ - Prepare publication through the separate `solid2` policy only; no runtime-PR
28
+ merge, npm upload, host change or stable `latest` change is implied.
29
+
30
+ ## [8.0.0-solid2.0] - 2026-11-01 — published Solid 2 RC.19 preview
31
+
32
+ ### Historical 2026-10-27 source preparation
11
33
 
12
34
  - Candidate source identity is `8.0.0-solid2.0`, on the Solid 2 line. Stable
13
35
  `7.x` (including future `7.1.x`) remains Solid 1 and npm `latest`; Solid 2 is
package/README.md CHANGED
@@ -2,21 +2,21 @@
2
2
 
3
3
  ## Solid 2 preview (unpublished)
4
4
 
5
- **Source preparation resumed on 2026-10-27:** RC.19, stable security carry-over
6
- and fresh qualification only. Keep PR #34 separate and review-only; no release dispatch,
5
+ **Preview fix prepared on 2026-11-03:** RC.20 and Scratchpad lazy-prop regressions.
6
+ Keep PR #34 separate and review-only; no release dispatch,
7
7
  staging, publication, merge or application installation is authorized.
8
- See the [current Deposium handoff](./docs/SOLID2-DEPOSIUM-HANDOFF-2026-10-27.md).
8
+ See the [current Scratchpad/Deposium handoff](./docs/SOLID2-SCRATCHPAD-LAZY-PROPS-2026-11-03.md).
9
9
  The [pause/resumption handoff](./docs/SOLID2-PREVIEW-HANDOFF-2026-10-23.md)
10
10
  records the preserved source, checksums, known gaps and restart checklist.
11
11
 
12
- This branch prepares `8.0.0-solid2.0` as an **opt-in preview for a separate
12
+ This branch prepares `8.0.0-solid2.1` as an **opt-in preview for a separate
13
13
  Solid 2 host**. The stable `7.x` line, including future `7.1.x` releases, remains
14
14
  Solid 1 on npm `latest`; Solid 2 belongs to `8.x` and the separate `solid2` tag.
15
- The `8.0.0-solid2.0` source version alone proves neither qualification nor
15
+ The `8.0.0-solid2.1` source version alone proves neither qualification nor
16
16
  release approval: bind later proof to the exact source HEAD and archive. Zod is
17
17
  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` and
19
- `@solidjs/web@2.0.0-rc.19` (Node >=22.12.0). DOM types/imports move to
18
+ dual-runtime package: required peers are exactly `solid-js@2.0.0-rc.20` and
19
+ `@solidjs/web@2.0.0-rc.20` (Node >=22.12.0). DOM types/imports move to
20
20
  `@solidjs/web`; core and draft-store APIs come from `solid-js`.
21
21
 
22
22
  For any later host qualification, use an identified archive qualified from the
@@ -27,6 +27,12 @@ optional peers, real-package qualification, consumer integration and rollback
27
27
  boundaries. Large-table virtualization uses optional
28
28
  `@tanstack/virtual-core@3.13.18`; the Solid 1 adapter is not compatible.
29
29
 
30
+ Scratchpad `pinned` and `debug` may be ordinary reactive JSX conditionals.
31
+ Lifecycle logging snapshots the initial props during setup; debug effects read
32
+ props in compute and consume that snapshot in apply. Host-side memo hoisting is
33
+ not required for this regression. The published `.0` targeted RC.19; `.1` targets
34
+ RC.20 and needs its own successful CI/archive and release approval.
35
+
30
36
  Public component names, MCP wire payloads, HTML trust policy, callbacks and CSS
31
37
  tokens are retained. Imperative store/controller methods commit before returning;
32
38
  ordinary reactive writes follow Solid 2 staged scheduling. Do not widen the
@@ -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 (!props.debug) return;
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:${props.state.id}] ${event}`, data || "");
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.onSettled)(() => console.info(`%c[MCP-UI] Scratchpad created%c id=${props.state.id} sections=${props.state.sections?.length || 0} status=${props.state.status}${props.pinned ? " pinned=true" : ""}`, "color: #10b981; font-weight: bold", "color: inherit"));
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
- status: props.state.status,
239
- sections: props.state.sections?.length,
240
- filters: Object.keys(props.state.filters || {}),
241
- turn: props.state.turn
242
- }), (state) => debugLog("state", state));
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,