





























@@ -542,6 +542,72 @@ Environment overrides remain available for local testing:
542542preferred for repeatable deployments because it keeps the plugin behavior in the
543543same reviewed file as the rest of the Codex harness setup.
544544545+## Computer Use
546+547+Computer Use is a Codex-native MCP plugin. OpenClaw does not vendor the desktop
548+control app or execute desktop actions itself; it enables Codex app-server
549+plugins, installs the configured Codex marketplace plugin when requested, checks
550+that the `computer-use` MCP server is available, and then lets Codex handle the
551+native MCP tool calls during Codex-mode turns.
552+553+Set `plugins.entries.codex.config.computerUse` when you want Codex-mode turns to
554+require Computer Use:
555+556+```json5
557+{
558+ plugins: {
559+ entries: {
560+ codex: {
561+ enabled: true,
562+ config: {
563+ computerUse: {
564+ autoInstall: true,
565+ },
566+ },
567+ },
568+ },
569+ },
570+ agents: {
571+ defaults: {
572+ model: "openai/gpt-5.5",
573+ embeddedHarness: {
574+ runtime: "codex",
575+ },
576+ },
577+ },
578+}
579+```
580+581+With no marketplace fields, OpenClaw asks Codex app-server to use its discovered
582+marketplaces. On a fresh Codex home, app-server seeds the official curated
583+marketplace and OpenClaw follows the same loading shape as Codex: it polls
584+`plugin/list` during install before treating Computer Use as unavailable. The
585+default discovery wait is 60 seconds and can be tuned with
586+`marketplaceDiscoveryTimeoutMs`. If multiple known Codex marketplaces contain
587+Computer Use, OpenClaw uses the Codex marketplace preference order before
588+failing closed for unknown ambiguous matches.
589+590+Use `marketplaceSource` for a non-default Codex marketplace source that
591+app-server can add, or `marketplacePath` for a local marketplace file that
592+already exists on the machine. If the marketplace is already registered with
593+Codex app-server, use `marketplaceName` instead. The defaults are
594+`pluginName: "computer-use"` and `mcpServerName: "computer-use"`.
595+For safety, turn-start auto-install only uses marketplaces app-server has
596+already discovered. Use `/codex computer-use install` for explicit installs from
597+a configured `marketplaceSource` or `marketplacePath`.
598+599+The same setup can be checked or installed from the command surface:
600+601+- `/codex computer-use status`
602+- `/codex computer-use install`
603+- `/codex computer-use install --source <marketplace-source>`
604+- `/codex computer-use install --marketplace-path <path>`
605+606+Computer Use is macOS-specific and may require local OS permissions before the
607+Codex MCP server can control apps. If `computerUse.enabled` is true and the MCP
608+server is unavailable, Codex-mode turns fail before the thread starts instead of
609+silently running without the native Computer Use tools.
610+545611## Common recipes
546612547613Local Codex with default stdio transport:
@@ -644,6 +710,8 @@ Common forms:
644710- `/codex resume <thread-id>` attaches the current OpenClaw session to an existing Codex thread.
645711- `/codex compact` asks Codex app-server to compact the attached thread.
646712- `/codex review` starts Codex native review for the attached thread.
713+- `/codex computer-use status` checks the configured Computer Use plugin and MCP server.
714+- `/codex computer-use install` installs the configured Computer Use plugin and reloads MCP servers.
647715- `/codex account` shows account and rate-limit status.
648716- `/codex mcp` lists Codex app-server MCP server status.
649717- `/codex skills` lists Codex app-server skills.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。