repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | { |
| #2 | "$schema": "node_modules/wrangler/config-schema.json", |
| #3 | "name": "moltbot-sandbox", |
| #4 | "main": "src/index.ts", |
| #5 | "compatibility_date": "2025-05-06", |
| #6 | "compatibility_flags": ["nodejs_compat"], |
| #7 | "observability": { |
| #8 | "enabled": true, |
| #9 | }, |
| #10 | // Static assets for admin UI (built by vite) |
| #11 | "assets": { |
| #12 | "directory": "./dist/client", |
| #13 | "not_found_handling": "single-page-application", |
| #14 | "html_handling": "auto-trailing-slash", |
| #15 | "binding": "ASSETS", |
| #16 | "run_worker_first": true, |
| #17 | }, |
| #18 | // Allow importing HTML files as text modules and PNG files as binary |
| #19 | "rules": [ |
| #20 | { |
| #21 | "type": "Text", |
| #22 | "globs": ["**/*.html"], |
| #23 | "fallthrough": false, |
| #24 | }, |
| #25 | { |
| #26 | "type": "Data", |
| #27 | "globs": ["**/*.png"], |
| #28 | "fallthrough": false, |
| #29 | }, |
| #30 | ], |
| #31 | // Build command for vite |
| #32 | "build": { |
| #33 | "command": "npm run build", |
| #34 | }, |
| #35 | // Container configuration for the Moltbot sandbox |
| #36 | "containers": [ |
| #37 | { |
| #38 | "class_name": "Sandbox", |
| #39 | "image": "./Dockerfile", |
| #40 | "instance_type": "standard-4", |
| #41 | "max_instances": 1, |
| #42 | }, |
| #43 | ], |
| #44 | "durable_objects": { |
| #45 | "bindings": [ |
| #46 | { |
| #47 | "class_name": "Sandbox", |
| #48 | "name": "Sandbox", |
| #49 | }, |
| #50 | ], |
| #51 | }, |
| #52 | "migrations": [ |
| #53 | { |
| #54 | "new_sqlite_classes": ["Sandbox"], |
| #55 | "tag": "v1", |
| #56 | }, |
| #57 | ], |
| #58 | // R2 bucket for persistent storage (moltbot data, conversations, etc.) |
| #59 | "r2_buckets": [ |
| #60 | { |
| #61 | "binding": "MOLTBOT_BUCKET", |
| #62 | "bucket_name": "moltbot-data", |
| #63 | }, |
| #64 | ], |
| #65 | // Cron trigger to sync moltbot data to R2 every 5 minutes |
| #66 | "triggers": { |
| #67 | "crons": ["*/5 * * * *"], |
| #68 | }, |
| #69 | // Browser Rendering binding for CDP shim |
| #70 | "browser": { |
| #71 | "binding": "BROWSER", |
| #72 | }, |
| #73 | // Note: CF_ACCOUNT_ID should be set via `wrangler secret put CF_ACCOUNT_ID` |
| #74 | // Secrets to configure via `wrangler secret put`: |
| #75 | // - ANTHROPIC_API_KEY: Your Anthropic API key |
| #76 | // - CF_ACCESS_TEAM_DOMAIN: Cloudflare Access team domain |
| #77 | // - CF_ACCESS_AUD: Cloudflare Access application audience |
| #78 | // - TELEGRAM_BOT_TOKEN: (optional) Telegram bot token |
| #79 | // - DISCORD_BOT_TOKEN: (optional) Discord bot token |
| #80 | // - SLACK_BOT_TOKEN: (optional) Slack bot token |
| #81 | // - SLACK_APP_TOKEN: (optional) Slack app token |
| #82 | // - MOLTBOT_GATEWAY_TOKEN: (optional) Token to protect gateway access, if unset device pairing will be used |
| #83 | // - CDP_SECRET: (optional) Shared secret for /cdp endpoint authentication |
| #84 | // |
| #85 | // R2 persistent storage secrets (required for data persistence across sessions): |
| #86 | // - R2_ACCESS_KEY_ID: R2 access key ID (from R2 API tokens) |
| #87 | // - R2_SECRET_ACCESS_KEY: R2 secret access key (from R2 API tokens) |
| #88 | // - CF_ACCOUNT_ID: Your Cloudflare account ID (for R2 endpoint URL) |
| #89 | } |
| #90 |