Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

fix(templates): repair personal agent template deploy, sign-up, and db scripts (#5050)

Ben Pankow522223eee468
diff --git a/apps/templates/eve-chat-template/package.json b/apps/templates/eve-chat-template/package.json
index 8b873b24a..c2820fbb6 100644
--- a/apps/templates/eve-chat-template/package.json
+++ b/apps/templates/eve-chat-template/package.json
@@ -37,7 +37,7 @@
"@vercel/connect": "^2.4.0",
"@vercel/speed-insights": "2.0.0",
"ai": "7.0.128",
- "better-auth": "1.7.1",
+ "better-auth": "1.7.10",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"cmdk": "1.1.1",
diff --git a/apps/templates/eve-chat-template/pnpm-lock.yaml b/apps/templates/eve-chat-template/pnpm-lock.yaml
index bfe6af820..c2df5d887 100644
--- a/apps/templates/eve-chat-template/pnpm-lock.yaml
+++ b/apps/templates/eve-chat-template/pnpm-lock.yaml
@@ -43,7 +43,7 @@ importers:
'@vercel/connect':
specifier: ^2.4.0
'@vercel/speed-insights':
specifier: 2.0.0
@@ -51,8 +51,8 @@ importers:
specifier: 7.0.128
version: 7.0.128([email protected])
better-auth:
- specifier: 1.7.1
+ specifier: 1.7.10
class-variance-authority:
specifier: 0.7.1
version: 0.7.1
@@ -149,64 +149,61 @@ packages:
resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==}
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-eZ9lqcnVLMZ3QtUByRo4VZqkB1ESyRddd9NfWjBdDPgh+jcwLScoIUAqhtHLR8zaSUJZah8OLGlkzObyPdUH7A==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-c5vxtnk7UxWe/iF/X5sKSgmPcN5n6biuwJBs2dMkceMwvMWBHLosue6h/vmvKns9SYKbkBNWsurFe7yIbv13dQ==}
peerDependencies:
- '@better-auth/utils': 0.4.2
- '@better-fetch/fetch': 1.3.1
- '@cloudflare/workers-types': '>=4'
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
+ '@better-fetch/fetch': 1.3.2
'@opentelemetry/api': ^1.9.0
- better-call: 1.4.0
+ better-call: 1.4.2
jose: ^6.1.0
kysely: ^0.28.5 || ^0.29.0
nanostores: ^1.0.1
peerDependenciesMeta:
- '@cloudflare/workers-types':
- optional: true
'@opentelemetry/api':
optional: true
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-qlqNyg5V9bXHSP68/vtlsiZayhR4hgvEGiS/E3SIj8bCpWWFGmyQkxJbQCqpBmC7vT30wE/kNtJMHIgnV3rkiw==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-Uc/Eh9cnvorIWA6J97Hv8zjR8sCVUP6G7M3xHJGTD9qJXC69zoY4ULmNGA73AmGJB1q+VEYs2cRMtJ6fR6HP6g==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
drizzle-orm: ^0.45.2 || >=1.0.0-rc.1 <2.0.0
peerDependenciesMeta:
drizzle-orm:
optional: true
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-yWCpE1cZpMUj37nD6JFDK+GDR8zS37L5WI73il3qbU9TXtWsxUQKc/5c3IHsHizWQsmcQI8uv2pAFKxsRDa+AQ==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-ZWWc6h5lgcwQMTcqMLNWw+jTEMFfrqJHD+VamiCUdaAxZzVAkjLZzVA2r0vZ5w7xnTY9vWS7wuNVqAKNLRTlYQ==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
kysely: ^0.28.17 || ^0.29.0
peerDependenciesMeta:
kysely:
optional: true
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-6NX1yv88DeqdoG7owYFqKwlrDGaIPhsC52JUGrUgeGVKyOq8a/6hHlHsqG1C2FwT23SHQiKVYCEAG9N6aH5OvQ==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-3Di7y8BK5I2pCdpRaJ2ggkVliO/Swr6a/J+y9RFdwkbxhEMU1o9WD9IwoG3LFH8dvFF3kVo+GilsZsVNlYD+sw==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-9ILTcNqhG37QK//qR4UhYLyKzNqq6w6zVTf5KX6xkiTjNcV7Oh1yS31lkIJEVTqRNcy9AoV6FZMW6Bbsm8IMDA==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-7z48PlXtlSKGvdOXfVmbjZE1vRmYyOQqHiPbeLpw+NvAPSTI9N4r7OO47u2MebA3q25e3GoGEwk5BAEE07u+PQ==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
mongodb: ^6.0.0 || ^7.0.0
peerDependenciesMeta:
mongodb:
optional: true
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-ZiUcafQ85InAofcUjyGgCPjKLfQjXr9SvDmMjuFUW8oEbreA6C6GaFAEA77VuV2doZUQlzvQQ4gCoTmS28W92A==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-hNlhn0Kcq/O76SehvqznFsjqfEMdM2m2ctazU/BLv+jT8+hGvvxCInXZi6x86/xpAyDTgU7t7KsK50r6mdNR1g==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
'@prisma/client': ^5.0.0 || ^6.0.0 || ^7.0.0
prisma: ^5.0.0 || ^6.0.0 || ^7.0.0
peerDependenciesMeta:
@@ -215,15 +212,12 @@ packages:
prisma:
optional: true
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-kLKjMfFlTbyt49DGeI9okHAsn0MtBZcMoQYKaEdgR0H3BHzqqyzePcQz/hxAmRgjB4p/6inise3zJwhX0sgXrQ==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-1OamUtbGRaYHB0tRjKK3Jv6hzI6mZMv3pujkg8k7tr3idQuToMoVXsWAD9oFbUTmOLeix58n+grzsl7r0fR0Sw==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
- '@better-fetch/fetch': 1.3.1
-
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-AUxrvu+HaaODsUyzDxFgwd/8RZ1yZaYo42LXKSrU2oGgR38pS1ij8nqQKNgtTWoYGpNevNXtCfgTy6loHveW9A==}
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
+ '@better-fetch/fetch': 1.3.2
'@better-auth/[email protected]':
resolution: {integrity: sha512-BL8W4EfIZFwlu0r54m3v1ztjDhu6dDe/amLTm0xybmbZaNgYUqhD3SjpAsnq0q8YD6/ki4iwIgxJNLP/N3TxiA==}
@@ -231,6 +225,9 @@ packages:
'@better-fetch/[email protected]':
resolution: {integrity: sha512-ABkD1WhyfPZprKRQI3bhATjeiFuNWC9PXhfGWqL+sg/gKrM977oFrYkdb4msM3hgUGonr7KlOsOFT5TU2rht9g==}
+ '@better-fetch/[email protected]':
+ resolution: {integrity: sha512-Gs7n99b5tqUC6cQAPbV0uED3IraHB6xQbHLQ/C3l7ZFafHScOx9pQ+DYmP5blbLFShVWLqxNUlI9wi4xU/X+ow==}
+
'@braintree/[email protected]':
resolution: {integrity: sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==}
@@ -2563,15 +2560,14 @@ packages:
engines: {node: '>=6.0.0'}
hasBin: true
- resolution: {integrity: sha512-g8WlTQijxXWJjPVZfFu1+EJg9cwwHrKDmIkcYMzx8CzYA+tDxl6NI7qQbKkbgw5UtHILsT5VH+RMzFzwnVJqAg==}
+ resolution: {integrity: sha512-Paf0X8cHKQc8jCgM3vl4AoxRicWdNf0zw8Aggn1q6aNSWCDDxSZCb6rkXa/O9cPc8idjVPK0rV/eHPHAbs07ZA==}
peerDependencies:
'@lynx-js/react': '*'
'@prisma/client': ^5.0.0 || ^6.0.0 || ^7.0.0
- '@sveltejs/kit': ^2.0.0
+ '@sveltejs/kit': ^2.0.0 || ^3.0.0
'@tanstack/react-start': ^1.0.0
'@tanstack/solid-start': ^1.0.0
- better-sqlite3: ^12.0.0
drizzle-kit: '>=0.31.4 || >=1.0.0-beta.1'
drizzle-orm: ^0.45.2 || >=1.0.0-rc.1 <2.0.0
mongodb: ^6.0.0 || ^7.0.0
@@ -2583,7 +2579,7 @@ packages:
react-dom: ^18.0.0 || ^19.0.0
solid-js: ^1.0.0
svelte: ^4.0.0 || ^5.0.0
- vitest: ^2.0.0 || ^3.0.0 || ^4.0.0
+ vitest: ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0
vue: ^3.0.0
peerDependenciesMeta:
'@lynx-js/react':
@@ -2596,8 +2592,6 @@ packages:
optional: true
'@tanstack/solid-start':
optional: true
- better-sqlite3:
- optional: true
drizzle-kit:
optional: true
drizzle-orm:
@@ -2625,8 +2619,8 @@ packages:
vue:
optional: true
- resolution: {integrity: sha512-bBKOT4vv1kZLDgxVePdilk/Jwkn+dtRRsmi3DzHcDP+WnswyVl6dR59l2HEeP/0cB+bDoopASAesWDPIdd/zZA==}
+ resolution: {integrity: sha512-lOmFCTG1KcE60YWxoff2Wx0Fv7v7drP/fQTDYnhJUCdkA7V6QWXdLPUiMpOQCq7Fd0Ts3AkrRwD23xoiootlGA==}
peerDependencies:
zod: ^4.0.0
peerDependenciesMeta:
@@ -4097,6 +4091,9 @@ packages:
resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==}
+ resolution: {integrity: sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==}
+
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
@@ -4129,58 +4126,54 @@ snapshots:
package-manager-detector: 1.6.0
tinyexec: 1.2.4
dependencies:
- '@better-auth/utils': 0.4.2
- '@better-fetch/fetch': 1.3.1
+ '@better-auth/utils': 0.5.0
+ '@better-fetch/fetch': 1.3.2
'@opentelemetry/semantic-conventions': 1.43.0
'@standard-schema/spec': 1.1.0
- better-call: 1.4.0([email protected])
+ better-call: 1.4.2([email protected])
jose: 6.2.9
kysely: 0.29.5
nanostores: 1.5.1
- zod: 4.4.3
+ zod: 4.6.7
dependencies:
- '@better-auth/utils': 0.4.2
+ '@better-auth/utils': 0.5.0
optionalDependencies:
drizzle-orm: 0.45.2(@neondatabase/[email protected])(@types/[email protected])(@upstash/[email protected])([email protected])
dependencies:
- '@better-auth/utils': 0.4.2
+ '@better-auth/utils': 0.5.0
optionalDependencies:
kysely: 0.29.5
dependencies:
- '@better-auth/utils': 0.4.2
+ '@better-auth/utils': 0.5.0
dependencies:
- '@better-auth/utils': 0.4.2
+ '@better-auth/utils': 0.5.0
optionalDependencies:
mongodb: 7.3.0
- dependencies:
- '@better-auth/utils': 0.4.2
-
dependencies:
- '@better-auth/utils': 0.4.2
- '@better-fetch/fetch': 1.3.1
+ '@better-auth/utils': 0.5.0
- '@better-auth/[email protected]':
dependencies:
- '@noble/hashes': 2.3.0
+ '@better-auth/utils': 0.5.0
+ '@better-fetch/fetch': 1.3.2
'@better-auth/[email protected]':
dependencies:
@@ -4188,6 +4181,8 @@ snapshots:
'@better-fetch/[email protected]': {}
+ '@better-fetch/[email protected]': {}
+
'@braintree/[email protected]': {}
'@chevrotain/[email protected]': {}
@@ -6045,12 +6040,12 @@ snapshots:
dependencies:
execa: 5.1.1
dependencies:
'@vercel/oidc': 4.0.0
optionalDependencies:
ai: 7.0.128([email protected])
'@vercel/[email protected]': {}
@@ -6083,25 +6078,25 @@ snapshots:
dependencies:
- '@better-auth/memory-adapter': 1.7.1(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
- '@better-auth/prisma-adapter': 1.7.1(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
- '@better-auth/telemetry': 1.7.1(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])(@better-fetch/[email protected])
- '@better-auth/utils': 0.4.2
- '@better-fetch/fetch': 1.3.1
+ '@better-auth/memory-adapter': 1.7.10(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
+ '@better-auth/prisma-adapter': 1.7.10(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
+ '@better-auth/telemetry': 1.7.10(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])(@better-fetch/[email protected])
+ '@better-auth/utils': 0.5.0
+ '@better-fetch/fetch': 1.3.2
'@noble/ciphers': 2.3.0
'@noble/hashes': 2.3.0
- better-call: 1.4.0([email protected])
+ better-call: 1.4.2([email protected])
defu: 6.1.7
jose: 6.2.9
kysely: 0.29.5
nanostores: 1.5.1
- zod: 4.4.3
+ zod: 4.6.7
optionalDependencies:
drizzle-kit: 0.31.10
drizzle-orm: 0.45.2(@neondatabase/[email protected])(@types/[email protected])(@upstash/[email protected])([email protected])
@@ -6110,17 +6105,16 @@ snapshots:
react: 19.2.8
react-dom: 19.2.8([email protected])
transitivePeerDependencies:
- - '@cloudflare/workers-types'
- '@opentelemetry/api'
dependencies:
'@better-auth/utils': 0.5.0
'@better-fetch/fetch': 1.3.1
rou3: 0.9.2
set-cookie-parser: 3.1.2
optionalDependencies:
- zod: 4.4.3
+ zod: 4.6.7
optional: true
@@ -7985,4 +7979,6 @@ snapshots:
+
diff --git a/apps/templates/eve-chat-template/vercel.ts b/apps/templates/eve-chat-template/vercel.ts
index 53daf95f6..9ce3a87dd 100644
--- a/apps/templates/eve-chat-template/vercel.ts
+++ b/apps/templates/eve-chat-template/vercel.ts
@@ -2,7 +2,11 @@ import { withEve } from "eve/vercel";
export default await withEve({
services: {
- web: { framework: "nextjs", root: "apps/web" },
+ web: {
+ framework: "nextjs",
+ root: "apps/web",
+ buildCommand: "node ../../node_modules/next/dist/bin/next build",
+ },
},
routes: [{ src: "^(.*)$", destination: { type: "service", service: "web" } }],
});
diff --git a/apps/templates/eve-llm-council-template/vercel.ts b/apps/templates/eve-llm-council-template/vercel.ts
index 53daf95f6..9ce3a87dd 100644
--- a/apps/templates/eve-llm-council-template/vercel.ts
+++ b/apps/templates/eve-llm-council-template/vercel.ts
@@ -2,7 +2,11 @@ import { withEve } from "eve/vercel";
export default await withEve({
services: {
- web: { framework: "nextjs", root: "apps/web" },
+ web: {
+ framework: "nextjs",
+ root: "apps/web",
+ buildCommand: "node ../../node_modules/next/dist/bin/next build",
+ },
},
routes: [{ src: "^(.*)$", destination: { type: "service", service: "web" } }],
});
diff --git a/apps/templates/eve-voice-template/vercel.ts b/apps/templates/eve-voice-template/vercel.ts
index 53daf95f6..9ce3a87dd 100644
--- a/apps/templates/eve-voice-template/vercel.ts
+++ b/apps/templates/eve-voice-template/vercel.ts
@@ -2,7 +2,11 @@ import { withEve } from "eve/vercel";
export default await withEve({
services: {
- web: { framework: "nextjs", root: "apps/web" },
+ web: {
+ framework: "nextjs",
+ root: "apps/web",
+ buildCommand: "node ../../node_modules/next/dist/bin/next build",
+ },
},
routes: [{ src: "^(.*)$", destination: { type: "service", service: "web" } }],
});
diff --git a/apps/templates/personal-agent-template/AGENTS.md b/apps/templates/personal-agent-template/AGENTS.md
index 07e6e8533..6205b5bb2 100644
--- a/apps/templates/personal-agent-template/AGENTS.md
+++ b/apps/templates/personal-agent-template/AGENTS.md
@@ -10,6 +10,7 @@ Durable personal AI assistant built with Eve and Nuxt.
| `pnpm dev` | Start the Nuxt web app |
| `pnpm dev:all` | Start the local Vercel service graph |
| `pnpm build` | Production build |
+| `pnpm test:smoke` | Sign up against the production build |
| `pnpm typecheck` | TypeScript check |
| `pnpm db:generate` | Generate Drizzle migrations |
| `pnpm db:migrate` | Apply migrations |
diff --git a/apps/templates/personal-agent-template/package.json b/apps/templates/personal-agent-template/package.json
index ed7e96bc0..e5b2a17bf 100644
--- a/apps/templates/personal-agent-template/package.json
+++ b/apps/templates/personal-agent-template/package.json
@@ -24,9 +24,10 @@
"dev:all": "vercel dev --local",
"dev:web": "nuxt dev --cwd apps/web",
"start": "nuxt preview --cwd apps/web",
+ "test:smoke": "node scripts/smoke.mjs",
"typecheck": "nuxt typecheck --cwd apps/web",
- "db:generate": "nuxt db generate --cwd apps/web",
- "db:migrate": "nuxt db migrate --cwd apps/web"
+ "db:generate": "cd apps/web && nuxt db generate",
+ "db:migrate": "cd apps/web && nuxt db migrate"
},
"dependencies": {
"@comark/nuxt": "^0.6.2",
@@ -38,7 +39,7 @@
"@vercel/analytics": "^2.0.1",
"@vercel/connect": "^2.4.0",
"ai": "7.0.128",
- "better-auth": "^1.7.1",
+ "better-auth": "^1.7.10",
"chat": "^4.38.1",
"chat-adapter-sendblue": "^0.2.0",
"drizzle-kit": "^0.31.10",
diff --git a/apps/templates/personal-agent-template/pnpm-lock.yaml b/apps/templates/personal-agent-template/pnpm-lock.yaml
index 14315d60e..baf66b825 100644
--- a/apps/templates/personal-agent-template/pnpm-lock.yaml
+++ b/apps/templates/personal-agent-template/pnpm-lock.yaml
@@ -13,7 +13,7 @@ importers:
'@github-tools/sdk':
specifier: ^1.11.1
'@libsql/client':
specifier: ^0.17.4
version: 0.17.4
@@ -31,13 +31,13 @@ importers:
version: 2.0.1([email protected](99e75a557cede4926b71c8c93d703d06))([email protected])([email protected]([email protected]))
'@vercel/connect':
specifier: ^2.4.0
ai:
specifier: 7.0.128
version: 7.0.128([email protected])
better-auth:
- specifier: ^1.7.1
+ specifier: ^1.7.10
chat:
specifier: ^4.38.1
@@ -257,64 +257,61 @@ packages:
resolution: {integrity: sha512-eY+Yn3dCqTGmyiq2QRU66lA5FL8lqqqvecHt0fF3uHONIa7ToYsaCiWV8lOKqAs0Rb2SjixiKFROngnulPtt2g==}
engines: {node: ^22.18.0 || >=24.11.0}
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-eZ9lqcnVLMZ3QtUByRo4VZqkB1ESyRddd9NfWjBdDPgh+jcwLScoIUAqhtHLR8zaSUJZah8OLGlkzObyPdUH7A==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-c5vxtnk7UxWe/iF/X5sKSgmPcN5n6biuwJBs2dMkceMwvMWBHLosue6h/vmvKns9SYKbkBNWsurFe7yIbv13dQ==}
peerDependencies:
- '@better-auth/utils': 0.4.2
- '@better-fetch/fetch': 1.3.1
- '@cloudflare/workers-types': '>=4'
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
+ '@better-fetch/fetch': 1.3.2
'@opentelemetry/api': ^1.9.0
- better-call: 1.4.0
+ better-call: 1.4.2
jose: ^6.1.0
kysely: ^0.28.5 || ^0.29.0
nanostores: ^1.0.1
peerDependenciesMeta:
- '@cloudflare/workers-types':
- optional: true
'@opentelemetry/api':
optional: true
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-qlqNyg5V9bXHSP68/vtlsiZayhR4hgvEGiS/E3SIj8bCpWWFGmyQkxJbQCqpBmC7vT30wE/kNtJMHIgnV3rkiw==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-Uc/Eh9cnvorIWA6J97Hv8zjR8sCVUP6G7M3xHJGTD9qJXC69zoY4ULmNGA73AmGJB1q+VEYs2cRMtJ6fR6HP6g==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
drizzle-orm: ^0.45.2 || >=1.0.0-rc.1 <2.0.0
peerDependenciesMeta:
drizzle-orm:
optional: true
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-yWCpE1cZpMUj37nD6JFDK+GDR8zS37L5WI73il3qbU9TXtWsxUQKc/5c3IHsHizWQsmcQI8uv2pAFKxsRDa+AQ==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-ZWWc6h5lgcwQMTcqMLNWw+jTEMFfrqJHD+VamiCUdaAxZzVAkjLZzVA2r0vZ5w7xnTY9vWS7wuNVqAKNLRTlYQ==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
kysely: ^0.28.17 || ^0.29.0
peerDependenciesMeta:
kysely:
optional: true
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-6NX1yv88DeqdoG7owYFqKwlrDGaIPhsC52JUGrUgeGVKyOq8a/6hHlHsqG1C2FwT23SHQiKVYCEAG9N6aH5OvQ==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-3Di7y8BK5I2pCdpRaJ2ggkVliO/Swr6a/J+y9RFdwkbxhEMU1o9WD9IwoG3LFH8dvFF3kVo+GilsZsVNlYD+sw==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-9ILTcNqhG37QK//qR4UhYLyKzNqq6w6zVTf5KX6xkiTjNcV7Oh1yS31lkIJEVTqRNcy9AoV6FZMW6Bbsm8IMDA==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-7z48PlXtlSKGvdOXfVmbjZE1vRmYyOQqHiPbeLpw+NvAPSTI9N4r7OO47u2MebA3q25e3GoGEwk5BAEE07u+PQ==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
mongodb: ^6.0.0 || ^7.0.0
peerDependenciesMeta:
mongodb:
optional: true
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-ZiUcafQ85InAofcUjyGgCPjKLfQjXr9SvDmMjuFUW8oEbreA6C6GaFAEA77VuV2doZUQlzvQQ4gCoTmS28W92A==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-hNlhn0Kcq/O76SehvqznFsjqfEMdM2m2ctazU/BLv+jT8+hGvvxCInXZi6x86/xpAyDTgU7t7KsK50r6mdNR1g==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
'@prisma/client': ^5.0.0 || ^6.0.0 || ^7.0.0
prisma: ^5.0.0 || ^6.0.0 || ^7.0.0
peerDependenciesMeta:
@@ -323,15 +320,12 @@ packages:
prisma:
optional: true
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-kLKjMfFlTbyt49DGeI9okHAsn0MtBZcMoQYKaEdgR0H3BHzqqyzePcQz/hxAmRgjB4p/6inise3zJwhX0sgXrQ==}
+ '@better-auth/[email protected]':
+ resolution: {integrity: sha512-1OamUtbGRaYHB0tRjKK3Jv6hzI6mZMv3pujkg8k7tr3idQuToMoVXsWAD9oFbUTmOLeix58n+grzsl7r0fR0Sw==}
peerDependencies:
- '@better-auth/core': ^1.7.1
- '@better-auth/utils': 0.4.2
- '@better-fetch/fetch': 1.3.1
-
- '@better-auth/[email protected]':
- resolution: {integrity: sha512-AUxrvu+HaaODsUyzDxFgwd/8RZ1yZaYo42LXKSrU2oGgR38pS1ij8nqQKNgtTWoYGpNevNXtCfgTy6loHveW9A==}
+ '@better-auth/core': ^1.7.10
+ '@better-auth/utils': ^0.4.2 || ^0.5.0
+ '@better-fetch/fetch': 1.3.2
'@better-auth/[email protected]':
resolution: {integrity: sha512-BL8W4EfIZFwlu0r54m3v1ztjDhu6dDe/amLTm0xybmbZaNgYUqhD3SjpAsnq0q8YD6/ki4iwIgxJNLP/N3TxiA==}
@@ -339,6 +333,9 @@ packages:
'@better-fetch/[email protected]':
resolution: {integrity: sha512-ABkD1WhyfPZprKRQI3bhATjeiFuNWC9PXhfGWqL+sg/gKrM977oFrYkdb4msM3hgUGonr7KlOsOFT5TU2rht9g==}
+ '@better-fetch/[email protected]':
+ resolution: {integrity: sha512-Gs7n99b5tqUC6cQAPbV0uED3IraHB6xQbHLQ/C3l7ZFafHScOx9pQ+DYmP5blbLFShVWLqxNUlI9wi4xU/X+ow==}
+
'@bomb.sh/[email protected]':
resolution: {integrity: sha512-dTRfo9Q9B+lbLG3JCu8a/AGQSfD2XXcFcnakQzVjSOX+VvR/s9zpsH8TlqV3iHqazniRn1Ypwd1hcRlXcu/4BA==}
hasBin: true
@@ -3188,15 +3185,14 @@ packages:
resolution: {integrity: sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==}
- resolution: {integrity: sha512-g8WlTQijxXWJjPVZfFu1+EJg9cwwHrKDmIkcYMzx8CzYA+tDxl6NI7qQbKkbgw5UtHILsT5VH+RMzFzwnVJqAg==}
+ resolution: {integrity: sha512-Paf0X8cHKQc8jCgM3vl4AoxRicWdNf0zw8Aggn1q6aNSWCDDxSZCb6rkXa/O9cPc8idjVPK0rV/eHPHAbs07ZA==}
peerDependencies:
'@lynx-js/react': '*'
'@prisma/client': ^5.0.0 || ^6.0.0 || ^7.0.0
- '@sveltejs/kit': ^2.0.0
+ '@sveltejs/kit': ^2.0.0 || ^3.0.0
'@tanstack/react-start': ^1.0.0
'@tanstack/solid-start': ^1.0.0
- better-sqlite3: ^12.0.0
drizzle-kit: '>=0.31.4 || >=1.0.0-beta.1'
drizzle-orm: ^0.45.2 || >=1.0.0-rc.1 <2.0.0
mongodb: ^6.0.0 || ^7.0.0
@@ -3208,7 +3204,7 @@ packages:
react-dom: ^18.0.0 || ^19.0.0
solid-js: ^1.0.0
svelte: ^4.0.0 || ^5.0.0
- vitest: ^2.0.0 || ^3.0.0 || ^4.0.0
+ vitest: ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0
vue: ^3.0.0
peerDependenciesMeta:
'@lynx-js/react':
@@ -3221,8 +3217,6 @@ packages:
optional: true
'@tanstack/solid-start':
optional: true
- better-sqlite3:
- optional: true
drizzle-kit:
optional: true
drizzle-orm:
@@ -3250,8 +3244,8 @@ packages:
vue:
optional: true
- resolution: {integrity: sha512-bBKOT4vv1kZLDgxVePdilk/Jwkn+dtRRsmi3DzHcDP+WnswyVl6dR59l2HEeP/0cB+bDoopASAesWDPIdd/zZA==}
+ resolution: {integrity: sha512-lOmFCTG1KcE60YWxoff2Wx0Fv7v7drP/fQTDYnhJUCdkA7V6QWXdLPUiMpOQCq7Fd0Ts3AkrRwD23xoiootlGA==}
peerDependencies:
zod: ^4.0.0
peerDependenciesMeta:
@@ -6527,6 +6521,9 @@ packages:
resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==}
+ resolution: {integrity: sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==}
+
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
@@ -6748,58 +6745,52 @@ snapshots:
'@babel/helper-string-parser': 8.0.0
'@babel/helper-validator-identifier': 8.0.4
dependencies:
- '@better-auth/utils': 0.4.2
- '@better-fetch/fetch': 1.3.1
+ '@better-auth/utils': 0.5.0
+ '@better-fetch/fetch': 1.3.2
'@opentelemetry/semantic-conventions': 1.43.0
'@standard-schema/spec': 1.1.0
- better-call: 1.4.0([email protected])
+ better-call: 1.4.2([email protected])
jose: 6.2.9
kysely: 0.29.5
nanostores: 1.5.1
- zod: 4.4.3
- optionalDependencies:
- '@cloudflare/workers-types': 4.20260702.1
+ zod: 4.6.7
dependencies:
- '@better-auth/utils': 0.4.2
+ '@better-auth/utils': 0.5.0
optionalDependencies:
dependencies:
- '@better-auth/utils': 0.4.2
+ '@better-auth/utils': 0.5.0
optionalDependencies:
kysely: 0.29.5
- dependencies:
- '@better-auth/utils': 0.4.2
-
dependencies:
- '@better-auth/utils': 0.4.2
+ '@better-auth/utils': 0.5.0
dependencies:
- '@better-auth/utils': 0.4.2
+ '@better-auth/utils': 0.5.0
dependencies:
- '@better-auth/utils': 0.4.2
- '@better-fetch/fetch': 1.3.1
+ '@better-auth/utils': 0.5.0
- '@better-auth/[email protected]':
dependencies:
- '@noble/hashes': 2.3.0
+ '@better-auth/utils': 0.5.0
+ '@better-fetch/fetch': 1.3.2
'@better-auth/[email protected]':
dependencies:
@@ -6807,6 +6798,8 @@ snapshots:
'@better-fetch/[email protected]': {}
+ '@better-fetch/[email protected]': {}
+
optionalDependencies:
cac: 6.7.14
@@ -7235,13 +7228,13 @@ snapshots:
- '@vue/composition-api'
- vue
dependencies:
ai: 7.0.128([email protected])
octokit: 5.0.5
zod: 4.4.3
optionalDependencies:
'@iconify-json/[email protected]':
@@ -9261,12 +9254,12 @@ snapshots:
dependencies:
execa: 5.1.1
dependencies:
'@vercel/oidc': 4.0.0
optionalDependencies:
ai: 7.0.128([email protected])
@@ -9631,44 +9624,42 @@ snapshots:
dependencies:
- '@better-auth/memory-adapter': 1.7.1(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@cloudflare/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
- '@better-auth/mongo-adapter': 1.7.1(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@cloudflare/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
- '@better-auth/prisma-adapter': 1.7.1(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@cloudflare/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
- '@better-auth/telemetry': 1.7.1(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])(@cloudflare/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])(@better-fetch/[email protected])
- '@better-auth/utils': 0.4.2
- '@better-fetch/fetch': 1.3.1
+ '@better-auth/memory-adapter': 1.7.10(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
+ '@better-auth/mongo-adapter': 1.7.10(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
+ '@better-auth/prisma-adapter': 1.7.10(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])
+ '@better-auth/telemetry': 1.7.10(@better-auth/[email protected](@better-auth/[email protected])(@better-fetch/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))(@better-auth/[email protected])(@better-fetch/[email protected])
+ '@better-auth/utils': 0.5.0
+ '@better-fetch/fetch': 1.3.2
'@noble/ciphers': 2.3.0
'@noble/hashes': 2.3.0
- better-call: 1.4.0([email protected])
+ better-call: 1.4.2([email protected])
defu: 6.1.7
jose: 6.2.9
kysely: 0.29.5
nanostores: 1.5.1
- zod: 4.4.3
+ zod: 4.6.7
optionalDependencies:
- better-sqlite3: 12.10.0
drizzle-kit: 0.31.10
react: 19.2.6
react-dom: 19.2.6([email protected])
vue: 3.5.41([email protected])
transitivePeerDependencies:
- - '@cloudflare/workers-types'
- '@opentelemetry/api'
dependencies:
'@better-auth/utils': 0.5.0
'@better-fetch/fetch': 1.3.1
rou3: 0.9.2
set-cookie-parser: 3.1.2
optionalDependencies:
- zod: 4.4.3
+ zod: 4.6.7
dependencies:
@@ -13392,4 +13383,6 @@ snapshots:
+
diff --git a/apps/templates/personal-agent-template/scripts/smoke.mjs b/apps/templates/personal-agent-template/scripts/smoke.mjs
new file mode 100644
index 000000000..a22f91fd2
--- /dev/null
+++ b/apps/templates/personal-agent-template/scripts/smoke.mjs
@@ -0,0 +1,49 @@
+// Boots the production build and signs up a user, so a Better Auth schema mismatch fails here
+// instead of on the first sign-up after deploy. Run `pnpm build` first.
+import { spawn } from "node:child_process";
+import { randomUUID } from "node:crypto";
+import { setTimeout as sleep } from "node:timers/promises";
+
+const port = Number(process.env.SMOKE_PORT ?? 3917);
+const origin = `http://localhost:${port}`;
+const server = spawn(process.execPath, ["apps/web/.output/server/index.mjs"], {
+ env: {
+ ...process.env,
+ PORT: String(port),
+ BETTER_AUTH_SECRET: randomUUID(),
+ BETTER_AUTH_URL: origin,
+ },
+ stdio: ["ignore", "inherit", "inherit"],
+});
+
+async function waitForServer() {
+ for (let attempt = 0; attempt < 60; attempt++) {
+ if (server.exitCode !== null) throw new Error(`Server exited with code ${server.exitCode}`);
+ try {
+ await fetch(origin);
+ return;
+ } catch {
+ await sleep(500);
+ }
+ }
+ throw new Error(`Server did not start on ${origin}`);
+}
+
+try {
+ await waitForServer();
+ const response = await fetch(`${origin}/api/auth/sign-up/email`, {
+ method: "POST",
+ headers: { "content-type": "application/json", origin },
+ body: JSON.stringify({
+ email: `smoke-${randomUUID()}@example.com`,
+ password: randomUUID(),
+ name: "Smoke Test",
+ }),
+ });
+ if (!response.ok) {
+ throw new Error(`Sign-up failed with ${response.status}: ${await response.text()}`);
+ }
+ console.log("Sign-up succeeded");
+} finally {
+ server.kill();
+}
diff --git a/apps/templates/personal-agent-template/vercel.ts b/apps/templates/personal-agent-template/vercel.ts
index bc93958b0..72d47332c 100644
--- a/apps/templates/personal-agent-template/vercel.ts
+++ b/apps/templates/personal-agent-template/vercel.ts
@@ -2,7 +2,11 @@ import { withEve } from "eve/vercel";
export default await withEve({
services: {
- web: { framework: "nuxt", root: "apps/web" },
+ web: {
+ framework: "nuxtjs",
+ root: "apps/web",
+ buildCommand: "node ../../node_modules/nuxt/bin/nuxt.mjs build",
+ },
},
routes: [{ src: "^(.*)$", destination: { type: "service", service: "web" } }],
});
diff --git a/scripts/check-template-compatibility.mjs b/scripts/check-template-compatibility.mjs
index d90d59f5e..2c2ab8d3b 100644
--- a/scripts/check-template-compatibility.mjs
+++ b/scripts/check-template-compatibility.mjs
@@ -9,18 +9,69 @@ import {
writeFileSync,
} from "node:fs";
import { tmpdir } from "node:os";
-import { basename, join, resolve } from "node:path";
+import { basename, delimiter, join, resolve } from "node:path";
import { execFileSync } from "node:child_process";
const repoRoot = resolve(import.meta.dirname, "..");
const templatesDirectory = join(repoRoot, "apps", "templates");
const temporaryDirectory = mkdtempSync(join(tmpdir(), "eve-template-compatibility-"));
+// Vercel Framework Preset slugs a template web service may deploy under. Vercel rejects unknown
+// slugs at deploy time, and eve's own host names differ from them (Nuxt is "nuxtjs", not "nuxt").
+const VERCEL_WEB_FRAMEWORKS = new Set(["nextjs", "nuxtjs", "sveltekit", "tanstack-start"]);
+
const run = (command, args, options = {}) => {
process.stdout.write(`$ ${command} ${args.join(" ")}\n`);
execFileSync(command, args, { cwd: repoRoot, stdio: "inherit", ...options });
};
+/**
+ * Builds each authored `vercel.ts` service the way Vercel does: from the service root, where a
+ * root-only pnpm install puts no framework binary on PATH. The template's own `pnpm build` runs
+ * from the project root and cannot catch a service that only builds there.
+ */
+const checkVercelServices = (template, destination) => {
+ if (!existsSync(join(destination, "vercel.ts"))) return;
+ const services = JSON.parse(
+ execFileSync(
+ process.execPath,
+ [
+ "--input-type=module",
+ "-e",
+ 'const { default: config } = await import("./vercel.ts"); console.log(JSON.stringify(config.services ?? {}));',
+ ],
+ { cwd: destination, encoding: "utf8" },
+ ),
+ );
+ const path = process.env.PATH?.split(delimiter)
+ .filter((entry) => !entry.includes("node_modules"))
+ .join(delimiter);
+
+ for (const [name, service] of Object.entries(services)) {
+ // withEve generates and owns the agent services.
+ if (service.framework === "eve") continue;
+ const label = `Template "${template}" vercel.ts service "${name}"`;
+ if (!VERCEL_WEB_FRAMEWORKS.has(service.framework)) {
+ throw new Error(
+ `${label} uses framework ${JSON.stringify(service.framework)}, which is not a Vercel Framework Preset slug. Use one of: ${[...VERCEL_WEB_FRAMEWORKS].join(", ")}.`,
+ );
+ }
+ const serviceRoot = join(destination, service.root ?? ".");
+ if (existsSync(join(serviceRoot, "package.json"))) continue;
+ if (!service.buildCommand) {
+ throw new Error(
+ `${label} has no package.json in ${service.root}, so Vercel cannot find the framework binary. Set buildCommand to run it from the root node_modules.`,
+ );
+ }
+ process.stdout.write(`$ (cd ${service.root} && ${service.buildCommand})\n`);
+ execFileSync("sh", ["-c", service.buildCommand], {
+ cwd: serviceRoot,
+ env: { ...process.env, PATH: path },
+ stdio: "inherit",
+ });
+ }
+};
+
try {
const packageDirectory = join(repoRoot, "packages", "eve");
const packedDirectory = join(temporaryDirectory, "packed");
@@ -65,6 +116,10 @@ try {
run("pnpm", ["typecheck"], { cwd: destination });
run("pnpm", ["exec", "eve", "build"], { cwd: destination });
run("pnpm", ["build"], { cwd: destination });
+ checkVercelServices(template, destination);
+ if (manifest.scripts?.["test:smoke"]) {
+ run("pnpm", ["test:smoke"], { cwd: destination });
+ }
}
} finally {
rmSync(temporaryDirectory, { force: true, recursive: true });