Linux 软件免费装
Banner图

Npcink AI Client Adapter

开发者 muze233
更新时间 2026年10月17日 14:32
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

ai automation rest-api governance

下载

0.4.3 0.3.2 0.3.0 0.3.1 0.4.0 0.4.1 0.4.2

详情介绍:

Npcink AI Client Adapter 通过聚焦的 REST 适配器,将 OpenClaw 兼容工具等本地 AI 客户端连接到 WordPress 站点。 它适用于使用 Npcink Governance Core 管理可审查 AI 操作,并使用 Npcink Abilities Toolkit 等 WordPress Abilities API provider 提供具体 WordPress 能力的站点。Adapter 为客户端提供一个稳定的 WordPress REST 入口,用于检查就绪状态、读取治理指引、运行已批准的读取能力、创建受治理的提案,并且只在 Core 批准和提交预检之后执行受支持的写入。 默认连接路径使用签名密钥配对,因此 AI 客户端不需要接收 WordPress 应用密码。对于已经有专用 secret 字段或凭据库的客户端,仍可使用 WordPress 应用密码备用路径。 Adapter 有意保持很薄。它不定义能力、不保存批准真相、不运行工作流队列、不充当 MCP server、不管理模型 provider、不保存提示词,也不执行任意最终写入变更。治理仍属于 Npcink Governance Core。能力定义和回调仍属于 Npcink Abilities Toolkit 或其他 WordPress Abilities API provider。 Adapter exposes a machine-readable client_policy on health, help, and the connection manifest so compatible clients can consume explicit route, output, sensitive-read, and write-flow boundaries. The local CLI also redacts profile paths, key ids, signing headers, tokens, passwords, and secrets from output, and its mcp subcommand runs a client-side stdio MCP server over the same signed profile with governed read, propose, preflight, and execute-after-human-approval tools only. Current governed execution support covers explicit Adapter profiles after Core approval and commit-preflight: npcink-abilities-toolkit/trash-post, npcink-abilities-toolkit/create-draft, npcink-abilities-toolkit/update-post, npcink-abilities-toolkit/patch-post-content, npcink-abilities-toolkit/update-post-blocks, npcink-abilities-toolkit/update-template-blocks, npcink-abilities-toolkit/upsert-template-blocks, npcink-abilities-toolkit/update-template-part-blocks, npcink-abilities-toolkit/patch-setting-value, npcink-abilities-toolkit/set-post-seo-meta, npcink-abilities-toolkit/adopt-article-audio, npcink-abilities-toolkit/set-post-slug, npcink-abilities-toolkit/set-post-terms, npcink-abilities-toolkit/delete-term, npcink-abilities-toolkit/update-media-details, npcink-abilities-toolkit/upload-media-from-url, npcink-abilities-toolkit/set-post-featured-image, npcink-abilities-toolkit/optimize-media-asset, npcink-abilities-toolkit/replace-media-file, npcink-abilities-toolkit/restore-media-backup, npcink-abilities-toolkit/adopt-cloud-media-derivative, npcink-abilities-toolkit/rename-media-file, npcink-abilities-toolkit/delete-media-permanently, npcink-abilities-toolkit/delete-attachment, npcink-abilities-toolkit/reply-comment, npcink-abilities-toolkit/trash-comment, and npcink-abilities-toolkit/approve-comment. 核心功能:

安装:

  1. Install and activate npcink-abilities-toolkit.
  2. Install and activate npcink-governance-core.
  3. 安装并启用 Npcink AI Client Adapter。
  4. Open Npcink > Adapter to create the local AI client handoff.

屏幕截图:

  • 有效密钥配对设备,包括设备标识、上次使用时间、状态标签、撤销操作和已撤销设备摘要。
  • 适用于使用专用 secret 字段或凭据库客户端的 WordPress 应用密码备用连接流程。

常见问题:

Adapter 会批准提案吗?

Adapter provides an approve-and-execute action for supported execution profiles, reserved for WordPress administrator sessions. Signed AI clients cannot approve their own proposals: a human approves in the Npcink Governance Core admin and the client then calls the execute route. Npcink Governance Core remains the governance backend for proposal storage, approval, commit-preflight, and audit. Execution abilities are declared by Npcink Abilities Toolkit and approved by Npcink Governance Core; Adapter supplies only the post-preflight channel.

Adapter 会执行任意能力吗?

不会。Adapter 只会在 Core 批准和提交预检之后执行明确受支持的执行配置。它不是通用能力执行器,也不会绕过 Core 治理。

需要其他 Npcink 插件吗?

需要。Npcink Abilities Toolkit 提供 Adapter 使用的能力定义和回调。Npcink Governance Core 负责受治理的提案、批准、提交预检和审计。

哪些 AI 客户端可以连接?

Adapter is built for OpenClaw-compatible local clients and similar tools that can call authenticated WordPress REST endpoints and consume the Adapter client_policy.

Adapter 会把我的 WordPress 密码发送给 AI 客户端吗?

推荐的签名密钥配对路径避免把 WordPress 应用密码交给客户端。Adapter 只保存已批准的公钥。对于有专用密钥字段或凭据库的客户端,应用密码路径仍作为备用方式保留。

Adapter 会运行 AI 模型或保存提示词吗?

不会。Adapter 是通道层。它不提供模型路由、提示词管理、provider 凭据、工作流队列或托管 AI 执行。

如果依赖缺失会怎样?

Adapter 的 health 和 help 路由可以报告依赖状态。需要 Npcink Governance Core 或 WordPress Abilities API provider 的路由会失败关闭,并返回结构化的缺失依赖错误。

更新日志:

0.4.3 0.4.2 0.4.1 0.4.0 0.3.3 0.3.2 0.3.1 0.3.0 0.2.1 0.2.0 0.1.1 0.1.0