durar-ai 2026.4.4
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 +5497 -0
- package/LICENSE +21 -0
- package/README.md +614 -0
- package/assets/avatar-placeholder.svg +19 -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/dmg-background-small.png +0 -0
- package/assets/dmg-background.png +0 -0
- package/docs/.i18n/README.md +72 -0
- package/docs/.i18n/ar-navigation.json +18 -0
- package/docs/.i18n/de-navigation.json +18 -0
- package/docs/.i18n/es-navigation.json +18 -0
- package/docs/.i18n/fr-navigation.json +18 -0
- package/docs/.i18n/glossary.ar.json +5 -0
- package/docs/.i18n/glossary.de.json +5 -0
- package/docs/.i18n/glossary.es.json +5 -0
- package/docs/.i18n/glossary.fr.json +5 -0
- package/docs/.i18n/glossary.id.json +5 -0
- package/docs/.i18n/glossary.it.json +5 -0
- package/docs/.i18n/glossary.ja-JP.json +14 -0
- package/docs/.i18n/glossary.ko.json +5 -0
- package/docs/.i18n/glossary.pl.json +5 -0
- package/docs/.i18n/glossary.pt-BR.json +5 -0
- package/docs/.i18n/glossary.tr.json +5 -0
- package/docs/.i18n/glossary.zh-CN.json +358 -0
- package/docs/.i18n/id-navigation.json +18 -0
- package/docs/.i18n/it-navigation.json +18 -0
- package/docs/.i18n/ja-navigation.json +18 -0
- package/docs/.i18n/ko-navigation.json +18 -0
- package/docs/.i18n/pl-navigation.json +18 -0
- package/docs/.i18n/pt-BR-navigation.json +18 -0
- package/docs/.i18n/tr-navigation.json +18 -0
- package/docs/.i18n/zh-Hans-navigation.json +544 -0
- package/docs/assets/install-script.svg +1 -0
- package/docs/assets/macos-onboarding/01-macos-warning.jpeg +0 -0
- package/docs/assets/macos-onboarding/02-local-networks.jpeg +0 -0
- package/docs/assets/macos-onboarding/03-security-notice.png +0 -0
- package/docs/assets/macos-onboarding/04-choose-gateway.png +0 -0
- package/docs/assets/macos-onboarding/05-permissions.png +0 -0
- package/docs/assets/openclaw-logo-text-dark.png +0 -0
- package/docs/assets/openclaw-logo-text-dark.svg +418 -0
- package/docs/assets/openclaw-logo-text.png +0 -0
- package/docs/assets/openclaw-logo-text.svg +418 -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/sponsors/blacksmith-light.svg +14 -0
- package/docs/assets/sponsors/blacksmith.svg +14 -0
- package/docs/assets/sponsors/convex-light.svg +16 -0
- package/docs/assets/sponsors/convex.svg +16 -0
- package/docs/assets/sponsors/github-light.svg +3 -0
- package/docs/assets/sponsors/github.svg +3 -0
- package/docs/assets/sponsors/nvidia-dark.svg +9 -0
- package/docs/assets/sponsors/nvidia.svg +9 -0
- package/docs/assets/sponsors/openai-light.svg +3 -0
- package/docs/assets/sponsors/openai.svg +3 -0
- package/docs/assets/sponsors/vercel-light.svg +5 -0
- package/docs/assets/sponsors/vercel.svg +5 -0
- package/docs/auth-credential-semantics.md +80 -0
- package/docs/automation/auth-monitoring.md +8 -0
- package/docs/automation/clawflow.md +8 -0
- package/docs/automation/cron-jobs.md +410 -0
- package/docs/automation/cron-vs-heartbeat.md +8 -0
- package/docs/automation/gmail-pubsub.md +8 -0
- package/docs/automation/hooks.md +303 -0
- package/docs/automation/index.md +115 -0
- package/docs/automation/poll.md +8 -0
- package/docs/automation/standing-orders.md +254 -0
- package/docs/automation/taskflow.md +82 -0
- package/docs/automation/tasks.md +323 -0
- package/docs/automation/troubleshooting.md +8 -0
- package/docs/automation/webhook.md +8 -0
- package/docs/brave-search.md +103 -0
- package/docs/channels/bluebubbles.md +435 -0
- package/docs/channels/broadcast-groups.md +442 -0
- package/docs/channels/channel-routing.md +139 -0
- package/docs/channels/discord.md +1254 -0
- package/docs/channels/feishu.md +793 -0
- package/docs/channels/googlechat.md +270 -0
- package/docs/channels/group-messages.md +84 -0
- package/docs/channels/groups.md +410 -0
- package/docs/channels/imessage.md +427 -0
- package/docs/channels/index.md +50 -0
- package/docs/channels/irc.md +252 -0
- package/docs/channels/line.md +225 -0
- package/docs/channels/location.md +56 -0
- package/docs/channels/matrix.md +869 -0
- package/docs/channels/mattermost.md +472 -0
- package/docs/channels/msteams.md +805 -0
- package/docs/channels/nextcloud-talk.md +149 -0
- package/docs/channels/nostr.md +252 -0
- package/docs/channels/pairing.md +129 -0
- package/docs/channels/qqbot.md +193 -0
- package/docs/channels/signal.md +337 -0
- package/docs/channels/slack.md +681 -0
- package/docs/channels/synology-chat.md +185 -0
- package/docs/channels/telegram.md +1072 -0
- package/docs/channels/tlon.md +290 -0
- package/docs/channels/troubleshooting.md +133 -0
- package/docs/channels/twitch.md +394 -0
- package/docs/channels/whatsapp.md +488 -0
- package/docs/channels/zalo.md +254 -0
- package/docs/channels/zalouser.md +195 -0
- package/docs/ci.md +66 -0
- package/docs/cli/acp.md +316 -0
- package/docs/cli/agent.md +57 -0
- package/docs/cli/agents.md +220 -0
- package/docs/cli/approvals.md +136 -0
- package/docs/cli/backup.md +84 -0
- package/docs/cli/browser.md +233 -0
- package/docs/cli/channels.md +131 -0
- package/docs/cli/clawbot.md +21 -0
- package/docs/cli/completion.md +35 -0
- package/docs/cli/config.md +353 -0
- package/docs/cli/configure.md +70 -0
- package/docs/cli/cron.md +167 -0
- package/docs/cli/daemon.md +57 -0
- package/docs/cli/dashboard.md +22 -0
- package/docs/cli/devices.md +171 -0
- package/docs/cli/directory.md +63 -0
- package/docs/cli/dns.md +48 -0
- package/docs/cli/docs.md +28 -0
- package/docs/cli/doctor.md +63 -0
- package/docs/cli/flows.md +18 -0
- package/docs/cli/gateway.md +307 -0
- package/docs/cli/health.md +36 -0
- package/docs/cli/hooks.md +337 -0
- package/docs/cli/index.md +1836 -0
- package/docs/cli/logs.md +59 -0
- package/docs/cli/mcp.md +505 -0
- package/docs/cli/memory.md +139 -0
- package/docs/cli/message.md +300 -0
- package/docs/cli/models.md +136 -0
- package/docs/cli/node.md +137 -0
- package/docs/cli/nodes.md +66 -0
- package/docs/cli/onboard.md +171 -0
- package/docs/cli/pairing.md +65 -0
- package/docs/cli/plugins.md +305 -0
- package/docs/cli/qr.md +52 -0
- package/docs/cli/reset.md +35 -0
- package/docs/cli/sandbox.md +197 -0
- package/docs/cli/secrets.md +197 -0
- package/docs/cli/security.md +86 -0
- package/docs/cli/sessions.md +113 -0
- package/docs/cli/setup.md +45 -0
- package/docs/cli/skills.md +59 -0
- package/docs/cli/status.md +35 -0
- package/docs/cli/system.md +71 -0
- package/docs/cli/tui.md +30 -0
- package/docs/cli/uninstall.md +39 -0
- package/docs/cli/update.md +113 -0
- package/docs/cli/voicecall.md +34 -0
- package/docs/cli/webhooks.md +91 -0
- package/docs/concepts/agent-loop.md +168 -0
- package/docs/concepts/agent-workspace.md +246 -0
- package/docs/concepts/agent.md +129 -0
- package/docs/concepts/architecture.md +156 -0
- package/docs/concepts/compaction.md +122 -0
- package/docs/concepts/context-engine.md +274 -0
- package/docs/concepts/context.md +179 -0
- package/docs/concepts/delegate-architecture.md +307 -0
- package/docs/concepts/dreaming.md +173 -0
- package/docs/concepts/features.md +76 -0
- package/docs/concepts/markdown-formatting.md +130 -0
- package/docs/concepts/memory-builtin.md +105 -0
- package/docs/concepts/memory-honcho.md +140 -0
- package/docs/concepts/memory-qmd.md +163 -0
- package/docs/concepts/memory-search.md +141 -0
- package/docs/concepts/memory.md +121 -0
- package/docs/concepts/messages.md +161 -0
- package/docs/concepts/model-failover.md +349 -0
- package/docs/concepts/model-providers.md +799 -0
- package/docs/concepts/models.md +255 -0
- package/docs/concepts/multi-agent.md +615 -0
- package/docs/concepts/oauth.md +225 -0
- package/docs/concepts/presence.md +102 -0
- package/docs/concepts/queue.md +89 -0
- package/docs/concepts/retry.md +69 -0
- package/docs/concepts/session-pruning.md +92 -0
- package/docs/concepts/session-tool.md +141 -0
- package/docs/concepts/session.md +116 -0
- package/docs/concepts/soul.md +110 -0
- package/docs/concepts/streaming.md +161 -0
- package/docs/concepts/system-prompt.md +182 -0
- package/docs/concepts/timezone.md +97 -0
- package/docs/concepts/typebox.md +307 -0
- package/docs/concepts/typing-indicators.md +69 -0
- package/docs/concepts/usage-tracking.md +59 -0
- package/docs/date-time.md +128 -0
- package/docs/debug/node-issue.md +85 -0
- package/docs/diagnostics/flags.md +91 -0
- package/docs/docs.json +1601 -0
- package/docs/gateway/authentication.md +218 -0
- package/docs/gateway/background-process.md +131 -0
- package/docs/gateway/bonjour.md +179 -0
- package/docs/gateway/bridge-protocol.md +89 -0
- package/docs/gateway/cli-backends.md +310 -0
- package/docs/gateway/configuration-examples.md +631 -0
- package/docs/gateway/configuration-reference.md +3618 -0
- package/docs/gateway/configuration.md +698 -0
- package/docs/gateway/discovery.md +141 -0
- package/docs/gateway/doctor.md +494 -0
- package/docs/gateway/gateway-lock.md +37 -0
- package/docs/gateway/health.md +61 -0
- package/docs/gateway/heartbeat.md +443 -0
- package/docs/gateway/index.md +367 -0
- package/docs/gateway/local-models.md +163 -0
- package/docs/gateway/logging.md +113 -0
- package/docs/gateway/multiple-gateways.md +120 -0
- package/docs/gateway/network-model.md +25 -0
- package/docs/gateway/openai-http-api.md +280 -0
- package/docs/gateway/openresponses-http-api.md +340 -0
- package/docs/gateway/openshell.md +307 -0
- package/docs/gateway/pairing.md +138 -0
- package/docs/gateway/protocol.md +588 -0
- package/docs/gateway/remote-gateway-readme.md +164 -0
- package/docs/gateway/remote.md +251 -0
- package/docs/gateway/sandbox-vs-tool-policy-vs-elevated.md +141 -0
- package/docs/gateway/sandboxing.md +473 -0
- package/docs/gateway/secrets-plan-contract.md +116 -0
- package/docs/gateway/secrets.md +541 -0
- package/docs/gateway/security/index.md +1362 -0
- package/docs/gateway/tailscale.md +136 -0
- package/docs/gateway/tools-invoke-http-api.md +161 -0
- package/docs/gateway/troubleshooting.md +451 -0
- package/docs/gateway/trusted-proxy-auth.md +399 -0
- package/docs/help/debugging.md +168 -0
- package/docs/help/environment.md +165 -0
- package/docs/help/faq.md +3244 -0
- package/docs/help/index.md +28 -0
- package/docs/help/scripts.md +27 -0
- package/docs/help/testing.md +640 -0
- package/docs/help/troubleshooting.md +372 -0
- package/docs/images/configure-model-picker-unsearchable.png +0 -0
- package/docs/images/feishu-step2-create-app.png +0 -0
- package/docs/images/feishu-step3-credentials.png +0 -0
- package/docs/images/feishu-step4-permissions.png +0 -0
- package/docs/images/feishu-step5-bot-capability.png +0 -0
- package/docs/images/feishu-step6-event-subscription.png +0 -0
- package/docs/images/feishu-verification-token.png +0 -0
- package/docs/images/groups-flow.svg +52 -0
- package/docs/images/mobile-ui-screenshot.png +0 -0
- package/docs/index.md +196 -0
- package/docs/install/ansible.md +230 -0
- package/docs/install/azure.md +311 -0
- package/docs/install/bun.md +55 -0
- package/docs/install/clawdock.md +106 -0
- package/docs/install/development-channels.md +131 -0
- package/docs/install/digitalocean.md +129 -0
- package/docs/install/docker-vm-runtime.md +142 -0
- package/docs/install/docker.md +412 -0
- package/docs/install/exe-dev.md +133 -0
- package/docs/install/fly.md +504 -0
- package/docs/install/gcp.md +412 -0
- package/docs/install/hetzner.md +259 -0
- package/docs/install/index.md +212 -0
- package/docs/install/installer.md +443 -0
- package/docs/install/kubernetes.md +192 -0
- package/docs/install/macos-vm.md +281 -0
- package/docs/install/migrating-matrix.md +349 -0
- package/docs/install/migrating.md +112 -0
- package/docs/install/nix.md +89 -0
- package/docs/install/node.md +144 -0
- package/docs/install/northflank.mdx +42 -0
- package/docs/install/oracle.md +158 -0
- package/docs/install/podman.md +210 -0
- package/docs/install/railway.mdx +90 -0
- package/docs/install/raspberry-pi.md +159 -0
- package/docs/install/render.mdx +165 -0
- package/docs/install/uninstall.md +128 -0
- package/docs/install/updating.md +142 -0
- package/docs/logging.md +389 -0
- package/docs/nav-tabs-underline.js +100 -0
- package/docs/network.md +69 -0
- package/docs/nodes/audio.md +191 -0
- package/docs/nodes/camera.md +162 -0
- package/docs/nodes/images.md +73 -0
- package/docs/nodes/index.md +408 -0
- package/docs/nodes/location-command.md +98 -0
- package/docs/nodes/media-understanding.md +432 -0
- package/docs/nodes/talk.md +92 -0
- package/docs/nodes/troubleshooting.md +123 -0
- package/docs/nodes/voicewake.md +66 -0
- package/docs/perplexity.md +181 -0
- package/docs/pi-dev.md +80 -0
- package/docs/pi.md +570 -0
- package/docs/platforms/android.md +244 -0
- package/docs/platforms/digitalocean.md +266 -0
- package/docs/platforms/index.md +55 -0
- package/docs/platforms/ios.md +223 -0
- package/docs/platforms/linux.md +100 -0
- package/docs/platforms/mac/bundled-gateway.md +75 -0
- package/docs/platforms/mac/canvas.md +125 -0
- package/docs/platforms/mac/child-process.md +69 -0
- package/docs/platforms/mac/dev-setup.md +107 -0
- package/docs/platforms/mac/health.md +34 -0
- package/docs/platforms/mac/icon.md +31 -0
- package/docs/platforms/mac/logging.md +57 -0
- package/docs/platforms/mac/menu-bar.md +81 -0
- package/docs/platforms/mac/peekaboo.md +65 -0
- package/docs/platforms/mac/permissions.md +50 -0
- package/docs/platforms/mac/remote.md +84 -0
- package/docs/platforms/mac/signing.md +47 -0
- package/docs/platforms/mac/skills.md +40 -0
- package/docs/platforms/mac/voice-overlay.md +60 -0
- package/docs/platforms/mac/voicewake.md +67 -0
- package/docs/platforms/mac/webchat.md +51 -0
- package/docs/platforms/mac/xpc.md +61 -0
- package/docs/platforms/macos.md +229 -0
- package/docs/platforms/oracle.md +305 -0
- package/docs/platforms/raspberry-pi.md +420 -0
- package/docs/platforms/windows.md +241 -0
- package/docs/plugins/agent-tools.md +10 -0
- package/docs/plugins/architecture.md +1609 -0
- package/docs/plugins/building-extensions.md +10 -0
- package/docs/plugins/building-plugins.md +319 -0
- package/docs/plugins/bundles.md +292 -0
- package/docs/plugins/community.md +149 -0
- package/docs/plugins/manifest.md +412 -0
- package/docs/plugins/sdk-channel-plugins.md +508 -0
- package/docs/plugins/sdk-entrypoints.md +210 -0
- package/docs/plugins/sdk-migration.md +359 -0
- package/docs/plugins/sdk-overview.md +475 -0
- package/docs/plugins/sdk-provider-plugins.md +712 -0
- package/docs/plugins/sdk-runtime.md +381 -0
- package/docs/plugins/sdk-setup.md +516 -0
- package/docs/plugins/sdk-testing.md +263 -0
- package/docs/plugins/voice-call.md +466 -0
- package/docs/plugins/zalouser.md +78 -0
- package/docs/prose.md +134 -0
- package/docs/providers/anthropic.md +402 -0
- package/docs/providers/bedrock-mantle.md +91 -0
- package/docs/providers/bedrock.md +273 -0
- package/docs/providers/chutes.md +103 -0
- package/docs/providers/claude-max-api-proxy.md +163 -0
- package/docs/providers/cloudflare-ai-gateway.md +71 -0
- package/docs/providers/deepgram.md +93 -0
- package/docs/providers/deepseek.md +53 -0
- package/docs/providers/fireworks.md +69 -0
- package/docs/providers/github-copilot.md +80 -0
- package/docs/providers/glm.md +68 -0
- package/docs/providers/google.md +149 -0
- package/docs/providers/groq.md +105 -0
- package/docs/providers/huggingface.md +193 -0
- package/docs/providers/index.md +81 -0
- package/docs/providers/kilocode.md +89 -0
- package/docs/providers/litellm.md +159 -0
- package/docs/providers/minimax.md +281 -0
- package/docs/providers/mistral.md +68 -0
- package/docs/providers/models.md +56 -0
- package/docs/providers/moonshot.md +224 -0
- package/docs/providers/nvidia.md +58 -0
- package/docs/providers/ollama.md +379 -0
- package/docs/providers/openai.md +472 -0
- package/docs/providers/opencode-go.md +45 -0
- package/docs/providers/opencode.md +68 -0
- package/docs/providers/openrouter.md +59 -0
- package/docs/providers/perplexity-provider.md +62 -0
- package/docs/providers/qianfan.md +90 -0
- package/docs/providers/qwen.md +128 -0
- package/docs/providers/qwen_modelstudio.md +137 -0
- package/docs/providers/sglang.md +115 -0
- package/docs/providers/stepfun.md +152 -0
- package/docs/providers/synthetic.md +101 -0
- package/docs/providers/together.md +70 -0
- package/docs/providers/venice.md +282 -0
- package/docs/providers/vercel-ai-gateway.md +60 -0
- package/docs/providers/vllm.md +103 -0
- package/docs/providers/volcengine.md +94 -0
- package/docs/providers/xai.md +94 -0
- package/docs/providers/xiaomi.md +89 -0
- package/docs/providers/zai.md +75 -0
- package/docs/reference/AGENTS.default.md +126 -0
- package/docs/reference/RELEASING.md +138 -0
- package/docs/reference/api-usage-costs.md +198 -0
- package/docs/reference/credits.md +30 -0
- package/docs/reference/device-models.md +47 -0
- package/docs/reference/memory-config.md +421 -0
- package/docs/reference/prompt-caching.md +344 -0
- package/docs/reference/rpc.md +43 -0
- package/docs/reference/secretref-credential-surface.md +148 -0
- package/docs/reference/secretref-user-supplied-credentials-matrix.json +607 -0
- package/docs/reference/session-management-compaction.md +352 -0
- package/docs/reference/templates/AGENTS.dev.md +84 -0
- package/docs/reference/templates/AGENTS.md +219 -0
- package/docs/reference/templates/BOOT.md +12 -0
- package/docs/reference/templates/BOOTSTRAP.md +62 -0
- package/docs/reference/templates/CLAUDE.md +1 -0
- package/docs/reference/templates/HEARTBEAT.md +14 -0
- package/docs/reference/templates/IDENTITY.dev.md +48 -0
- package/docs/reference/templates/IDENTITY.md +30 -0
- package/docs/reference/templates/SOUL.dev.md +77 -0
- package/docs/reference/templates/SOUL.md +45 -0
- package/docs/reference/templates/TOOLS.dev.md +25 -0
- package/docs/reference/templates/TOOLS.md +47 -0
- package/docs/reference/templates/USER.dev.md +19 -0
- package/docs/reference/templates/USER.md +24 -0
- package/docs/reference/test.md +119 -0
- package/docs/reference/token-use.md +197 -0
- package/docs/reference/transcript-hygiene.md +151 -0
- package/docs/reference/wizard.md +245 -0
- package/docs/security/CONTRIBUTING-THREAT-MODEL.md +98 -0
- package/docs/security/THREAT-MODEL-ATLAS.md +608 -0
- package/docs/security/formal-verification.md +167 -0
- package/docs/snippets/plugin-publish/minimal-openclaw.plugin.json +9 -0
- package/docs/snippets/plugin-publish/minimal-package.json +16 -0
- package/docs/start/bootstrapping.md +41 -0
- package/docs/start/docs-directory.md +67 -0
- package/docs/start/getting-started.md +148 -0
- package/docs/start/hubs.md +199 -0
- package/docs/start/lore.md +219 -0
- package/docs/start/onboarding-overview.md +69 -0
- package/docs/start/onboarding.md +92 -0
- package/docs/start/openclaw.md +225 -0
- package/docs/start/quickstart.md +22 -0
- package/docs/start/setup.md +172 -0
- package/docs/start/showcase.md +418 -0
- package/docs/start/wizard-cli-automation.md +233 -0
- package/docs/start/wizard-cli-reference.md +324 -0
- package/docs/start/wizard.md +127 -0
- package/docs/style.css +37 -0
- package/docs/tools/acp-agents.md +837 -0
- package/docs/tools/agent-send.md +100 -0
- package/docs/tools/apply-patch.md +52 -0
- package/docs/tools/brave-search.md +107 -0
- package/docs/tools/browser-linux-troubleshooting.md +145 -0
- package/docs/tools/browser-login.md +73 -0
- package/docs/tools/browser-wsl2-windows-remote-cdp-troubleshooting.md +221 -0
- package/docs/tools/browser.md +890 -0
- package/docs/tools/btw.md +142 -0
- package/docs/tools/capability-cookbook.md +119 -0
- package/docs/tools/clawhub.md +348 -0
- package/docs/tools/code-execution.md +90 -0
- package/docs/tools/creating-skills.md +119 -0
- package/docs/tools/diffs.md +434 -0
- package/docs/tools/duckduckgo-search.md +102 -0
- package/docs/tools/elevated.md +116 -0
- package/docs/tools/exa-search.md +127 -0
- package/docs/tools/exec-approvals.md +635 -0
- package/docs/tools/exec.md +237 -0
- package/docs/tools/firecrawl.md +147 -0
- package/docs/tools/gemini-search.md +98 -0
- package/docs/tools/grok-search.md +102 -0
- package/docs/tools/image-generation.md +139 -0
- package/docs/tools/index.md +174 -0
- package/docs/tools/kimi-search.md +98 -0
- package/docs/tools/llm-task.md +119 -0
- package/docs/tools/lobster.md +348 -0
- package/docs/tools/loop-detection.md +100 -0
- package/docs/tools/minimax-search.md +99 -0
- package/docs/tools/multi-agent-sandbox-tools.md +373 -0
- package/docs/tools/ollama-search.md +100 -0
- package/docs/tools/pdf.md +176 -0
- package/docs/tools/perplexity-search.md +185 -0
- package/docs/tools/plugin.md +348 -0
- package/docs/tools/reactions.md +78 -0
- package/docs/tools/searxng-search.md +132 -0
- package/docs/tools/skills-config.md +133 -0
- package/docs/tools/skills.md +377 -0
- package/docs/tools/slash-commands.md +322 -0
- package/docs/tools/subagents.md +341 -0
- package/docs/tools/tavily.md +129 -0
- package/docs/tools/thinking.md +102 -0
- package/docs/tools/tts.md +452 -0
- package/docs/tools/web-fetch.md +159 -0
- package/docs/tools/web.md +417 -0
- package/docs/tts.md +452 -0
- package/docs/vps.md +115 -0
- package/docs/web/control-ui.md +318 -0
- package/docs/web/dashboard.md +93 -0
- package/docs/web/index.md +126 -0
- package/docs/web/tui.md +176 -0
- package/docs/web/webchat.md +77 -0
- package/docs/whatsapp-openclaw-ai-zh.jpg +0 -0
- package/docs/whatsapp-openclaw.jpg +0 -0
- package/durar.mjs +180 -0
- package/package.json +1259 -0
- package/scripts/npm-runner.mjs +111 -0
- package/scripts/postinstall-bundled-plugins.mjs +188 -0
- package/skills/1password/SKILL.md +70 -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 +77 -0
- package/skills/apple-reminders/SKILL.md +118 -0
- package/skills/bear-notes/SKILL.md +107 -0
- package/skills/blogwatcher/SKILL.md +69 -0
- package/skills/blucli/SKILL.md +47 -0
- package/skills/bluebubbles/SKILL.md +131 -0
- package/skills/camsnap/SKILL.md +45 -0
- package/skills/canvas/SKILL.md +199 -0
- package/skills/clawhub/SKILL.md +77 -0
- package/skills/coding-agent/SKILL.md +316 -0
- package/skills/discord/SKILL.md +197 -0
- package/skills/eightctl/SKILL.md +50 -0
- package/skills/gemini/SKILL.md +43 -0
- package/skills/gh-issues/SKILL.md +885 -0
- package/skills/gifgrep/SKILL.md +79 -0
- package/skills/github/SKILL.md +163 -0
- package/skills/gog/SKILL.md +116 -0
- package/skills/goplaces/SKILL.md +52 -0
- package/skills/healthcheck/SKILL.md +245 -0
- package/skills/himalaya/SKILL.md +257 -0
- package/skills/himalaya/references/configuration.md +184 -0
- package/skills/himalaya/references/message-composition.md +199 -0
- package/skills/imsg/SKILL.md +122 -0
- package/skills/mcporter/SKILL.md +61 -0
- package/skills/model-usage/SKILL.md +69 -0
- package/skills/model-usage/references/codexbar-cli.md +33 -0
- package/skills/model-usage/scripts/model_usage.py +320 -0
- package/skills/model-usage/scripts/test_model_usage.py +40 -0
- package/skills/nano-pdf/SKILL.md +38 -0
- package/skills/node-connect/SKILL.md +142 -0
- package/skills/notion/SKILL.md +174 -0
- package/skills/obsidian/SKILL.md +81 -0
- package/skills/openai-whisper/SKILL.md +38 -0
- package/skills/openai-whisper-api/SKILL.md +62 -0
- package/skills/openai-whisper-api/scripts/transcribe.sh +88 -0
- package/skills/openhue/SKILL.md +112 -0
- package/skills/oracle/SKILL.md +125 -0
- package/skills/ordercli/SKILL.md +78 -0
- package/skills/peekaboo/SKILL.md +190 -0
- package/skills/sag/SKILL.md +87 -0
- package/skills/session-logs/SKILL.md +151 -0
- package/skills/sherpa-onnx-tts/SKILL.md +109 -0
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +178 -0
- package/skills/skill-creator/SKILL.md +372 -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 +139 -0
- package/skills/skill-creator/scripts/quick_validate.py +159 -0
- package/skills/skill-creator/scripts/test_package_skill.py +160 -0
- package/skills/skill-creator/scripts/test_quick_validate.py +72 -0
- package/skills/slack/SKILL.md +144 -0
- package/skills/songsee/SKILL.md +49 -0
- package/skills/sonoscli/SKILL.md +65 -0
- package/skills/spotify-player/SKILL.md +64 -0
- package/skills/summarize/SKILL.md +87 -0
- package/skills/taskflow/SKILL.md +149 -0
- package/skills/taskflow/examples/inbox-triage.lobster +33 -0
- package/skills/taskflow/examples/pr-intake.lobster +32 -0
- package/skills/taskflow-inbox-triage/SKILL.md +119 -0
- package/skills/things-mac/SKILL.md +86 -0
- package/skills/tmux/SKILL.md +170 -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 +108 -0
- package/skills/video-frames/SKILL.md +46 -0
- package/skills/video-frames/scripts/frame.sh +81 -0
- package/skills/voice-call/SKILL.md +45 -0
- package/skills/wacli/SKILL.md +72 -0
- package/skills/weather/SKILL.md +129 -0
- package/skills/xurl/SKILL.md +461 -0
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Exec tool usage, stdin modes, and TTY support"
|
|
3
|
+
read_when:
|
|
4
|
+
- Using or modifying the exec tool
|
|
5
|
+
- Debugging stdin or TTY behavior
|
|
6
|
+
title: "Exec Tool"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Exec tool
|
|
10
|
+
|
|
11
|
+
Run shell commands in the workspace. Supports foreground + background execution via `process`.
|
|
12
|
+
If `process` is disallowed, `exec` runs synchronously and ignores `yieldMs`/`background`.
|
|
13
|
+
Background sessions are scoped per agent; `process` only sees sessions from the same agent.
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
- `command` (required)
|
|
18
|
+
- `workdir` (defaults to cwd)
|
|
19
|
+
- `env` (key/value overrides)
|
|
20
|
+
- `yieldMs` (default 10000): auto-background after delay
|
|
21
|
+
- `background` (bool): background immediately
|
|
22
|
+
- `timeout` (seconds, default 1800): kill on expiry
|
|
23
|
+
- `pty` (bool): run in a pseudo-terminal when available (TTY-only CLIs, coding agents, terminal UIs)
|
|
24
|
+
- `host` (`auto | sandbox | gateway | node`): where to execute
|
|
25
|
+
- `security` (`deny | allowlist | full`): enforcement mode for `gateway`/`node`
|
|
26
|
+
- `ask` (`off | on-miss | always`): approval prompts for `gateway`/`node`
|
|
27
|
+
- `node` (string): node id/name for `host=node`
|
|
28
|
+
- `elevated` (bool): request elevated mode (escape the sandbox onto the configured host path); `security=full` is only forced when elevated resolves to `full`
|
|
29
|
+
|
|
30
|
+
Notes:
|
|
31
|
+
|
|
32
|
+
- `host` defaults to `auto`: sandbox when sandbox runtime is active for the session, otherwise gateway.
|
|
33
|
+
- `auto` is the default routing strategy, not a wildcard. Per-call `host=node` is allowed from `auto`; per-call `host=gateway` is only allowed when no sandbox runtime is active.
|
|
34
|
+
- With no extra config, `host=auto` still "just works": no sandbox means it resolves to `gateway`; a live sandbox means it stays in the sandbox.
|
|
35
|
+
- `elevated` escapes the sandbox onto the configured host path: `gateway` by default, or `node` when `tools.exec.host=node` (or the session default is `host=node`). It is only available when elevated access is enabled for the current session/provider.
|
|
36
|
+
- `gateway`/`node` approvals are controlled by `~/.Durar/exec-approvals.json`.
|
|
37
|
+
- `node` requires a paired node (companion app or headless node host).
|
|
38
|
+
- If multiple nodes are available, set `exec.node` or `tools.exec.node` to select one.
|
|
39
|
+
- `exec host=node` is the only shell-execution path for nodes; the legacy `nodes.run` wrapper has been removed.
|
|
40
|
+
- On non-Windows hosts, exec uses `SHELL` when set; if `SHELL` is `fish`, it prefers `bash` (or `sh`)
|
|
41
|
+
from `PATH` to avoid fish-incompatible scripts, then falls back to `SHELL` if neither exists.
|
|
42
|
+
- On Windows hosts, exec prefers PowerShell 7 (`pwsh`) discovery (Program Files, ProgramW6432, then PATH),
|
|
43
|
+
then falls back to Windows PowerShell 5.1.
|
|
44
|
+
- Host execution (`gateway`/`node`) rejects `env.PATH` and loader overrides (`LD_*`/`DYLD_*`) to
|
|
45
|
+
prevent binary hijacking or injected code.
|
|
46
|
+
- Durar sets `Durar_SHELL=exec` in the spawned command environment (including PTY and sandbox execution) so shell/profile rules can detect exec-tool context.
|
|
47
|
+
- Important: sandboxing is **off by default**. If sandboxing is off, implicit `host=auto`
|
|
48
|
+
resolves to `gateway`. Explicit `host=sandbox` still fails closed instead of silently
|
|
49
|
+
running on the gateway host. Enable sandboxing or use `host=gateway` with approvals.
|
|
50
|
+
- Script preflight checks (for common Python/Node shell-syntax mistakes) only inspect files inside the
|
|
51
|
+
effective `workdir` boundary. If a script path resolves outside `workdir`, preflight is skipped for
|
|
52
|
+
that file.
|
|
53
|
+
- For long-running work that starts now, start it once and rely on automatic
|
|
54
|
+
completion wake when it is enabled and the command emits output or fails.
|
|
55
|
+
Use `process` for logs, status, input, or intervention; do not emulate
|
|
56
|
+
scheduling with sleep loops, timeout loops, or repeated polling.
|
|
57
|
+
- For work that should happen later or on a schedule, use cron instead of
|
|
58
|
+
`exec` sleep/delay patterns.
|
|
59
|
+
|
|
60
|
+
## Config
|
|
61
|
+
|
|
62
|
+
- `tools.exec.notifyOnExit` (default: true): when true, backgrounded exec sessions enqueue a system event and request a heartbeat on exit.
|
|
63
|
+
- `tools.exec.approvalRunningNoticeMs` (default: 10000): emit a single “running” notice when an approval-gated exec runs longer than this (0 disables).
|
|
64
|
+
- `tools.exec.host` (default: `auto`; resolves to `sandbox` when sandbox runtime is active, `gateway` otherwise)
|
|
65
|
+
- `tools.exec.security` (default: `deny` for sandbox, `full` for gateway + node when unset)
|
|
66
|
+
- `tools.exec.ask` (default: `off`)
|
|
67
|
+
- No-approval host exec is the default for gateway + node. If you want approvals/allowlist behavior, tighten both `tools.exec.*` and the host `~/.Durar/exec-approvals.json`; see [Exec approvals](/tools/exec-approvals#no-approval-yolo-mode).
|
|
68
|
+
- YOLO comes from the host-policy defaults (`security=full`, `ask=off`), not from `host=auto`. If you want to force gateway or node routing, set `tools.exec.host` or use `/exec host=...`.
|
|
69
|
+
- In `security=full` plus `ask=off` mode, host exec follows the configured policy directly; there is no extra heuristic command-obfuscation prefilter.
|
|
70
|
+
- `tools.exec.node` (default: unset)
|
|
71
|
+
- `tools.exec.strictInlineEval` (default: false): when true, inline interpreter eval forms such as `python -c`, `node -e`, `ruby -e`, `perl -e`, `php -r`, `lua -e`, and `osascript -e` always require explicit approval. `allow-always` can still persist benign interpreter/script invocations, but inline-eval forms still prompt each time.
|
|
72
|
+
- `tools.exec.pathPrepend`: list of directories to prepend to `PATH` for exec runs (gateway + sandbox only).
|
|
73
|
+
- `tools.exec.safeBins`: stdin-only safe binaries that can run without explicit allowlist entries. For behavior details, see [Safe bins](/tools/exec-approvals#safe-bins-stdin-only).
|
|
74
|
+
- `tools.exec.safeBinTrustedDirs`: additional explicit directories trusted for `safeBins` path checks. `PATH` entries are never auto-trusted. Built-in defaults are `/bin` and `/usr/bin`.
|
|
75
|
+
- `tools.exec.safeBinProfiles`: optional custom argv policy per safe bin (`minPositional`, `maxPositional`, `allowedValueFlags`, `deniedFlags`).
|
|
76
|
+
|
|
77
|
+
Example:
|
|
78
|
+
|
|
79
|
+
```json5
|
|
80
|
+
{
|
|
81
|
+
tools: {
|
|
82
|
+
exec: {
|
|
83
|
+
pathPrepend: ["~/bin", "/opt/oss/bin"],
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### PATH handling
|
|
90
|
+
|
|
91
|
+
- `host=gateway`: merges your login-shell `PATH` into the exec environment. `env.PATH` overrides are
|
|
92
|
+
rejected for host execution. The daemon itself still runs with a minimal `PATH`:
|
|
93
|
+
- macOS: `/opt/homebrew/bin`, `/usr/local/bin`, `/usr/bin`, `/bin`
|
|
94
|
+
- Linux: `/usr/local/bin`, `/usr/bin`, `/bin`
|
|
95
|
+
- `host=sandbox`: runs `sh -lc` (login shell) inside the container, so `/etc/profile` may reset `PATH`.
|
|
96
|
+
Durar prepends `env.PATH` after profile sourcing via an internal env var (no shell interpolation);
|
|
97
|
+
`tools.exec.pathPrepend` applies here too.
|
|
98
|
+
- `host=node`: only non-blocked env overrides you pass are sent to the node. `env.PATH` overrides are
|
|
99
|
+
rejected for host execution and ignored by node hosts. If you need additional PATH entries on a node,
|
|
100
|
+
configure the node host service environment (systemd/launchd) or install tools in standard locations.
|
|
101
|
+
|
|
102
|
+
Per-agent node binding (use the agent list index in config):
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
Durar config get agents.list
|
|
106
|
+
Durar config set agents.list[0].tools.exec.node "node-id-or-name"
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Control UI: the Nodes tab includes a small “Exec node binding” panel for the same settings.
|
|
110
|
+
|
|
111
|
+
## Session overrides (`/exec`)
|
|
112
|
+
|
|
113
|
+
Use `/exec` to set **per-session** defaults for `host`, `security`, `ask`, and `node`.
|
|
114
|
+
Send `/exec` with no arguments to show the current values.
|
|
115
|
+
|
|
116
|
+
Example:
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
/exec host=auto security=allowlist ask=on-miss node=mac-1
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Authorization model
|
|
123
|
+
|
|
124
|
+
`/exec` is only honored for **authorized senders** (channel allowlists/pairing plus `commands.useAccessGroups`).
|
|
125
|
+
It updates **session state only** and does not write config. To hard-disable exec, deny it via tool
|
|
126
|
+
policy (`tools.deny: ["exec"]` or per-agent). Host approvals still apply unless you explicitly set
|
|
127
|
+
`security=full` and `ask=off`.
|
|
128
|
+
|
|
129
|
+
## Exec approvals (companion app / node host)
|
|
130
|
+
|
|
131
|
+
Sandboxed agents can require per-request approval before `exec` runs on the gateway or node host.
|
|
132
|
+
See [Exec approvals](/tools/exec-approvals) for the policy, allowlist, and UI flow.
|
|
133
|
+
|
|
134
|
+
When approvals are required, the exec tool returns immediately with
|
|
135
|
+
`status: "approval-pending"` and an approval id. Once approved (or denied / timed out),
|
|
136
|
+
the Gateway emits system events (`Exec finished` / `Exec denied`). If the command is still
|
|
137
|
+
running after `tools.exec.approvalRunningNoticeMs`, a single `Exec running` notice is emitted.
|
|
138
|
+
On channels with native approval cards/buttons, the agent should rely on that
|
|
139
|
+
native UI first and only include a manual `/approve` command when the tool
|
|
140
|
+
result explicitly says chat approvals are unavailable or manual approval is the
|
|
141
|
+
only path.
|
|
142
|
+
|
|
143
|
+
## Allowlist + safe bins
|
|
144
|
+
|
|
145
|
+
Manual allowlist enforcement matches **resolved binary paths only** (no basename matches). When
|
|
146
|
+
`security=allowlist`, shell commands are auto-allowed only if every pipeline segment is
|
|
147
|
+
allowlisted or a safe bin. Chaining (`;`, `&&`, `||`) and redirections are rejected in
|
|
148
|
+
allowlist mode unless every top-level segment satisfies the allowlist (including safe bins).
|
|
149
|
+
Redirections remain unsupported.
|
|
150
|
+
Durable `allow-always` trust does not bypass that rule: a chained command still requires every
|
|
151
|
+
top-level segment to match.
|
|
152
|
+
|
|
153
|
+
`autoAllowSkills` is a separate convenience path in exec approvals. It is not the same as
|
|
154
|
+
manual path allowlist entries. For strict explicit trust, keep `autoAllowSkills` disabled.
|
|
155
|
+
|
|
156
|
+
Use the two controls for different jobs:
|
|
157
|
+
|
|
158
|
+
- `tools.exec.safeBins`: small, stdin-only stream filters.
|
|
159
|
+
- `tools.exec.safeBinTrustedDirs`: explicit extra trusted directories for safe-bin executable paths.
|
|
160
|
+
- `tools.exec.safeBinProfiles`: explicit argv policy for custom safe bins.
|
|
161
|
+
- allowlist: explicit trust for executable paths.
|
|
162
|
+
|
|
163
|
+
Do not treat `safeBins` as a generic allowlist, and do not add interpreter/runtime binaries (for example `python3`, `node`, `ruby`, `bash`). If you need those, use explicit allowlist entries and keep approval prompts enabled.
|
|
164
|
+
`Durar security audit` warns when interpreter/runtime `safeBins` entries are missing explicit profiles, and `Durar doctor --fix` can scaffold missing custom `safeBinProfiles` entries.
|
|
165
|
+
`Durar security audit` and `Durar doctor` also warn when you explicitly add broad-behavior bins such as `jq` back into `safeBins`.
|
|
166
|
+
If you explicitly allowlist interpreters, enable `tools.exec.strictInlineEval` so inline code-eval forms still require a fresh approval.
|
|
167
|
+
|
|
168
|
+
For full policy details and examples, see [Exec approvals](/tools/exec-approvals#safe-bins-stdin-only) and [Safe bins versus allowlist](/tools/exec-approvals#safe-bins-versus-allowlist).
|
|
169
|
+
|
|
170
|
+
## Examples
|
|
171
|
+
|
|
172
|
+
Foreground:
|
|
173
|
+
|
|
174
|
+
```json
|
|
175
|
+
{ "tool": "exec", "command": "ls -la" }
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Background + poll:
|
|
179
|
+
|
|
180
|
+
```json
|
|
181
|
+
{"tool":"exec","command":"npm run build","yieldMs":1000}
|
|
182
|
+
{"tool":"process","action":"poll","sessionId":"<id>"}
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
Polling is for on-demand status, not waiting loops. If automatic completion wake
|
|
186
|
+
is enabled, the command can wake the session when it emits output or fails.
|
|
187
|
+
|
|
188
|
+
Send keys (tmux-style):
|
|
189
|
+
|
|
190
|
+
```json
|
|
191
|
+
{"tool":"process","action":"send-keys","sessionId":"<id>","keys":["Enter"]}
|
|
192
|
+
{"tool":"process","action":"send-keys","sessionId":"<id>","keys":["C-c"]}
|
|
193
|
+
{"tool":"process","action":"send-keys","sessionId":"<id>","keys":["Up","Up","Enter"]}
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Submit (send CR only):
|
|
197
|
+
|
|
198
|
+
```json
|
|
199
|
+
{ "tool": "process", "action": "submit", "sessionId": "<id>" }
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
Paste (bracketed by default):
|
|
203
|
+
|
|
204
|
+
```json
|
|
205
|
+
{ "tool": "process", "action": "paste", "sessionId": "<id>", "text": "line1\nline2\n" }
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
## apply_patch
|
|
209
|
+
|
|
210
|
+
`apply_patch` is a subtool of `exec` for structured multi-file edits.
|
|
211
|
+
It is enabled by default for OpenAI and OpenAI Codex models. Use config only
|
|
212
|
+
when you want to disable it or restrict it to specific models:
|
|
213
|
+
|
|
214
|
+
```json5
|
|
215
|
+
{
|
|
216
|
+
tools: {
|
|
217
|
+
exec: {
|
|
218
|
+
applyPatch: { workspaceOnly: true, allowModels: ["gpt-5.4"] },
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
}
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Notes:
|
|
225
|
+
|
|
226
|
+
- Only available for OpenAI/OpenAI Codex models.
|
|
227
|
+
- Tool policy still applies; `allow: ["write"]` implicitly allows `apply_patch`.
|
|
228
|
+
- Config lives under `tools.exec.applyPatch`.
|
|
229
|
+
- `tools.exec.applyPatch.enabled` defaults to `true`; set it to `false` to disable the tool for OpenAI models.
|
|
230
|
+
- `tools.exec.applyPatch.workspaceOnly` defaults to `true` (workspace-contained). Set it to `false` only if you intentionally want `apply_patch` to write/delete outside the workspace directory.
|
|
231
|
+
|
|
232
|
+
## Related
|
|
233
|
+
|
|
234
|
+
- [Exec Approvals](/tools/exec-approvals) — approval gates for shell commands
|
|
235
|
+
- [Sandboxing](/gateway/sandboxing) — running commands in sandboxed environments
|
|
236
|
+
- [Background Process](/gateway/background-process) — long-running exec and process tool
|
|
237
|
+
- [Security](/gateway/security) — tool policy and elevated access
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Firecrawl search, scrape, and web_fetch fallback"
|
|
3
|
+
read_when:
|
|
4
|
+
- You want Firecrawl-backed web extraction
|
|
5
|
+
- You need a Firecrawl API key
|
|
6
|
+
- You want Firecrawl as a web_search provider
|
|
7
|
+
- You want anti-bot extraction for web_fetch
|
|
8
|
+
title: "Firecrawl"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Firecrawl
|
|
12
|
+
|
|
13
|
+
Durar can use **Firecrawl** in three ways:
|
|
14
|
+
|
|
15
|
+
- as the `web_search` provider
|
|
16
|
+
- as explicit plugin tools: `firecrawl_search` and `firecrawl_scrape`
|
|
17
|
+
- as a fallback extractor for `web_fetch`
|
|
18
|
+
|
|
19
|
+
It is a hosted extraction/search service that supports bot circumvention and caching,
|
|
20
|
+
which helps with JS-heavy sites or pages that block plain HTTP fetches.
|
|
21
|
+
|
|
22
|
+
## Get an API key
|
|
23
|
+
|
|
24
|
+
1. Create a Firecrawl account and generate an API key.
|
|
25
|
+
2. Store it in config or set `FIRECRAWL_API_KEY` in the gateway environment.
|
|
26
|
+
|
|
27
|
+
## Configure Firecrawl search
|
|
28
|
+
|
|
29
|
+
```json5
|
|
30
|
+
{
|
|
31
|
+
tools: {
|
|
32
|
+
web: {
|
|
33
|
+
search: {
|
|
34
|
+
provider: "firecrawl",
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
plugins: {
|
|
39
|
+
entries: {
|
|
40
|
+
firecrawl: {
|
|
41
|
+
enabled: true,
|
|
42
|
+
config: {
|
|
43
|
+
webSearch: {
|
|
44
|
+
apiKey: "FIRECRAWL_API_KEY_HERE",
|
|
45
|
+
baseUrl: "https://api.firecrawl.dev",
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Notes:
|
|
55
|
+
|
|
56
|
+
- Choosing Firecrawl in onboarding or `Durar configure --section web` enables the bundled Firecrawl plugin automatically.
|
|
57
|
+
- `web_search` with Firecrawl supports `query` and `count`.
|
|
58
|
+
- For Firecrawl-specific controls like `sources`, `categories`, or result scraping, use `firecrawl_search`.
|
|
59
|
+
- `baseUrl` overrides must stay on `https://api.firecrawl.dev`.
|
|
60
|
+
- `FIRECRAWL_BASE_URL` is the shared env fallback for Firecrawl search and scrape base URLs.
|
|
61
|
+
|
|
62
|
+
## Configure Firecrawl scrape + web_fetch fallback
|
|
63
|
+
|
|
64
|
+
```json5
|
|
65
|
+
{
|
|
66
|
+
plugins: {
|
|
67
|
+
entries: {
|
|
68
|
+
firecrawl: {
|
|
69
|
+
enabled: true,
|
|
70
|
+
config: {
|
|
71
|
+
webFetch: {
|
|
72
|
+
apiKey: "FIRECRAWL_API_KEY_HERE",
|
|
73
|
+
baseUrl: "https://api.firecrawl.dev",
|
|
74
|
+
onlyMainContent: true,
|
|
75
|
+
maxAgeMs: 172800000,
|
|
76
|
+
timeoutSeconds: 60,
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Notes:
|
|
86
|
+
|
|
87
|
+
- Firecrawl fallback attempts run only when an API key is available (`plugins.entries.firecrawl.config.webFetch.apiKey` or `FIRECRAWL_API_KEY`).
|
|
88
|
+
- `maxAgeMs` controls how old cached results can be (ms). Default is 2 days.
|
|
89
|
+
- Legacy `tools.web.fetch.firecrawl.*` config is auto-migrated by `Durar doctor --fix`.
|
|
90
|
+
- Firecrawl scrape/base URL overrides are restricted to `https://api.firecrawl.dev`.
|
|
91
|
+
|
|
92
|
+
`firecrawl_scrape` reuses the same `plugins.entries.firecrawl.config.webFetch.*` settings and env vars.
|
|
93
|
+
|
|
94
|
+
## Firecrawl plugin tools
|
|
95
|
+
|
|
96
|
+
### `firecrawl_search`
|
|
97
|
+
|
|
98
|
+
Use this when you want Firecrawl-specific search controls instead of generic `web_search`.
|
|
99
|
+
|
|
100
|
+
Core parameters:
|
|
101
|
+
|
|
102
|
+
- `query`
|
|
103
|
+
- `count`
|
|
104
|
+
- `sources`
|
|
105
|
+
- `categories`
|
|
106
|
+
- `scrapeResults`
|
|
107
|
+
- `timeoutSeconds`
|
|
108
|
+
|
|
109
|
+
### `firecrawl_scrape`
|
|
110
|
+
|
|
111
|
+
Use this for JS-heavy or bot-protected pages where plain `web_fetch` is weak.
|
|
112
|
+
|
|
113
|
+
Core parameters:
|
|
114
|
+
|
|
115
|
+
- `url`
|
|
116
|
+
- `extractMode`
|
|
117
|
+
- `maxChars`
|
|
118
|
+
- `onlyMainContent`
|
|
119
|
+
- `maxAgeMs`
|
|
120
|
+
- `proxy`
|
|
121
|
+
- `storeInCache`
|
|
122
|
+
- `timeoutSeconds`
|
|
123
|
+
|
|
124
|
+
## Stealth / bot circumvention
|
|
125
|
+
|
|
126
|
+
Firecrawl exposes a **proxy mode** parameter for bot circumvention (`basic`, `stealth`, or `auto`).
|
|
127
|
+
Durar always uses `proxy: "auto"` plus `storeInCache: true` for Firecrawl requests.
|
|
128
|
+
If proxy is omitted, Firecrawl defaults to `auto`. `auto` retries with stealth proxies if a basic attempt fails, which may use more credits
|
|
129
|
+
than basic-only scraping.
|
|
130
|
+
|
|
131
|
+
## How `web_fetch` uses Firecrawl
|
|
132
|
+
|
|
133
|
+
`web_fetch` extraction order:
|
|
134
|
+
|
|
135
|
+
1. Readability (local)
|
|
136
|
+
2. Firecrawl (if selected or auto-detected as the active web-fetch fallback)
|
|
137
|
+
3. Basic HTML cleanup (last fallback)
|
|
138
|
+
|
|
139
|
+
The selection knob is `tools.web.fetch.provider`. If you omit it, Durar
|
|
140
|
+
auto-detects the first ready web-fetch provider from available credentials.
|
|
141
|
+
Today the bundled provider is Firecrawl.
|
|
142
|
+
|
|
143
|
+
## Related
|
|
144
|
+
|
|
145
|
+
- [Web Search overview](/tools/web) -- all providers and auto-detection
|
|
146
|
+
- [Web Fetch](/tools/web-fetch) -- web_fetch tool with Firecrawl fallback
|
|
147
|
+
- [Tavily](/tools/tavily) -- search + extract tools
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Gemini web search with Google Search grounding"
|
|
3
|
+
read_when:
|
|
4
|
+
- You want to use Gemini for web_search
|
|
5
|
+
- You need a GEMINI_API_KEY
|
|
6
|
+
- You want Google Search grounding
|
|
7
|
+
title: "Gemini Search"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Gemini Search
|
|
11
|
+
|
|
12
|
+
Durar supports Gemini models with built-in
|
|
13
|
+
[Google Search grounding](https://ai.google.dev/gemini-api/docs/grounding),
|
|
14
|
+
which returns AI-synthesized answers backed by live Google Search results with
|
|
15
|
+
citations.
|
|
16
|
+
|
|
17
|
+
## Get an API key
|
|
18
|
+
|
|
19
|
+
<Steps>
|
|
20
|
+
<Step title="Create a key">
|
|
21
|
+
Go to [Google AI Studio](https://aistudio.google.com/apikey) and create an
|
|
22
|
+
API key.
|
|
23
|
+
</Step>
|
|
24
|
+
<Step title="Store the key">
|
|
25
|
+
Set `GEMINI_API_KEY` in the Gateway environment, or configure via:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
Durar configure --section web
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
</Step>
|
|
32
|
+
</Steps>
|
|
33
|
+
|
|
34
|
+
## Config
|
|
35
|
+
|
|
36
|
+
```json5
|
|
37
|
+
{
|
|
38
|
+
plugins: {
|
|
39
|
+
entries: {
|
|
40
|
+
google: {
|
|
41
|
+
config: {
|
|
42
|
+
webSearch: {
|
|
43
|
+
apiKey: "AIza...", // optional if GEMINI_API_KEY is set
|
|
44
|
+
model: "gemini-2.5-flash", // default
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
tools: {
|
|
51
|
+
web: {
|
|
52
|
+
search: {
|
|
53
|
+
provider: "gemini",
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**Environment alternative:** set `GEMINI_API_KEY` in the Gateway environment.
|
|
61
|
+
For a gateway install, put it in `~/.Durar/.env`.
|
|
62
|
+
|
|
63
|
+
## How it works
|
|
64
|
+
|
|
65
|
+
Unlike traditional search providers that return a list of links and snippets,
|
|
66
|
+
Gemini uses Google Search grounding to produce AI-synthesized answers with
|
|
67
|
+
inline citations. The results include both the synthesized answer and the source
|
|
68
|
+
URLs.
|
|
69
|
+
|
|
70
|
+
- Citation URLs from Gemini grounding are automatically resolved from Google
|
|
71
|
+
redirect URLs to direct URLs.
|
|
72
|
+
- Redirect resolution uses the SSRF guard path (HEAD + redirect checks +
|
|
73
|
+
http/https validation) before returning the final citation URL.
|
|
74
|
+
- Redirect resolution uses strict SSRF defaults, so redirects to
|
|
75
|
+
private/internal targets are blocked.
|
|
76
|
+
|
|
77
|
+
## Supported parameters
|
|
78
|
+
|
|
79
|
+
Gemini search supports `query`.
|
|
80
|
+
|
|
81
|
+
`count` is accepted for shared `web_search` compatibility, but Gemini grounding
|
|
82
|
+
still returns one synthesized answer with citations rather than an N-result
|
|
83
|
+
list.
|
|
84
|
+
|
|
85
|
+
Provider-specific filters like `country`, `language`, `freshness`, and
|
|
86
|
+
`domain_filter` are not supported.
|
|
87
|
+
|
|
88
|
+
## Model selection
|
|
89
|
+
|
|
90
|
+
The default model is `gemini-2.5-flash` (fast and cost-effective). Any Gemini
|
|
91
|
+
model that supports grounding can be used via
|
|
92
|
+
`plugins.entries.google.config.webSearch.model`.
|
|
93
|
+
|
|
94
|
+
## Related
|
|
95
|
+
|
|
96
|
+
- [Web Search overview](/tools/web) -- all providers and auto-detection
|
|
97
|
+
- [Brave Search](/tools/brave-search) -- structured results with snippets
|
|
98
|
+
- [Perplexity Search](/tools/perplexity-search) -- structured results + content extraction
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Grok web search via xAI web-grounded responses"
|
|
3
|
+
read_when:
|
|
4
|
+
- You want to use Grok for web_search
|
|
5
|
+
- You need an XAI_API_KEY for web search
|
|
6
|
+
title: "Grok Search"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Grok Search
|
|
10
|
+
|
|
11
|
+
Durar supports Grok as a `web_search` provider, using xAI web-grounded
|
|
12
|
+
responses to produce AI-synthesized answers backed by live search results
|
|
13
|
+
with citations.
|
|
14
|
+
|
|
15
|
+
The same `XAI_API_KEY` can also power the built-in `x_search` tool for X
|
|
16
|
+
(formerly Twitter) post search. If you store the key under
|
|
17
|
+
`plugins.entries.xai.config.webSearch.apiKey`, Durar now reuses it as a
|
|
18
|
+
fallback for the bundled xAI model provider too.
|
|
19
|
+
|
|
20
|
+
For post-level X metrics such as reposts, replies, bookmarks, or views, prefer
|
|
21
|
+
`x_search` with the exact post URL or status ID instead of a broad search
|
|
22
|
+
query.
|
|
23
|
+
|
|
24
|
+
## Onboarding and configure
|
|
25
|
+
|
|
26
|
+
If you choose **Grok** during:
|
|
27
|
+
|
|
28
|
+
- `Durar onboard`
|
|
29
|
+
- `Durar configure --section web`
|
|
30
|
+
|
|
31
|
+
Durar can show a separate follow-up step to enable `x_search` with the same
|
|
32
|
+
`XAI_API_KEY`. That follow-up:
|
|
33
|
+
|
|
34
|
+
- only appears after you choose Grok for `web_search`
|
|
35
|
+
- is not a separate top-level web-search provider choice
|
|
36
|
+
- can optionally set the `x_search` model during the same flow
|
|
37
|
+
|
|
38
|
+
If you skip it, you can enable or change `x_search` later in config.
|
|
39
|
+
|
|
40
|
+
## Get an API key
|
|
41
|
+
|
|
42
|
+
<Steps>
|
|
43
|
+
<Step title="Create a key">
|
|
44
|
+
Get an API key from [xAI](https://console.x.ai/).
|
|
45
|
+
</Step>
|
|
46
|
+
<Step title="Store the key">
|
|
47
|
+
Set `XAI_API_KEY` in the Gateway environment, or configure via:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
Durar configure --section web
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
</Step>
|
|
54
|
+
</Steps>
|
|
55
|
+
|
|
56
|
+
## Config
|
|
57
|
+
|
|
58
|
+
```json5
|
|
59
|
+
{
|
|
60
|
+
plugins: {
|
|
61
|
+
entries: {
|
|
62
|
+
xai: {
|
|
63
|
+
config: {
|
|
64
|
+
webSearch: {
|
|
65
|
+
apiKey: "xai-...", // optional if XAI_API_KEY is set
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
tools: {
|
|
72
|
+
web: {
|
|
73
|
+
search: {
|
|
74
|
+
provider: "grok",
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**Environment alternative:** set `XAI_API_KEY` in the Gateway environment.
|
|
82
|
+
For a gateway install, put it in `~/.Durar/.env`.
|
|
83
|
+
|
|
84
|
+
## How it works
|
|
85
|
+
|
|
86
|
+
Grok uses xAI web-grounded responses to synthesize answers with inline
|
|
87
|
+
citations, similar to Gemini's Google Search grounding approach.
|
|
88
|
+
|
|
89
|
+
## Supported parameters
|
|
90
|
+
|
|
91
|
+
Grok search supports `query`.
|
|
92
|
+
|
|
93
|
+
`count` is accepted for shared `web_search` compatibility, but Grok still
|
|
94
|
+
returns one synthesized answer with citations rather than an N-result list.
|
|
95
|
+
|
|
96
|
+
Provider-specific filters are not currently supported.
|
|
97
|
+
|
|
98
|
+
## Related
|
|
99
|
+
|
|
100
|
+
- [Web Search overview](/tools/web) -- all providers and auto-detection
|
|
101
|
+
- [x_search in Web Search](/tools/web#x_search) -- first-class X search via xAI
|
|
102
|
+
- [Gemini Search](/tools/gemini-search) -- AI-synthesized answers via Google grounding
|