[WordPress] 外掛分享: miniOrange AI Agent

首頁外掛目錄 › miniOrange AI Agent
全新外掛
安裝啟用
尚無評分
27 天前
最後更新
問題解決
WordPress 6.9+ PHP 7.4+ v1.1.0 上架:2026-04-01

內容簡介

miniOrange AI Agent 外掛提供了一個強大的 AI 助手,能夠協助用戶創建文章、生成元描述、總結內容及獲取網站資訊。透過簡單的對話介面,提升網站管理效率。

【主要功能】
• 創建文章:快速生成新文章草稿
• 獲取網站 URL:輕鬆查詢網站連結
• 生成文章摘要:AI 自動生成內容摘要
• 提供執行日誌:查看最近的執行紀錄
• 支援 REST API:與外部服務整合

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「miniOrange AI Agent」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

OAuth 2.0 (Authorization Code + PKCE): Lets AI assistants connect with user consent. Admin → AI Agent → OAuth for client credentials; authorization URL /mo-llm-oauth/authorize, token endpoint POST /wp-json/mo-llm-oauth/v1/token.

Support: On the same OAuth screen, the support form appears on the right (email query and callback; miniOrange contact API).

Registers abilities: Create Post, Generate Meta Description, Get Site Info, Get Site URL, Generate Post Summary.

Connects them to the AI Client so the model can call tools (Phase 1).
Exposes a REST endpoint POST /wp-json/moaiagent/v1/chat for an AI Agent loop (Phase 2).
Provides a minimal Agent UI (chat box) in the admin (Phase 3).
Adds an AI-powered ability: Generate Post Summary, which uses the AI Client internally (Phase 4).
Injects context (site name, user role, optional current post) into the prompt (Phase 5).
Security: input validation, capability checks in execute callbacks, rate limiting, logging (Phases 6–7).
Uses generate_result() so the SDK can handle tool execution loops for chained abilities (Phase 8).

Registered abilities

Create Post (moaiagent/create-post) – Creates a new post. Permission: edit_posts.
Get Site URL (moaiagent/get-site-url) – Returns the site URL. Permission: read.
Generate Post Summary (moaiagent/generate-post-summary) – AI-generated summary of content. Requires AI Client. Permission: edit_posts.

miniOrange AI Agent (requires AI Client plugin)

Menu: Admin → AI Agent. Chat with the assistant; it can create posts, generate meta descriptions, summarize content, and get site info.
REST: POST /wp-json/moaiagent/v1/chat with body { "message": "Create a draft post titled Welcome" }. Permission: prompt_ai. Rate limited (e.g. 30 requests per minute per user).
Execution Log: Admin → AI Agent → Execution Log. Lists recent ability executions and chat requests (admins only).

Client-side usage

window.moaiaAgentAbilities.getAbilities() – list AI Agent abilities
window.moaiaAgentAbilities.execute('moaiagent/create-post', { title: 'Hello', status: 'draft' }) – returns a Promise

Abilities are also available via Command Palette, AI Client (using_abilities), and REST.
Requirements

WordPress 6.9+ (Abilities API).
For the AI Agent (chat, Generate Post Summary): the AI Client plugin must be installed and configured; user needs prompt_ai capability.

External services
This plugin integrates with the AI Client for WordPress plugin, which connects to external AI model APIs (such as Anthropic Claude or Google Gemini) to process chat messages and generate text content.
What data is sent: User chat messages, system context (site name, URL, user role, optional post title/ID), and conversation history are sent to the configured AI provider when the /chat REST endpoint is called.
When it is sent: Only when a logged-in user with the prompt_ai capability submits a message via the AI Agent chat interface or REST API.
Third-party services used (via AI Client plugin):
* Anthropic Claude — https://www.anthropic.com/
* Terms of Service: https://www.anthropic.com/legal/consumer-terms
* Privacy Policy: https://www.anthropic.com/legal/privacy
* Google Gemini — https://ai.google.dev/
* Terms of Service: https://ai.google.dev/gemini-api/terms
* Privacy Policy: https://policies.google.com/privacy
No data is sent without an active user session and explicit user action. No data is stored by this plugin beyond the execution log (stored locally in wp_options).

延伸相關外掛

文章
Filter
Apply Filters
Mastodon