create-aixyz-app 0.16.0 → 0.18.0

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.
package/dist/index.js CHANGED
@@ -3393,7 +3393,7 @@ var envContent = openaiApiKey ? `OPENAI_API_KEY=${openaiApiKey}
3393
3393
  ` : `OPENAI_API_KEY=
3394
3394
  `;
3395
3395
  writeFileSync2(join(targetDir, ".env.local"), envContent);
3396
- var filesToReplace = ["package.json", "aixyz.config.ts"];
3396
+ var filesToReplace = ["package.json", "aixyz.config.ts", "README.md"];
3397
3397
  for (const file of filesToReplace) {
3398
3398
  const filePath = join(targetDir, file);
3399
3399
  if (existsSync(filePath)) {
@@ -3416,13 +3416,13 @@ if (!opts.install) {
3416
3416
  s.stop("Failed to install dependencies. You can run `bun install` manually.");
3417
3417
  }
3418
3418
  }
3419
+ Ve([`cd ${pkgName}`, openaiApiKey ? "" : "Set OPENAI_API_KEY in .env.local", "bun run dev"].filter(Boolean).join(`
3420
+ `), "Next steps");
3421
+ Ve("aixyz erc-8004 register", "To register ERC-8004: Agent Identity");
3422
+ Le(`Success! Created ${agentName} at ./${pkgName}`);
3419
3423
  if (packageManager !== "bun" && packageManager !== "unknown") {
3420
3424
  R2.warn("");
3421
3425
  R2.error(`⚠️ You are using ${packageManager}, but this project requires Bun.`);
3422
3426
  R2.error(" Please use Bun for this project: https://bun.sh");
3423
3427
  R2.warn("");
3424
3428
  }
3425
- Ve([`cd ${pkgName}`, openaiApiKey ? "" : "Set OPENAI_API_KEY in .env.local", "bun run dev"].filter(Boolean).join(`
3426
- `), "Next steps");
3427
- Ve("aixyz erc-8004 register", "To register ERC-8004: Agent Identity");
3428
- Le(`Success! Created ${agentName} at ./${pkgName}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-aixyz-app",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "description": "Payment-native SDK for AI Agent",
5
5
  "keywords": [
6
6
  "ai",
@@ -34,7 +34,7 @@
34
34
  "@types/bun": "^1.3.9",
35
35
  "@types/node": "^22",
36
36
  "ai": "^6",
37
- "aixyz": "0.16.0",
37
+ "aixyz": "0.18.0",
38
38
  "typescript": "^5",
39
39
  "zod": "^4"
40
40
  }
@@ -0,0 +1,39 @@
1
+ # {{AGENT_NAME}}
2
+
3
+ This is an [aixyz](https://github.com/AgentlyHQ/aixyz) agent project bootstrapped with [`create-aixyz-app`](https://github.com/AgentlyHQ/aixyz/tree/main/packages/create-aixyz-app).
4
+
5
+ ## Getting Started
6
+
7
+ First, add your OpenAI API key to `.env.local`:
8
+
9
+ ```bash
10
+ OPENAI_API_KEY=sk-...
11
+ ```
12
+
13
+ Then, run the development server:
14
+
15
+ ```bash
16
+ bun run dev
17
+ ```
18
+
19
+ Open [http://localhost:3000/.well-known/agent-card.json](http://localhost:3000/.well-known/agent-card.json) to see the agent card.
20
+
21
+ You can start editing the agent by modifying `app/agent.ts`. The server hot-reloads as you edit the file.
22
+
23
+ ## Learn More
24
+
25
+ To learn more about aixyz, take a look at the following resources:
26
+
27
+ - [aixyz Documentation](https://aixyz.sh) — learn about aixyz features and API.
28
+ - [GitHub Repository](https://github.com/AgentlyHQ/aixyz) — source, issues, and examples.
29
+
30
+ ## Deploy
31
+
32
+ Deploy your agent with [Vercel](https://vercel.com):
33
+
34
+ ```bash
35
+ bun run build
36
+ vercel
37
+ ```
38
+
39
+ Check out the [aixyz deployment documentation](https://aixyz.sh/getting-started/deploying) for more details.
@@ -8,7 +8,7 @@
8
8
  "dependencies": {
9
9
  "@ai-sdk/openai": "^3",
10
10
  "ai": "^6",
11
- "aixyz": "0.16.0",
11
+ "aixyz": "0.18.0",
12
12
  "zod": "^4"
13
13
  },
14
14
  "devDependencies": {