File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ ### Patch Changes
6+
7+ - Remove ` functions ` block from ` vercel.json ` to fix deployment error:
8+ "The pattern 'api/index.js' defined in ` functions ` doesn't match any
9+ Serverless Functions inside the ` api ` directory."
10+
11+ The ` api/index.js ` file is a build artifact generated by ` bundle-api.mjs `
12+ during the Vercel build step — it does not exist in the source tree.
13+ Vercel validates ` functions ` patterns before running the build, causing
14+ the mismatch. The per-function configuration (` memory ` , ` maxDuration ` )
15+ is already exported from ` server/index.ts ` via ` export const config ` ,
16+ which the ` @vercel/node ` runtime picks up at deploy time.
17+
518### Minor Changes
619
720- Add collapsible right-side AI Chat floating panel (VS Code Copilot Chat style).
Original file line number Diff line number Diff line change 3131 "@objectstack/plugin-msw" : " workspace:*" ,
3232 "@objectstack/plugin-security" : " workspace:*" ,
3333 "@objectstack/runtime" : " workspace:*" ,
34+ "@objectstack/service-ai" : " workspace:*" ,
3435 "@objectstack/service-feed" : " workspace:*" ,
3536 "@objectstack/spec" : " workspace:*" ,
3637 "@radix-ui/react-avatar" : " ^1.1.11" ,
Original file line number Diff line number Diff line change 99 "VITE_SERVER_URL" : " https://play.objectstack.ai"
1010 }
1111 },
12- "functions" : {
13- "api/index.js" : {
14- "memory" : 1024 ,
15- "maxDuration" : 60 ,
16- "includeFiles" : " node_modules/{@libsql,better-sqlite3}/**"
17- }
18- },
1912 "headers" : [
2013 {
2114 "source" : " /assets/(.*)" ,
You can’t perform that action at this time.
0 commit comments