loudmouth-ai 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1158 -0
- package/LICENSE +21 -0
- package/README.md +128 -0
- package/assets/avatar-placeholder.svg +19 -0
- package/assets/chrome-extension/README.md +22 -0
- package/assets/chrome-extension/background.js +438 -0
- package/assets/chrome-extension/icons/icon128.png +0 -0
- package/assets/chrome-extension/icons/icon16.png +0 -0
- package/assets/chrome-extension/icons/icon32.png +0 -0
- package/assets/chrome-extension/icons/icon48.png +0 -0
- package/assets/chrome-extension/manifest.json +25 -0
- package/assets/chrome-extension/options.html +197 -0
- package/assets/chrome-extension/options.js +59 -0
- package/assets/dmg-background-small.png +0 -0
- package/assets/dmg-background.png +0 -0
- package/dist/acp/client.js +144 -0
- package/dist/acp/commands.js +38 -0
- package/dist/acp/event-mapper.js +70 -0
- package/dist/acp/index.js +2 -0
- package/dist/acp/meta.js +30 -0
- package/dist/acp/server.js +131 -0
- package/dist/acp/session-mapper.js +65 -0
- package/dist/acp/session.js +68 -0
- package/dist/acp/translator.js +344 -0
- package/dist/acp/types.js +6 -0
- package/dist/agents/agent-paths.js +19 -0
- package/dist/agents/agent-scope.js +118 -0
- package/dist/agents/anthropic-payload-log.js +160 -0
- package/dist/agents/apply-patch-update.js +145 -0
- package/dist/agents/apply-patch.js +355 -0
- package/dist/agents/auth-health.js +165 -0
- package/dist/agents/auth-profiles/constants.js +20 -0
- package/dist/agents/auth-profiles/display.js +10 -0
- package/dist/agents/auth-profiles/doctor.js +31 -0
- package/dist/agents/auth-profiles/external-cli-sync.js +62 -0
- package/dist/agents/auth-profiles/oauth.js +193 -0
- package/dist/agents/auth-profiles/order.js +166 -0
- package/dist/agents/auth-profiles/paths.js +27 -0
- package/dist/agents/auth-profiles/profiles.js +63 -0
- package/dist/agents/auth-profiles/repair.js +120 -0
- package/dist/agents/auth-profiles/session-override.js +97 -0
- package/dist/agents/auth-profiles/store.js +323 -0
- package/dist/agents/auth-profiles/types.js +1 -0
- package/dist/agents/auth-profiles/usage.js +235 -0
- package/dist/agents/auth-profiles.js +10 -0
- package/dist/agents/bash-process-registry.js +177 -0
- package/dist/agents/bash-tools.exec.js +1176 -0
- package/dist/agents/bash-tools.js +2 -0
- package/dist/agents/bash-tools.process.js +569 -0
- package/dist/agents/bash-tools.shared.js +191 -0
- package/dist/agents/bedrock-discovery.js +157 -0
- package/dist/agents/bootstrap-files.js +28 -0
- package/dist/agents/bootstrap-hooks.js +19 -0
- package/dist/agents/cache-trace.js +185 -0
- package/dist/agents/channel-tools.js +58 -0
- package/dist/agents/chutes-oauth.js +133 -0
- package/dist/agents/claude-cli-runner.js +3 -0
- package/dist/agents/clawdbot-tools.js +124 -0
- package/dist/agents/cli-backends.js +126 -0
- package/dist/agents/cli-credentials.js +360 -0
- package/dist/agents/cli-runner/helpers.js +409 -0
- package/dist/agents/cli-runner.js +265 -0
- package/dist/agents/cli-session.js +27 -0
- package/dist/agents/compaction.js +226 -0
- package/dist/agents/context-window-guard.js +37 -0
- package/dist/agents/context.js +34 -0
- package/dist/agents/date-time.js +158 -0
- package/dist/agents/defaults.js +6 -0
- package/dist/agents/docs-path.js +20 -0
- package/dist/agents/failover-error.js +164 -0
- package/dist/agents/identity-avatar.js +82 -0
- package/dist/agents/identity-file.js +80 -0
- package/dist/agents/identity.js +61 -0
- package/dist/agents/lanes.js +2 -0
- package/dist/agents/live-auth-keys.js +70 -0
- package/dist/agents/live-model-filter.js +70 -0
- package/dist/agents/memory-search.js +184 -0
- package/dist/agents/minimax-vlm.js +81 -0
- package/dist/agents/model-auth.js +273 -0
- package/dist/agents/model-catalog.js +95 -0
- package/dist/agents/model-compat.js +17 -0
- package/dist/agents/model-fallback.js +246 -0
- package/dist/agents/model-scan.js +350 -0
- package/dist/agents/model-selection.js +284 -0
- package/dist/agents/models-config.js +111 -0
- package/dist/agents/models-config.providers.js +423 -0
- package/dist/agents/opencode-zen-models.js +254 -0
- package/dist/agents/pi-embedded-block-chunker.js +209 -0
- package/dist/agents/pi-embedded-helpers/bootstrap.js +159 -0
- package/dist/agents/pi-embedded-helpers/errors.js +436 -0
- package/dist/agents/pi-embedded-helpers/google.js +12 -0
- package/dist/agents/pi-embedded-helpers/images.js +92 -0
- package/dist/agents/pi-embedded-helpers/messaging-dedupe.js +35 -0
- package/dist/agents/pi-embedded-helpers/openai.js +98 -0
- package/dist/agents/pi-embedded-helpers/thinking.js +32 -0
- package/dist/agents/pi-embedded-helpers/turns.js +95 -0
- package/dist/agents/pi-embedded-helpers/types.js +1 -0
- package/dist/agents/pi-embedded-helpers.js +9 -0
- package/dist/agents/pi-embedded-messaging.js +24 -0
- package/dist/agents/pi-embedded-runner/abort.js +9 -0
- package/dist/agents/pi-embedded-runner/cache-ttl.js +45 -0
- package/dist/agents/pi-embedded-runner/compact.js +405 -0
- package/dist/agents/pi-embedded-runner/extensions.js +59 -0
- package/dist/agents/pi-embedded-runner/extra-params.js +70 -0
- package/dist/agents/pi-embedded-runner/google.js +302 -0
- package/dist/agents/pi-embedded-runner/history.js +61 -0
- package/dist/agents/pi-embedded-runner/lanes.js +11 -0
- package/dist/agents/pi-embedded-runner/logger.js +2 -0
- package/dist/agents/pi-embedded-runner/model.js +70 -0
- package/dist/agents/pi-embedded-runner/run/attempt.js +748 -0
- package/dist/agents/pi-embedded-runner/run/images.js +344 -0
- package/dist/agents/pi-embedded-runner/run/params.js +1 -0
- package/dist/agents/pi-embedded-runner/run/payloads.js +162 -0
- package/dist/agents/pi-embedded-runner/run/types.js +1 -0
- package/dist/agents/pi-embedded-runner/run.js +535 -0
- package/dist/agents/pi-embedded-runner/runs.js +107 -0
- package/dist/agents/pi-embedded-runner/sandbox-info.js +25 -0
- package/dist/agents/pi-embedded-runner/session-manager-cache.js +54 -0
- package/dist/agents/pi-embedded-runner/session-manager-init.js +31 -0
- package/dist/agents/pi-embedded-runner/system-prompt.js +33 -0
- package/dist/agents/pi-embedded-runner/tool-split.js +8 -0
- package/dist/agents/pi-embedded-runner/types.js +1 -0
- package/dist/agents/pi-embedded-runner/utils.js +25 -0
- package/dist/agents/pi-embedded-runner.js +10 -0
- package/dist/agents/pi-embedded-subscribe.handlers.js +45 -0
- package/dist/agents/pi-embedded-subscribe.handlers.lifecycle.js +86 -0
- package/dist/agents/pi-embedded-subscribe.handlers.messages.js +230 -0
- package/dist/agents/pi-embedded-subscribe.handlers.tools.js +176 -0
- package/dist/agents/pi-embedded-subscribe.handlers.types.js +1 -0
- package/dist/agents/pi-embedded-subscribe.js +454 -0
- package/dist/agents/pi-embedded-subscribe.raw-stream.js +27 -0
- package/dist/agents/pi-embedded-subscribe.tools.js +166 -0
- package/dist/agents/pi-embedded-subscribe.types.js +1 -0
- package/dist/agents/pi-embedded-utils.js +341 -0
- package/dist/agents/pi-embedded.js +1 -0
- package/dist/agents/pi-extensions/compaction-safeguard.js +223 -0
- package/dist/agents/pi-extensions/context-pruning/extension.js +32 -0
- package/dist/agents/pi-extensions/context-pruning/pruner.js +263 -0
- package/dist/agents/pi-extensions/context-pruning/runtime.js +21 -0
- package/dist/agents/pi-extensions/context-pruning/settings.js +71 -0
- package/dist/agents/pi-extensions/context-pruning/tools.js +44 -0
- package/dist/agents/pi-extensions/context-pruning.js +9 -0
- package/dist/agents/pi-settings.js +19 -0
- package/dist/agents/pi-tool-definition-adapter.js +74 -0
- package/dist/agents/pi-tools.abort.js +41 -0
- package/dist/agents/pi-tools.js +289 -0
- package/dist/agents/pi-tools.policy.js +212 -0
- package/dist/agents/pi-tools.read.js +227 -0
- package/dist/agents/pi-tools.schema.js +147 -0
- package/dist/agents/pi-tools.types.js +1 -0
- package/dist/agents/pty-dsr.js +13 -0
- package/dist/agents/pty-keys.js +235 -0
- package/dist/agents/sandbox/browser-bridges.js +1 -0
- package/dist/agents/sandbox/browser.js +178 -0
- package/dist/agents/sandbox/config-hash.js +45 -0
- package/dist/agents/sandbox/config.js +126 -0
- package/dist/agents/sandbox/constants.js +45 -0
- package/dist/agents/sandbox/context.js +117 -0
- package/dist/agents/sandbox/docker.js +272 -0
- package/dist/agents/sandbox/manage.js +91 -0
- package/dist/agents/sandbox/prune.js +87 -0
- package/dist/agents/sandbox/registry.js +71 -0
- package/dist/agents/sandbox/runtime-status.js +90 -0
- package/dist/agents/sandbox/shared.js +38 -0
- package/dist/agents/sandbox/tool-policy.js +106 -0
- package/dist/agents/sandbox/types.docker.js +1 -0
- package/dist/agents/sandbox/types.js +1 -0
- package/dist/agents/sandbox/workspace.js +39 -0
- package/dist/agents/sandbox-paths.js +68 -0
- package/dist/agents/sandbox.js +7 -0
- package/dist/agents/schema/clean-for-gemini.js +295 -0
- package/dist/agents/schema/typebox.js +22 -0
- package/dist/agents/session-slug.js +134 -0
- package/dist/agents/session-tool-result-guard-wrapper.js +34 -0
- package/dist/agents/session-tool-result-guard.js +99 -0
- package/dist/agents/session-transcript-repair.js +174 -0
- package/dist/agents/session-write-lock.js +102 -0
- package/dist/agents/shell-utils.js +99 -0
- package/dist/agents/skills/bundled-dir.js +30 -0
- package/dist/agents/skills/config.js +141 -0
- package/dist/agents/skills/env-overrides.js +67 -0
- package/dist/agents/skills/frontmatter.js +119 -0
- package/dist/agents/skills/plugin-skills.js +55 -0
- package/dist/agents/skills/refresh.js +135 -0
- package/dist/agents/skills/serialize.js +13 -0
- package/dist/agents/skills/types.js +1 -0
- package/dist/agents/skills/workspace.js +272 -0
- package/dist/agents/skills-install.js +390 -0
- package/dist/agents/skills-status.js +183 -0
- package/dist/agents/skills.js +13 -0
- package/dist/agents/subagent-announce-queue.js +129 -0
- package/dist/agents/subagent-announce.js +391 -0
- package/dist/agents/subagent-registry.js +343 -0
- package/dist/agents/subagent-registry.store.js +73 -0
- package/dist/agents/synthetic-models.js +174 -0
- package/dist/agents/system-prompt-params.js +70 -0
- package/dist/agents/system-prompt-report.js +113 -0
- package/dist/agents/system-prompt.js +467 -0
- package/dist/agents/test-helpers/fast-coding-tools.js +18 -0
- package/dist/agents/test-helpers/fast-core-tools.js +24 -0
- package/dist/agents/timeout.js +24 -0
- package/dist/agents/tool-call-id.js +164 -0
- package/dist/agents/tool-display.js +209 -0
- package/dist/agents/tool-display.json +308 -0
- package/dist/agents/tool-images.js +166 -0
- package/dist/agents/tool-policy.js +193 -0
- package/dist/agents/tool-summaries.js +10 -0
- package/dist/agents/tools/agent-step.js +44 -0
- package/dist/agents/tools/agents-list-tool.js +66 -0
- package/dist/agents/tools/browser-tool.js +656 -0
- package/dist/agents/tools/browser-tool.schema.js +106 -0
- package/dist/agents/tools/canvas-tool.js +158 -0
- package/dist/agents/tools/common.js +146 -0
- package/dist/agents/tools/cron-tool.js +261 -0
- package/dist/agents/tools/discord-actions-guild.js +453 -0
- package/dist/agents/tools/discord-actions-messaging.js +383 -0
- package/dist/agents/tools/discord-actions-moderation.js +92 -0
- package/dist/agents/tools/discord-actions.js +61 -0
- package/dist/agents/tools/gateway-tool.js +214 -0
- package/dist/agents/tools/gateway.js +30 -0
- package/dist/agents/tools/image-tool.helpers.js +55 -0
- package/dist/agents/tools/image-tool.js +370 -0
- package/dist/agents/tools/memory-tool.js +103 -0
- package/dist/agents/tools/message-tool.js +319 -0
- package/dist/agents/tools/nodes-tool.js +399 -0
- package/dist/agents/tools/nodes-utils.js +92 -0
- package/dist/agents/tools/session-status-tool.js +357 -0
- package/dist/agents/tools/sessions-announce-target.js +43 -0
- package/dist/agents/tools/sessions-helpers.js +261 -0
- package/dist/agents/tools/sessions-history-tool.js +118 -0
- package/dist/agents/tools/sessions-list-tool.js +161 -0
- package/dist/agents/tools/sessions-send-helpers.js +116 -0
- package/dist/agents/tools/sessions-send-tool.a2a.js +119 -0
- package/dist/agents/tools/sessions-send-tool.js +345 -0
- package/dist/agents/tools/sessions-spawn-tool.js +232 -0
- package/dist/agents/tools/slack-actions.js +243 -0
- package/dist/agents/tools/telegram-actions.js +162 -0
- package/dist/agents/tools/tts-tool.js +47 -0
- package/dist/agents/tools/web-fetch-utils.js +104 -0
- package/dist/agents/tools/web-fetch.js +477 -0
- package/dist/agents/tools/web-search.js +355 -0
- package/dist/agents/tools/web-shared.js +62 -0
- package/dist/agents/tools/web-tools.js +2 -0
- package/dist/agents/tools/whatsapp-actions.js +32 -0
- package/dist/agents/transcript-policy.js +83 -0
- package/dist/agents/usage.js +48 -0
- package/dist/agents/venice-models.js +342 -0
- package/dist/agents/workspace.js +234 -0
- package/dist/auto-reply/chunk.js +358 -0
- package/dist/auto-reply/command-auth.js +132 -0
- package/dist/auto-reply/command-detection.js +56 -0
- package/dist/auto-reply/commands-args.js +85 -0
- package/dist/auto-reply/commands-registry.data.js +509 -0
- package/dist/auto-reply/commands-registry.js +351 -0
- package/dist/auto-reply/commands-registry.types.js +1 -0
- package/dist/auto-reply/dispatch.js +40 -0
- package/dist/auto-reply/envelope.js +173 -0
- package/dist/auto-reply/group-activation.js +22 -0
- package/dist/auto-reply/heartbeat.js +120 -0
- package/dist/auto-reply/inbound-debounce.js +74 -0
- package/dist/auto-reply/media-note.js +72 -0
- package/dist/auto-reply/model.js +28 -0
- package/dist/auto-reply/reply/abort.js +151 -0
- package/dist/auto-reply/reply/agent-runner-execution.js +461 -0
- package/dist/auto-reply/reply/agent-runner-helpers.js +65 -0
- package/dist/auto-reply/reply/agent-runner-memory.js +155 -0
- package/dist/auto-reply/reply/agent-runner-payloads.js +85 -0
- package/dist/auto-reply/reply/agent-runner-utils.js +101 -0
- package/dist/auto-reply/reply/agent-runner.js +379 -0
- package/dist/auto-reply/reply/audio-tags.js +1 -0
- package/dist/auto-reply/reply/bash-command.js +336 -0
- package/dist/auto-reply/reply/block-reply-coalescer.js +101 -0
- package/dist/auto-reply/reply/block-reply-pipeline.js +179 -0
- package/dist/auto-reply/reply/block-streaming.js +91 -0
- package/dist/auto-reply/reply/body.js +37 -0
- package/dist/auto-reply/reply/commands-allowlist.js +570 -0
- package/dist/auto-reply/reply/commands-approve.js +88 -0
- package/dist/auto-reply/reply/commands-bash.js +25 -0
- package/dist/auto-reply/reply/commands-compact.js +106 -0
- package/dist/auto-reply/reply/commands-config.js +239 -0
- package/dist/auto-reply/reply/commands-context-report.js +294 -0
- package/dist/auto-reply/reply/commands-context.js +29 -0
- package/dist/auto-reply/reply/commands-core.js +101 -0
- package/dist/auto-reply/reply/commands-info.js +109 -0
- package/dist/auto-reply/reply/commands-models.js +201 -0
- package/dist/auto-reply/reply/commands-plugin.js +35 -0
- package/dist/auto-reply/reply/commands-session.js +311 -0
- package/dist/auto-reply/reply/commands-status.js +178 -0
- package/dist/auto-reply/reply/commands-subagents.js +357 -0
- package/dist/auto-reply/reply/commands-tts.js +228 -0
- package/dist/auto-reply/reply/commands-types.js +1 -0
- package/dist/auto-reply/reply/commands.js +3 -0
- package/dist/auto-reply/reply/config-commands.js +58 -0
- package/dist/auto-reply/reply/config-value.js +35 -0
- package/dist/auto-reply/reply/debug-commands.js +58 -0
- package/dist/auto-reply/reply/directive-handling.auth.js +191 -0
- package/dist/auto-reply/reply/directive-handling.fast-lane.js +60 -0
- package/dist/auto-reply/reply/directive-handling.impl.js +380 -0
- package/dist/auto-reply/reply/directive-handling.js +5 -0
- package/dist/auto-reply/reply/directive-handling.model-picker.js +64 -0
- package/dist/auto-reply/reply/directive-handling.model.js +279 -0
- package/dist/auto-reply/reply/directive-handling.parse.js +84 -0
- package/dist/auto-reply/reply/directive-handling.persist.js +181 -0
- package/dist/auto-reply/reply/directive-handling.queue-validation.js +48 -0
- package/dist/auto-reply/reply/directive-handling.shared.js +43 -0
- package/dist/auto-reply/reply/directives.js +114 -0
- package/dist/auto-reply/reply/dispatch-from-config.js +289 -0
- package/dist/auto-reply/reply/exec/directive.js +183 -0
- package/dist/auto-reply/reply/exec.js +1 -0
- package/dist/auto-reply/reply/followup-runner.js +221 -0
- package/dist/auto-reply/reply/get-reply-directives-apply.js +201 -0
- package/dist/auto-reply/reply/get-reply-directives-utils.js +45 -0
- package/dist/auto-reply/reply/get-reply-directives.js +343 -0
- package/dist/auto-reply/reply/get-reply-inline-actions.js +257 -0
- package/dist/auto-reply/reply/get-reply-run.js +282 -0
- package/dist/auto-reply/reply/get-reply.js +234 -0
- package/dist/auto-reply/reply/groups.js +102 -0
- package/dist/auto-reply/reply/history.js +87 -0
- package/dist/auto-reply/reply/inbound-context.js +51 -0
- package/dist/auto-reply/reply/inbound-dedupe.js +39 -0
- package/dist/auto-reply/reply/inbound-sender-meta.js +45 -0
- package/dist/auto-reply/reply/inbound-text.js +3 -0
- package/dist/auto-reply/reply/line-directives.js +294 -0
- package/dist/auto-reply/reply/memory-flush.js +66 -0
- package/dist/auto-reply/reply/mentions.js +122 -0
- package/dist/auto-reply/reply/model-selection.js +398 -0
- package/dist/auto-reply/reply/normalize-reply.js +54 -0
- package/dist/auto-reply/reply/provider-dispatcher.js +19 -0
- package/dist/auto-reply/reply/queue/cleanup.js +19 -0
- package/dist/auto-reply/reply/queue/directive.js +155 -0
- package/dist/auto-reply/reply/queue/drain.js +111 -0
- package/dist/auto-reply/reply/queue/enqueue.js +43 -0
- package/dist/auto-reply/reply/queue/normalize.js +30 -0
- package/dist/auto-reply/reply/queue/settings.js +52 -0
- package/dist/auto-reply/reply/queue/state.js +53 -0
- package/dist/auto-reply/reply/queue/types.js +1 -0
- package/dist/auto-reply/reply/queue.js +6 -0
- package/dist/auto-reply/reply/reply-directives.js +30 -0
- package/dist/auto-reply/reply/reply-dispatcher.js +100 -0
- package/dist/auto-reply/reply/reply-elevated.js +166 -0
- package/dist/auto-reply/reply/reply-inline.js +28 -0
- package/dist/auto-reply/reply/reply-payloads.js +83 -0
- package/dist/auto-reply/reply/reply-reference.js +35 -0
- package/dist/auto-reply/reply/reply-tags.js +13 -0
- package/dist/auto-reply/reply/reply-threading.js +41 -0
- package/dist/auto-reply/reply/response-prefix-template.js +76 -0
- package/dist/auto-reply/reply/route-reply.js +108 -0
- package/dist/auto-reply/reply/session-reset-model.js +133 -0
- package/dist/auto-reply/reply/session-updates.js +228 -0
- package/dist/auto-reply/reply/session-usage.js +79 -0
- package/dist/auto-reply/reply/session.js +303 -0
- package/dist/auto-reply/reply/stage-sandbox-media.js +146 -0
- package/dist/auto-reply/reply/streaming-directives.js +92 -0
- package/dist/auto-reply/reply/subagents-utils.js +52 -0
- package/dist/auto-reply/reply/test-ctx.js +15 -0
- package/dist/auto-reply/reply/typing-mode.js +91 -0
- package/dist/auto-reply/reply/typing.js +132 -0
- package/dist/auto-reply/reply.js +5 -0
- package/dist/auto-reply/send-policy.js +30 -0
- package/dist/auto-reply/skill-commands.js +97 -0
- package/dist/auto-reply/status.js +399 -0
- package/dist/auto-reply/templating.js +39 -0
- package/dist/auto-reply/thinking.js +154 -0
- package/dist/auto-reply/tokens.js +15 -0
- package/dist/auto-reply/tool-meta.js +112 -0
- package/dist/auto-reply/types.js +1 -0
- package/dist/browser/bridge-server.js +47 -0
- package/dist/browser/cdp.helpers.js +136 -0
- package/dist/browser/cdp.js +293 -0
- package/dist/browser/chrome.executables.js +509 -0
- package/dist/browser/chrome.js +253 -0
- package/dist/browser/chrome.profile-decoration.js +144 -0
- package/dist/browser/client-actions-core.js +94 -0
- package/dist/browser/client-actions-observe.js +94 -0
- package/dist/browser/client-actions-state.js +163 -0
- package/dist/browser/client-actions-types.js +1 -0
- package/dist/browser/client-actions.js +4 -0
- package/dist/browser/client-fetch.js +78 -0
- package/dist/browser/client.js +139 -0
- package/dist/browser/config.js +193 -0
- package/dist/browser/constants.js +8 -0
- package/dist/browser/extension-relay.js +541 -0
- package/dist/browser/profiles-service.js +132 -0
- package/dist/browser/profiles.js +93 -0
- package/dist/browser/pw-ai-module.js +37 -0
- package/dist/browser/pw-ai.js +2 -0
- package/dist/browser/pw-role-snapshot.js +310 -0
- package/dist/browser/pw-session.js +431 -0
- package/dist/browser/pw-tools-core.activity.js +44 -0
- package/dist/browser/pw-tools-core.downloads.js +176 -0
- package/dist/browser/pw-tools-core.interactions.js +420 -0
- package/dist/browser/pw-tools-core.js +8 -0
- package/dist/browser/pw-tools-core.responses.js +83 -0
- package/dist/browser/pw-tools-core.shared.js +48 -0
- package/dist/browser/pw-tools-core.snapshot.js +142 -0
- package/dist/browser/pw-tools-core.state.js +147 -0
- package/dist/browser/pw-tools-core.storage.js +72 -0
- package/dist/browser/pw-tools-core.trace.js +25 -0
- package/dist/browser/routes/agent.act.js +453 -0
- package/dist/browser/routes/agent.act.shared.js +38 -0
- package/dist/browser/routes/agent.debug.js +133 -0
- package/dist/browser/routes/agent.js +10 -0
- package/dist/browser/routes/agent.shared.js +45 -0
- package/dist/browser/routes/agent.snapshot.js +269 -0
- package/dist/browser/routes/agent.storage.js +386 -0
- package/dist/browser/routes/basic.js +174 -0
- package/dist/browser/routes/index.js +8 -0
- package/dist/browser/routes/tabs.js +120 -0
- package/dist/browser/routes/utils.js +57 -0
- package/dist/browser/screenshot.js +39 -0
- package/dist/browser/server-context.js +533 -0
- package/dist/browser/server-context.types.js +1 -0
- package/dist/browser/server.js +92 -0
- package/dist/browser/target-id.js +16 -0
- package/dist/browser/trash.js +21 -0
- package/dist/build-info.json +5 -0
- package/dist/canvas-host/a2ui/.bundle.hash +1 -0
- package/dist/canvas-host/a2ui/a2ui.bundle.js +17768 -0
- package/dist/canvas-host/a2ui/index.html +307 -0
- package/dist/canvas-host/a2ui.js +185 -0
- package/dist/canvas-host/server.js +380 -0
- package/dist/channel-web.js +8 -0
- package/dist/channels/ack-reactions.js +56 -0
- package/dist/channels/allowlist-match.js +3 -0
- package/dist/channels/allowlists/resolve-utils.js +37 -0
- package/dist/channels/channel-config.js +131 -0
- package/dist/channels/chat-type.js +12 -0
- package/dist/channels/command-gating.js +24 -0
- package/dist/channels/conversation-label.js +48 -0
- package/dist/channels/dock.js +344 -0
- package/dist/channels/location.js +44 -0
- package/dist/channels/logging.js +13 -0
- package/dist/channels/mention-gating.js +26 -0
- package/dist/channels/plugins/actions/discord/handle-action.guild-admin.js +328 -0
- package/dist/channels/plugins/actions/discord/handle-action.js +165 -0
- package/dist/channels/plugins/actions/discord.js +93 -0
- package/dist/channels/plugins/actions/signal.js +115 -0
- package/dist/channels/plugins/actions/telegram.js +95 -0
- package/dist/channels/plugins/agent-tools/whatsapp-login.js +63 -0
- package/dist/channels/plugins/allowlist-match.js +1 -0
- package/dist/channels/plugins/bluebubbles-actions.js +16 -0
- package/dist/channels/plugins/catalog.js +216 -0
- package/dist/channels/plugins/channel-config.js +1 -0
- package/dist/channels/plugins/config-helpers.js +87 -0
- package/dist/channels/plugins/config-schema.js +8 -0
- package/dist/channels/plugins/config-writes.js +21 -0
- package/dist/channels/plugins/directory-config.js +185 -0
- package/dist/channels/plugins/group-mentions.js +267 -0
- package/dist/channels/plugins/helpers.js +12 -0
- package/dist/channels/plugins/index.js +51 -0
- package/dist/channels/plugins/load.js +22 -0
- package/dist/channels/plugins/media-limits.js +15 -0
- package/dist/channels/plugins/message-action-names.js +50 -0
- package/dist/channels/plugins/message-actions.js +35 -0
- package/dist/channels/plugins/normalize/discord.js +18 -0
- package/dist/channels/plugins/normalize/imessage.js +36 -0
- package/dist/channels/plugins/normalize/signal.js +52 -0
- package/dist/channels/plugins/normalize/slack.js +19 -0
- package/dist/channels/plugins/normalize/telegram.js +31 -0
- package/dist/channels/plugins/normalize/whatsapp.js +17 -0
- package/dist/channels/plugins/onboarding/channel-access.js +68 -0
- package/dist/channels/plugins/onboarding/discord.js +413 -0
- package/dist/channels/plugins/onboarding/helpers.js +33 -0
- package/dist/channels/plugins/onboarding/imessage.js +231 -0
- package/dist/channels/plugins/onboarding/signal.js +262 -0
- package/dist/channels/plugins/onboarding/slack.js +470 -0
- package/dist/channels/plugins/onboarding/telegram.js +281 -0
- package/dist/channels/plugins/onboarding/whatsapp.js +286 -0
- package/dist/channels/plugins/onboarding-types.js +1 -0
- package/dist/channels/plugins/outbound/discord.js +29 -0
- package/dist/channels/plugins/outbound/imessage.js +38 -0
- package/dist/channels/plugins/outbound/load.js +28 -0
- package/dist/channels/plugins/outbound/signal.js +36 -0
- package/dist/channels/plugins/outbound/slack.js +27 -0
- package/dist/channels/plugins/outbound/telegram.js +91 -0
- package/dist/channels/plugins/outbound/whatsapp.js +76 -0
- package/dist/channels/plugins/pairing-message.js +1 -0
- package/dist/channels/plugins/pairing.js +44 -0
- package/dist/channels/plugins/setup-helpers.js +89 -0
- package/dist/channels/plugins/slack.actions.js +158 -0
- package/dist/channels/plugins/status-issues/bluebubbles.js +76 -0
- package/dist/channels/plugins/status-issues/discord.js +115 -0
- package/dist/channels/plugins/status-issues/shared.js +23 -0
- package/dist/channels/plugins/status-issues/telegram.js +100 -0
- package/dist/channels/plugins/status-issues/whatsapp.js +52 -0
- package/dist/channels/plugins/status.js +26 -0
- package/dist/channels/plugins/types.adapters.js +1 -0
- package/dist/channels/plugins/types.core.js +1 -0
- package/dist/channels/plugins/types.js +1 -0
- package/dist/channels/plugins/types.plugin.js +1 -0
- package/dist/channels/plugins/whatsapp-heartbeat.js +56 -0
- package/dist/channels/registry.js +153 -0
- package/dist/channels/reply-prefix.js +21 -0
- package/dist/channels/sender-identity.js +30 -0
- package/dist/channels/sender-label.js +38 -0
- package/dist/channels/session.js +26 -0
- package/dist/channels/targets.js +27 -0
- package/dist/channels/typing.js +17 -0
- package/dist/channels/web/index.js +2 -0
- package/dist/cli/acp-cli.js +61 -0
- package/dist/cli/argv.js +119 -0
- package/dist/cli/banner.js +94 -0
- package/dist/cli/browser-cli-actions-input/register.element.js +200 -0
- package/dist/cli/browser-cli-actions-input/register.files-downloads.js +128 -0
- package/dist/cli/browser-cli-actions-input/register.form-wait-eval.js +108 -0
- package/dist/cli/browser-cli-actions-input/register.js +10 -0
- package/dist/cli/browser-cli-actions-input/register.navigation.js +63 -0
- package/dist/cli/browser-cli-actions-input/shared.js +50 -0
- package/dist/cli/browser-cli-actions-input.js +1 -0
- package/dist/cli/browser-cli-actions-observe.js +82 -0
- package/dist/cli/browser-cli-debug.js +148 -0
- package/dist/cli/browser-cli-examples.js +33 -0
- package/dist/cli/browser-cli-extension.js +98 -0
- package/dist/cli/browser-cli-inspect.js +130 -0
- package/dist/cli/browser-cli-manage.js +351 -0
- package/dist/cli/browser-cli-serve.js +91 -0
- package/dist/cli/browser-cli-shared.js +1 -0
- package/dist/cli/browser-cli-state.cookies-storage.js +168 -0
- package/dist/cli/browser-cli-state.js +261 -0
- package/dist/cli/browser-cli.js +38 -0
- package/dist/cli/channel-auth.js +49 -0
- package/dist/cli/channel-options.js +29 -0
- package/dist/cli/channels-cli.js +208 -0
- package/dist/cli/cli-utils.js +34 -0
- package/dist/cli/command-format.js +14 -0
- package/dist/cli/command-options.js +6 -0
- package/dist/cli/config-cli.js +295 -0
- package/dist/cli/cron-cli/register.cron-add.js +188 -0
- package/dist/cli/cron-cli/register.cron-edit.js +160 -0
- package/dist/cli/cron-cli/register.cron-simple.js +98 -0
- package/dist/cli/cron-cli/register.js +16 -0
- package/dist/cli/cron-cli/shared.js +178 -0
- package/dist/cli/cron-cli.js +1 -0
- package/dist/cli/daemon-cli/install.js +112 -0
- package/dist/cli/daemon-cli/lifecycle.js +265 -0
- package/dist/cli/daemon-cli/probe.js +28 -0
- package/dist/cli/daemon-cli/register.js +69 -0
- package/dist/cli/daemon-cli/response.js +20 -0
- package/dist/cli/daemon-cli/runners.js +3 -0
- package/dist/cli/daemon-cli/shared.js +162 -0
- package/dist/cli/daemon-cli/status.gather.js +170 -0
- package/dist/cli/daemon-cli/status.js +19 -0
- package/dist/cli/daemon-cli/status.print.js +241 -0
- package/dist/cli/daemon-cli/types.js +1 -0
- package/dist/cli/daemon-cli.js +2 -0
- package/dist/cli/deps.js +28 -0
- package/dist/cli/devices-cli.js +181 -0
- package/dist/cli/directory-cli.js +227 -0
- package/dist/cli/dns-cli.js +199 -0
- package/dist/cli/docs-cli.js +17 -0
- package/dist/cli/exec-approvals-cli.js +378 -0
- package/dist/cli/gateway-cli/call.js +25 -0
- package/dist/cli/gateway-cli/dev.js +99 -0
- package/dist/cli/gateway-cli/discover.js +88 -0
- package/dist/cli/gateway-cli/register.js +255 -0
- package/dist/cli/gateway-cli/run-loop.js +87 -0
- package/dist/cli/gateway-cli/run.js +265 -0
- package/dist/cli/gateway-cli/shared.js +101 -0
- package/dist/cli/gateway-cli.js +1 -0
- package/dist/cli/gateway-rpc.js +27 -0
- package/dist/cli/help-format.js +16 -0
- package/dist/cli/hooks-cli.js +709 -0
- package/dist/cli/logs-cli.js +222 -0
- package/dist/cli/memory-cli.js +527 -0
- package/dist/cli/models-cli.js +321 -0
- package/dist/cli/node-cli/daemon.js +481 -0
- package/dist/cli/node-cli/register.js +81 -0
- package/dist/cli/node-cli.js +1 -0
- package/dist/cli/nodes-camera.js +50 -0
- package/dist/cli/nodes-canvas.js +24 -0
- package/dist/cli/nodes-cli/a2ui-jsonl.js +81 -0
- package/dist/cli/nodes-cli/cli-utils.js +27 -0
- package/dist/cli/nodes-cli/format.js +35 -0
- package/dist/cli/nodes-cli/register.camera.js +193 -0
- package/dist/cli/nodes-cli/register.canvas.js +215 -0
- package/dist/cli/nodes-cli/register.invoke.js +303 -0
- package/dist/cli/nodes-cli/register.js +24 -0
- package/dist/cli/nodes-cli/register.location.js +64 -0
- package/dist/cli/nodes-cli/register.notify.js +51 -0
- package/dist/cli/nodes-cli/register.pairing.js +99 -0
- package/dist/cli/nodes-cli/register.screen.js +66 -0
- package/dist/cli/nodes-cli/register.status.js +328 -0
- package/dist/cli/nodes-cli/rpc.js +88 -0
- package/dist/cli/nodes-cli/types.js +1 -0
- package/dist/cli/nodes-cli.js +1 -0
- package/dist/cli/nodes-run.js +19 -0
- package/dist/cli/nodes-screen.js +35 -0
- package/dist/cli/outbound-send-deps.js +11 -0
- package/dist/cli/pairing-cli.js +115 -0
- package/dist/cli/parse-duration.js +28 -0
- package/dist/cli/parse-timeout.js +18 -0
- package/dist/cli/plugin-registry.js +24 -0
- package/dist/cli/plugins-cli.js +469 -0
- package/dist/cli/ports.js +101 -0
- package/dist/cli/profile-utils.js +17 -0
- package/dist/cli/profile.js +86 -0
- package/dist/cli/program/build-program.js +14 -0
- package/dist/cli/program/command-registry.js +148 -0
- package/dist/cli/program/config-guard.js +67 -0
- package/dist/cli/program/context.js +11 -0
- package/dist/cli/program/help.js +69 -0
- package/dist/cli/program/helpers.js +26 -0
- package/dist/cli/program/message/helpers.js +46 -0
- package/dist/cli/program/message/register.broadcast.js +11 -0
- package/dist/cli/program/message/register.discord-admin.js +119 -0
- package/dist/cli/program/message/register.emoji-sticker.js +43 -0
- package/dist/cli/program/message/register.permissions-search.js +22 -0
- package/dist/cli/program/message/register.pins.js +23 -0
- package/dist/cli/program/message/register.poll.js +13 -0
- package/dist/cli/program/message/register.reactions.js +21 -0
- package/dist/cli/program/message/register.read-edit-delete.js +30 -0
- package/dist/cli/program/message/register.send.js +17 -0
- package/dist/cli/program/message/register.thread.js +35 -0
- package/dist/cli/program/preaction.js +46 -0
- package/dist/cli/program/register.agent.js +162 -0
- package/dist/cli/program/register.configure.js +32 -0
- package/dist/cli/program/register.maintenance.js +91 -0
- package/dist/cli/program/register.message.js +54 -0
- package/dist/cli/program/register.onboard.js +120 -0
- package/dist/cli/program/register.setup.js +41 -0
- package/dist/cli/program/register.status-health-sessions.js +109 -0
- package/dist/cli/program/register.subclis.js +271 -0
- package/dist/cli/program.js +2 -0
- package/dist/cli/progress.js +165 -0
- package/dist/cli/prompt.js +17 -0
- package/dist/cli/route.js +29 -0
- package/dist/cli/run-main.js +100 -0
- package/dist/cli/sandbox-cli.js +98 -0
- package/dist/cli/security-cli.js +123 -0
- package/dist/cli/skills-cli.js +341 -0
- package/dist/cli/system-cli.js +98 -0
- package/dist/cli/tagline.js +208 -0
- package/dist/cli/tui-cli.js +44 -0
- package/dist/cli/update-cli.js +997 -0
- package/dist/cli/wait.js +8 -0
- package/dist/cli/webhooks-cli.js +140 -0
- package/dist/commands/agent/delivery.js +140 -0
- package/dist/commands/agent/run-context.js +27 -0
- package/dist/commands/agent/session-store.js +43 -0
- package/dist/commands/agent/session.js +74 -0
- package/dist/commands/agent/types.js +1 -0
- package/dist/commands/agent-via-gateway.js +119 -0
- package/dist/commands/agent.js +438 -0
- package/dist/commands/agents.bindings.js +126 -0
- package/dist/commands/agents.command-shared.js +18 -0
- package/dist/commands/agents.commands.add.js +293 -0
- package/dist/commands/agents.commands.delete.js +75 -0
- package/dist/commands/agents.commands.identity.js +168 -0
- package/dist/commands/agents.commands.list.js +98 -0
- package/dist/commands/agents.config.js +145 -0
- package/dist/commands/agents.js +6 -0
- package/dist/commands/agents.providers.js +140 -0
- package/dist/commands/auth-choice-options.js +165 -0
- package/dist/commands/auth-choice-prompt.js +36 -0
- package/dist/commands/auth-choice.api-key.js +34 -0
- package/dist/commands/auth-choice.apply.anthropic.js +77 -0
- package/dist/commands/auth-choice.apply.api-providers.js +502 -0
- package/dist/commands/auth-choice.apply.copilot-proxy.js +10 -0
- package/dist/commands/auth-choice.apply.github-copilot.js +47 -0
- package/dist/commands/auth-choice.apply.google-antigravity.js +10 -0
- package/dist/commands/auth-choice.apply.google-gemini-cli.js +10 -0
- package/dist/commands/auth-choice.apply.js +30 -0
- package/dist/commands/auth-choice.apply.minimax.js +72 -0
- package/dist/commands/auth-choice.apply.oauth.js +78 -0
- package/dist/commands/auth-choice.apply.openai.js +117 -0
- package/dist/commands/auth-choice.apply.plugin-provider.js +140 -0
- package/dist/commands/auth-choice.apply.qwen-portal.js +10 -0
- package/dist/commands/auth-choice.default-model.js +12 -0
- package/dist/commands/auth-choice.js +3 -0
- package/dist/commands/auth-choice.model-check.js +61 -0
- package/dist/commands/auth-choice.preferred-provider.js +32 -0
- package/dist/commands/auth-token.js +32 -0
- package/dist/commands/channels/add-mutators.js +49 -0
- package/dist/commands/channels/add.js +210 -0
- package/dist/commands/channels/capabilities.js +439 -0
- package/dist/commands/channels/list.js +145 -0
- package/dist/commands/channels/logs.js +85 -0
- package/dist/commands/channels/remove.js +114 -0
- package/dist/commands/channels/resolve.js +107 -0
- package/dist/commands/channels/shared.js +41 -0
- package/dist/commands/channels/status.js +238 -0
- package/dist/commands/channels.js +7 -0
- package/dist/commands/chutes-oauth.js +144 -0
- package/dist/commands/cleanup-utils.js +74 -0
- package/dist/commands/configure.channels.js +52 -0
- package/dist/commands/configure.commands.js +8 -0
- package/dist/commands/configure.daemon.js +101 -0
- package/dist/commands/configure.gateway-auth.js +64 -0
- package/dist/commands/configure.gateway.js +159 -0
- package/dist/commands/configure.js +4 -0
- package/dist/commands/configure.shared.js +49 -0
- package/dist/commands/configure.wizard.js +466 -0
- package/dist/commands/daemon-install-helpers.js +51 -0
- package/dist/commands/daemon-runtime.js +11 -0
- package/dist/commands/dashboard.js +47 -0
- package/dist/commands/docs.js +148 -0
- package/dist/commands/doctor-auth.js +236 -0
- package/dist/commands/doctor-config-flow.js +188 -0
- package/dist/commands/doctor-format.js +85 -0
- package/dist/commands/doctor-gateway-daemon-flow.js +201 -0
- package/dist/commands/doctor-gateway-health.js +43 -0
- package/dist/commands/doctor-gateway-services.js +209 -0
- package/dist/commands/doctor-install.js +27 -0
- package/dist/commands/doctor-legacy-config.js +42 -0
- package/dist/commands/doctor-platform-notes.js +66 -0
- package/dist/commands/doctor-prompter.js +64 -0
- package/dist/commands/doctor-sandbox.js +207 -0
- package/dist/commands/doctor-security.js +141 -0
- package/dist/commands/doctor-state-integrity.js +332 -0
- package/dist/commands/doctor-state-migrations.js +1 -0
- package/dist/commands/doctor-ui.js +119 -0
- package/dist/commands/doctor-update.js +65 -0
- package/dist/commands/doctor-workspace-status.js +56 -0
- package/dist/commands/doctor-workspace.js +69 -0
- package/dist/commands/doctor.js +252 -0
- package/dist/commands/gateway-status/helpers.js +200 -0
- package/dist/commands/gateway-status.js +300 -0
- package/dist/commands/google-gemini-model-default.js +33 -0
- package/dist/commands/health-format.js +37 -0
- package/dist/commands/health.js +595 -0
- package/dist/commands/message-format.js +345 -0
- package/dist/commands/message.js +45 -0
- package/dist/commands/model-picker.js +420 -0
- package/dist/commands/models/aliases.js +92 -0
- package/dist/commands/models/auth-order.js +95 -0
- package/dist/commands/models/auth.js +334 -0
- package/dist/commands/models/fallbacks.js +126 -0
- package/dist/commands/models/image-fallbacks.js +126 -0
- package/dist/commands/models/list.auth-overview.js +93 -0
- package/dist/commands/models/list.configured.js +80 -0
- package/dist/commands/models/list.format.js +41 -0
- package/dist/commands/models/list.js +2 -0
- package/dist/commands/models/list.list-command.js +99 -0
- package/dist/commands/models/list.probe.js +348 -0
- package/dist/commands/models/list.registry.js +81 -0
- package/dist/commands/models/list.status-command.js +420 -0
- package/dist/commands/models/list.table.js +58 -0
- package/dist/commands/models/list.types.js +1 -0
- package/dist/commands/models/scan.js +293 -0
- package/dist/commands/models/set-image.js +28 -0
- package/dist/commands/models/set.js +28 -0
- package/dist/commands/models/shared.js +80 -0
- package/dist/commands/models.js +10 -0
- package/dist/commands/node-daemon-install-helpers.js +35 -0
- package/dist/commands/node-daemon-runtime.js +6 -0
- package/dist/commands/oauth-env.js +16 -0
- package/dist/commands/oauth-flow.js +33 -0
- package/dist/commands/onboard-auth.config-core.js +386 -0
- package/dist/commands/onboard-auth.config-minimax.js +176 -0
- package/dist/commands/onboard-auth.config-opencode.js +40 -0
- package/dist/commands/onboard-auth.credentials.js +147 -0
- package/dist/commands/onboard-auth.js +7 -0
- package/dist/commands/onboard-auth.models.js +100 -0
- package/dist/commands/onboard-channels.js +527 -0
- package/dist/commands/onboard-helpers.js +359 -0
- package/dist/commands/onboard-hooks.js +59 -0
- package/dist/commands/onboard-interactive.js +17 -0
- package/dist/commands/onboard-non-interactive/api-keys.js +45 -0
- package/dist/commands/onboard-non-interactive/local/auth-choice.js +333 -0
- package/dist/commands/onboard-non-interactive/local/daemon-install.js +45 -0
- package/dist/commands/onboard-non-interactive/local/gateway-config.js +86 -0
- package/dist/commands/onboard-non-interactive/local/output.js +14 -0
- package/dist/commands/onboard-non-interactive/local/skills-config.js +21 -0
- package/dist/commands/onboard-non-interactive/local/workspace.js +7 -0
- package/dist/commands/onboard-non-interactive/local.js +105 -0
- package/dist/commands/onboard-non-interactive/remote.js +41 -0
- package/dist/commands/onboard-non-interactive.js +25 -0
- package/dist/commands/onboard-remote.js +121 -0
- package/dist/commands/onboard-skills.js +146 -0
- package/dist/commands/onboard-types.js +1 -0
- package/dist/commands/onboard.js +62 -0
- package/dist/commands/onboarding/__tests__/test-utils.js +20 -0
- package/dist/commands/onboarding/plugin-install.js +162 -0
- package/dist/commands/onboarding/registry.js +13 -0
- package/dist/commands/onboarding/types.js +1 -0
- package/dist/commands/openai-codex-model-default.js +44 -0
- package/dist/commands/opencode-zen-model-default.js +35 -0
- package/dist/commands/reset.js +134 -0
- package/dist/commands/sandbox-display.js +82 -0
- package/dist/commands/sandbox-explain.js +226 -0
- package/dist/commands/sandbox-formatters.js +31 -0
- package/dist/commands/sandbox.js +119 -0
- package/dist/commands/sessions.js +211 -0
- package/dist/commands/setup.js +60 -0
- package/dist/commands/signal-install.js +132 -0
- package/dist/commands/status-all/agents.js +62 -0
- package/dist/commands/status-all/channels.js +354 -0
- package/dist/commands/status-all/diagnosis.js +156 -0
- package/dist/commands/status-all/format.js +41 -0
- package/dist/commands/status-all/gateway.js +158 -0
- package/dist/commands/status-all/report-lines.js +135 -0
- package/dist/commands/status-all.js +409 -0
- package/dist/commands/status.agent-local.js +68 -0
- package/dist/commands/status.command.js +476 -0
- package/dist/commands/status.daemon.js +30 -0
- package/dist/commands/status.format.js +52 -0
- package/dist/commands/status.gateway-probe.js +35 -0
- package/dist/commands/status.js +2 -0
- package/dist/commands/status.link-channel.js +39 -0
- package/dist/commands/status.scan.js +140 -0
- package/dist/commands/status.summary.js +172 -0
- package/dist/commands/status.types.js +1 -0
- package/dist/commands/status.update.js +112 -0
- package/dist/commands/systemd-linger.js +77 -0
- package/dist/commands/uninstall.js +161 -0
- package/dist/config/agent-dirs.js +79 -0
- package/dist/config/agent-limits.js +16 -0
- package/dist/config/cache-utils.js +22 -0
- package/dist/config/channel-capabilities.js +42 -0
- package/dist/config/commands.js +38 -0
- package/dist/config/config-paths.js +75 -0
- package/dist/config/config.js +7 -0
- package/dist/config/defaults.js +350 -0
- package/dist/config/env-substitution.js +117 -0
- package/dist/config/env-vars.js +21 -0
- package/dist/config/group-policy.js +54 -0
- package/dist/config/includes.js +183 -0
- package/dist/config/io.js +488 -0
- package/dist/config/legacy-migrate.js +13 -0
- package/dist/config/legacy.js +34 -0
- package/dist/config/legacy.migrations.js +8 -0
- package/dist/config/legacy.migrations.part-1.js +308 -0
- package/dist/config/legacy.migrations.part-2.js +343 -0
- package/dist/config/legacy.migrations.part-3.js +161 -0
- package/dist/config/legacy.rules.js +116 -0
- package/dist/config/legacy.shared.js +76 -0
- package/dist/config/logging.js +10 -0
- package/dist/config/markdown-tables.js +36 -0
- package/dist/config/merge-config.js +22 -0
- package/dist/config/merge-patch.js +22 -0
- package/dist/config/normalize-paths.js +54 -0
- package/dist/config/paths.js +90 -0
- package/dist/config/plugin-auto-enable.js +338 -0
- package/dist/config/port-defaults.js +30 -0
- package/dist/config/runtime-overrides.js +50 -0
- package/dist/config/schema.js +789 -0
- package/dist/config/sessions/group.js +83 -0
- package/dist/config/sessions/main-session.js +43 -0
- package/dist/config/sessions/metadata.js +114 -0
- package/dist/config/sessions/paths.js +46 -0
- package/dist/config/sessions/reset.js +103 -0
- package/dist/config/sessions/session-key.js +34 -0
- package/dist/config/sessions/store.js +346 -0
- package/dist/config/sessions/transcript.js +113 -0
- package/dist/config/sessions/types.js +11 -0
- package/dist/config/sessions.js +9 -0
- package/dist/config/talk.js +31 -0
- package/dist/config/telegram-custom-commands.js +70 -0
- package/dist/config/types.agent-defaults.js +1 -0
- package/dist/config/types.agents.js +1 -0
- package/dist/config/types.approvals.js +1 -0
- package/dist/config/types.auth.js +1 -0
- package/dist/config/types.base.js +1 -0
- package/dist/config/types.browser.js +1 -0
- package/dist/config/types.channels.js +1 -0
- package/dist/config/types.clawdbot.js +1 -0
- package/dist/config/types.cron.js +1 -0
- package/dist/config/types.discord.js +1 -0
- package/dist/config/types.gateway.js +1 -0
- package/dist/config/types.googlechat.js +1 -0
- package/dist/config/types.hooks.js +1 -0
- package/dist/config/types.imessage.js +1 -0
- package/dist/config/types.js +29 -0
- package/dist/config/types.messages.js +1 -0
- package/dist/config/types.models.js +1 -0
- package/dist/config/types.msteams.js +1 -0
- package/dist/config/types.node-host.js +1 -0
- package/dist/config/types.plugins.js +1 -0
- package/dist/config/types.queue.js +1 -0
- package/dist/config/types.sandbox.js +1 -0
- package/dist/config/types.signal.js +1 -0
- package/dist/config/types.skills.js +1 -0
- package/dist/config/types.slack.js +1 -0
- package/dist/config/types.telegram.js +1 -0
- package/dist/config/types.tools.js +1 -0
- package/dist/config/types.tts.js +1 -0
- package/dist/config/types.whatsapp.js +1 -0
- package/dist/config/validation.js +297 -0
- package/dist/config/version.js +30 -0
- package/dist/config/zod-schema.agent-defaults.js +156 -0
- package/dist/config/zod-schema.agent-runtime.js +487 -0
- package/dist/config/zod-schema.agents.js +46 -0
- package/dist/config/zod-schema.approvals.js +25 -0
- package/dist/config/zod-schema.channels.js +9 -0
- package/dist/config/zod-schema.core.js +452 -0
- package/dist/config/zod-schema.hooks.js +124 -0
- package/dist/config/zod-schema.js +539 -0
- package/dist/config/zod-schema.providers-core.js +687 -0
- package/dist/config/zod-schema.providers-whatsapp.js +123 -0
- package/dist/config/zod-schema.providers.js +29 -0
- package/dist/config/zod-schema.session.js +100 -0
- package/dist/control-ui/assets/index-08nzABV3.css +1 -0
- package/dist/control-ui/assets/index-DQcOTEYz.js +3119 -0
- package/dist/control-ui/assets/index-DQcOTEYz.js.map +1 -0
- package/dist/control-ui/index.html +15 -0
- package/dist/cron/isolated-agent/delivery-target.js +59 -0
- package/dist/cron/isolated-agent/helpers.js +49 -0
- package/dist/cron/isolated-agent/run.js +374 -0
- package/dist/cron/isolated-agent/session.js +27 -0
- package/dist/cron/isolated-agent.js +1 -0
- package/dist/cron/normalize.js +111 -0
- package/dist/cron/parse.js +24 -0
- package/dist/cron/payload-migration.js +29 -0
- package/dist/cron/run-log.js +70 -0
- package/dist/cron/schedule.js +24 -0
- package/dist/cron/service/jobs.js +174 -0
- package/dist/cron/service/locked.js +12 -0
- package/dist/cron/service/normalize.js +55 -0
- package/dist/cron/service/ops.js +118 -0
- package/dist/cron/service/state.js +10 -0
- package/dist/cron/service/store.js +57 -0
- package/dist/cron/service/timer.js +217 -0
- package/dist/cron/service.js +35 -0
- package/dist/cron/store.js +43 -0
- package/dist/cron/types.js +1 -0
- package/dist/daemon/constants.js +71 -0
- package/dist/daemon/diagnostics.js +38 -0
- package/dist/daemon/inspect.js +313 -0
- package/dist/daemon/launchd-plist.js +68 -0
- package/dist/daemon/launchd.js +316 -0
- package/dist/daemon/legacy.js +44 -0
- package/dist/daemon/node-service.js +53 -0
- package/dist/daemon/paths.js +35 -0
- package/dist/daemon/program-args.js +220 -0
- package/dist/daemon/runtime-parse.js +17 -0
- package/dist/daemon/runtime-paths.js +109 -0
- package/dist/daemon/schtasks.js +303 -0
- package/dist/daemon/service-audit.js +270 -0
- package/dist/daemon/service-env.js +128 -0
- package/dist/daemon/service-runtime.js +1 -0
- package/dist/daemon/service.js +90 -0
- package/dist/daemon/systemd-hints.js +24 -0
- package/dist/daemon/systemd-linger.js +59 -0
- package/dist/daemon/systemd-unit.js +108 -0
- package/dist/daemon/systemd.js +318 -0
- package/dist/discord/accounts.js +52 -0
- package/dist/discord/api.js +93 -0
- package/dist/discord/audit.js +94 -0
- package/dist/discord/chunk.js +200 -0
- package/dist/discord/directory-live.js +76 -0
- package/dist/discord/gateway-logging.js +48 -0
- package/dist/discord/index.js +2 -0
- package/dist/discord/monitor/allow-list.js +230 -0
- package/dist/discord/monitor/exec-approvals.js +406 -0
- package/dist/discord/monitor/format.js +27 -0
- package/dist/discord/monitor/listeners.js +240 -0
- package/dist/discord/monitor/message-handler.js +101 -0
- package/dist/discord/monitor/message-handler.preflight.js +438 -0
- package/dist/discord/monitor/message-handler.preflight.types.js +1 -0
- package/dist/discord/monitor/message-handler.process.js +344 -0
- package/dist/discord/monitor/message-utils.js +189 -0
- package/dist/discord/monitor/native-command.js +705 -0
- package/dist/discord/monitor/presence-cache.js +38 -0
- package/dist/discord/monitor/provider.js +551 -0
- package/dist/discord/monitor/reply-context.js +29 -0
- package/dist/discord/monitor/reply-delivery.js +57 -0
- package/dist/discord/monitor/system-events.js +53 -0
- package/dist/discord/monitor/threading.js +201 -0
- package/dist/discord/monitor/typing.js +8 -0
- package/dist/discord/monitor.gateway.js +54 -0
- package/dist/discord/monitor.js +7 -0
- package/dist/discord/probe.js +124 -0
- package/dist/discord/resolve-channels.js +239 -0
- package/dist/discord/resolve-users.js +114 -0
- package/dist/discord/send.channels.js +74 -0
- package/dist/discord/send.emojis-stickers.js +48 -0
- package/dist/discord/send.guild.js +79 -0
- package/dist/discord/send.js +7 -0
- package/dist/discord/send.messages.js +91 -0
- package/dist/discord/send.outbound.js +87 -0
- package/dist/discord/send.permissions.js +116 -0
- package/dist/discord/send.reactions.js +71 -0
- package/dist/discord/send.shared.js +249 -0
- package/dist/discord/send.types.js +16 -0
- package/dist/discord/targets.js +43 -0
- package/dist/discord/token.js +29 -0
- package/dist/entry.js +127 -0
- package/dist/gateway/assistant-identity.js +64 -0
- package/dist/gateway/auth.js +194 -0
- package/dist/gateway/boot.js +72 -0
- package/dist/gateway/call.js +182 -0
- package/dist/gateway/chat-abort.js +55 -0
- package/dist/gateway/chat-attachments.js +133 -0
- package/dist/gateway/chat-sanitize.js +103 -0
- package/dist/gateway/client.js +339 -0
- package/dist/gateway/config-reload.js +295 -0
- package/dist/gateway/control-ui-shared.js +48 -0
- package/dist/gateway/control-ui.js +258 -0
- package/dist/gateway/device-auth.js +19 -0
- package/dist/gateway/exec-approval-manager.js +40 -0
- package/dist/gateway/hooks-mapping.js +287 -0
- package/dist/gateway/hooks.js +169 -0
- package/dist/gateway/http-common.js +43 -0
- package/dist/gateway/http-utils.js +51 -0
- package/dist/gateway/live-image-probe.js +156 -0
- package/dist/gateway/net.js +176 -0
- package/dist/gateway/node-command-policy.js +106 -0
- package/dist/gateway/node-registry.js +142 -0
- package/dist/gateway/open-responses.schema.js +285 -0
- package/dist/gateway/openai-http.js +327 -0
- package/dist/gateway/openresponses-http.js +693 -0
- package/dist/gateway/probe.js +87 -0
- package/dist/gateway/protocol/client-info.js +46 -0
- package/dist/gateway/protocol/index.js +109 -0
- package/dist/gateway/protocol/schema/agent.js +73 -0
- package/dist/gateway/protocol/schema/agents-models-skills.js +47 -0
- package/dist/gateway/protocol/schema/channels.js +74 -0
- package/dist/gateway/protocol/schema/config.js +44 -0
- package/dist/gateway/protocol/schema/cron.js +159 -0
- package/dist/gateway/protocol/schema/devices.js +36 -0
- package/dist/gateway/protocol/schema/error-codes.js +14 -0
- package/dist/gateway/protocol/schema/exec-approvals.js +66 -0
- package/dist/gateway/protocol/schema/frames.js +101 -0
- package/dist/gateway/protocol/schema/logs-chat.js +53 -0
- package/dist/gateway/protocol/schema/nodes.js +54 -0
- package/dist/gateway/protocol/schema/primitives.js +10 -0
- package/dist/gateway/protocol/schema/protocol-schemas.js +117 -0
- package/dist/gateway/protocol/schema/sessions.js +69 -0
- package/dist/gateway/protocol/schema/snapshot.js +40 -0
- package/dist/gateway/protocol/schema/types.js +1 -0
- package/dist/gateway/protocol/schema/wizard.js +76 -0
- package/dist/gateway/protocol/schema.js +16 -0
- package/dist/gateway/server/__tests__/test-utils.js +24 -0
- package/dist/gateway/server/close-reason.js +10 -0
- package/dist/gateway/server/health-state.js +69 -0
- package/dist/gateway/server/hooks.js +85 -0
- package/dist/gateway/server/http-listen.js +26 -0
- package/dist/gateway/server/plugins-http.js +45 -0
- package/dist/gateway/server/tls.js +4 -0
- package/dist/gateway/server/ws-connection/message-handler.js +771 -0
- package/dist/gateway/server/ws-connection.js +191 -0
- package/dist/gateway/server/ws-types.js +1 -0
- package/dist/gateway/server-broadcast.js +73 -0
- package/dist/gateway/server-browser.js +11 -0
- package/dist/gateway/server-channels.js +242 -0
- package/dist/gateway/server-chat.js +195 -0
- package/dist/gateway/server-close.js +99 -0
- package/dist/gateway/server-constants.js +29 -0
- package/dist/gateway/server-cron.js +84 -0
- package/dist/gateway/server-discovery-runtime.js +69 -0
- package/dist/gateway/server-discovery.js +62 -0
- package/dist/gateway/server-http.js +224 -0
- package/dist/gateway/server-lanes.js +7 -0
- package/dist/gateway/server-maintenance.js +68 -0
- package/dist/gateway/server-methods/agent-job.js +104 -0
- package/dist/gateway/server-methods/agent.js +360 -0
- package/dist/gateway/server-methods/agents.js +14 -0
- package/dist/gateway/server-methods/channels.js +218 -0
- package/dist/gateway/server-methods/chat.js +520 -0
- package/dist/gateway/server-methods/config.js +269 -0
- package/dist/gateway/server-methods/connect.js +6 -0
- package/dist/gateway/server-methods/cron.js +109 -0
- package/dist/gateway/server-methods/devices.js +95 -0
- package/dist/gateway/server-methods/exec-approval.js +78 -0
- package/dist/gateway/server-methods/exec-approvals.js +141 -0
- package/dist/gateway/server-methods/health.js +29 -0
- package/dist/gateway/server-methods/logs.js +143 -0
- package/dist/gateway/server-methods/models.js +16 -0
- package/dist/gateway/server-methods/nodes.helpers.js +32 -0
- package/dist/gateway/server-methods/nodes.js +426 -0
- package/dist/gateway/server-methods/send.js +280 -0
- package/dist/gateway/server-methods/sessions.js +322 -0
- package/dist/gateway/server-methods/skills.js +137 -0
- package/dist/gateway/server-methods/system.js +122 -0
- package/dist/gateway/server-methods/talk.js +20 -0
- package/dist/gateway/server-methods/tts.js +132 -0
- package/dist/gateway/server-methods/types.js +1 -0
- package/dist/gateway/server-methods/update.js +96 -0
- package/dist/gateway/server-methods/usage.js +63 -0
- package/dist/gateway/server-methods/voicewake.js +30 -0
- package/dist/gateway/server-methods/web.js +73 -0
- package/dist/gateway/server-methods/wizard.js +100 -0
- package/dist/gateway/server-methods-list.js +107 -0
- package/dist/gateway/server-methods.js +192 -0
- package/dist/gateway/server-mobile-nodes.js +10 -0
- package/dist/gateway/server-model-catalog.js +11 -0
- package/dist/gateway/server-node-events-types.js +1 -0
- package/dist/gateway/server-node-events.js +206 -0
- package/dist/gateway/server-node-subscriptions.js +93 -0
- package/dist/gateway/server-plugins.js +36 -0
- package/dist/gateway/server-reload-handlers.js +112 -0
- package/dist/gateway/server-restart-sentinel.js +84 -0
- package/dist/gateway/server-runtime-config.js +66 -0
- package/dist/gateway/server-runtime-state.js +113 -0
- package/dist/gateway/server-session-key.js +20 -0
- package/dist/gateway/server-shared.js +1 -0
- package/dist/gateway/server-startup-log.js +27 -0
- package/dist/gateway/server-startup.js +119 -0
- package/dist/gateway/server-tailscale.js +41 -0
- package/dist/gateway/server-utils.js +35 -0
- package/dist/gateway/server-wizard-sessions.js +19 -0
- package/dist/gateway/server-ws-runtime.js +20 -0
- package/dist/gateway/server.impl.js +436 -0
- package/dist/gateway/server.js +2 -0
- package/dist/gateway/session-utils.fs.js +343 -0
- package/dist/gateway/session-utils.js +534 -0
- package/dist/gateway/session-utils.types.js +1 -0
- package/dist/gateway/sessions-patch.js +298 -0
- package/dist/gateway/sessions-resolve.js +103 -0
- package/dist/gateway/test-helpers.e2e.js +101 -0
- package/dist/gateway/test-helpers.mocks.js +502 -0
- package/dist/gateway/test-helpers.openai-mock.js +163 -0
- package/dist/gateway/test-helpers.server.js +369 -0
- package/dist/gateway/tools-invoke-http.js +178 -0
- package/dist/gateway/ws-log.js +336 -0
- package/dist/gateway/ws-logging.js +8 -0
- package/dist/globals.js +41 -0
- package/dist/hooks/bundled/boot-md/HOOK.md +19 -0
- package/dist/hooks/bundled/boot-md/handler.js +14 -0
- package/dist/hooks/bundled/command-logger/HOOK.md +122 -0
- package/dist/hooks/bundled/command-logger/handler.js +55 -0
- package/dist/hooks/bundled/session-memory/HOOK.md +86 -0
- package/dist/hooks/bundled/session-memory/handler.js +140 -0
- package/dist/hooks/bundled/soul-evil/HOOK.md +71 -0
- package/dist/hooks/bundled/soul-evil/handler.js +36 -0
- package/dist/hooks/bundled-dir.js +42 -0
- package/dist/hooks/config.js +122 -0
- package/dist/hooks/frontmatter.js +105 -0
- package/dist/hooks/gmail-ops.js +243 -0
- package/dist/hooks/gmail-setup-utils.js +310 -0
- package/dist/hooks/gmail-watcher.js +191 -0
- package/dist/hooks/gmail.js +179 -0
- package/dist/hooks/hooks-status.js +135 -0
- package/dist/hooks/hooks.js +2 -0
- package/dist/hooks/install.js +327 -0
- package/dist/hooks/installs.js +24 -0
- package/dist/hooks/internal-hooks.js +121 -0
- package/dist/hooks/llm-slug-generator.js +70 -0
- package/dist/hooks/loader.js +110 -0
- package/dist/hooks/plugin-hooks.js +91 -0
- package/dist/hooks/soul-evil.js +186 -0
- package/dist/hooks/types.js +1 -0
- package/dist/hooks/workspace.js +206 -0
- package/dist/imessage/accounts.js +61 -0
- package/dist/imessage/client.js +174 -0
- package/dist/imessage/index.js +3 -0
- package/dist/imessage/monitor/deliver.js +45 -0
- package/dist/imessage/monitor/monitor-provider.js +592 -0
- package/dist/imessage/monitor/runtime.js +12 -0
- package/dist/imessage/monitor/types.js +1 -0
- package/dist/imessage/monitor.js +1 -0
- package/dist/imessage/probe.js +68 -0
- package/dist/imessage/send.js +101 -0
- package/dist/imessage/targets.js +172 -0
- package/dist/index.js +49 -0
- package/dist/infra/agent-events.js +54 -0
- package/dist/infra/archive.js +97 -0
- package/dist/infra/backoff.js +19 -0
- package/dist/infra/binaries.js +9 -0
- package/dist/infra/bonjour-ciao.js +10 -0
- package/dist/infra/bonjour-discovery.js +445 -0
- package/dist/infra/bonjour-errors.js +7 -0
- package/dist/infra/bonjour.js +209 -0
- package/dist/infra/brew.js +55 -0
- package/dist/infra/canvas-host-url.js +52 -0
- package/dist/infra/channel-activity.js +32 -0
- package/dist/infra/channel-summary.js +183 -0
- package/dist/infra/channels-status-issues.js +15 -0
- package/dist/infra/clawdbot-root.js +56 -0
- package/dist/infra/clipboard.js +24 -0
- package/dist/infra/control-ui-assets.js +98 -0
- package/dist/infra/dedupe.js +47 -0
- package/dist/infra/device-auth-store.js +97 -0
- package/dist/infra/device-identity.js +149 -0
- package/dist/infra/device-pairing.js +401 -0
- package/dist/infra/diagnostic-events.js +28 -0
- package/dist/infra/diagnostic-flags.js +66 -0
- package/dist/infra/dotenv.js +15 -0
- package/dist/infra/env-file.js +43 -0
- package/dist/infra/env.js +34 -0
- package/dist/infra/errors.js +35 -0
- package/dist/infra/exec-approval-forwarder.js +212 -0
- package/dist/infra/exec-approvals.js +1040 -0
- package/dist/infra/exec-host.js +75 -0
- package/dist/infra/exec-safety.js +31 -0
- package/dist/infra/fetch.js +58 -0
- package/dist/infra/format-duration.js +20 -0
- package/dist/infra/gateway-lock.js +202 -0
- package/dist/infra/git-commit.js +106 -0
- package/dist/infra/heartbeat-events.js +34 -0
- package/dist/infra/heartbeat-runner.js +743 -0
- package/dist/infra/heartbeat-visibility.js +31 -0
- package/dist/infra/heartbeat-wake.js +61 -0
- package/dist/infra/is-main.js +33 -0
- package/dist/infra/json-file.js +21 -0
- package/dist/infra/machine-name.js +43 -0
- package/dist/infra/net/ssrf.js +199 -0
- package/dist/infra/node-pairing.js +228 -0
- package/dist/infra/node-shell.js +9 -0
- package/dist/infra/os-summary.js +23 -0
- package/dist/infra/outbound/agent-delivery.js +86 -0
- package/dist/infra/outbound/channel-adapters.js +16 -0
- package/dist/infra/outbound/channel-selection.js +62 -0
- package/dist/infra/outbound/channel-target.js +28 -0
- package/dist/infra/outbound/deliver.js +253 -0
- package/dist/infra/outbound/directory-cache.js +44 -0
- package/dist/infra/outbound/envelope.js +20 -0
- package/dist/infra/outbound/format.js +66 -0
- package/dist/infra/outbound/message-action-runner.js +766 -0
- package/dist/infra/outbound/message-action-spec.js +82 -0
- package/dist/infra/outbound/message.js +189 -0
- package/dist/infra/outbound/outbound-policy.js +122 -0
- package/dist/infra/outbound/outbound-send-service.js +123 -0
- package/dist/infra/outbound/outbound-session.js +744 -0
- package/dist/infra/outbound/payloads.js +78 -0
- package/dist/infra/outbound/target-errors.js +23 -0
- package/dist/infra/outbound/target-normalization.js +27 -0
- package/dist/infra/outbound/target-resolver.js +348 -0
- package/dist/infra/outbound/targets.js +213 -0
- package/dist/infra/path-env.js +93 -0
- package/dist/infra/ports-format.js +53 -0
- package/dist/infra/ports-inspect.js +240 -0
- package/dist/infra/ports-lsof.js +33 -0
- package/dist/infra/ports-types.js +1 -0
- package/dist/infra/ports.js +75 -0
- package/dist/infra/provider-usage.auth.js +188 -0
- package/dist/infra/provider-usage.fetch.antigravity.js +212 -0
- package/dist/infra/provider-usage.fetch.claude.js +129 -0
- package/dist/infra/provider-usage.fetch.codex.js +62 -0
- package/dist/infra/provider-usage.fetch.copilot.js +42 -0
- package/dist/infra/provider-usage.fetch.gemini.js +57 -0
- package/dist/infra/provider-usage.fetch.js +7 -0
- package/dist/infra/provider-usage.fetch.minimax.js +332 -0
- package/dist/infra/provider-usage.fetch.shared.js +10 -0
- package/dist/infra/provider-usage.fetch.zai.js +62 -0
- package/dist/infra/provider-usage.format.js +96 -0
- package/dist/infra/provider-usage.js +3 -0
- package/dist/infra/provider-usage.load.js +59 -0
- package/dist/infra/provider-usage.shared.js +51 -0
- package/dist/infra/provider-usage.types.js +1 -0
- package/dist/infra/restart-sentinel.js +65 -0
- package/dist/infra/restart.js +171 -0
- package/dist/infra/retry-policy.js +68 -0
- package/dist/infra/retry.js +85 -0
- package/dist/infra/runtime-guard.js +60 -0
- package/dist/infra/session-cost-usage.js +190 -0
- package/dist/infra/shell-env.js +125 -0
- package/dist/infra/skills-remote.js +282 -0
- package/dist/infra/ssh-config.js +83 -0
- package/dist/infra/ssh-tunnel.js +166 -0
- package/dist/infra/state-migrations.fs.js +49 -0
- package/dist/infra/state-migrations.js +498 -0
- package/dist/infra/system-events.js +75 -0
- package/dist/infra/system-presence.js +231 -0
- package/dist/infra/tailnet.js +46 -0
- package/dist/infra/tailscale.js +368 -0
- package/dist/infra/tls/fingerprint.js +5 -0
- package/dist/infra/tls/gateway.js +119 -0
- package/dist/infra/transport-ready.js +38 -0
- package/dist/infra/unhandled-rejections.js +29 -0
- package/dist/infra/update-channels.js +57 -0
- package/dist/infra/update-check.js +293 -0
- package/dist/infra/update-global.js +85 -0
- package/dist/infra/update-runner.js +557 -0
- package/dist/infra/update-startup.js +86 -0
- package/dist/infra/voicewake.js +74 -0
- package/dist/infra/warnings.js +25 -0
- package/dist/infra/widearea-dns.js +131 -0
- package/dist/infra/ws.js +13 -0
- package/dist/infra/wsl.js +25 -0
- package/dist/line/accounts.js +130 -0
- package/dist/line/auto-reply-delivery.js +102 -0
- package/dist/line/bot-access.js +38 -0
- package/dist/line/bot-handlers.js +258 -0
- package/dist/line/bot-message-context.js +374 -0
- package/dist/line/bot.js +48 -0
- package/dist/line/config-schema.js +47 -0
- package/dist/line/download.js +95 -0
- package/dist/line/flex-templates.js +1264 -0
- package/dist/line/http-registry.js +27 -0
- package/dist/line/index.js +19 -0
- package/dist/line/markdown-to-line.js +346 -0
- package/dist/line/monitor.js +270 -0
- package/dist/line/probe.js +37 -0
- package/dist/line/reply-chunks.js +53 -0
- package/dist/line/rich-menu.js +320 -0
- package/dist/line/send.js +451 -0
- package/dist/line/template-messages.js +258 -0
- package/dist/line/types.js +1 -0
- package/dist/line/webhook.js +75 -0
- package/dist/link-understanding/apply.js +22 -0
- package/dist/link-understanding/defaults.js +2 -0
- package/dist/link-understanding/detect.js +49 -0
- package/dist/link-understanding/format.js +10 -0
- package/dist/link-understanding/index.js +4 -0
- package/dist/link-understanding/runner.js +99 -0
- package/dist/logger.js +53 -0
- package/dist/logging/config.js +19 -0
- package/dist/logging/console.js +237 -0
- package/dist/logging/diagnostic.js +236 -0
- package/dist/logging/levels.js +26 -0
- package/dist/logging/logger.js +185 -0
- package/dist/logging/parse-log-line.js +52 -0
- package/dist/logging/redact.js +115 -0
- package/dist/logging/state.js +12 -0
- package/dist/logging/subsystem.js +234 -0
- package/dist/logging.js +5 -0
- package/dist/macos/gateway-daemon.js +178 -0
- package/dist/macos/relay-smoke.js +29 -0
- package/dist/macos/relay.js +60 -0
- package/dist/markdown/code-spans.js +67 -0
- package/dist/markdown/fences.js +57 -0
- package/dist/markdown/frontmatter.js +124 -0
- package/dist/markdown/ir.js +687 -0
- package/dist/markdown/render.js +113 -0
- package/dist/markdown/tables.js +35 -0
- package/dist/media/audio-tags.js +14 -0
- package/dist/media/audio.js +15 -0
- package/dist/media/constants.js +33 -0
- package/dist/media/fetch.js +151 -0
- package/dist/media/host.js +43 -0
- package/dist/media/image-ops.js +385 -0
- package/dist/media/input-files.js +276 -0
- package/dist/media/mime.js +147 -0
- package/dist/media/parse.js +175 -0
- package/dist/media/server.js +64 -0
- package/dist/media/store.js +199 -0
- package/dist/media-understanding/apply.js +78 -0
- package/dist/media-understanding/attachments.js +320 -0
- package/dist/media-understanding/concurrency.js +26 -0
- package/dist/media-understanding/defaults.js +30 -0
- package/dist/media-understanding/errors.js +11 -0
- package/dist/media-understanding/format.js +56 -0
- package/dist/media-understanding/index.js +3 -0
- package/dist/media-understanding/providers/anthropic/index.js +6 -0
- package/dist/media-understanding/providers/deepgram/audio.js +47 -0
- package/dist/media-understanding/providers/deepgram/index.js +6 -0
- package/dist/media-understanding/providers/google/audio.js +64 -0
- package/dist/media-understanding/providers/google/index.js +10 -0
- package/dist/media-understanding/providers/google/video.js +64 -0
- package/dist/media-understanding/providers/groq/index.js +10 -0
- package/dist/media-understanding/providers/image.js +59 -0
- package/dist/media-understanding/providers/index.js +45 -0
- package/dist/media-understanding/providers/minimax/index.js +6 -0
- package/dist/media-understanding/providers/openai/audio.js +46 -0
- package/dist/media-understanding/providers/openai/index.js +8 -0
- package/dist/media-understanding/providers/shared.js +29 -0
- package/dist/media-understanding/resolve.js +113 -0
- package/dist/media-understanding/runner.js +976 -0
- package/dist/media-understanding/scope.js +41 -0
- package/dist/media-understanding/types.js +1 -0
- package/dist/media-understanding/video.js +8 -0
- package/dist/memory/batch-gemini.js +320 -0
- package/dist/memory/batch-openai.js +290 -0
- package/dist/memory/embeddings-gemini.js +129 -0
- package/dist/memory/embeddings-openai.js +65 -0
- package/dist/memory/embeddings.js +170 -0
- package/dist/memory/headers-fingerprint.js +16 -0
- package/dist/memory/hybrid.js +61 -0
- package/dist/memory/index.js +1 -0
- package/dist/memory/internal.js +189 -0
- package/dist/memory/manager-cache-key.js +45 -0
- package/dist/memory/manager-search.js +95 -0
- package/dist/memory/manager.js +1815 -0
- package/dist/memory/memory-schema.js +76 -0
- package/dist/memory/node-llama.js +3 -0
- package/dist/memory/openai-batch.js +2 -0
- package/dist/memory/provider-key.js +23 -0
- package/dist/memory/search-manager.js +11 -0
- package/dist/memory/session-files.js +98 -0
- package/dist/memory/sqlite-vec.js +19 -0
- package/dist/memory/sqlite.js +7 -0
- package/dist/memory/status-format.js +23 -0
- package/dist/memory/sync-memory-files.js +69 -0
- package/dist/memory/sync-session-files.js +95 -0
- package/dist/node-host/config.js +53 -0
- package/dist/node-host/runner.js +951 -0
- package/dist/pairing/pairing-labels.js +4 -0
- package/dist/pairing/pairing-messages.js +14 -0
- package/dist/pairing/pairing-store.js +357 -0
- package/dist/plugin-sdk/index.js +84 -0
- package/dist/plugins/bundled-dir.js +35 -0
- package/dist/plugins/cli.js +49 -0
- package/dist/plugins/commands.js +228 -0
- package/dist/plugins/config-schema.js +23 -0
- package/dist/plugins/config-state.js +101 -0
- package/dist/plugins/discovery.js +273 -0
- package/dist/plugins/enable.js +36 -0
- package/dist/plugins/hook-runner-global.js +57 -0
- package/dist/plugins/hooks.js +283 -0
- package/dist/plugins/http-path.js +10 -0
- package/dist/plugins/http-registry.js +31 -0
- package/dist/plugins/install.js +323 -0
- package/dist/plugins/installs.js +21 -0
- package/dist/plugins/loader.js +364 -0
- package/dist/plugins/manifest-registry.js +136 -0
- package/dist/plugins/manifest.js +69 -0
- package/dist/plugins/providers.js +16 -0
- package/dist/plugins/registry.js +312 -0
- package/dist/plugins/runtime/index.js +290 -0
- package/dist/plugins/runtime/native-deps.js +16 -0
- package/dist/plugins/runtime/types.js +1 -0
- package/dist/plugins/runtime.js +42 -0
- package/dist/plugins/schema-validator.js +28 -0
- package/dist/plugins/services.js +55 -0
- package/dist/plugins/slots.js +68 -0
- package/dist/plugins/status.js +27 -0
- package/dist/plugins/tools.js +98 -0
- package/dist/plugins/types.js +1 -0
- package/dist/plugins/update.js +324 -0
- package/dist/polls.js +41 -0
- package/dist/process/child-process-bridge.js +34 -0
- package/dist/process/command-queue.js +104 -0
- package/dist/process/exec.js +98 -0
- package/dist/process/lanes.js +1 -0
- package/dist/process/spawn-utils.js +95 -0
- package/dist/providers/github-copilot-auth.js +124 -0
- package/dist/providers/github-copilot-models.js +35 -0
- package/dist/providers/github-copilot-token.js +95 -0
- package/dist/providers/qwen-portal-oauth.js +38 -0
- package/dist/routing/bindings.js +87 -0
- package/dist/routing/resolve-route.js +140 -0
- package/dist/routing/session-key.js +169 -0
- package/dist/runtime.js +15 -0
- package/dist/security/audit-extra.js +852 -0
- package/dist/security/audit-fs.js +133 -0
- package/dist/security/audit.js +790 -0
- package/dist/security/external-content.js +143 -0
- package/dist/security/fix.js +402 -0
- package/dist/security/windows-acl.js +162 -0
- package/dist/sessions/level-overrides.js +24 -0
- package/dist/sessions/model-overrides.js +57 -0
- package/dist/sessions/send-policy.js +69 -0
- package/dist/sessions/session-key-utils.js +51 -0
- package/dist/sessions/session-label.js +16 -0
- package/dist/sessions/transcript-events.js +16 -0
- package/dist/shared/text/reasoning-tags.js +48 -0
- package/dist/signal/accounts.js +59 -0
- package/dist/signal/client.js +141 -0
- package/dist/signal/daemon.js +69 -0
- package/dist/signal/format.js +165 -0
- package/dist/signal/identity.js +95 -0
- package/dist/signal/index.js +5 -0
- package/dist/signal/monitor/event-handler.js +492 -0
- package/dist/signal/monitor/event-handler.types.js +1 -0
- package/dist/signal/monitor.js +269 -0
- package/dist/signal/probe.js +46 -0
- package/dist/signal/reaction-level.js +53 -0
- package/dist/signal/send-reactions.js +155 -0
- package/dist/signal/send.js +192 -0
- package/dist/signal/sse-reconnect.js +56 -0
- package/dist/slack/accounts.js +84 -0
- package/dist/slack/actions.js +156 -0
- package/dist/slack/channel-migration.js +53 -0
- package/dist/slack/client.js +17 -0
- package/dist/slack/directory-live.js +122 -0
- package/dist/slack/format.js +111 -0
- package/dist/slack/http/index.js +1 -0
- package/dist/slack/http/registry.js +27 -0
- package/dist/slack/index.js +6 -0
- package/dist/slack/monitor/allow-list.js +58 -0
- package/dist/slack/monitor/auth.js +17 -0
- package/dist/slack/monitor/channel-config.js +79 -0
- package/dist/slack/monitor/commands.js +17 -0
- package/dist/slack/monitor/context.js +242 -0
- package/dist/slack/monitor/events/channels.js +116 -0
- package/dist/slack/monitor/events/members.js +74 -0
- package/dist/slack/monitor/events/messages.js +111 -0
- package/dist/slack/monitor/events/pins.js +76 -0
- package/dist/slack/monitor/events/reactions.js +54 -0
- package/dist/slack/monitor/events.js +15 -0
- package/dist/slack/monitor/media.js +93 -0
- package/dist/slack/monitor/message-handler/dispatch.js +170 -0
- package/dist/slack/monitor/message-handler/prepare.js +477 -0
- package/dist/slack/monitor/message-handler/types.js +1 -0
- package/dist/slack/monitor/message-handler.js +87 -0
- package/dist/slack/monitor/policy.js +10 -0
- package/dist/slack/monitor/provider.js +324 -0
- package/dist/slack/monitor/replies.js +107 -0
- package/dist/slack/monitor/slash.js +504 -0
- package/dist/slack/monitor/thread-resolution.js +102 -0
- package/dist/slack/monitor/types.js +1 -0
- package/dist/slack/monitor.js +4 -0
- package/dist/slack/monitor.test-helpers.js +119 -0
- package/dist/slack/probe.js +47 -0
- package/dist/slack/resolve-channels.js +88 -0
- package/dist/slack/resolve-users.js +133 -0
- package/dist/slack/scopes.js +87 -0
- package/dist/slack/send.js +132 -0
- package/dist/slack/targets.js +48 -0
- package/dist/slack/threading-tool-context.js +18 -0
- package/dist/slack/threading.js +26 -0
- package/dist/slack/token.js +10 -0
- package/dist/slack/types.js +1 -0
- package/dist/telegram/accounts.js +98 -0
- package/dist/telegram/allowed-updates.js +8 -0
- package/dist/telegram/audit.js +116 -0
- package/dist/telegram/bot/delivery.js +312 -0
- package/dist/telegram/bot/helpers.js +303 -0
- package/dist/telegram/bot/types.js +1 -0
- package/dist/telegram/bot-access.js +59 -0
- package/dist/telegram/bot-handlers.js +516 -0
- package/dist/telegram/bot-message-context.js +435 -0
- package/dist/telegram/bot-message-dispatch.js +183 -0
- package/dist/telegram/bot-message.js +41 -0
- package/dist/telegram/bot-native-commands.js +402 -0
- package/dist/telegram/bot-updates.js +25 -0
- package/dist/telegram/bot.js +383 -0
- package/dist/telegram/caption.js +11 -0
- package/dist/telegram/download.js +34 -0
- package/dist/telegram/draft-chunking.js +22 -0
- package/dist/telegram/draft-stream.js +101 -0
- package/dist/telegram/fetch.js +11 -0
- package/dist/telegram/format.js +66 -0
- package/dist/telegram/group-migration.js +53 -0
- package/dist/telegram/index.js +4 -0
- package/dist/telegram/inline-buttons.js +55 -0
- package/dist/telegram/monitor.js +142 -0
- package/dist/telegram/pairing-store.js +77 -0
- package/dist/telegram/probe.js +70 -0
- package/dist/telegram/proxy.js +10 -0
- package/dist/telegram/reaction-level.js +46 -0
- package/dist/telegram/send.js +382 -0
- package/dist/telegram/sent-message-cache.js +53 -0
- package/dist/telegram/targets.js +46 -0
- package/dist/telegram/token.js +58 -0
- package/dist/telegram/update-offset-store.js +60 -0
- package/dist/telegram/voice.js +23 -0
- package/dist/telegram/webhook-set.js +21 -0
- package/dist/telegram/webhook.js +90 -0
- package/dist/terminal/ansi.js +11 -0
- package/dist/terminal/links.js +17 -0
- package/dist/terminal/note.js +79 -0
- package/dist/terminal/palette.js +12 -0
- package/dist/terminal/progress-line.js +18 -0
- package/dist/terminal/prompt-style.js +4 -0
- package/dist/terminal/stream-writer.js +49 -0
- package/dist/terminal/table.js +327 -0
- package/dist/terminal/theme.js +22 -0
- package/dist/tts/tts.js +1159 -0
- package/dist/tui/commands.js +134 -0
- package/dist/tui/components/assistant-message.js +16 -0
- package/dist/tui/components/chat-log.js +86 -0
- package/dist/tui/components/custom-editor.js +61 -0
- package/dist/tui/components/filterable-select-list.js +102 -0
- package/dist/tui/components/fuzzy-filter.js +113 -0
- package/dist/tui/components/searchable-select-list.js +231 -0
- package/dist/tui/components/selectors.js +16 -0
- package/dist/tui/components/tool-execution.js +109 -0
- package/dist/tui/components/user-message.js +17 -0
- package/dist/tui/gateway-chat.js +146 -0
- package/dist/tui/theme/syntax-theme.js +49 -0
- package/dist/tui/theme/theme.js +119 -0
- package/dist/tui/tui-command-handlers.js +418 -0
- package/dist/tui/tui-event-handlers.js +160 -0
- package/dist/tui/tui-formatters.js +158 -0
- package/dist/tui/tui-local-shell.js +99 -0
- package/dist/tui/tui-overlays.js +13 -0
- package/dist/tui/tui-session-actions.js +205 -0
- package/dist/tui/tui-status-summary.js +74 -0
- package/dist/tui/tui-stream-assembler.js +54 -0
- package/dist/tui/tui-types.js +1 -0
- package/dist/tui/tui-waiting.js +34 -0
- package/dist/tui/tui.js +551 -0
- package/dist/utils/account-id.js +6 -0
- package/dist/utils/boolean.js +22 -0
- package/dist/utils/delivery-context.js +84 -0
- package/dist/utils/directive-tags.js +54 -0
- package/dist/utils/message-channel.js +84 -0
- package/dist/utils/provider-utils.js +28 -0
- package/dist/utils/queue-helpers.js +95 -0
- package/dist/utils/time-format.js +19 -0
- package/dist/utils/usage-format.js +46 -0
- package/dist/utils.js +247 -0
- package/dist/version.js +18 -0
- package/dist/web/accounts.js +122 -0
- package/dist/web/active-listener.js +37 -0
- package/dist/web/auth-store.js +168 -0
- package/dist/web/auto-reply/constants.js +1 -0
- package/dist/web/auto-reply/deliver-reply.js +140 -0
- package/dist/web/auto-reply/heartbeat-runner.js +264 -0
- package/dist/web/auto-reply/loggers.js +5 -0
- package/dist/web/auto-reply/mentions.js +79 -0
- package/dist/web/auto-reply/monitor/ack-reaction.js +47 -0
- package/dist/web/auto-reply/monitor/broadcast.js +64 -0
- package/dist/web/auto-reply/monitor/commands.js +21 -0
- package/dist/web/auto-reply/monitor/echo.js +36 -0
- package/dist/web/auto-reply/monitor/group-activation.js +37 -0
- package/dist/web/auto-reply/monitor/group-gating.js +98 -0
- package/dist/web/auto-reply/monitor/group-members.js +53 -0
- package/dist/web/auto-reply/monitor/last-route.js +38 -0
- package/dist/web/auto-reply/monitor/message-line.js +35 -0
- package/dist/web/auto-reply/monitor/on-message.js +128 -0
- package/dist/web/auto-reply/monitor/peer.js +10 -0
- package/dist/web/auto-reply/monitor/process-message.js +316 -0
- package/dist/web/auto-reply/monitor.js +355 -0
- package/dist/web/auto-reply/session-snapshot.js +40 -0
- package/dist/web/auto-reply/types.js +1 -0
- package/dist/web/auto-reply/util.js +47 -0
- package/dist/web/auto-reply.impl.js +5 -0
- package/dist/web/auto-reply.js +1 -0
- package/dist/web/inbound/access-control.js +147 -0
- package/dist/web/inbound/dedupe.js +13 -0
- package/dist/web/inbound/extract.js +254 -0
- package/dist/web/inbound/media.js +35 -0
- package/dist/web/inbound/monitor.js +332 -0
- package/dist/web/inbound/send-api.js +90 -0
- package/dist/web/inbound/types.js +1 -0
- package/dist/web/inbound.js +3 -0
- package/dist/web/login-qr.js +227 -0
- package/dist/web/login.js +68 -0
- package/dist/web/media.js +221 -0
- package/dist/web/outbound.js +132 -0
- package/dist/web/qr-image.js +95 -0
- package/dist/web/reconnect.js +36 -0
- package/dist/web/session.js +224 -0
- package/dist/web/vcard.js +63 -0
- package/dist/whatsapp/normalize.js +66 -0
- package/dist/wizard/clack-prompter.js +72 -0
- package/dist/wizard/onboarding.finalize.js +351 -0
- package/dist/wizard/onboarding.gateway-config.js +188 -0
- package/dist/wizard/onboarding.js +372 -0
- package/dist/wizard/onboarding.types.js +1 -0
- package/dist/wizard/prompts.js +6 -0
- package/dist/wizard/session.js +201 -0
- package/docs/CNAME +1 -0
- package/docs/_config.yml +53 -0
- package/docs/_layouts/default.html +145 -0
- package/docs/assets/markdown.css +179 -0
- package/docs/assets/pixel-lobster.svg +60 -0
- package/docs/assets/showcase/agents-ui.jpg +0 -0
- package/docs/assets/showcase/bambu-cli.png +0 -0
- package/docs/assets/showcase/codexmonitor.png +0 -0
- package/docs/assets/showcase/gohome-grafana.png +0 -0
- package/docs/assets/showcase/ios-testflight.jpg +0 -0
- package/docs/assets/showcase/oura-health.png +0 -0
- package/docs/assets/showcase/padel-cli.svg +11 -0
- package/docs/assets/showcase/padel-screenshot.jpg +0 -0
- package/docs/assets/showcase/papla-tts.jpg +0 -0
- package/docs/assets/showcase/pr-review-telegram.jpg +0 -0
- package/docs/assets/showcase/roborock-screenshot.jpg +0 -0
- package/docs/assets/showcase/roborock-status.svg +13 -0
- package/docs/assets/showcase/roof-camera-sky.jpg +0 -0
- package/docs/assets/showcase/snag.png +0 -0
- package/docs/assets/showcase/tesco-shop.jpg +0 -0
- package/docs/assets/showcase/wienerlinien.png +0 -0
- package/docs/assets/showcase/wine-cellar-skill.jpg +0 -0
- package/docs/assets/showcase/winix-air-purifier.jpg +0 -0
- package/docs/assets/showcase/xuezh-pronunciation.jpeg +0 -0
- package/docs/assets/terminal.css +470 -0
- package/docs/assets/theme.js +55 -0
- package/docs/automation/auth-monitoring.md +41 -0
- package/docs/automation/cron-jobs.md +286 -0
- package/docs/automation/cron-vs-heartbeat.md +274 -0
- package/docs/automation/gmail-pubsub.md +252 -0
- package/docs/automation/poll.md +63 -0
- package/docs/automation/webhook.md +155 -0
- package/docs/bedrock.md +172 -0
- package/docs/brave-search.md +40 -0
- package/docs/broadcast-groups.md +407 -0
- package/docs/channels/bluebubbles.md +232 -0
- package/docs/channels/discord.md +400 -0
- package/docs/channels/googlechat.md +220 -0
- package/docs/channels/grammy.md +27 -0
- package/docs/channels/imessage.md +261 -0
- package/docs/channels/index.md +43 -0
- package/docs/channels/line.md +183 -0
- package/docs/channels/location.md +48 -0
- package/docs/channels/matrix.md +230 -0
- package/docs/channels/mattermost.md +123 -0
- package/docs/channels/msteams.md +703 -0
- package/docs/channels/nextcloud-talk.md +120 -0
- package/docs/channels/nostr.md +235 -0
- package/docs/channels/signal.md +179 -0
- package/docs/channels/slack.md +507 -0
- package/docs/channels/telegram.md +546 -0
- package/docs/channels/tlon.md +133 -0
- package/docs/channels/troubleshooting.md +25 -0
- package/docs/channels/twitch.md +366 -0
- package/docs/channels/whatsapp.md +362 -0
- package/docs/channels/zalo.md +167 -0
- package/docs/channels/zalouser.md +123 -0
- package/docs/cli/acp.md +166 -0
- package/docs/cli/agent.md +22 -0
- package/docs/cli/agents.md +71 -0
- package/docs/cli/approvals.md +48 -0
- package/docs/cli/browser.md +106 -0
- package/docs/cli/channels.md +75 -0
- package/docs/cli/config.md +49 -0
- package/docs/cli/configure.md +30 -0
- package/docs/cli/cron.md +29 -0
- package/docs/cli/dashboard.md +16 -0
- package/docs/cli/devices.md +66 -0
- package/docs/cli/directory.md +60 -0
- package/docs/cli/dns.md +22 -0
- package/docs/cli/docs.md +15 -0
- package/docs/cli/doctor.md +38 -0
- package/docs/cli/gateway.md +187 -0
- package/docs/cli/health.md +19 -0
- package/docs/cli/hooks.md +290 -0
- package/docs/cli/index.md +919 -0
- package/docs/cli/logs.md +23 -0
- package/docs/cli/memory.md +41 -0
- package/docs/cli/message.md +228 -0
- package/docs/cli/models.md +68 -0
- package/docs/cli/node.md +108 -0
- package/docs/cli/nodes.md +68 -0
- package/docs/cli/onboard.md +25 -0
- package/docs/cli/pairing.md +20 -0
- package/docs/cli/plugins.md +60 -0
- package/docs/cli/reset.md +17 -0
- package/docs/cli/sandbox.md +150 -0
- package/docs/cli/security.md +24 -0
- package/docs/cli/sessions.md +16 -0
- package/docs/cli/setup.md +28 -0
- package/docs/cli/skills.md +25 -0
- package/docs/cli/status.md +24 -0
- package/docs/cli/system.md +55 -0
- package/docs/cli/tui.md +22 -0
- package/docs/cli/uninstall.md +17 -0
- package/docs/cli/update.md +96 -0
- package/docs/cli/voicecall.md +33 -0
- package/docs/cli/webhooks.md +23 -0
- package/docs/concepts/agent-loop.md +126 -0
- package/docs/concepts/agent-workspace.md +231 -0
- package/docs/concepts/agent.md +117 -0
- package/docs/concepts/architecture.md +122 -0
- package/docs/concepts/channel-routing.md +114 -0
- package/docs/concepts/compaction.md +49 -0
- package/docs/concepts/context.md +151 -0
- package/docs/concepts/group-messages.md +78 -0
- package/docs/concepts/groups.md +308 -0
- package/docs/concepts/markdown-formatting.md +132 -0
- package/docs/concepts/memory.md +388 -0
- package/docs/concepts/messages.md +143 -0
- package/docs/concepts/model-failover.md +139 -0
- package/docs/concepts/model-providers.md +318 -0
- package/docs/concepts/models.md +202 -0
- package/docs/concepts/multi-agent.md +354 -0
- package/docs/concepts/oauth.md +135 -0
- package/docs/concepts/presence.md +98 -0
- package/docs/concepts/queue.md +77 -0
- package/docs/concepts/retry.md +60 -0
- package/docs/concepts/session-pruning.md +104 -0
- package/docs/concepts/session-tool.md +171 -0
- package/docs/concepts/session.md +150 -0
- package/docs/concepts/sessions.md +8 -0
- package/docs/concepts/streaming.md +123 -0
- package/docs/concepts/system-prompt.md +110 -0
- package/docs/concepts/timezone.md +89 -0
- package/docs/concepts/typebox.md +281 -0
- package/docs/concepts/typing-indicators.md +59 -0
- package/docs/concepts/usage-tracking.md +30 -0
- package/docs/date-time.md +127 -0
- package/docs/debug/node-issue.md +72 -0
- package/docs/debugging.md +161 -0
- package/docs/diagnostics/flags.md +89 -0
- package/docs/docs.json +1135 -0
- package/docs/environment.md +78 -0
- package/docs/experiments/onboarding-config-protocol.md +34 -0
- package/docs/experiments/plans/cron-add-hardening.md +57 -0
- package/docs/experiments/plans/group-policy-hardening.md +38 -0
- package/docs/experiments/plans/openresponses-gateway.md +122 -0
- package/docs/experiments/proposals/model-config.md +32 -0
- package/docs/experiments/research/memory.md +210 -0
- package/docs/gateway/authentication.md +143 -0
- package/docs/gateway/background-process.md +82 -0
- package/docs/gateway/bonjour.md +162 -0
- package/docs/gateway/bridge-protocol.md +85 -0
- package/docs/gateway/cli-backends.md +221 -0
- package/docs/gateway/configuration-examples.md +572 -0
- package/docs/gateway/configuration.md +3246 -0
- package/docs/gateway/discovery.md +110 -0
- package/docs/gateway/doctor.md +252 -0
- package/docs/gateway/gateway-lock.md +28 -0
- package/docs/gateway/health.md +29 -0
- package/docs/gateway/heartbeat.md +297 -0
- package/docs/gateway/index.md +292 -0
- package/docs/gateway/local-models.md +146 -0
- package/docs/gateway/logging.md +112 -0
- package/docs/gateway/multiple-gateways.md +107 -0
- package/docs/gateway/openai-http-api.md +112 -0
- package/docs/gateway/openresponses-http-api.md +298 -0
- package/docs/gateway/pairing.md +92 -0
- package/docs/gateway/protocol.md +215 -0
- package/docs/gateway/remote-gateway-readme.md +153 -0
- package/docs/gateway/remote.md +122 -0
- package/docs/gateway/sandbox-vs-tool-policy-vs-elevated.md +117 -0
- package/docs/gateway/sandboxing.md +174 -0
- package/docs/gateway/security.md +741 -0
- package/docs/gateway/tailscale.md +146 -0
- package/docs/gateway/tools-invoke-http-api.md +79 -0
- package/docs/gateway/troubleshooting.md +714 -0
- package/docs/help/faq.md +2725 -0
- package/docs/help/index.md +20 -0
- package/docs/help/troubleshooting.md +97 -0
- package/docs/hooks/soul-evil.md +68 -0
- package/docs/hooks.md +896 -0
- package/docs/images/groups-flow.svg +52 -0
- package/docs/images/mobile-ui-screenshot.png +0 -0
- package/docs/index.md +240 -0
- package/docs/install/ansible.md +205 -0
- package/docs/install/bun.md +58 -0
- package/docs/install/development-channels.md +74 -0
- package/docs/install/docker.md +447 -0
- package/docs/install/index.md +180 -0
- package/docs/install/installer.md +122 -0
- package/docs/install/nix.md +95 -0
- package/docs/install/node.md +77 -0
- package/docs/install/uninstall.md +125 -0
- package/docs/install/updating.md +218 -0
- package/docs/logging.md +343 -0
- package/docs/multi-agent-sandbox-tools.md +374 -0
- package/docs/network.md +51 -0
- package/docs/nodes/audio.md +109 -0
- package/docs/nodes/camera.md +152 -0
- package/docs/nodes/images.md +61 -0
- package/docs/nodes/index.md +305 -0
- package/docs/nodes/location-command.md +95 -0
- package/docs/nodes/media-understanding.md +313 -0
- package/docs/nodes/talk.md +79 -0
- package/docs/nodes/voicewake.md +61 -0
- package/docs/perplexity.md +79 -0
- package/docs/platforms/android.md +141 -0
- package/docs/platforms/digitalocean.md +243 -0
- package/docs/platforms/exe-dev.md +187 -0
- package/docs/platforms/fly.md +465 -0
- package/docs/platforms/gcp.md +498 -0
- package/docs/platforms/hetzner.md +325 -0
- package/docs/platforms/index.md +50 -0
- package/docs/platforms/ios.md +104 -0
- package/docs/platforms/linux.md +89 -0
- package/docs/platforms/mac/bundled-gateway.md +67 -0
- package/docs/platforms/mac/canvas.md +121 -0
- package/docs/platforms/mac/child-process.md +67 -0
- package/docs/platforms/mac/dev-setup.md +91 -0
- package/docs/platforms/mac/health.md +28 -0
- package/docs/platforms/mac/icon.md +26 -0
- package/docs/platforms/mac/logging.md +51 -0
- package/docs/platforms/mac/menu-bar.md +70 -0
- package/docs/platforms/mac/peekaboo.md +62 -0
- package/docs/platforms/mac/permissions.md +40 -0
- package/docs/platforms/mac/release.md +77 -0
- package/docs/platforms/mac/remote.md +71 -0
- package/docs/platforms/mac/signing.md +43 -0
- package/docs/platforms/mac/skills.md +27 -0
- package/docs/platforms/mac/voice-overlay.md +52 -0
- package/docs/platforms/mac/voicewake.md +56 -0
- package/docs/platforms/mac/webchat.md +39 -0
- package/docs/platforms/mac/xpc.md +51 -0
- package/docs/platforms/macos-vm.md +275 -0
- package/docs/platforms/macos.md +195 -0
- package/docs/platforms/oracle.md +291 -0
- package/docs/platforms/raspberry-pi.md +354 -0
- package/docs/platforms/windows.md +153 -0
- package/docs/plugin.md +638 -0
- package/docs/plugins/agent-tools.md +96 -0
- package/docs/plugins/manifest.md +67 -0
- package/docs/plugins/voice-call.md +238 -0
- package/docs/plugins/zalouser.md +75 -0
- package/docs/prose.md +131 -0
- package/docs/providers/anthropic.md +126 -0
- package/docs/providers/claude-max-api-proxy.md +145 -0
- package/docs/providers/deepgram.md +89 -0
- package/docs/providers/github-copilot.md +70 -0
- package/docs/providers/glm.md +31 -0
- package/docs/providers/index.md +59 -0
- package/docs/providers/minimax.md +183 -0
- package/docs/providers/models.md +48 -0
- package/docs/providers/moonshot.md +151 -0
- package/docs/providers/ollama.md +219 -0
- package/docs/providers/openai.md +60 -0
- package/docs/providers/opencode.md +34 -0
- package/docs/providers/openrouter.md +35 -0
- package/docs/providers/qwen.md +51 -0
- package/docs/providers/synthetic.md +97 -0
- package/docs/providers/venice.md +264 -0
- package/docs/providers/vercel-ai-gateway.md +50 -0
- package/docs/providers/zai.md +34 -0
- package/docs/railway.mdx +96 -0
- package/docs/refactor/clawnet.md +360 -0
- package/docs/refactor/exec-host.md +265 -0
- package/docs/refactor/outbound-session-mirroring.md +75 -0
- package/docs/refactor/plugin-sdk.md +187 -0
- package/docs/refactor/strict-config.md +81 -0
- package/docs/reference/AGENTS.default.md +113 -0
- package/docs/reference/RELEASING.md +107 -0
- package/docs/reference/api-usage-costs.md +116 -0
- package/docs/reference/device-models.md +46 -0
- package/docs/reference/rpc.md +35 -0
- package/docs/reference/session-management-compaction.md +273 -0
- package/docs/reference/templates/AGENTS.dev.md +78 -0
- package/docs/reference/templates/AGENTS.md +196 -0
- package/docs/reference/templates/BOOT.md +9 -0
- package/docs/reference/templates/BOOTSTRAP.md +55 -0
- package/docs/reference/templates/HEARTBEAT.md +9 -0
- package/docs/reference/templates/IDENTITY.dev.md +40 -0
- package/docs/reference/templates/IDENTITY.md +27 -0
- package/docs/reference/templates/SOUL.dev.md +74 -0
- package/docs/reference/templates/SOUL.md +41 -0
- package/docs/reference/templates/TOOLS.dev.md +21 -0
- package/docs/reference/templates/TOOLS.md +41 -0
- package/docs/reference/templates/USER.dev.md +17 -0
- package/docs/reference/templates/USER.md +22 -0
- package/docs/reference/test.md +46 -0
- package/docs/reference/transcript-hygiene.md +95 -0
- package/docs/render.mdx +158 -0
- package/docs/scripts.md +31 -0
- package/docs/start/clawd.md +235 -0
- package/docs/start/getting-started.md +203 -0
- package/docs/start/hubs.md +182 -0
- package/docs/start/lore.md +133 -0
- package/docs/start/onboarding.md +103 -0
- package/docs/start/pairing.md +83 -0
- package/docs/start/setup.md +143 -0
- package/docs/start/showcase.md +416 -0
- package/docs/start/wizard.md +318 -0
- package/docs/testing.md +349 -0
- package/docs/token-use.md +110 -0
- package/docs/tools/agent-send.md +51 -0
- package/docs/tools/apply-patch.md +49 -0
- package/docs/tools/browser-linux-troubleshooting.md +129 -0
- package/docs/tools/browser-login.md +67 -0
- package/docs/tools/browser.md +642 -0
- package/docs/tools/chrome-extension.md +185 -0
- package/docs/tools/clawdhub.md +201 -0
- package/docs/tools/creating-skills.md +41 -0
- package/docs/tools/elevated.md +48 -0
- package/docs/tools/exec-approvals.md +223 -0
- package/docs/tools/exec.md +156 -0
- package/docs/tools/firecrawl.md +58 -0
- package/docs/tools/index.md +447 -0
- package/docs/tools/llm-task.md +114 -0
- package/docs/tools/lobster.md +326 -0
- package/docs/tools/reactions.md +20 -0
- package/docs/tools/skills-config.md +75 -0
- package/docs/tools/skills.md +267 -0
- package/docs/tools/slash-commands.md +188 -0
- package/docs/tools/subagents.md +137 -0
- package/docs/tools/thinking.md +62 -0
- package/docs/tools/web.md +257 -0
- package/docs/tts.md +389 -0
- package/docs/tui.md +134 -0
- package/docs/vps.md +39 -0
- package/docs/web/control-ui.md +163 -0
- package/docs/web/dashboard.md +42 -0
- package/docs/web/index.md +110 -0
- package/docs/web/webchat.md +41 -0
- package/docs/whatsapp-clawd.jpg +0 -0
- package/extensions/bluebubbles/clawdbot.plugin.json +11 -0
- package/extensions/bluebubbles/index.ts +20 -0
- package/extensions/bluebubbles/package.json +33 -0
- package/extensions/bluebubbles/src/accounts.ts +80 -0
- package/extensions/bluebubbles/src/actions.test.ts +651 -0
- package/extensions/bluebubbles/src/actions.ts +403 -0
- package/extensions/bluebubbles/src/attachments.test.ts +346 -0
- package/extensions/bluebubbles/src/attachments.ts +282 -0
- package/extensions/bluebubbles/src/channel.ts +399 -0
- package/extensions/bluebubbles/src/chat.test.ts +462 -0
- package/extensions/bluebubbles/src/chat.ts +354 -0
- package/extensions/bluebubbles/src/config-schema.ts +51 -0
- package/extensions/bluebubbles/src/media-send.ts +168 -0
- package/extensions/bluebubbles/src/monitor.test.ts +2140 -0
- package/extensions/bluebubbles/src/monitor.ts +2101 -0
- package/extensions/bluebubbles/src/onboarding.ts +340 -0
- package/extensions/bluebubbles/src/probe.ts +127 -0
- package/extensions/bluebubbles/src/reactions.test.ts +393 -0
- package/extensions/bluebubbles/src/reactions.ts +183 -0
- package/extensions/bluebubbles/src/runtime.ts +14 -0
- package/extensions/bluebubbles/src/send.test.ts +809 -0
- package/extensions/bluebubbles/src/send.ts +418 -0
- package/extensions/bluebubbles/src/targets.test.ts +184 -0
- package/extensions/bluebubbles/src/targets.ts +323 -0
- package/extensions/bluebubbles/src/types.ts +127 -0
- package/extensions/copilot-proxy/README.md +24 -0
- package/extensions/copilot-proxy/clawdbot.plugin.json +11 -0
- package/extensions/copilot-proxy/index.ts +142 -0
- package/extensions/copilot-proxy/package.json +11 -0
- package/extensions/diagnostics-otel/clawdbot.plugin.json +8 -0
- package/extensions/diagnostics-otel/index.ts +16 -0
- package/extensions/diagnostics-otel/package.json +24 -0
- package/extensions/diagnostics-otel/src/service.test.ts +220 -0
- package/extensions/diagnostics-otel/src/service.ts +566 -0
- package/extensions/discord/clawdbot.plugin.json +11 -0
- package/extensions/discord/index.ts +18 -0
- package/extensions/discord/package.json +11 -0
- package/extensions/discord/src/channel.ts +422 -0
- package/extensions/discord/src/runtime.ts +14 -0
- package/extensions/google-antigravity-auth/README.md +24 -0
- package/extensions/google-antigravity-auth/clawdbot.plugin.json +11 -0
- package/extensions/google-antigravity-auth/index.ts +437 -0
- package/extensions/google-antigravity-auth/package.json +11 -0
- package/extensions/google-gemini-cli-auth/README.md +35 -0
- package/extensions/google-gemini-cli-auth/clawdbot.plugin.json +11 -0
- package/extensions/google-gemini-cli-auth/index.ts +91 -0
- package/extensions/google-gemini-cli-auth/oauth.test.ts +228 -0
- package/extensions/google-gemini-cli-auth/oauth.ts +580 -0
- package/extensions/google-gemini-cli-auth/package.json +11 -0
- package/extensions/googlechat/clawdbot.plugin.json +11 -0
- package/extensions/googlechat/index.ts +20 -0
- package/extensions/googlechat/package.json +39 -0
- package/extensions/googlechat/src/accounts.ts +133 -0
- package/extensions/googlechat/src/actions.ts +162 -0
- package/extensions/googlechat/src/api.test.ts +62 -0
- package/extensions/googlechat/src/api.ts +259 -0
- package/extensions/googlechat/src/auth.ts +113 -0
- package/extensions/googlechat/src/channel.ts +580 -0
- package/extensions/googlechat/src/monitor.test.ts +27 -0
- package/extensions/googlechat/src/monitor.ts +900 -0
- package/extensions/googlechat/src/onboarding.ts +278 -0
- package/extensions/googlechat/src/runtime.ts +14 -0
- package/extensions/googlechat/src/targets.test.ts +35 -0
- package/extensions/googlechat/src/targets.ts +55 -0
- package/extensions/googlechat/src/types.config.ts +3 -0
- package/extensions/googlechat/src/types.ts +73 -0
- package/extensions/imessage/clawdbot.plugin.json +11 -0
- package/extensions/imessage/index.ts +18 -0
- package/extensions/imessage/package.json +11 -0
- package/extensions/imessage/src/channel.ts +294 -0
- package/extensions/imessage/src/runtime.ts +14 -0
- package/extensions/line/clawdbot.plugin.json +11 -0
- package/extensions/line/index.ts +20 -0
- package/extensions/line/package.json +29 -0
- package/extensions/line/src/card-command.ts +338 -0
- package/extensions/line/src/channel.logout.test.ts +96 -0
- package/extensions/line/src/channel.sendPayload.test.ts +308 -0
- package/extensions/line/src/channel.ts +773 -0
- package/extensions/line/src/runtime.ts +14 -0
- package/extensions/llm-task/README.md +97 -0
- package/extensions/llm-task/clawdbot.plugin.json +21 -0
- package/extensions/llm-task/index.ts +7 -0
- package/extensions/llm-task/package.json +11 -0
- package/extensions/llm-task/src/llm-task-tool.test.ts +117 -0
- package/extensions/llm-task/src/llm-task-tool.ts +218 -0
- package/extensions/lobster/README.md +80 -0
- package/extensions/lobster/SKILL.md +90 -0
- package/extensions/lobster/clawdbot.plugin.json +10 -0
- package/extensions/lobster/index.ts +13 -0
- package/extensions/lobster/package.json +11 -0
- package/extensions/lobster/src/lobster-tool.test.ts +123 -0
- package/extensions/lobster/src/lobster-tool.ts +222 -0
- package/extensions/matrix/CHANGELOG.md +54 -0
- package/extensions/matrix/clawdbot.plugin.json +11 -0
- package/extensions/matrix/index.ts +18 -0
- package/extensions/matrix/package.json +36 -0
- package/extensions/matrix/src/actions.ts +185 -0
- package/extensions/matrix/src/channel.directory.test.ts +56 -0
- package/extensions/matrix/src/channel.ts +417 -0
- package/extensions/matrix/src/config-schema.ts +62 -0
- package/extensions/matrix/src/directory-live.ts +175 -0
- package/extensions/matrix/src/group-mentions.ts +61 -0
- package/extensions/matrix/src/matrix/accounts.test.ts +83 -0
- package/extensions/matrix/src/matrix/accounts.ts +63 -0
- package/extensions/matrix/src/matrix/actions/client.ts +53 -0
- package/extensions/matrix/src/matrix/actions/messages.ts +120 -0
- package/extensions/matrix/src/matrix/actions/pins.ts +70 -0
- package/extensions/matrix/src/matrix/actions/reactions.ts +84 -0
- package/extensions/matrix/src/matrix/actions/room.ts +88 -0
- package/extensions/matrix/src/matrix/actions/summary.ts +77 -0
- package/extensions/matrix/src/matrix/actions/types.ts +84 -0
- package/extensions/matrix/src/matrix/actions.ts +15 -0
- package/extensions/matrix/src/matrix/active-client.ts +11 -0
- package/extensions/matrix/src/matrix/client/config.ts +165 -0
- package/extensions/matrix/src/matrix/client/create-client.ts +127 -0
- package/extensions/matrix/src/matrix/client/logging.ts +35 -0
- package/extensions/matrix/src/matrix/client/runtime.ts +4 -0
- package/extensions/matrix/src/matrix/client/shared.ts +169 -0
- package/extensions/matrix/src/matrix/client/storage.ts +131 -0
- package/extensions/matrix/src/matrix/client/types.ts +34 -0
- package/extensions/matrix/src/matrix/client.test.ts +57 -0
- package/extensions/matrix/src/matrix/client.ts +9 -0
- package/extensions/matrix/src/matrix/credentials.ts +103 -0
- package/extensions/matrix/src/matrix/deps.ts +57 -0
- package/extensions/matrix/src/matrix/format.test.ts +34 -0
- package/extensions/matrix/src/matrix/format.ts +22 -0
- package/extensions/matrix/src/matrix/index.ts +11 -0
- package/extensions/matrix/src/matrix/monitor/allowlist.ts +58 -0
- package/extensions/matrix/src/matrix/monitor/auto-join.ts +68 -0
- package/extensions/matrix/src/matrix/monitor/direct.ts +105 -0
- package/extensions/matrix/src/matrix/monitor/events.ts +103 -0
- package/extensions/matrix/src/matrix/monitor/handler.ts +645 -0
- package/extensions/matrix/src/matrix/monitor/index.ts +279 -0
- package/extensions/matrix/src/matrix/monitor/location.ts +83 -0
- package/extensions/matrix/src/matrix/monitor/media.test.ts +103 -0
- package/extensions/matrix/src/matrix/monitor/media.ts +113 -0
- package/extensions/matrix/src/matrix/monitor/mentions.ts +31 -0
- package/extensions/matrix/src/matrix/monitor/replies.ts +96 -0
- package/extensions/matrix/src/matrix/monitor/room-info.ts +58 -0
- package/extensions/matrix/src/matrix/monitor/rooms.ts +43 -0
- package/extensions/matrix/src/matrix/monitor/threads.ts +64 -0
- package/extensions/matrix/src/matrix/monitor/types.ts +39 -0
- package/extensions/matrix/src/matrix/poll-types.test.ts +22 -0
- package/extensions/matrix/src/matrix/poll-types.ts +157 -0
- package/extensions/matrix/src/matrix/probe.ts +70 -0
- package/extensions/matrix/src/matrix/send/client.ts +63 -0
- package/extensions/matrix/src/matrix/send/formatting.ts +92 -0
- package/extensions/matrix/src/matrix/send/media.ts +220 -0
- package/extensions/matrix/src/matrix/send/targets.test.ts +102 -0
- package/extensions/matrix/src/matrix/send/targets.ts +144 -0
- package/extensions/matrix/src/matrix/send/types.ts +109 -0
- package/extensions/matrix/src/matrix/send.test.ts +172 -0
- package/extensions/matrix/src/matrix/send.ts +255 -0
- package/extensions/matrix/src/onboarding.ts +432 -0
- package/extensions/matrix/src/outbound.ts +53 -0
- package/extensions/matrix/src/resolve-targets.ts +89 -0
- package/extensions/matrix/src/runtime.ts +14 -0
- package/extensions/matrix/src/tool-actions.ts +160 -0
- package/extensions/matrix/src/types.ts +95 -0
- package/extensions/mattermost/clawdbot.plugin.json +11 -0
- package/extensions/mattermost/index.ts +18 -0
- package/extensions/mattermost/package.json +25 -0
- package/extensions/mattermost/src/channel.test.ts +43 -0
- package/extensions/mattermost/src/channel.ts +339 -0
- package/extensions/mattermost/src/config-schema.ts +56 -0
- package/extensions/mattermost/src/group-mentions.ts +14 -0
- package/extensions/mattermost/src/mattermost/accounts.ts +115 -0
- package/extensions/mattermost/src/mattermost/client.ts +208 -0
- package/extensions/mattermost/src/mattermost/index.ts +9 -0
- package/extensions/mattermost/src/mattermost/monitor-helpers.ts +150 -0
- package/extensions/mattermost/src/mattermost/monitor.ts +921 -0
- package/extensions/mattermost/src/mattermost/probe.ts +70 -0
- package/extensions/mattermost/src/mattermost/send.ts +217 -0
- package/extensions/mattermost/src/normalize.ts +38 -0
- package/extensions/mattermost/src/onboarding-helpers.ts +42 -0
- package/extensions/mattermost/src/onboarding.ts +187 -0
- package/extensions/mattermost/src/runtime.ts +14 -0
- package/extensions/mattermost/src/types.ts +50 -0
- package/extensions/memory-core/clawdbot.plugin.json +9 -0
- package/extensions/memory-core/index.ts +36 -0
- package/extensions/memory-core/package.json +14 -0
- package/extensions/memory-lancedb/clawdbot.plugin.json +67 -0
- package/extensions/memory-lancedb/config.ts +114 -0
- package/extensions/memory-lancedb/index.test.ts +284 -0
- package/extensions/memory-lancedb/index.ts +590 -0
- package/extensions/memory-lancedb/package.json +16 -0
- package/extensions/msteams/CHANGELOG.md +51 -0
- package/extensions/msteams/clawdbot.plugin.json +11 -0
- package/extensions/msteams/index.ts +18 -0
- package/extensions/msteams/package.json +36 -0
- package/extensions/msteams/src/attachments/download.ts +206 -0
- package/extensions/msteams/src/attachments/graph.ts +319 -0
- package/extensions/msteams/src/attachments/html.ts +76 -0
- package/extensions/msteams/src/attachments/payload.ts +22 -0
- package/extensions/msteams/src/attachments/shared.ts +235 -0
- package/extensions/msteams/src/attachments/types.ts +37 -0
- package/extensions/msteams/src/attachments.test.ts +424 -0
- package/extensions/msteams/src/attachments.ts +18 -0
- package/extensions/msteams/src/channel.directory.test.ts +46 -0
- package/extensions/msteams/src/channel.ts +436 -0
- package/extensions/msteams/src/conversation-store-fs.test.ts +88 -0
- package/extensions/msteams/src/conversation-store-fs.ts +155 -0
- package/extensions/msteams/src/conversation-store-memory.ts +45 -0
- package/extensions/msteams/src/conversation-store.ts +41 -0
- package/extensions/msteams/src/directory-live.ts +179 -0
- package/extensions/msteams/src/errors.test.ts +46 -0
- package/extensions/msteams/src/errors.ts +158 -0
- package/extensions/msteams/src/file-consent-helpers.test.ts +234 -0
- package/extensions/msteams/src/file-consent-helpers.ts +73 -0
- package/extensions/msteams/src/file-consent.ts +122 -0
- package/extensions/msteams/src/graph-chat.ts +52 -0
- package/extensions/msteams/src/graph-upload.ts +445 -0
- package/extensions/msteams/src/inbound.test.ts +67 -0
- package/extensions/msteams/src/inbound.ts +38 -0
- package/extensions/msteams/src/index.ts +4 -0
- package/extensions/msteams/src/media-helpers.test.ts +186 -0
- package/extensions/msteams/src/media-helpers.ts +77 -0
- package/extensions/msteams/src/messenger.test.ts +245 -0
- package/extensions/msteams/src/messenger.ts +460 -0
- package/extensions/msteams/src/monitor-handler/inbound-media.ts +123 -0
- package/extensions/msteams/src/monitor-handler/message-handler.ts +629 -0
- package/extensions/msteams/src/monitor-handler.ts +166 -0
- package/extensions/msteams/src/monitor-types.ts +5 -0
- package/extensions/msteams/src/monitor.ts +290 -0
- package/extensions/msteams/src/onboarding.ts +432 -0
- package/extensions/msteams/src/outbound.ts +47 -0
- package/extensions/msteams/src/pending-uploads.ts +87 -0
- package/extensions/msteams/src/policy.test.ts +210 -0
- package/extensions/msteams/src/policy.ts +202 -0
- package/extensions/msteams/src/polls-store-memory.ts +30 -0
- package/extensions/msteams/src/polls-store.test.ts +40 -0
- package/extensions/msteams/src/polls.test.ts +72 -0
- package/extensions/msteams/src/polls.ts +299 -0
- package/extensions/msteams/src/probe.test.ts +57 -0
- package/extensions/msteams/src/probe.ts +99 -0
- package/extensions/msteams/src/reply-dispatcher.ts +128 -0
- package/extensions/msteams/src/resolve-allowlist.ts +277 -0
- package/extensions/msteams/src/runtime.ts +14 -0
- package/extensions/msteams/src/sdk-types.ts +19 -0
- package/extensions/msteams/src/sdk.ts +33 -0
- package/extensions/msteams/src/send-context.ts +156 -0
- package/extensions/msteams/src/send.ts +489 -0
- package/extensions/msteams/src/sent-message-cache.test.ts +16 -0
- package/extensions/msteams/src/sent-message-cache.ts +41 -0
- package/extensions/msteams/src/storage.ts +22 -0
- package/extensions/msteams/src/store-fs.ts +80 -0
- package/extensions/msteams/src/token.ts +19 -0
- package/extensions/nextcloud-talk/clawdbot.plugin.json +11 -0
- package/extensions/nextcloud-talk/index.ts +18 -0
- package/extensions/nextcloud-talk/package.json +30 -0
- package/extensions/nextcloud-talk/src/accounts.ts +154 -0
- package/extensions/nextcloud-talk/src/channel.ts +404 -0
- package/extensions/nextcloud-talk/src/config-schema.ts +78 -0
- package/extensions/nextcloud-talk/src/format.ts +79 -0
- package/extensions/nextcloud-talk/src/inbound.ts +336 -0
- package/extensions/nextcloud-talk/src/monitor.ts +246 -0
- package/extensions/nextcloud-talk/src/normalize.ts +31 -0
- package/extensions/nextcloud-talk/src/onboarding.ts +341 -0
- package/extensions/nextcloud-talk/src/policy.ts +175 -0
- package/extensions/nextcloud-talk/src/room-info.ts +111 -0
- package/extensions/nextcloud-talk/src/runtime.ts +14 -0
- package/extensions/nextcloud-talk/src/send.ts +206 -0
- package/extensions/nextcloud-talk/src/signature.ts +67 -0
- package/extensions/nextcloud-talk/src/types.ts +179 -0
- package/extensions/nostr/CHANGELOG.md +46 -0
- package/extensions/nostr/README.md +136 -0
- package/extensions/nostr/clawdbot.plugin.json +11 -0
- package/extensions/nostr/index.ts +69 -0
- package/extensions/nostr/package.json +31 -0
- package/extensions/nostr/src/channel.test.ts +141 -0
- package/extensions/nostr/src/channel.ts +342 -0
- package/extensions/nostr/src/config-schema.ts +90 -0
- package/extensions/nostr/src/metrics.ts +464 -0
- package/extensions/nostr/src/nostr-bus.fuzz.test.ts +544 -0
- package/extensions/nostr/src/nostr-bus.integration.test.ts +452 -0
- package/extensions/nostr/src/nostr-bus.test.ts +199 -0
- package/extensions/nostr/src/nostr-bus.ts +741 -0
- package/extensions/nostr/src/nostr-profile-http.test.ts +378 -0
- package/extensions/nostr/src/nostr-profile-http.ts +500 -0
- package/extensions/nostr/src/nostr-profile-import.test.ts +120 -0
- package/extensions/nostr/src/nostr-profile-import.ts +259 -0
- package/extensions/nostr/src/nostr-profile.fuzz.test.ts +479 -0
- package/extensions/nostr/src/nostr-profile.test.ts +410 -0
- package/extensions/nostr/src/nostr-profile.ts +242 -0
- package/extensions/nostr/src/nostr-state-store.test.ts +128 -0
- package/extensions/nostr/src/nostr-state-store.ts +226 -0
- package/extensions/nostr/src/runtime.ts +14 -0
- package/extensions/nostr/src/seen-tracker.ts +271 -0
- package/extensions/nostr/src/types.test.ts +161 -0
- package/extensions/nostr/src/types.ts +99 -0
- package/extensions/nostr/test/setup.ts +5 -0
- package/extensions/open-prose/README.md +25 -0
- package/extensions/open-prose/clawdbot.plugin.json +11 -0
- package/extensions/open-prose/index.ts +5 -0
- package/extensions/open-prose/package.json +11 -0
- package/extensions/open-prose/skills/prose/LICENSE +21 -0
- package/extensions/open-prose/skills/prose/SKILL.md +318 -0
- package/extensions/open-prose/skills/prose/alt-borges.md +141 -0
- package/extensions/open-prose/skills/prose/alts/arabian-nights.md +358 -0
- package/extensions/open-prose/skills/prose/alts/borges.md +360 -0
- package/extensions/open-prose/skills/prose/alts/folk.md +322 -0
- package/extensions/open-prose/skills/prose/alts/homer.md +346 -0
- package/extensions/open-prose/skills/prose/alts/kafka.md +373 -0
- package/extensions/open-prose/skills/prose/compiler.md +2967 -0
- package/extensions/open-prose/skills/prose/examples/01-hello-world.prose +4 -0
- package/extensions/open-prose/skills/prose/examples/02-research-and-summarize.prose +6 -0
- package/extensions/open-prose/skills/prose/examples/03-code-review.prose +17 -0
- package/extensions/open-prose/skills/prose/examples/04-write-and-refine.prose +14 -0
- package/extensions/open-prose/skills/prose/examples/05-debug-issue.prose +20 -0
- package/extensions/open-prose/skills/prose/examples/06-explain-codebase.prose +17 -0
- package/extensions/open-prose/skills/prose/examples/07-refactor.prose +20 -0
- package/extensions/open-prose/skills/prose/examples/08-blog-post.prose +20 -0
- package/extensions/open-prose/skills/prose/examples/09-research-with-agents.prose +25 -0
- package/extensions/open-prose/skills/prose/examples/10-code-review-agents.prose +32 -0
- package/extensions/open-prose/skills/prose/examples/11-skills-and-imports.prose +27 -0
- package/extensions/open-prose/skills/prose/examples/12-secure-agent-permissions.prose +43 -0
- package/extensions/open-prose/skills/prose/examples/13-variables-and-context.prose +51 -0
- package/extensions/open-prose/skills/prose/examples/14-composition-blocks.prose +48 -0
- package/extensions/open-prose/skills/prose/examples/15-inline-sequences.prose +23 -0
- package/extensions/open-prose/skills/prose/examples/16-parallel-reviews.prose +19 -0
- package/extensions/open-prose/skills/prose/examples/17-parallel-research.prose +19 -0
- package/extensions/open-prose/skills/prose/examples/18-mixed-parallel-sequential.prose +36 -0
- package/extensions/open-prose/skills/prose/examples/19-advanced-parallel.prose +71 -0
- package/extensions/open-prose/skills/prose/examples/20-fixed-loops.prose +20 -0
- package/extensions/open-prose/skills/prose/examples/21-pipeline-operations.prose +35 -0
- package/extensions/open-prose/skills/prose/examples/22-error-handling.prose +51 -0
- package/extensions/open-prose/skills/prose/examples/23-retry-with-backoff.prose +63 -0
- package/extensions/open-prose/skills/prose/examples/24-choice-blocks.prose +86 -0
- package/extensions/open-prose/skills/prose/examples/25-conditionals.prose +114 -0
- package/extensions/open-prose/skills/prose/examples/26-parameterized-blocks.prose +100 -0
- package/extensions/open-prose/skills/prose/examples/27-string-interpolation.prose +105 -0
- package/extensions/open-prose/skills/prose/examples/28-automated-pr-review.prose +37 -0
- package/extensions/open-prose/skills/prose/examples/28-gas-town.prose +1572 -0
- package/extensions/open-prose/skills/prose/examples/29-captains-chair.prose +218 -0
- package/extensions/open-prose/skills/prose/examples/30-captains-chair-simple.prose +42 -0
- package/extensions/open-prose/skills/prose/examples/31-captains-chair-with-memory.prose +145 -0
- package/extensions/open-prose/skills/prose/examples/33-pr-review-autofix.prose +168 -0
- package/extensions/open-prose/skills/prose/examples/34-content-pipeline.prose +204 -0
- package/extensions/open-prose/skills/prose/examples/35-feature-factory.prose +296 -0
- package/extensions/open-prose/skills/prose/examples/36-bug-hunter.prose +237 -0
- package/extensions/open-prose/skills/prose/examples/37-the-forge.prose +1474 -0
- package/extensions/open-prose/skills/prose/examples/38-skill-scan.prose +455 -0
- package/extensions/open-prose/skills/prose/examples/39-architect-by-simulation.prose +277 -0
- package/extensions/open-prose/skills/prose/examples/40-rlm-self-refine.prose +32 -0
- package/extensions/open-prose/skills/prose/examples/41-rlm-divide-conquer.prose +38 -0
- package/extensions/open-prose/skills/prose/examples/42-rlm-filter-recurse.prose +46 -0
- package/extensions/open-prose/skills/prose/examples/43-rlm-pairwise.prose +50 -0
- package/extensions/open-prose/skills/prose/examples/44-run-endpoint-ux-test.prose +261 -0
- package/extensions/open-prose/skills/prose/examples/45-plugin-release.prose +159 -0
- package/extensions/open-prose/skills/prose/examples/45-run-endpoint-ux-test-with-remediation.prose +637 -0
- package/extensions/open-prose/skills/prose/examples/46-run-endpoint-ux-test-fast.prose +148 -0
- package/extensions/open-prose/skills/prose/examples/46-workflow-crystallizer.prose +225 -0
- package/extensions/open-prose/skills/prose/examples/47-language-self-improvement.prose +356 -0
- package/extensions/open-prose/skills/prose/examples/48-habit-miner.prose +445 -0
- package/extensions/open-prose/skills/prose/examples/49-prose-run-retrospective.prose +210 -0
- package/extensions/open-prose/skills/prose/examples/README.md +391 -0
- package/extensions/open-prose/skills/prose/examples/roadmap/README.md +22 -0
- package/extensions/open-prose/skills/prose/examples/roadmap/iterative-refinement.prose +20 -0
- package/extensions/open-prose/skills/prose/examples/roadmap/parallel-review.prose +18 -0
- package/extensions/open-prose/skills/prose/examples/roadmap/simple-pipeline.prose +17 -0
- package/extensions/open-prose/skills/prose/examples/roadmap/syntax/open-prose-syntax.prose +223 -0
- package/extensions/open-prose/skills/prose/guidance/antipatterns.md +951 -0
- package/extensions/open-prose/skills/prose/guidance/patterns.md +700 -0
- package/extensions/open-prose/skills/prose/guidance/system-prompt.md +180 -0
- package/extensions/open-prose/skills/prose/help.md +143 -0
- package/extensions/open-prose/skills/prose/lib/README.md +105 -0
- package/extensions/open-prose/skills/prose/lib/calibrator.prose +215 -0
- package/extensions/open-prose/skills/prose/lib/cost-analyzer.prose +174 -0
- package/extensions/open-prose/skills/prose/lib/error-forensics.prose +250 -0
- package/extensions/open-prose/skills/prose/lib/inspector.prose +196 -0
- package/extensions/open-prose/skills/prose/lib/profiler.prose +460 -0
- package/extensions/open-prose/skills/prose/lib/program-improver.prose +275 -0
- package/extensions/open-prose/skills/prose/lib/project-memory.prose +118 -0
- package/extensions/open-prose/skills/prose/lib/user-memory.prose +93 -0
- package/extensions/open-prose/skills/prose/lib/vm-improver.prose +243 -0
- package/extensions/open-prose/skills/prose/primitives/session.md +587 -0
- package/extensions/open-prose/skills/prose/prose.md +1235 -0
- package/extensions/open-prose/skills/prose/state/filesystem.md +478 -0
- package/extensions/open-prose/skills/prose/state/in-context.md +380 -0
- package/extensions/open-prose/skills/prose/state/postgres.md +875 -0
- package/extensions/open-prose/skills/prose/state/sqlite.md +572 -0
- package/extensions/qwen-portal-auth/README.md +24 -0
- package/extensions/qwen-portal-auth/clawdbot.plugin.json +11 -0
- package/extensions/qwen-portal-auth/index.ts +127 -0
- package/extensions/qwen-portal-auth/oauth.ts +190 -0
- package/extensions/signal/clawdbot.plugin.json +11 -0
- package/extensions/signal/index.ts +18 -0
- package/extensions/signal/package.json +11 -0
- package/extensions/signal/src/channel.ts +312 -0
- package/extensions/signal/src/runtime.ts +14 -0
- package/extensions/slack/clawdbot.plugin.json +11 -0
- package/extensions/slack/index.ts +18 -0
- package/extensions/slack/package.json +11 -0
- package/extensions/slack/src/channel.ts +577 -0
- package/extensions/slack/src/runtime.ts +14 -0
- package/extensions/telegram/clawdbot.plugin.json +11 -0
- package/extensions/telegram/index.ts +18 -0
- package/extensions/telegram/package.json +11 -0
- package/extensions/telegram/src/channel.ts +478 -0
- package/extensions/telegram/src/runtime.ts +14 -0
- package/extensions/tlon/README.md +5 -0
- package/extensions/tlon/clawdbot.plugin.json +11 -0
- package/extensions/tlon/index.ts +18 -0
- package/extensions/tlon/package.json +30 -0
- package/extensions/tlon/src/channel.ts +379 -0
- package/extensions/tlon/src/config-schema.test.ts +32 -0
- package/extensions/tlon/src/config-schema.ts +43 -0
- package/extensions/tlon/src/monitor/discovery.ts +71 -0
- package/extensions/tlon/src/monitor/history.ts +87 -0
- package/extensions/tlon/src/monitor/index.ts +501 -0
- package/extensions/tlon/src/monitor/processed-messages.test.ts +24 -0
- package/extensions/tlon/src/monitor/processed-messages.ts +38 -0
- package/extensions/tlon/src/monitor/utils.ts +83 -0
- package/extensions/tlon/src/onboarding.ts +213 -0
- package/extensions/tlon/src/runtime.ts +14 -0
- package/extensions/tlon/src/targets.ts +79 -0
- package/extensions/tlon/src/types.ts +85 -0
- package/extensions/tlon/src/urbit/auth.ts +18 -0
- package/extensions/tlon/src/urbit/http-api.ts +36 -0
- package/extensions/tlon/src/urbit/send.test.ts +38 -0
- package/extensions/tlon/src/urbit/send.ts +127 -0
- package/extensions/tlon/src/urbit/sse-client.test.ts +41 -0
- package/extensions/tlon/src/urbit/sse-client.ts +367 -0
- package/extensions/twitch/CHANGELOG.md +21 -0
- package/extensions/twitch/README.md +89 -0
- package/extensions/twitch/clawdbot.plugin.json +9 -0
- package/extensions/twitch/index.ts +20 -0
- package/extensions/twitch/package.json +20 -0
- package/extensions/twitch/src/access-control.test.ts +489 -0
- package/extensions/twitch/src/access-control.ts +154 -0
- package/extensions/twitch/src/actions.ts +173 -0
- package/extensions/twitch/src/client-manager-registry.ts +115 -0
- package/extensions/twitch/src/config-schema.ts +82 -0
- package/extensions/twitch/src/config.test.ts +88 -0
- package/extensions/twitch/src/config.ts +116 -0
- package/extensions/twitch/src/monitor.ts +257 -0
- package/extensions/twitch/src/onboarding.test.ts +311 -0
- package/extensions/twitch/src/onboarding.ts +411 -0
- package/extensions/twitch/src/outbound.test.ts +373 -0
- package/extensions/twitch/src/outbound.ts +186 -0
- package/extensions/twitch/src/plugin.test.ts +39 -0
- package/extensions/twitch/src/plugin.ts +274 -0
- package/extensions/twitch/src/probe.test.ts +198 -0
- package/extensions/twitch/src/probe.ts +118 -0
- package/extensions/twitch/src/resolver.ts +137 -0
- package/extensions/twitch/src/runtime.ts +14 -0
- package/extensions/twitch/src/send.test.ts +289 -0
- package/extensions/twitch/src/send.ts +136 -0
- package/extensions/twitch/src/status.test.ts +270 -0
- package/extensions/twitch/src/status.ts +176 -0
- package/extensions/twitch/src/token.test.ts +171 -0
- package/extensions/twitch/src/token.ts +87 -0
- package/extensions/twitch/src/twitch-client.test.ts +574 -0
- package/extensions/twitch/src/twitch-client.ts +277 -0
- package/extensions/twitch/src/types.ts +141 -0
- package/extensions/twitch/src/utils/markdown.ts +92 -0
- package/extensions/twitch/src/utils/twitch.ts +78 -0
- package/extensions/twitch/test/setup.ts +7 -0
- package/extensions/voice-call/CHANGELOG.md +72 -0
- package/extensions/voice-call/README.md +134 -0
- package/extensions/voice-call/clawdbot.plugin.json +601 -0
- package/extensions/voice-call/index.ts +497 -0
- package/extensions/voice-call/package.json +16 -0
- package/extensions/voice-call/src/cli.ts +300 -0
- package/extensions/voice-call/src/config.test.ts +204 -0
- package/extensions/voice-call/src/config.ts +493 -0
- package/extensions/voice-call/src/core-bridge.ts +196 -0
- package/extensions/voice-call/src/manager/context.ts +21 -0
- package/extensions/voice-call/src/manager/events.ts +177 -0
- package/extensions/voice-call/src/manager/lookup.ts +33 -0
- package/extensions/voice-call/src/manager/outbound.ts +248 -0
- package/extensions/voice-call/src/manager/state.ts +50 -0
- package/extensions/voice-call/src/manager/store.ts +88 -0
- package/extensions/voice-call/src/manager/timers.ts +86 -0
- package/extensions/voice-call/src/manager/twiml.ts +9 -0
- package/extensions/voice-call/src/manager.test.ts +108 -0
- package/extensions/voice-call/src/manager.ts +876 -0
- package/extensions/voice-call/src/media-stream.test.ts +97 -0
- package/extensions/voice-call/src/media-stream.ts +393 -0
- package/extensions/voice-call/src/providers/base.ts +67 -0
- package/extensions/voice-call/src/providers/index.ts +10 -0
- package/extensions/voice-call/src/providers/mock.ts +168 -0
- package/extensions/voice-call/src/providers/plivo.test.ts +28 -0
- package/extensions/voice-call/src/providers/plivo.ts +504 -0
- package/extensions/voice-call/src/providers/stt-openai-realtime.ts +311 -0
- package/extensions/voice-call/src/providers/telnyx.ts +364 -0
- package/extensions/voice-call/src/providers/tts-openai.ts +264 -0
- package/extensions/voice-call/src/providers/twilio/api.ts +45 -0
- package/extensions/voice-call/src/providers/twilio/webhook.ts +29 -0
- package/extensions/voice-call/src/providers/twilio.test.ts +64 -0
- package/extensions/voice-call/src/providers/twilio.ts +595 -0
- package/extensions/voice-call/src/response-generator.ts +171 -0
- package/extensions/voice-call/src/runtime.ts +205 -0
- package/extensions/voice-call/src/telephony-audio.ts +88 -0
- package/extensions/voice-call/src/telephony-tts.ts +95 -0
- package/extensions/voice-call/src/tunnel.ts +331 -0
- package/extensions/voice-call/src/types.ts +272 -0
- package/extensions/voice-call/src/utils.ts +12 -0
- package/extensions/voice-call/src/voice-mapping.ts +65 -0
- package/extensions/voice-call/src/webhook-security.test.ts +233 -0
- package/extensions/voice-call/src/webhook-security.ts +446 -0
- package/extensions/voice-call/src/webhook.ts +490 -0
- package/extensions/whatsapp/clawdbot.plugin.json +11 -0
- package/extensions/whatsapp/index.ts +18 -0
- package/extensions/whatsapp/package.json +11 -0
- package/extensions/whatsapp/src/channel.ts +500 -0
- package/extensions/whatsapp/src/runtime.ts +14 -0
- package/extensions/zalo/CHANGELOG.md +55 -0
- package/extensions/zalo/README.md +50 -0
- package/extensions/zalo/clawdbot.plugin.json +11 -0
- package/extensions/zalo/index.ts +20 -0
- package/extensions/zalo/package.json +33 -0
- package/extensions/zalo/src/accounts.ts +71 -0
- package/extensions/zalo/src/actions.ts +62 -0
- package/extensions/zalo/src/api.ts +206 -0
- package/extensions/zalo/src/channel.directory.test.ts +35 -0
- package/extensions/zalo/src/channel.ts +394 -0
- package/extensions/zalo/src/config-schema.ts +24 -0
- package/extensions/zalo/src/monitor.ts +760 -0
- package/extensions/zalo/src/monitor.webhook.test.ts +70 -0
- package/extensions/zalo/src/onboarding.ts +405 -0
- package/extensions/zalo/src/probe.ts +46 -0
- package/extensions/zalo/src/proxy.ts +18 -0
- package/extensions/zalo/src/runtime.ts +14 -0
- package/extensions/zalo/src/send.ts +117 -0
- package/extensions/zalo/src/status-issues.ts +50 -0
- package/extensions/zalo/src/token.ts +55 -0
- package/extensions/zalo/src/types.ts +42 -0
- package/extensions/zalouser/CHANGELOG.md +33 -0
- package/extensions/zalouser/README.md +221 -0
- package/extensions/zalouser/clawdbot.plugin.json +11 -0
- package/extensions/zalouser/index.ts +32 -0
- package/extensions/zalouser/package.json +33 -0
- package/extensions/zalouser/src/accounts.ts +117 -0
- package/extensions/zalouser/src/channel.test.ts +17 -0
- package/extensions/zalouser/src/channel.ts +641 -0
- package/extensions/zalouser/src/config-schema.ts +27 -0
- package/extensions/zalouser/src/monitor.ts +574 -0
- package/extensions/zalouser/src/onboarding.ts +488 -0
- package/extensions/zalouser/src/probe.ts +28 -0
- package/extensions/zalouser/src/runtime.ts +14 -0
- package/extensions/zalouser/src/send.ts +150 -0
- package/extensions/zalouser/src/status-issues.test.ts +58 -0
- package/extensions/zalouser/src/status-issues.ts +81 -0
- package/extensions/zalouser/src/tool.ts +156 -0
- package/extensions/zalouser/src/types.ts +102 -0
- package/extensions/zalouser/src/zca.ts +208 -0
- package/git-hooks/pre-commit +4 -0
- package/package.json +280 -0
- package/patches/.gitkeep +0 -0
- package/scripts/format-staged.js +148 -0
- package/scripts/postinstall.js +300 -0
- package/scripts/setup-git-hooks.js +96 -0
- package/skills/1password/SKILL.md +53 -0
- package/skills/1password/references/cli-examples.md +29 -0
- package/skills/1password/references/get-started.md +17 -0
- package/skills/apple-notes/SKILL.md +50 -0
- package/skills/apple-reminders/SKILL.md +67 -0
- package/skills/bear-notes/SKILL.md +79 -0
- package/skills/bird/SKILL.md +197 -0
- package/skills/blogwatcher/SKILL.md +46 -0
- package/skills/blucli/SKILL.md +27 -0
- package/skills/bluebubbles/SKILL.md +39 -0
- package/skills/camsnap/SKILL.md +25 -0
- package/skills/canvas/SKILL.md +189 -0
- package/skills/clawdhub/SKILL.md +53 -0
- package/skills/coding-agent/SKILL.md +278 -0
- package/skills/content-writer/SKILL.md +260 -0
- package/skills/discord/SKILL.md +475 -0
- package/skills/eightctl/SKILL.md +29 -0
- package/skills/food-order/SKILL.md +41 -0
- package/skills/ga4/SKILL.md +297 -0
- package/skills/gemini/SKILL.md +23 -0
- package/skills/gifgrep/SKILL.md +47 -0
- package/skills/github/SKILL.md +48 -0
- package/skills/gog/SKILL.md +92 -0
- package/skills/goplaces/SKILL.md +30 -0
- package/skills/himalaya/SKILL.md +217 -0
- package/skills/himalaya/references/configuration.md +174 -0
- package/skills/himalaya/references/message-composition.md +182 -0
- package/skills/imsg/SKILL.md +25 -0
- package/skills/local-places/SERVER_README.md +101 -0
- package/skills/local-places/SKILL.md +91 -0
- package/skills/local-places/pyproject.toml +27 -0
- package/skills/local-places/src/local_places/__init__.py +2 -0
- package/skills/local-places/src/local_places/google_places.py +314 -0
- package/skills/local-places/src/local_places/main.py +65 -0
- package/skills/local-places/src/local_places/schemas.py +107 -0
- package/skills/marketing-reporter/SKILL.md +221 -0
- package/skills/mcporter/SKILL.md +38 -0
- package/skills/model-usage/SKILL.md +45 -0
- package/skills/model-usage/references/codexbar-cli.md +28 -0
- package/skills/model-usage/scripts/model_usage.py +310 -0
- package/skills/nano-banana-pro/SKILL.md +30 -0
- package/skills/nano-banana-pro/scripts/generate_image.py +169 -0
- package/skills/nano-pdf/SKILL.md +20 -0
- package/skills/notion/SKILL.md +156 -0
- package/skills/obsidian/SKILL.md +55 -0
- package/skills/openai-image-gen/SKILL.md +71 -0
- package/skills/openai-image-gen/scripts/gen.py +240 -0
- package/skills/openai-whisper/SKILL.md +19 -0
- package/skills/openai-whisper-api/SKILL.md +43 -0
- package/skills/openai-whisper-api/scripts/transcribe.sh +85 -0
- package/skills/openhue/SKILL.md +30 -0
- package/skills/oracle/SKILL.md +105 -0
- package/skills/ordercli/SKILL.md +47 -0
- package/skills/peekaboo/SKILL.md +153 -0
- package/skills/sag/SKILL.md +62 -0
- package/skills/search-console/SKILL.md +288 -0
- package/skills/session-logs/SKILL.md +105 -0
- package/skills/sherpa-onnx-tts/SKILL.md +49 -0
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +178 -0
- package/skills/skill-creator/SKILL.md +371 -0
- package/skills/skill-creator/license.txt +202 -0
- package/skills/skill-creator/scripts/init_skill.py +378 -0
- package/skills/skill-creator/scripts/package_skill.py +111 -0
- package/skills/skill-creator/scripts/quick_validate.py +101 -0
- package/skills/slack/SKILL.md +144 -0
- package/skills/social-posting/SKILL.md +311 -0
- package/skills/songsee/SKILL.md +29 -0
- package/skills/sonoscli/SKILL.md +26 -0
- package/skills/spotify-player/SKILL.md +34 -0
- package/skills/summarize/SKILL.md +67 -0
- package/skills/things-mac/SKILL.md +61 -0
- package/skills/tmux/SKILL.md +121 -0
- package/skills/tmux/scripts/find-sessions.sh +112 -0
- package/skills/tmux/scripts/wait-for-text.sh +83 -0
- package/skills/trello/SKILL.md +84 -0
- package/skills/video-frames/SKILL.md +29 -0
- package/skills/video-frames/scripts/frame.sh +81 -0
- package/skills/voice-call/SKILL.md +35 -0
- package/skills/wacli/SKILL.md +42 -0
- package/skills/weather/SKILL.md +49 -0
package/docs/help/faq.md
ADDED
|
@@ -0,0 +1,2725 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Frequently asked questions about Clawdbot setup, configuration, and usage"
|
|
3
|
+
---
|
|
4
|
+
# FAQ
|
|
5
|
+
|
|
6
|
+
Quick answers plus deeper troubleshooting for real-world setups (local dev, VPS, multi-agent, OAuth/API keys, model failover). For runtime diagnostics, see [Troubleshooting](/gateway/troubleshooting). For the full config reference, see [Configuration](/gateway/configuration).
|
|
7
|
+
|
|
8
|
+
## Table of contents
|
|
9
|
+
|
|
10
|
+
- [Quick start and first-run setup](#quick-start-and-firstrun-setup)
|
|
11
|
+
- [Im stuck whats the fastest way to get unstuck?](#im-stuck-whats-the-fastest-way-to-get-unstuck)
|
|
12
|
+
- [What’s the recommended way to install and set up Clawdbot?](#whats-the-recommended-way-to-install-and-set-up-clawdbot)
|
|
13
|
+
- [How do I open the dashboard after onboarding?](#how-do-i-open-the-dashboard-after-onboarding)
|
|
14
|
+
- [How do I authenticate the dashboard (token) on localhost vs remote?](#how-do-i-authenticate-the-dashboard-token-on-localhost-vs-remote)
|
|
15
|
+
- [What runtime do I need?](#what-runtime-do-i-need)
|
|
16
|
+
- [Does it run on Raspberry Pi?](#does-it-run-on-raspberry-pi)
|
|
17
|
+
- [Any tips for Raspberry Pi installs?](#any-tips-for-raspberry-pi-installs)
|
|
18
|
+
- [It is stuck on "wake up my friend" / onboarding will not hatch. What now?](#it-is-stuck-on-wake-up-my-friend-onboarding-will-not-hatch-what-now)
|
|
19
|
+
- [Can I migrate my setup to a new machine (Mac mini) without redoing onboarding?](#can-i-migrate-my-setup-to-a-new-machine-mac-mini-without-redoing-onboarding)
|
|
20
|
+
- [Where do I see what’s new in the latest version?](#where-do-i-see-whats-new-in-the-latest-version)
|
|
21
|
+
- [I can't access docs.clawd.bot (SSL error). What now?](#i-cant-access-docsclawdbot-ssl-error-what-now)
|
|
22
|
+
- [What’s the difference between stable and beta?](#whats-the-difference-between-stable-and-beta)
|
|
23
|
+
- [How do I install the beta version, and what’s the difference between beta and dev?](#how-do-i-install-the-beta-version-and-whats-the-difference-between-beta-and-dev)
|
|
24
|
+
- [How do I try the latest bits?](#how-do-i-try-the-latest-bits)
|
|
25
|
+
- [How long does install and onboarding usually take?](#how-long-does-install-and-onboarding-usually-take)
|
|
26
|
+
- [Installer stuck? How do I get more feedback?](#installer-stuck-how-do-i-get-more-feedback)
|
|
27
|
+
- [Windows install says git not found or clawdbot not recognized](#windows-install-says-git-not-found-or-clawdbot-not-recognized)
|
|
28
|
+
- [The docs didn’t answer my question - how do I get a better answer?](#the-docs-didnt-answer-my-question-how-do-i-get-a-better-answer)
|
|
29
|
+
- [How do I install Clawdbot on Linux?](#how-do-i-install-clawdbot-on-linux)
|
|
30
|
+
- [How do I install Clawdbot on a VPS?](#how-do-i-install-clawdbot-on-a-vps)
|
|
31
|
+
- [Where are the cloud/VPS install guides?](#where-are-the-cloudvps-install-guides)
|
|
32
|
+
- [Can I ask Clawd to update itself?](#can-i-ask-clawd-to-update-itself)
|
|
33
|
+
- [What does the onboarding wizard actually do?](#what-does-the-onboarding-wizard-actually-do)
|
|
34
|
+
- [Do I need a Claude or OpenAI subscription to run this?](#do-i-need-a-claude-or-openai-subscription-to-run-this)
|
|
35
|
+
- [Can I use Claude Max subscription without an API key](#can-i-use-claude-max-subscription-without-an-api-key)
|
|
36
|
+
- [How does Anthropic "setup-token" auth work?](#how-does-anthropic-setuptoken-auth-work)
|
|
37
|
+
- [Where do I find an Anthropic setup-token?](#where-do-i-find-an-anthropic-setuptoken)
|
|
38
|
+
- [Do you support Claude subscription auth (Claude Code OAuth)?](#do-you-support-claude-subscription-auth-claude-code-oauth)
|
|
39
|
+
- [Why am I seeing `HTTP 429: rate_limit_error` from Anthropic?](#why-am-i-seeing-http-429-ratelimiterror-from-anthropic)
|
|
40
|
+
- [Is AWS Bedrock supported?](#is-aws-bedrock-supported)
|
|
41
|
+
- [How does Codex auth work?](#how-does-codex-auth-work)
|
|
42
|
+
- [Do you support OpenAI subscription auth (Codex OAuth)?](#do-you-support-openai-subscription-auth-codex-oauth)
|
|
43
|
+
- [How do I set up Gemini CLI OAuth](#how-do-i-set-up-gemini-cli-oauth)
|
|
44
|
+
- [Is a local model OK for casual chats?](#is-a-local-model-ok-for-casual-chats)
|
|
45
|
+
- [How do I keep hosted model traffic in a specific region?](#how-do-i-keep-hosted-model-traffic-in-a-specific-region)
|
|
46
|
+
- [Do I have to buy a Mac Mini to install this?](#do-i-have-to-buy-a-mac-mini-to-install-this)
|
|
47
|
+
- [Do I need a Mac mini for iMessage support?](#do-i-need-a-mac-mini-for-imessage-support)
|
|
48
|
+
- [If I buy a Mac mini to run Clawdbot, can I connect it to my MacBook Pro?](#if-i-buy-a-mac-mini-to-run-clawdbot-can-i-connect-it-to-my-macbook-pro)
|
|
49
|
+
- [Can I use Bun?](#can-i-use-bun)
|
|
50
|
+
- [Telegram: what goes in `allowFrom`?](#telegram-what-goes-in-allowfrom)
|
|
51
|
+
- [Can multiple people use one WhatsApp number with different Clawdbots?](#can-multiple-people-use-one-whatsapp-number-with-different-clawdbots)
|
|
52
|
+
- [Can I run a "fast chat" agent and an "Opus for coding" agent?](#can-i-run-a-fast-chat-agent-and-an-opus-for-coding-agent)
|
|
53
|
+
- [Does Homebrew work on Linux?](#does-homebrew-work-on-linux)
|
|
54
|
+
- [What’s the difference between the hackable (git) install and npm install?](#whats-the-difference-between-the-hackable-git-install-and-npm-install)
|
|
55
|
+
- [Can I switch between npm and git installs later?](#can-i-switch-between-npm-and-git-installs-later)
|
|
56
|
+
- [Should I run the Gateway on my laptop or a VPS?](#should-i-run-the-gateway-on-my-laptop-or-a-vps)
|
|
57
|
+
- [How important is it to run Clawdbot on a dedicated machine?](#how-important-is-it-to-run-clawdbot-on-a-dedicated-machine)
|
|
58
|
+
- [What are the minimum VPS requirements and recommended OS?](#what-are-the-minimum-vps-requirements-and-recommended-os)
|
|
59
|
+
- [Can I run Clawdbot in a VM and what are the requirements](#can-i-run-clawdbot-in-a-vm-and-what-are-the-requirements)
|
|
60
|
+
- [What is Clawdbot?](#what-is-clawdbot)
|
|
61
|
+
- [What is Clawdbot, in one paragraph?](#what-is-clawdbot-in-one-paragraph)
|
|
62
|
+
- [What’s the value proposition?](#whats-the-value-proposition)
|
|
63
|
+
- [I just set it up what should I do first](#i-just-set-it-up-what-should-i-do-first)
|
|
64
|
+
- [What are the top five everyday use cases for Clawdbot](#what-are-the-top-five-everyday-use-cases-for-clawdbot)
|
|
65
|
+
- [Can Clawdbot help with lead gen outreach ads and blogs for a SaaS](#can-clawdbot-help-with-lead-gen-outreach-ads-and-blogs-for-a-saas)
|
|
66
|
+
- [What are the advantages vs Claude Code for web development?](#what-are-the-advantages-vs-claude-code-for-web-development)
|
|
67
|
+
- [Skills and automation](#skills-and-automation)
|
|
68
|
+
- [How do I customize skills without keeping the repo dirty?](#how-do-i-customize-skills-without-keeping-the-repo-dirty)
|
|
69
|
+
- [Can I load skills from a custom folder?](#can-i-load-skills-from-a-custom-folder)
|
|
70
|
+
- [How can I use different models for different tasks?](#how-can-i-use-different-models-for-different-tasks)
|
|
71
|
+
- [The bot freezes while doing heavy work. How do I offload that?](#the-bot-freezes-while-doing-heavy-work-how-do-i-offload-that)
|
|
72
|
+
- [Cron or reminders do not fire. What should I check?](#cron-or-reminders-do-not-fire-what-should-i-check)
|
|
73
|
+
- [How do I install skills on Linux?](#how-do-i-install-skills-on-linux)
|
|
74
|
+
- [Can Clawdbot run tasks on a schedule or continuously in the background?](#can-clawdbot-run-tasks-on-a-schedule-or-continuously-in-the-background)
|
|
75
|
+
- [Can I run Apple/macOS-only skills from Linux?](#can-i-run-applemacosonly-skills-from-linux)
|
|
76
|
+
- [Do you have a Notion or HeyGen integration?](#do-you-have-a-notion-or-heygen-integration)
|
|
77
|
+
- [How do I install the Chrome extension for browser takeover?](#how-do-i-install-the-chrome-extension-for-browser-takeover)
|
|
78
|
+
- [Sandboxing and memory](#sandboxing-and-memory)
|
|
79
|
+
- [Is there a dedicated sandboxing doc?](#is-there-a-dedicated-sandboxing-doc)
|
|
80
|
+
- [How do I bind a host folder into the sandbox?](#how-do-i-bind-a-host-folder-into-the-sandbox)
|
|
81
|
+
- [How does memory work?](#how-does-memory-work)
|
|
82
|
+
- [Memory keeps forgetting things. How do I make it stick?](#memory-keeps-forgetting-things-how-do-i-make-it-stick)
|
|
83
|
+
- [Does memory persist forever? What are the limits?](#does-memory-persist-forever-what-are-the-limits)
|
|
84
|
+
- [Does semantic memory search require an OpenAI API key?](#does-semantic-memory-search-require-an-openai-api-key)
|
|
85
|
+
- [Where things live on disk](#where-things-live-on-disk)
|
|
86
|
+
- [Is all data used with Clawdbot saved locally?](#is-all-data-used-with-clawdbot-saved-locally)
|
|
87
|
+
- [Where does Clawdbot store its data?](#where-does-clawdbot-store-its-data)
|
|
88
|
+
- [Where should AGENTS.md / SOUL.md / USER.md / MEMORY.md live?](#where-should-agentsmd-soulmd-usermd-memorymd-live)
|
|
89
|
+
- [What’s the recommended backup strategy?](#whats-the-recommended-backup-strategy)
|
|
90
|
+
- [How do I completely uninstall Clawdbot?](#how-do-i-completely-uninstall-clawdbot)
|
|
91
|
+
- [Can agents work outside the workspace?](#can-agents-work-outside-the-workspace)
|
|
92
|
+
- [I’m in remote mode - where is the session store?](#im-in-remote-mode-where-is-the-session-store)
|
|
93
|
+
- [Config basics](#config-basics)
|
|
94
|
+
- [What format is the config? Where is it?](#what-format-is-the-config-where-is-it)
|
|
95
|
+
- [I set `gateway.bind: "lan"` (or `"tailnet"`) and now nothing listens / the UI says unauthorized](#i-set-gatewaybind-lan-or-tailnet-and-now-nothing-listens-the-ui-says-unauthorized)
|
|
96
|
+
- [Why do I need a token on localhost now?](#why-do-i-need-a-token-on-localhost-now)
|
|
97
|
+
- [Do I have to restart after changing config?](#do-i-have-to-restart-after-changing-config)
|
|
98
|
+
- [How do I enable web search (and web fetch)?](#how-do-i-enable-web-search-and-web-fetch)
|
|
99
|
+
- [config.apply wiped my config. How do I recover and avoid this?](#configapply-wiped-my-config-how-do-i-recover-and-avoid-this)
|
|
100
|
+
- [How do I run a central Gateway with specialized workers across devices?](#how-do-i-run-a-central-gateway-with-specialized-workers-across-devices)
|
|
101
|
+
- [Can the Clawdbot browser run headless?](#can-the-clawdbot-browser-run-headless)
|
|
102
|
+
- [How do I use Brave for browser control?](#how-do-i-use-brave-for-browser-control)
|
|
103
|
+
- [Remote gateways + nodes](#remote-gateways-nodes)
|
|
104
|
+
- [How do commands propagate between Telegram, the gateway, and nodes?](#how-do-commands-propagate-between-telegram-the-gateway-and-nodes)
|
|
105
|
+
- [How can my agent access my computer if the Gateway is hosted remotely?](#how-can-my-agent-access-my-computer-if-the-gateway-is-hosted-remotely)
|
|
106
|
+
- [Tailscale is connected but I get no replies. What now?](#tailscale-is-connected-but-i-get-no-replies-what-now)
|
|
107
|
+
- [Can two Clawdbots talk to each other (local + VPS)?](#can-two-clawdbots-talk-to-each-other-local-vps)
|
|
108
|
+
- [Do I need separate VPSes for multiple agents](#do-i-need-separate-vpses-for-multiple-agents)
|
|
109
|
+
- [Is there a benefit to using a node on my personal laptop instead of SSH from a VPS?](#is-there-a-benefit-to-using-a-node-on-my-personal-laptop-instead-of-ssh-from-a-vps)
|
|
110
|
+
- [Do nodes run a gateway service?](#do-nodes-run-a-gateway-service)
|
|
111
|
+
- [Is there an API / RPC way to apply config?](#is-there-an-api-rpc-way-to-apply-config)
|
|
112
|
+
- [What’s a minimal “sane” config for a first install?](#whats-a-minimal-sane-config-for-a-first-install)
|
|
113
|
+
- [How do I set up Tailscale on a VPS and connect from my Mac?](#how-do-i-set-up-tailscale-on-a-vps-and-connect-from-my-mac)
|
|
114
|
+
- [How do I connect a Mac node to a remote Gateway (Tailscale Serve)?](#how-do-i-connect-a-mac-node-to-a-remote-gateway-tailscale-serve)
|
|
115
|
+
- [Should I install on a second laptop or just add a node?](#should-i-install-on-a-second-laptop-or-just-add-a-node)
|
|
116
|
+
- [Env vars and .env loading](#env-vars-and-env-loading)
|
|
117
|
+
- [How does Clawdbot load environment variables?](#how-does-clawdbot-load-environment-variables)
|
|
118
|
+
- [“I started the Gateway via the service and my env vars disappeared.” What now?](#i-started-the-gateway-via-the-service-and-my-env-vars-disappeared-what-now)
|
|
119
|
+
- [I set `COPILOT_GITHUB_TOKEN`, but models status shows “Shell env: off.” Why?](#i-set-copilotgithubtoken-but-models-status-shows-shell-env-off-why)
|
|
120
|
+
- [Sessions & multiple chats](#sessions-multiple-chats)
|
|
121
|
+
- [How do I start a fresh conversation?](#how-do-i-start-a-fresh-conversation)
|
|
122
|
+
- [Do sessions reset automatically if I never send `/new`?](#do-sessions-reset-automatically-if-i-never-send-new)
|
|
123
|
+
- [Is there a way to make a team of Clawdbots one CEO and many agents](#is-there-a-way-to-make-a-team-of-clawdbots-one-ceo-and-many-agents)
|
|
124
|
+
- [Why did context get truncated mid-task? How do I prevent it?](#why-did-context-get-truncated-midtask-how-do-i-prevent-it)
|
|
125
|
+
- [How do I completely reset Clawdbot but keep it installed?](#how-do-i-completely-reset-clawdbot-but-keep-it-installed)
|
|
126
|
+
- [I’m getting “context too large” errors - how do I reset or compact?](#im-getting-context-too-large-errors-how-do-i-reset-or-compact)
|
|
127
|
+
- [Why am I seeing “LLM request rejected: messages.N.content.X.tool_use.input: Field required”?](#why-am-i-seeing-llm-request-rejected-messagesncontentxtooluseinput-field-required)
|
|
128
|
+
- [Why am I getting heartbeat messages every 30 minutes?](#why-am-i-getting-heartbeat-messages-every-30-minutes)
|
|
129
|
+
- [Do I need to add a “bot account” to a WhatsApp group?](#do-i-need-to-add-a-bot-account-to-a-whatsapp-group)
|
|
130
|
+
- [How do I get the JID of a WhatsApp group?](#how-do-i-get-the-jid-of-a-whatsapp-group)
|
|
131
|
+
- [Why doesn’t Clawdbot reply in a group?](#why-doesnt-clawdbot-reply-in-a-group)
|
|
132
|
+
- [Do groups/threads share context with DMs?](#do-groupsthreads-share-context-with-dms)
|
|
133
|
+
- [How many workspaces and agents can I create?](#how-many-workspaces-and-agents-can-i-create)
|
|
134
|
+
- [Can I run multiple bots or chats at the same time (Slack), and how should I set that up?](#can-i-run-multiple-bots-or-chats-at-the-same-time-slack-and-how-should-i-set-that-up)
|
|
135
|
+
- [Models: defaults, selection, aliases, switching](#models-defaults-selection-aliases-switching)
|
|
136
|
+
- [What is the “default model”?](#what-is-the-default-model)
|
|
137
|
+
- [What model do you recommend?](#what-model-do-you-recommend)
|
|
138
|
+
- [How do I switch models without wiping my config?](#how-do-i-switch-models-without-wiping-my-config)
|
|
139
|
+
- [Can I use self-hosted models (llama.cpp, vLLM, Ollama)?](#can-i-use-selfhosted-models-llamacpp-vllm-ollama)
|
|
140
|
+
- [What do Clawd, Flawd, and Krill use for models?](#what-do-clawd-flawd-and-krill-use-for-models)
|
|
141
|
+
- [How do I switch models on the fly (without restarting)?](#how-do-i-switch-models-on-the-fly-without-restarting)
|
|
142
|
+
- [Can I use GPT 5.2 for daily tasks and Codex 5.2 for coding](#can-i-use-gpt-52-for-daily-tasks-and-codex-52-for-coding)
|
|
143
|
+
- [Why do I see “Model … is not allowed” and then no reply?](#why-do-i-see-model-is-not-allowed-and-then-no-reply)
|
|
144
|
+
- [Why do I see “Unknown model: minimax/MiniMax-M2.1”?](#why-do-i-see-unknown-model-minimaxminimaxm21)
|
|
145
|
+
- [Can I use MiniMax as my default and OpenAI for complex tasks?](#can-i-use-minimax-as-my-default-and-openai-for-complex-tasks)
|
|
146
|
+
- [Are opus / sonnet / gpt built‑in shortcuts?](#are-opus-sonnet-gpt-builtin-shortcuts)
|
|
147
|
+
- [How do I define/override model shortcuts (aliases)?](#how-do-i-defineoverride-model-shortcuts-aliases)
|
|
148
|
+
- [How do I add models from other providers like OpenRouter or Z.AI?](#how-do-i-add-models-from-other-providers-like-openrouter-or-zai)
|
|
149
|
+
- [Model failover and “All models failed”](#model-failover-and-all-models-failed)
|
|
150
|
+
- [How does failover work?](#how-does-failover-work)
|
|
151
|
+
- [What does this error mean?](#what-does-this-error-mean)
|
|
152
|
+
- [Fix checklist for `No credentials found for profile "anthropic:default"`](#fix-checklist-for-no-credentials-found-for-profile-anthropicdefault)
|
|
153
|
+
- [Why did it also try Google Gemini and fail?](#why-did-it-also-try-google-gemini-and-fail)
|
|
154
|
+
- [Auth profiles: what they are and how to manage them](#auth-profiles-what-they-are-and-how-to-manage-them)
|
|
155
|
+
- [What is an auth profile?](#what-is-an-auth-profile)
|
|
156
|
+
- [What are typical profile IDs?](#what-are-typical-profile-ids)
|
|
157
|
+
- [Can I control which auth profile is tried first?](#can-i-control-which-auth-profile-is-tried-first)
|
|
158
|
+
- [OAuth vs API key: what’s the difference?](#oauth-vs-api-key-whats-the-difference)
|
|
159
|
+
- [Gateway: ports, “already running”, and remote mode](#gateway-ports-already-running-and-remote-mode)
|
|
160
|
+
- [What port does the Gateway use?](#what-port-does-the-gateway-use)
|
|
161
|
+
- [Why does `clawdbot gateway status` say `Runtime: running` but `RPC probe: failed`?](#why-does-clawdbot-gateway-status-say-runtime-running-but-rpc-probe-failed)
|
|
162
|
+
- [Why does `clawdbot gateway status` show `Config (cli)` and `Config (service)` different?](#why-does-clawdbot-gateway-status-show-config-cli-and-config-service-different)
|
|
163
|
+
- [What does “another gateway instance is already listening” mean?](#what-does-another-gateway-instance-is-already-listening-mean)
|
|
164
|
+
- [How do I run Clawdbot in remote mode (client connects to a Gateway elsewhere)?](#how-do-i-run-clawdbot-in-remote-mode-client-connects-to-a-gateway-elsewhere)
|
|
165
|
+
- [The Control UI says “unauthorized” (or keeps reconnecting). What now?](#the-control-ui-says-unauthorized-or-keeps-reconnecting-what-now)
|
|
166
|
+
- [I set `gateway.bind: "tailnet"` but it can’t bind / nothing listens](#i-set-gatewaybind-tailnet-but-it-cant-bind-nothing-listens)
|
|
167
|
+
- [Can I run multiple Gateways on the same host?](#can-i-run-multiple-gateways-on-the-same-host)
|
|
168
|
+
- [What does “invalid handshake” / code 1008 mean?](#what-does-invalid-handshake-code-1008-mean)
|
|
169
|
+
- [Logging and debugging](#logging-and-debugging)
|
|
170
|
+
- [Where are logs?](#where-are-logs)
|
|
171
|
+
- [How do I start/stop/restart the Gateway service?](#how-do-i-startstoprestart-the-gateway-service)
|
|
172
|
+
- [I closed my terminal on Windows - how do I restart Clawdbot?](#i-closed-my-terminal-on-windows-how-do-i-restart-clawdbot)
|
|
173
|
+
- [The Gateway is up but replies never arrive. What should I check?](#the-gateway-is-up-but-replies-never-arrive-what-should-i-check)
|
|
174
|
+
- ["Disconnected from gateway: no reason" - what now?](#disconnected-from-gateway-no-reason-what-now)
|
|
175
|
+
- [Telegram setMyCommands fails with network errors. What should I check?](#telegram-setmycommands-fails-with-network-errors-what-should-i-check)
|
|
176
|
+
- [TUI shows no output. What should I check?](#tui-shows-no-output-what-should-i-check)
|
|
177
|
+
- [How do I completely stop then start the Gateway?](#how-do-i-completely-stop-then-start-the-gateway)
|
|
178
|
+
- [ELI5: `clawdbot gateway restart` vs `clawdbot gateway`](#eli5-clawdbot-gateway-restart-vs-clawdbot-gateway)
|
|
179
|
+
- [What’s the fastest way to get more details when something fails?](#whats-the-fastest-way-to-get-more-details-when-something-fails)
|
|
180
|
+
- [Media & attachments](#media-attachments)
|
|
181
|
+
- [My skill generated an image/PDF, but nothing was sent](#my-skill-generated-an-imagepdf-but-nothing-was-sent)
|
|
182
|
+
- [Security and access control](#security-and-access-control)
|
|
183
|
+
- [Is it safe to expose Clawdbot to inbound DMs?](#is-it-safe-to-expose-clawdbot-to-inbound-dms)
|
|
184
|
+
- [Is prompt injection only a concern for public bots?](#is-prompt-injection-only-a-concern-for-public-bots)
|
|
185
|
+
- [Should my bot have its own email GitHub account or phone number](#should-my-bot-have-its-own-email-github-account-or-phone-number)
|
|
186
|
+
- [Can I give it autonomy over my text messages and is that safe](#can-i-give-it-autonomy-over-my-text-messages-and-is-that-safe)
|
|
187
|
+
- [Can I use cheaper models for personal assistant tasks?](#can-i-use-cheaper-models-for-personal-assistant-tasks)
|
|
188
|
+
- [I ran `/start` in Telegram but didn’t get a pairing code](#i-ran-start-in-telegram-but-didnt-get-a-pairing-code)
|
|
189
|
+
- [WhatsApp: will it message my contacts? How does pairing work?](#whatsapp-will-it-message-my-contacts-how-does-pairing-work)
|
|
190
|
+
- [Chat commands, aborting tasks, and “it won’t stop”](#chat-commands-aborting-tasks-and-it-wont-stop)
|
|
191
|
+
- [How do I stop internal system messages from showing in chat](#how-do-i-stop-internal-system-messages-from-showing-in-chat)
|
|
192
|
+
- [How do I stop/cancel a running task?](#how-do-i-stopcancel-a-running-task)
|
|
193
|
+
- [How do I send a Discord message from Telegram? (“Cross-context messaging denied”)](#how-do-i-send-a-discord-message-from-telegram-crosscontext-messaging-denied)
|
|
194
|
+
- [Why does it feel like the bot “ignores” rapid‑fire messages?](#why-does-it-feel-like-the-bot-ignores-rapidfire-messages)
|
|
195
|
+
|
|
196
|
+
## First 60 seconds if something's broken
|
|
197
|
+
|
|
198
|
+
1) **Quick status (first check)**
|
|
199
|
+
```bash
|
|
200
|
+
clawdbot status
|
|
201
|
+
```
|
|
202
|
+
Fast local summary: OS + update, gateway/service reachability, agents/sessions, provider config + runtime issues (when gateway is reachable).
|
|
203
|
+
|
|
204
|
+
2) **Pasteable report (safe to share)**
|
|
205
|
+
```bash
|
|
206
|
+
clawdbot status --all
|
|
207
|
+
```
|
|
208
|
+
Read-only diagnosis with log tail (tokens redacted).
|
|
209
|
+
|
|
210
|
+
3) **Daemon + port state**
|
|
211
|
+
```bash
|
|
212
|
+
clawdbot gateway status
|
|
213
|
+
```
|
|
214
|
+
Shows supervisor runtime vs RPC reachability, the probe target URL, and which config the service likely used.
|
|
215
|
+
|
|
216
|
+
4) **Deep probes**
|
|
217
|
+
```bash
|
|
218
|
+
clawdbot status --deep
|
|
219
|
+
```
|
|
220
|
+
Runs gateway health checks + provider probes (requires a reachable gateway). See [Health](/gateway/health).
|
|
221
|
+
|
|
222
|
+
5) **Tail the latest log**
|
|
223
|
+
```bash
|
|
224
|
+
clawdbot logs --follow
|
|
225
|
+
```
|
|
226
|
+
If RPC is down, fall back to:
|
|
227
|
+
```bash
|
|
228
|
+
tail -f "$(ls -t /tmp/clawdbot/clawdbot-*.log | head -1)"
|
|
229
|
+
```
|
|
230
|
+
File logs are separate from service logs; see [Logging](/logging) and [Troubleshooting](/gateway/troubleshooting).
|
|
231
|
+
|
|
232
|
+
6) **Run the doctor (repairs)**
|
|
233
|
+
```bash
|
|
234
|
+
clawdbot doctor
|
|
235
|
+
```
|
|
236
|
+
Repairs/migrates config/state + runs health checks. See [Doctor](/gateway/doctor).
|
|
237
|
+
|
|
238
|
+
7) **Gateway snapshot**
|
|
239
|
+
```bash
|
|
240
|
+
clawdbot health --json
|
|
241
|
+
clawdbot health --verbose # shows the target URL + config path on errors
|
|
242
|
+
```
|
|
243
|
+
Asks the running gateway for a full snapshot (WS-only). See [Health](/gateway/health).
|
|
244
|
+
|
|
245
|
+
## Quick start and first-run setup
|
|
246
|
+
|
|
247
|
+
### Im stuck whats the fastest way to get unstuck
|
|
248
|
+
|
|
249
|
+
Use a local AI agent that can **see your machine**. That is far more effective than asking
|
|
250
|
+
in Discord, because most "I'm stuck" cases are **local config or environment issues** that
|
|
251
|
+
remote helpers cannot inspect.
|
|
252
|
+
|
|
253
|
+
- **Claude Code**: https://www.anthropic.com/claude-code/
|
|
254
|
+
- **OpenAI Codex**: https://openai.com/codex/
|
|
255
|
+
|
|
256
|
+
These tools can read the repo, run commands, inspect logs, and help fix your machine-level
|
|
257
|
+
setup (PATH, services, permissions, auth files). Give them the **full source checkout** via
|
|
258
|
+
the hackable (git) install:
|
|
259
|
+
|
|
260
|
+
```bash
|
|
261
|
+
curl -fsSL https://clawd.bot/install.sh | bash -s -- --install-method git
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
This installs Clawdbot **from a git checkout**, so the agent can read the code + docs and
|
|
265
|
+
reason about the exact version you are running. You can always switch back to stable later
|
|
266
|
+
by re-running the installer without `--install-method git`.
|
|
267
|
+
|
|
268
|
+
Tip: ask the agent to **plan and supervise** the fix (step-by-step), then execute only the
|
|
269
|
+
necessary commands. That keeps changes small and easier to audit.
|
|
270
|
+
|
|
271
|
+
If you discover a real bug or fix, please file a GitHub issue or send a PR:
|
|
272
|
+
https://github.com/clawdbot/clawdbot/issues
|
|
273
|
+
https://github.com/clawdbot/clawdbot/pulls
|
|
274
|
+
|
|
275
|
+
Start with these commands (share outputs when asking for help):
|
|
276
|
+
|
|
277
|
+
```bash
|
|
278
|
+
clawdbot status
|
|
279
|
+
clawdbot models status
|
|
280
|
+
clawdbot doctor
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
What they do:
|
|
284
|
+
- `clawdbot status`: quick snapshot of gateway/agent health + basic config.
|
|
285
|
+
- `clawdbot models status`: checks provider auth + model availability.
|
|
286
|
+
- `clawdbot doctor`: validates and repairs common config/state issues.
|
|
287
|
+
|
|
288
|
+
Other useful CLI checks: `clawdbot status --all`, `clawdbot logs --follow`,
|
|
289
|
+
`clawdbot gateway status`, `clawdbot health --verbose`.
|
|
290
|
+
|
|
291
|
+
Quick debug loop: [First 60 seconds if something's broken](#first-60-seconds-if-somethings-broken).
|
|
292
|
+
Install docs: [Install](/install), [Installer flags](/install/installer), [Updating](/install/updating).
|
|
293
|
+
|
|
294
|
+
### Whats the recommended way to install and set up Clawdbot
|
|
295
|
+
|
|
296
|
+
The repo recommends running from source and using the onboarding wizard:
|
|
297
|
+
|
|
298
|
+
```bash
|
|
299
|
+
curl -fsSL https://clawd.bot/install.sh | bash
|
|
300
|
+
clawdbot onboard --install-daemon
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
The wizard can also build UI assets automatically. After onboarding, you typically run the Gateway on port **18789**.
|
|
304
|
+
|
|
305
|
+
From source (contributors/dev):
|
|
306
|
+
|
|
307
|
+
```bash
|
|
308
|
+
git clone https://github.com/clawdbot/clawdbot.git
|
|
309
|
+
cd clawdbot
|
|
310
|
+
pnpm install
|
|
311
|
+
pnpm build
|
|
312
|
+
pnpm ui:build # auto-installs UI deps on first run
|
|
313
|
+
clawdbot onboard
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
If you don’t have a global install yet, run it via `pnpm clawdbot onboard`.
|
|
317
|
+
|
|
318
|
+
### How do I open the dashboard after onboarding
|
|
319
|
+
|
|
320
|
+
The wizard now opens your browser with a tokenized dashboard URL right after onboarding and also prints the full link (with token) in the summary. Keep that tab open; if it didn’t launch, copy/paste the printed URL on the same machine. Tokens stay local to your host-nothing is fetched from the browser.
|
|
321
|
+
|
|
322
|
+
### How do I authenticate the dashboard token on localhost vs remote
|
|
323
|
+
|
|
324
|
+
**Localhost (same machine):**
|
|
325
|
+
- Open `http://127.0.0.1:18789/`.
|
|
326
|
+
- If it asks for auth, run `clawdbot dashboard` and use the tokenized link (`?token=...`).
|
|
327
|
+
- The token is the same value as `gateway.auth.token` (or `CLAWDBOT_GATEWAY_TOKEN`) and is stored by the UI after first load.
|
|
328
|
+
|
|
329
|
+
**Not on localhost:**
|
|
330
|
+
- **Tailscale Serve** (recommended): keep bind loopback, run `clawdbot gateway --tailscale serve`, open `https://<magicdns>/`. If `gateway.auth.allowTailscale` is `true`, identity headers satisfy auth (no token).
|
|
331
|
+
- **Tailnet bind**: run `clawdbot gateway --bind tailnet --token "<token>"`, open `http://<tailscale-ip>:18789/`, paste token in dashboard settings.
|
|
332
|
+
- **SSH tunnel**: `ssh -N -L 18789:127.0.0.1:18789 user@host` then open `http://127.0.0.1:18789/?token=...` from `clawdbot dashboard`.
|
|
333
|
+
|
|
334
|
+
See [Dashboard](/web/dashboard) and [Web surfaces](/web) for bind modes and auth details.
|
|
335
|
+
|
|
336
|
+
### What runtime do I need
|
|
337
|
+
|
|
338
|
+
Node **>= 22** is required. `pnpm` is recommended. Bun is **not recommended** for the Gateway.
|
|
339
|
+
|
|
340
|
+
### Does it run on Raspberry Pi
|
|
341
|
+
|
|
342
|
+
Yes. The Gateway is lightweight - docs list **512MB-1GB RAM**, **1 core**, and about **500MB**
|
|
343
|
+
disk as enough for personal use, and note that a **Raspberry Pi 4 can run it**.
|
|
344
|
+
|
|
345
|
+
If you want extra headroom (logs, media, other services), **2GB is recommended**, but it’s
|
|
346
|
+
not a hard minimum.
|
|
347
|
+
|
|
348
|
+
Tip: a small Pi/VPS can host the Gateway, and you can pair **nodes** on your laptop/phone for
|
|
349
|
+
local screen/camera/canvas or command execution. See [Nodes](/nodes).
|
|
350
|
+
|
|
351
|
+
### Any tips for Raspberry Pi installs
|
|
352
|
+
|
|
353
|
+
Short version: it works, but expect rough edges.
|
|
354
|
+
|
|
355
|
+
- Use a **64-bit** OS and keep Node >= 22.
|
|
356
|
+
- Prefer the **hackable (git) install** so you can see logs and update fast.
|
|
357
|
+
- Start without channels/skills, then add them one by one.
|
|
358
|
+
- If you hit weird binary issues, it is usually an **ARM compatibility** problem.
|
|
359
|
+
|
|
360
|
+
Docs: [Linux](/platforms/linux), [Install](/install).
|
|
361
|
+
|
|
362
|
+
### It is stuck on wake up my friend onboarding will not hatch What now
|
|
363
|
+
|
|
364
|
+
That screen depends on the Gateway being reachable and authenticated. The TUI also sends
|
|
365
|
+
"Wake up, my friend!" automatically on first hatch. If you see that line with **no reply**
|
|
366
|
+
and tokens stay at 0, the agent never ran.
|
|
367
|
+
|
|
368
|
+
1) Restart the Gateway:
|
|
369
|
+
```bash
|
|
370
|
+
clawdbot gateway restart
|
|
371
|
+
```
|
|
372
|
+
2) Check status + auth:
|
|
373
|
+
```bash
|
|
374
|
+
clawdbot status
|
|
375
|
+
clawdbot models status
|
|
376
|
+
clawdbot logs --follow
|
|
377
|
+
```
|
|
378
|
+
3) If it still hangs, run:
|
|
379
|
+
```bash
|
|
380
|
+
clawdbot doctor
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
If the Gateway is remote, ensure the tunnel/Tailscale connection is up and that the UI
|
|
384
|
+
is pointed at the right Gateway. See [Remote access](/gateway/remote).
|
|
385
|
+
|
|
386
|
+
### Can I migrate my setup to a new machine Mac mini without redoing onboarding
|
|
387
|
+
|
|
388
|
+
Yes. Copy the **state directory** and **workspace**, then run Doctor once. This
|
|
389
|
+
keeps your bot “exactly the same” (memory, session history, auth, and channel
|
|
390
|
+
state) as long as you copy **both** locations:
|
|
391
|
+
|
|
392
|
+
1) Install Clawdbot on the new machine.
|
|
393
|
+
2) Copy `$CLAWDBOT_STATE_DIR` (default: `~/.clawdbot`) from the old machine.
|
|
394
|
+
3) Copy your workspace (default: `~/clawd`).
|
|
395
|
+
4) Run `clawdbot doctor` and restart the Gateway service.
|
|
396
|
+
|
|
397
|
+
That preserves config, auth profiles, WhatsApp creds, sessions, and memory. If you’re in
|
|
398
|
+
remote mode, remember the gateway host owns the session store and workspace.
|
|
399
|
+
|
|
400
|
+
**Important:** if you only commit/push your workspace to GitHub, you’re backing
|
|
401
|
+
up **memory + bootstrap files**, but **not** session history or auth. Those live
|
|
402
|
+
under `~/.clawdbot/` (for example `~/.clawdbot/agents/<agentId>/sessions/`).
|
|
403
|
+
|
|
404
|
+
Related: [Where things live on disk](/help/faq#where-does-clawdbot-store-its-data),
|
|
405
|
+
[Agent workspace](/concepts/agent-workspace), [Doctor](/gateway/doctor),
|
|
406
|
+
[Remote mode](/gateway/remote).
|
|
407
|
+
|
|
408
|
+
### Where do I see whats new in the latest version
|
|
409
|
+
|
|
410
|
+
Check the GitHub changelog:
|
|
411
|
+
https://github.com/clawdbot/clawdbot/blob/main/CHANGELOG.md
|
|
412
|
+
|
|
413
|
+
Newest entries are at the top. If the top section is marked **Unreleased**, the next dated
|
|
414
|
+
section is the latest shipped version. Entries are grouped by **Highlights**, **Changes**, and
|
|
415
|
+
**Fixes** (plus docs/other sections when needed).
|
|
416
|
+
|
|
417
|
+
### I cant access docsclawdbot SSL error What now
|
|
418
|
+
|
|
419
|
+
Some Comcast/Xfinity connections incorrectly block `docs.clawd.bot` via Xfinity
|
|
420
|
+
Advanced Security. Disable it or allowlist `docs.clawd.bot`, then retry. More
|
|
421
|
+
detail: [Troubleshooting](/help/troubleshooting#docsclawdbot-shows-an-ssl-error-comcastxfinity).
|
|
422
|
+
Please help us unblock it by reporting here: https://spa.xfinity.com/check_url_status.
|
|
423
|
+
|
|
424
|
+
If you still can't reach the site, the docs are mirrored on GitHub:
|
|
425
|
+
https://github.com/clawdbot/clawdbot/tree/main/docs
|
|
426
|
+
|
|
427
|
+
### Whats the difference between stable and beta
|
|
428
|
+
|
|
429
|
+
**Stable** and **beta** are **npm dist‑tags**, not separate code lines:
|
|
430
|
+
- `latest` = stable
|
|
431
|
+
- `beta` = early build for testing
|
|
432
|
+
|
|
433
|
+
We ship builds to **beta**, test them, and once a build is solid we **promote
|
|
434
|
+
that same version to `latest`**. That’s why beta and stable can point at the
|
|
435
|
+
**same version**.
|
|
436
|
+
|
|
437
|
+
See what changed:
|
|
438
|
+
https://github.com/clawdbot/clawdbot/blob/main/CHANGELOG.md
|
|
439
|
+
|
|
440
|
+
### How do I install the beta version and whats the difference between beta and dev
|
|
441
|
+
|
|
442
|
+
**Beta** is the npm dist‑tag `beta` (may match `latest`).
|
|
443
|
+
**Dev** is the moving head of `main` (git); when published, it uses the npm dist‑tag `dev`.
|
|
444
|
+
|
|
445
|
+
One‑liners (macOS/Linux):
|
|
446
|
+
|
|
447
|
+
```bash
|
|
448
|
+
curl -fsSL --proto '=https' --tlsv1.2 https://clawd.bot/install.sh | bash -s -- --beta
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
```bash
|
|
452
|
+
curl -fsSL --proto '=https' --tlsv1.2 https://clawd.bot/install.sh | bash -s -- --install-method git
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
Windows installer (PowerShell):
|
|
456
|
+
https://clawd.bot/install.ps1
|
|
457
|
+
|
|
458
|
+
More detail: [Development channels](/install/development-channels) and [Installer flags](/install/installer).
|
|
459
|
+
|
|
460
|
+
### How long does install and onboarding usually take
|
|
461
|
+
|
|
462
|
+
Rough guide:
|
|
463
|
+
- **Install:** 2-5 minutes
|
|
464
|
+
- **Onboarding:** 5-15 minutes depending on how many channels/models you configure
|
|
465
|
+
|
|
466
|
+
If it hangs, use [Installer stuck](/help/faq#installer-stuck-how-do-i-get-more-feedback)
|
|
467
|
+
and the fast debug loop in [Im stuck](/help/faq#im-stuck--whats-the-fastest-way-to-get-unstuck).
|
|
468
|
+
|
|
469
|
+
### How do I try the latest bits
|
|
470
|
+
|
|
471
|
+
Two options:
|
|
472
|
+
|
|
473
|
+
1) **Dev channel (git checkout):**
|
|
474
|
+
```bash
|
|
475
|
+
clawdbot update --channel dev
|
|
476
|
+
```
|
|
477
|
+
This switches to the `main` branch and updates from source.
|
|
478
|
+
|
|
479
|
+
2) **Hackable install (from the installer site):**
|
|
480
|
+
```bash
|
|
481
|
+
curl -fsSL https://clawd.bot/install.sh | bash -s -- --install-method git
|
|
482
|
+
```
|
|
483
|
+
That gives you a local repo you can edit, then update via git.
|
|
484
|
+
|
|
485
|
+
If you prefer a clean clone manually, use:
|
|
486
|
+
```bash
|
|
487
|
+
git clone https://github.com/clawdbot/clawdbot.git
|
|
488
|
+
cd clawdbot
|
|
489
|
+
pnpm install
|
|
490
|
+
pnpm build
|
|
491
|
+
```
|
|
492
|
+
|
|
493
|
+
Docs: [Update](/cli/update), [Development channels](/install/development-channels),
|
|
494
|
+
[Install](/install).
|
|
495
|
+
|
|
496
|
+
### Installer stuck How do I get more feedback
|
|
497
|
+
|
|
498
|
+
Re-run the installer with **verbose output**:
|
|
499
|
+
|
|
500
|
+
```bash
|
|
501
|
+
curl -fsSL https://clawd.bot/install.sh | bash -s -- --verbose
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
Beta install with verbose:
|
|
505
|
+
|
|
506
|
+
```bash
|
|
507
|
+
curl -fsSL https://clawd.bot/install.sh | bash -s -- --beta --verbose
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
For a hackable (git) install:
|
|
511
|
+
|
|
512
|
+
```bash
|
|
513
|
+
curl -fsSL https://clawd.bot/install.sh | bash -s -- --install-method git --verbose
|
|
514
|
+
```
|
|
515
|
+
|
|
516
|
+
More options: [Installer flags](/install/installer).
|
|
517
|
+
|
|
518
|
+
### Windows install says git not found or clawdbot not recognized
|
|
519
|
+
|
|
520
|
+
Two common Windows issues:
|
|
521
|
+
|
|
522
|
+
**1) npm error spawn git / git not found**
|
|
523
|
+
- Install **Git for Windows** and make sure `git` is on your PATH.
|
|
524
|
+
- Close and reopen PowerShell, then re-run the installer.
|
|
525
|
+
|
|
526
|
+
**2) clawdbot is not recognized after install**
|
|
527
|
+
- Your npm global bin folder is not on PATH.
|
|
528
|
+
- Check the path:
|
|
529
|
+
```powershell
|
|
530
|
+
npm config get prefix
|
|
531
|
+
```
|
|
532
|
+
- Ensure `<prefix>\\bin` is on PATH (on most systems it is `%AppData%\\npm`).
|
|
533
|
+
- Close and reopen PowerShell after updating PATH.
|
|
534
|
+
|
|
535
|
+
If you want the smoothest Windows setup, use **WSL2** instead of native Windows.
|
|
536
|
+
Docs: [Windows](/platforms/windows).
|
|
537
|
+
|
|
538
|
+
### The docs didnt answer my question how do I get a better answer
|
|
539
|
+
|
|
540
|
+
Use the **hackable (git) install** so you have the full source and docs locally, then ask
|
|
541
|
+
your bot (or Claude/Codex) *from that folder* so it can read the repo and answer precisely.
|
|
542
|
+
|
|
543
|
+
```bash
|
|
544
|
+
curl -fsSL https://clawd.bot/install.sh | bash -s -- --install-method git
|
|
545
|
+
```
|
|
546
|
+
|
|
547
|
+
More detail: [Install](/install) and [Installer flags](/install/installer).
|
|
548
|
+
|
|
549
|
+
### How do I install Clawdbot on Linux
|
|
550
|
+
|
|
551
|
+
Short answer: follow the Linux guide, then run the onboarding wizard.
|
|
552
|
+
|
|
553
|
+
- Linux quick path + service install: [Linux](/platforms/linux).
|
|
554
|
+
- Full walkthrough: [Getting Started](/start/getting-started).
|
|
555
|
+
- Installer + updates: [Install & updates](/install/updating).
|
|
556
|
+
|
|
557
|
+
### How do I install Clawdbot on a VPS
|
|
558
|
+
|
|
559
|
+
Any Linux VPS works. Install on the server, then use SSH/Tailscale to reach the Gateway.
|
|
560
|
+
|
|
561
|
+
Guides: [exe.dev](/platforms/exe-dev), [Hetzner](/platforms/hetzner), [Fly.io](/platforms/fly).
|
|
562
|
+
Remote access: [Gateway remote](/gateway/remote).
|
|
563
|
+
|
|
564
|
+
### Where are the cloudVPS install guides
|
|
565
|
+
|
|
566
|
+
We keep a **hosting hub** with the common providers. Pick one and follow the guide:
|
|
567
|
+
|
|
568
|
+
- [VPS hosting](/vps) (all providers in one place)
|
|
569
|
+
- [Fly.io](/platforms/fly)
|
|
570
|
+
- [Hetzner](/platforms/hetzner)
|
|
571
|
+
- [exe.dev](/platforms/exe-dev)
|
|
572
|
+
|
|
573
|
+
How it works in the cloud: the **Gateway runs on the server**, and you access it
|
|
574
|
+
from your laptop/phone via the Control UI (or Tailscale/SSH). Your state + workspace
|
|
575
|
+
live on the server, so treat the host as the source of truth and back it up.
|
|
576
|
+
|
|
577
|
+
You can pair **nodes** (Mac/iOS/Android/headless) to that cloud Gateway to access
|
|
578
|
+
local screen/camera/canvas or run commands on your laptop while keeping the
|
|
579
|
+
Gateway in the cloud.
|
|
580
|
+
|
|
581
|
+
Hub: [Platforms](/platforms). Remote access: [Gateway remote](/gateway/remote).
|
|
582
|
+
Nodes: [Nodes](/nodes), [Nodes CLI](/cli/nodes).
|
|
583
|
+
|
|
584
|
+
### Can I ask Clawd to update itself
|
|
585
|
+
|
|
586
|
+
Short answer: **possible, not recommended**. The update flow can restart the
|
|
587
|
+
Gateway (which drops the active session), may need a clean git checkout, and
|
|
588
|
+
can prompt for confirmation. Safer: run updates from a shell as the operator.
|
|
589
|
+
|
|
590
|
+
Use the CLI:
|
|
591
|
+
|
|
592
|
+
```bash
|
|
593
|
+
clawdbot update
|
|
594
|
+
clawdbot update status
|
|
595
|
+
clawdbot update --channel stable|beta|dev
|
|
596
|
+
clawdbot update --tag <dist-tag|version>
|
|
597
|
+
clawdbot update --no-restart
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
If you must automate from an agent:
|
|
601
|
+
|
|
602
|
+
```bash
|
|
603
|
+
clawdbot update --yes --no-restart
|
|
604
|
+
clawdbot gateway restart
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
Docs: [Update](/cli/update), [Updating](/install/updating).
|
|
608
|
+
|
|
609
|
+
### What does the onboarding wizard actually do
|
|
610
|
+
|
|
611
|
+
`clawdbot onboard` is the recommended setup path. In **local mode** it walks you through:
|
|
612
|
+
|
|
613
|
+
- **Model/auth setup** (Anthropic **setup-token** recommended for Claude subscriptions, OpenAI Codex OAuth supported, API keys optional, LM Studio local models supported)
|
|
614
|
+
- **Workspace** location + bootstrap files
|
|
615
|
+
- **Gateway settings** (bind/port/auth/tailscale)
|
|
616
|
+
- **Providers** (WhatsApp, Telegram, Discord, Mattermost (plugin), Signal, iMessage)
|
|
617
|
+
- **Daemon install** (LaunchAgent on macOS; systemd user unit on Linux/WSL2)
|
|
618
|
+
- **Health checks** and **skills** selection
|
|
619
|
+
|
|
620
|
+
It also warns if your configured model is unknown or missing auth.
|
|
621
|
+
|
|
622
|
+
### Do I need a Claude or OpenAI subscription to run this
|
|
623
|
+
|
|
624
|
+
No. You can run Clawdbot with **API keys** (Anthropic/OpenAI/others) or with
|
|
625
|
+
**local‑only models** so your data stays on your device. Subscriptions (Claude
|
|
626
|
+
Pro/Max or OpenAI Codex) are optional ways to authenticate those providers.
|
|
627
|
+
|
|
628
|
+
Docs: [Anthropic](/providers/anthropic), [OpenAI](/providers/openai),
|
|
629
|
+
[Local models](/gateway/local-models), [Models](/concepts/models).
|
|
630
|
+
|
|
631
|
+
### Can I use Claude Max subscription without an API key
|
|
632
|
+
|
|
633
|
+
Yes. You can authenticate with a **setup-token**
|
|
634
|
+
instead of an API key. This is the subscription path.
|
|
635
|
+
|
|
636
|
+
Claude Pro/Max subscriptions **do not include an API key**, so this is the
|
|
637
|
+
correct approach for subscription accounts. Important: you must verify with
|
|
638
|
+
Anthropic that this usage is allowed under their subscription policy and terms.
|
|
639
|
+
If you want the most explicit, supported path, use an Anthropic API key.
|
|
640
|
+
|
|
641
|
+
### How does Anthropic setuptoken auth work
|
|
642
|
+
|
|
643
|
+
`claude setup-token` generates a **token string** via the Claude Code CLI (it is not available in the web console). You can run it on **any machine**. Choose **Anthropic token (paste setup-token)** in the wizard or paste it with `clawdbot models auth paste-token --provider anthropic`. The token is stored as an auth profile for the **anthropic** provider and used like an API key (no auto-refresh). More detail: [OAuth](/concepts/oauth).
|
|
644
|
+
|
|
645
|
+
### Where do I find an Anthropic setuptoken
|
|
646
|
+
|
|
647
|
+
It is **not** in the Anthropic Console. The setup-token is generated by the **Claude Code CLI** on **any machine**:
|
|
648
|
+
|
|
649
|
+
```bash
|
|
650
|
+
claude setup-token
|
|
651
|
+
```
|
|
652
|
+
|
|
653
|
+
Copy the token it prints, then choose **Anthropic token (paste setup-token)** in the wizard. If you want to run it on the gateway host, use `clawdbot models auth setup-token --provider anthropic`. If you ran `claude setup-token` elsewhere, paste it on the gateway host with `clawdbot models auth paste-token --provider anthropic`. See [Anthropic](/providers/anthropic).
|
|
654
|
+
|
|
655
|
+
### Do you support Claude subscription auth (Claude Pro/Max)
|
|
656
|
+
|
|
657
|
+
Yes — via **setup-token**. Clawdbot no longer reuses Claude Code CLI OAuth tokens; use a setup-token or an Anthropic API key. Generate the token anywhere and paste it on the gateway host. See [Anthropic](/providers/anthropic) and [OAuth](/concepts/oauth).
|
|
658
|
+
|
|
659
|
+
Note: Claude subscription access is governed by Anthropic’s terms. For production or multi‑user workloads, API keys are usually the safer choice.
|
|
660
|
+
|
|
661
|
+
### Why am I seeing HTTP 429 ratelimiterror from Anthropic
|
|
662
|
+
|
|
663
|
+
That means your **Anthropic quota/rate limit** is exhausted for the current window. If you
|
|
664
|
+
use a **Claude subscription** (setup‑token or Claude Code OAuth), wait for the window to
|
|
665
|
+
reset or upgrade your plan. If you use an **Anthropic API key**, check the Anthropic Console
|
|
666
|
+
for usage/billing and raise limits as needed.
|
|
667
|
+
|
|
668
|
+
Tip: set a **fallback model** so Clawdbot can keep replying while a provider is rate‑limited.
|
|
669
|
+
See [Models](/cli/models) and [OAuth](/concepts/oauth).
|
|
670
|
+
|
|
671
|
+
### Is AWS Bedrock supported
|
|
672
|
+
|
|
673
|
+
Yes - via pi‑ai’s **Amazon Bedrock (Converse)** provider with **manual config**. You must supply AWS credentials/region on the gateway host and add a Bedrock provider entry in your models config. See [Amazon Bedrock](/bedrock) and [Model providers](/providers/models). If you prefer a managed key flow, an OpenAI‑compatible proxy in front of Bedrock is still a valid option.
|
|
674
|
+
|
|
675
|
+
### How does Codex auth work
|
|
676
|
+
|
|
677
|
+
Clawdbot supports **OpenAI Code (Codex)** via OAuth (ChatGPT sign-in). The wizard can run the OAuth flow and will set the default model to `openai-codex/gpt-5.2` when appropriate. See [Model providers](/concepts/model-providers) and [Wizard](/start/wizard).
|
|
678
|
+
|
|
679
|
+
### Do you support OpenAI subscription auth Codex OAuth
|
|
680
|
+
|
|
681
|
+
Yes. Clawdbot fully supports **OpenAI Code (Codex) subscription OAuth**. The onboarding wizard
|
|
682
|
+
can run the OAuth flow for you.
|
|
683
|
+
|
|
684
|
+
See [OAuth](/concepts/oauth), [Model providers](/concepts/model-providers), and [Wizard](/start/wizard).
|
|
685
|
+
|
|
686
|
+
### How do I set up Gemini CLI OAuth
|
|
687
|
+
|
|
688
|
+
Gemini CLI uses a **plugin auth flow**, not a client id or secret in `clawdbot.json`.
|
|
689
|
+
|
|
690
|
+
Steps:
|
|
691
|
+
1) Enable the plugin: `clawdbot plugins enable google-gemini-cli-auth`
|
|
692
|
+
2) Login: `clawdbot models auth login --provider google-gemini-cli --set-default`
|
|
693
|
+
|
|
694
|
+
This stores OAuth tokens in auth profiles on the gateway host. Details: [Model providers](/concepts/model-providers).
|
|
695
|
+
|
|
696
|
+
### Is a local model OK for casual chats
|
|
697
|
+
|
|
698
|
+
Usually no. Clawdbot needs large context + strong safety; small cards truncate and leak. If you must, run the **largest** MiniMax M2.1 build you can locally (LM Studio) and see [/gateway/local-models](/gateway/local-models). Smaller/quantized models increase prompt-injection risk - see [Security](/gateway/security).
|
|
699
|
+
|
|
700
|
+
### How do I keep hosted model traffic in a specific region
|
|
701
|
+
|
|
702
|
+
Pick region-pinned endpoints. OpenRouter exposes US-hosted options for MiniMax, Kimi, and GLM; choose the US-hosted variant to keep data in-region. You can still list Anthropic/OpenAI alongside these by using `models.mode: "merge"` so fallbacks stay available while respecting the regioned provider you select.
|
|
703
|
+
|
|
704
|
+
### Do I have to buy a Mac Mini to install this
|
|
705
|
+
|
|
706
|
+
No. Clawdbot runs on macOS or Linux (Windows via WSL2). A Mac mini is optional - some people
|
|
707
|
+
buy one as an always‑on host, but a small VPS, home server, or Raspberry Pi‑class box works too.
|
|
708
|
+
|
|
709
|
+
You only need a Mac **for macOS‑only tools**. For iMessage, you can keep the Gateway on Linux
|
|
710
|
+
and run `imsg` on any Mac over SSH by pointing `channels.imessage.cliPath` at an SSH wrapper.
|
|
711
|
+
If you want other macOS‑only tools, run the Gateway on a Mac or pair a macOS node.
|
|
712
|
+
|
|
713
|
+
Docs: [iMessage](/channels/imessage), [Nodes](/nodes), [Mac remote mode](/platforms/mac/remote).
|
|
714
|
+
|
|
715
|
+
### Do I need a Mac mini for iMessage support
|
|
716
|
+
|
|
717
|
+
You need **some macOS device** signed into Messages. It does **not** have to be a Mac mini -
|
|
718
|
+
any Mac works. Clawdbot’s iMessage integrations run on macOS (BlueBubbles or `imsg`), while
|
|
719
|
+
the Gateway can run elsewhere.
|
|
720
|
+
|
|
721
|
+
Common setups:
|
|
722
|
+
- Run the Gateway on Linux/VPS, and point `channels.imessage.cliPath` at an SSH wrapper that
|
|
723
|
+
runs `imsg` on the Mac.
|
|
724
|
+
- Run everything on the Mac if you want the simplest single‑machine setup.
|
|
725
|
+
|
|
726
|
+
Docs: [iMessage](/channels/imessage), [BlueBubbles](/channels/bluebubbles),
|
|
727
|
+
[Mac remote mode](/platforms/mac/remote).
|
|
728
|
+
|
|
729
|
+
### If I buy a Mac mini to run Clawdbot can I connect it to my MacBook Pro
|
|
730
|
+
|
|
731
|
+
Yes. The **Mac mini can run the Gateway**, and your MacBook Pro can connect as a
|
|
732
|
+
**node** (companion device). Nodes don’t run the Gateway - they provide extra
|
|
733
|
+
capabilities like screen/camera/canvas and `system.run` on that device.
|
|
734
|
+
|
|
735
|
+
Common pattern:
|
|
736
|
+
- Gateway on the Mac mini (always‑on).
|
|
737
|
+
- MacBook Pro runs the macOS app or a node host and pairs to the Gateway.
|
|
738
|
+
- Use `clawdbot nodes status` / `clawdbot nodes list` to see it.
|
|
739
|
+
|
|
740
|
+
Docs: [Nodes](/nodes), [Nodes CLI](/cli/nodes).
|
|
741
|
+
|
|
742
|
+
### Can I use Bun
|
|
743
|
+
|
|
744
|
+
Bun is **not recommended**. We see runtime bugs, especially with WhatsApp and Telegram.
|
|
745
|
+
Use **Node** for stable gateways.
|
|
746
|
+
|
|
747
|
+
If you still want to experiment with Bun, do it on a non‑production gateway
|
|
748
|
+
without WhatsApp/Telegram.
|
|
749
|
+
|
|
750
|
+
### Telegram what goes in allowFrom
|
|
751
|
+
|
|
752
|
+
`channels.telegram.allowFrom` is **the human sender’s Telegram user ID** (numeric, recommended) or `@username`. It is not the bot username.
|
|
753
|
+
|
|
754
|
+
Safer (no third-party bot):
|
|
755
|
+
- DM your bot, then run `clawdbot logs --follow` and read `from.id`.
|
|
756
|
+
|
|
757
|
+
Official Bot API:
|
|
758
|
+
- DM your bot, then call `https://api.telegram.org/bot<bot_token>/getUpdates` and read `message.from.id`.
|
|
759
|
+
|
|
760
|
+
Third-party (less private):
|
|
761
|
+
- DM `@userinfobot` or `@getidsbot`.
|
|
762
|
+
|
|
763
|
+
See [/channels/telegram](/channels/telegram#access-control-dms--groups).
|
|
764
|
+
|
|
765
|
+
### Can multiple people use one WhatsApp number with different Clawdbots
|
|
766
|
+
|
|
767
|
+
Yes, via **multi‑agent routing**. Bind each sender’s WhatsApp **DM** (peer `kind: "dm"`, sender E.164 like `+15551234567`) to a different `agentId`, so each person gets their own workspace and session store. Replies still come from the **same WhatsApp account**, and DM access control (`channels.whatsapp.dmPolicy` / `channels.whatsapp.allowFrom`) is global per WhatsApp account. See [Multi-Agent Routing](/concepts/multi-agent) and [WhatsApp](/channels/whatsapp).
|
|
768
|
+
|
|
769
|
+
### Can I run a fast chat agent and an Opus for coding agent
|
|
770
|
+
|
|
771
|
+
Yes. Use multi‑agent routing: give each agent its own default model, then bind inbound routes (provider account or specific peers) to each agent. Example config lives in [Multi-Agent Routing](/concepts/multi-agent). See also [Models](/concepts/models) and [Configuration](/gateway/configuration).
|
|
772
|
+
|
|
773
|
+
### Does Homebrew work on Linux
|
|
774
|
+
|
|
775
|
+
Yes. Homebrew supports Linux (Linuxbrew). Quick setup:
|
|
776
|
+
|
|
777
|
+
```bash
|
|
778
|
+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
779
|
+
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.profile
|
|
780
|
+
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
|
781
|
+
brew install <formula>
|
|
782
|
+
```
|
|
783
|
+
|
|
784
|
+
If you run Clawdbot via systemd, ensure the service PATH includes `/home/linuxbrew/.linuxbrew/bin` (or your brew prefix) so `brew`-installed tools resolve in non‑login shells.
|
|
785
|
+
Recent builds also prepend common user bin dirs on Linux systemd services (for example `~/.local/bin`, `~/.npm-global/bin`, `~/.local/share/pnpm`, `~/.bun/bin`) and honor `PNPM_HOME`, `NPM_CONFIG_PREFIX`, `BUN_INSTALL`, `VOLTA_HOME`, `ASDF_DATA_DIR`, `NVM_DIR`, and `FNM_DIR` when set.
|
|
786
|
+
|
|
787
|
+
### Whats the difference between the hackable git install and npm install
|
|
788
|
+
|
|
789
|
+
- **Hackable (git) install:** full source checkout, editable, best for contributors.
|
|
790
|
+
You run builds locally and can patch code/docs.
|
|
791
|
+
- **npm install:** global CLI install, no repo, best for “just run it.”
|
|
792
|
+
Updates come from npm dist‑tags.
|
|
793
|
+
|
|
794
|
+
Docs: [Getting started](/start/getting-started), [Updating](/install/updating).
|
|
795
|
+
|
|
796
|
+
### Can I switch between npm and git installs later
|
|
797
|
+
|
|
798
|
+
Yes. Install the other flavor, then run Doctor so the gateway service points at the new entrypoint.
|
|
799
|
+
This **does not delete your data** - it only changes the Clawdbot code install. Your state
|
|
800
|
+
(`~/.clawdbot`) and workspace (`~/clawd`) stay untouched.
|
|
801
|
+
|
|
802
|
+
From npm → git:
|
|
803
|
+
|
|
804
|
+
```bash
|
|
805
|
+
git clone https://github.com/clawdbot/clawdbot.git
|
|
806
|
+
cd clawdbot
|
|
807
|
+
pnpm install
|
|
808
|
+
pnpm build
|
|
809
|
+
clawdbot doctor
|
|
810
|
+
clawdbot gateway restart
|
|
811
|
+
```
|
|
812
|
+
|
|
813
|
+
From git → npm:
|
|
814
|
+
|
|
815
|
+
```bash
|
|
816
|
+
npm install -g clawdbot@latest
|
|
817
|
+
clawdbot doctor
|
|
818
|
+
clawdbot gateway restart
|
|
819
|
+
```
|
|
820
|
+
|
|
821
|
+
Doctor detects a gateway service entrypoint mismatch and offers to rewrite the service config to match the current install (use `--repair` in automation).
|
|
822
|
+
|
|
823
|
+
Backup tips: see [Backup strategy](/help/faq#whats-the-recommended-backup-strategy).
|
|
824
|
+
|
|
825
|
+
### Should I run the Gateway on my laptop or a VPS
|
|
826
|
+
|
|
827
|
+
Short answer: **if you want 24/7 reliability, use a VPS**. If you want the
|
|
828
|
+
lowest friction and you’re okay with sleep/restarts, run it locally.
|
|
829
|
+
|
|
830
|
+
**Laptop (local Gateway)**
|
|
831
|
+
- **Pros:** no server cost, direct access to local files, live browser window.
|
|
832
|
+
- **Cons:** sleep/network drops = disconnects, OS updates/reboots interrupt, must stay awake.
|
|
833
|
+
|
|
834
|
+
**VPS / cloud**
|
|
835
|
+
- **Pros:** always‑on, stable network, no laptop sleep issues, easier to keep running.
|
|
836
|
+
- **Cons:** often run headless (use screenshots), remote file access only, you must SSH for updates.
|
|
837
|
+
|
|
838
|
+
**Clawdbot-specific note:** WhatsApp/Telegram/Slack/Mattermost (plugin)/Discord all work fine from a VPS. The only real trade-off is **headless browser** vs a visible window. See [Browser](/tools/browser).
|
|
839
|
+
|
|
840
|
+
**Recommended default:** VPS if you had gateway disconnects before. Local is great when you’re actively using the Mac and want local file access or UI automation with a visible browser.
|
|
841
|
+
|
|
842
|
+
### How important is it to run Clawdbot on a dedicated machine
|
|
843
|
+
|
|
844
|
+
Not required, but **recommended for reliability and isolation**.
|
|
845
|
+
|
|
846
|
+
- **Dedicated host (VPS/Mac mini/Pi):** always‑on, fewer sleep/reboot interruptions, cleaner permissions, easier to keep running.
|
|
847
|
+
- **Shared laptop/desktop:** totally fine for testing and active use, but expect pauses when the machine sleeps or updates.
|
|
848
|
+
|
|
849
|
+
If you want the best of both worlds, keep the Gateway on a dedicated host and pair your laptop as a **node** for local screen/camera/exec tools. See [Nodes](/nodes).
|
|
850
|
+
For security guidance, read [Security](/gateway/security).
|
|
851
|
+
|
|
852
|
+
### What are the minimum VPS requirements and recommended OS
|
|
853
|
+
|
|
854
|
+
Clawdbot is lightweight. For a basic Gateway + one chat channel:
|
|
855
|
+
|
|
856
|
+
- **Absolute minimum:** 1 vCPU, 1GB RAM, ~500MB disk.
|
|
857
|
+
- **Recommended:** 1-2 vCPU, 2GB RAM or more for headroom (logs, media, multiple channels). Node tools and browser automation can be resource hungry.
|
|
858
|
+
|
|
859
|
+
OS: use **Ubuntu LTS** (or any modern Debian/Ubuntu). The Linux install path is best tested there.
|
|
860
|
+
|
|
861
|
+
Docs: [Linux](/platforms/linux), [VPS hosting](/vps).
|
|
862
|
+
|
|
863
|
+
### Can I run Clawdbot in a VM and what are the requirements
|
|
864
|
+
|
|
865
|
+
Yes. Treat a VM the same as a VPS: it needs to be always on, reachable, and have enough
|
|
866
|
+
RAM for the Gateway and any channels you enable.
|
|
867
|
+
|
|
868
|
+
Baseline guidance:
|
|
869
|
+
- **Absolute minimum:** 1 vCPU, 1GB RAM.
|
|
870
|
+
- **Recommended:** 2GB RAM or more if you run multiple channels, browser automation, or media tools.
|
|
871
|
+
- **OS:** Ubuntu LTS or another modern Debian/Ubuntu.
|
|
872
|
+
|
|
873
|
+
If you are on Windows, **WSL2 is the easiest VM style setup** and has the best tooling
|
|
874
|
+
compatibility. See [Windows](/platforms/windows), [VPS hosting](/vps).
|
|
875
|
+
If you are running macOS in a VM, see [macOS VM](/platforms/macos-vm).
|
|
876
|
+
|
|
877
|
+
## What is Clawdbot?
|
|
878
|
+
|
|
879
|
+
### What is Clawdbot in one paragraph
|
|
880
|
+
|
|
881
|
+
Clawdbot is a personal AI assistant you run on your own devices. It replies on the messaging surfaces you already use (WhatsApp, Telegram, Slack, Mattermost (plugin), Discord, Google Chat, Signal, iMessage, WebChat) and can also do voice + a live Canvas on supported platforms. The **Gateway** is the always-on control plane; the assistant is the product.
|
|
882
|
+
|
|
883
|
+
### Whats the value proposition
|
|
884
|
+
|
|
885
|
+
Clawdbot is not “just a Claude wrapper.” It’s a **local-first control plane** that lets you run a
|
|
886
|
+
capable assistant on **your own hardware**, reachable from the chat apps you already use, with
|
|
887
|
+
stateful sessions, memory, and tools - without handing control of your workflows to a hosted
|
|
888
|
+
SaaS.
|
|
889
|
+
|
|
890
|
+
Highlights:
|
|
891
|
+
- **Your devices, your data:** run the Gateway wherever you want (Mac, Linux, VPS) and keep the
|
|
892
|
+
workspace + session history local.
|
|
893
|
+
- **Real channels, not a web sandbox:** WhatsApp/Telegram/Slack/Discord/Signal/iMessage/etc,
|
|
894
|
+
plus mobile voice and Canvas on supported platforms.
|
|
895
|
+
- **Model-agnostic:** use Anthropic, OpenAI, MiniMax, OpenRouter, etc., with per‑agent routing
|
|
896
|
+
and failover.
|
|
897
|
+
- **Local-only option:** run local models so **all data can stay on your device** if you want.
|
|
898
|
+
- **Multi-agent routing:** separate agents per channel, account, or task, each with its own
|
|
899
|
+
workspace and defaults.
|
|
900
|
+
- **Open source and hackable:** inspect, extend, and self-host without vendor lock‑in.
|
|
901
|
+
|
|
902
|
+
Docs: [Gateway](/gateway), [Channels](/channels), [Multi‑agent](/concepts/multi-agent),
|
|
903
|
+
[Memory](/concepts/memory).
|
|
904
|
+
|
|
905
|
+
### I just set it up what should I do first
|
|
906
|
+
|
|
907
|
+
Good first projects:
|
|
908
|
+
- Build a website (WordPress, Shopify, or a simple static site).
|
|
909
|
+
- Prototype a mobile app (outline, screens, API plan).
|
|
910
|
+
- Organize files and folders (cleanup, naming, tagging).
|
|
911
|
+
- Connect Gmail and automate summaries or follow ups.
|
|
912
|
+
|
|
913
|
+
It can handle large tasks, but it works best when you split them into phases and
|
|
914
|
+
use sub agents for parallel work.
|
|
915
|
+
|
|
916
|
+
### What are the top five everyday use cases for Clawdbot
|
|
917
|
+
|
|
918
|
+
Everyday wins usually look like:
|
|
919
|
+
- **Personal briefings:** summaries of inbox, calendar, and news you care about.
|
|
920
|
+
- **Research and drafting:** quick research, summaries, and first drafts for emails or docs.
|
|
921
|
+
- **Reminders and follow ups:** cron or heartbeat driven nudges and checklists.
|
|
922
|
+
- **Browser automation:** filling forms, collecting data, and repeating web tasks.
|
|
923
|
+
- **Cross device coordination:** send a task from your phone, let the Gateway run it on a server, and get the result back in chat.
|
|
924
|
+
|
|
925
|
+
### Can Clawdbot help with lead gen outreach ads and blogs for a SaaS
|
|
926
|
+
|
|
927
|
+
Yes for **research, qualification, and drafting**. It can scan sites, build shortlists,
|
|
928
|
+
summarize prospects, and write outreach or ad copy drafts.
|
|
929
|
+
|
|
930
|
+
For **outreach or ad runs**, keep a human in the loop. Avoid spam, follow local laws and
|
|
931
|
+
platform policies, and review anything before it is sent. The safest pattern is to let
|
|
932
|
+
Clawdbot draft and you approve.
|
|
933
|
+
|
|
934
|
+
Docs: [Security](/gateway/security).
|
|
935
|
+
|
|
936
|
+
### What are the advantages vs Claude Code for web development
|
|
937
|
+
|
|
938
|
+
Clawdbot is a **personal assistant** and coordination layer, not an IDE replacement. Use
|
|
939
|
+
Claude Code or Codex for the fastest direct coding loop inside a repo. Use Clawdbot when you
|
|
940
|
+
want durable memory, cross-device access, and tool orchestration.
|
|
941
|
+
|
|
942
|
+
Advantages:
|
|
943
|
+
- **Persistent memory + workspace** across sessions
|
|
944
|
+
- **Multi-platform access** (WhatsApp, Telegram, TUI, WebChat)
|
|
945
|
+
- **Tool orchestration** (browser, files, scheduling, hooks)
|
|
946
|
+
- **Always-on Gateway** (run on a VPS, interact from anywhere)
|
|
947
|
+
- **Nodes** for local browser/screen/camera/exec
|
|
948
|
+
|
|
949
|
+
Showcase: https://clawd.bot/showcase
|
|
950
|
+
|
|
951
|
+
## Skills and automation
|
|
952
|
+
|
|
953
|
+
### How do I customize skills without keeping the repo dirty
|
|
954
|
+
|
|
955
|
+
Use managed overrides instead of editing the repo copy. Put your changes in `~/.clawdbot/skills/<name>/SKILL.md` (or add a folder via `skills.load.extraDirs` in `~/.clawdbot/clawdbot.json`). Precedence is `<workspace>/skills` > `~/.clawdbot/skills` > bundled, so managed overrides win without touching git. Only upstream-worthy edits should live in the repo and go out as PRs.
|
|
956
|
+
|
|
957
|
+
### Can I load skills from a custom folder
|
|
958
|
+
|
|
959
|
+
Yes. Add extra directories via `skills.load.extraDirs` in `~/.clawdbot/clawdbot.json` (lowest precedence). Default precedence remains: `<workspace>/skills` → `~/.clawdbot/skills` → bundled → `skills.load.extraDirs`. `clawdhub` installs into `./skills` by default, which Clawdbot treats as `<workspace>/skills`.
|
|
960
|
+
|
|
961
|
+
### How can I use different models for different tasks
|
|
962
|
+
|
|
963
|
+
Today the supported patterns are:
|
|
964
|
+
- **Cron jobs**: isolated jobs can set a `model` override per job.
|
|
965
|
+
- **Sub-agents**: route tasks to separate agents with different default models.
|
|
966
|
+
- **On-demand switch**: use `/model` to switch the current session model at any time.
|
|
967
|
+
|
|
968
|
+
See [Cron jobs](/automation/cron-jobs), [Multi-Agent Routing](/concepts/multi-agent), and [Slash commands](/tools/slash-commands).
|
|
969
|
+
|
|
970
|
+
### The bot freezes while doing heavy work How do I offload that
|
|
971
|
+
|
|
972
|
+
Use **sub-agents** for long or parallel tasks. Sub-agents run in their own session,
|
|
973
|
+
return a summary, and keep your main chat responsive.
|
|
974
|
+
|
|
975
|
+
Ask your bot to "spawn a sub-agent for this task" or use `/subagents`.
|
|
976
|
+
Use `/status` in chat to see what the Gateway is doing right now (and whether it is busy).
|
|
977
|
+
|
|
978
|
+
Token tip: long tasks and sub-agents both consume tokens. If cost is a concern, set a
|
|
979
|
+
cheaper model for sub-agents via `agents.defaults.subagents.model`.
|
|
980
|
+
|
|
981
|
+
Docs: [Sub-agents](/tools/subagents).
|
|
982
|
+
|
|
983
|
+
### Cron or reminders do not fire What should I check
|
|
984
|
+
|
|
985
|
+
Cron runs inside the Gateway process. If the Gateway is not running continuously,
|
|
986
|
+
scheduled jobs will not run.
|
|
987
|
+
|
|
988
|
+
Checklist:
|
|
989
|
+
- Confirm cron is enabled (`cron.enabled`) and `CLAWDBOT_SKIP_CRON` is not set.
|
|
990
|
+
- Check the Gateway is running 24/7 (no sleep/restarts).
|
|
991
|
+
- Verify timezone settings for the job (`--tz` vs host timezone).
|
|
992
|
+
|
|
993
|
+
Debug:
|
|
994
|
+
```bash
|
|
995
|
+
clawdbot cron run <jobId> --force
|
|
996
|
+
clawdbot cron runs --id <jobId> --limit 50
|
|
997
|
+
```
|
|
998
|
+
|
|
999
|
+
Docs: [Cron jobs](/automation/cron-jobs), [Cron vs Heartbeat](/automation/cron-vs-heartbeat).
|
|
1000
|
+
|
|
1001
|
+
### How do I install skills on Linux
|
|
1002
|
+
|
|
1003
|
+
Use **ClawdHub** (CLI) or drop skills into your workspace. The macOS Skills UI isn’t available on Linux.
|
|
1004
|
+
Browse skills at https://clawdhub.com.
|
|
1005
|
+
|
|
1006
|
+
Install the ClawdHub CLI (pick one package manager):
|
|
1007
|
+
|
|
1008
|
+
```bash
|
|
1009
|
+
npm i -g clawdhub
|
|
1010
|
+
```
|
|
1011
|
+
|
|
1012
|
+
```bash
|
|
1013
|
+
pnpm add -g clawdhub
|
|
1014
|
+
```
|
|
1015
|
+
|
|
1016
|
+
### Can Clawdbot run tasks on a schedule or continuously in the background
|
|
1017
|
+
|
|
1018
|
+
Yes. Use the Gateway scheduler:
|
|
1019
|
+
|
|
1020
|
+
- **Cron jobs** for scheduled or recurring tasks (persist across restarts).
|
|
1021
|
+
- **Heartbeat** for “main session” periodic checks.
|
|
1022
|
+
- **Isolated jobs** for autonomous agents that post summaries or deliver to chats.
|
|
1023
|
+
|
|
1024
|
+
Docs: [Cron jobs](/automation/cron-jobs), [Cron vs Heartbeat](/automation/cron-vs-heartbeat),
|
|
1025
|
+
[Heartbeat](/gateway/heartbeat).
|
|
1026
|
+
|
|
1027
|
+
**Can I run Apple macOS only skills from Linux**
|
|
1028
|
+
|
|
1029
|
+
Not directly. macOS skills are gated by `metadata.clawdbot.os` plus required binaries, and skills only appear in the system prompt when they are eligible on the **Gateway host**. On Linux, `darwin`-only skills (like `imsg`, `apple-notes`, `apple-reminders`) will not load unless you override the gating.
|
|
1030
|
+
|
|
1031
|
+
You have three supported patterns:
|
|
1032
|
+
|
|
1033
|
+
**Option A - run the Gateway on a Mac (simplest).**
|
|
1034
|
+
Run the Gateway where the macOS binaries exist, then connect from Linux in [remote mode](#how-do-i-run-clawdbot-in-remote-mode-client-connects-to-a-gateway-elsewhere) or over Tailscale. The skills load normally because the Gateway host is macOS.
|
|
1035
|
+
|
|
1036
|
+
**Option B - use a macOS node (no SSH).**
|
|
1037
|
+
Run the Gateway on Linux, pair a macOS node (menubar app), and set **Node Run Commands** to "Always Ask" or "Always Allow" on the Mac. Clawdbot can treat macOS-only skills as eligible when the required binaries exist on the node. The agent runs those skills via the `nodes` tool. If you choose "Always Ask", approving "Always Allow" in the prompt adds that command to the allowlist.
|
|
1038
|
+
|
|
1039
|
+
**Option C - proxy macOS binaries over SSH (advanced).**
|
|
1040
|
+
Keep the Gateway on Linux, but make the required CLI binaries resolve to SSH wrappers that run on a Mac. Then override the skill to allow Linux so it stays eligible.
|
|
1041
|
+
|
|
1042
|
+
1) Create an SSH wrapper for the binary (example: `imsg`):
|
|
1043
|
+
```bash
|
|
1044
|
+
#!/usr/bin/env bash
|
|
1045
|
+
set -euo pipefail
|
|
1046
|
+
exec ssh -T user@mac-host /opt/homebrew/bin/imsg "$@"
|
|
1047
|
+
```
|
|
1048
|
+
2) Put the wrapper on `PATH` on the Linux host (for example `~/bin/imsg`).
|
|
1049
|
+
3) Override the skill metadata (workspace or `~/.clawdbot/skills`) to allow Linux:
|
|
1050
|
+
```markdown
|
|
1051
|
+
---
|
|
1052
|
+
name: imsg
|
|
1053
|
+
description: iMessage/SMS CLI for listing chats, history, watch, and sending.
|
|
1054
|
+
metadata: {"clawdbot":{"os":["darwin","linux"],"requires":{"bins":["imsg"]}}}
|
|
1055
|
+
---
|
|
1056
|
+
```
|
|
1057
|
+
4) Start a new session so the skills snapshot refreshes.
|
|
1058
|
+
|
|
1059
|
+
For iMessage specifically, you can also point `channels.imessage.cliPath` at an SSH wrapper (Clawdbot only needs stdio). See [iMessage](/channels/imessage).
|
|
1060
|
+
|
|
1061
|
+
### Do you have a Notion or HeyGen integration
|
|
1062
|
+
|
|
1063
|
+
Not built‑in today.
|
|
1064
|
+
|
|
1065
|
+
Options:
|
|
1066
|
+
- **Custom skill / plugin:** best for reliable API access (Notion/HeyGen both have APIs).
|
|
1067
|
+
- **Browser automation:** works without code but is slower and more fragile.
|
|
1068
|
+
|
|
1069
|
+
If you want to keep context per client (agency workflows), a simple pattern is:
|
|
1070
|
+
- One Notion page per client (context + preferences + active work).
|
|
1071
|
+
- Ask the agent to fetch that page at the start of a session.
|
|
1072
|
+
|
|
1073
|
+
If you want a native integration, open a feature request or build a skill
|
|
1074
|
+
targeting those APIs.
|
|
1075
|
+
|
|
1076
|
+
Install skills:
|
|
1077
|
+
|
|
1078
|
+
```bash
|
|
1079
|
+
clawdhub install <skill-slug>
|
|
1080
|
+
clawdhub update --all
|
|
1081
|
+
```
|
|
1082
|
+
|
|
1083
|
+
ClawdHub installs into `./skills` under your current directory (or falls back to your configured Clawdbot workspace); Clawdbot treats that as `<workspace>/skills` on the next session. For shared skills across agents, place them in `~/.clawdbot/skills/<name>/SKILL.md`. Some skills expect binaries installed via Homebrew; on Linux that means Linuxbrew (see the Homebrew Linux FAQ entry above). See [Skills](/tools/skills) and [ClawdHub](/tools/clawdhub).
|
|
1084
|
+
|
|
1085
|
+
### How do I install the Chrome extension for browser takeover
|
|
1086
|
+
|
|
1087
|
+
Use the built-in installer, then load the unpacked extension in Chrome:
|
|
1088
|
+
|
|
1089
|
+
```bash
|
|
1090
|
+
clawdbot browser extension install
|
|
1091
|
+
clawdbot browser extension path
|
|
1092
|
+
```
|
|
1093
|
+
|
|
1094
|
+
Then Chrome → `chrome://extensions` → enable “Developer mode” → “Load unpacked” → pick that folder.
|
|
1095
|
+
|
|
1096
|
+
Full guide (including remote Gateway via Tailscale + security notes): [Chrome extension](/tools/chrome-extension)
|
|
1097
|
+
|
|
1098
|
+
If the Gateway runs on the same machine as Chrome (default setup), you usually **do not** need `clawdbot browser serve`.
|
|
1099
|
+
You still need to click the extension button on the tab you want to control (it doesn’t auto-attach).
|
|
1100
|
+
|
|
1101
|
+
## Sandboxing and memory
|
|
1102
|
+
|
|
1103
|
+
### Is there a dedicated sandboxing doc
|
|
1104
|
+
|
|
1105
|
+
Yes. See [Sandboxing](/gateway/sandboxing). For Docker-specific setup (full gateway in Docker or sandbox images), see [Docker](/install/docker).
|
|
1106
|
+
|
|
1107
|
+
**Can I keep DMs personal but make groups public sandboxed with one agent**
|
|
1108
|
+
|
|
1109
|
+
Yes - if your private traffic is **DMs** and your public traffic is **groups**.
|
|
1110
|
+
|
|
1111
|
+
Use `agents.defaults.sandbox.mode: "non-main"` so group/channel sessions (non-main keys) run in Docker, while the main DM session stays on-host. Then restrict what tools are available in sandboxed sessions via `tools.sandbox.tools`.
|
|
1112
|
+
|
|
1113
|
+
Setup walkthrough + example config: [Groups: personal DMs + public groups](/concepts/groups#pattern-personal-dms-public-groups-single-agent)
|
|
1114
|
+
|
|
1115
|
+
Key config reference: [Gateway configuration](/gateway/configuration#agentsdefaultssandbox)
|
|
1116
|
+
|
|
1117
|
+
### How do I bind a host folder into the sandbox
|
|
1118
|
+
|
|
1119
|
+
Set `agents.defaults.sandbox.docker.binds` to `["host:path:mode"]` (e.g., `"/home/user/src:/src:ro"`). Global + per-agent binds merge; per-agent binds are ignored when `scope: "shared"`. Use `:ro` for anything sensitive and remember binds bypass the sandbox filesystem walls. See [Sandboxing](/gateway/sandboxing#custom-bind-mounts) and [Sandbox vs Tool Policy vs Elevated](/gateway/sandbox-vs-tool-policy-vs-elevated#bind-mounts-security-quick-check) for examples and safety notes.
|
|
1120
|
+
|
|
1121
|
+
### How does memory work
|
|
1122
|
+
|
|
1123
|
+
Clawdbot memory is just Markdown files in the agent workspace:
|
|
1124
|
+
- Daily notes in `memory/YYYY-MM-DD.md`
|
|
1125
|
+
- Curated long-term notes in `MEMORY.md` (main/private sessions only)
|
|
1126
|
+
|
|
1127
|
+
Clawdbot also runs a **silent pre-compaction memory flush** to remind the model
|
|
1128
|
+
to write durable notes before auto-compaction. This only runs when the workspace
|
|
1129
|
+
is writable (read-only sandboxes skip it). See [Memory](/concepts/memory).
|
|
1130
|
+
|
|
1131
|
+
### Memory keeps forgetting things How do I make it stick
|
|
1132
|
+
|
|
1133
|
+
Ask the bot to **write the fact to memory**. Long-term notes belong in `MEMORY.md`,
|
|
1134
|
+
short-term context goes into `memory/YYYY-MM-DD.md`.
|
|
1135
|
+
|
|
1136
|
+
This is still an area we are improving. It helps to remind the model to store memories;
|
|
1137
|
+
it will know what to do. If it keeps forgetting, verify the Gateway is using the same
|
|
1138
|
+
workspace on every run.
|
|
1139
|
+
|
|
1140
|
+
Docs: [Memory](/concepts/memory), [Agent workspace](/concepts/agent-workspace).
|
|
1141
|
+
|
|
1142
|
+
### Does semantic memory search require an OpenAI API key
|
|
1143
|
+
|
|
1144
|
+
Only if you use **OpenAI embeddings**. Codex OAuth covers chat/completions and
|
|
1145
|
+
does **not** grant embeddings access, so **signing in with Codex (OAuth or the
|
|
1146
|
+
Codex CLI login)** does not help for semantic memory search. OpenAI embeddings
|
|
1147
|
+
still need a real API key (`OPENAI_API_KEY` or `models.providers.openai.apiKey`).
|
|
1148
|
+
|
|
1149
|
+
If you don’t set a provider explicitly, Clawdbot auto-selects a provider when it
|
|
1150
|
+
can resolve an API key (auth profiles, `models.providers.*.apiKey`, or env vars).
|
|
1151
|
+
It prefers OpenAI if an OpenAI key resolves, otherwise Gemini if a Gemini key
|
|
1152
|
+
resolves. If neither key is available, memory search stays disabled until you
|
|
1153
|
+
configure it. If you have a local model path configured and present, Clawdbot
|
|
1154
|
+
prefers `local`.
|
|
1155
|
+
|
|
1156
|
+
If you’d rather stay local, set `memorySearch.provider = "local"` (and optionally
|
|
1157
|
+
`memorySearch.fallback = "none"`). If you want Gemini embeddings, set
|
|
1158
|
+
`memorySearch.provider = "gemini"` and provide `GEMINI_API_KEY` (or
|
|
1159
|
+
`memorySearch.remote.apiKey`). We support **OpenAI, Gemini, or local** embedding
|
|
1160
|
+
models - see [Memory](/concepts/memory) for the setup details.
|
|
1161
|
+
|
|
1162
|
+
### Does memory persist forever What are the limits
|
|
1163
|
+
|
|
1164
|
+
Memory files live on disk and persist until you delete them. The limit is your
|
|
1165
|
+
storage, not the model. The **session context** is still limited by the model
|
|
1166
|
+
context window, so long conversations can compact or truncate. That is why
|
|
1167
|
+
memory search exists - it pulls only the relevant parts back into context.
|
|
1168
|
+
|
|
1169
|
+
Docs: [Memory](/concepts/memory), [Context](/concepts/context).
|
|
1170
|
+
|
|
1171
|
+
## Where things live on disk
|
|
1172
|
+
|
|
1173
|
+
### Is all data used with Clawdbot saved locally
|
|
1174
|
+
|
|
1175
|
+
No - **Clawdbot’s state is local**, but **external services still see what you send them**.
|
|
1176
|
+
|
|
1177
|
+
- **Local by default:** sessions, memory files, config, and workspace live on the Gateway host
|
|
1178
|
+
(`~/.clawdbot` + your workspace directory).
|
|
1179
|
+
- **Remote by necessity:** messages you send to model providers (Anthropic/OpenAI/etc.) go to
|
|
1180
|
+
their APIs, and chat platforms (WhatsApp/Telegram/Slack/etc.) store message data on their
|
|
1181
|
+
servers.
|
|
1182
|
+
- **You control the footprint:** using local models keeps prompts on your machine, but channel
|
|
1183
|
+
traffic still goes through the channel’s servers.
|
|
1184
|
+
|
|
1185
|
+
Related: [Agent workspace](/concepts/agent-workspace), [Memory](/concepts/memory).
|
|
1186
|
+
|
|
1187
|
+
### Where does Clawdbot store its data
|
|
1188
|
+
|
|
1189
|
+
Everything lives under `$CLAWDBOT_STATE_DIR` (default: `~/.clawdbot`):
|
|
1190
|
+
|
|
1191
|
+
| Path | Purpose |
|
|
1192
|
+
|------|---------|
|
|
1193
|
+
| `$CLAWDBOT_STATE_DIR/clawdbot.json` | Main config (JSON5) |
|
|
1194
|
+
| `$CLAWDBOT_STATE_DIR/credentials/oauth.json` | Legacy OAuth import (copied into auth profiles on first use) |
|
|
1195
|
+
| `$CLAWDBOT_STATE_DIR/agents/<agentId>/agent/auth-profiles.json` | Auth profiles (OAuth + API keys) |
|
|
1196
|
+
| `$CLAWDBOT_STATE_DIR/agents/<agentId>/agent/auth.json` | Runtime auth cache (managed automatically) |
|
|
1197
|
+
| `$CLAWDBOT_STATE_DIR/credentials/` | Provider state (e.g. `whatsapp/<accountId>/creds.json`) |
|
|
1198
|
+
| `$CLAWDBOT_STATE_DIR/agents/` | Per‑agent state (agentDir + sessions) |
|
|
1199
|
+
| `$CLAWDBOT_STATE_DIR/agents/<agentId>/sessions/` | Conversation history & state (per agent) |
|
|
1200
|
+
| `$CLAWDBOT_STATE_DIR/agents/<agentId>/sessions/sessions.json` | Session metadata (per agent) |
|
|
1201
|
+
|
|
1202
|
+
Legacy single‑agent path: `~/.clawdbot/agent/*` (migrated by `clawdbot doctor`).
|
|
1203
|
+
|
|
1204
|
+
Your **workspace** (AGENTS.md, memory files, skills, etc.) is separate and configured via `agents.defaults.workspace` (default: `~/clawd`).
|
|
1205
|
+
|
|
1206
|
+
### Where should AGENTSmd SOULmd USERmd MEMORYmd live
|
|
1207
|
+
|
|
1208
|
+
These files live in the **agent workspace**, not `~/.clawdbot`.
|
|
1209
|
+
|
|
1210
|
+
- **Workspace (per agent)**: `AGENTS.md`, `SOUL.md`, `IDENTITY.md`, `USER.md`,
|
|
1211
|
+
`MEMORY.md` (or `memory.md`), `memory/YYYY-MM-DD.md`, optional `HEARTBEAT.md`.
|
|
1212
|
+
- **State dir (`~/.clawdbot`)**: config, credentials, auth profiles, sessions, logs,
|
|
1213
|
+
and shared skills (`~/.clawdbot/skills`).
|
|
1214
|
+
|
|
1215
|
+
Default workspace is `~/clawd`, configurable via:
|
|
1216
|
+
|
|
1217
|
+
```json5
|
|
1218
|
+
{
|
|
1219
|
+
agents: { defaults: { workspace: "~/clawd" } }
|
|
1220
|
+
}
|
|
1221
|
+
```
|
|
1222
|
+
|
|
1223
|
+
If the bot “forgets” after a restart, confirm the Gateway is using the same
|
|
1224
|
+
workspace on every launch (and remember: remote mode uses the **gateway host’s**
|
|
1225
|
+
workspace, not your local laptop).
|
|
1226
|
+
|
|
1227
|
+
Tip: if you want a durable behavior or preference, ask the bot to **write it into
|
|
1228
|
+
AGENTS.md or MEMORY.md** rather than relying on chat history.
|
|
1229
|
+
|
|
1230
|
+
See [Agent workspace](/concepts/agent-workspace) and [Memory](/concepts/memory).
|
|
1231
|
+
|
|
1232
|
+
### Whats the recommended backup strategy
|
|
1233
|
+
|
|
1234
|
+
Put your **agent workspace** in a **private** git repo and back it up somewhere
|
|
1235
|
+
private (for example GitHub private). This captures memory + AGENTS/SOUL/USER
|
|
1236
|
+
files, and lets you restore the assistant’s “mind” later.
|
|
1237
|
+
|
|
1238
|
+
Do **not** commit anything under `~/.clawdbot` (credentials, sessions, tokens).
|
|
1239
|
+
If you need a full restore, back up both the workspace and the state directory
|
|
1240
|
+
separately (see the migration question above).
|
|
1241
|
+
|
|
1242
|
+
Docs: [Agent workspace](/concepts/agent-workspace).
|
|
1243
|
+
|
|
1244
|
+
### How do I completely uninstall Clawdbot
|
|
1245
|
+
|
|
1246
|
+
See the dedicated guide: [Uninstall](/install/uninstall).
|
|
1247
|
+
|
|
1248
|
+
### Can agents work outside the workspace
|
|
1249
|
+
|
|
1250
|
+
Yes. The workspace is the **default cwd** and memory anchor, not a hard sandbox.
|
|
1251
|
+
Relative paths resolve inside the workspace, but absolute paths can access other
|
|
1252
|
+
host locations unless sandboxing is enabled. If you need isolation, use
|
|
1253
|
+
[`agents.defaults.sandbox`](/gateway/sandboxing) or per‑agent sandbox settings. If you
|
|
1254
|
+
want a repo to be the default working directory, point that agent’s
|
|
1255
|
+
`workspace` to the repo root. The Clawdbot repo is just source code; keep the
|
|
1256
|
+
workspace separate unless you intentionally want the agent to work inside it.
|
|
1257
|
+
|
|
1258
|
+
Example (repo as default cwd):
|
|
1259
|
+
|
|
1260
|
+
```json5
|
|
1261
|
+
{
|
|
1262
|
+
agents: {
|
|
1263
|
+
defaults: {
|
|
1264
|
+
workspace: "~/Projects/my-repo"
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
```
|
|
1269
|
+
|
|
1270
|
+
### Im in remote mode where is the session store
|
|
1271
|
+
|
|
1272
|
+
Session state is owned by the **gateway host**. If you’re in remote mode, the session store you care about is on the remote machine, not your local laptop. See [Session management](/concepts/session).
|
|
1273
|
+
|
|
1274
|
+
## Config basics
|
|
1275
|
+
|
|
1276
|
+
### What format is the config Where is it
|
|
1277
|
+
|
|
1278
|
+
Clawdbot reads an optional **JSON5** config from `$CLAWDBOT_CONFIG_PATH` (default: `~/.clawdbot/clawdbot.json`):
|
|
1279
|
+
|
|
1280
|
+
```
|
|
1281
|
+
$CLAWDBOT_CONFIG_PATH
|
|
1282
|
+
```
|
|
1283
|
+
|
|
1284
|
+
If the file is missing, it uses safe‑ish defaults (including a default workspace of `~/clawd`).
|
|
1285
|
+
|
|
1286
|
+
### I set gatewaybind lan or tailnet and now nothing listens the UI says unauthorized
|
|
1287
|
+
|
|
1288
|
+
Non-loopback binds **require auth**. Configure `gateway.auth.mode` + `gateway.auth.token` (or use `CLAWDBOT_GATEWAY_TOKEN`).
|
|
1289
|
+
|
|
1290
|
+
```json5
|
|
1291
|
+
{
|
|
1292
|
+
gateway: {
|
|
1293
|
+
bind: "lan",
|
|
1294
|
+
auth: {
|
|
1295
|
+
mode: "token",
|
|
1296
|
+
token: "replace-me"
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
```
|
|
1301
|
+
|
|
1302
|
+
Notes:
|
|
1303
|
+
- `gateway.remote.token` is for **remote CLI calls** only; it does not enable local gateway auth.
|
|
1304
|
+
- The Control UI authenticates via `connect.params.auth.token` (stored in app/UI settings). Avoid putting tokens in URLs.
|
|
1305
|
+
|
|
1306
|
+
### Why do I need a token on localhost now
|
|
1307
|
+
|
|
1308
|
+
The wizard generates a gateway token by default (even on loopback) so **local WS clients must authenticate**. This blocks other local processes from calling the Gateway. Paste the token into the Control UI settings (or your client config) to connect.
|
|
1309
|
+
|
|
1310
|
+
If you **really** want open loopback, remove `gateway.auth` from your config. Doctor can generate a token for you any time: `clawdbot doctor --generate-gateway-token`.
|
|
1311
|
+
|
|
1312
|
+
### Do I have to restart after changing config
|
|
1313
|
+
|
|
1314
|
+
The Gateway watches the config and supports hot‑reload:
|
|
1315
|
+
|
|
1316
|
+
- `gateway.reload.mode: "hybrid"` (default): hot‑apply safe changes, restart for critical ones
|
|
1317
|
+
- `hot`, `restart`, `off` are also supported
|
|
1318
|
+
|
|
1319
|
+
### How do I enable web search and web fetch
|
|
1320
|
+
|
|
1321
|
+
`web_fetch` works without an API key. `web_search` requires a Brave Search API
|
|
1322
|
+
key. **Recommended:** run `clawdbot configure --section web` to store it in
|
|
1323
|
+
`tools.web.search.apiKey`. Environment alternative: set `BRAVE_API_KEY` for the
|
|
1324
|
+
Gateway process.
|
|
1325
|
+
|
|
1326
|
+
```json5
|
|
1327
|
+
{
|
|
1328
|
+
tools: {
|
|
1329
|
+
web: {
|
|
1330
|
+
search: {
|
|
1331
|
+
enabled: true,
|
|
1332
|
+
apiKey: "BRAVE_API_KEY_HERE",
|
|
1333
|
+
maxResults: 5
|
|
1334
|
+
},
|
|
1335
|
+
fetch: {
|
|
1336
|
+
enabled: true
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
```
|
|
1342
|
+
|
|
1343
|
+
Notes:
|
|
1344
|
+
- If you use allowlists, add `web_search`/`web_fetch` or `group:web`.
|
|
1345
|
+
- `web_fetch` is enabled by default (unless explicitly disabled).
|
|
1346
|
+
- Daemons read env vars from `~/.clawdbot/.env` (or the service environment).
|
|
1347
|
+
|
|
1348
|
+
Docs: [Web tools](/tools/web).
|
|
1349
|
+
|
|
1350
|
+
### How do I run a central Gateway with specialized workers across devices
|
|
1351
|
+
|
|
1352
|
+
The common pattern is **one Gateway** (e.g. Raspberry Pi) plus **nodes** and **agents**:
|
|
1353
|
+
|
|
1354
|
+
- **Gateway (central):** owns channels (Signal/WhatsApp), routing, and sessions.
|
|
1355
|
+
- **Nodes (devices):** Macs/iOS/Android connect as peripherals and expose local tools (`system.run`, `canvas`, `camera`).
|
|
1356
|
+
- **Agents (workers):** separate brains/workspaces for special roles (e.g. “Hetzner ops”, “Personal data”).
|
|
1357
|
+
- **Sub‑agents:** spawn background work from a main agent when you want parallelism.
|
|
1358
|
+
- **TUI:** connect to the Gateway and switch agents/sessions.
|
|
1359
|
+
|
|
1360
|
+
Docs: [Nodes](/nodes), [Remote access](/gateway/remote), [Multi-Agent Routing](/concepts/multi-agent), [Sub-agents](/tools/subagents), [TUI](/tui).
|
|
1361
|
+
|
|
1362
|
+
### Can the Clawdbot browser run headless
|
|
1363
|
+
|
|
1364
|
+
Yes. It’s a config option:
|
|
1365
|
+
|
|
1366
|
+
```json5
|
|
1367
|
+
{
|
|
1368
|
+
browser: { headless: true },
|
|
1369
|
+
agents: {
|
|
1370
|
+
defaults: {
|
|
1371
|
+
sandbox: { browser: { headless: true } }
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
```
|
|
1376
|
+
|
|
1377
|
+
Default is `false` (headful). Headless is more likely to trigger anti‑bot checks on some sites. See [Browser](/tools/browser).
|
|
1378
|
+
|
|
1379
|
+
Headless uses the **same Chromium engine** and works for most automation (forms, clicks, scraping, logins). The main differences:
|
|
1380
|
+
- No visible browser window (use screenshots if you need visuals).
|
|
1381
|
+
- Some sites are stricter about automation in headless mode (CAPTCHAs, anti‑bot).
|
|
1382
|
+
For example, X/Twitter often blocks headless sessions.
|
|
1383
|
+
|
|
1384
|
+
### How do I use Brave for browser control
|
|
1385
|
+
|
|
1386
|
+
Set `browser.executablePath` to your Brave binary (or any Chromium-based browser) and restart the Gateway.
|
|
1387
|
+
See the full config examples in [Browser](/tools/browser#use-brave-or-another-chromium-based-browser).
|
|
1388
|
+
|
|
1389
|
+
## Remote gateways + nodes
|
|
1390
|
+
|
|
1391
|
+
### How do commands propagate between Telegram the gateway and nodes
|
|
1392
|
+
|
|
1393
|
+
Telegram messages are handled by the **gateway**. The gateway runs the agent and
|
|
1394
|
+
only then calls nodes over the **Gateway WebSocket** when a node tool is needed:
|
|
1395
|
+
|
|
1396
|
+
Telegram → Gateway → Agent → `node.*` → Node → Gateway → Telegram
|
|
1397
|
+
|
|
1398
|
+
Nodes don’t see inbound provider traffic; they only receive node RPC calls.
|
|
1399
|
+
|
|
1400
|
+
### How can my agent access my computer if the Gateway is hosted remotely
|
|
1401
|
+
|
|
1402
|
+
Short answer: **pair your computer as a node**. The Gateway runs elsewhere, but it can
|
|
1403
|
+
call `node.*` tools (screen, camera, system) on your local machine over the Gateway WebSocket.
|
|
1404
|
+
|
|
1405
|
+
Typical setup:
|
|
1406
|
+
1) Run the Gateway on the always‑on host (VPS/home server).
|
|
1407
|
+
2) Put the Gateway host + your computer on the same tailnet.
|
|
1408
|
+
3) Ensure the Gateway WS is reachable (tailnet bind or SSH tunnel).
|
|
1409
|
+
4) Open the macOS app locally and connect in **Remote over SSH** mode (or direct tailnet)
|
|
1410
|
+
so it can register as a node.
|
|
1411
|
+
5) Approve the node on the Gateway:
|
|
1412
|
+
```bash
|
|
1413
|
+
clawdbot nodes pending
|
|
1414
|
+
clawdbot nodes approve <requestId>
|
|
1415
|
+
```
|
|
1416
|
+
|
|
1417
|
+
No separate TCP bridge is required; nodes connect over the Gateway WebSocket.
|
|
1418
|
+
|
|
1419
|
+
Security reminder: pairing a macOS node allows `system.run` on that machine. Only
|
|
1420
|
+
pair devices you trust, and review [Security](/gateway/security).
|
|
1421
|
+
|
|
1422
|
+
Docs: [Nodes](/nodes), [Gateway protocol](/gateway/protocol), [macOS remote mode](/platforms/mac/remote), [Security](/gateway/security).
|
|
1423
|
+
|
|
1424
|
+
### Tailscale is connected but I get no replies What now
|
|
1425
|
+
|
|
1426
|
+
Check the basics:
|
|
1427
|
+
- Gateway is running: `clawdbot gateway status`
|
|
1428
|
+
- Gateway health: `clawdbot status`
|
|
1429
|
+
- Channel health: `clawdbot channels status`
|
|
1430
|
+
|
|
1431
|
+
Then verify auth and routing:
|
|
1432
|
+
- If you use Tailscale Serve, make sure `gateway.auth.allowTailscale` is set correctly.
|
|
1433
|
+
- If you connect via SSH tunnel, confirm the local tunnel is up and points at the right port.
|
|
1434
|
+
- Confirm your allowlists (DM or group) include your account.
|
|
1435
|
+
|
|
1436
|
+
Docs: [Tailscale](/gateway/tailscale), [Remote access](/gateway/remote), [Channels](/channels).
|
|
1437
|
+
|
|
1438
|
+
### Can two Clawdbots talk to each other local VPS
|
|
1439
|
+
|
|
1440
|
+
Yes. There is no built-in "bot-to-bot" bridge, but you can wire it up in a few
|
|
1441
|
+
reliable ways:
|
|
1442
|
+
|
|
1443
|
+
**Simplest:** use a normal chat channel both bots can access (Telegram/Slack/WhatsApp).
|
|
1444
|
+
Have Bot A send a message to Bot B, then let Bot B reply as usual.
|
|
1445
|
+
|
|
1446
|
+
**CLI bridge (generic):** run a script that calls the other Gateway with
|
|
1447
|
+
`clawdbot agent --message ... --deliver`, targeting a chat where the other bot
|
|
1448
|
+
listens. If one bot is on a remote VPS, point your CLI at that remote Gateway
|
|
1449
|
+
via SSH/Tailscale (see [Remote access](/gateway/remote)).
|
|
1450
|
+
|
|
1451
|
+
Example pattern (run from a machine that can reach the target Gateway):
|
|
1452
|
+
```bash
|
|
1453
|
+
clawdbot agent --message "Hello from local bot" --deliver --channel telegram --reply-to <chat-id>
|
|
1454
|
+
```
|
|
1455
|
+
|
|
1456
|
+
Tip: add a guardrail so the two bots do not loop endlessly (mention-only, channel
|
|
1457
|
+
allowlists, or a "do not reply to bot messages" rule).
|
|
1458
|
+
|
|
1459
|
+
Docs: [Remote access](/gateway/remote), [Agent CLI](/cli/agent), [Agent send](/tools/agent-send).
|
|
1460
|
+
|
|
1461
|
+
### Do I need separate VPSes for multiple agents
|
|
1462
|
+
|
|
1463
|
+
No. One Gateway can host multiple agents, each with its own workspace, model defaults,
|
|
1464
|
+
and routing. That is the normal setup and it is much cheaper and simpler than running
|
|
1465
|
+
one VPS per agent.
|
|
1466
|
+
|
|
1467
|
+
Use separate VPSes only when you need hard isolation (security boundaries) or very
|
|
1468
|
+
different configs that you do not want to share. Otherwise, keep one Gateway and
|
|
1469
|
+
use multiple agents or sub-agents.
|
|
1470
|
+
|
|
1471
|
+
### Is there a benefit to using a node on my personal laptop instead of SSH from a VPS
|
|
1472
|
+
|
|
1473
|
+
Yes - nodes are the first‑class way to reach your laptop from a remote Gateway, and they
|
|
1474
|
+
unlock more than shell access. The Gateway runs on macOS/Linux (Windows via WSL2) and is
|
|
1475
|
+
lightweight (a small VPS or Raspberry Pi-class box is fine; 4 GB RAM is plenty), so a common
|
|
1476
|
+
setup is an always‑on host plus your laptop as a node.
|
|
1477
|
+
|
|
1478
|
+
- **No inbound SSH required.** Nodes connect out to the Gateway WebSocket and use device pairing.
|
|
1479
|
+
- **Safer execution controls.** `system.run` is gated by node allowlists/approvals on that laptop.
|
|
1480
|
+
- **More device tools.** Nodes expose `canvas`, `camera`, and `screen` in addition to `system.run`.
|
|
1481
|
+
- **Local browser automation.** Keep the Gateway on a VPS, but run Chrome locally and relay control
|
|
1482
|
+
with the Chrome extension + `clawdbot browser serve`.
|
|
1483
|
+
|
|
1484
|
+
SSH is fine for ad‑hoc shell access, but nodes are simpler for ongoing agent workflows and
|
|
1485
|
+
device automation.
|
|
1486
|
+
|
|
1487
|
+
Docs: [Nodes](/nodes), [Nodes CLI](/cli/nodes), [Chrome extension](/tools/chrome-extension).
|
|
1488
|
+
|
|
1489
|
+
### Should I install on a second laptop or just add a node
|
|
1490
|
+
|
|
1491
|
+
If you only need **local tools** (screen/camera/exec) on the second laptop, add it as a
|
|
1492
|
+
**node**. That keeps a single Gateway and avoids duplicated config. Local node tools are
|
|
1493
|
+
currently macOS-only, but we plan to extend them to other OSes.
|
|
1494
|
+
|
|
1495
|
+
Install a second Gateway only when you need **hard isolation** or two fully separate bots.
|
|
1496
|
+
|
|
1497
|
+
Docs: [Nodes](/nodes), [Nodes CLI](/cli/nodes), [Multiple gateways](/gateway/multiple-gateways).
|
|
1498
|
+
|
|
1499
|
+
### Do nodes run a gateway service
|
|
1500
|
+
|
|
1501
|
+
No. Only **one gateway** should run per host unless you intentionally run isolated profiles (see [Multiple gateways](/gateway/multiple-gateways)). Nodes are peripherals that connect
|
|
1502
|
+
to the gateway (iOS/Android nodes, or macOS “node mode” in the menubar app). For headless node
|
|
1503
|
+
hosts and CLI control, see [Node host CLI](/cli/node).
|
|
1504
|
+
|
|
1505
|
+
A full restart is required for `gateway`, `discovery`, and `canvasHost` changes.
|
|
1506
|
+
|
|
1507
|
+
### Is there an API RPC way to apply config
|
|
1508
|
+
|
|
1509
|
+
Yes. `config.apply` validates + writes the full config and restarts the Gateway as part of the operation.
|
|
1510
|
+
|
|
1511
|
+
### configapply wiped my config How do I recover and avoid this
|
|
1512
|
+
|
|
1513
|
+
`config.apply` replaces the **entire config**. If you send a partial object, everything
|
|
1514
|
+
else is removed.
|
|
1515
|
+
|
|
1516
|
+
Recover:
|
|
1517
|
+
- Restore from backup (git or a copied `~/.clawdbot/clawdbot.json`).
|
|
1518
|
+
- If you have no backup, re-run `clawdbot doctor` and reconfigure channels/models.
|
|
1519
|
+
- If this was unexpected, file a bug and include your last known config or any backup.
|
|
1520
|
+
- A local coding agent can often reconstruct a working config from logs or history.
|
|
1521
|
+
|
|
1522
|
+
Avoid it:
|
|
1523
|
+
- Use `clawdbot config set` for small changes.
|
|
1524
|
+
- Use `clawdbot configure` for interactive edits.
|
|
1525
|
+
|
|
1526
|
+
Docs: [Config](/cli/config), [Configure](/cli/configure), [Doctor](/gateway/doctor).
|
|
1527
|
+
|
|
1528
|
+
### Whats a minimal sane config for a first install
|
|
1529
|
+
|
|
1530
|
+
```json5
|
|
1531
|
+
{
|
|
1532
|
+
agents: { defaults: { workspace: "~/clawd" } },
|
|
1533
|
+
channels: { whatsapp: { allowFrom: ["+15555550123"] } }
|
|
1534
|
+
}
|
|
1535
|
+
```
|
|
1536
|
+
|
|
1537
|
+
This sets your workspace and restricts who can trigger the bot.
|
|
1538
|
+
|
|
1539
|
+
### How do I set up Tailscale on a VPS and connect from my Mac
|
|
1540
|
+
|
|
1541
|
+
Minimal steps:
|
|
1542
|
+
|
|
1543
|
+
1) **Install + login on the VPS**
|
|
1544
|
+
```bash
|
|
1545
|
+
curl -fsSL https://tailscale.com/install.sh | sh
|
|
1546
|
+
sudo tailscale up
|
|
1547
|
+
```
|
|
1548
|
+
2) **Install + login on your Mac**
|
|
1549
|
+
- Use the Tailscale app and sign in to the same tailnet.
|
|
1550
|
+
3) **Enable MagicDNS (recommended)**
|
|
1551
|
+
- In the Tailscale admin console, enable MagicDNS so the VPS has a stable name.
|
|
1552
|
+
4) **Use the tailnet hostname**
|
|
1553
|
+
- SSH: `ssh user@your-vps.tailnet-xxxx.ts.net`
|
|
1554
|
+
- Gateway WS: `ws://your-vps.tailnet-xxxx.ts.net:18789`
|
|
1555
|
+
|
|
1556
|
+
If you want the Control UI without SSH, use Tailscale Serve on the VPS:
|
|
1557
|
+
```bash
|
|
1558
|
+
clawdbot gateway --tailscale serve
|
|
1559
|
+
```
|
|
1560
|
+
This keeps the gateway bound to loopback and exposes HTTPS via Tailscale. See [Tailscale](/gateway/tailscale).
|
|
1561
|
+
|
|
1562
|
+
### How do I connect a Mac node to a remote Gateway Tailscale Serve
|
|
1563
|
+
|
|
1564
|
+
Serve exposes the **Gateway Control UI + WS**. Nodes connect over the same Gateway WS endpoint.
|
|
1565
|
+
|
|
1566
|
+
Recommended setup:
|
|
1567
|
+
1) **Make sure the VPS + Mac are on the same tailnet**.
|
|
1568
|
+
2) **Use the macOS app in Remote mode** (SSH target can be the tailnet hostname).
|
|
1569
|
+
The app will tunnel the Gateway port and connect as a node.
|
|
1570
|
+
3) **Approve the node** on the gateway:
|
|
1571
|
+
```bash
|
|
1572
|
+
clawdbot nodes pending
|
|
1573
|
+
clawdbot nodes approve <requestId>
|
|
1574
|
+
```
|
|
1575
|
+
|
|
1576
|
+
Docs: [Gateway protocol](/gateway/protocol), [Discovery](/gateway/discovery), [macOS remote mode](/platforms/mac/remote).
|
|
1577
|
+
|
|
1578
|
+
## Env vars and .env loading
|
|
1579
|
+
|
|
1580
|
+
### How does Clawdbot load environment variables
|
|
1581
|
+
|
|
1582
|
+
Clawdbot reads env vars from the parent process (shell, launchd/systemd, CI, etc.) and additionally loads:
|
|
1583
|
+
|
|
1584
|
+
- `.env` from the current working directory
|
|
1585
|
+
- a global fallback `.env` from `~/.clawdbot/.env` (aka `$CLAWDBOT_STATE_DIR/.env`)
|
|
1586
|
+
|
|
1587
|
+
Neither `.env` file overrides existing env vars.
|
|
1588
|
+
|
|
1589
|
+
You can also define inline env vars in config (applied only if missing from the process env):
|
|
1590
|
+
|
|
1591
|
+
```json5
|
|
1592
|
+
{
|
|
1593
|
+
env: {
|
|
1594
|
+
OPENROUTER_API_KEY: "sk-or-...",
|
|
1595
|
+
vars: { GROQ_API_KEY: "gsk-..." }
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
```
|
|
1599
|
+
|
|
1600
|
+
See [/environment](/environment) for full precedence and sources.
|
|
1601
|
+
|
|
1602
|
+
### I started the Gateway via the service and my env vars disappeared What now
|
|
1603
|
+
|
|
1604
|
+
Two common fixes:
|
|
1605
|
+
|
|
1606
|
+
1) Put the missing keys in `~/.clawdbot/.env` so they’re picked up even when the service doesn’t inherit your shell env.
|
|
1607
|
+
2) Enable shell import (opt‑in convenience):
|
|
1608
|
+
|
|
1609
|
+
```json5
|
|
1610
|
+
{
|
|
1611
|
+
env: {
|
|
1612
|
+
shellEnv: {
|
|
1613
|
+
enabled: true,
|
|
1614
|
+
timeoutMs: 15000
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
```
|
|
1619
|
+
|
|
1620
|
+
This runs your login shell and imports only missing expected keys (never overrides). Env var equivalents:
|
|
1621
|
+
`CLAWDBOT_LOAD_SHELL_ENV=1`, `CLAWDBOT_SHELL_ENV_TIMEOUT_MS=15000`.
|
|
1622
|
+
|
|
1623
|
+
### I set COPILOTGITHUBTOKEN but models status shows Shell env off Why
|
|
1624
|
+
|
|
1625
|
+
`clawdbot models status` reports whether **shell env import** is enabled. “Shell env: off”
|
|
1626
|
+
does **not** mean your env vars are missing - it just means Clawdbot won’t load
|
|
1627
|
+
your login shell automatically.
|
|
1628
|
+
|
|
1629
|
+
If the Gateway runs as a service (launchd/systemd), it won’t inherit your shell
|
|
1630
|
+
environment. Fix by doing one of these:
|
|
1631
|
+
|
|
1632
|
+
1) Put the token in `~/.clawdbot/.env`:
|
|
1633
|
+
```
|
|
1634
|
+
COPILOT_GITHUB_TOKEN=...
|
|
1635
|
+
```
|
|
1636
|
+
2) Or enable shell import (`env.shellEnv.enabled: true`).
|
|
1637
|
+
3) Or add it to your config `env` block (applies only if missing).
|
|
1638
|
+
|
|
1639
|
+
Then restart the gateway and recheck:
|
|
1640
|
+
```bash
|
|
1641
|
+
clawdbot models status
|
|
1642
|
+
```
|
|
1643
|
+
|
|
1644
|
+
Copilot tokens are read from `COPILOT_GITHUB_TOKEN` (also `GH_TOKEN` / `GITHUB_TOKEN`).
|
|
1645
|
+
See [/concepts/model-providers](/concepts/model-providers) and [/environment](/environment).
|
|
1646
|
+
|
|
1647
|
+
## Sessions & multiple chats
|
|
1648
|
+
|
|
1649
|
+
### How do I start a fresh conversation
|
|
1650
|
+
|
|
1651
|
+
Send `/new` or `/reset` as a standalone message. See [Session management](/concepts/session).
|
|
1652
|
+
|
|
1653
|
+
### Do sessions reset automatically if I never send new
|
|
1654
|
+
|
|
1655
|
+
Yes. Sessions expire after `session.idleMinutes` (default **60**). The **next**
|
|
1656
|
+
message starts a fresh session id for that chat key. This does not delete
|
|
1657
|
+
transcripts - it just starts a new session.
|
|
1658
|
+
|
|
1659
|
+
```json5
|
|
1660
|
+
{
|
|
1661
|
+
session: {
|
|
1662
|
+
idleMinutes: 240
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
```
|
|
1666
|
+
|
|
1667
|
+
### Is there a way to make a team of Clawdbots one CEO and many agents
|
|
1668
|
+
|
|
1669
|
+
Yes, via **multi-agent routing** and **sub-agents**. You can create one coordinator
|
|
1670
|
+
agent and several worker agents with their own workspaces and models.
|
|
1671
|
+
|
|
1672
|
+
That said, this is best seen as a **fun experiment**. It is token heavy and often
|
|
1673
|
+
less efficient than using one bot with separate sessions. The typical model we
|
|
1674
|
+
envision is one bot you talk to, with different sessions for parallel work. That
|
|
1675
|
+
bot can also spawn sub-agents when needed.
|
|
1676
|
+
|
|
1677
|
+
Docs: [Multi-agent routing](/concepts/multi-agent), [Sub-agents](/tools/subagents), [Agents CLI](/cli/agents).
|
|
1678
|
+
|
|
1679
|
+
### Why did context get truncated midtask How do I prevent it
|
|
1680
|
+
|
|
1681
|
+
Session context is limited by the model window. Long chats, large tool outputs, or many
|
|
1682
|
+
files can trigger compaction or truncation.
|
|
1683
|
+
|
|
1684
|
+
What helps:
|
|
1685
|
+
- Ask the bot to summarize the current state and write it to a file.
|
|
1686
|
+
- Use `/compact` before long tasks, and `/new` when switching topics.
|
|
1687
|
+
- Keep important context in the workspace and ask the bot to read it back.
|
|
1688
|
+
- Use sub-agents for long or parallel work so the main chat stays smaller.
|
|
1689
|
+
- Pick a model with a larger context window if this happens often.
|
|
1690
|
+
|
|
1691
|
+
### How do I completely reset Clawdbot but keep it installed
|
|
1692
|
+
|
|
1693
|
+
Use the reset command:
|
|
1694
|
+
|
|
1695
|
+
```bash
|
|
1696
|
+
clawdbot reset
|
|
1697
|
+
```
|
|
1698
|
+
|
|
1699
|
+
Non-interactive full reset:
|
|
1700
|
+
|
|
1701
|
+
```bash
|
|
1702
|
+
clawdbot reset --scope full --yes --non-interactive
|
|
1703
|
+
```
|
|
1704
|
+
|
|
1705
|
+
Then re-run onboarding:
|
|
1706
|
+
|
|
1707
|
+
```bash
|
|
1708
|
+
clawdbot onboard --install-daemon
|
|
1709
|
+
```
|
|
1710
|
+
|
|
1711
|
+
Notes:
|
|
1712
|
+
- The onboarding wizard also offers **Reset** if it sees an existing config. See [Wizard](/start/wizard).
|
|
1713
|
+
- If you used profiles (`--profile` / `CLAWDBOT_PROFILE`), reset each state dir (defaults are `~/.clawdbot-<profile>`).
|
|
1714
|
+
- Dev reset: `clawdbot gateway --dev --reset` (dev-only; wipes dev config + credentials + sessions + workspace).
|
|
1715
|
+
|
|
1716
|
+
### Im getting context too large errors how do I reset or compact
|
|
1717
|
+
|
|
1718
|
+
Use one of these:
|
|
1719
|
+
|
|
1720
|
+
- **Compact** (keeps the conversation but summarizes older turns):
|
|
1721
|
+
```
|
|
1722
|
+
/compact
|
|
1723
|
+
```
|
|
1724
|
+
or `/compact <instructions>` to guide the summary.
|
|
1725
|
+
|
|
1726
|
+
- **Reset** (fresh session ID for the same chat key):
|
|
1727
|
+
```
|
|
1728
|
+
/new
|
|
1729
|
+
/reset
|
|
1730
|
+
```
|
|
1731
|
+
|
|
1732
|
+
If it keeps happening:
|
|
1733
|
+
- Enable or tune **session pruning** (`agents.defaults.contextPruning`) to trim old tool output.
|
|
1734
|
+
- Use a model with a larger context window.
|
|
1735
|
+
|
|
1736
|
+
Docs: [Compaction](/concepts/compaction), [Session pruning](/concepts/session-pruning), [Session management](/concepts/session).
|
|
1737
|
+
|
|
1738
|
+
### Why am I seeing LLM request rejected messagesNcontentXtooluseinput Field required
|
|
1739
|
+
|
|
1740
|
+
This is a provider validation error: the model emitted a `tool_use` block without the required
|
|
1741
|
+
`input`. It usually means the session history is stale or corrupted (often after long threads
|
|
1742
|
+
or a tool/schema change).
|
|
1743
|
+
|
|
1744
|
+
Fix: start a fresh session with `/new` (standalone message).
|
|
1745
|
+
|
|
1746
|
+
### Why am I getting heartbeat messages every 30 minutes
|
|
1747
|
+
|
|
1748
|
+
Heartbeats run every **30m** by default. Tune or disable them:
|
|
1749
|
+
|
|
1750
|
+
```json5
|
|
1751
|
+
{
|
|
1752
|
+
agents: {
|
|
1753
|
+
defaults: {
|
|
1754
|
+
heartbeat: {
|
|
1755
|
+
every: "2h" // or "0m" to disable
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
```
|
|
1761
|
+
|
|
1762
|
+
If `HEARTBEAT.md` exists but is effectively empty (only blank lines and markdown
|
|
1763
|
+
headers like `# Heading`), Clawdbot skips the heartbeat run to save API calls.
|
|
1764
|
+
If the file is missing, the heartbeat still runs and the model decides what to do.
|
|
1765
|
+
|
|
1766
|
+
Per-agent overrides use `agents.list[].heartbeat`. Docs: [Heartbeat](/gateway/heartbeat).
|
|
1767
|
+
|
|
1768
|
+
### Do I need to add a bot account to a WhatsApp group
|
|
1769
|
+
|
|
1770
|
+
No. Clawdbot runs on **your own account**, so if you’re in the group, Clawdbot can see it.
|
|
1771
|
+
By default, group replies are blocked until you allow senders (`groupPolicy: "allowlist"`).
|
|
1772
|
+
|
|
1773
|
+
If you want only **you** to be able to trigger group replies:
|
|
1774
|
+
|
|
1775
|
+
```json5
|
|
1776
|
+
{
|
|
1777
|
+
channels: {
|
|
1778
|
+
whatsapp: {
|
|
1779
|
+
groupPolicy: "allowlist",
|
|
1780
|
+
groupAllowFrom: ["+15551234567"]
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
```
|
|
1785
|
+
|
|
1786
|
+
### How do I get the JID of a WhatsApp group
|
|
1787
|
+
|
|
1788
|
+
Option 1 (fastest): tail logs and send a test message in the group:
|
|
1789
|
+
|
|
1790
|
+
```bash
|
|
1791
|
+
clawdbot logs --follow --json
|
|
1792
|
+
```
|
|
1793
|
+
|
|
1794
|
+
Look for `chatId` (or `from`) ending in `@g.us`, like:
|
|
1795
|
+
`1234567890-1234567890@g.us`.
|
|
1796
|
+
|
|
1797
|
+
Option 2 (if already configured/allowlisted): list groups from config:
|
|
1798
|
+
|
|
1799
|
+
```bash
|
|
1800
|
+
clawdbot directory groups list --channel whatsapp
|
|
1801
|
+
```
|
|
1802
|
+
|
|
1803
|
+
Docs: [WhatsApp](/channels/whatsapp), [Directory](/cli/directory), [Logs](/cli/logs).
|
|
1804
|
+
|
|
1805
|
+
### Why doesnt Clawdbot reply in a group
|
|
1806
|
+
|
|
1807
|
+
Two common causes:
|
|
1808
|
+
- Mention gating is on (default). You must @mention the bot (or match `mentionPatterns`).
|
|
1809
|
+
- You configured `channels.whatsapp.groups` without `"*"` and the group isn’t allowlisted.
|
|
1810
|
+
|
|
1811
|
+
See [Groups](/concepts/groups) and [Group messages](/concepts/group-messages).
|
|
1812
|
+
|
|
1813
|
+
### Do groupsthreads share context with DMs
|
|
1814
|
+
|
|
1815
|
+
Direct chats collapse to the main session by default. Groups/channels have their own session keys, and Telegram topics / Discord threads are separate sessions. See [Groups](/concepts/groups) and [Group messages](/concepts/group-messages).
|
|
1816
|
+
|
|
1817
|
+
### How many workspaces and agents can I create
|
|
1818
|
+
|
|
1819
|
+
No hard limits. Dozens (even hundreds) are fine, but watch for:
|
|
1820
|
+
|
|
1821
|
+
- **Disk growth:** sessions + transcripts live under `~/.clawdbot/agents/<agentId>/sessions/`.
|
|
1822
|
+
- **Token cost:** more agents means more concurrent model usage.
|
|
1823
|
+
- **Ops overhead:** per-agent auth profiles, workspaces, and channel routing.
|
|
1824
|
+
|
|
1825
|
+
Tips:
|
|
1826
|
+
- Keep one **active** workspace per agent (`agents.defaults.workspace`).
|
|
1827
|
+
- Prune old sessions (delete JSONL or store entries) if disk grows.
|
|
1828
|
+
- Use `clawdbot doctor` to spot stray workspaces and profile mismatches.
|
|
1829
|
+
|
|
1830
|
+
### Can I run multiple bots or chats at the same time Slack and how should I set that up
|
|
1831
|
+
|
|
1832
|
+
Yes. Use **Multi‑Agent Routing** to run multiple isolated agents and route inbound messages by
|
|
1833
|
+
channel/account/peer. Slack is supported as a channel and can be bound to specific agents.
|
|
1834
|
+
|
|
1835
|
+
Browser access is powerful but not “do anything a human can” - anti‑bot, CAPTCHAs, and MFA can
|
|
1836
|
+
still block automation. For the most reliable browser control, use the Chrome extension relay
|
|
1837
|
+
on the machine that runs the browser (and keep the Gateway anywhere).
|
|
1838
|
+
|
|
1839
|
+
Best‑practice setup:
|
|
1840
|
+
- Always‑on Gateway host (VPS/Mac mini).
|
|
1841
|
+
- One agent per role (bindings).
|
|
1842
|
+
- Slack channel(s) bound to those agents.
|
|
1843
|
+
- Local browser via extension relay (or a node) when needed.
|
|
1844
|
+
|
|
1845
|
+
Docs: [Multi‑Agent Routing](/concepts/multi-agent), [Slack](/channels/slack),
|
|
1846
|
+
[Browser](/tools/browser), [Chrome extension](/tools/chrome-extension), [Nodes](/nodes).
|
|
1847
|
+
|
|
1848
|
+
## Models: defaults, selection, aliases, switching
|
|
1849
|
+
|
|
1850
|
+
### What is the default model
|
|
1851
|
+
|
|
1852
|
+
Clawdbot’s default model is whatever you set as:
|
|
1853
|
+
|
|
1854
|
+
```
|
|
1855
|
+
agents.defaults.model.primary
|
|
1856
|
+
```
|
|
1857
|
+
|
|
1858
|
+
Models are referenced as `provider/model` (example: `anthropic/claude-opus-4-5`). If you omit the provider, Clawdbot currently assumes `anthropic` as a temporary deprecation fallback - but you should still **explicitly** set `provider/model`.
|
|
1859
|
+
|
|
1860
|
+
### What model do you recommend
|
|
1861
|
+
|
|
1862
|
+
**Recommended default:** `anthropic/claude-opus-4-5`.
|
|
1863
|
+
**Good alternative:** `anthropic/claude-sonnet-4-5`.
|
|
1864
|
+
**Reliable (less character):** `openai/gpt-5.2` - nearly as good as Opus, just less personality.
|
|
1865
|
+
**Budget:** `zai/glm-4.7`.
|
|
1866
|
+
|
|
1867
|
+
MiniMax M2.1 has its own docs: [MiniMax](/providers/minimax) and
|
|
1868
|
+
[Local models](/gateway/local-models).
|
|
1869
|
+
|
|
1870
|
+
Rule of thumb: use the **best model you can afford** for high-stakes work, and a cheaper
|
|
1871
|
+
model for routine chat or summaries. You can route models per agent and use sub-agents to
|
|
1872
|
+
parallelize long tasks (each sub-agent consumes tokens). See [Models](/concepts/models) and
|
|
1873
|
+
[Sub-agents](/tools/subagents).
|
|
1874
|
+
|
|
1875
|
+
Strong warning: weaker/over-quantized models are more vulnerable to prompt
|
|
1876
|
+
injection and unsafe behavior. See [Security](/gateway/security).
|
|
1877
|
+
|
|
1878
|
+
More context: [Models](/concepts/models).
|
|
1879
|
+
|
|
1880
|
+
### Can I use selfhosted models llamacpp vLLM Ollama
|
|
1881
|
+
|
|
1882
|
+
Yes. If your local server exposes an OpenAI-compatible API, you can point a
|
|
1883
|
+
custom provider at it. Ollama is supported directly and is the easiest path.
|
|
1884
|
+
|
|
1885
|
+
Security note: smaller or heavily quantized models are more vulnerable to prompt
|
|
1886
|
+
injection. We strongly recommend **large models** for any bot that can use tools.
|
|
1887
|
+
If you still want small models, enable sandboxing and strict tool allowlists.
|
|
1888
|
+
|
|
1889
|
+
Docs: [Ollama](/providers/ollama), [Local models](/gateway/local-models),
|
|
1890
|
+
[Model providers](/concepts/model-providers), [Security](/gateway/security),
|
|
1891
|
+
[Sandboxing](/gateway/sandboxing).
|
|
1892
|
+
|
|
1893
|
+
### How do I switch models without wiping my config
|
|
1894
|
+
|
|
1895
|
+
Use **model commands** or edit only the **model** fields. Avoid full config replaces.
|
|
1896
|
+
|
|
1897
|
+
Safe options:
|
|
1898
|
+
- `/model` in chat (quick, per-session)
|
|
1899
|
+
- `clawdbot models set ...` (updates just model config)
|
|
1900
|
+
- `clawdbot configure --section models` (interactive)
|
|
1901
|
+
- edit `agents.defaults.model` in `~/.clawdbot/clawdbot.json`
|
|
1902
|
+
|
|
1903
|
+
Avoid `config.apply` with a partial object unless you intend to replace the whole config.
|
|
1904
|
+
If you did overwrite config, restore from backup or re-run `clawdbot doctor` to repair.
|
|
1905
|
+
|
|
1906
|
+
Docs: [Models](/concepts/models), [Configure](/cli/configure), [Config](/cli/config), [Doctor](/gateway/doctor).
|
|
1907
|
+
|
|
1908
|
+
### What do Clawd Flawd and Krill use for models
|
|
1909
|
+
|
|
1910
|
+
- **Clawd + Flawd:** Anthropic Opus (`anthropic/claude-opus-4-5`) - see [Anthropic](/providers/anthropic).
|
|
1911
|
+
- **Krill:** MiniMax M2.1 (`minimax/MiniMax-M2.1`) - see [MiniMax](/providers/minimax).
|
|
1912
|
+
|
|
1913
|
+
### How do I switch models on the fly without restarting
|
|
1914
|
+
|
|
1915
|
+
Use the `/model` command as a standalone message:
|
|
1916
|
+
|
|
1917
|
+
```
|
|
1918
|
+
/model sonnet
|
|
1919
|
+
/model haiku
|
|
1920
|
+
/model opus
|
|
1921
|
+
/model gpt
|
|
1922
|
+
/model gpt-mini
|
|
1923
|
+
/model gemini
|
|
1924
|
+
/model gemini-flash
|
|
1925
|
+
```
|
|
1926
|
+
|
|
1927
|
+
You can list available models with `/model`, `/model list`, or `/model status`.
|
|
1928
|
+
|
|
1929
|
+
`/model` (and `/model list`) shows a compact, numbered picker. Select by number:
|
|
1930
|
+
|
|
1931
|
+
```
|
|
1932
|
+
/model 3
|
|
1933
|
+
```
|
|
1934
|
+
|
|
1935
|
+
You can also force a specific auth profile for the provider (per session):
|
|
1936
|
+
|
|
1937
|
+
```
|
|
1938
|
+
/model opus@anthropic:default
|
|
1939
|
+
/model opus@anthropic:work
|
|
1940
|
+
```
|
|
1941
|
+
|
|
1942
|
+
Tip: `/model status` shows which agent is active, which `auth-profiles.json` file is being used, and which auth profile will be tried next.
|
|
1943
|
+
It also shows the configured provider endpoint (`baseUrl`) and API mode (`api`) when available.
|
|
1944
|
+
|
|
1945
|
+
**How do I unpin a profile I set with profile**
|
|
1946
|
+
|
|
1947
|
+
Re-run `/model` **without** the `@profile` suffix:
|
|
1948
|
+
|
|
1949
|
+
```
|
|
1950
|
+
/model anthropic/claude-opus-4-5
|
|
1951
|
+
```
|
|
1952
|
+
|
|
1953
|
+
If you want to return to the default, pick it from `/model` (or send `/model <default provider/model>`).
|
|
1954
|
+
Use `/model status` to confirm which auth profile is active.
|
|
1955
|
+
|
|
1956
|
+
### Can I use GPT 5.2 for daily tasks and Codex 5.2 for coding
|
|
1957
|
+
|
|
1958
|
+
Yes. Set one as default and switch as needed:
|
|
1959
|
+
|
|
1960
|
+
- **Quick switch (per session):** `/model gpt-5.2` for daily tasks, `/model gpt-5.2-codex` for coding.
|
|
1961
|
+
- **Default + switch:** set `agents.defaults.model.primary` to `openai-codex/gpt-5.2`, then switch to `openai-codex/gpt-5.2-codex` when coding (or the other way around).
|
|
1962
|
+
- **Sub-agents:** route coding tasks to sub-agents with a different default model.
|
|
1963
|
+
|
|
1964
|
+
See [Models](/concepts/models) and [Slash commands](/tools/slash-commands).
|
|
1965
|
+
|
|
1966
|
+
### Why do I see Model is not allowed and then no reply
|
|
1967
|
+
|
|
1968
|
+
If `agents.defaults.models` is set, it becomes the **allowlist** for `/model` and any
|
|
1969
|
+
session overrides. Choosing a model that isn’t in that list returns:
|
|
1970
|
+
|
|
1971
|
+
```
|
|
1972
|
+
Model "provider/model" is not allowed. Use /model to list available models.
|
|
1973
|
+
```
|
|
1974
|
+
|
|
1975
|
+
That error is returned **instead of** a normal reply. Fix: add the model to
|
|
1976
|
+
`agents.defaults.models`, remove the allowlist, or pick a model from `/model list`.
|
|
1977
|
+
|
|
1978
|
+
### Why do I see Unknown model minimaxMiniMaxM21
|
|
1979
|
+
|
|
1980
|
+
This means the **provider isn’t configured** (no MiniMax provider config or auth
|
|
1981
|
+
profile was found), so the model can’t be resolved. A fix for this detection is
|
|
1982
|
+
in **2026.1.12** (unreleased at the time of writing).
|
|
1983
|
+
|
|
1984
|
+
Fix checklist:
|
|
1985
|
+
1) Upgrade to **2026.1.12** (or run from source `main`), then restart the gateway.
|
|
1986
|
+
2) Make sure MiniMax is configured (wizard or JSON), or that a MiniMax API key
|
|
1987
|
+
exists in env/auth profiles so the provider can be injected.
|
|
1988
|
+
3) Use the exact model id (case‑sensitive): `minimax/MiniMax-M2.1` or
|
|
1989
|
+
`minimax/MiniMax-M2.1-lightning`.
|
|
1990
|
+
4) Run:
|
|
1991
|
+
```bash
|
|
1992
|
+
clawdbot models list
|
|
1993
|
+
```
|
|
1994
|
+
and pick from the list (or `/model list` in chat).
|
|
1995
|
+
|
|
1996
|
+
See [MiniMax](/providers/minimax) and [Models](/concepts/models).
|
|
1997
|
+
|
|
1998
|
+
### Can I use MiniMax as my default and OpenAI for complex tasks
|
|
1999
|
+
|
|
2000
|
+
Yes. Use **MiniMax as the default** and switch models **per session** when needed.
|
|
2001
|
+
Fallbacks are for **errors**, not “hard tasks,” so use `/model` or a separate agent.
|
|
2002
|
+
|
|
2003
|
+
**Option A: switch per session**
|
|
2004
|
+
```json5
|
|
2005
|
+
{
|
|
2006
|
+
env: { MINIMAX_API_KEY: "sk-...", OPENAI_API_KEY: "sk-..." },
|
|
2007
|
+
agents: {
|
|
2008
|
+
defaults: {
|
|
2009
|
+
model: { primary: "minimax/MiniMax-M2.1" },
|
|
2010
|
+
models: {
|
|
2011
|
+
"minimax/MiniMax-M2.1": { alias: "minimax" },
|
|
2012
|
+
"openai/gpt-5.2": { alias: "gpt" }
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
```
|
|
2018
|
+
|
|
2019
|
+
Then:
|
|
2020
|
+
```
|
|
2021
|
+
/model gpt
|
|
2022
|
+
```
|
|
2023
|
+
|
|
2024
|
+
**Option B: separate agents**
|
|
2025
|
+
- Agent A default: MiniMax
|
|
2026
|
+
- Agent B default: OpenAI
|
|
2027
|
+
- Route by agent or use `/agent` to switch
|
|
2028
|
+
|
|
2029
|
+
Docs: [Models](/concepts/models), [Multi-Agent Routing](/concepts/multi-agent), [MiniMax](/providers/minimax), [OpenAI](/providers/openai).
|
|
2030
|
+
|
|
2031
|
+
### Are opus sonnet gpt builtin shortcuts
|
|
2032
|
+
|
|
2033
|
+
Yes. Clawdbot ships a few default shorthands (only applied when the model exists in `agents.defaults.models`):
|
|
2034
|
+
|
|
2035
|
+
- `opus` → `anthropic/claude-opus-4-5`
|
|
2036
|
+
- `sonnet` → `anthropic/claude-sonnet-4-5`
|
|
2037
|
+
- `gpt` → `openai/gpt-5.2`
|
|
2038
|
+
- `gpt-mini` → `openai/gpt-5-mini`
|
|
2039
|
+
- `gemini` → `google/gemini-3-pro-preview`
|
|
2040
|
+
- `gemini-flash` → `google/gemini-3-flash-preview`
|
|
2041
|
+
|
|
2042
|
+
If you set your own alias with the same name, your value wins.
|
|
2043
|
+
|
|
2044
|
+
### How do I defineoverride model shortcuts aliases
|
|
2045
|
+
|
|
2046
|
+
Aliases come from `agents.defaults.models.<modelId>.alias`. Example:
|
|
2047
|
+
|
|
2048
|
+
```json5
|
|
2049
|
+
{
|
|
2050
|
+
agents: {
|
|
2051
|
+
defaults: {
|
|
2052
|
+
model: { primary: "anthropic/claude-opus-4-5" },
|
|
2053
|
+
models: {
|
|
2054
|
+
"anthropic/claude-opus-4-5": { alias: "opus" },
|
|
2055
|
+
"anthropic/claude-sonnet-4-5": { alias: "sonnet" },
|
|
2056
|
+
"anthropic/claude-haiku-4-5": { alias: "haiku" }
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
```
|
|
2062
|
+
|
|
2063
|
+
Then `/model sonnet` (or `/<alias>` when supported) resolves to that model ID.
|
|
2064
|
+
|
|
2065
|
+
### How do I add models from other providers like OpenRouter or ZAI
|
|
2066
|
+
|
|
2067
|
+
OpenRouter (pay‑per‑token; many models):
|
|
2068
|
+
|
|
2069
|
+
```json5
|
|
2070
|
+
{
|
|
2071
|
+
agents: {
|
|
2072
|
+
defaults: {
|
|
2073
|
+
model: { primary: "openrouter/anthropic/claude-sonnet-4-5" },
|
|
2074
|
+
models: { "openrouter/anthropic/claude-sonnet-4-5": {} }
|
|
2075
|
+
}
|
|
2076
|
+
},
|
|
2077
|
+
env: { OPENROUTER_API_KEY: "sk-or-..." }
|
|
2078
|
+
}
|
|
2079
|
+
```
|
|
2080
|
+
|
|
2081
|
+
Z.AI (GLM models):
|
|
2082
|
+
|
|
2083
|
+
```json5
|
|
2084
|
+
{
|
|
2085
|
+
agents: {
|
|
2086
|
+
defaults: {
|
|
2087
|
+
model: { primary: "zai/glm-4.7" },
|
|
2088
|
+
models: { "zai/glm-4.7": {} }
|
|
2089
|
+
}
|
|
2090
|
+
},
|
|
2091
|
+
env: { ZAI_API_KEY: "..." }
|
|
2092
|
+
}
|
|
2093
|
+
```
|
|
2094
|
+
|
|
2095
|
+
If you reference a provider/model but the required provider key is missing, you’ll get a runtime auth error (e.g. `No API key found for provider "zai"`).
|
|
2096
|
+
|
|
2097
|
+
**No API key found for provider after adding a new agent**
|
|
2098
|
+
|
|
2099
|
+
This usually means the **new agent** has an empty auth store. Auth is per-agent and
|
|
2100
|
+
stored in:
|
|
2101
|
+
|
|
2102
|
+
```
|
|
2103
|
+
~/.clawdbot/agents/<agentId>/agent/auth-profiles.json
|
|
2104
|
+
```
|
|
2105
|
+
|
|
2106
|
+
Fix options:
|
|
2107
|
+
- Run `clawdbot agents add <id>` and configure auth during the wizard.
|
|
2108
|
+
- Or copy `auth-profiles.json` from the main agent’s `agentDir` into the new agent’s `agentDir`.
|
|
2109
|
+
|
|
2110
|
+
Do **not** reuse `agentDir` across agents; it causes auth/session collisions.
|
|
2111
|
+
|
|
2112
|
+
## Model failover and “All models failed”
|
|
2113
|
+
|
|
2114
|
+
### How does failover work
|
|
2115
|
+
|
|
2116
|
+
Failover happens in two stages:
|
|
2117
|
+
|
|
2118
|
+
1) **Auth profile rotation** within the same provider.
|
|
2119
|
+
2) **Model fallback** to the next model in `agents.defaults.model.fallbacks`.
|
|
2120
|
+
|
|
2121
|
+
Cooldowns apply to failing profiles (exponential backoff), so Clawdbot can keep responding even when a provider is rate‑limited or temporarily failing.
|
|
2122
|
+
|
|
2123
|
+
### What does this error mean
|
|
2124
|
+
|
|
2125
|
+
```
|
|
2126
|
+
No credentials found for profile "anthropic:default"
|
|
2127
|
+
```
|
|
2128
|
+
|
|
2129
|
+
It means the system attempted to use the auth profile ID `anthropic:default`, but could not find credentials for it in the expected auth store.
|
|
2130
|
+
|
|
2131
|
+
### Fix checklist for No credentials found for profile anthropicdefault
|
|
2132
|
+
|
|
2133
|
+
- **Confirm where auth profiles live** (new vs legacy paths)
|
|
2134
|
+
- Current: `~/.clawdbot/agents/<agentId>/agent/auth-profiles.json`
|
|
2135
|
+
- Legacy: `~/.clawdbot/agent/*` (migrated by `clawdbot doctor`)
|
|
2136
|
+
- **Confirm your env var is loaded by the Gateway**
|
|
2137
|
+
- If you set `ANTHROPIC_API_KEY` in your shell but run the Gateway via systemd/launchd, it may not inherit it. Put it in `~/.clawdbot/.env` or enable `env.shellEnv`.
|
|
2138
|
+
- **Make sure you’re editing the correct agent**
|
|
2139
|
+
- Multi‑agent setups mean there can be multiple `auth-profiles.json` files.
|
|
2140
|
+
- **Sanity‑check model/auth status**
|
|
2141
|
+
- Use `clawdbot models status` to see configured models and whether providers are authenticated.
|
|
2142
|
+
|
|
2143
|
+
**Fix checklist for No credentials found for profile anthropic**
|
|
2144
|
+
|
|
2145
|
+
This means the run is pinned to an Anthropic auth profile, but the Gateway
|
|
2146
|
+
can’t find it in its auth store.
|
|
2147
|
+
|
|
2148
|
+
- **Use a setup-token**
|
|
2149
|
+
- Run `claude setup-token`, then paste it with `clawdbot models auth setup-token --provider anthropic`.
|
|
2150
|
+
- If the token was created on another machine, use `clawdbot models auth paste-token --provider anthropic`.
|
|
2151
|
+
- **If you want to use an API key instead**
|
|
2152
|
+
- Put `ANTHROPIC_API_KEY` in `~/.clawdbot/.env` on the **gateway host**.
|
|
2153
|
+
- Clear any pinned order that forces a missing profile:
|
|
2154
|
+
```bash
|
|
2155
|
+
clawdbot models auth order clear --provider anthropic
|
|
2156
|
+
```
|
|
2157
|
+
- **Confirm you’re running commands on the gateway host**
|
|
2158
|
+
- In remote mode, auth profiles live on the gateway machine, not your laptop.
|
|
2159
|
+
|
|
2160
|
+
### Why did it also try Google Gemini and fail
|
|
2161
|
+
|
|
2162
|
+
If your model config includes Google Gemini as a fallback (or you switched to a Gemini shorthand), Clawdbot will try it during model fallback. If you haven’t configured Google credentials, you’ll see `No API key found for provider "google"`.
|
|
2163
|
+
|
|
2164
|
+
Fix: either provide Google auth, or remove/avoid Google models in `agents.defaults.model.fallbacks` / aliases so fallback doesn’t route there.
|
|
2165
|
+
|
|
2166
|
+
**LLM request rejected message thinking signature required google antigravity**
|
|
2167
|
+
|
|
2168
|
+
Cause: the session history contains **thinking blocks without signatures** (often from
|
|
2169
|
+
an aborted/partial stream). Google Antigravity requires signatures for thinking blocks.
|
|
2170
|
+
|
|
2171
|
+
Fix: Clawdbot now strips unsigned thinking blocks for Google Antigravity Claude. If it still appears, start a **new session** or set `/thinking off` for that agent.
|
|
2172
|
+
|
|
2173
|
+
## Auth profiles: what they are and how to manage them
|
|
2174
|
+
|
|
2175
|
+
Related: [/concepts/oauth](/concepts/oauth) (OAuth flows, token storage, multi-account patterns)
|
|
2176
|
+
|
|
2177
|
+
### What is an auth profile
|
|
2178
|
+
|
|
2179
|
+
An auth profile is a named credential record (OAuth or API key) tied to a provider. Profiles live in:
|
|
2180
|
+
|
|
2181
|
+
```
|
|
2182
|
+
~/.clawdbot/agents/<agentId>/agent/auth-profiles.json
|
|
2183
|
+
```
|
|
2184
|
+
|
|
2185
|
+
### What are typical profile IDs
|
|
2186
|
+
|
|
2187
|
+
Clawdbot uses provider‑prefixed IDs like:
|
|
2188
|
+
|
|
2189
|
+
- `anthropic:default` (common when no email identity exists)
|
|
2190
|
+
- `anthropic:<email>` for OAuth identities
|
|
2191
|
+
- custom IDs you choose (e.g. `anthropic:work`)
|
|
2192
|
+
|
|
2193
|
+
### Can I control which auth profile is tried first
|
|
2194
|
+
|
|
2195
|
+
Yes. Config supports optional metadata for profiles and an ordering per provider (`auth.order.<provider>`). This does **not** store secrets; it maps IDs to provider/mode and sets rotation order.
|
|
2196
|
+
|
|
2197
|
+
Clawdbot may temporarily skip a profile if it’s in a short **cooldown** (rate limits/timeouts/auth failures) or a longer **disabled** state (billing/insufficient credits). To inspect this, run `clawdbot models status --json` and check `auth.unusableProfiles`. Tuning: `auth.cooldowns.billingBackoffHours*`.
|
|
2198
|
+
|
|
2199
|
+
You can also set a **per-agent** order override (stored in that agent’s `auth-profiles.json`) via the CLI:
|
|
2200
|
+
|
|
2201
|
+
```bash
|
|
2202
|
+
# Defaults to the configured default agent (omit --agent)
|
|
2203
|
+
clawdbot models auth order get --provider anthropic
|
|
2204
|
+
|
|
2205
|
+
# Lock rotation to a single profile (only try this one)
|
|
2206
|
+
clawdbot models auth order set --provider anthropic anthropic:default
|
|
2207
|
+
|
|
2208
|
+
# Or set an explicit order (fallback within provider)
|
|
2209
|
+
clawdbot models auth order set --provider anthropic anthropic:work anthropic:default
|
|
2210
|
+
|
|
2211
|
+
# Clear override (fall back to config auth.order / round-robin)
|
|
2212
|
+
clawdbot models auth order clear --provider anthropic
|
|
2213
|
+
```
|
|
2214
|
+
|
|
2215
|
+
To target a specific agent:
|
|
2216
|
+
|
|
2217
|
+
```bash
|
|
2218
|
+
clawdbot models auth order set --provider anthropic --agent main anthropic:default
|
|
2219
|
+
```
|
|
2220
|
+
|
|
2221
|
+
### OAuth vs API key whats the difference
|
|
2222
|
+
|
|
2223
|
+
Clawdbot supports both:
|
|
2224
|
+
|
|
2225
|
+
- **OAuth** often leverages subscription access (where applicable).
|
|
2226
|
+
- **API keys** use pay‑per‑token billing.
|
|
2227
|
+
|
|
2228
|
+
The wizard explicitly supports Anthropic setup-token and OpenAI Codex OAuth and can store API keys for you.
|
|
2229
|
+
|
|
2230
|
+
## Gateway: ports, “already running”, and remote mode
|
|
2231
|
+
|
|
2232
|
+
### What port does the Gateway use
|
|
2233
|
+
|
|
2234
|
+
`gateway.port` controls the single multiplexed port for WebSocket + HTTP (Control UI, hooks, etc.).
|
|
2235
|
+
|
|
2236
|
+
Precedence:
|
|
2237
|
+
|
|
2238
|
+
```
|
|
2239
|
+
--port > CLAWDBOT_GATEWAY_PORT > gateway.port > default 18789
|
|
2240
|
+
```
|
|
2241
|
+
|
|
2242
|
+
### Why does clawdbot gateway status say Runtime running but RPC probe failed
|
|
2243
|
+
|
|
2244
|
+
Because “running” is the **supervisor’s** view (launchd/systemd/schtasks). The RPC probe is the CLI actually connecting to the gateway WebSocket and calling `status`.
|
|
2245
|
+
|
|
2246
|
+
Use `clawdbot gateway status` and trust these lines:
|
|
2247
|
+
- `Probe target:` (the URL the probe actually used)
|
|
2248
|
+
- `Listening:` (what’s actually bound on the port)
|
|
2249
|
+
- `Last gateway error:` (common root cause when the process is alive but the port isn’t listening)
|
|
2250
|
+
|
|
2251
|
+
### Why does clawdbot gateway status show Config cli and Config service different
|
|
2252
|
+
|
|
2253
|
+
You’re editing one config file while the service is running another (often a `--profile` / `CLAWDBOT_STATE_DIR` mismatch).
|
|
2254
|
+
|
|
2255
|
+
Fix:
|
|
2256
|
+
```bash
|
|
2257
|
+
clawdbot gateway install --force
|
|
2258
|
+
```
|
|
2259
|
+
Run that from the same `--profile` / environment you want the service to use.
|
|
2260
|
+
|
|
2261
|
+
### What does another gateway instance is already listening mean
|
|
2262
|
+
|
|
2263
|
+
Clawdbot enforces a runtime lock by binding the WebSocket listener immediately on startup (default `ws://127.0.0.1:18789`). If the bind fails with `EADDRINUSE`, it throws `GatewayLockError` indicating another instance is already listening.
|
|
2264
|
+
|
|
2265
|
+
Fix: stop the other instance, free the port, or run with `clawdbot gateway --port <port>`.
|
|
2266
|
+
|
|
2267
|
+
### How do I run Clawdbot in remote mode client connects to a Gateway elsewhere
|
|
2268
|
+
|
|
2269
|
+
Set `gateway.mode: "remote"` and point to a remote WebSocket URL, optionally with a token/password:
|
|
2270
|
+
|
|
2271
|
+
```json5
|
|
2272
|
+
{
|
|
2273
|
+
gateway: {
|
|
2274
|
+
mode: "remote",
|
|
2275
|
+
remote: {
|
|
2276
|
+
url: "ws://gateway.tailnet:18789",
|
|
2277
|
+
token: "your-token",
|
|
2278
|
+
password: "your-password"
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
```
|
|
2283
|
+
|
|
2284
|
+
Notes:
|
|
2285
|
+
- `clawdbot gateway` only starts when `gateway.mode` is `local` (or you pass the override flag).
|
|
2286
|
+
- The macOS app watches the config file and switches modes live when these values change.
|
|
2287
|
+
|
|
2288
|
+
### The Control UI says unauthorized or keeps reconnecting What now
|
|
2289
|
+
|
|
2290
|
+
Your gateway is running with auth enabled (`gateway.auth.*`), but the UI is not sending the matching token/password.
|
|
2291
|
+
|
|
2292
|
+
Facts (from code):
|
|
2293
|
+
- The Control UI stores the token in browser localStorage key `clawdbot.control.settings.v1`.
|
|
2294
|
+
- The UI can import `?token=...` (and/or `?password=...`) once, then strips it from the URL.
|
|
2295
|
+
|
|
2296
|
+
Fix:
|
|
2297
|
+
- Fastest: `clawdbot dashboard` (prints + copies tokenized link, tries to open; shows SSH hint if headless).
|
|
2298
|
+
- If you don’t have a token yet: `clawdbot doctor --generate-gateway-token`.
|
|
2299
|
+
- If remote, tunnel first: `ssh -N -L 18789:127.0.0.1:18789 user@host` then open `http://127.0.0.1:18789/?token=...`.
|
|
2300
|
+
- Set `gateway.auth.token` (or `CLAWDBOT_GATEWAY_TOKEN`) on the gateway host.
|
|
2301
|
+
- In the Control UI settings, paste the same token (or refresh with a one-time `?token=...` link).
|
|
2302
|
+
- Still stuck? Run `clawdbot status --all` and follow [Troubleshooting](/gateway/troubleshooting). See [Dashboard](/web/dashboard) for auth details.
|
|
2303
|
+
|
|
2304
|
+
### I set gatewaybind tailnet but it cant bind nothing listens
|
|
2305
|
+
|
|
2306
|
+
`tailnet` bind picks a Tailscale IP from your network interfaces (100.64.0.0/10). If the machine isn’t on Tailscale (or the interface is down), there’s nothing to bind to.
|
|
2307
|
+
|
|
2308
|
+
Fix:
|
|
2309
|
+
- Start Tailscale on that host (so it has a 100.x address), or
|
|
2310
|
+
- Switch to `gateway.bind: "loopback"` / `"lan"`.
|
|
2311
|
+
|
|
2312
|
+
Note: `tailnet` is explicit. `auto` prefers loopback; use `gateway.bind: "tailnet"` when you want a tailnet-only bind.
|
|
2313
|
+
|
|
2314
|
+
### Can I run multiple Gateways on the same host
|
|
2315
|
+
|
|
2316
|
+
Usually no - one Gateway can run multiple messaging channels and agents. Use multiple Gateways only when you need redundancy (ex: rescue bot) or hard isolation.
|
|
2317
|
+
|
|
2318
|
+
Yes, but you must isolate:
|
|
2319
|
+
|
|
2320
|
+
- `CLAWDBOT_CONFIG_PATH` (per‑instance config)
|
|
2321
|
+
- `CLAWDBOT_STATE_DIR` (per‑instance state)
|
|
2322
|
+
- `agents.defaults.workspace` (workspace isolation)
|
|
2323
|
+
- `gateway.port` (unique ports)
|
|
2324
|
+
|
|
2325
|
+
Quick setup (recommended):
|
|
2326
|
+
- Use `clawdbot --profile <name> …` per instance (auto-creates `~/.clawdbot-<name>`).
|
|
2327
|
+
- Set a unique `gateway.port` in each profile config (or pass `--port` for manual runs).
|
|
2328
|
+
- Install a per-profile service: `clawdbot --profile <name> gateway install`.
|
|
2329
|
+
|
|
2330
|
+
Profiles also suffix service names (`com.clawdbot.<profile>`, `clawdbot-gateway-<profile>.service`, `Clawdbot Gateway (<profile>)`).
|
|
2331
|
+
Full guide: [Multiple gateways](/gateway/multiple-gateways).
|
|
2332
|
+
|
|
2333
|
+
### What does invalid handshake code 1008 mean
|
|
2334
|
+
|
|
2335
|
+
The Gateway is a **WebSocket server**, and it expects the very first message to
|
|
2336
|
+
be a `connect` frame. If it receives anything else, it closes the connection
|
|
2337
|
+
with **code 1008** (policy violation).
|
|
2338
|
+
|
|
2339
|
+
Common causes:
|
|
2340
|
+
- You opened the **HTTP** URL in a browser (`http://...`) instead of a WS client.
|
|
2341
|
+
- You used the wrong port or path.
|
|
2342
|
+
- A proxy or tunnel stripped auth headers or sent a non‑Gateway request.
|
|
2343
|
+
|
|
2344
|
+
Quick fixes:
|
|
2345
|
+
1) Use the WS URL: `ws://<host>:18789` (or `wss://...` if HTTPS).
|
|
2346
|
+
2) Don’t open the WS port in a normal browser tab.
|
|
2347
|
+
3) If auth is on, include the token/password in the `connect` frame.
|
|
2348
|
+
|
|
2349
|
+
If you’re using the CLI or TUI, the URL should look like:
|
|
2350
|
+
```
|
|
2351
|
+
clawdbot tui --url ws://<host>:18789 --token <token>
|
|
2352
|
+
```
|
|
2353
|
+
|
|
2354
|
+
Protocol details: [Gateway protocol](/gateway/protocol).
|
|
2355
|
+
|
|
2356
|
+
## Logging and debugging
|
|
2357
|
+
|
|
2358
|
+
### Where are logs
|
|
2359
|
+
|
|
2360
|
+
File logs (structured):
|
|
2361
|
+
|
|
2362
|
+
```
|
|
2363
|
+
/tmp/clawdbot/clawdbot-YYYY-MM-DD.log
|
|
2364
|
+
```
|
|
2365
|
+
|
|
2366
|
+
You can set a stable path via `logging.file`. File log level is controlled by `logging.level`. Console verbosity is controlled by `--verbose` and `logging.consoleLevel`.
|
|
2367
|
+
|
|
2368
|
+
Fastest log tail:
|
|
2369
|
+
|
|
2370
|
+
```bash
|
|
2371
|
+
clawdbot logs --follow
|
|
2372
|
+
```
|
|
2373
|
+
|
|
2374
|
+
Service/supervisor logs (when the gateway runs via launchd/systemd):
|
|
2375
|
+
- macOS: `$CLAWDBOT_STATE_DIR/logs/gateway.log` and `gateway.err.log` (default: `~/.clawdbot/logs/...`; profiles use `~/.clawdbot-<profile>/logs/...`)
|
|
2376
|
+
- Linux: `journalctl --user -u clawdbot-gateway[-<profile>].service -n 200 --no-pager`
|
|
2377
|
+
- Windows: `schtasks /Query /TN "Clawdbot Gateway (<profile>)" /V /FO LIST`
|
|
2378
|
+
|
|
2379
|
+
See [Troubleshooting](/gateway/troubleshooting#log-locations) for more.
|
|
2380
|
+
|
|
2381
|
+
### How do I startstoprestart the Gateway service
|
|
2382
|
+
|
|
2383
|
+
Use the gateway helpers:
|
|
2384
|
+
|
|
2385
|
+
```bash
|
|
2386
|
+
clawdbot gateway status
|
|
2387
|
+
clawdbot gateway restart
|
|
2388
|
+
```
|
|
2389
|
+
|
|
2390
|
+
If you run the gateway manually, `clawdbot gateway --force` can reclaim the port. See [Gateway](/gateway).
|
|
2391
|
+
|
|
2392
|
+
### I closed my terminal on Windows how do I restart Clawdbot
|
|
2393
|
+
|
|
2394
|
+
There are **two Windows install modes**:
|
|
2395
|
+
|
|
2396
|
+
**1) WSL2 (recommended):** the Gateway runs inside Linux.
|
|
2397
|
+
|
|
2398
|
+
Open PowerShell, enter WSL, then restart:
|
|
2399
|
+
|
|
2400
|
+
```powershell
|
|
2401
|
+
wsl
|
|
2402
|
+
clawdbot gateway status
|
|
2403
|
+
clawdbot gateway restart
|
|
2404
|
+
```
|
|
2405
|
+
|
|
2406
|
+
If you never installed the service, start it in the foreground:
|
|
2407
|
+
|
|
2408
|
+
```bash
|
|
2409
|
+
clawdbot gateway run
|
|
2410
|
+
```
|
|
2411
|
+
|
|
2412
|
+
**2) Native Windows (not recommended):** the Gateway runs directly in Windows.
|
|
2413
|
+
|
|
2414
|
+
Open PowerShell and run:
|
|
2415
|
+
|
|
2416
|
+
```powershell
|
|
2417
|
+
clawdbot gateway status
|
|
2418
|
+
clawdbot gateway restart
|
|
2419
|
+
```
|
|
2420
|
+
|
|
2421
|
+
If you run it manually (no service), use:
|
|
2422
|
+
|
|
2423
|
+
```powershell
|
|
2424
|
+
clawdbot gateway run
|
|
2425
|
+
```
|
|
2426
|
+
|
|
2427
|
+
Docs: [Windows (WSL2)](/platforms/windows), [Gateway service runbook](/gateway).
|
|
2428
|
+
|
|
2429
|
+
### The Gateway is up but replies never arrive What should I check
|
|
2430
|
+
|
|
2431
|
+
Start with a quick health sweep:
|
|
2432
|
+
|
|
2433
|
+
```bash
|
|
2434
|
+
clawdbot status
|
|
2435
|
+
clawdbot models status
|
|
2436
|
+
clawdbot channels status
|
|
2437
|
+
clawdbot logs --follow
|
|
2438
|
+
```
|
|
2439
|
+
|
|
2440
|
+
Common causes:
|
|
2441
|
+
- Model auth not loaded on the **gateway host** (check `models status`).
|
|
2442
|
+
- Channel pairing/allowlist blocking replies (check channel config + logs).
|
|
2443
|
+
- WebChat/Dashboard is open without the right token.
|
|
2444
|
+
|
|
2445
|
+
If you are remote, confirm the tunnel/Tailscale connection is up and that the
|
|
2446
|
+
Gateway WebSocket is reachable.
|
|
2447
|
+
|
|
2448
|
+
Docs: [Channels](/channels), [Troubleshooting](/gateway/troubleshooting), [Remote access](/gateway/remote).
|
|
2449
|
+
|
|
2450
|
+
### Disconnected from gateway no reason what now
|
|
2451
|
+
|
|
2452
|
+
This usually means the UI lost the WebSocket connection. Check:
|
|
2453
|
+
|
|
2454
|
+
1) Is the Gateway running? `clawdbot gateway status`
|
|
2455
|
+
2) Is the Gateway healthy? `clawdbot status`
|
|
2456
|
+
3) Does the UI have the right token? `clawdbot dashboard`
|
|
2457
|
+
4) If remote, is the tunnel/Tailscale link up?
|
|
2458
|
+
|
|
2459
|
+
Then tail logs:
|
|
2460
|
+
|
|
2461
|
+
```bash
|
|
2462
|
+
clawdbot logs --follow
|
|
2463
|
+
```
|
|
2464
|
+
|
|
2465
|
+
Docs: [Dashboard](/web/dashboard), [Remote access](/gateway/remote), [Troubleshooting](/gateway/troubleshooting).
|
|
2466
|
+
|
|
2467
|
+
### Telegram setMyCommands fails with network errors What should I check
|
|
2468
|
+
|
|
2469
|
+
Start with logs and channel status:
|
|
2470
|
+
|
|
2471
|
+
```bash
|
|
2472
|
+
clawdbot channels status
|
|
2473
|
+
clawdbot channels logs --channel telegram
|
|
2474
|
+
```
|
|
2475
|
+
|
|
2476
|
+
If you are on a VPS or behind a proxy, confirm outbound HTTPS is allowed and DNS works.
|
|
2477
|
+
If the Gateway is remote, make sure you are looking at logs on the Gateway host.
|
|
2478
|
+
|
|
2479
|
+
Docs: [Telegram](/channels/telegram), [Channel troubleshooting](/channels/troubleshooting).
|
|
2480
|
+
|
|
2481
|
+
### TUI shows no output What should I check
|
|
2482
|
+
|
|
2483
|
+
First confirm the Gateway is reachable and the agent can run:
|
|
2484
|
+
|
|
2485
|
+
```bash
|
|
2486
|
+
clawdbot status
|
|
2487
|
+
clawdbot models status
|
|
2488
|
+
clawdbot logs --follow
|
|
2489
|
+
```
|
|
2490
|
+
|
|
2491
|
+
In the TUI, use `/status` to see the current state. If you expect replies in a chat
|
|
2492
|
+
channel, make sure delivery is enabled (`/deliver on`).
|
|
2493
|
+
|
|
2494
|
+
Docs: [TUI](/tui), [Slash commands](/tools/slash-commands).
|
|
2495
|
+
|
|
2496
|
+
### How do I completely stop then start the Gateway
|
|
2497
|
+
|
|
2498
|
+
If you installed the service:
|
|
2499
|
+
|
|
2500
|
+
```bash
|
|
2501
|
+
clawdbot gateway stop
|
|
2502
|
+
clawdbot gateway start
|
|
2503
|
+
```
|
|
2504
|
+
|
|
2505
|
+
This stops/starts the **supervised service** (launchd on macOS, systemd on Linux).
|
|
2506
|
+
Use this when the Gateway runs in the background as a daemon.
|
|
2507
|
+
|
|
2508
|
+
If you’re running in the foreground, stop with Ctrl‑C, then:
|
|
2509
|
+
|
|
2510
|
+
```bash
|
|
2511
|
+
clawdbot gateway run
|
|
2512
|
+
```
|
|
2513
|
+
|
|
2514
|
+
Docs: [Gateway service runbook](/gateway).
|
|
2515
|
+
|
|
2516
|
+
### ELI5 clawdbot gateway restart vs clawdbot gateway
|
|
2517
|
+
|
|
2518
|
+
- `clawdbot gateway restart`: restarts the **background service** (launchd/systemd).
|
|
2519
|
+
- `clawdbot gateway`: runs the gateway **in the foreground** for this terminal session.
|
|
2520
|
+
|
|
2521
|
+
If you installed the service, use the gateway commands. Use `clawdbot gateway` when
|
|
2522
|
+
you want a one-off, foreground run.
|
|
2523
|
+
|
|
2524
|
+
### Whats the fastest way to get more details when something fails
|
|
2525
|
+
|
|
2526
|
+
Start the Gateway with `--verbose` to get more console detail. Then inspect the log file for channel auth, model routing, and RPC errors.
|
|
2527
|
+
|
|
2528
|
+
## Media & attachments
|
|
2529
|
+
|
|
2530
|
+
### My skill generated an imagePDF but nothing was sent
|
|
2531
|
+
|
|
2532
|
+
Outbound attachments from the agent must include a `MEDIA:<path-or-url>` line (on its own line). See [Clawdbot assistant setup](/start/clawd) and [Agent send](/tools/agent-send).
|
|
2533
|
+
|
|
2534
|
+
CLI sending:
|
|
2535
|
+
|
|
2536
|
+
```bash
|
|
2537
|
+
clawdbot message send --target +15555550123 --message "Here you go" --media /path/to/file.png
|
|
2538
|
+
```
|
|
2539
|
+
|
|
2540
|
+
Also check:
|
|
2541
|
+
- The target channel supports outbound media and isn’t blocked by allowlists.
|
|
2542
|
+
- The file is within the provider’s size limits (images are resized to max 2048px).
|
|
2543
|
+
|
|
2544
|
+
See [Images](/nodes/images).
|
|
2545
|
+
|
|
2546
|
+
## Security and access control
|
|
2547
|
+
|
|
2548
|
+
### Is it safe to expose Clawdbot to inbound DMs
|
|
2549
|
+
|
|
2550
|
+
Treat inbound DMs as untrusted input. Defaults are designed to reduce risk:
|
|
2551
|
+
|
|
2552
|
+
- Default behavior on DM‑capable channels is **pairing**:
|
|
2553
|
+
- Unknown senders receive a pairing code; the bot does not process their message.
|
|
2554
|
+
- Approve with: `clawdbot pairing approve <channel> <code>`
|
|
2555
|
+
- Pending requests are capped at **3 per channel**; check `clawdbot pairing list <channel>` if a code didn’t arrive.
|
|
2556
|
+
- Opening DMs publicly requires explicit opt‑in (`dmPolicy: "open"` and allowlist `"*"`).
|
|
2557
|
+
|
|
2558
|
+
Run `clawdbot doctor` to surface risky DM policies.
|
|
2559
|
+
|
|
2560
|
+
### Is prompt injection only a concern for public bots
|
|
2561
|
+
|
|
2562
|
+
No. Prompt injection is about **untrusted content**, not just who can DM the bot.
|
|
2563
|
+
If your assistant reads external content (web search/fetch, browser pages, emails,
|
|
2564
|
+
docs, attachments, pasted logs), that content can include instructions that try
|
|
2565
|
+
to hijack the model. This can happen even if **you are the only sender**.
|
|
2566
|
+
|
|
2567
|
+
The biggest risk is when tools are enabled: the model can be tricked into
|
|
2568
|
+
exfiltrating context or calling tools on your behalf. Reduce the blast radius by:
|
|
2569
|
+
- using a read-only or tool-disabled "reader" agent to summarize untrusted content
|
|
2570
|
+
- keeping `web_search` / `web_fetch` / `browser` off for tool-enabled agents
|
|
2571
|
+
- sandboxing and strict tool allowlists
|
|
2572
|
+
|
|
2573
|
+
Details: [Security](/gateway/security).
|
|
2574
|
+
|
|
2575
|
+
### Should my bot have its own email GitHub account or phone number
|
|
2576
|
+
|
|
2577
|
+
Yes, for most setups. Isolating the bot with separate accounts and phone numbers
|
|
2578
|
+
reduces the blast radius if something goes wrong. This also makes it easier to rotate
|
|
2579
|
+
credentials or revoke access without impacting your personal accounts.
|
|
2580
|
+
|
|
2581
|
+
Start small. Give access only to the tools and accounts you actually need, and expand
|
|
2582
|
+
later if required.
|
|
2583
|
+
|
|
2584
|
+
Docs: [Security](/gateway/security), [Pairing](/start/pairing).
|
|
2585
|
+
|
|
2586
|
+
### Can I give it autonomy over my text messages and is that safe
|
|
2587
|
+
|
|
2588
|
+
We do **not** recommend full autonomy over your personal messages. The safest pattern is:
|
|
2589
|
+
- Keep DMs in **pairing mode** or a tight allowlist.
|
|
2590
|
+
- Use a **separate number or account** if you want it to message on your behalf.
|
|
2591
|
+
- Let it draft, then **approve before sending**.
|
|
2592
|
+
|
|
2593
|
+
If you want to experiment, do it on a dedicated account and keep it isolated. See
|
|
2594
|
+
[Security](/gateway/security).
|
|
2595
|
+
|
|
2596
|
+
### Can I use cheaper models for personal assistant tasks
|
|
2597
|
+
|
|
2598
|
+
Yes, **if** the agent is chat-only and the input is trusted. Smaller tiers are
|
|
2599
|
+
more susceptible to instruction hijacking, so avoid them for tool-enabled agents
|
|
2600
|
+
or when reading untrusted content. If you must use a smaller model, lock down
|
|
2601
|
+
tools and run inside a sandbox. See [Security](/gateway/security).
|
|
2602
|
+
|
|
2603
|
+
### I ran start in Telegram but didnt get a pairing code
|
|
2604
|
+
|
|
2605
|
+
Pairing codes are sent **only** when an unknown sender messages the bot and
|
|
2606
|
+
`dmPolicy: "pairing"` is enabled. `/start` by itself doesn’t generate a code.
|
|
2607
|
+
|
|
2608
|
+
Check pending requests:
|
|
2609
|
+
```bash
|
|
2610
|
+
clawdbot pairing list telegram
|
|
2611
|
+
```
|
|
2612
|
+
|
|
2613
|
+
If you want immediate access, allowlist your sender id or set `dmPolicy: "open"`
|
|
2614
|
+
for that account.
|
|
2615
|
+
|
|
2616
|
+
### WhatsApp will it message my contacts How does pairing work
|
|
2617
|
+
|
|
2618
|
+
No. Default WhatsApp DM policy is **pairing**. Unknown senders only get a pairing code and their message is **not processed**. Clawdbot only replies to chats it receives or to explicit sends you trigger.
|
|
2619
|
+
|
|
2620
|
+
Approve pairing with:
|
|
2621
|
+
|
|
2622
|
+
```bash
|
|
2623
|
+
clawdbot pairing approve whatsapp <code>
|
|
2624
|
+
```
|
|
2625
|
+
|
|
2626
|
+
List pending requests:
|
|
2627
|
+
|
|
2628
|
+
```bash
|
|
2629
|
+
clawdbot pairing list whatsapp
|
|
2630
|
+
```
|
|
2631
|
+
|
|
2632
|
+
Wizard phone number prompt: it’s used to set your **allowlist/owner** so your own DMs are permitted. It’s not used for auto-sending. If you run on your personal WhatsApp number, use that number and enable `channels.whatsapp.selfChatMode`.
|
|
2633
|
+
|
|
2634
|
+
## Chat commands, aborting tasks, and “it won’t stop”
|
|
2635
|
+
|
|
2636
|
+
### How do I stop internal system messages from showing in chat
|
|
2637
|
+
|
|
2638
|
+
Most internal or tool messages only appear when **verbose** or **reasoning** is enabled
|
|
2639
|
+
for that session.
|
|
2640
|
+
|
|
2641
|
+
Fix in the chat where you see it:
|
|
2642
|
+
```
|
|
2643
|
+
/verbose off
|
|
2644
|
+
/reasoning off
|
|
2645
|
+
```
|
|
2646
|
+
|
|
2647
|
+
If it is still noisy, check the session settings in the Control UI and set verbose
|
|
2648
|
+
to **inherit**. Also confirm you are not using a bot profile with `verboseDefault` set
|
|
2649
|
+
to `on` in config.
|
|
2650
|
+
|
|
2651
|
+
Docs: [Thinking and verbose](/tools/thinking), [Security](/gateway/security#reasoning--verbose-output-in-groups).
|
|
2652
|
+
|
|
2653
|
+
### How do I stopcancel a running task
|
|
2654
|
+
|
|
2655
|
+
Send any of these **as a standalone message** (no slash):
|
|
2656
|
+
|
|
2657
|
+
```
|
|
2658
|
+
stop
|
|
2659
|
+
abort
|
|
2660
|
+
esc
|
|
2661
|
+
wait
|
|
2662
|
+
exit
|
|
2663
|
+
interrupt
|
|
2664
|
+
```
|
|
2665
|
+
|
|
2666
|
+
These are abort triggers (not slash commands).
|
|
2667
|
+
|
|
2668
|
+
For background processes (from the exec tool), you can ask the agent to run:
|
|
2669
|
+
|
|
2670
|
+
```
|
|
2671
|
+
process action:kill sessionId:XXX
|
|
2672
|
+
```
|
|
2673
|
+
|
|
2674
|
+
Slash commands overview: see [Slash commands](/tools/slash-commands).
|
|
2675
|
+
|
|
2676
|
+
Most commands must be sent as a **standalone** message that starts with `/`, but a few shortcuts (like `/status`) also work inline for allowlisted senders.
|
|
2677
|
+
|
|
2678
|
+
### How do I send a Discord message from Telegram Crosscontext messaging denied
|
|
2679
|
+
|
|
2680
|
+
Clawdbot blocks **cross‑provider** messaging by default. If a tool call is bound
|
|
2681
|
+
to Telegram, it won’t send to Discord unless you explicitly allow it.
|
|
2682
|
+
|
|
2683
|
+
Enable cross‑provider messaging for the agent:
|
|
2684
|
+
|
|
2685
|
+
```json5
|
|
2686
|
+
{
|
|
2687
|
+
agents: {
|
|
2688
|
+
defaults: {
|
|
2689
|
+
tools: {
|
|
2690
|
+
message: {
|
|
2691
|
+
crossContext: {
|
|
2692
|
+
allowAcrossProviders: true,
|
|
2693
|
+
marker: { enabled: true, prefix: "[from {channel}] " }
|
|
2694
|
+
}
|
|
2695
|
+
}
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
```
|
|
2701
|
+
|
|
2702
|
+
Restart the gateway after editing config. If you only want this for a single
|
|
2703
|
+
agent, set it under `agents.list[].tools.message` instead.
|
|
2704
|
+
|
|
2705
|
+
### Why does it feel like the bot ignores rapidfire messages
|
|
2706
|
+
|
|
2707
|
+
Queue mode controls how new messages interact with an in‑flight run. Use `/queue` to change modes:
|
|
2708
|
+
|
|
2709
|
+
- `steer` - new messages redirect the current task
|
|
2710
|
+
- `followup` - run messages one at a time
|
|
2711
|
+
- `collect` - batch messages and reply once (default)
|
|
2712
|
+
- `steer-backlog` - steer now, then process backlog
|
|
2713
|
+
- `interrupt` - abort current run and start fresh
|
|
2714
|
+
|
|
2715
|
+
You can add options like `debounce:2s cap:25 drop:summarize` for followup modes.
|
|
2716
|
+
|
|
2717
|
+
## Answer the exact question from the screenshot/chat log
|
|
2718
|
+
|
|
2719
|
+
**Q: “What’s the default model for Anthropic with an API key?”**
|
|
2720
|
+
|
|
2721
|
+
**A:** In Clawdbot, credentials and model selection are separate. Setting `ANTHROPIC_API_KEY` (or storing an Anthropic API key in auth profiles) enables authentication, but the actual default model is whatever you configure in `agents.defaults.model.primary` (for example, `anthropic/claude-sonnet-4-5` or `anthropic/claude-opus-4-5`). If you see `No credentials found for profile "anthropic:default"`, it means the Gateway couldn’t find Anthropic credentials in the expected `auth-profiles.json` for the agent that’s running.
|
|
2722
|
+
|
|
2723
|
+
---
|
|
2724
|
+
|
|
2725
|
+
Still stuck? Ask in [Discord](https://discord.com/invite/clawd) or open a [GitHub discussion](https://github.com/clawdbot/clawdbot/discussions).
|