diff --git a/apps/cockpit/src/lib/route-resolution.spec.ts b/apps/cockpit/src/lib/route-resolution.spec.ts index 5d77fff7..5a5e65dd 100644 --- a/apps/cockpit/src/lib/route-resolution.spec.ts +++ b/apps/cockpit/src/lib/route-resolution.spec.ts @@ -47,7 +47,7 @@ describe('buildNavigationTree', () => { it('groups manifest entries by product and section', () => { const tree = buildNavigationTree(cockpitManifest); - expect(tree).toHaveLength(4); + expect(tree).toHaveLength(5); expect(tree[0]).toMatchObject({ product: 'deep-agents', }); @@ -55,9 +55,12 @@ describe('buildNavigationTree', () => { product: 'langgraph', }); expect(tree[2]).toMatchObject({ - product: 'render', + product: 'ag-ui', }); expect(tree[3]).toMatchObject({ + product: 'render', + }); + expect(tree[4]).toMatchObject({ product: 'chat', }); }); diff --git a/apps/cockpit/src/lib/route-resolution.ts b/apps/cockpit/src/lib/route-resolution.ts index f8d78834..d57c0cb1 100644 --- a/apps/cockpit/src/lib/route-resolution.ts +++ b/apps/cockpit/src/lib/route-resolution.ts @@ -11,6 +11,8 @@ import { langgraphDurableExecutionPythonModule } from '../../../../cockpit/langg import { langgraphSubgraphsPythonModule } from '../../../../cockpit/langgraph/subgraphs/python/src/index'; import { langgraphTimeTravelPythonModule } from '../../../../cockpit/langgraph/time-travel/python/src/index'; import { langgraphDeploymentRuntimePythonModule } from '../../../../cockpit/langgraph/deployment-runtime/python/src/index'; +import { agUiInterruptsPythonModule } from '../../../../cockpit/ag-ui/interrupts/python/src/index'; +import { agUiStreamingPythonModule } from '../../../../cockpit/ag-ui/streaming/python/src/index'; import { deepAgentsMemoryPythonModule } from '../../../../cockpit/deep-agents/memory/python/src/index'; import { deepAgentsPlanningPythonModule } from '../../../../cockpit/deep-agents/planning/python/src/index'; import { deepAgentsFilesystemPythonModule } from '../../../../cockpit/deep-agents/filesystem/python/src/index'; @@ -81,6 +83,8 @@ const capabilityModules = [ langgraphSubgraphsPythonModule, langgraphTimeTravelPythonModule, langgraphDeploymentRuntimePythonModule, + agUiInterruptsPythonModule, + agUiStreamingPythonModule, deepAgentsMemoryPythonModule, deepAgentsPlanningPythonModule, deepAgentsFilesystemPythonModule, @@ -169,7 +173,7 @@ export const resolveCockpitEntry = ({ export const buildNavigationTree = ( manifest: CockpitManifestEntry[] ): NavigationProduct[] => { - const products: CockpitManifestEntry['product'][] = ['deep-agents', 'langgraph', 'render', 'chat']; + const products: CockpitManifestEntry['product'][] = ['deep-agents', 'langgraph', 'ag-ui', 'render', 'chat']; const sections: CockpitManifestEntry['section'][] = [ 'getting-started', 'core-capabilities',