This commit is contained in:
Saket Poswal 2026-01-29 19:00:18 +00:00 committed by GitHub
commit c32c6e787d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 34 additions and 32 deletions

View File

@ -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

View File

@ -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>/SKILL.md`.
- Skills: `~/moltbot/skills/<skill>/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.

View File

@ -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

View File

@ -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]

View File

@ -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]

View File

@ -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