If you intend on modifying the Cloudflare proxy (proxy/src/index.ts) or the Python toolkit (dispatcher.py, jules_helper.py), follow these loops.
These act independently from the edge layer.
- Ensure your active Python environment is bound to your IDE. You can execute standard logic mapping:
python check_gh_jules.pyTo iterate and debug the edge layer without wasting limits or modifying production:
cd proxyEnsure your .dev.vars file exists within the proxy/ directory:
GITHUB_TOKEN="ghp_xxx..."
JULES_API_KEY="AQ.xxx..."Run the local wrangler development server:
npx wrangler devYou can POST mock github payloads mapping x-github-event: pull_request to http://localhost:8787 locally to test your deduplication mapping logic before pushing.