Skip to content

Commit e9ec603

Browse files
committed
Add a2a middleware to prep and run dojo everything
1 parent a9e0fa6 commit e9ec603

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

typescript-sdk/apps/dojo/scripts/prep-dojo-everything.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ const ALL_TARGETS = {
103103
name: 'ADK Middleware',
104104
cwd: path.join(integrationsRoot, 'adk-middleware/python/examples'),
105105
},
106+
'a2a-middleware': {
107+
command: 'uv sync',
108+
name: 'A2A Middleware',
109+
cwd: path.join(integrationsRoot, 'a2a-middleware/examples'),
110+
},
106111
'dojo': {
107112
command: 'pnpm install --no-frozen-lockfile && pnpm build --filter=demo-viewer...',
108113
name: 'Dojo',

typescript-sdk/apps/dojo/scripts/run-dojo-everything.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,30 @@ const ALL_SERVICES = {
116116
cwd: path.join(integrationsRoot, 'adk-middleware/python/examples'),
117117
env: { PORT: 8010 },
118118
}],
119+
'a2a-middleware': [{
120+
command: 'uv run buildings_management.py',
121+
name: 'A2A Middleware: Buildings Management',
122+
cwd: path.join(integrationsRoot, 'a2a-middleware/examples'),
123+
env: { PORT: 8011 },
124+
},
125+
{
126+
command: 'uv run finance.py',
127+
name: 'A2A Middleware: Finance',
128+
cwd: path.join(integrationsRoot, 'a2a-middleware/examples'),
129+
env: { PORT: 8012 },
130+
},
131+
{
132+
command: 'uv run it.py',
133+
name: 'A2A Middleware: IT',
134+
cwd: path.join(integrationsRoot, 'a2a-middleware/examples'),
135+
env: { PORT: 8013 },
136+
},
137+
{
138+
command: 'uv run orchestrator.py',
139+
name: 'A2A Middleware: Orchestrator',
140+
cwd: path.join(integrationsRoot, 'a2a-middleware/examples'),
141+
env: { PORT: 8014 },
142+
}],
119143
'dojo': [{
120144
command: 'pnpm run start',
121145
name: 'Dojo',
@@ -133,6 +157,10 @@ const ALL_SERVICES = {
133157
MASTRA_URL: 'http://localhost:8008',
134158
PYDANTIC_AI_URL: 'http://localhost:8009',
135159
ADK_MIDDLEWARE_URL: 'http://localhost:8010',
160+
A2A_MIDDLEWARE_BUILDINGS_MANAGEMENT_URL: 'http://localhost:8011',
161+
A2A_MIDDLEWARE_FINANCE_URL: 'http://localhost:8012',
162+
A2A_MIDDLEWARE_IT_URL: 'http://localhost:8013',
163+
A2A_MIDDLEWARE_ORCHESTRATOR_URL: 'http://localhost:8014',
136164
NEXT_PUBLIC_CUSTOM_DOMAIN_TITLE: 'cpkdojo.local___CopilotKit Feature Viewer',
137165
},
138166
}],

0 commit comments

Comments
 (0)