@terreno/mcp 57.7.0 → 57.9.0

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.
Files changed (61) hide show
  1. package/dist/docs/resources/ui.md +5 -4
  2. package/dist/docs/upgrades/57.8.0.md +61 -0
  3. package/dist/docs/upgrades/57.9.0.md +28 -0
  4. package/dist/docs/versioned/next/explanation/charts.md +12 -0
  5. package/dist/docs/versioned/next/explanation/example-coverage.md +2 -1
  6. package/dist/docs/versioned/next/explanation/model-router-actions.md +1 -1
  7. package/dist/docs/versioned/next/explanation/roadmap-seed-issues.md +34 -0
  8. package/dist/docs/versioned/next/how-to/README.md +1 -1
  9. package/dist/docs/versioned/next/how-to/admin-import-prebuilt.md +1 -1
  10. package/dist/docs/versioned/next/how-to/charts-and-dashboards.md +5 -0
  11. package/dist/docs/versioned/next/how-to/circleci.md +30 -14
  12. package/dist/docs/versioned/next/how-to/compare-chart-rendered-snapshots.md +8 -0
  13. package/dist/docs/versioned/next/how-to/install-agent-skills.md +1 -1
  14. package/dist/docs/versioned/next/how-to/preview-demo.md +19 -0
  15. package/dist/docs/versioned/next/how-to/product-announcements.md +3 -0
  16. package/dist/docs/versioned/next/implementationPlans/ai-observability.md +1 -1
  17. package/dist/docs/versioned/next/implementationPlans/b2b-platform-program.md +1 -1
  18. package/dist/docs/versioned/next/implementationPlans/charts-and-dashboards.md +3 -2
  19. package/dist/docs/versioned/next/implementationPlans/dashboard-chart-parity.md +275 -0
  20. package/dist/docs/versioned/next/implementationPlans/demo-workshop.md +219 -0
  21. package/dist/docs/versioned/next/reference/ai.md +41 -10
  22. package/dist/docs/versioned/next/reference/announcement-release-packs.md +146 -0
  23. package/dist/docs/versioned/next/reference/announcements.md +7 -3
  24. package/dist/docs/versioned/next/reference/api.md +1 -0
  25. package/dist/docs/versioned/next/reference/environment-variables.md +2 -1
  26. package/dist/docs/versioned/next/reference/feature-flags.md +1 -1
  27. package/dist/docs/versioned/next/reference/ui.md +108 -17
  28. package/dist/docs/versioned/next/tasks/dashboard-chart-parity.md +145 -0
  29. package/dist/docs/versioned/next/tasks/demo-workshop.md +150 -0
  30. package/package.json +2 -2
  31. package/src/docs/resources/ui.md +5 -4
  32. package/src/docs/upgrades/57.8.0.md +61 -0
  33. package/src/docs/upgrades/57.9.0.md +28 -0
  34. package/src/docs/versioned/next/explanation/charts.md +12 -0
  35. package/src/docs/versioned/next/explanation/example-coverage.md +2 -1
  36. package/src/docs/versioned/next/explanation/model-router-actions.md +1 -1
  37. package/src/docs/versioned/next/explanation/roadmap-seed-issues.md +34 -0
  38. package/src/docs/versioned/next/how-to/README.md +1 -1
  39. package/src/docs/versioned/next/how-to/admin-import-prebuilt.md +1 -1
  40. package/src/docs/versioned/next/how-to/charts-and-dashboards.md +5 -0
  41. package/src/docs/versioned/next/how-to/circleci.md +30 -14
  42. package/src/docs/versioned/next/how-to/compare-chart-rendered-snapshots.md +8 -0
  43. package/src/docs/versioned/next/how-to/install-agent-skills.md +1 -1
  44. package/src/docs/versioned/next/how-to/preview-demo.md +19 -0
  45. package/src/docs/versioned/next/how-to/product-announcements.md +3 -0
  46. package/src/docs/versioned/next/implementationPlans/ai-observability.md +1 -1
  47. package/src/docs/versioned/next/implementationPlans/b2b-platform-program.md +1 -1
  48. package/src/docs/versioned/next/implementationPlans/charts-and-dashboards.md +3 -2
  49. package/src/docs/versioned/next/implementationPlans/dashboard-chart-parity.md +275 -0
  50. package/src/docs/versioned/next/implementationPlans/demo-workshop.md +219 -0
  51. package/src/docs/versioned/next/reference/ai.md +41 -10
  52. package/src/docs/versioned/next/reference/announcement-release-packs.md +146 -0
  53. package/src/docs/versioned/next/reference/announcements.md +7 -3
  54. package/src/docs/versioned/next/reference/api.md +1 -0
  55. package/src/docs/versioned/next/reference/environment-variables.md +2 -1
  56. package/src/docs/versioned/next/reference/feature-flags.md +1 -1
  57. package/src/docs/versioned/next/reference/ui.md +108 -17
  58. package/src/docs/versioned/next/tasks/dashboard-chart-parity.md +145 -0
  59. package/src/docs/versioned/next/tasks/demo-workshop.md +150 -0
  60. package/dist/docs/ui-types-documentation.json +0 -33
  61. package/src/docs/ui-types-documentation.json +0 -33
