| 开发者 |
automattic
allterraindeveloper epeicher mmtr86 nickhamze |
|---|---|
| 更新时间 | 2026年8月1日 01:50 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
desktop_mode_register_* PHP APIs, a typed JavaScript API, and copy-paste examples in the developer docs on GitHub.
External services
This plugin's optional AI Assistant sends data to the AI provider you configure in WordPress's Settings → Connectors (for example OpenAI, Anthropic, or Google). Generation is routed through WordPress 7.0's built-in AI Client, which supplies the credentials stored in Connectors — the plugin never handles an API key itself. With no provider configured in Connectors, no external AI requests are made.
When the AI Assistant is enabled and a user invokes it (via Cmd+K or the slash-command palette):
search_posts, search_pages, search_comments) run WordPress's native keyword search and may include excerpts of the matching posts/pages/comments in tool results, which are then sent back to the provider as part of the agentic loop./wp-content/plugins/, or install via Plugins → Add New → Upload Plugin.No. The classic admin is untouched until a user toggles desktop mode on for themselves. Deactivating the plugin restores vanilla Core exactly.
No. The desktop shell, windowing, dock, taskbar, virtual desktops, widgets, wallpapers, and all extension APIs work entirely on-site. The AI Assistant is the only feature that contacts an external service, and it stays inert until an administrator configures an AI provider in Settings → Connectors. See "External services" in the description.
No. Every feature is wired through public WordPress actions and filters.
Click the desktop icon in the admin bar a second time to flip the toggle off. The plugin can also be deactivated globally from the Plugins screen.
In docs/ inside the plugin, and on GitHub. The hook reference, JavaScript reference, bridge protocol, and copy-paste examples all live there.
ownerdesktop_mode_register_ai_tool() was removed)site_url<wpd-tile> + add post status ribbons<wpd-*> tag is used without being imported<wpd-card>desktop_mode_register_ai_provider().desktop_mode_register_settings_tab_script() / desktop_mode_register_settings_tab().desktop_mode_register_ai_tool()) and client-side wp.desktop.ai.ask() programmatic entry point.<wpd-*> web components).desktop_mode_register_command_script() / desktop_mode_register_command()) with live install/activate refresh.