Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .trae/documents/Initialize Moltworker Project.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Based on the project structure and `AGENTS.md` guidelines, I've prepared a plan to initialize the development environment.

## 1. Install Dependencies
- Run `npm install` to install all required Node.js packages defined in `package.json`.

## 2. Configure Environment Variables
- Create `.dev.vars` by copying `.dev.vars.example`.
- This file is used by `wrangler` for local development secrets.
- **Note:** You will need to provide a valid `ANTHROPIC_API_KEY` in `.dev.vars` for the bot to function fully.
- I will enable `DEV_MODE=true` by default in the new file to bypass Cloudflare Access auth for easier local testing, as recommended in the docs.

## 3. Build & Verify
- Run `npm run build` to compile the worker and client assets.
- Run `npm test` to verify the core logic (JWT, env vars, process management) is working correctly.

Shall I proceed with this initialization plan?
Loading