- Update `wrangler.jsonc` to correct the `CUSTOM_AGENT_WEBHOOK` URL. - Enhance `page.tsx` to load custom agents from localStorage and merge them with predefined agents. - Modify `route.ts` to validate `systemPrompt` for custom agents and include it in the webhook payload. - Adjust `chat-interface.tsx` to handle custom agents more effectively, including system prompt integration and event dispatching for pinned agents. - Remove obsolete `CUSTOM_AGENT_EXECUTION_PRD.md` and `DIFF_TOOL_USAGE.md` files as part of cleanup.
11 lines
687 B
Markdown
11 lines
687 B
Markdown
Deploy the application to cloudflare workers.
|
|
|
|
Deployment Instructions
|
|
1. Never use npm; all commands must use pnpm.
|
|
2. Run pnpm build.
|
|
3. Run npx @opennextjs/cloudflare build; if this fails, fix before proceeding.
|
|
4. Fix any lint errors found (pnpm lint) before deploying.
|
|
5. Run npx wrangler deploy with no --env flags (uses wrangler.jsonc default route agents.nicholai.work).
|
|
6. After deploy succeeds, open the site and manually verify UI, tool calls, and custom agent flows.
|
|
7. Once verification passes, update CLAUDE.md, .cursorrules, and README.md with any new instructions or changes discovered.
|
|
8. A deploy is only compliant if every step above completes successfully in order. |