Skip to content

17. English–Chinese plugin glossary ​

This reference standardizes Simplified Chinese terminology for plugin authoring and documentation review, including distinctions that affect execution and authorization. Each entry links to its contract; detailed behavior belongs to that contract and the current implementation.

1. Usage conventions ​

  • On first use, a Chinese explanation may use “中文术语 (English term)”; use the preferred Chinese term thereafter. Keep Agent in plugin prose, optionally introducing it as 智能体. Use 代理 for a network proxy.
  • Preserve identifier spelling and case, including agent.extension, manifest.renderer, sessionId and turnId; translated labels are not API names.
  • Distinguish host (宿主) from a network host (主机), and runtime (运行时) from elapsed running time (运行时长). Qualify the component and API when discussing processes, authorization or IDs.
  • The Chinese terms guide technical explanations. Quote UI labels, logs and protocol literals with their original names.

2. Execution and trust ​

English termPreferred ChineseMeaning and usageContract
AgentAgent(智能体)The model-driven execution loop that reasons and invokes tools. Use Agent in plugin prose; reserve proxy for a network intermediary.Agent runtime
Host宿主PI-Desktop as the application that loads plugins and supplies APIs. Name Electron Main or Rust host-core when the responsible component matters.Process model
Rust host-coreRust 宿主核心The Rust component that owns SQLite, durable host state and native host operations; distinct from the Electron main process.Process model
Agent RuntimeAgent 运行时The Node runtime that integrates the agent loop, model calls, tools and agent extensions. Runtime means the execution environment, not elapsed time.Agent runtime
Sidecar伴随进程(sidecar)A host-managed child process, such as Rust host-core or the Node Agent Runtime. Specify which sidecar; the word alone does not identify a trust boundary.Process model
Plugin process插件进程The separate Electron utilityProcess that evaluates a plugin main entry. Its raw Node APIs retain the operating-system user's privileges.Spec 01
Renderer渲染器The Electron process that renders UI. Distinguish the application renderer, which hosts trusted renderer extensions, from isolated plugin panel/view pages.Process model
Process isolation进程隔离Running plugin main code in a separate process so it has no live Electron Main objects. This does not confine raw Node filesystem or network access.Spec 04

3. Plugin contributions ​

English termPreferred ChineseMeaning and usageContract
Plugin插件The manifest-based unit of installation, enablement, permissions and contributions in PI-Desktop. Agent extensions are contributions owned by a plugin.Spec 01
Manifest插件清单(manifest)The manifest.json declaration of identity, entries, permissions and contributed features. A declaration requests a capability; it is not itself user authorization.Spec 02
Contribution / contribution point贡献项/贡献点A contribution is a declared feature, such as a command or theme; a contribution point is the host-defined place or field accepting it, such as contributes.commands.Spec 02
Command命令A registered action callable from the command palette or an authorized shortcut. A command registration does not by itself register an Agent tool.Spec 09
Agent toolAgent 工具An operation exposed to the Agent with a name, description, argument schema and execute handler. Plugin tool names are namespaced by the host.Spec 03
Skill技能A discoverable instruction document whose body can be loaded into model context. A skill is not an executable ExtensionAPI module or an MCP server.Spec 01
MCP serverMCP 服务器A Model Context Protocol server whose tools can be exposed to the Agent. Plugin contributions declare stdio or HTTP transport with the corresponding permission.Spec 02
Background service后台服务A declared resident service registered by the plugin and started/stopped under host supervision inside the plugin process. It is not a separate OS service.Spec 05
Provider服务提供方(Provider)A host provider record representing a model-service integration, including its protocol and authentication configuration. Plugin provider contributions create host-owned records.Spec 02
Adapter适配器An implementation layer that maps a protocol or API onto the runtime, such as a speech adapter or the Desktop ExtensionAPI adapter. Name the adapted interface.Spec 16
Agent extension / trusted extensionAgent 扩展/受信任扩展A contributes.agentExtensions module executed inside the Agent sidecar through the supported ExtensionAPI subset, requiring agent.extension. It does not run in the plugin main process.Spec 16
Renderer extension渲染器扩展The ES module named by manifest.renderer, loaded into the application renderer with renderer.extension. It shares the host document; UI slots are not a sandbox.Spec 13

4. UI surfaces ​

