Skip to content

Commit 897a518

Browse files
authored
Move recipes to community and delete 0.8 example. (#1677)
1 parent 9116361 commit 897a518

115 files changed

Lines changed: 3887 additions & 4264 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/community_code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ jobs:
6565
- uses: astral-sh/setup-uv@v8.2.0
6666
with:
6767
enable-cache: true
68-
- name: uv sync each agent under agent/adk
68+
- name: uv sync each agent under samples/community
6969
# These samples are runnable apps, not publishable packages (several use a
7070
# flat module layout with no wheel target), so --no-install-project verifies
7171
# that their dependencies resolve and install without building each as a wheel.
7272
run: |
7373
set -euo pipefail
74-
find samples/community/agent/adk -name pyproject.toml -print0 |
74+
find samples/community -name pyproject.toml -not -path "*/.venv/*" -not -path "*/node_modules/*" -print0 |
7575
while IFS= read -r -d '' manifest; do
7676
dir="$(dirname "$manifest")"
7777
echo "::group::uv sync $dir"

.github/workflows/web_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ permissions:
4545
env:
4646
RENDERERS_INC: "--include 'renderers/**'"
4747
TOOLS_INC: "--include 'tools/**'"
48-
SAMPLES_INC: "--include 'samples/client/**' --include 'samples/mcp/**'"
48+
SAMPLES_INC: "--include 'samples/client/**'"
4949

5050
jobs:
5151
ci-renderers:

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ samples/client/angular/projects/mcp_calculator/public/mcp_apps_inner_iframe/
3333
.yarn/cache
3434

3535
## Generated files for a2ui-in-mcpapps
36-
samples/mcp/a2ui-in-mcpapps/server/apps/dist
37-
samples/mcp/a2ui-in-mcpapps/server/apps/public
36+
samples/community/mcp/a2ui-in-mcpapps/server/apps/dist
37+
samples/community/mcp/a2ui-in-mcpapps/server/apps/public
3838

3939
# Vite cache
4040
.vite/

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
"samples/client/lit/*",
1414
"samples/client/react/*",
1515
"samples/personalized_learning",
16-
"samples/mcp/*",
17-
"samples/mcp/*/client",
18-
"samples/mcp/*/apps/src",
19-
"samples/mcp/a2ui-in-mcpapps/server/apps/*",
2016
"specification/*/eval",
2117
"specification/*/test",
2218
"tools/*",

samples/community/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,3 @@ rather than on the monorepo workspace, and the folder carries its own
1313
`orchestrator`) and Lit (`mcp-apps-in-a2ui-sample`, `personalized_learning`)
1414
samples.
1515
- **python**`uv sync` for each agent under `agent/adk`.
16-
17-
### Not built
18-
19-
`client/angular/projects/mcp_calculator` is excluded from the build: it imports
20-
the renderer's internal v0.8 source (`Renderer` from `@a2ui/angular`'s
21-
`src/v0_8`), which the published package does not expose. Building it standalone
22-
would require vendoring the renderer source.

samples/community/client/angular/angular.json

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -93,77 +93,6 @@
9393
"defaultConfiguration": "development"
9494
}
9595
}
96-
},
97-
"mcp_calculator": {
98-
"projectType": "application",
99-
"schematics": {
100-
"@schematics/angular:component": {
101-
"style": "scss",
102-
"skipTests": true
103-
}
104-
},
105-
"root": "projects/mcp_calculator",
106-
"sourceRoot": "projects/mcp_calculator/src",
107-
"prefix": "app",
108-
"architect": {
109-
"build": {
110-
"builder": "@angular/build:application",
111-
"options": {
112-
"outputPath": "projects/mcp_calculator/dist",
113-
"browser": "projects/mcp_calculator/src/main.ts",
114-
"tsConfig": "projects/mcp_calculator/tsconfig.app.json",
115-
"preserveSymlinks": true,
116-
"inlineStyleLanguage": "scss",
117-
"assets": [
118-
{
119-
"glob": "**/*",
120-
"input": "projects/mcp_calculator/public"
121-
}
122-
],
123-
"styles": ["projects/mcp_calculator/src/styles.scss"],
124-
"server": "projects/mcp_calculator/src/main.server.ts",
125-
"outputMode": "server",
126-
"ssr": {
127-
"entry": "projects/mcp_calculator/src/server.ts"
128-
}
129-
},
130-
"configurations": {
131-
"production": {
132-
"budgets": [
133-
{
134-
"type": "initial",
135-
"maximumWarning": "1.5MB",
136-
"maximumError": "2.5MB"
137-
},
138-
{
139-
"type": "anyComponentStyle",
140-
"maximumWarning": "4kB",
141-
"maximumError": "8kB"
142-
}
143-
],
144-
"outputHashing": "all"
145-
},
146-
"development": {
147-
"optimization": false,
148-
"extractLicenses": false,
149-
"sourceMap": true
150-
}
151-
},
152-
"defaultConfiguration": "production"
153-
},
154-
"serve": {
155-
"builder": "@angular/build:dev-server",
156-
"configurations": {
157-
"production": {
158-
"buildTarget": "mcp_calculator:build:production"
159-
},
160-
"development": {
161-
"buildTarget": "mcp_calculator:build:development"
162-
}
163-
},
164-
"defaultConfiguration": "development"
165-
}
166-
}
16796
}
16897
},
16998
"cli": {

samples/community/client/angular/projects/mcp_calculator/README.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

samples/community/client/angular/projects/mcp_calculator/package.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

samples/community/client/angular/projects/mcp_calculator/public/gemini-color.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

samples/community/client/angular/projects/mcp_calculator/src/a2ui-catalog/catalog.ts

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)