@qingchencloud/openclaw-zh 2026.1.31-zh.2 → 2026.2.1-zh.2
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 +7 -0
- package/README.md +247 -20
- package/dist/acp/client.d.ts +1 -1
- package/dist/acp/client.js +1 -1
- package/dist/acp/server.js +1 -1
- package/dist/acp/translator.d.ts +1 -1
- package/dist/acp/translator.js +3 -3
- package/dist/agents/anthropic-payload-log.js +2 -2
- package/dist/agents/apply-patch.js +1 -1
- package/dist/agents/auth-profiles/oauth.js +1 -1
- package/dist/agents/auth-profiles/session-override.js +1 -1
- package/dist/agents/bash-tools.exec.d.ts +1 -1
- package/dist/agents/bash-tools.exec.js +4 -4
- package/dist/agents/bootstrap-files.d.ts +1 -1
- package/dist/agents/bootstrap-files.js +1 -1
- package/dist/agents/cache-trace.js +1 -1
- package/dist/agents/cli-credentials.d.ts +1 -1
- package/dist/agents/cli-runner/helpers.js +2 -2
- package/dist/agents/cli-runner.js +2 -2
- package/dist/agents/model-auth.js +2 -2
- package/dist/agents/model-fallback.js +1 -1
- package/dist/agents/model-selection.js +1 -1
- package/dist/agents/models-config.providers.js +1 -1
- package/dist/agents/openclaw-tools.js +1 -1
- package/dist/agents/pi-embedded-runner/compact.d.ts +2 -2
- package/dist/agents/pi-embedded-runner/compact.js +10 -10
- package/dist/agents/pi-embedded-runner/google.d.ts +1 -1
- package/dist/agents/pi-embedded-runner/google.js +2 -2
- package/dist/agents/pi-embedded-runner/model.d.ts +1 -1
- package/dist/agents/pi-embedded-runner/model.js +1 -1
- package/dist/agents/pi-embedded-runner/run/attempt.js +19 -19
- package/dist/agents/pi-embedded-runner/run/images.js +3 -3
- package/dist/agents/pi-embedded-runner/run/params.d.ts +1 -1
- package/dist/agents/pi-embedded-runner/run/types.d.ts +3 -3
- package/dist/agents/pi-embedded-runner/system-prompt.d.ts +1 -1
- package/dist/agents/pi-embedded-runner/types.d.ts +1 -1
- package/dist/agents/pi-embedded-subscribe.handlers.messages.js +40 -11
- package/dist/agents/pi-embedded-subscribe.handlers.types.d.ts +10 -1
- package/dist/agents/pi-embedded-subscribe.js +10 -0
- package/dist/agents/pi-embedded-subscribe.tools.js +1 -1
- package/dist/agents/pi-model-discovery.js +1 -1
- package/dist/agents/pi-tools.d.ts +3 -3
- package/dist/agents/pi-tools.js +2 -2
- package/dist/agents/pi-tools.policy.js +2 -2
- package/dist/agents/sandbox/context.js +1 -1
- package/dist/agents/sandbox/docker.js +2 -2
- package/dist/agents/sandbox/runtime-status.js +1 -1
- package/dist/agents/session-tool-result-guard.js +1 -1
- package/dist/agents/skills/refresh.js +1 -1
- package/dist/agents/skills/workspace.js +1 -1
- package/dist/agents/subagent-announce.js +2 -2
- package/dist/agents/system-prompt-report.d.ts +1 -1
- package/dist/agents/system-prompt.js +6 -1
- package/dist/agents/tools/browser-tool.js +3 -3
- package/dist/agents/tools/browser-tool.schema.d.ts +2 -2
- package/dist/agents/tools/canvas-tool.js +1 -1
- package/dist/agents/tools/cron-tool.js +2 -2
- package/dist/agents/tools/discord-actions-messaging.js +2 -2
- package/dist/agents/tools/gateway-tool.js +1 -1
- package/dist/agents/tools/image-tool.js +3 -3
- package/dist/agents/tools/message-tool.js +5 -5
- package/dist/agents/tools/nodes-tool.js +1 -1
- package/dist/agents/tools/session-status-tool.js +2 -2
- package/dist/agents/tools/sessions-helpers.js +1 -1
- package/dist/agents/tools/sessions-list-tool.js +1 -1
- package/dist/agents/tools/sessions-send-tool.d.ts +1 -1
- package/dist/agents/tools/sessions-send-tool.js +1 -1
- package/dist/agents/tools/sessions-spawn-tool.js +1 -1
- package/dist/agents/tools/telegram-actions.js +1 -1
- package/dist/agents/tools/web-fetch.js +1 -1
- package/dist/agents/transcript-policy.js +1 -1
- package/dist/agents/workspace.js +1 -1
- package/dist/auto-reply/commands-registry.d.ts +1 -1
- package/dist/auto-reply/commands-registry.data.js +1 -1
- package/dist/auto-reply/commands-registry.js +1 -1
- package/dist/auto-reply/dispatch.d.ts +1 -1
- package/dist/auto-reply/dispatch.js +1 -1
- package/dist/auto-reply/envelope.d.ts +1 -1
- package/dist/auto-reply/reply/abort.js +2 -2
- package/dist/auto-reply/reply/agent-runner-execution.d.ts +3 -3
- package/dist/auto-reply/reply/agent-runner-execution.js +1 -1
- package/dist/auto-reply/reply/agent-runner-helpers.d.ts +2 -2
- package/dist/auto-reply/reply/agent-runner-memory.d.ts +1 -1
- package/dist/auto-reply/reply/agent-runner.d.ts +3 -3
- package/dist/auto-reply/reply/agent-runner.js +2 -2
- package/dist/auto-reply/reply/commands-allowlist.js +8 -8
- package/dist/auto-reply/reply/commands-approve.js +1 -1
- package/dist/auto-reply/reply/commands-config.js +3 -3
- package/dist/auto-reply/reply/commands-context-report.js +4 -4
- package/dist/auto-reply/reply/commands-core.js +34 -31
- package/dist/auto-reply/reply/commands-info.js +1 -1
- package/dist/auto-reply/reply/commands-models.js +1 -1
- package/dist/auto-reply/reply/commands-session.js +2 -2
- package/dist/auto-reply/reply/commands-status.d.ts +1 -1
- package/dist/auto-reply/reply/commands-status.js +2 -2
- package/dist/auto-reply/reply/commands-subagents.js +2 -2
- package/dist/auto-reply/reply/commands-types.d.ts +1 -1
- package/dist/auto-reply/reply/directive-handling.impl.d.ts +1 -1
- package/dist/auto-reply/reply/directive-handling.model-picker.d.ts +1 -1
- package/dist/auto-reply/reply/directive-handling.model.d.ts +1 -1
- package/dist/auto-reply/reply/directive-handling.model.js +1 -1
- package/dist/auto-reply/reply/directive-handling.persist.d.ts +2 -2
- package/dist/auto-reply/reply/dispatch-from-config.d.ts +1 -1
- package/dist/auto-reply/reply/dispatch-from-config.js +1 -1
- package/dist/auto-reply/reply/followup-runner.d.ts +1 -1
- package/dist/auto-reply/reply/followup-runner.js +1 -1
- package/dist/auto-reply/reply/get-reply-directives-apply.d.ts +2 -2
- package/dist/auto-reply/reply/get-reply-directives.d.ts +1 -1
- package/dist/auto-reply/reply/get-reply-inline-actions.d.ts +1 -1
- package/dist/auto-reply/reply/get-reply-inline-actions.js +4 -4
- package/dist/auto-reply/reply/get-reply-run.d.ts +3 -3
- package/dist/auto-reply/reply/get-reply-run.js +4 -4
- package/dist/auto-reply/reply/get-reply.d.ts +1 -1
- package/dist/auto-reply/reply/get-reply.js +3 -3
- package/dist/auto-reply/reply/inbound-dedupe.d.ts +1 -1
- package/dist/auto-reply/reply/model-selection.d.ts +2 -2
- package/dist/auto-reply/reply/model-selection.js +1 -1
- package/dist/auto-reply/reply/normalize-reply.js +2 -2
- package/dist/auto-reply/reply/provider-dispatcher.d.ts +1 -1
- package/dist/auto-reply/reply/queue/types.d.ts +1 -1
- package/dist/auto-reply/reply/reply-dispatcher.d.ts +1 -1
- package/dist/auto-reply/reply/reply-elevated.js +1 -1
- package/dist/auto-reply/reply/route-reply.d.ts +1 -1
- package/dist/auto-reply/reply/session-reset-model.d.ts +1 -1
- package/dist/auto-reply/reply/session-reset-model.js +1 -1
- package/dist/auto-reply/reply/session.d.ts +1 -1
- package/dist/auto-reply/reply/session.js +4 -4
- package/dist/auto-reply/reply/stage-sandbox-media.js +17 -0
- package/dist/auto-reply/skill-commands.js +1 -1
- package/dist/auto-reply/status.d.ts +3 -3
- package/dist/auto-reply/status.js +2 -2
- package/dist/auto-reply/templating.d.ts +1 -1
- package/dist/browser/chrome.d.ts +1 -1
- package/dist/browser/chrome.js +1 -1
- package/dist/browser/config.js +1 -1
- package/dist/browser/profiles-service.js +1 -1
- package/dist/browser/routes/agent.shared.d.ts +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/canvas-host/server.d.ts +1 -1
- package/dist/canvas-host/server.js +1 -1
- package/dist/channels/dock.js +2 -2
- package/dist/channels/plugins/actions/discord/handle-action.js +1 -1
- package/dist/channels/plugins/directory-config.js +2 -2
- package/dist/channels/plugins/index.js +1 -1
- package/dist/channels/plugins/onboarding/discord.js +1 -1
- package/dist/channels/plugins/onboarding/signal.js +1 -1
- package/dist/channels/plugins/onboarding/telegram.js +1 -1
- package/dist/channels/plugins/onboarding/whatsapp.js +1 -1
- package/dist/channels/plugins/outbound/whatsapp.js +1 -1
- package/dist/channels/plugins/pairing.d.ts +1 -1
- package/dist/channels/plugins/types.adapters.d.ts +1 -1
- package/dist/channels/reply-prefix.d.ts +1 -1
- package/dist/cli/browser-cli-actions-input/register.files-downloads.js +1 -1
- package/dist/cli/browser-cli-actions-observe.js +1 -1
- package/dist/cli/browser-cli-debug.js +1 -1
- package/dist/cli/browser-cli-extension.js +1 -1
- package/dist/cli/browser-cli.js +2 -2
- package/dist/cli/channel-options.js +1 -1
- package/dist/cli/channels-cli.js +1 -1
- package/dist/cli/command-format.js +1 -1
- package/dist/cli/config-cli.js +1 -1
- package/dist/cli/cron-cli/register.cron-add.js +1 -1
- package/dist/cli/cron-cli/register.cron-edit.js +1 -1
- package/dist/cli/daemon-cli/install.js +1 -1
- package/dist/cli/daemon-cli/lifecycle.js +1 -1
- package/dist/cli/daemon-cli/status.gather.d.ts +1 -1
- package/dist/cli/daemon-cli/status.gather.js +1 -1
- package/dist/cli/deps.d.ts +1 -1
- package/dist/cli/devices-cli.js +1 -1
- package/dist/cli/directory-cli.js +1 -1
- package/dist/cli/exec-approvals-cli.js +3 -3
- package/dist/cli/gateway-cli/dev.js +1 -1
- package/dist/cli/gateway-cli/register.js +1 -1
- package/dist/cli/hooks-cli.js +4 -4
- package/dist/cli/memory-cli.js +3 -3
- package/dist/cli/node-cli/daemon.js +2 -2
- package/dist/cli/node-cli/register.js +3 -3
- package/dist/cli/nodes-cli/register.camera.js +2 -2
- package/dist/cli/nodes-cli/register.canvas.js +1 -1
- package/dist/cli/nodes-cli/register.invoke.js +4 -4
- package/dist/cli/nodes-cli/register.pairing.js +2 -2
- package/dist/cli/nodes-cli/register.screen.js +1 -1
- package/dist/cli/nodes-cli/register.status.js +4 -4
- package/dist/cli/pairing-cli.js +1 -1
- package/dist/cli/program/build-program.js +1 -1
- package/dist/cli/program/config-guard.js +2 -2
- package/dist/cli/program/message/helpers.js +1 -1
- package/dist/cli/program/preaction.js +5 -5
- package/dist/cli/program/register.agent.js +2 -2
- package/dist/cli/program/register.message.js +1 -1
- package/dist/cli/program/register.setup.js +1 -1
- package/dist/cli/progress.js +1 -1
- package/dist/cli/route.js +4 -4
- package/dist/cli/run-main.js +1 -1
- package/dist/cli/sandbox-cli.js +1 -1
- package/dist/cli/update-cli.js +10 -10
- package/dist/cli/webhooks-cli.js +1 -1
- package/dist/commands/agent/delivery.d.ts +1 -1
- package/dist/commands/agent/delivery.js +1 -1
- package/dist/commands/agent/session.d.ts +1 -1
- package/dist/commands/agent-via-gateway.d.ts +1 -1
- package/dist/commands/agent-via-gateway.js +3 -3
- package/dist/commands/agent.d.ts +1 -1
- package/dist/commands/agent.js +5 -5
- package/dist/commands/agents.commands.add.js +1 -1
- package/dist/commands/agents.commands.list.js +1 -1
- package/dist/commands/auth-choice-options.js +1 -1
- package/dist/commands/auth-choice.apply.minimax.js +1 -1
- package/dist/commands/auth-choice.apply.oauth.js +1 -1
- package/dist/commands/auth-choice.apply.openai.js +1 -1
- package/dist/commands/auth-choice.apply.plugin-provider.js +2 -2
- package/dist/commands/channels/capabilities.js +1 -1
- package/dist/commands/channels/logs.js +1 -1
- package/dist/commands/channels/resolve.js +1 -1
- package/dist/commands/channels/status.js +1 -1
- package/dist/commands/configure.daemon.js +3 -3
- package/dist/commands/configure.gateway-auth.js +1 -1
- package/dist/commands/configure.wizard.js +2 -2
- package/dist/commands/daemon-install-helpers.js +2 -2
- package/dist/commands/docs.js +1 -1
- package/dist/commands/doctor-auth.js +1 -1
- package/dist/commands/doctor-config-flow.js +2 -2
- package/dist/commands/doctor-format.js +1 -1
- package/dist/commands/doctor-gateway-daemon-flow.js +4 -4
- package/dist/commands/doctor-gateway-health.js +1 -1
- package/dist/commands/doctor-gateway-services.js +1 -1
- package/dist/commands/doctor-security.js +2 -2
- package/dist/commands/doctor-update.js +2 -2
- package/dist/commands/doctor.js +2 -2
- package/dist/commands/gateway-status.js +1 -1
- package/dist/commands/health.d.ts +1 -1
- package/dist/commands/health.js +1 -1
- package/dist/commands/message.d.ts +1 -1
- package/dist/commands/models/auth.js +7 -7
- package/dist/commands/models/list.auth-overview.d.ts +1 -1
- package/dist/commands/models/list.probe.js +3 -3
- package/dist/commands/models/list.registry.js +1 -1
- package/dist/commands/models/list.status-command.js +4 -4
- package/dist/commands/models/shared.js +1 -1
- package/dist/commands/onboard-channels.js +4 -4
- package/dist/commands/onboard-helpers.js +2 -2
- package/dist/commands/onboard-hooks.js +1 -1
- package/dist/commands/onboard-non-interactive/local/auth-choice.js +1 -1
- package/dist/commands/onboard-non-interactive/local/daemon-install.js +1 -1
- package/dist/commands/onboard-non-interactive/local.js +1 -1
- package/dist/commands/onboard-non-interactive/remote.js +1 -1
- package/dist/commands/onboard.js +1 -1
- package/dist/commands/onboarding/plugin-install.js +2 -2
- package/dist/commands/reset.js +1 -1
- package/dist/commands/setup.js +1 -1
- package/dist/commands/status-all.js +4 -4
- package/dist/commands/status.command.js +5 -5
- package/dist/commands/status.daemon.js +1 -1
- package/dist/commands/status.scan.d.ts +3 -3
- package/dist/commands/status.scan.js +1 -1
- package/dist/commands/status.update.js +1 -1
- package/dist/commands/uninstall.js +1 -1
- package/dist/config/defaults.js +1 -1
- package/dist/config/includes.js +1 -1
- package/dist/config/io.d.ts +1 -1
- package/dist/config/io.js +2 -2
- package/dist/config/plugin-auto-enable.js +2 -2
- package/dist/config/schema.js +4 -0
- package/dist/config/sessions/main-session.d.ts +1 -1
- package/dist/config/sessions/reset.js +1 -1
- package/dist/config/sessions/store.d.ts +1 -1
- package/dist/config/sessions/store.js +2 -2
- package/dist/config/sessions/transcript.js +3 -3
- package/dist/config/types.agent-defaults.d.ts +1 -1
- package/dist/config/types.channels.d.ts +1 -1
- package/dist/config/types.discord.d.ts +3 -0
- package/dist/config/zod-schema.d.ts +8 -0
- package/dist/config/zod-schema.js +1 -1
- package/dist/config/zod-schema.providers-core.d.ts +12 -0
- package/dist/config/zod-schema.providers-core.js +9 -2
- package/dist/config/zod-schema.providers-whatsapp.js +1 -1
- package/dist/config/zod-schema.providers.d.ts +8 -0
- package/dist/config/zod-schema.providers.js +2 -2
- package/dist/control-ui/assets/{index-B3h60Wbn.js → index-BebBTKqz.js} +1681 -1681
- package/dist/control-ui/assets/index-BebBTKqz.js.map +1 -0
- package/dist/control-ui/index.html +1 -1
- package/dist/cron/isolated-agent/run.d.ts +1 -1
- package/dist/cron/isolated-agent/run.js +2 -2
- package/dist/cron/service.d.ts +1 -1
- package/dist/cron/store.js +1 -1
- package/dist/daemon/launchd.js +1 -1
- package/dist/daemon/node-service.js +1 -1
- package/dist/daemon/systemd.js +1 -1
- package/dist/discord/directory-live.d.ts +1 -1
- package/dist/discord/monitor/allow-list.d.ts +1 -1
- package/dist/discord/monitor/allow-list.js +3 -3
- package/dist/discord/monitor/exec-approvals.d.ts +1 -1
- package/dist/discord/monitor/exec-approvals.js +1 -1
- package/dist/discord/monitor/listeners.js +2 -1
- package/dist/discord/monitor/message-handler.preflight.js +83 -48
- package/dist/discord/monitor/message-handler.preflight.types.d.ts +3 -0
- package/dist/discord/monitor/message-handler.process.js +21 -18
- package/dist/discord/monitor/native-command.js +19 -16
- package/dist/discord/monitor/provider.js +2 -2
- package/dist/discord/monitor/reply-context.d.ts +1 -1
- package/dist/discord/monitor/reply-context.js +11 -6
- package/dist/discord/monitor/sender-identity.d.ts +31 -0
- package/dist/discord/monitor/sender-identity.js +45 -0
- package/dist/discord/monitor/threading.d.ts +1 -1
- package/dist/discord/pluralkit.d.ts +26 -0
- package/dist/discord/pluralkit.js +27 -0
- package/dist/discord/send.shared.d.ts +2 -2
- package/dist/discord/targets.d.ts +1 -1
- package/dist/gateway/boot.js +1 -1
- package/dist/gateway/call.js +2 -2
- package/dist/gateway/client.js +2 -2
- package/dist/gateway/config-reload.d.ts +1 -1
- package/dist/gateway/hooks-mapping.d.ts +1 -1
- package/dist/gateway/open-responses.schema.d.ts +6 -6
- package/dist/gateway/openresponses-http.d.ts +1 -1
- package/dist/gateway/openresponses-http.js +2 -2
- package/dist/gateway/protocol/index.d.ts +12 -12
- package/dist/gateway/protocol/schema/frames.d.ts +2 -2
- package/dist/gateway/protocol/schema/primitives.d.ts +2 -2
- package/dist/gateway/protocol/schema/protocol-schemas.js +1 -1
- package/dist/gateway/protocol/schema/types.d.ts +1 -1
- package/dist/gateway/server/health-state.d.ts +1 -1
- package/dist/gateway/server/health-state.js +1 -1
- package/dist/gateway/server/ws-connection/message-handler.js +3 -3
- package/dist/gateway/server-channels.d.ts +1 -1
- package/dist/gateway/server-close.d.ts +1 -1
- package/dist/gateway/server-http.d.ts +1 -1
- package/dist/gateway/server-http.js +2 -2
- package/dist/gateway/server-maintenance.d.ts +1 -1
- package/dist/gateway/server-maintenance.js +1 -1
- package/dist/gateway/server-methods/agent.js +5 -5
- package/dist/gateway/server-methods/channels.d.ts +1 -1
- package/dist/gateway/server-methods/channels.js +1 -1
- package/dist/gateway/server-methods/chat.js +3 -3
- package/dist/gateway/server-methods/config.js +2 -2
- package/dist/gateway/server-methods/nodes.js +3 -3
- package/dist/gateway/server-methods/send.js +3 -3
- package/dist/gateway/server-methods/types.d.ts +1 -1
- package/dist/gateway/server-methods/update.js +1 -1
- package/dist/gateway/server-methods/usage.js +1 -1
- package/dist/gateway/server-reload-handlers.js +2 -2
- package/dist/gateway/server-runtime-state.d.ts +4 -4
- package/dist/gateway/server-runtime-state.js +3 -3
- package/dist/gateway/server-startup.js +1 -1
- package/dist/gateway/server-ws-runtime.d.ts +1 -1
- package/dist/gateway/server.impl.js +15 -15
- package/dist/gateway/session-utils.d.ts +1 -1
- package/dist/gateway/sessions-patch.js +1 -1
- package/dist/gateway/test-helpers.mocks.js +1 -1
- package/dist/gateway/test-helpers.server.d.ts +1 -1
- package/dist/gateway/test-helpers.server.js +1 -1
- package/dist/gateway/tools-invoke-http.js +1 -1
- package/dist/gateway/ws-log.js +2 -2
- package/dist/hooks/bundled/command-logger/handler.js +1 -1
- package/dist/hooks/bundled/session-memory/handler.js +1 -1
- package/dist/hooks/gmail-ops.js +2 -2
- package/dist/hooks/gmail-watcher.js +1 -1
- package/dist/hooks/install.js +1 -1
- package/dist/hooks/llm-slug-generator.js +1 -1
- package/dist/hooks/loader.js +3 -3
- package/dist/imessage/monitor/monitor-provider.js +3 -3
- package/dist/imessage/send.js +1 -1
- package/dist/index.js +1 -1
- package/dist/infra/archive.js +1 -1
- package/dist/infra/dotenv.js +1 -1
- package/dist/infra/gateway-lock.js +1 -1
- package/dist/infra/heartbeat-runner.d.ts +1 -1
- package/dist/infra/heartbeat-runner.js +2 -2
- package/dist/infra/net/ssrf.d.ts +1 -1
- package/dist/infra/net/ssrf.js +1 -1
- package/dist/infra/outbound/agent-delivery.d.ts +2 -2
- package/dist/infra/outbound/deliver.d.ts +1 -1
- package/dist/infra/outbound/deliver.js +1 -1
- package/dist/infra/outbound/message-action-runner.d.ts +1 -1
- package/dist/infra/outbound/message-action-runner.js +6 -6
- package/dist/infra/outbound/outbound-policy.js +1 -1
- package/dist/infra/outbound/outbound-session.d.ts +1 -1
- package/dist/infra/outbound/outbound-session.js +1 -1
- package/dist/infra/outbound/target-resolver.js +1 -1
- package/dist/infra/path-env.js +1 -1
- package/dist/infra/ports-inspect.js +1 -1
- package/dist/infra/provider-usage.load.d.ts +1 -1
- package/dist/infra/provider-usage.load.js +1 -1
- package/dist/infra/skills-remote.js +3 -3
- package/dist/infra/state-migrations.fs.js +1 -1
- package/dist/infra/state-migrations.js +1 -1
- package/dist/infra/tailscale.js +1 -1
- package/dist/infra/update-runner.js +2 -2
- package/dist/infra/update-startup.js +3 -3
- package/dist/line/auto-reply-delivery.d.ts +1 -1
- package/dist/line/bot-handlers.d.ts +1 -1
- package/dist/line/bot-handlers.js +1 -1
- package/dist/line/download.js +2 -2
- package/dist/line/monitor.js +8 -8
- package/dist/line/webhook.d.ts +1 -1
- package/dist/link-understanding/apply.d.ts +1 -1
- package/dist/link-understanding/runner.d.ts +1 -1
- package/dist/link-understanding/runner.js +1 -1
- package/dist/logging/config.js +1 -1
- package/dist/logging/console.js +1 -1
- package/dist/logging/logger.js +2 -2
- package/dist/logging/subsystem.js +2 -2
- package/dist/media/host.js +1 -1
- package/dist/media/input-files.js +1 -1
- package/dist/media/mime.js +1 -1
- package/dist/media/server.js +2 -2
- package/dist/media/store.js +1 -1
- package/dist/media-understanding/apply.d.ts +1 -1
- package/dist/media-understanding/apply.js +2 -2
- package/dist/media-understanding/attachments.js +2 -2
- package/dist/media-understanding/providers/image.js +2 -2
- package/dist/media-understanding/resolve.d.ts +1 -1
- package/dist/media-understanding/runner.d.ts +2 -2
- package/dist/media-understanding/runner.js +3 -3
- package/dist/memory/batch-gemini.js +1 -1
- package/dist/memory/manager-cache-key.js +1 -1
- package/dist/memory/manager.js +6 -6
- package/dist/memory/provider-key.js +1 -1
- package/dist/node-host/runner.js +10 -10
- package/dist/plugins/discovery.d.ts +1 -1
- package/dist/plugins/hook-runner-global.d.ts +1 -1
- package/dist/plugins/http-registry.js +1 -1
- package/dist/plugins/install.js +1 -1
- package/dist/plugins/loader.d.ts +1 -1
- package/dist/plugins/loader.js +5 -5
- package/dist/plugins/manifest-registry.d.ts +1 -1
- package/dist/plugins/manifest.d.ts +1 -1
- package/dist/plugins/providers.d.ts +1 -1
- package/dist/plugins/registry.d.ts +3 -3
- package/dist/plugins/registry.js +1 -1
- package/dist/plugins/runtime/index.js +22 -22
- package/dist/plugins/status.d.ts +1 -1
- package/dist/plugins/types.d.ts +6 -6
- package/dist/process/exec.js +23 -2
- package/dist/routing/resolve-route.d.ts +3 -1
- package/dist/routing/resolve-route.js +10 -0
- package/dist/security/audit-extra.js +8 -8
- package/dist/security/audit.d.ts +2 -2
- package/dist/security/audit.js +5 -5
- package/dist/security/fix.js +4 -4
- package/dist/sessions/level-overrides.d.ts +1 -1
- package/dist/signal/monitor/event-handler.js +2 -2
- package/dist/signal/monitor.js +1 -1
- package/dist/slack/directory-live.d.ts +1 -1
- package/dist/slack/directory-live.js +1 -1
- package/dist/slack/monitor/context.d.ts +2 -2
- package/dist/slack/monitor/context.js +1 -1
- package/dist/slack/monitor/events/channels.js +2 -2
- package/dist/slack/monitor/message-handler/dispatch.js +1 -1
- package/dist/slack/monitor/message-handler/prepare.d.ts +1 -1
- package/dist/slack/monitor/message-handler/prepare.js +8 -8
- package/dist/slack/monitor/message-handler/types.d.ts +1 -1
- package/dist/slack/monitor/provider.js +3 -3
- package/dist/slack/monitor/replies.js +1 -1
- package/dist/slack/monitor/slash.js +6 -6
- package/dist/slack/send.js +1 -1
- package/dist/telegram/bot/delivery.d.ts +1 -1
- package/dist/telegram/bot/delivery.js +4 -4
- package/dist/telegram/bot/helpers.d.ts +4 -3
- package/dist/telegram/bot-handlers.d.ts +2 -15
- package/dist/telegram/bot-handlers.js +5 -5
- package/dist/telegram/bot-message-context.d.ts +2 -1
- package/dist/telegram/bot-message-context.js +9 -7
- package/dist/telegram/bot-message-dispatch.d.ts +1 -12
- package/dist/telegram/bot-message-dispatch.js +11 -16
- package/dist/telegram/bot-native-commands.d.ts +29 -2
- package/dist/telegram/bot-native-commands.js +17 -11
- package/dist/telegram/bot.js +9 -5
- package/dist/telegram/draft-stream.js +8 -5
- package/dist/telegram/monitor.js +1 -1
- package/dist/telegram/send.d.ts +1 -1
- package/dist/telegram/send.js +6 -6
- package/dist/telegram/sticker-cache.js +4 -4
- package/dist/telegram/webhook-set.js +1 -1
- package/dist/telegram/webhook.js +3 -3
- package/dist/terminal/table.js +1 -1
- package/dist/tts/tts.js +5 -5
- package/dist/tui/components/filterable-select-list.d.ts +1 -1
- package/dist/tui/tui-formatters.js +1 -1
- package/dist/tui/tui.js +1 -1
- package/dist/web/auth-store.d.ts +1 -1
- package/dist/web/auth-store.js +1 -1
- package/dist/web/auto-reply/deliver-reply.d.ts +2 -2
- package/dist/web/auto-reply/deliver-reply.js +1 -1
- package/dist/web/auto-reply/heartbeat-runner.js +1 -1
- package/dist/web/auto-reply/monitor/ack-reaction.js +1 -1
- package/dist/web/auto-reply/monitor/group-gating.js +2 -2
- package/dist/web/auto-reply/monitor/message-line.d.ts +1 -1
- package/dist/web/auto-reply/monitor/process-message.js +3 -3
- package/dist/web/auto-reply/monitor.d.ts +1 -1
- package/dist/web/auto-reply/monitor.js +3 -3
- package/dist/web/inbound/monitor.js +1 -1
- package/dist/web/login-qr.js +1 -1
- package/dist/web/login.js +1 -1
- package/dist/web/media.js +1 -1
- package/dist/web/outbound.js +3 -3
- package/dist/web/session.js +2 -2
- package/dist/wizard/onboarding.finalize.js +3 -3
- package/dist/wizard/onboarding.js +4 -4
- package/docs/automation/auth-monitoring.md +1 -0
- package/docs/automation/cron-jobs.md +3 -0
- package/docs/automation/cron-vs-heartbeat.md +1 -0
- package/docs/automation/gmail-pubsub.md +1 -0
- package/docs/automation/poll.md +1 -0
- package/docs/automation/webhook.md +1 -0
- package/docs/bedrock.md +1 -0
- package/docs/brave-search.md +1 -0
- package/docs/broadcast-groups.md +1 -0
- package/docs/channels/bluebubbles.md +1 -0
- package/docs/channels/discord.md +30 -0
- package/docs/channels/googlechat.md +1 -0
- package/docs/channels/grammy.md +1 -0
- package/docs/channels/imessage.md +1 -0
- package/docs/channels/index.md +1 -0
- package/docs/channels/line.md +1 -0
- package/docs/channels/location.md +1 -0
- package/docs/channels/matrix.md +1 -0
- package/docs/channels/mattermost.md +1 -0
- package/docs/channels/msteams.md +1 -0
- package/docs/channels/nextcloud-talk.md +1 -0
- package/docs/channels/nostr.md +1 -0
- package/docs/channels/signal.md +1 -0
- package/docs/channels/slack.md +1 -0
- package/docs/channels/telegram.md +13 -0
- package/docs/channels/tlon.md +1 -0
- package/docs/channels/troubleshooting.md +1 -0
- package/docs/channels/twitch.md +1 -0
- package/docs/channels/whatsapp.md +1 -0
- package/docs/channels/zalo.md +1 -0
- package/docs/channels/zalouser.md +1 -0
- package/docs/cli/acp.md +1 -0
- package/docs/cli/agent.md +1 -0
- package/docs/cli/agents.md +1 -0
- package/docs/cli/approvals.md +1 -0
- package/docs/cli/browser.md +1 -0
- package/docs/cli/channels.md +1 -0
- package/docs/cli/config.md +1 -0
- package/docs/cli/configure.md +1 -0
- package/docs/cli/cron.md +1 -0
- package/docs/cli/dashboard.md +1 -0
- package/docs/cli/devices.md +1 -0
- package/docs/cli/directory.md +1 -0
- package/docs/cli/dns.md +1 -0
- package/docs/cli/docs.md +1 -0
- package/docs/cli/doctor.md +1 -0
- package/docs/cli/gateway.md +1 -0
- package/docs/cli/health.md +1 -0
- package/docs/cli/hooks.md +1 -0
- package/docs/cli/index.md +1 -0
- package/docs/cli/logs.md +1 -0
- package/docs/cli/memory.md +1 -0
- package/docs/cli/message.md +1 -0
- package/docs/cli/models.md +1 -0
- package/docs/cli/node.md +1 -0
- package/docs/cli/nodes.md +1 -0
- package/docs/cli/onboard.md +1 -0
- package/docs/cli/pairing.md +1 -0
- package/docs/cli/plugins.md +1 -0
- package/docs/cli/reset.md +1 -0
- package/docs/cli/security.md +1 -0
- package/docs/cli/sessions.md +1 -0
- package/docs/cli/setup.md +1 -0
- package/docs/cli/skills.md +1 -0
- package/docs/cli/status.md +1 -0
- package/docs/cli/system.md +1 -0
- package/docs/cli/tui.md +1 -0
- package/docs/cli/uninstall.md +1 -0
- package/docs/cli/update.md +1 -0
- package/docs/cli/voicecall.md +1 -0
- package/docs/cli/webhooks.md +1 -0
- package/docs/concepts/agent-loop.md +1 -0
- package/docs/concepts/agent-workspace.md +1 -0
- package/docs/concepts/agent.md +1 -0
- package/docs/concepts/architecture.md +1 -0
- package/docs/concepts/channel-routing.md +1 -0
- package/docs/concepts/compaction.md +1 -0
- package/docs/concepts/context.md +1 -0
- package/docs/concepts/group-messages.md +1 -0
- package/docs/concepts/groups.md +1 -0
- package/docs/concepts/markdown-formatting.md +1 -0
- package/docs/concepts/memory.md +1 -0
- package/docs/concepts/messages.md +1 -0
- package/docs/concepts/model-failover.md +1 -0
- package/docs/concepts/model-providers.md +1 -0
- package/docs/concepts/models.md +1 -0
- package/docs/concepts/oauth.md +1 -0
- package/docs/concepts/presence.md +1 -0
- package/docs/concepts/queue.md +1 -0
- package/docs/concepts/retry.md +1 -0
- package/docs/concepts/session-pruning.md +1 -0
- package/docs/concepts/session-tool.md +1 -0
- package/docs/concepts/session.md +1 -0
- package/docs/concepts/sessions.md +1 -0
- package/docs/concepts/streaming.md +1 -0
- package/docs/concepts/system-prompt.md +1 -0
- package/docs/concepts/timezone.md +1 -0
- package/docs/concepts/typebox.md +1 -0
- package/docs/concepts/typing-indicators.md +1 -0
- package/docs/concepts/usage-tracking.md +1 -0
- package/docs/date-time.md +1 -0
- package/docs/debug/node-issue.md +1 -0
- package/docs/debugging.md +1 -0
- package/docs/diagnostics/flags.md +1 -0
- package/docs/docs.json +6 -6
- package/docs/environment.md +1 -0
- package/docs/experiments/onboarding-config-protocol.md +1 -0
- package/docs/experiments/plans/cron-add-hardening.md +1 -0
- package/docs/experiments/plans/group-policy-hardening.md +1 -0
- package/docs/experiments/plans/openresponses-gateway.md +1 -0
- package/docs/experiments/proposals/model-config.md +1 -0
- package/docs/experiments/research/memory.md +1 -0
- package/docs/gateway/authentication.md +1 -0
- package/docs/gateway/background-process.md +1 -0
- package/docs/gateway/bonjour.md +1 -0
- package/docs/gateway/bridge-protocol.md +1 -0
- package/docs/gateway/cli-backends.md +1 -0
- package/docs/gateway/configuration-examples.md +1 -0
- package/docs/gateway/configuration.md +1 -0
- package/docs/gateway/discovery.md +1 -0
- package/docs/gateway/doctor.md +1 -0
- package/docs/gateway/gateway-lock.md +1 -0
- package/docs/gateway/health.md +1 -0
- package/docs/gateway/heartbeat.md +1 -0
- package/docs/gateway/index.md +1 -0
- package/docs/gateway/local-models.md +1 -0
- package/docs/gateway/logging.md +1 -0
- package/docs/gateway/multiple-gateways.md +1 -0
- package/docs/gateway/openai-http-api.md +1 -0
- package/docs/gateway/openresponses-http-api.md +1 -0
- package/docs/gateway/pairing.md +1 -0
- package/docs/gateway/protocol.md +1 -0
- package/docs/gateway/remote-gateway-readme.md +1 -0
- package/docs/gateway/remote.md +1 -0
- package/docs/gateway/security/index.md +2 -1
- package/docs/gateway/tailscale.md +1 -0
- package/docs/gateway/tools-invoke-http-api.md +1 -0
- package/docs/gateway/troubleshooting.md +3 -2
- package/docs/help/faq.md +10 -9
- package/docs/help/index.md +1 -0
- package/docs/help/troubleshooting.md +3 -2
- package/docs/hooks/soul-evil.md +1 -0
- package/docs/hooks.md +1 -0
- package/docs/index.md +3 -2
- package/docs/install/ansible.md +1 -0
- package/docs/install/bun.md +1 -0
- package/docs/install/development-channels.md +1 -0
- package/docs/install/docker.md +1 -0
- package/docs/install/index.md +7 -6
- package/docs/install/installer.md +7 -6
- package/docs/install/migrating.md +1 -0
- package/docs/install/nix.md +1 -0
- package/docs/install/uninstall.md +2 -1
- package/docs/install/updating.md +4 -3
- package/docs/logging.md +1 -0
- package/docs/network.md +1 -0
- package/docs/nodes/audio.md +1 -0
- package/docs/nodes/camera.md +1 -0
- package/docs/nodes/images.md +1 -0
- package/docs/nodes/index.md +1 -0
- package/docs/nodes/location-command.md +1 -0
- package/docs/nodes/media-understanding.md +1 -0
- package/docs/nodes/talk.md +1 -0
- package/docs/nodes/voicewake.md +1 -0
- package/docs/perplexity.md +1 -0
- package/docs/pi-dev.md +4 -0
- package/docs/pi.md +4 -0
- package/docs/platforms/android.md +1 -0
- package/docs/platforms/digitalocean.md +2 -1
- package/docs/platforms/exe-dev.md +2 -1
- package/docs/platforms/gcp.md +1 -0
- package/docs/platforms/hetzner.md +1 -0
- package/docs/platforms/index.md +1 -0
- package/docs/platforms/ios.md +1 -0
- package/docs/platforms/linux.md +1 -0
- package/docs/platforms/mac/bundled-gateway.md +1 -0
- package/docs/platforms/mac/canvas.md +1 -0
- package/docs/platforms/mac/child-process.md +1 -0
- package/docs/platforms/mac/dev-setup.md +1 -0
- package/docs/platforms/mac/health.md +1 -0
- package/docs/platforms/mac/icon.md +1 -0
- package/docs/platforms/mac/logging.md +1 -0
- package/docs/platforms/mac/menu-bar.md +1 -0
- package/docs/platforms/mac/peekaboo.md +1 -0
- package/docs/platforms/mac/permissions.md +1 -0
- package/docs/platforms/mac/release.md +1 -0
- package/docs/platforms/mac/remote.md +1 -0
- package/docs/platforms/mac/signing.md +1 -0
- package/docs/platforms/mac/skills.md +1 -0
- package/docs/platforms/mac/voice-overlay.md +1 -0
- package/docs/platforms/mac/voicewake.md +1 -0
- package/docs/platforms/mac/webchat.md +1 -0
- package/docs/platforms/mac/xpc.md +1 -0
- package/docs/platforms/macos-vm.md +1 -0
- package/docs/platforms/macos.md +1 -0
- package/docs/platforms/oracle.md +2 -1
- package/docs/platforms/raspberry-pi.md +2 -1
- package/docs/platforms/windows.md +1 -0
- package/docs/plugin.md +1 -0
- package/docs/plugins/agent-tools.md +1 -0
- package/docs/plugins/manifest.md +1 -0
- package/docs/plugins/voice-call.md +1 -0
- package/docs/plugins/zalouser.md +1 -0
- package/docs/prose.md +1 -0
- package/docs/providers/anthropic.md +1 -0
- package/docs/providers/claude-max-api-proxy.md +1 -0
- package/docs/providers/deepgram.md +1 -0
- package/docs/providers/github-copilot.md +1 -0
- package/docs/providers/glm.md +1 -0
- package/docs/providers/index.md +4 -3
- package/docs/providers/minimax.md +5 -4
- package/docs/providers/models.md +4 -3
- package/docs/providers/moonshot.md +1 -0
- package/docs/providers/ollama.md +1 -0
- package/docs/providers/openai.md +1 -0
- package/docs/providers/opencode.md +1 -0
- package/docs/providers/openrouter.md +1 -0
- package/docs/providers/qwen.md +1 -0
- package/docs/providers/synthetic.md +1 -0
- package/docs/providers/venice.md +1 -0
- package/docs/providers/xiaomi.md +1 -0
- package/docs/providers/zai.md +1 -0
- package/docs/refactor/clawnet.md +1 -0
- package/docs/refactor/exec-host.md +1 -0
- package/docs/refactor/plugin-sdk.md +1 -0
- package/docs/refactor/strict-config.md +1 -0
- package/docs/reference/RELEASING.md +1 -1
- package/docs/reference/api-usage-costs.md +1 -0
- package/docs/reference/device-models.md +1 -0
- package/docs/reference/rpc.md +1 -0
- package/docs/reference/session-management-compaction.md +1 -0
- package/docs/reference/test.md +1 -0
- package/docs/reference/transcript-hygiene.md +1 -0
- package/docs/scripts.md +1 -0
- package/docs/start/getting-started.md +2 -1
- package/docs/start/hubs.md +1 -0
- package/docs/start/lore.md +1 -0
- package/docs/start/onboarding.md +1 -0
- package/docs/start/openclaw.md +2 -1
- package/docs/start/pairing.md +1 -0
- package/docs/start/setup.md +1 -0
- package/docs/start/wizard.md +1 -0
- package/docs/testing.md +1 -0
- package/docs/token-use.md +1 -0
- package/docs/tools/agent-send.md +1 -0
- package/docs/tools/apply-patch.md +1 -0
- package/docs/tools/browser-linux-troubleshooting.md +1 -0
- package/docs/tools/browser-login.md +1 -0
- package/docs/tools/browser.md +1 -0
- package/docs/tools/chrome-extension.md +1 -0
- package/docs/tools/clawhub.md +1 -0
- package/docs/tools/creating-skills.md +4 -0
- package/docs/tools/elevated.md +1 -0
- package/docs/tools/exec-approvals.md +1 -0
- package/docs/tools/exec.md +1 -0
- package/docs/tools/firecrawl.md +1 -0
- package/docs/tools/index.md +1 -0
- package/docs/tools/llm-task.md +1 -0
- package/docs/tools/reactions.md +1 -0
- package/docs/tools/skills-config.md +1 -0
- package/docs/tools/skills.md +1 -0
- package/docs/tools/slash-commands.md +1 -0
- package/docs/tools/subagents.md +1 -0
- package/docs/tools/thinking.md +1 -0
- package/docs/tools/web.md +1 -0
- package/docs/tts.md +1 -0
- package/docs/tui.md +1 -0
- package/docs/vps.md +1 -0
- package/docs/web/control-ui.md +1 -0
- package/docs/web/dashboard.md +1 -0
- package/docs/web/index.md +1 -0
- package/docs/web/webchat.md +1 -0
- package/extensions/bluebubbles/index.ts +0 -1
- package/extensions/bluebubbles/src/actions.test.ts +1 -2
- package/extensions/bluebubbles/src/actions.ts +6 -7
- package/extensions/bluebubbles/src/attachments.test.ts +1 -2
- package/extensions/bluebubbles/src/attachments.ts +1 -1
- package/extensions/bluebubbles/src/channel.ts +4 -5
- package/extensions/bluebubbles/src/chat.test.ts +0 -1
- package/extensions/bluebubbles/src/chat.ts +1 -1
- package/extensions/bluebubbles/src/media-send.ts +0 -2
- package/extensions/bluebubbles/src/monitor.test.ts +3 -4
- package/extensions/bluebubbles/src/monitor.ts +7 -8
- package/extensions/bluebubbles/src/onboarding.ts +1 -1
- package/extensions/bluebubbles/src/reactions.test.ts +0 -1
- package/extensions/bluebubbles/src/reactions.ts +1 -1
- package/extensions/bluebubbles/src/send.test.ts +1 -2
- package/extensions/bluebubbles/src/send.ts +1 -2
- package/extensions/bluebubbles/src/targets.test.ts +0 -1
- package/extensions/diagnostics-otel/index.ts +0 -1
- package/extensions/diagnostics-otel/src/service.test.ts +1 -1
- package/extensions/diagnostics-otel/src/service.ts +2 -3
- package/extensions/discord/index.ts +0 -1
- package/extensions/discord/src/channel.ts +0 -1
- package/extensions/google-gemini-cli-auth/index.ts +0 -1
- package/extensions/google-gemini-cli-auth/oauth.test.ts +1 -1
- package/extensions/googlechat/index.ts +0 -1
- package/extensions/googlechat/src/accounts.ts +0 -1
- package/extensions/googlechat/src/actions.ts +0 -1
- package/extensions/googlechat/src/api.test.ts +0 -1
- package/extensions/googlechat/src/api.ts +1 -2
- package/extensions/googlechat/src/auth.ts +0 -1
- package/extensions/googlechat/src/channel.ts +1 -2
- package/extensions/googlechat/src/monitor.test.ts +0 -1
- package/extensions/googlechat/src/monitor.ts +8 -10
- package/extensions/googlechat/src/onboarding.ts +0 -1
- package/extensions/googlechat/src/targets.test.ts +0 -1
- package/extensions/imessage/index.ts +0 -1
- package/extensions/imessage/src/channel.ts +0 -1
- package/extensions/line/index.ts +1 -2
- package/extensions/line/src/channel.logout.test.ts +1 -1
- package/extensions/line/src/channel.sendPayload.test.ts +1 -1
- package/extensions/line/src/channel.ts +0 -1
- package/extensions/llm-task/index.ts +0 -1
- package/extensions/llm-task/src/llm-task-tool.ts +3 -6
- package/extensions/lobster/index.ts +0 -1
- package/extensions/lobster/src/lobster-tool.test.ts +133 -32
- package/extensions/lobster/src/lobster-tool.ts +87 -11
- package/extensions/matrix/index.ts +0 -1
- package/extensions/matrix/src/actions.ts +1 -1
- package/extensions/matrix/src/channel.directory.test.ts +1 -3
- package/extensions/matrix/src/channel.ts +2 -3
- package/extensions/matrix/src/directory-live.ts +0 -1
- package/extensions/matrix/src/group-mentions.ts +1 -2
- package/extensions/matrix/src/matrix/accounts.test.ts +0 -1
- package/extensions/matrix/src/matrix/actions/client.ts +2 -2
- package/extensions/matrix/src/matrix/actions/messages.ts +3 -3
- package/extensions/matrix/src/matrix/actions/pins.ts +3 -3
- package/extensions/matrix/src/matrix/actions/reactions.ts +2 -2
- package/extensions/matrix/src/matrix/actions/room.ts +2 -2
- package/extensions/matrix/src/matrix/actions/summary.ts +0 -1
- package/extensions/matrix/src/matrix/client/config.ts +1 -2
- package/extensions/matrix/src/matrix/client/create-client.ts +2 -4
- package/extensions/matrix/src/matrix/client/shared.ts +3 -4
- package/extensions/matrix/src/matrix/client/storage.ts +1 -2
- package/extensions/matrix/src/matrix/client.test.ts +0 -1
- package/extensions/matrix/src/matrix/credentials.ts +0 -1
- package/extensions/matrix/src/matrix/deps.ts +2 -3
- package/extensions/matrix/src/matrix/format.test.ts +0 -1
- package/extensions/matrix/src/matrix/monitor/auto-join.ts +1 -2
- package/extensions/matrix/src/matrix/monitor/events.ts +0 -1
- package/extensions/matrix/src/matrix/monitor/handler.ts +2 -3
- package/extensions/matrix/src/matrix/monitor/index.ts +2 -3
- package/extensions/matrix/src/matrix/monitor/location.ts +0 -1
- package/extensions/matrix/src/matrix/monitor/media.test.ts +1 -2
- package/extensions/matrix/src/matrix/monitor/media.ts +0 -1
- package/extensions/matrix/src/matrix/monitor/replies.ts +1 -2
- package/extensions/matrix/src/matrix/monitor/rooms.ts +1 -1
- package/extensions/matrix/src/matrix/poll-types.test.ts +0 -1
- package/extensions/matrix/src/matrix/send/client.ts +1 -2
- package/extensions/matrix/src/matrix/send/formatting.ts +1 -1
- package/extensions/matrix/src/matrix/send/media.ts +1 -2
- package/extensions/matrix/src/matrix/send/targets.test.ts +1 -2
- package/extensions/matrix/src/matrix/send/targets.ts +0 -1
- package/extensions/matrix/src/matrix/send.test.ts +1 -2
- package/extensions/matrix/src/matrix/send.ts +0 -1
- package/extensions/matrix/src/onboarding.ts +1 -1
- package/extensions/matrix/src/outbound.ts +1 -2
- package/extensions/matrix/src/resolve-targets.ts +0 -1
- package/extensions/matrix/src/tool-actions.ts +7 -8
- package/extensions/mattermost/index.ts +0 -1
- package/extensions/mattermost/src/channel.test.ts +0 -1
- package/extensions/mattermost/src/channel.ts +2 -3
- package/extensions/mattermost/src/config-schema.ts +1 -2
- package/extensions/mattermost/src/group-mentions.ts +0 -1
- package/extensions/mattermost/src/mattermost/accounts.ts +0 -1
- package/extensions/mattermost/src/mattermost/monitor-helpers.ts +2 -4
- package/extensions/mattermost/src/mattermost/monitor.ts +1 -3
- package/extensions/mattermost/src/onboarding.ts +0 -1
- package/extensions/memory-lancedb/index.test.ts +2 -2
- package/extensions/memory-lancedb/index.ts +3 -4
- package/extensions/minimax-portal-auth/index.ts +1 -2
- package/extensions/minimax-portal-auth/oauth.ts +1 -1
- package/extensions/msteams/index.ts +0 -1
- package/extensions/msteams/src/attachments/download.ts +5 -5
- package/extensions/msteams/src/attachments/graph.ts +6 -6
- package/extensions/msteams/src/attachments/html.ts +1 -1
- package/extensions/msteams/src/attachments.test.ts +1 -2
- package/extensions/msteams/src/channel.directory.test.ts +1 -3
- package/extensions/msteams/src/channel.ts +2 -3
- package/extensions/msteams/src/conversation-store-fs.test.ts +1 -3
- package/extensions/msteams/src/directory-live.ts +0 -1
- package/extensions/msteams/src/errors.test.ts +0 -1
- package/extensions/msteams/src/inbound.test.ts +0 -1
- package/extensions/msteams/src/media-helpers.test.ts +0 -1
- package/extensions/msteams/src/media-helpers.ts +0 -1
- package/extensions/msteams/src/messenger.test.ts +1 -2
- package/extensions/msteams/src/monitor-handler/inbound-media.ts +1 -1
- package/extensions/msteams/src/monitor-handler/message-handler.ts +4 -5
- package/extensions/msteams/src/monitor-handler.ts +3 -3
- package/extensions/msteams/src/monitor.ts +2 -2
- package/extensions/msteams/src/onboarding.ts +1 -2
- package/extensions/msteams/src/outbound.ts +0 -1
- package/extensions/msteams/src/policy.test.ts +1 -2
- package/extensions/msteams/src/polls-store.test.ts +1 -3
- package/extensions/msteams/src/polls.test.ts +1 -3
- package/extensions/msteams/src/polls.ts +0 -1
- package/extensions/msteams/src/probe.test.ts +1 -2
- package/extensions/msteams/src/reply-dispatcher.ts +2 -2
- package/extensions/msteams/src/send-context.ts +1 -1
- package/extensions/msteams/src/send.ts +1 -1
- package/extensions/msteams/src/sent-message-cache.test.ts +0 -1
- package/extensions/msteams/src/storage.ts +0 -1
- package/extensions/msteams/src/store-fs.ts +0 -1
- package/extensions/nextcloud-talk/index.ts +0 -1
- package/extensions/nextcloud-talk/src/accounts.ts +0 -2
- package/extensions/nextcloud-talk/src/channel.ts +2 -3
- package/extensions/nextcloud-talk/src/inbound.ts +2 -3
- package/extensions/nextcloud-talk/src/monitor.ts +5 -7
- package/extensions/nextcloud-talk/src/onboarding.ts +1 -2
- package/extensions/nextcloud-talk/src/policy.ts +0 -1
- package/extensions/nextcloud-talk/src/room-info.ts +1 -3
- package/extensions/nextcloud-talk/src/send.ts +1 -1
- package/extensions/nextcloud-talk/src/signature.ts +0 -1
- package/extensions/nostr/index.ts +2 -3
- package/extensions/nostr/src/channel.ts +4 -5
- package/extensions/nostr/src/nostr-bus.fuzz.test.ts +1 -1
- package/extensions/nostr/src/nostr-bus.integration.test.ts +1 -1
- package/extensions/nostr/src/nostr-bus.ts +9 -10
- package/extensions/nostr/src/nostr-profile-http.test.ts +1 -2
- package/extensions/nostr/src/nostr-profile-http.ts +1 -2
- package/extensions/nostr/src/nostr-profile-import.test.ts +1 -2
- package/extensions/nostr/src/nostr-profile-import.ts +1 -2
- package/extensions/nostr/src/nostr-profile.fuzz.test.ts +1 -1
- package/extensions/nostr/src/nostr-profile.test.ts +2 -2
- package/extensions/nostr/src/nostr-state-store.test.ts +1 -3
- package/extensions/nostr/src/nostr-state-store.ts +0 -1
- package/extensions/nostr/src/types.ts +1 -1
- package/extensions/qwen-portal-auth/index.ts +0 -1
- package/extensions/signal/index.ts +0 -1
- package/extensions/signal/src/channel.ts +0 -1
- package/extensions/slack/index.ts +0 -1
- package/extensions/slack/src/channel.ts +0 -1
- package/extensions/telegram/index.ts +0 -1
- package/extensions/telegram/src/channel.ts +0 -1
- package/extensions/tlon/index.ts +0 -1
- package/extensions/tlon/src/channel.ts +4 -5
- package/extensions/tlon/src/config-schema.test.ts +0 -1
- package/extensions/tlon/src/config-schema.ts +1 -1
- package/extensions/tlon/src/monitor/discovery.ts +0 -1
- package/extensions/tlon/src/monitor/history.ts +0 -1
- package/extensions/tlon/src/monitor/index.ts +4 -6
- package/extensions/tlon/src/monitor/processed-messages.test.ts +0 -1
- package/extensions/tlon/src/onboarding.ts +2 -3
- package/extensions/tlon/src/urbit/sse-client.test.ts +0 -1
- package/extensions/twitch/index.ts +0 -1
- package/extensions/twitch/src/access-control.test.ts +1 -1
- package/extensions/twitch/src/actions.ts +1 -1
- package/extensions/twitch/src/client-manager-registry.ts +1 -1
- package/extensions/twitch/src/config.test.ts +0 -1
- package/extensions/twitch/src/monitor.ts +1 -1
- package/extensions/twitch/src/onboarding.test.ts +1 -1
- package/extensions/twitch/src/onboarding.ts +2 -2
- package/extensions/twitch/src/outbound.test.ts +1 -1
- package/extensions/twitch/src/outbound.ts +2 -2
- package/extensions/twitch/src/plugin.test.ts +1 -1
- package/extensions/twitch/src/plugin.ts +11 -11
- package/extensions/twitch/src/probe.test.ts +1 -1
- package/extensions/twitch/src/send.test.ts +1 -1
- package/extensions/twitch/src/send.ts +2 -2
- package/extensions/twitch/src/status.test.ts +1 -1
- package/extensions/twitch/src/status.ts +1 -1
- package/extensions/twitch/src/token.test.ts +1 -1
- package/extensions/twitch/src/twitch-client.test.ts +1 -1
- package/extensions/twitch/src/twitch-client.ts +1 -1
- package/extensions/twitch/src/types.ts +9 -9
- package/extensions/voice-call/index.ts +1 -1
- package/extensions/voice-call/src/cli.ts +1 -3
- package/extensions/voice-call/src/config.test.ts +0 -1
- package/extensions/voice-call/src/core-bridge.ts +0 -1
- package/extensions/voice-call/src/manager/context.ts +1 -1
- package/extensions/voice-call/src/manager/events.ts +1 -2
- package/extensions/voice-call/src/manager/outbound.ts +3 -4
- package/extensions/voice-call/src/manager/store.ts +0 -1
- package/extensions/voice-call/src/manager/timers.ts +1 -1
- package/extensions/voice-call/src/manager.test.ts +3 -5
- package/extensions/voice-call/src/manager.ts +1 -2
- package/extensions/voice-call/src/media-stream.test.ts +0 -1
- package/extensions/voice-call/src/media-stream.ts +0 -2
- package/extensions/voice-call/src/providers/mock.ts +0 -1
- package/extensions/voice-call/src/providers/plivo.test.ts +0 -1
- package/extensions/voice-call/src/providers/plivo.ts +1 -2
- package/extensions/voice-call/src/providers/telnyx.ts +0 -1
- package/extensions/voice-call/src/providers/twilio/webhook.ts +1 -2
- package/extensions/voice-call/src/providers/twilio.test.ts +0 -1
- package/extensions/voice-call/src/providers/twilio.ts +3 -4
- package/extensions/voice-call/src/response-generator.ts +1 -3
- package/extensions/voice-call/src/runtime.ts +3 -3
- package/extensions/voice-call/src/telephony-tts.ts +1 -1
- package/extensions/voice-call/src/tunnel.ts +0 -1
- package/extensions/voice-call/src/types.ts +0 -1
- package/extensions/voice-call/src/webhook-security.test.ts +0 -2
- package/extensions/voice-call/src/webhook-security.ts +0 -1
- package/extensions/voice-call/src/webhook.ts +2 -3
- package/extensions/whatsapp/index.ts +0 -1
- package/extensions/whatsapp/src/channel.ts +0 -1
- package/extensions/zalo/index.ts +0 -1
- package/extensions/zalo/src/accounts.ts +0 -1
- package/extensions/zalo/src/actions.ts +0 -1
- package/extensions/zalo/src/channel.directory.test.ts +1 -3
- package/extensions/zalo/src/channel.ts +1 -2
- package/extensions/zalo/src/monitor.ts +0 -2
- package/extensions/zalo/src/monitor.webhook.test.ts +2 -4
- package/extensions/zalo/src/onboarding.ts +0 -1
- package/extensions/zalo/src/proxy.ts +1 -2
- package/extensions/zalo/src/send.ts +1 -2
- package/extensions/zalo/src/token.ts +0 -2
- package/extensions/zalouser/index.ts +1 -2
- package/extensions/zalouser/src/accounts.ts +1 -2
- package/extensions/zalouser/src/channel.test.ts +0 -1
- package/extensions/zalouser/src/channel.ts +4 -4
- package/extensions/zalouser/src/monitor.ts +1 -2
- package/extensions/zalouser/src/onboarding.ts +1 -2
- package/extensions/zalouser/src/probe.ts +1 -1
- package/extensions/zalouser/src/status-issues.test.ts +0 -1
- package/extensions/zalouser/src/tool.ts +0 -1
- package/extensions/zalouser/src/zca.ts +0 -1
- package/package.json +38 -38
- package/scripts/format-staged.js +1 -1
- package/scripts/postinstall.js +1 -1
- package/scripts/setup-git-hooks.js +1 -1
- package/dist/control-ui/assets/index-B3h60Wbn.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,13 @@ Docs: https://docs.openclaw.ai
|
|
|
8
8
|
|
|
9
9
|
### Fixes
|
|
10
10
|
|
|
11
|
+
- Auto-reply: avoid referencing workspace files in /new greeting prompt. (#5706) Thanks @bravostation.
|
|
12
|
+
- Process: resolve Windows `spawn()` failures for npm-family CLIs by appending `.cmd` when needed. (#5815) Thanks @thejhinvirtuoso.
|
|
13
|
+
- Docs: update MiniMax OAuth setup commands; Extensions: use OpenClaw plugin SDK for MiniMax OAuth. (#5402) Thanks @Maosghoul.
|
|
14
|
+
- Discord: resolve PluralKit proxied senders for allowlists and labels. (#5838) Thanks @thewilloftheshadow.
|
|
15
|
+
- Telegram: restore draft streaming partials. (#5543) Thanks @obviyus.
|
|
16
|
+
- fix(lobster): block arbitrary exec via lobsterPath/cwd injection (GHSA-4mhr-g7xj-cg8j). (#5335) Thanks @vignesh07.
|
|
17
|
+
|
|
11
18
|
## 2026.1.30
|
|
12
19
|
|
|
13
20
|
### Changes
|
package/README.md
CHANGED
|
@@ -33,7 +33,19 @@
|
|
|
33
33
|
|
|
34
34
|
---
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
<a id="nav"></a>
|
|
37
|
+
## 📑 快速导航
|
|
38
|
+
|
|
39
|
+
| 🚀 快速上手 | 📦 部署方式 | 🔧 使用维护 | 🔌 插件扩展 | 💡 帮助 |
|
|
40
|
+
|:---:|:---:|:---:|:---:|:---:|
|
|
41
|
+
| [什么是 OpenClaw](#intro) | [一键安装](#install) | [快速开始](#start) | [插件市场](#plugins) | [常见问题](#faq) |
|
|
42
|
+
| [汉化效果预览](#preview) | [npm 安装](#npm) | [更新升级](#upgrade) | [安装插件](#plugin-install) | [参与贡献](#contribute) |
|
|
43
|
+
| [汉化内容](#content) | [Docker 部署](#docker) | [手动汉化安装](#manual) | [可用插件](#plugin-list) | [关于我们](#about) |
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
<a id="intro"></a>
|
|
48
|
+
## 🦞 什么是 OpenClaw? <sub>[↑ 返回目录](#nav)</sub>
|
|
37
49
|
|
|
38
50
|
[OpenClaw](https://openclaw.ai/) 是由 Peter Steinberger ([@steipete](https://twitter.com/steipete)) 创建的**开源个人 AI 助手平台**,在 GitHub 上拥有超过 **100,000+ Stars**。
|
|
39
51
|
|
|
@@ -61,7 +73,8 @@
|
|
|
61
73
|
|
|
62
74
|
---
|
|
63
75
|
|
|
64
|
-
|
|
76
|
+
<a id="preview"></a>
|
|
77
|
+
## 📸 汉化效果预览 <sub>[↑ 返回目录](#nav)</sub>
|
|
65
78
|
|
|
66
79
|
<p align="center">
|
|
67
80
|
<img src="docs/image/5.png" alt="概览仪表板" width="100%">
|
|
@@ -106,7 +119,8 @@
|
|
|
106
119
|
|
|
107
120
|
---
|
|
108
121
|
|
|
109
|
-
|
|
122
|
+
<a id="install"></a>
|
|
123
|
+
## ⚡ 一键安装汉化版 <sub>[↑ 返回目录](#nav)</sub>
|
|
110
124
|
|
|
111
125
|
### Windows (PowerShell)
|
|
112
126
|
|
|
@@ -136,7 +150,8 @@ curl -fsSL -o install.sh https://cdn.jsdelivr.net/gh/1186258278/OpenClawChineseT
|
|
|
136
150
|
|
|
137
151
|
---
|
|
138
152
|
|
|
139
|
-
|
|
153
|
+
<a id="npm"></a>
|
|
154
|
+
## 📦 其他安装方式 <sub>[↑ 返回目录](#nav)</sub>
|
|
140
155
|
|
|
141
156
|
### 版本选择
|
|
142
157
|
|
|
@@ -147,16 +162,24 @@ curl -fsSL -o install.sh https://cdn.jsdelivr.net/gh/1186258278/OpenClawChineseT
|
|
|
147
162
|
| **稳定版** | `@latest` | 手动发布 | 生产环境,经过测试,推荐使用 |
|
|
148
163
|
| **最新版** | `@nightly` | 每小时自动 | 测试新功能,追踪上游最新代码 |
|
|
149
164
|
|
|
150
|
-
### 方式 1: npm 安装
|
|
165
|
+
### 方式 1: npm / pnpm / yarn 安装
|
|
151
166
|
|
|
152
167
|
```bash
|
|
153
|
-
#
|
|
154
|
-
npm install -g @qingchencloud/openclaw-zh@latest
|
|
168
|
+
# npm 安装(推荐)
|
|
169
|
+
npm install -g @qingchencloud/openclaw-zh@latest # 稳定版
|
|
170
|
+
npm install -g @qingchencloud/openclaw-zh@nightly # 最新版
|
|
171
|
+
|
|
172
|
+
# pnpm 安装
|
|
173
|
+
pnpm add -g @qingchencloud/openclaw-zh@latest # 稳定版
|
|
174
|
+
pnpm add -g @qingchencloud/openclaw-zh@nightly # 最新版
|
|
155
175
|
|
|
156
|
-
#
|
|
157
|
-
|
|
176
|
+
# yarn 安装
|
|
177
|
+
yarn global add @qingchencloud/openclaw-zh@latest # 稳定版
|
|
178
|
+
yarn global add @qingchencloud/openclaw-zh@nightly # 最新版
|
|
158
179
|
```
|
|
159
180
|
|
|
181
|
+
> 💡 我们发布的是标准 npm 包,**npm / pnpm / yarn 都可以安装**,选择你习惯的包管理器即可。
|
|
182
|
+
|
|
160
183
|
### 方式 2: 手动下载
|
|
161
184
|
|
|
162
185
|
访问 [Releases 页面](https://github.com/1186258278/OpenClawChineseTranslation/releases) 下载最新版本。
|
|
@@ -179,7 +202,8 @@ docker run -d --name openclaw -p 18789:18789 -v openclaw-data:/root/.openclaw \
|
|
|
179
202
|
|
|
180
203
|
---
|
|
181
204
|
|
|
182
|
-
|
|
205
|
+
<a id="start"></a>
|
|
206
|
+
## 🚀 快速开始 <sub>[↑ 返回目录](#nav)</sub>
|
|
183
207
|
|
|
184
208
|
安装完成后:
|
|
185
209
|
|
|
@@ -212,7 +236,76 @@ openclaw --help # 查看帮助
|
|
|
212
236
|
|
|
213
237
|
---
|
|
214
238
|
|
|
215
|
-
|
|
239
|
+
<a id="upgrade"></a>
|
|
240
|
+
## 🔄 更新升级 <sub>[↑ 返回目录](#nav)</sub>
|
|
241
|
+
|
|
242
|
+
已安装的 OpenClaw 汉化版如何升级?根据你的安装方式选择对应方法:
|
|
243
|
+
|
|
244
|
+
### npm 安装用户
|
|
245
|
+
|
|
246
|
+
```bash
|
|
247
|
+
# 升级到最新稳定版
|
|
248
|
+
npm update -g @qingchencloud/openclaw-zh
|
|
249
|
+
|
|
250
|
+
# 或者重新安装指定版本
|
|
251
|
+
npm install -g @qingchencloud/openclaw-zh@latest # 稳定版
|
|
252
|
+
npm install -g @qingchencloud/openclaw-zh@nightly # 最新版
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
> 💡 **查看当前版本**: `openclaw --version`
|
|
256
|
+
|
|
257
|
+
### Docker 用户
|
|
258
|
+
|
|
259
|
+
```bash
|
|
260
|
+
# 1. 拉取最新镜像
|
|
261
|
+
docker pull ghcr.io/1186258278/openclaw-zh:nightly # 最新版
|
|
262
|
+
# 或
|
|
263
|
+
docker pull ghcr.io/1186258278/openclaw-zh:latest # 稳定版
|
|
264
|
+
|
|
265
|
+
# 2. 停止并删除旧容器
|
|
266
|
+
docker stop openclaw && docker rm openclaw
|
|
267
|
+
|
|
268
|
+
# 3. 用新镜像启动(配置会自动保留,因为存储在数据卷中)
|
|
269
|
+
docker run -d --name openclaw -p 18789:18789 \
|
|
270
|
+
-v openclaw-data:/root/.openclaw \
|
|
271
|
+
ghcr.io/1186258278/openclaw-zh:nightly openclaw gateway run
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
> 💡 **数据不会丢失**: 配置和数据存储在 `openclaw-data` 卷中,升级镜像不会影响。
|
|
275
|
+
|
|
276
|
+
### Docker Compose 用户
|
|
277
|
+
|
|
278
|
+
```bash
|
|
279
|
+
# 1. 拉取最新镜像
|
|
280
|
+
docker compose pull
|
|
281
|
+
|
|
282
|
+
# 2. 重新创建容器
|
|
283
|
+
docker compose up -d
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
### 一键安装脚本用户
|
|
287
|
+
|
|
288
|
+
直接重新运行安装脚本即可,会自动升级到最新版:
|
|
289
|
+
|
|
290
|
+
```bash
|
|
291
|
+
# Linux/macOS
|
|
292
|
+
curl -fsSL https://cdn.jsdelivr.net/gh/1186258278/OpenClawChineseTranslation@main/install.sh | bash
|
|
293
|
+
|
|
294
|
+
# Windows PowerShell
|
|
295
|
+
npm install -g @qingchencloud/openclaw-zh@latest
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
### 版本对比
|
|
299
|
+
|
|
300
|
+
| 版本类型 | npm 标签 | Docker 标签 | 更新频率 | 推荐场景 |
|
|
301
|
+
|----------|----------|-------------|----------|----------|
|
|
302
|
+
| **稳定版** | `@latest` | `:latest` | 手动发布 | 生产环境 |
|
|
303
|
+
| **最新版** | `@nightly` | `:nightly` | 每小时自动 | 体验新功能 |
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
<a id="content"></a>
|
|
308
|
+
## ✨ 汉化内容 <sub>[↑ 返回目录](#nav)</sub>
|
|
216
309
|
|
|
217
310
|
我们提供了**深度汉化**,覆盖 **CLI 命令行** + **Dashboard 网页控制台** 两大核心界面。
|
|
218
311
|
|
|
@@ -289,7 +382,8 @@ openclaw --help # 查看帮助
|
|
|
289
382
|
|
|
290
383
|
---
|
|
291
384
|
|
|
292
|
-
|
|
385
|
+
<a id="sync"></a>
|
|
386
|
+
## 🔄 自动同步更新 <sub>[↑ 返回目录](#nav)</sub>
|
|
293
387
|
|
|
294
388
|
- **每小时** 检测 OpenClaw 官方仓库更新
|
|
295
389
|
- **自动** 应用汉化、构建、测试
|
|
@@ -299,7 +393,61 @@ openclaw --help # 查看帮助
|
|
|
299
393
|
|
|
300
394
|
---
|
|
301
395
|
|
|
302
|
-
|
|
396
|
+
<a id="plugins"></a>
|
|
397
|
+
## 🔌 插件扩展 <sub>[↑ 返回目录](#nav)</sub>
|
|
398
|
+
|
|
399
|
+
OpenClaw 汉化版支持通过 npm 插件扩展功能。我们提供了官方插件,让你的 AI 助手更加强大!
|
|
400
|
+
|
|
401
|
+
### 插件市场
|
|
402
|
+
|
|
403
|
+
访问我们的插件市场查看所有可用插件:
|
|
404
|
+
|
|
405
|
+
<p align="center">
|
|
406
|
+
<a href="https://openclaw.qt.cool/"><img src="https://img.shields.io/badge/🛒_插件市场-openclaw.qt.cool-dc2626?style=for-the-badge" alt="插件市场"></a>
|
|
407
|
+
</p>
|
|
408
|
+
|
|
409
|
+
<a id="plugin-install"></a>
|
|
410
|
+
### 如何安装插件
|
|
411
|
+
|
|
412
|
+
```bash
|
|
413
|
+
# 全局安装插件
|
|
414
|
+
npm install -g @qingchencloud/插件包名
|
|
415
|
+
|
|
416
|
+
# 例如安装更新检测插件
|
|
417
|
+
npm install -g @qingchencloud/openclaw-updater
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
安装后重启 OpenClaw 即可使用插件提供的功能。
|
|
421
|
+
|
|
422
|
+
<a id="plugin-list"></a>
|
|
423
|
+
### 可用插件列表
|
|
424
|
+
|
|
425
|
+
| 插件 | 功能 | 安装命令 |
|
|
426
|
+
|------|------|----------|
|
|
427
|
+
| **更新检测** | 自动检测汉化版更新,一键升级 | `npm i -g @qingchencloud/openclaw-updater` |
|
|
428
|
+
|
|
429
|
+
> 💡 更多插件正在开发中,敬请期待!访问 [插件市场](https://openclaw.qt.cool/) 获取最新插件。
|
|
430
|
+
|
|
431
|
+
### 更新检测插件
|
|
432
|
+
|
|
433
|
+
安装后,插件会:
|
|
434
|
+
- 启动时自动检测是否有新版本
|
|
435
|
+
- 提供 `/update` 命令手动检查更新
|
|
436
|
+
- 提供 `/version` 命令查看当前版本
|
|
437
|
+
|
|
438
|
+
```bash
|
|
439
|
+
# 安装
|
|
440
|
+
npm install -g @qingchencloud/openclaw-updater
|
|
441
|
+
|
|
442
|
+
# 使用
|
|
443
|
+
# 启动 OpenClaw 后,插件会自动检测更新
|
|
444
|
+
# 或使用命令 /update 手动检查
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
---
|
|
448
|
+
|
|
449
|
+
<a id="docker"></a>
|
|
450
|
+
## 🐳 Docker 部署指南 <sub>[↑ 返回目录](#nav)</sub>
|
|
303
451
|
|
|
304
452
|
### 方式 1:一键部署脚本(推荐)
|
|
305
453
|
|
|
@@ -482,9 +630,36 @@ docker stop openclaw && docker rm openclaw
|
|
|
482
630
|
docker run --rm -v openclaw-data:/root/.openclaw alpine cat /root/.openclaw/openclaw.json
|
|
483
631
|
```
|
|
484
632
|
|
|
633
|
+
### Docker 空间清理
|
|
634
|
+
|
|
635
|
+
Docker 镜像和容器会占用大量磁盘空间,建议定期清理:
|
|
636
|
+
|
|
637
|
+
```bash
|
|
638
|
+
# 查看 Docker 空间占用
|
|
639
|
+
docker system df
|
|
640
|
+
|
|
641
|
+
# 清理已停止的容器
|
|
642
|
+
docker container prune -f
|
|
643
|
+
|
|
644
|
+
# 清理未使用的镜像
|
|
645
|
+
docker image prune -f
|
|
646
|
+
|
|
647
|
+
# 清理构建缓存
|
|
648
|
+
docker builder prune -f
|
|
649
|
+
|
|
650
|
+
# 一键清理所有未使用资源(镜像、容器、网络、缓存)
|
|
651
|
+
docker system prune -a
|
|
652
|
+
|
|
653
|
+
# 连同未使用的数据卷一起清理(⚠️ 会删除数据,谨慎使用)
|
|
654
|
+
docker system prune -a --volumes
|
|
655
|
+
```
|
|
656
|
+
|
|
657
|
+
> 💡 **提示**:OpenClaw 镜像约 4GB,如果有多个旧版本镜像堆积,建议用 `docker image prune -a` 清理。
|
|
658
|
+
|
|
485
659
|
---
|
|
486
660
|
|
|
487
|
-
|
|
661
|
+
<a id="manual"></a>
|
|
662
|
+
## 🔧 手动汉化安装 <sub>[↑ 返回目录](#nav)</sub>
|
|
488
663
|
|
|
489
664
|
适用于想要自定义翻译、测试最新代码或参与贡献的用户。
|
|
490
665
|
|
|
@@ -559,7 +734,8 @@ openclaw --help
|
|
|
559
734
|
|
|
560
735
|
---
|
|
561
736
|
|
|
562
|
-
|
|
737
|
+
<a id="dev"></a>
|
|
738
|
+
## 🛠️ 开发者 / 贡献者指南 <sub>[↑ 返回目录](#nav)</sub>
|
|
563
739
|
|
|
564
740
|
如果你想参与翻译或本地开发:
|
|
565
741
|
|
|
@@ -632,7 +808,22 @@ OpenClawChineseTranslation/
|
|
|
632
808
|
|
|
633
809
|
---
|
|
634
810
|
|
|
635
|
-
|
|
811
|
+
<a id="faq"></a>
|
|
812
|
+
## ❓ 常见问题 <sub>[↑ 返回目录](#nav)</sub>
|
|
813
|
+
|
|
814
|
+
> [!WARNING]
|
|
815
|
+
> **遇到连接问题?** 如果 Dashboard 显示红色错误提示(如 `gateway token mismatch` 或 `disconnected`),请先查看 [Token 认证问题](#q-dashboard-显示-gateway-token-mismatch-怎么办) 和 [设备配对问题](#q-dashboard-连接显示-pairing-required-怎么办)。
|
|
816
|
+
|
|
817
|
+
### 常见问题速查
|
|
818
|
+
|
|
819
|
+
| 问题 | 快速解决 |
|
|
820
|
+
|------|----------|
|
|
821
|
+
| Dashboard 显示 `token mismatch` | 运行 `openclaw dashboard` 自动打开带 token 的 URL |
|
|
822
|
+
| Dashboard 显示 `pairing required` | 运行 `openclaw devices list` 然后 `devices approve <id>` |
|
|
823
|
+
| 远程访问连不上 | 设置 `openclaw config set gateway.auth.token 你的密码` |
|
|
824
|
+
| 图标不显示 | 更新到最新版: `npm update -g @qingchencloud/openclaw-zh` |
|
|
825
|
+
|
|
826
|
+
---
|
|
636
827
|
|
|
637
828
|
### Q: 安装后运行还是英文?
|
|
638
829
|
|
|
@@ -703,6 +894,38 @@ openclaw --version # 应提示命令不存在
|
|
|
703
894
|
|
|
704
895
|
启动 OpenClaw 后,访问 `http://localhost:18789` 即可打开网页控制台(全中文界面)。
|
|
705
896
|
|
|
897
|
+
### Q: Dashboard 显示 `gateway token mismatch` 怎么办?
|
|
898
|
+
|
|
899
|
+
这是 Token 认证失败。你需要使用 **带 token 的 URL** 访问 Dashboard。
|
|
900
|
+
|
|
901
|
+
**解决方法(推荐):**
|
|
902
|
+
|
|
903
|
+
```bash
|
|
904
|
+
# 使用命令自动打开带 token 的 Dashboard
|
|
905
|
+
openclaw dashboard
|
|
906
|
+
|
|
907
|
+
# Docker 环境下,先获取 token URL
|
|
908
|
+
docker exec openclaw openclaw dashboard --print-url
|
|
909
|
+
# 输出类似:http://localhost:18789?token=abc123...
|
|
910
|
+
# 复制这个 URL 到浏览器打开
|
|
911
|
+
```
|
|
912
|
+
|
|
913
|
+
**手动方法:**
|
|
914
|
+
|
|
915
|
+
1. 查看你的 gateway token:
|
|
916
|
+
```bash
|
|
917
|
+
openclaw config get gateway.token
|
|
918
|
+
# 或 Docker 环境
|
|
919
|
+
docker exec openclaw openclaw config get gateway.token
|
|
920
|
+
```
|
|
921
|
+
|
|
922
|
+
2. 在浏览器 URL 后添加 `?token=你的token`:
|
|
923
|
+
```
|
|
924
|
+
http://localhost:18789?token=你的token值
|
|
925
|
+
```
|
|
926
|
+
|
|
927
|
+
> 💡 **提示**:直接访问 `http://localhost:18789` 不带 token 会导致此错误。推荐始终使用 `openclaw dashboard` 命令打开。
|
|
928
|
+
|
|
706
929
|
### Q: Dashboard 连接显示 `pairing required` 怎么办?
|
|
707
930
|
|
|
708
931
|
这是 OpenClaw 的**设备配对安全机制**。每个浏览器首次连接 Gateway 时,需要管理员批准配对请求。
|
|
@@ -818,7 +1041,8 @@ openclaw gateway restart
|
|
|
818
1041
|
|
|
819
1042
|
---
|
|
820
1043
|
|
|
821
|
-
|
|
1044
|
+
<a id="links"></a>
|
|
1045
|
+
## 🔗 相关链接 <sub>[↑ 返回目录](#nav)</sub>
|
|
822
1046
|
|
|
823
1047
|
### 汉化版入口
|
|
824
1048
|
|
|
@@ -840,7 +1064,8 @@ openclaw gateway restart
|
|
|
840
1064
|
|
|
841
1065
|
---
|
|
842
1066
|
|
|
843
|
-
|
|
1067
|
+
<a id="contribute"></a>
|
|
1068
|
+
## 🤝 参与贡献 <sub>[↑ 返回目录](#nav)</sub>
|
|
844
1069
|
|
|
845
1070
|
我们欢迎各种形式的贡献:
|
|
846
1071
|
|
|
@@ -851,7 +1076,8 @@ openclaw gateway restart
|
|
|
851
1076
|
|
|
852
1077
|
---
|
|
853
1078
|
|
|
854
|
-
|
|
1079
|
+
<a id="license"></a>
|
|
1080
|
+
## 📜 许可证 <sub>[↑ 返回目录](#nav)</sub>
|
|
855
1081
|
|
|
856
1082
|
本项目基于 [MIT License](LICENSE) 开源。
|
|
857
1083
|
|
|
@@ -859,7 +1085,8 @@ OpenClaw 原项目由 [Peter Steinberger](https://twitter.com/steipete) 创建
|
|
|
859
1085
|
|
|
860
1086
|
---
|
|
861
1087
|
|
|
862
|
-
|
|
1088
|
+
<a id="about"></a>
|
|
1089
|
+
## 🏢 关于我们 <sub>[↑ 返回目录](#nav)</sub>
|
|
863
1090
|
|
|
864
1091
|
**武汉晴辰天下网络科技有限公司** 出品
|
|
865
1092
|
|
package/dist/acp/client.d.ts
CHANGED
package/dist/acp/client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ClientSideConnection, PROTOCOL_VERSION, ndJsonStream, } from "@agentclientprotocol/sdk";
|
|
1
2
|
import { spawn } from "node:child_process";
|
|
2
3
|
import * as readline from "node:readline";
|
|
3
4
|
import { Readable, Writable } from "node:stream";
|
|
4
|
-
import { ClientSideConnection, PROTOCOL_VERSION, ndJsonStream, } from "@agentclientprotocol/sdk";
|
|
5
5
|
import { ensureOpenClawCliOnPath } from "../infra/path-env.js";
|
|
6
6
|
function toArgs(value) {
|
|
7
7
|
if (!value) {
|
package/dist/acp/server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { AgentSideConnection, ndJsonStream } from "@agentclientprotocol/sdk";
|
|
2
3
|
import { Readable, Writable } from "node:stream";
|
|
3
4
|
import { fileURLToPath } from "node:url";
|
|
4
|
-
import { AgentSideConnection, ndJsonStream } from "@agentclientprotocol/sdk";
|
|
5
5
|
import { loadConfig } from "../config/config.js";
|
|
6
6
|
import { resolveGatewayAuth } from "../gateway/auth.js";
|
|
7
7
|
import { buildGatewayConnectionDetails } from "../gateway/call.js";
|
package/dist/acp/translator.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Agent, AgentSideConnection, AuthenticateRequest, AuthenticateResponse, CancelNotification, InitializeRequest, InitializeResponse, ListSessionsRequest, ListSessionsResponse, LoadSessionRequest, LoadSessionResponse, NewSessionRequest, NewSessionResponse, PromptRequest, PromptResponse, SetSessionModeRequest, SetSessionModeResponse } from "@agentclientprotocol/sdk";
|
|
2
2
|
import type { GatewayClient } from "../gateway/client.js";
|
|
3
3
|
import type { EventFrame } from "../gateway/protocol/index.js";
|
|
4
|
-
import { type AcpServerOptions } from "./types.js";
|
|
5
4
|
import { type AcpSessionStore } from "./session.js";
|
|
5
|
+
import { type AcpServerOptions } from "./types.js";
|
|
6
6
|
type AcpGatewayAgentOptions = AcpServerOptions & {
|
|
7
7
|
sessionStore?: AcpSessionStore;
|
|
8
8
|
};
|
package/dist/acp/translator.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { randomUUID } from "node:crypto";
|
|
2
1
|
import { PROTOCOL_VERSION } from "@agentclientprotocol/sdk";
|
|
2
|
+
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { getAvailableCommands } from "./commands.js";
|
|
4
|
-
import { readBool, readNumber, readString } from "./meta.js";
|
|
5
4
|
import { extractAttachmentsFromPrompt, extractTextFromPrompt, formatToolTitle, inferToolKind, } from "./event-mapper.js";
|
|
5
|
+
import { readBool, readNumber, readString } from "./meta.js";
|
|
6
6
|
import { parseSessionMeta, resetSessionIfNeeded, resolveSessionKey } from "./session-mapper.js";
|
|
7
|
-
import { ACP_AGENT_INFO } from "./types.js";
|
|
8
7
|
import { defaultAcpSessionStore } from "./session.js";
|
|
8
|
+
import { ACP_AGENT_INFO } from "./types.js";
|
|
9
9
|
export class AcpGatewayAgent {
|
|
10
10
|
connection;
|
|
11
11
|
gateway;
|
|
@@ -2,9 +2,9 @@ import crypto from "node:crypto";
|
|
|
2
2
|
import fs from "node:fs/promises";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { resolveStateDir } from "../config/paths.js";
|
|
5
|
-
import { parseBooleanValue } from "../utils/boolean.js";
|
|
6
|
-
import { resolveUserPath } from "../utils.js";
|
|
7
5
|
import { createSubsystemLogger } from "../logging/subsystem.js";
|
|
6
|
+
import { resolveUserPath } from "../utils.js";
|
|
7
|
+
import { parseBooleanValue } from "../utils/boolean.js";
|
|
8
8
|
const writers = new Map();
|
|
9
9
|
const log = createSubsystemLogger("agent/anthropic-payload");
|
|
10
10
|
function resolvePayloadLogConfig(env) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Type } from "@sinclair/typebox";
|
|
1
2
|
import fs from "node:fs/promises";
|
|
2
3
|
import os from "node:os";
|
|
3
4
|
import path from "node:path";
|
|
4
|
-
import { Type } from "@sinclair/typebox";
|
|
5
5
|
import { applyUpdateHunk } from "./apply-patch-update.js";
|
|
6
6
|
import { assertSandboxPath } from "./sandbox-paths.js";
|
|
7
7
|
const BEGIN_PATCH_MARKER = "*** Begin Patch";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getOAuthApiKey } from "@mariozechner/pi-ai";
|
|
2
2
|
import lockfile from "proper-lockfile";
|
|
3
|
-
import { refreshChutesTokens } from "../chutes-oauth.js";
|
|
4
3
|
import { refreshQwenPortalCredentials } from "../../providers/qwen-portal-oauth.js";
|
|
4
|
+
import { refreshChutesTokens } from "../chutes-oauth.js";
|
|
5
5
|
import { AUTH_STORE_LOCK_OPTIONS, log } from "./constants.js";
|
|
6
6
|
import { formatAuthDoctorHint } from "./doctor.js";
|
|
7
7
|
import { ensureAuthStoreFile, resolveAuthStorePath } from "./paths.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { updateSessionStore } from "../../config/sessions.js";
|
|
2
|
-
import { normalizeProviderId } from "../model-selection.js";
|
|
3
2
|
import { ensureAuthProfileStore, isProfileInCooldown, resolveAuthProfileOrder, } from "../auth-profiles.js";
|
|
3
|
+
import { normalizeProviderId } from "../model-selection.js";
|
|
4
4
|
function isProfileForProvider(params) {
|
|
5
5
|
const entry = params.store.profiles[params.profileId];
|
|
6
6
|
if (!entry?.provider) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
2
|
-
import { type ExecAsk, type ExecHost, type ExecSecurity } from "../infra/exec-approvals.js";
|
|
3
2
|
import type { BashSandboxConfig } from "./bash-tools.shared.js";
|
|
3
|
+
import { type ExecAsk, type ExecHost, type ExecSecurity } from "../infra/exec-approvals.js";
|
|
4
4
|
export type ExecToolDefaults = {
|
|
5
5
|
host?: ExecHost;
|
|
6
6
|
security?: ExecSecurity;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Type } from "@sinclair/typebox";
|
|
1
2
|
import crypto from "node:crypto";
|
|
2
3
|
import path from "node:path";
|
|
3
|
-
import { Type } from "@sinclair/typebox";
|
|
4
4
|
import { addAllowlistEntry, evaluateShellAllowlist, maxAsk, minSecurity, requiresExecApproval, resolveSafeBins, recordAllowlistUse, resolveExecApprovals, resolveExecApprovalsFromFile, } from "../infra/exec-approvals.js";
|
|
5
5
|
import { requestHeartbeatNow } from "../infra/heartbeat-wake.js";
|
|
6
6
|
import { buildNodeShellCommand } from "../infra/node-shell.js";
|
|
@@ -8,13 +8,13 @@ import { getShellPathFromLoginShell, resolveShellEnvFallbackTimeoutMs, } from ".
|
|
|
8
8
|
import { enqueueSystemEvent } from "../infra/system-events.js";
|
|
9
9
|
import { logInfo, logWarn } from "../logger.js";
|
|
10
10
|
import { formatSpawnError, spawnWithFallback } from "../process/spawn-utils.js";
|
|
11
|
+
import { parseAgentSessionKey, resolveAgentIdFromSessionKey } from "../routing/session-key.js";
|
|
11
12
|
import { addSession, appendOutput, createSessionSlug, markBackgrounded, markExited, tail, } from "./bash-process-registry.js";
|
|
12
13
|
import { buildDockerExecArgs, buildSandboxEnv, chunkString, clampNumber, coerceEnv, killSession, readEnvInt, resolveSandboxWorkdir, resolveWorkdir, truncateMiddle, } from "./bash-tools.shared.js";
|
|
14
|
+
import { buildCursorPositionResponse, stripDsrRequests } from "./pty-dsr.js";
|
|
15
|
+
import { getShellConfig, sanitizeBinaryOutput } from "./shell-utils.js";
|
|
13
16
|
import { callGatewayTool } from "./tools/gateway.js";
|
|
14
17
|
import { listNodes, resolveNodeIdFromList } from "./tools/nodes-utils.js";
|
|
15
|
-
import { getShellConfig, sanitizeBinaryOutput } from "./shell-utils.js";
|
|
16
|
-
import { buildCursorPositionResponse, stripDsrRequests } from "./pty-dsr.js";
|
|
17
|
-
import { parseAgentSessionKey, resolveAgentIdFromSessionKey } from "../routing/session-key.js";
|
|
18
18
|
const DEFAULT_MAX_OUTPUT = clampNumber(readEnvInt("PI_BASH_MAX_OUTPUT_CHARS"), 200_000, 1_000, 200_000);
|
|
19
19
|
const DEFAULT_PENDING_MAX_OUTPUT = clampNumber(readEnvInt("OPENCLAW_BASH_PENDING_MAX_OUTPUT_CHARS"), 200_000, 1_000, 200_000);
|
|
20
20
|
const DEFAULT_PATH = process.env.PATH ?? "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { OpenClawConfig } from "../config/config.js";
|
|
2
|
-
import { type WorkspaceBootstrapFile } from "./workspace.js";
|
|
3
2
|
import type { EmbeddedContextFile } from "./pi-embedded-helpers.js";
|
|
3
|
+
import { type WorkspaceBootstrapFile } from "./workspace.js";
|
|
4
4
|
export declare function makeBootstrapWarn(params: {
|
|
5
5
|
sessionLabel: string;
|
|
6
6
|
warn?: (message: string) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { applyBootstrapHookOverrides } from "./bootstrap-hooks.js";
|
|
2
|
-
import { filterBootstrapFilesForSession, loadWorkspaceBootstrapFiles, } from "./workspace.js";
|
|
3
2
|
import { buildBootstrapContextFiles, resolveBootstrapMaxChars } from "./pi-embedded-helpers.js";
|
|
3
|
+
import { filterBootstrapFilesForSession, loadWorkspaceBootstrapFiles, } from "./workspace.js";
|
|
4
4
|
export function makeBootstrapWarn(params) {
|
|
5
5
|
if (!params.warn) {
|
|
6
6
|
return undefined;
|
|
@@ -2,8 +2,8 @@ import crypto from "node:crypto";
|
|
|
2
2
|
import fs from "node:fs/promises";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { resolveStateDir } from "../config/paths.js";
|
|
5
|
-
import { parseBooleanValue } from "../utils/boolean.js";
|
|
6
5
|
import { resolveUserPath } from "../utils.js";
|
|
6
|
+
import { parseBooleanValue } from "../utils/boolean.js";
|
|
7
7
|
const writers = new Map();
|
|
8
8
|
function resolveCacheTraceConfig(params) {
|
|
9
9
|
const env = params.env ?? process.env;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { execSync } from "node:child_process";
|
|
2
1
|
import type { OAuthCredentials, OAuthProvider } from "@mariozechner/pi-ai";
|
|
2
|
+
import { execSync } from "node:child_process";
|
|
3
3
|
export declare function resetCliCredentialCachesForTest(): void;
|
|
4
4
|
export type ClaudeCliCredential = {
|
|
5
5
|
type: "oauth";
|
|
@@ -3,10 +3,10 @@ import fs from "node:fs/promises";
|
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { runExec } from "../../process/exec.js";
|
|
6
|
-
import {
|
|
6
|
+
import { buildTtsSystemPromptHint } from "../../tts/tts.js";
|
|
7
7
|
import { resolveDefaultModelForAgent } from "../model-selection.js";
|
|
8
|
+
import { buildSystemPromptParams } from "../system-prompt-params.js";
|
|
8
9
|
import { buildAgentSystemPrompt } from "../system-prompt.js";
|
|
9
|
-
import { buildTtsSystemPromptHint } from "../../tts/tts.js";
|
|
10
10
|
const CLI_RUN_QUEUE = new Map();
|
|
11
11
|
function escapeRegex(value) {
|
|
12
12
|
return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { resolveHeartbeatPrompt } from "../auto-reply/heartbeat.js";
|
|
2
|
-
import { isTruthyEnvValue } from "../infra/env.js";
|
|
3
2
|
import { shouldLogVerbose } from "../globals.js";
|
|
3
|
+
import { isTruthyEnvValue } from "../infra/env.js";
|
|
4
4
|
import { createSubsystemLogger } from "../logging/subsystem.js";
|
|
5
5
|
import { runCommandWithTimeout } from "../process/exec.js";
|
|
6
6
|
import { resolveUserPath } from "../utils.js";
|
|
7
|
-
import { resolveOpenClawDocsPath } from "./docs-path.js";
|
|
8
7
|
import { resolveSessionAgentIds } from "./agent-scope.js";
|
|
9
8
|
import { makeBootstrapWarn, resolveBootstrapContextForRun } from "./bootstrap-files.js";
|
|
10
9
|
import { resolveCliBackendConfig } from "./cli-backends.js";
|
|
11
10
|
import { appendImagePathsToPrompt, buildCliArgs, buildSystemPrompt, cleanupResumeProcesses, cleanupSuspendedCliProcesses, enqueueCliRun, normalizeCliModel, parseCliJson, parseCliJsonl, resolvePromptInput, resolveSessionIdToSend, resolveSystemPromptUsage, writeCliImages, } from "./cli-runner/helpers.js";
|
|
11
|
+
import { resolveOpenClawDocsPath } from "./docs-path.js";
|
|
12
12
|
import { FailoverError, resolveFailoverStatus } from "./failover-error.js";
|
|
13
13
|
import { classifyFailoverReason, isFailoverErrorMessage } from "./pi-embedded-helpers.js";
|
|
14
14
|
const log = createSubsystemLogger("agent/claude-cli");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import path from "node:path";
|
|
2
1
|
import { getEnvApiKey } from "@mariozechner/pi-ai";
|
|
3
|
-
import
|
|
2
|
+
import path from "node:path";
|
|
4
3
|
import { formatCliCommand } from "../cli/command-format.js";
|
|
4
|
+
import { getShellEnvAppliedKeys } from "../infra/shell-env.js";
|
|
5
5
|
import { ensureAuthProfileStore, listProfilesForProvider, resolveApiKeyForProfile, resolveAuthProfileOrder, resolveAuthStorePathForDisplay, } from "./auth-profiles.js";
|
|
6
6
|
import { normalizeProviderId } from "./model-selection.js";
|
|
7
7
|
export { ensureAuthProfileStore, resolveAuthProfileOrder } from "./auth-profiles.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ensureAuthProfileStore, isProfileInCooldown, resolveAuthProfileOrder, } from "./auth-profiles.js";
|
|
1
2
|
import { DEFAULT_MODEL, DEFAULT_PROVIDER } from "./defaults.js";
|
|
2
3
|
import { coerceToFailoverError, describeFailoverError, isFailoverError, isTimeoutError, } from "./failover-error.js";
|
|
3
4
|
import { buildModelAliasIndex, modelKey, parseModelRef, resolveConfiguredModelRef, resolveModelRefFromString, } from "./model-selection.js";
|
|
4
|
-
import { ensureAuthProfileStore, isProfileInCooldown, resolveAuthProfileOrder, } from "./auth-profiles.js";
|
|
5
5
|
function isAbortError(err) {
|
|
6
6
|
if (!err || typeof err !== "object") {
|
|
7
7
|
return false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { normalizeGoogleModelId } from "./models-config.providers.js";
|
|
2
1
|
import { resolveAgentModelPrimary } from "./agent-scope.js";
|
|
3
2
|
import { DEFAULT_MODEL, DEFAULT_PROVIDER } from "./defaults.js";
|
|
3
|
+
import { normalizeGoogleModelId } from "./models-config.providers.js";
|
|
4
4
|
function normalizeAliasKey(value) {
|
|
5
5
|
return value.trim().toLowerCase();
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_COPILOT_API_BASE_URL, resolveCopilotApiToken, } from "../providers/github-copilot-token.js";
|
|
2
2
|
import { ensureAuthProfileStore, listProfilesForProvider } from "./auth-profiles.js";
|
|
3
|
-
import { resolveAwsSdkEnvVarName, resolveEnvApiKey } from "./model-auth.js";
|
|
4
3
|
import { discoverBedrockModels } from "./bedrock-discovery.js";
|
|
4
|
+
import { resolveAwsSdkEnvVarName, resolveEnvApiKey } from "./model-auth.js";
|
|
5
5
|
import { buildSyntheticModelDefinition, SYNTHETIC_BASE_URL, SYNTHETIC_MODEL_CATALOG, } from "./synthetic-models.js";
|
|
6
6
|
import { discoverVeniceModels, VENICE_BASE_URL } from "./venice-models.js";
|
|
7
7
|
const MINIMAX_API_BASE_URL = "https://api.minimax.chat/v1";
|
|
@@ -13,8 +13,8 @@ import { createSessionsHistoryTool } from "./tools/sessions-history-tool.js";
|
|
|
13
13
|
import { createSessionsListTool } from "./tools/sessions-list-tool.js";
|
|
14
14
|
import { createSessionsSendTool } from "./tools/sessions-send-tool.js";
|
|
15
15
|
import { createSessionsSpawnTool } from "./tools/sessions-spawn-tool.js";
|
|
16
|
-
import { createWebFetchTool, createWebSearchTool } from "./tools/web-tools.js";
|
|
17
16
|
import { createTtsTool } from "./tools/tts-tool.js";
|
|
17
|
+
import { createWebFetchTool, createWebSearchTool } from "./tools/web-tools.js";
|
|
18
18
|
export function createOpenClawTools(options) {
|
|
19
19
|
const imageTool = options?.agentDir?.trim()
|
|
20
20
|
? createImageTool({
|