Commit 00952e5
feat(cockpit-registry): add ag-ui product type + register ag-ui-streaming demo (#450)
* docs: ag-ui demo capability-registry integration design
Thread A of Task #2 (rename + structural-consistency sweep). Registers
the existing cockpit-ag-ui-streaming-angular cap in
apps/cockpit/scripts/capability-registry.ts. Schema makes pythonDir +
graphName optional to accommodate ag-ui's in-process FakeAgent
architecture. Two consumer guards: deploy script skips no-Python caps;
e2e-wiring spec guards its pythonDir checks.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs: ag-ui registry integration implementation plan
5 tasks (3 code commits + 1 verification + 1 orchestrator). Each
code commit touches one file; verification covers manifest count,
build, test target, and 4 aimock e2es.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* feat(cockpit-registry): add ag-ui product type + ag-ui-streaming entry
Schema change: pythonDir and graphName become optional to accommodate
caps without a Python backend. Adds 'ag-ui' to the product union and
registers the existing cockpit-ag-ui-streaming-angular cap (uses
FakeAgent in-process; no LangSmith deployment).
Two downstream consumers need guards (separate commits):
- scripts/generate-shared-deployment-config.ts (skip when no pythonDir)
- apps/cockpit/cockpit-e2e-wiring.spec.ts (guard pythonDir check)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix(deploy): skip caps without pythonDir in shared-deploy manifest
Per the schema change in the prior commit, pythonDir is now optional.
ag-ui caps (in-process FakeAgent) and any future no-Python caps need
to be skipped — they have no langgraph.json to stage and contribute
no graphs to the shared-dev deployment.
Manifest graph count unchanged (32 graphs).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* test(cockpit-e2e-wiring): guard pythonDir check for no-Python caps
Per the registry schema change two commits prior, pythonDir is now
optional. The e2e-wiring spec compares capability.pythonDir against
the per-cap e2e harness's langgraphCwd; caps without pythonDir (ag-ui)
don't have an e2e harness either, so the check should skip rather
than fail comparing undefined to a path string.
Mirrors the existing pythonPort guard pattern (already wrapped in
!== undefined).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix(cockpit-scripts): guard pythonDir/graphName for no-Python caps
Two consumers missed in PR #450's pre-flight grep (which used
`capability.pythonDir` pattern but missed `c.pythonDir`/`cap.pythonDir`):
- apps/cockpit/scripts/generate-combined-langgraph.ts: TypeScript error
using `c.graphName` (undefined for ag-ui) as object index
- apps/cockpit/scripts/serve-example.ts: would spawn `cd undefined && uv
run langgraph dev` for ag-ui-streaming
Both now skip cleanly when pythonDir is absent.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e1fa045 commit 00952e5
7 files changed
Lines changed: 691 additions & 6 deletions
File tree
- apps/cockpit
- scripts
- docs/superpowers
- plans
- specs
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
41 | 46 | | |
0 commit comments