feat: 标准化 Agent 插件与 Skill,并完善 AGENTS.md 和 Windows 运行管理 - #117
Open
A-m-o-r-F-a-t-i wants to merge 10 commits into
Open
A-m-o-r-F-a-t-i wants to merge 10 commits into
A-m-o-r-F-a-t-i wants to merge 10 commits into
Conversation
Make operator and project guidance available through MCP initialization and agentdock_context without requiring separate file reads, ACP, or Recall. Discover the explicit global instructions file or the default AGENTS.md, then load workspace guidance from the applicable root to the selected directory. Return ordered content with provenance, hashes, and explicit load/skip/error states. Read fresh files on each context request. Add an optional request-local workdir selector without changing command working directories or sharing workspace selection across clients. Keep empty-argument calls compatible and preserve the private Nexus context shape through the existing rules field. Bound discovery and content sizes, validate UTF-8, reject automatically discovered symlinks and non-regular files, and deduplicate physical files. Preserve explicit instructions-file behavior and provide an autoload opt-out through AGENTDOCK_AGENTS_AUTOLOAD. Cover discovery, refresh, scope boundaries, Windows path casing, file validation, concurrent workspace isolation, schema compatibility, and MCP initialization/live-context delivery with regression tests. Document the loading contract, configuration, and startup-snapshot limitations.
- 用逻辑插件封装同领域 Skill 与动态 MCP,保留现有注册表兼容性 - 在 agentdock_context 中仅公开插件摘要,并由 plugin_load 延迟展开成员与 MCP 工具 - 为插件、Skill 和 MCP 增加独立开关及有效可用性校验 - 在 Windows 控制面板增加能力管理页、分组展示和中英文界面 - 补充 Runtime API、持久化、协议契约、集成测试与使用文档
- 插件目录直接携带 Skill、MCP 定义、实现文件与状态,不再使用中心 plugins.json 或 cache 层 - Skill 安装改为 Codex 风格可见目录并保留版本、回滚与事务语义 - Windows 管理面板支持安装/更新目录或 ZIP 插件及插件成员开关 - 增加离线迁移脚本、真实目录副本验证、Runtime API 路由、测试和使用文档
- 将仅归档的旧 MCP 环境文件移入 migration-archive/mcp-env - 在迁移报告中记录已归档环境文件 - 补充真实迁移测试,确认活动 env/mcp 不再残留旧配置
采用 Agent Plugins 1.0.0 根清单与标准 Skill/MCP,宿主独立保存开关、Heavy 覆盖值及凭据引用,保留事务式旧格式迁移。普通插件直接披露成员,Heavy 插件按需展开。 修复 Skill 自举被残余运行参数阻断的问题,新增运行配置页、插件折叠与 Heavy 开关。Windows 安装增加目录选择和旧安装位置保护,统一使用 AgentDock 名称,移除 GUI 插件包安装/更新按钮及对应功能,保留 Core 更新。 补充插件解析、迁移回滚、运行参数、Windows 安装与 GUI 契约回归,以及独立 Schema/Codex 插件兼容性测试。
修正 Windows COM VARIANT ABI,安装期间使用已校验载荷核心桥接当前用户会话,并以子进程回执确认启动。完善试运行托盘入口及提权核心的活跃安装事务校验,保留失败回滚保护。 补充真实历史版本升级、同版覆盖、故障回滚、旧环境残留、UTF-8 和临时任务清理回归。统一正式版本及本分支更新入口,附详细中文发布说明。
统一核心和 Windows 控制面板版本,更新中文发布说明。升级回归增加可指定目标版本,保留 0.8.3 与旧 0.8.4 插件版作为实际升级来源。
使用原生 GUI 启动代理替换交互式 PowerShell 计划任务,补齐事务握手、严格版本健康检查、旧 generation 自动恢复与失败诊断。 修复死进程插件锁、Tunnel 停止与 Core 重载竞态;并行按需加载插件清单,修复 Skill/Plugin/Heavy HTTP 开关。加入真实 Inno 覆盖安装、故障注入回滚、窗口观察、WPF 和性能回归。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
本 PR 将当前已完成并在 A-m-o-r-F-a-t-i/agentdock 1.0.1 中验证过的 AgentDock 改造统一提交到上游 main。重点是把 Skill、MCP、插件和项目规则整理成可移植的 Agent 标准结构,同时补齐 Heavy 渐进加载、图形化管理与 Windows 安装/恢复闭环。
主要改动
1. Agent 标准目录与可移植配置
2. 标准插件与 Heavy 两层渐进加载
3. 插件、Skill、MCP 与运行参数管理面板
4. 全局与工作区 AGENTS.md 自动上下文
5. Windows 安装、回滚与 Tunnel 稳定性
兼容性
验证
当前代码基线 9e0cb99 的 GitHub 检查已通过:
本次最后一个提交 9bd517 仅补充 docs/releases/v1.0.1.md 的上游差异说明,git diff --check 通过。完整 Windows x64 安装、覆盖升级、回滚、Tunnel 与产物哈希验收记录见 fork 的 AgentDock 1.0.1 Release。