Skip to content

Commit 41e57ed

Browse files
committed
fix: remove .bat fallback pattern, fix README typos and phantom scripts
- Remove '|| .bat' fallback from all starter package.json scripts so real errors on Linux/macOS are not masked by a failing .bat attempt - Fix typos: 'isseus' -> 'issues', 'interactin' -> 'interacting' - Fix crewai-crews README title/body saying 'Flow' instead of 'Crew' - Fix a2a-a2ui README wrong agent name and file path - Remove phantom lint/dev:debug scripts from README Available Scripts sections where those scripts don't exist in package.json - Add missing dev:ui and dev:agent to mastra README
1 parent 0d4b887 commit 41e57ed

22 files changed

Lines changed: 36 additions & 47 deletions

File tree

examples/integrations/a2a-a2ui/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ bun install
3636

3737
> **Note:** This will automatically setup the Python environment as well.
3838
>
39-
> If you have manual isseus, you can run:
39+
> If you have manual issues, you can run:
4040
>
4141
> ```sh
4242
> npm run install:agent
@@ -75,15 +75,14 @@ The following scripts can also be run using your preferred package manager:
7575
- `dev` - Starts both UI and agent servers in development mode
7676
- `dev:debug` - Starts development servers with debug logging enabled
7777
- `dev:ui` - Starts only the Next.js UI server
78-
- `dev:agent` - Starts only the PydanticAI agent server
78+
- `dev:agent` - Starts only the A2A agent server
7979
- `build` - Builds the Next.js application for production
8080
- `start` - Starts the production server
81-
- `lint` - Runs ESLint for code linting
8281
- `install:agent` - Installs Python dependencies for the agent
8382

8483
## Documentation
8584

86-
The main UI component is in `src/app/page.tsx`, but most of the UI comes from from the agent in the form of A2UI declarative components. To see and edit the components it can generate, look in `agent/prompt_builder.py`.
85+
The main UI component is in `app/page.tsx`, but most of the UI comes from from the agent in the form of A2UI declarative components. To see and edit the components it can generate, look in `agent/prompt_builder.py`.
8786
To generate new components, try the [A2UI Composer](https://a2ui-editor.ag-ui.com)
8887

8988
## 📚 Documentation

examples/integrations/a2a-a2ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"scripts": {
77
"dev": "concurrently \"npm run dev:ui\" \"npm run dev:agent\" --names ui,agent --prefix-colors blue,green --kill-others",
88
"dev:debug": "LOG_LEVEL=debug npm run dev",
9-
"dev:agent": "./scripts/run-agent.sh || scripts/run-agent.bat",
9+
"dev:agent": "./scripts/run-agent.sh",
1010
"dev:ui": "next dev --turbopack",
1111
"build": "next build",
1212
"start": "next start",
13-
"install:agent": "./scripts/setup-agent.sh || scripts\\setup-agent.bat",
13+
"install:agent": "./scripts/setup-agent.sh",
1414
"postinstall": "npm run install:agent"
1515
},
1616
"dependencies": {

examples/integrations/adk/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ The following scripts can also be run using your preferred package manager:
8989
- `dev:agent` - Starts only the ADK agent server
9090
- `build` - Builds the Next.js application for production
9191
- `start` - Starts the production server
92-
- `lint` - Runs ESLint for code linting
9392
- `install:agent` - Installs Python dependencies for the agent
9493

9594
## Documentation

examples/integrations/adk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"scripts": {
66
"dev": "concurrently \"npm run dev:ui\" \"npm run dev:agent\" --names ui,agent --prefix-colors blue,green --kill-others",
77
"dev:debug": "LOG_LEVEL=debug npm run dev",
8-
"dev:agent": "./scripts/run-agent.sh || scripts/run-agent.bat",
8+
"dev:agent": "./scripts/run-agent.sh",
99
"dev:ui": "next dev --turbopack",
1010
"build": "next build",
1111
"start": "next start",
12-
"install:agent": "./scripts/setup-agent.sh || scripts\\setup-agent.bat",
12+
"install:agent": "./scripts/setup-agent.sh",
1313
"postinstall": "npm run install:agent"
1414
},
1515
"dependencies": {

examples/integrations/agent-spec/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ You can run these with any package manager:
105105
- `dev:agent` - Starts only the Agent Spec FastAPI server
106106
- `build` - Builds the Next.js application for production
107107
- `start` - Starts the production server
108-
- `lint` - Runs ESLint for code linting
109108
- `install:agent` - Installs Python dependencies for the agent
110109
111110
## Documentation

examples/integrations/agno/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,10 @@ This will start both the UI and agent servers concurrently.
6868
The following scripts can also be run using your preferred package manager:
6969

7070
- `dev` - Starts both UI and agent servers in development mode
71-
- `dev:debug` - Starts development servers with debug logging enabled
7271
- `dev:ui` - Starts only the Next.js UI server
7372
- `dev:agent` - Starts only the Agno agent server
7473
- `build` - Builds the Next.js application for production
7574
- `start` - Starts the production server
76-
- `lint` - Runs ESLint for code linting
7775
- `install:agent` - Installs Python dependencies for the agent
7876

7977
## 📚 Documentation

examples/integrations/agno/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"private": true,
55
"scripts": {
66
"dev": "concurrently \"npm run dev:ui\" \"npm run dev:agent\" --names ui,agent --prefix-colors blue,green --kill-others",
7-
"dev:agent": "./scripts/run-agent.sh || scripts\\run-agent.bat",
7+
"dev:agent": "./scripts/run-agent.sh",
88
"dev:ui": "next dev",
99
"build": "next build",
1010
"start": "next start",
11-
"install:agent": "./scripts/setup-agent.sh || scripts\\setup-agent.bat",
11+
"install:agent": "./scripts/setup-agent.sh",
1212
"postinstall": "npm run install:agent"
1313
},
1414
"dependencies": {

examples/integrations/crewai-crews/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# CopilotKit <> CrewAI Flow Starter
1+
# CopilotKit <> CrewAI Crew Starter
22

3-
This is a starter template for building AI agents using [CrewAI Flows](https://docs.crewai.com/en/concepts/flows) and [CopilotKit](https://copilotkit.ai). It provides a modern Next.js application with an integrated CrewAI Flow agent to be built on top of.
3+
This is a starter template for building AI agents using [CrewAI Crews](https://docs.crewai.com/en/concepts/crews) and [CopilotKit](https://copilotkit.ai). It provides a modern Next.js application with an integrated CrewAI Crew agent to be built on top of.
44

55
## Prerequisites
66

@@ -11,7 +11,7 @@ This is a starter template for building AI agents using [CrewAI Flows](https://d
1111
- [pnpm](https://pnpm.io/installation)
1212
- [yarn](https://classic.yarnpkg.com/lang/en/docs/install/)
1313
- [bun](https://bun.sh/)
14-
- OpenAI API Key (for the CrewAI Flow agent)
14+
- OpenAI API Key (for the CrewAI Crew agent)
1515

1616
## Getting Started
1717

@@ -63,9 +63,8 @@ This will start both the UI and agent servers concurrently.
6363
The following scripts can also be run using your preferred package manager:
6464

6565
- `dev` - Starts both UI and agent servers in development mode
66-
- `dev:debug` - Starts development servers with debug logging enabled
6766
- `dev:ui` - Starts only the Next.js UI server
68-
- `dev:agent` - Starts only the CrewAI Flow agent server
67+
- `dev:agent` - Starts only the CrewAI Crew agent server
6968
- `build` - Builds the Next.js application for production
7069
- `start` - Starts the production server
7170
- `lint` - Runs ESLint for code linting
@@ -78,12 +77,12 @@ The main UI component is in `src/app/page.tsx`. You can:
7877
- Modify the theme colors and styling
7978
- Add new frontend actions
8079
- Utilize shared-state
81-
- Customize your user-interface for interactin with CrewAI Flow
80+
- Customize your user-interface for interacting with CrewAI Crews
8281

8382
## 📚 Documentation
8483

8584
- [CopilotKit Documentation](https://docs.copilotkit.ai) - Explore CopilotKit's capabilities
86-
- [CrewAI Flow Documentation](https://docs.crewai.com/en/concepts/flows) - Learn more about CrewAI Flow and its features
85+
- [CrewAI Crews Documentation](https://docs.crewai.com/en/concepts/crews) - Learn more about CrewAI Crews and its features
8786
- [Next.js Documentation](https://nextjs.org/docs) - Learn about Next.js features and API
8887

8988
## Contributing
@@ -100,6 +99,6 @@ This project is licensed under the MIT License - see the LICENSE file for detail
10099

101100
If you see "I'm having trouble connecting to my tools", make sure:
102101

103-
1. The CrewAI Flow agent is running on port 8000
102+
1. The CrewAI Crew agent is running on port 8000
104103
2. Your OpenAI API key is set correctly
105104
3. Both servers started successfully

examples/integrations/crewai-crews/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"private": true,
55
"scripts": {
66
"dev": "concurrently \"npm run dev:ui\" \"npm run dev:agent\" --names ui,agent --prefix-colors blue,green --kill-others",
7-
"dev:agent": "./scripts/run-agent.sh || scripts\\run-agent.bat",
7+
"dev:agent": "./scripts/run-agent.sh",
88
"dev:ui": "next dev",
99
"build": "next build",
1010
"start": "next start",
1111
"lint": "next lint",
12-
"install:agent": "./scripts/setup-agent.sh || scripts\\setup-agent.bat",
12+
"install:agent": "./scripts/setup-agent.sh",
1313
"postinstall": "npm run install:agent"
1414
},
1515
"dependencies": {

examples/integrations/crewai-flows/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,10 @@ This will start both the UI and agent servers concurrently.
6464
The following scripts can also be run using your preferred package manager:
6565

6666
- `dev` - Starts both UI and agent servers in development mode
67-
- `dev:debug` - Starts development servers with debug logging enabled
6867
- `dev:ui` - Starts only the Next.js UI server
6968
- `dev:agent` - Starts only the CrewAI Flow agent server
7069
- `build` - Builds the Next.js application for production
7170
- `start` - Starts the production server
72-
- `lint` - Runs ESLint for code linting
7371
- `install:agent` - Installs Python dependencies for the agent using `uv`
7472

7573
## Documentation
@@ -79,7 +77,7 @@ The main UI component is in `src/app/page.tsx`. You can:
7977
- Modify the theme colors and styling
8078
- Add new frontend actions
8179
- Utilize shared-state
82-
- Customize your user-interface for interactin with CrewAI Flow
80+
- Customize your user-interface for interacting with CrewAI Flow
8381

8482
## 📚 Documentation
8583

0 commit comments

Comments
 (0)