You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 08df526
Browse filesBrowse the repository at this point in the historyBrowse files
- Workspace Manager V2 hydrates one session key per tool:
12
+
-`workspace.tools.templates-v2`
13
+
-`workspace.tools.asset-manager-v2`
14
+
-`workspace.tools.palette-manager-v2`
15
+
-`workspace.tools.preview-generator-v2`
16
+
-`workspace.tools.session-inspector-v2`
17
+
- Workspace Manager V2 does not create old split `.schema` or `.state` per-tool keys.
18
+
- Session Inspector V2 shows normalized tool session values as one tile per tool.
19
+
- JSON section shows the full combined object.
20
+
- Schema section shows only schema data.
21
+
- Schema section shows a visible empty-state message when the selected entry has no schema.
22
+
- Per-tile Delete removes the normalized key.
23
+
- Delete All still clears displayed entries.
24
+
- Preview Generator V2 reads repo/game context from the normalized session key and remains able to generate a preview.
25
+
26
+
## Skipped
27
+
- Full samples smoke test was skipped by request. The changed surface is covered by targeted Workspace Manager V2, Session Inspector V2, and Preview Generator V2 workspace-launch validation in `tests/playwright/tools/WorkspaceManagerV2.spec.mjs`.
- Normalized Workspace Manager V2 tool hydration from split `workspace.tools.<tool-id>.schema` and `workspace.tools.<tool-id>.state` keys into one `workspace.tools.<tool-id>` key per tool.
5
+
- Preserved `workspace.repo.reference`.
6
+
- Updated Preview Generator V2 to read its nested `state` from `workspace.tools.preview-generator-v2` so workspace launch repo/game context still resolves through session storage.
7
+
- Renamed the Session Inspector V2 Details section/control to JSON.
8
+
- Added a Schema section/control that renders only the selected entry's top-level `schema` data.
9
+
10
+
## Implementation Notes
11
+
- Each Workspace Manager V2 tool session value is now a combined object with:
12
+
-`schema`
13
+
-`state`
14
+
- Session Inspector V2 now renders normalized tool hydration as one tile per tool because the writer no longer creates split schema/state keys.
15
+
- JSON renders the full stored value for the selected tile.
16
+
- Schema renders only `value.schema` when present.
17
+
- Schema shows an actionable empty state when the selected value has no top-level `schema` section.
18
+
- Per-tile Delete still removes the selected storage key. For normalized tool tiles, that removes the single `workspace.tools.<tool-id>` key.
19
+
- Delete All still clears all currently displayed storage entries.
20
+
21
+
## Guardrails
22
+
- No cross-tool direct communication was added.
23
+
- No sample JSON was modified.
24
+
- No roadmap content was modified.
25
+
- Game manifest SSoT semantics were not changed.
26
+
27
+
## Validation
28
+
- Passed `npm run test:workspace-v2` with 15/15 tests.
- Verified old `.schema` and `.state` per-tool keys are not created by Workspace Manager V2 hydration.
31
+
- Verified Session Inspector V2 JSON and Schema sections.
32
+
- Verified Schema empty state for a selected entry without `schema`.
33
+
- Verified per-tile Delete and Delete All behavior.
34
+
- Verified Preview Generator V2 still resolves repo/game context and can generate a preview from workspace launch.
35
+
36
+
## Skipped
37
+
- Full samples smoke test was skipped because this PR is limited to Workspace Manager V2 session hydration, Session Inspector V2 storage display, and the Preview Generator V2 workspace session read path. The requested targeted Workspace V2 Playwright validation covers the changed behavior.
0 commit comments