diff --git a/Dockerfile b/Dockerfile index 9c6aa7036..4baa78a6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,10 @@ RUN corepack enable WORKDIR /app -ARG CLAWDBOT_DOCKER_APT_PACKAGES="" -RUN if [ -n "$CLAWDBOT_DOCKER_APT_PACKAGES" ]; then \ +ARG MOLTBOT_DOCKER_APT_PACKAGES="" +RUN if [ -n "$MOLTBOT_DOCKER_APT_PACKAGES" ]; then \ apt-get update && \ - DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $CLAWDBOT_DOCKER_APT_PACKAGES && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends $MOLTBOT_DOCKER_APT_PACKAGES && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*; \ fi @@ -24,9 +24,9 @@ COPY scripts ./scripts RUN pnpm install --frozen-lockfile COPY . . -RUN CLAWDBOT_A2UI_SKIP_MISSING=1 pnpm build +RUN MOLTBOT_A2UI_SKIP_MISSING=1 pnpm build # Force pnpm for UI build (Bun may fail on ARM/Synology architectures) -ENV CLAWDBOT_PREFER_PNPM=1 +ENV MOLTBOT_PREFER_PNPM=1 RUN pnpm ui:install RUN pnpm ui:build diff --git a/README.md b/README.md index ec970bb5b..083102d40 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ It answers you on the channels you already use (WhatsApp, Telegram, Slack, Disco If you want a personal, single-user assistant that feels local, fast, and always-on, this is it. -[Website](https://molt.bot) · [Docs](https://docs.molt.bot) · [Getting Started](https://docs.molt.bot/start/getting-started) · [Updating](https://docs.molt.bot/install/updating) · [Showcase](https://docs.molt.bot/start/showcase) · [FAQ](https://docs.molt.bot/start/faq) · [Wizard](https://docs.molt.bot/start/wizard) · [Nix](https://github.com/moltbot/nix-clawdbot) · [Docker](https://docs.molt.bot/install/docker) · [Discord](https://discord.gg/clawd) +[Website](https://molt.bot) · [Docs](https://docs.molt.bot) · [Getting Started](https://docs.molt.bot/start/getting-started) · [Updating](https://docs.molt.bot/install/updating) · [Showcase](https://docs.molt.bot/start/showcase) · [FAQ](https://docs.molt.bot/start/faq) · [Wizard](https://docs.molt.bot/start/wizard) · [Nix](https://github.com/moltbot/nix-moltbot) · [Docker](https://docs.molt.bot/install/docker) · [Discord](https://discord.gg/clawd) Preferred setup: run the onboarding wizard (`moltbot onboard`). It walks through gateway, workspace, channels, and skills. The CLI wizard is the recommended path and works on **macOS, Linux, and Windows (via WSL2; strongly recommended)**. Works with npm, pnpm, or bun. @@ -245,11 +245,11 @@ Details: [Nodes](https://docs.molt.bot/nodes) · [macOS app](https://docs.molt.b Details: [Session tools](https://docs.molt.bot/concepts/session-tool) -## Skills registry (ClawdHub) +## Skills registry (MoltHub) -ClawdHub is a minimal skill registry. With ClawdHub enabled, the agent can search for skills automatically and pull in new ones as needed. +MoltHub is a minimal skill registry. With MoltHub enabled, the agent can search for skills automatically and pull in new ones as needed. -[ClawdHub](https://ClawdHub.com) +[MoltHub](https://ClawdHub.com) ## Chat commands @@ -295,13 +295,13 @@ Runbook: [iOS connect](https://docs.molt.bot/platforms/ios). ## Agent workspace + skills -- Workspace root: `~/clawd` (configurable via `agents.defaults.workspace`). +- Workspace root: `~/moltbot` (configurable via `agents.defaults.workspace`). - Injected prompt files: `AGENTS.md`, `SOUL.md`, `TOOLS.md`. -- Skills: `~/clawd/skills//SKILL.md`. +- Skills: `~/moltbot/skills//SKILL.md`. ## Configuration -Minimal `~/.clawdbot/moltbot.json` (model + defaults): +Minimal `~/.moltbot/moltbot.json` (model + defaults): ```json5 { @@ -323,7 +323,7 @@ Details: [Security guide](https://docs.molt.bot/gateway/security) · [Docker + s ### [WhatsApp](https://docs.molt.bot/channels/whatsapp) -- Link the device: `pnpm moltbot channels login` (stores creds in `~/.clawdbot/credentials`). +- Link the device: `pnpm moltbot channels login` (stores creds in `~/.moltbot/credentials`). - Allowlist who can talk to the assistant via `channels.whatsapp.allowFrom`. - If `channels.whatsapp.groups` is set, it becomes a group allowlist; include `"*"` to allow all. diff --git a/docker-compose.yml b/docker-compose.yml index 8ce610d6a..937331332 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,19 +1,20 @@ services: moltbot-gateway: - image: ${CLAWDBOT_IMAGE:-moltbot:local} + build: . + image: ${MOLTBOT_IMAGE:-moltbot:local} environment: HOME: /home/node TERM: xterm-256color - CLAWDBOT_GATEWAY_TOKEN: ${CLAWDBOT_GATEWAY_TOKEN} + MOLTBOT_GATEWAY_TOKEN: ${MOLTBOT_GATEWAY_TOKEN} CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY} CLAUDE_WEB_SESSION_KEY: ${CLAUDE_WEB_SESSION_KEY} CLAUDE_WEB_COOKIE: ${CLAUDE_WEB_COOKIE} volumes: - - ${CLAWDBOT_CONFIG_DIR}:/home/node/.clawdbot - - ${CLAWDBOT_WORKSPACE_DIR}:/home/node/clawd + - ${MOLTBOT_CONFIG_DIR}:/home/node/.moltbot + - ${MOLTBOT_WORKSPACE_DIR}:/home/node/moltbot ports: - - "${CLAWDBOT_GATEWAY_PORT:-18789}:18789" - - "${CLAWDBOT_BRIDGE_PORT:-18790}:18790" + - "${MOLTBOT_GATEWAY_PORT:-18789}:18789" + - "${MOLTBOT_BRIDGE_PORT:-18790}:18790" init: true restart: unless-stopped command: @@ -22,13 +23,14 @@ services: "dist/index.js", "gateway", "--bind", - "${CLAWDBOT_GATEWAY_BIND:-lan}", + "${MOLTBOT_GATEWAY_BIND:-lan}", "--port", - "${CLAWDBOT_GATEWAY_PORT:-18789}" + "${MOLTBOT_GATEWAY_PORT:-18789}" ] moltbot-cli: - image: ${CLAWDBOT_IMAGE:-moltbot:local} + build: . + image: ${MOLTBOT_IMAGE:-moltbot:local} environment: HOME: /home/node TERM: xterm-256color @@ -37,8 +39,8 @@ services: CLAUDE_WEB_SESSION_KEY: ${CLAUDE_WEB_SESSION_KEY} CLAUDE_WEB_COOKIE: ${CLAUDE_WEB_COOKIE} volumes: - - ${CLAWDBOT_CONFIG_DIR}:/home/node/.clawdbot - - ${CLAWDBOT_WORKSPACE_DIR}:/home/node/clawd + - ${MOLTBOT_CONFIG_DIR}:/home/node/.moltbot + - ${MOLTBOT_WORKSPACE_DIR}:/home/node/moltbot stdin_open: true tty: true init: true diff --git a/fly.private.toml b/fly.private.toml index 1c5e99b13..97bc41e6b 100644 --- a/fly.private.toml +++ b/fly.private.toml @@ -17,8 +17,8 @@ primary_region = "iad" # change to your closest region [env] NODE_ENV = "production" - CLAWDBOT_PREFER_PNPM = "1" - CLAWDBOT_STATE_DIR = "/data" + MOLTBOT_PREFER_PNPM = "1" + MOLTBOT_STATE_DIR = "/data" NODE_OPTIONS = "--max-old-space-size=1536" [processes] diff --git a/fly.toml b/fly.toml index fc19990fd..30eed6f8c 100644 --- a/fly.toml +++ b/fly.toml @@ -10,8 +10,8 @@ primary_region = "iad" # change to your closest region [env] NODE_ENV = "production" # Fly uses x86, but keep this for consistency - CLAWDBOT_PREFER_PNPM = "1" - CLAWDBOT_STATE_DIR = "/data" + MOLTBOT_PREFER_PNPM = "1" + MOLTBOT_STATE_DIR = "/data" NODE_OPTIONS = "--max-old-space-size=1536" [processes] diff --git a/render.yaml b/render.yaml index 9272fcac9..939baee35 100644 --- a/render.yaml +++ b/render.yaml @@ -9,11 +9,11 @@ services: value: "8080" - key: SETUP_PASSWORD sync: false - - key: CLAWDBOT_STATE_DIR - value: /data/.clawdbot - - key: CLAWDBOT_WORKSPACE_DIR + - key: MOLTBOT_STATE_DIR + value: /data/.moltbot + - key: MOLTBOT_WORKSPACE_DIR value: /data/workspace - - key: CLAWDBOT_GATEWAY_TOKEN + - key: MOLTBOT_GATEWAY_TOKEN generateValue: true disk: name: moltbot-data