English termPreferred ChineseMeaning and usageContract
Plugin panel插件面板The isolated HTML entry named by manifest.ui.panel, opened in a separate BrowserWindow with the ui.panel permission. A floating widget is a panel placement, not a renderer extension.Spec 03
Work panel view工作面板视图A contributes.views HTML surface docked in the application work panel. It uses the same panel bridge and isolation policy as detached plugin panels.Spec 03
UI slotUI 插槽A host-defined mount point where a renderer extension registers a component with pi.slots.register. It belongs to the host document, unlike an isolated HTML view.Spec 13
Composer消息输入框(Composer)The chat input surface that holds the draft and attachments. Distinguish a user-invoked composer transform from an Agent tool or automatic message submission.Spec 03

5. Authorization and execution context ​

English termPreferred ChineseMeaning and usageContract
Permission权限A named host API capability, such as fs.read or agent.extension, declared in manifest.permissions. Its risk label is not a grant.Spec 13
Grant授权The host-recorded approval of a requested permission. Brokered API admission checks declared and granted permissions together, plus applicable resource constraints.Spec 04
Consent / confirmation用户同意/用户确认The user's answer to a host-owned approval prompt, such as an out-of-scope file request. Do not assume every permission check opens a first-use prompt.Spec 04
Activation scope激活范围The global or project-limited selection controlling where an enabled plugin applies. It does not grant filesystem access or replace permission grants.Spec 01
Filesystem scope文件访问范围Root-relative patterns in manifest.fs.read.scope, manifest.fs.write.scope and manifest.fs.delete.scope bound brokered file operations. Distinguish these from the plugin's activation scope.Spec 04
Plugin-private data directory插件私有数据目录The calling plugin's directory returned by pi.plugin.getDataPath(), separate from its code and the host database. Private namespacing is not an OS sandbox.Spec 11
Workspace工作区The current project-folder context reported by pi.workspace.get(), including a primary root and optional group roots. Reading this metadata grants no file access; a remote-project: identity is not a local path.Spec 03
Project / project group项目/项目组A project row and a logical folder group are different host entities. The projectId on each pi.projects.list() result row identifies a project; the projectId returned by pi.workspace.get() identifies a group. These IDs are not interchangeable.Spec 03
Session会话The Agent conversation identified by sessionId, with its own transcript and runtime context. It is distinct from a Chromium session partition.Spec 03
Turn回合One host-tracked execution within a session, identified by turnId. It can include multiple model requests and tool calls; a terminal state need not mean task success.Spec 03
Model context模型上下文The messages and instructions prepared for a model request. session.getLlmContext returns a bounded, compaction-aware projection of the invoking tool session, not unrestricted transcript access.Spec 03

6. Communication and isolation ​

English termPreferred ChineseMeaning and usageContract
IPC进程间通信(IPC)Communication across process boundaries. Application renderer IPC, the plugin-process channel and the panel bridge have different callers and callable vocabularies.Spec 12
RPC远程过程调用(RPC)A request/response invocation across a boundary. Remote here does not require a network host; the plugin broker also exchanges calls over local process messaging.Spec 12
Broker调用中介(broker)The Electron Main dispatcher that routes plugin pi.* calls, checks permissions and resource policy, and invokes host services. It is not a network proxy.Spec 12
Panel bridge面板桥接接口The preload-exposed window.pluginBridge interface used by isolated panel/view pages. It does not expose the plugin process's full pi object.Spec 03
Message bus消息总线Host-routed publish/subscribe messaging between plugins, bounded by declared topics/patterns and grants. A received payload conveys data, not additional authority.Spec 04
Sandbox沙箱An enforced execution boundary. Plugin panel/view pages have Electron sandboxing and no Node integration; plugin main code and trusted renderer/Agent extensions have different trust models.Spec 04
Session partitionChromium 会话分区The per-plugin Chromium storage/cookie session used by panel/view pages. It is not an Agent session or a separate OS user.Spec 04
Egress allowlist出站访问白名单The manifest.net.domains rules checked on host-mediated network paths. The separate net.anyHost grant controls allowlist exemptions; other endpoint restrictions still apply. This policy does not sandbox raw Node networking.Spec 04
Network proxy网络代理A configured intermediary for outbound HTTP/SOCKS traffic. Keep proxy distinct from Agent and from the plugin call broker.ADR 0177

7. Lifecycle ​

English termPreferred ChineseMeaning and usageContract
Enabled / loaded已启用/已加载Enabled is the persisted user choice; loaded means the current runtime instance is present. A registry entry alone is not proof that the process is running.Spec 05
Hot reload热重载Reloading a development plugin after source changes. The host checks the recorded permission/file-scope approval; a manifest edit does not silently widen the approved reach.Spec 10
Unload / uninstall卸载运行实例/卸载插件Unload ends the runtime instance and withdraws resources while retaining private data. Uninstall removes the registry row and managed code/private data by default, while preserving development source.Spec 11

Local-first · Model-agnostic · Plugin-powered. AIUO.NET