Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/check-generated-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Check Generated Files

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
check-files-json:
name: Check files.json
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Regenerate files.json
working-directory: typescript-sdk/apps/dojo
run: npm run generate-content-json

- name: Check files.json
working-directory: typescript-sdk/apps/dojo
run: |
if git diff --exit-code src/files.json > /dev/null; then
echo "✅ No changes detected in dojo/src/files.json. Everything is up to date."
else
echo "❌ Detected changes in dojo/src/files.json."
echo ""
echo "Please run \`(p)npm run generate-content-json\` in the typescript-sdk/apps/dojo folder and commit the changes."
echo ""
echo "The detected diff was as follows:"
echo "::group::Diff for dojo/src/files.json"
git diff src/files.json
echo "::endgroup::"
exit 1
fi
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode/
2 changes: 1 addition & 1 deletion typescript-sdk/apps/dojo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "npm run generate-content-json && next start",
"lint": "next lint",
"mastra:dev": "mastra dev",
"generate-content-json": "tsx scripts/generate-content-json.ts"
"generate-content-json": "npx tsx scripts/generate-content-json.ts"
},
"dependencies": {
"@ag-ui/agno": "workspace:*",
Expand Down
32 changes: 16 additions & 16 deletions typescript-sdk/apps/dojo/src/files.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions typescript-sdk/integrations/langgraph/examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# LangGraph API
.langgraph_api
uv.lock