@@ -0,0 +1,150 @@
1
+ # Task List: Demo workshop
2
+
3
+ See: [`docs/implementationPlans/demo-workshop.md`](../implementationPlans/demo-workshop.md)
4
+
5
+ **RTK deprecation flag:** None
6
+
7
+ ## Instructions for the implementing agent
8
+
9
+ - Work the frontier: any task whose blockers are complete. The tracer is Task 1.1 (Button).
10
+ - Do not start iOS work, a translation catalog, or an addon API.
11
+ - Docs named on a task ship in that task. Use the `update-docs` skill.
12
+ - UI tasks also use `verify-ui-changes` and `terreno-ui`.
13
+ - Visual tasks use `review-chart-visuals` for the PNG diff workflow, then the new demo how-to.
14
+ - Run the task's verification command before handoff. `bun run lint` and `bun run demo:compile` on every demo task.
15
+
16
+ ## Phase 1: Catalog, snippets, and preview bar
17
+
18
+ - [x] **Task 1.1**: Button catalog contract
19
+ - Delivers: Button has a copyable usage snippet, resolvable related links, stable stories, one declarative interaction list, and typed control defaults.
20
+ - Files: `demo/demoConfig.tsx`, `demo/story-config/Button.config.tsx`, `demo/stories/Button.stories.tsx`, `demo/collectRegisteredStoryRenders.ts`, `demo/app/demo/[component].tsx`, `demo/README.md`
21
+ - Blocked by: none
22
+ - Acceptance: a unit test fails when a related name does not resolve, when an excluded story has an empty reason, or when a boolean control defaults to `""`. Button's snippet renders and copies. `showInDemo: false` hides a Button story in demo mode and leaves it on the dev route.
23
+ - Verification: `bun test demo/collectRegisteredStoryRenders.ts demo/demoConfig` (or the new colocated test), `bun run demo:compile`, and a web demo pass that opens Button, copies the snippet, and follows one related link.
24
+ - Docs: `demo/README.md` catalog-contract section
25
+ - Skills: `update-docs`, `terreno-ui`, `verify-ui-changes`
26
+
27
+ - [x] **Task 1.2**: Search, categories, and related links
28
+ - Delivers: the home grid and dev index filter by text and category, and every component's related row is links.
29
+ - Files: `demo/components/DemoHomePage.tsx`, `demo/components/DevHomePage.tsx`, `demo/app/demo/[component].tsx`, story configs whose `related` strings do not resolve, `demo/README.md`
30
+ - Blocked by: Task 1.1
31
+ - Acceptance: searching "button" shows Button; choosing a category hides other categories; a broken related name fails the catalog test; the home grid still does not nest pressables (`demo/components/DemoCard.test.tsx`).
32
+ - Verification: catalog unit test, `demo/components/DemoCard.test.tsx`, and a web demo pass of search, category filter, and a related link.
33
+ - Docs: `demo/README.md`
34
+ - Skills: `update-docs`, `terreno-ui`, `verify-ui-changes`
35
+
36
+ - [x] **Task 1.3**: Usage snippet on every component
37
+ - Delivers: every registered story config has `usageExample`, and the component page can copy it.
38
+ - Files: `demo/story-config/*.config.tsx`, `demo/app/demo/[component].tsx`, `scripts/check-demo-coverage.ts` or a sibling check, `demo/README.md`
39
+ - Blocked by: Task 1.1
40
+ - Acceptance: `bun run check:demo-coverage` (or the new snippet check it calls) fails when any registered config lacks a non-empty `usageExample`. The Button page copy control still works.
41
+ - Verification: the check command, plus one web copy action on a second component (TextField).
42
+ - Docs: `demo/README.md`
43
+ - Skills: `update-docs`, `verify-ui-changes`
44
+
45
+ - [x] **Task 1.4**: Preview toolbar and URL state
46
+ - Delivers: demo and dev component routes change theme, viewport, background, locale, right-to-left, and reduced motion from the URL. Embeds apply that state and hide the bar.
47
+ - Files: `demo/components/DemoChrome.tsx`, `demo/app/_layout.tsx`, `demo/app/demo/_layout.tsx`, `demo/app/dev/_layout.tsx`, `demo/contexts/EmbedModeContext.tsx`, `docs/how-to/preview-demo.md`, `demo/README.md`
48
+ - Blocked by: Task 1.1
49
+ - Acceptance: Button at a documented query uses the dark remap and the 375 viewport. Consent or date stories that already read locale receive the toolbar locale. Embed hides the bar. Reloading keeps the query.
50
+ - Verification: a focused demo unit test for query parse/serialize, `bun run demo:compile`, and a web demo pass of the Button query plus one embed URL.
51
+ - Docs: `docs/how-to/preview-demo.md`, `demo/README.md`
52
+ - Skills: `update-docs`, `terreno-ui`, `verify-ui-changes`
53
+
54
+ ## Phase 2: Web proof and health
55
+
56
+ - [ ] **Task 2.1**: Web interaction and axe for Button
57
+ - Delivers: Playwright runs Button's step list and axe against the Button stories.
58
+ - Files: `scripts/demo/runWebStoryChecks.ts`, `demo/story-config/Button.config.tsx`, root `package.json` (axe dependency if needed), `.circleci/config.yml`, `.circleci/continue-config.yml`, `docs/how-to/run-tests-locally.md`, `docs/reference/test.md`
59
+ - Blocked by: Task 1.1
60
+ - Acceptance: the Button interaction steps pass in Chromium. A serious axe violation fails the command. An excluded story with a reason is skipped. The job is required for `ui/**` and `demo/**` pull requests.
61
+ - Verification: `bun run demo:web-checks --only=Button` (the script this task adds) locally against demo web, then the CircleCI path-filter test if one exists beside `.circleci/`.
62
+ - Docs: `docs/how-to/run-tests-locally.md`, `docs/reference/test.md`
63
+ - Skills: `update-docs`, `verify-ui-changes`
64
+
65
+ - [ ] **Task 2.2**: Web visual harness for Button
66
+ - Delivers: one cropped web PNG baseline for each stable Button story, compared with the chart pixel matcher.
67
+ - Files: `scripts/demo/compareDemoSnapshots.ts`, `demo/rendered-snapshots/web/`, `scripts/charts/compareChartImages.ts` (reuse only), `docs/how-to/compare-demo-snapshots.md`, `docs/reference/ui.md`
68
+ - Blocked by: Task 1.1
69
+ - Acceptance: `bun run demo:snapshots:compare --only=Button` passes against the new goldens and fails when a golden is missing. Chart compare still passes for the existing chart fixtures.
70
+ - Verification: the new compare command and `bun run ui:charts:compare`.
71
+ - Docs: `docs/how-to/compare-demo-snapshots.md`, `docs/reference/ui.md`, `docs/how-to/compare-chart-rendered-snapshots.md` (pointer only)
72
+ - Skills: `update-docs`, `review-chart-visuals`
73
+
74
+ - [ ] **Task 2.3**: Web proof for every stable story
75
+ - Delivers: every stable story has interaction steps or an exclusion reason, an axe run, and a web PNG baseline.
76
+ - Files: `demo/story-config/*.config.tsx`, `demo/stories/*.stories.tsx`, `demo/rendered-snapshots/web/`, the web check and snapshot scripts
77
+ - Blocked by: Task 2.1, Task 2.2
78
+ - Acceptance: the web check and snapshot commands, with no `--only`, exit 0. Removing one stable story's golden or steps fails the matching command. Excluded stories name a reason.
79
+ - Verification: `bun run demo:web-checks` and `bun run demo:snapshots:compare`.
80
+ - Docs: `docs/how-to/compare-demo-snapshots.md`, `docs/reference/test.md`
81
+ - Skills: `update-docs`, `review-chart-visuals`
82
+
83
+ - [ ] **Task 2.4**: Story health and CI summary
84
+ - Delivers: the component page shows render, interaction, accessibility, and visual status from `demo/story-health.json`. CI stores that file and writes a check summary.
85
+ - Files: `demo/app/demo/[component].tsx`, `scripts/demo/writeStoryHealth.ts`, `.circleci/continue-config.yml`, `docs/reference/test.md`
86
+ - Blocked by: Task 2.3
87
+ - Acceptance: Button shows a pass row after the web commands. A forced failing story shows fail. A missing health file shows not-run. The CircleCI job summary lists failed story ids. The job does not call `gh pr comment`.
88
+ - Verification: unit test for health rendering, the web commands, and a CI config test or review that the job uploads artifacts and writes the summary.
89
+ - Docs: `docs/reference/test.md`, `demo/README.md`
90
+ - Skills: `update-docs`, `verify-ui-changes`
91
+
92
+ ## Phase 3: Android
93
+
94
+ - [ ] **Task 3.1**: Android proof for Button
95
+ - Delivers: a CircleCI Android emulator job runs Button's steps, accessibility-tree assertions, and a cropped Android PNG.
96
+ - Files: `.circleci/config.yml`, `.circleci/continue-config.yml`, `scripts/demo/generateMaestroFlows.ts`, `.maestro/flows/demo/generated/`, `demo/rendered-snapshots/android/`, `docs/how-to/circleci.md`, `docs/how-to/run-tests-locally.md`
97
+ - Blocked by: Task 2.1
98
+ - Acceptance: Pixel 6 API 34 runs the generated Button flow. The job is required when `ui/**` or `demo/**` changes. A missing Android golden fails the job. Web axe is unchanged.
99
+ - Verification: the local Maestro command documented in the how-to, against an emulator, for the Button flow. Record the CircleCI job name.
100
+ - Docs: `docs/how-to/circleci.md`, `docs/how-to/run-tests-locally.md`, `docs/reference/test.md`
101
+ - Skills: `update-docs`, `verify-ui-changes`
102
+
103
+ - [ ] **Task 3.2**: Android proof for every stable story
104
+ - Delivers: every stable story has an Android flow, accessibility-tree check, and PNG, or an exclusion reason.
105
+ - Files: generated Maestro flows, `demo/rendered-snapshots/android/`, `demo/story-health.json` writer
106
+ - Blocked by: Task 3.1, Task 2.3
107
+ - Acceptance: the Android job without `--only` exits 0. Health on Button includes the Android columns. An excluded story is absent from the Android failure list and its reason is in the summary.
108
+ - Verification: the Android compare and Maestro commands across the stable catalog.
109
+ - Docs: `docs/how-to/compare-demo-snapshots.md`, `docs/reference/test.md`
110
+ - Skills: `update-docs`, `review-chart-visuals`
111
+
112
+ ## Phase 4: Major versions
113
+
114
+ - [ ] **Task 4.1**: Version manifest and dropdown
115
+ - Delivers: production stays on the current major, `versions.json` lists released majors and a `preview/<major>` branch, and the top bar dropdown navigates there. The default is the highest released major.
116
+ - Files: `scripts/demo/publishDemoVersions.ts`, `scripts/ci/netlify-deploy.sh`, `demo/components/DemoChrome.tsx`, `docs/how-to/demo-versions.md`, `.circleci/continue-config.yml`
117
+ - Blocked by: Task 1.4
118
+ - Acceptance: a unit test of the manifest builder marks `preview/58` as preview and not current, marks 57 as current, and omits `pr-*` aliases. The dropdown on the home page shows those labels. `versions.json` on the production origin sends CORS headers the aliases can read.
119
+ - Verification: the manifest unit test, a deploy dry-run, and a web demo pass of the dropdown.
120
+ - Docs: `docs/how-to/demo-versions.md`, `demo/README.md`
121
+ - Skills: `update-docs`, `verify-ui-changes`
122
+
123
+ - [ ] **Task 4.2**: Freeze the previous major and backfill 56
124
+ - Delivers: moving master from 57 to a later major freezes 57 on alias `v57`. Alias `v56` serves the last master commit whose package major is 56.
125
+ - Files: `scripts/demo/publishDemoVersions.ts`, `.circleci/continue-config.yml`, `docs/how-to/demo-versions.md`
126
+ - Blocked by: Task 4.1
127
+ - Acceptance: a test with a fake deploy history freezes the previous production deploy when the major increases, and leaves 57 updating on ordinary master commits. The backfill command documents the git revision it deployed for 56.
128
+ - Verification: unit test of the freeze decision, plus the one-time 56 alias deploy recorded in the how-to.
129
+ - Docs: `docs/how-to/demo-versions.md`
130
+ - Skills: `update-docs`
131
+
132
+ - [ ] **Task 4.3**: Docs embeds follow the demo major
133
+ - Delivers: a 57 docs page embeds the 57 demo. The next docs version embeds the 58 preview when the manifest lists it.
134
+ - Files: `website/docusaurus.config.ts`, `website/src/components/ComponentDemo/index.tsx`, `docs/how-to/demo-versions.md`, the docs reference page that describes component embeds
135
+ - Blocked by: Task 4.1
136
+ - Acceptance: `ComponentDemo` for the 57 docs build requests the 57 demo URL with `?embed=1`. When the manifest has an unreleased preview, the next docs build uses that preview URL. A missing preview falls back to production.
137
+ - Verification: a website unit test or build-arg test for the URL choice, and `bun run website:build`.
138
+ - Docs: `docs/how-to/demo-versions.md` and the existing component-embed reference section
139
+ - Skills: `update-docs`
140
+
141
+ ## Phase 5: MCP catalog
142
+
143
+ - [ ] **Task 5.1**: Public demo catalog tools
144
+ - Delivers: `terreno_list_demo_stories` and `terreno_get_demo_story` return Button's snippet, route, story ids, and the version manifest URL.
145
+ - Files: `demo/demo-catalog.json`, `demo/package.json`, `mcp-server/src/tools.ts`, MCP tests, `docs/reference/mcp-server.md`
146
+ - Blocked by: Task 1.3, Task 4.1
147
+ - Acceptance: `terreno_get_demo_story` for Button includes `usageExample` and a `/demo/Button` route. The list tool filters by category. The response points at production `versions.json`. A catalog drift test fails when a registered component is missing from the JSON.
148
+ - Verification: `cd mcp-server && bun test` for the new tool tests, and `bun run demo:catalog` followed by the drift check.
149
+ - Docs: `docs/reference/mcp-server.md`, `demo/README.md`
150
+ - Skills: `update-docs`
@@ -1,33 +0,0 @@
1
- {
2
- "children": [
3
- {
4
- "name": "Common",
5
- "children": [
6
- {
7
- "name": "ButtonProps",
8
- "kind": 256,
9
- "children": [
10
- {
11
- "name": "text",
12
- "type": {"type": "intrinsic", "name": "string"},
13
- "flags": {},
14
- "comment": {"summary": [{"text": "Button text"}]}
15
- },
16
- {
17
- "name": "onClick",
18
- "type": {
19
- "type": "reflection",
20
- "declaration": {"signatures": [{}]}
21
- },
22
- "flags": {"isOptional": true}
23
- }
24
- ]
25
- },
26
- {
27
- "name": "NotAnInterface",
28
- "kind": 128
29
- }
30
- ]
31
- }
32
- ]
33
- }
@@ -1,33 +0,0 @@
1
- {
2
- "children": [
3
- {
4
- "name": "Common",
5
- "children": [
6
- {
7
- "name": "ButtonProps",
8
- "kind": 256,
9
- "children": [
10
- {
11
- "name": "text",
12
- "type": {"type": "intrinsic", "name": "string"},
13
- "flags": {},
14
- "comment": {"summary": [{"text": "Button text"}]}
15
- },
16
- {
17
- "name": "onClick",
18
- "type": {
19
- "type": "reflection",
20
- "declaration": {"signatures": [{}]}
21
- },
22
- "flags": {"isOptional": true}
23
- }
24
- ]
25
- },
26
- {
27
- "name": "NotAnInterface",
28
- "kind": 128
29
- }
30
- ]
31
- }
32
- ]
33
- }