Files
Alem Tuzlak 1ec575ea02 feat(showcase/ag2): port auth, agent-config, voice, multimodal, byoc-hashbrown, byoc-json-render
Adds 6 missing demos to the AG2 integration:

- auth: V2 runtime onRequest hook gates requests via Bearer token; AG2
  default agent backs the authenticated path.
- agent-config: Typed tone/expertise/responseLength config forwarded via
  agent.setState into AG2 ContextVariables; agent reads via a
  get_current_config tool before each reply.
- voice: V2 runtime + TranscriptionServiceOpenAI + sample audio button;
  guarded for missing OPENAI_API_KEY.
- multimodal: Dedicated gpt-4o AG2 ConversableAgent with image + PDF
  attachment support; sample-attachment buttons inject bundled samples.
- byoc-hashbrown: AG2 agent emits hashbrown-shaped JSON for
  @hashbrownai/react useUiKit + useJsonParser; sales dashboard catalog.
- byoc-json-render: AG2 agent emits flat root/elements JSON spec for
  @json-render/react Renderer; identical sales catalog for parity.

Adds @copilotkit/voice, @json-render/core, @json-render/react, openai
JS deps; pypdf and openai Python deps. Bundles demo-audio + demo-files
public assets and updates manifest features + demos.
2026-04-29 11:25:19 +02:00

40 lines
1.1 KiB
JSON

{
"name": "@copilotkit/showcase-ag2",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "concurrently \"next dev --turbopack\" \"PYTHONPATH=. python -m uvicorn agent_server:app --host 0.0.0.0 --port 8000 --reload\"",
"build": "next build",
"start": "next start",
"lint": "next lint",
"test:e2e": "playwright test"
},
"dependencies": {
"@ag-ui/client": "^0.0.43",
"@copilotkit/a2ui-renderer": "next",
"@copilotkit/react-core": "next",
"@copilotkit/runtime": "next",
"@copilotkit/voice": "next",
"@hashbrownai/core": "0.5.0-beta.4",
"@hashbrownai/react": "0.5.0-beta.4",
"@json-render/core": "0.18.0",
"@json-render/react": "0.18.0",
"next": "^15.5.15",
"openai": "^5.9.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"recharts": "^2.15.0",
"zod": "^3.24.0"
},
"devDependencies": {
"@playwright/test": "^1.50.0",
"@tailwindcss/postcss": "^4.0.0",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"concurrently": "^9.1.0",
"postcss": "^8.5.0",
"tailwindcss": "^4.0.0",
"typescript": "^5.7.0"
}
}