Repository navigation
Commit 0cffb70
feat: one route family — every capability is a docs page (#1010)
* docs(specs): docs and workspace unification design
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* docs(plans): docs and workspace unification implementation plan
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* feat(registry): every capability publishes a unique docs path
Six capabilities used to share a docs page with a sibling
(durable-execution/persistence, ag-ui tool-views/json-render/
client-tools/subagents, render repeat-loops/specs) and relied on
PRIMARY_CAPABILITY_BY_DOCS_PATH to pick a primary owner for the
route. Give each its own docs path instead, so the override table
and its validate-manifest ambiguity check can go away.
The six new docs paths (e.g. /docs/langgraph/guides/
durable-execution) do not have pages yet - that lands in a
follow-up task alongside removing the /workspace route.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* test(cockpit-shell): expect the moved capabilities' own docs paths
The durable-execution capability fixture in
workspace-presentation.spec.ts still pinned the old shared docs
path (/docs/langgraph/guides/persistence) that the registry no
longer publishes for it. Update the expectation to
/docs/langgraph/guides/durable-execution, its own path. No other
cockpit-shell/workspace-react fixture pins one of the other five
moved capabilities' old shared paths (the one remaining hit on
/docs/render/guides/specs belongs to spec-rendering, the primary
sibling, and is unaffected).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* fix(examples): mirror the moved capabilities' docs paths in the Angular descriptors
The Python siblings for the six capabilities that got their own docs
path (durable-execution, ag-ui tool-views/json-render/client-tools/
subagents, render repeat-loops) were updated, but each Angular
mirror in cockpit/*/*/angular/src/index.ts still carried the old
shared path. The Website drift guard
(apps/website/src/lib/cockpit-docs-links.spec.ts) scans every
cockpit/**/src/index.ts, so the Angular copies needed the same
update.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* chore(deployments): regenerate ag-ui-dev artifacts after the docs path move
deployments/ag-ui-dev/deps/** is a generated mirror of the
cockpit/ag-ui/*/python sources. The docsPath moves for tool-views,
json-render, client-tools, and subagents (plus the earlier prettier
reflow of two of those sources) left the generated copies stale,
which .github/workflows/deploy-ag-ui.yml would have caught post-merge
via `git diff --exit-code -- deployments/ag-ui-dev/`. Regenerated with
scripts/generate-ag-ui-deployment-config.ts.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* docs(plans): A3 also retires the workspace-only cases in the deploy smoke and wires cockpit-shell into CI
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* docs: give the six workspace-only capabilities their own guides
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* docs: correct the six new guides — accurate framing, descriptions, generative UI title
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* feat(website): retire the /workspace route; every capability is a docs page
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* fix(website): keep the docs index Run link honest after the resolver swap; drop dead workspace helpers
- resolveDocsWorkspace never returns null (a miss resolves docs-only), so
the docs index's Run href guard is now gated on resolution.kind ===
'mapped' instead of a dead null check, moved into a lib module with a
unit test that would have caught the regression
- drop dead ?? fallbacks on the now-nonnullable WorkspaceIdentity.docsPath
in workspace-presentation.ts
- delete the unused getWebsiteWorkspaceHref helper
- fix WebsiteWorkspace.spec.tsx tests that override docsSlot: undefined
even though the docs route they model always supplies a slot
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* docs(plans): Part C also removes resolveWorkspacePath and workspacePath; docsPath is non-nullable
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>1 parent 609d334 commit 0cffb70
50 files changed
Lines changed: 1971 additions & 676 deletions
File tree
- .github/workflows
- apps
- cockpit
- scripts
- src/lib
- website
- content/docs
- ag-ui/guides
- langgraph/guides
- render/guides
- e2e
- src
- app
- docs
- workspace/[product]/[topic]
- components/workspace
- lib
- cockpit
- ag-ui
- client-tools
- angular/src
- python/src
- json-render
- angular/src
- python/src
- subagents
- angular/src
- python/src
- tool-views
- angular/src
- python/src
- langgraph/durable-execution
- angular/src
- python/src
- render/repeat-loops
- angular/src
- python/src
- deployments/ag-ui-dev/deps
- client_tools/src
- json_render/src
- subagents/src
- tool_views/src
- docs/superpowers
- plans
- specs
- libs
- cockpit-registry/src/lib
- cockpit-shell/src/lib
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 131 | | |
139 | 132 | | |
140 | 133 | | |
| |||
201 | 194 | | |
202 | 195 | | |
203 | 196 | | |
204 | | - | |
205 | 197 | | |
206 | 198 | | |
207 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | 239 | | |
254 | 240 | | |
255 | 241 | | |
| |||
285 | 271 | | |
286 | 272 | | |
287 | 273 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
| 274 | + | |
| 275 | + | |
295 | 276 | | |
296 | 277 | | |
297 | 278 | | |
| |||
300 | 281 | | |
301 | 282 | | |
302 | 283 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | 284 | | |
309 | 285 | | |
310 | 286 | | |
| |||
442 | 418 | | |
443 | 419 | | |
444 | 420 | | |
445 | | - | |
446 | | - | |
447 | | - | |
| 421 | + | |
448 | 422 | | |
449 | 423 | | |
450 | 424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
| 273 | + | |
| 274 | + | |
278 | 275 | | |
279 | 276 | | |
280 | 277 | | |
| |||
284 | 281 | | |
285 | 282 | | |
286 | 283 | | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | 284 | | |
296 | 285 | | |
297 | 286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments