create-agentuity 0.0.67 → 0.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -76,18 +76,18 @@ Runs TypeScript type checking
76
76
 
77
77
  After creating your project:
78
78
 
79
- 1. **Customize the example agent** - Edit `src/agents/hello/agent.ts`
80
- 2. **Add new agents** - Create new folders in `src/agents/`
81
- 3. **Add API routes** - Create new routes in `src/apis/`
79
+ 1. **Customize the example agent** - Edit `src/agent/hello/agent.ts`
80
+ 2. **Add new agents** - Create new folders in `src/agent/`
81
+ 3. **Add API routes** - Create new routes in `src/web/`
82
82
  4. **Customize the UI** - Edit `src/web/app.tsx`
83
83
  5. **Configure your app** - Modify `app.ts` to add middleware, configure services, etc.
84
84
 
85
85
  ## Creating Custom Agents
86
86
 
87
- Create a new agent by adding a folder in `src/agents/`:
87
+ Create a new agent by adding a folder in `src/agent/`:
88
88
 
89
89
  ```typescript
90
- // src/agents/my-agent/agent.ts
90
+ // src/agent/my-agent/agent.ts
91
91
  import { type AgentContext, createAgent } from '@agentuity/runtime';
92
92
  import { z } from 'zod';
93
93
 
@@ -113,10 +113,10 @@ export default agent;
113
113
 
114
114
  ## Adding API Routes
115
115
 
116
- Create custom routes in `src/apis/` or add routes to an agent folder:
116
+ Create custom routes in `src/web/` or add routes to an agent folder:
117
117
 
118
118
  ```typescript
119
- // src/agents/my-agent/route.ts
119
+ // src/agent/my-agent/route.ts
120
120
  import { createRouter } from '@agentuity/runtime';
121
121
  import { zValidator } from '@hono/zod-validator';
122
122
  import agent from './agent';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-agentuity",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Agentuity employees and contributors",
6
6
  "description": "Create a new Agentuity project",