@michengai/dsh-agency-agents 0.1.35 → 0.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/CHANGELOG.zh-CN.md +10 -0
- package/README.md +6 -0
- package/README.zh-CN.md +6 -0
- package/lib/client.js +1128 -214
- package/lib/{index-Cj9YDkgr.d.ts → index-D4dhi1A4.d.ts} +4 -4
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/remote.d.ts +40 -2
- package/lib/remote.js +150 -9
- package/lib/{src-CYNv1yps.js → src-Di6THeMW.js} +327 -46
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,16 @@ The five most recent published versions are listed below.
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 0.1.36 - 2026-09-09
|
|
10
|
+
|
|
11
|
+
- Added custom expert management with creation, editing, copying built-ins, avatar and Emoji selection, and source and enabled-state filters. Custom experts are available through @ suggestions, the chat picker, and summon tools.
|
|
12
|
+
- Made deletion permanent with immediate capacity recovery and automatic cleanup of legacy soft-deleted records. Name conflicts retain rename and delete access in Settings instead of making the entire catalog unavailable.
|
|
13
|
+
- Strengthened settings revision and catalog consistency checks, rejected invalid enablement entries, and prevented in-flight reads and delayed write receipts from overwriting newer results.
|
|
14
|
+
- Preserved drafts during editing conflicts and added review of the latest content before saving. Stale local catalogs no longer block valid saves after another window deletes or renames an expert to release its name.
|
|
15
|
+
- Made viewing, copying, and summoning nested experts read the actual file selected by the catalog, avoiding missing prompts or the wrong persona from a same-named file.
|
|
16
|
+
- Refined chat entry spacing, dropdown styling, blue focus feedback, and layered Escape handling. Prompt previews use a native dialog, and custom reference chips retain the same icon-and-name presentation as built-ins.
|
|
17
|
+
- Fixed a concurrency gap in automatic update locking and made release validation compatible with Windows CRLF line endings.
|
|
18
|
+
|
|
9
19
|
## 0.1.35 - 2026-09-09
|
|
10
20
|
|
|
11
21
|
- Unified settings headings, descriptions, and action layouts; maintenance controls no longer squeeze titles or versions. The layout adapts to native DSH settings without Codex UI.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -6,6 +6,16 @@
|
|
|
6
6
|
|
|
7
7
|
## 未发布
|
|
8
8
|
|
|
9
|
+
## 0.1.36 - 2026-09-09
|
|
10
|
+
|
|
11
|
+
- 新增自定义专家管理:支持创建、编辑、复制内置专家、选择头像与 Emoji,以及来源和启用状态筛选;自定义专家可从 @ 候选、聊天入口和召唤工具调用。
|
|
12
|
+
- 专家删除改为永久删除并立即释放名额,自动清理旧版软删除记录;名称冲突保留设置页改名和删除入口,不再导致整张名册不可用。
|
|
13
|
+
- 加强配置修订号和名册一致性校验,拒绝无效启用项,防止在途旧查询及延迟写入回执覆盖最新结果。
|
|
14
|
+
- 编辑冲突时保留草稿,支持读取并核对最新内容后再保存;其他窗口删除或改名释放名称后,旧本地名册不再阻止合法保存。
|
|
15
|
+
- 嵌套目录专家的查看、复制与召唤均读取名册选中的实际文件,避免正文缺失或读到同名专家的错误 persona。
|
|
16
|
+
- 优化聊天入口间距、下拉样式、蓝色焦点反馈和 Escape 分层处理;提示词预览使用原生弹窗,自定义引用标签与内置保持统一图标和纯名称。
|
|
17
|
+
- 修复自动更新请求的并发锁空档,并让发布校验兼容 Windows CRLF 换行。
|
|
18
|
+
|
|
9
19
|
## 0.1.35 - 2026-09-09
|
|
10
20
|
|
|
11
21
|
- 统一设置页标题、说明与操作布局,标题及版本不再被维护按钮挤压;适配原生 DSH 设置内容区,无需安装 Codex UI。
|
package/README.md
CHANGED
|
@@ -740,6 +740,12 @@ pnpm verify
|
|
|
740
740
|
|
|
741
741
|
`prepublishOnly` runs these build, test, and package-integrity checks before publishing.
|
|
742
742
|
|
|
743
|
+
## Custom experts
|
|
744
|
+
|
|
745
|
+
Open Settings → Experts → New expert. Set a name, description, category and prompt, then choose an avatar and a separate summon emoji (default 🧩). Save and enable makes the expert immediately available through @ and the Experts button. Reference labels use the standard expert icon and plain name, matching built-in experts; the emoji appears in candidate menus. Copy a base expert to customize it, or edit, enable, disable and delete custom experts. Deletion permanently removes the expert content and enabled state; it cannot be undone.
|
|
746
|
+
|
|
747
|
+
Data lives in the DSH settings agency-agents namespace outside the plugin directory and survives upgrades. External root still replaces the base roster; custom experts are appended. Viewing, copying, and summoning nested experts use the actual file selected by the catalog. The limit is 200 existing custom experts. Deletion frees a slot; legacy soft-deleted records are cleaned up on startup and subsequent writes. Name conflicts introduced by a base catalog update remain visible in Settings for renaming or deletion, but conflicting experts cannot be summoned. Concurrent changes reject stale saves and keep the draft in the editor. Read and compare the latest content, choose to keep your draft or load that content, then save explicitly. Deleted experts can only be continued as new experts. Remove disabled draft references or re-enable the expert; remove and reselect deleted or conflicting references. Writes carry a revision; see the [Remote contract](src/remote-contract.ts). Back up current settings before downgrading: restoring custom data is separate from rolling back plugin code.
|
|
748
|
+
|
|
743
749
|
## License and attribution
|
|
744
750
|
|
|
745
751
|
This project’s TypeScript source, build scripts, and documentation use [Apache License 2.0](LICENSE). Bundled personas originate from [The Agency](https://github.com/msitarzewski/agency-agents) and remain MIT-licensed; see [assets\agency-agents\LICENSE](assets/agency-agents/LICENSE).
|
package/README.zh-CN.md
CHANGED
|
@@ -740,6 +740,12 @@ pnpm verify
|
|
|
740
740
|
|
|
741
741
|
`prepublishOnly` 会在发布前依次执行上述构建、测试和包完整性检查。
|
|
742
742
|
|
|
743
|
+
## 自定义专家
|
|
744
|
+
|
|
745
|
+
在「设置 → 专家」点击「新建专家」,填写名称、简介、分类和专家提示词,可分别选择头像与召唤 Emoji(默认 🧩)。「保存并启用」后立即通过 @ 或专家按钮选择;标签与内置专家一致,显示统一专家图标和纯名称;Emoji 用于候选菜单。基础专家可复制为自定义,自定义专家可编辑、启停、删除,删除会永久移除专家内容及启用状态,无法撤销。
|
|
746
|
+
|
|
747
|
+
数据保存在 DSH settings 的 agency-agents 命名空间,独立于插件目录,升级保留。外部 root 仍替换基础名册,自定义专家追加到该名册;嵌套目录专家的查看、复制与召唤均读取名册选中的实际文件。最多保留 200 位自定义专家,删除立即释放名额;旧版已删除记录在启动及后续写入时清理。内置或外部目录更新导致的名称冲突会在设置页标记,允许改名或删除,冲突专家暂停召唤。多窗口冲突时在当前编辑器保留草稿,可读取最新内容并核对,选择继续使用草稿或载入最新内容后再保存;已删除专家只能作为新专家继续。停用的草稿标签需移除或重新启用,已删除或冲突的标签需移除并重新选择。写入携带修订号,协议以 [Remote 契约](src/remote-contract.ts) 为准。回退旧插件前应备份最新 settings,自定义数据的恢复与代码回退分开处理。
|
|
748
|
+
|
|
743
749
|
## 许可证与归属
|
|
744
750
|
|
|
745
751
|
本项目 TypeScript 源码、构建脚本和文档采用 [Apache License 2.0](LICENSE)。内置专家 persona 源自 [The Agency](https://github.com/msitarzewski/agency-agents),仍采用 MIT,许可证位于 [assets\agency-agents\LICENSE](assets/agency-agents/LICENSE)。
|