@mokuyoaxis/dsh-iris 0.2.5 → 0.2.7
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/.dsh/skills/iris-use/SKILL.md +2 -2
- package/.dsh/skills/iris-use/references/media-contract.md +2 -2
- package/CHANGELOG.md +49 -1
- package/README.en.md +39 -22
- package/README.md +40 -21
- package/bin/dsh-iris.js +166 -35
- package/docs/AGENT_QUICKSTART.md +7 -7
- package/docs/ARCHITECTURE.md +9 -3
- package/docs/CLI_MANAGEMENT.md +5 -1
- package/docs/CORE_RUNTIME_CONTRACT.md +36 -5
- package/docs/CORE_SKILLS.md +62 -0
- package/docs/DSH_COMPATIBILITY.md +8 -4
- package/docs/DSH_CORE_MIGRATION.md +4 -2
- package/docs/DSH_PROVIDER_CONNECTIONS.md +34 -0
- package/docs/DSH_RUNTIME.md +36 -0
- package/docs/FUNCTION_MODEL_ASSIGNMENTS.md +2 -0
- package/docs/FUNCTION_MODEL_POOLS.md +84 -0
- package/docs/HEADLESS_CLI.md +16 -8
- package/docs/HOST_ADAPTER_CONTRACT.md +7 -2
- package/docs/HOST_DOCTOR.md +14 -2
- package/docs/IMAGE_FLOW.md +71 -0
- package/docs/LOCAL_API.md +60 -0
- package/docs/LOCAL_API_CONTRACT.md +115 -0
- package/docs/LOCAL_CREATION.md +50 -0
- package/docs/MUSIC.md +2 -2
- package/docs/PROVIDER_HEALTH.md +26 -2
- package/docs/ROADMAP.md +18 -4
- package/docs/SECURITY.md +20 -2
- package/docs/SYNC_DELIVERY_RECOVERY.md +2 -0
- package/docs/VISION_CLI.md +2 -2
- package/docs/WEB_PROTOTYPE.md +47 -0
- package/docs/releases/0.2.6.md +50 -0
- package/docs/releases/0.2.7.md +62 -0
- package/lib/actions.js +208 -90
- package/lib/adapters.js +36 -9
- package/lib/api.js +40 -39
- package/lib/application-runtime.js +186 -0
- package/lib/client.js +805 -182
- package/lib/composite-vision-routing.js +6 -6
- package/lib/config.js +140 -29
- package/lib/core-artifact-store.js +5 -0
- package/lib/core-maintenance.js +25 -2
- package/lib/core-runtime.js +19 -0
- package/lib/core-tasks.js +62 -8
- package/lib/creation-request-store.js +159 -0
- package/lib/doctor.js +20 -2
- package/lib/dsh-core-adapter.js +669 -564
- package/lib/dsh-host-adapter.js +14 -1
- package/lib/dsh-provider-config.js +35 -0
- package/lib/dsh-provider-source.js +102 -0
- package/lib/flow-store.js +195 -0
- package/lib/headless-vision.js +5 -5
- package/lib/host-contract.js +1 -0
- package/lib/http-vision-model-adapter.js +5 -2
- package/lib/image-flow.js +188 -0
- package/lib/index.js +103 -78
- package/lib/local-api-projection.js +27 -0
- package/lib/local-api.js +381 -0
- package/lib/local-creation.js +85 -0
- package/lib/model-directory-service.js +53 -0
- package/lib/model-directory.js +103 -0
- package/lib/models.js +71 -6
- package/lib/ocr-model-routing.js +2 -2
- package/lib/private-storage.js +12 -0
- package/lib/provider-adapters.js +42 -9
- package/lib/provider-catalog.js +14 -9
- package/lib/provider-config-scope.js +16 -0
- package/lib/provider-config-service.js +82 -13
- package/lib/provider-health.js +33 -0
- package/lib/provider-protocol.js +30 -0
- package/lib/provider-task-runner.js +22 -2
- package/lib/render-address.js +35 -0
- package/lib/render.js +52 -13
- package/lib/skill-installation.js +199 -0
- package/lib/vision-model-routing.js +25 -12
- package/lib/workbench-artifacts.js +1 -2
- package/lib/workbench-management.js +8 -9
- package/package.json +4 -3
- package/skills/iris-core/SKILL.md +40 -0
- package/skills/iris-core/agents/openai.yaml +4 -0
- package/skills/iris-core/references/cli.md +95 -0
- package/skills/iris-core/references/tasks.md +58 -0
- package/user_guide.md +32 -20
|
@@ -5,7 +5,7 @@ description: "Use dsh-iris for a single media operation or an existing task: ima
|
|
|
5
5
|
|
|
6
6
|
# 使用 Iris 媒体能力
|
|
7
7
|
|
|
8
|
-
把用户要求交给对应的 Iris
|
|
8
|
+
把用户要求交给对应的 Iris 功能,使用当前功能允许的模型,并交付实际产物。单独生成一首音乐、修改一张图片、识别文字或查询已有任务都适用本 skill。
|
|
9
9
|
|
|
10
10
|
## 选择入口
|
|
11
11
|
|
|
@@ -28,7 +28,7 @@ description: "Use dsh-iris for a single media operation or an existing task: ima
|
|
|
28
28
|
## 按当前能力执行
|
|
29
29
|
|
|
30
30
|
- 当前工具列表是可调用入口的依据;skill 可见不代表插件已经装载新工具。工具缺失、服务端/客户端不一致或模型未配置时,说明具体缺口。必要时查看 Iris 工作台的宿主诊断与能力分配,不以生成请求探测配置。
|
|
31
|
-
-
|
|
31
|
+
- 模型名称、供应商名称和模型目录不能证明能力。仅在用户明确指定时传 `providerId::modelId`,其余省略模型参数,按当前功能策略选择;不要默认填首个候选。Music 必须在当前功能允许范围内,并绑定音乐协议。
|
|
32
32
|
- 参数与输入输出的详细区别见[共享能力和产物说明](references/media-contract.md)。仅阅读当前操作相关部分。
|
|
33
33
|
- 请求歌曲或配乐时调用 Music;TTS 用于说话声音。音乐未配置或调用失败时报告原因,不擅自用 NumPy、节拍合成或 TTS 替代。用户明确要求程序化合成时按该要求处理。
|
|
34
34
|
- 音乐生成的时长、歌词、演唱语言和风格当前由 prompt 表达;不把它们当作保证生效的结构化控制。
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
|
|
29
29
|
## 功能与模型选择
|
|
30
30
|
|
|
31
|
-
生图、视频、TTS、Music
|
|
31
|
+
生图、视频、TTS、Music、转写和视觉按当前功能允许范围选择。0.2.4/0.2.5仅使用明确有序名单;0.2.6另支持已确认用途的自动池及显式停用,旧缺失/空分配不自动启用。仅在用户指定时传模型参数,只调用该项;默认省略,保留完整候选链。DSH默认视觉须明确加入名单或开启自动池的宿主视觉选项,不能在指定模型失败后隐式回退。手动实测独立于生产范围,旧任务查询/补交付仍绑定原模型。改图复用图片功能池,接受 `openai-chat-images` 或 `dashscope` 原生 Qwen edit/max/plus、2.0/pro及日期快照;其他原生Qwen版本尚未接入。源图为一个Core静态PNG/JPEG/WebP,最多20 MiB;不提供蒙版或多张参考图输入。默认发送预算8 MiB,可按账号/模型调整;原生Qwen发送副本另限10 MiB,原作品保留。
|
|
32
32
|
|
|
33
|
-
Music 为独立 `music-gen`
|
|
33
|
+
Music 为独立 `music-gen` 功能,仅使用其当前允许范围。模型须配置 `musicProtocol: gemini-web-music`;它不改变账号图片默认协议。其他 Music Adapter 尚未实现。当前正式参数控制客户端超时与502重试;曲长、人声、歌词、语言等是描述意图。
|
|
34
34
|
|
|
35
35
|
通用候选仅在明确未受理时切换。Music 的HTTP502策略是按配置重新生成同一模型,不是换供应商:默认额外2次、间隔5000ms,每次新Task并记录retriedFrom,可能额外消耗额度。Agent 调用一次工具后消费其结果;工具失败不授权另一层自动重试。已有完整结果优先补交付,详见各 skill 链接的任务恢复说明。
|
|
36
36
|
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,52 @@
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.2.7] - 2026-10-22
|
|
8
|
+
|
|
9
|
+
0.2.7 修复宿主截图集成,并提供宿主无关的图片流程、本地 API 与显式 Core Skill 安装器。DSH 沿用 12 个准确版本;独立 Web 仍是面向 0.3.0 的源码演示,尚未连接真实执行入口。英文发布说明附中文摘要,见 [0.2.7](docs/releases/0.2.7.md)。
|
|
10
|
+
|
|
11
|
+
- 增加显式 `skills install/status/uninstall`:从当前 npm 包复制 `iris-core` 到 Kimi 或自定义扫描目录,记录版本/摘要并保护本地修改;升级与卸载保留根外备份,状态只读,安装/卸载支持 `--dry-run`。不添加 npm 自动安装钩子,不改 DSH Skill 注册或模型/MCP 配置。见 [Skill 安装](docs/CORE_SKILLS.md#显式安装检查与卸载)。
|
|
12
|
+
|
|
13
|
+
- 增加宿主无关的 `iris-core` Skill:英文正文附中文标题,指导图片导入、生成、续作、任务查询与作品导出,通过现有 CLI 执行,配套参考随候选包分发。DSH 原有三项 Skill 与注册保持;不代表正式 MCP 或独立 UI 已接入。见 [Core Skill](docs/CORE_SKILLS.md)。
|
|
14
|
+
|
|
15
|
+
- DSH 的 Core 装配接入实例应用队列:工具、动作和工作台显式使用插件实例,连接解析引用、任务观察与启动接管归实例持有。卸载取消并等待在途操作和租约释放,失败保留现场;原根、数据格式、协议和计费规则保持,legacy 存储另行迁移。见 [DSH 实例运行时](docs/DSH_RUNTIME.md)。
|
|
16
|
+
- 增加显式本地创建 API:新空 Flow 根执行 `api init` 后,`api serve --allow-local-writes` 可上传静态图片和创建 Run;同 Key 使用持久意图/预留身份接回原结果,不重复创建。请求/业务提交共用一次 writer,补齐未完成引用与 writer 版本检查,成功作品显式删除后不自动复活。默认只读,未开放生成/取消接口,不迁移原根。见 [本地创建](docs/LOCAL_CREATION.md)。
|
|
17
|
+
- 本地 API 拒绝未完成上传时先发送完整错误,再丢弃剩余正文并关闭,避免 Windows 客户端先收到连接重置。大小、鉴权、并发和超时限制保持;拒绝不创建作品或消费 Key,停止服务可关闭尚未结束的正文。
|
|
18
|
+
- 增加显式 `api serve` 默认只读本地入口:固定回环监听、独立 Bearer 与 Host/Origin 边界,提供模型/流程白名单投影、受控图片及已选择作品下载。会话 Token 写入新建的根外私有文件,不进入 stdout 或 URL;GET/HEAD 不写 Core、不调用 Provider,执行/取消尚未开放。Demo 保留原样。见 [只读 API](docs/LOCAL_API.md)。
|
|
19
|
+
- 源码树保留面向 0.3.0 的独立 Web Demo,展示选图、状态、并排/叠图比较、选择与下载,运行详情默认折叠;界面与交互细节留到 0.3.0 阶段统一润色。当前仅使用内存演示和内置样图,不连接模型、不计费、不写 Core,也未接入只读 API;写操作契约仍待实现。见 [Demo 说明](docs/WEB_PROTOTYPE.md)和 [API 契约](docs/LOCAL_API_CONTRACT.md)。
|
|
20
|
+
- 增加显式 CLI 固定改图流程:专用数据根、私有输入、稳定步骤/Task 绑定、继续执行、比较、选择和导出;同步保护 Flow 引用,缓存原任务的完成结果并复用预留作品 ID。未知受理不重新生成,旧根不自动迁移,尚未接入真实 Web 执行入口。见 [图片流程](docs/IMAGE_FLOW.md)。
|
|
21
|
+
- 0.3 前置:增加实例级写队列与操作级取消/释放,CLI 图片生成、导入、比较、作品查询/导出和单项任务查询开始共用内部应用运行时;命令参数与既有 Task/Artifact 格式保持。
|
|
22
|
+
- 宿主 HTML 截图优先使用显式 `DSH_WEB_BASE`,否则从公开的监听 host/port/protocol 取得实际地址;兼容动态端口和通配监听地址。旧宿主没有可靠地址时仍回落到 3080 并在诊断中提示,公开媒体链接保持原基址约定。
|
|
23
|
+
- 宿主诊断区分浏览器接口存在与截图实测,新增主动“截图自检”、取消、错误说明及折叠预览;自检复用 HTML action 生成一张本地作品,不调用模型,默认诊断和刷新仍不打开浏览器。
|
|
24
|
+
- 修复 DSH HTML 截图与浏览器保存目录限制的冲突:显式请求 PNG 并接收返回的图片数据,经现有 Core 保存作品,不再要求浏览器写入 Iris 数据根。
|
|
25
|
+
- 修正浏览器调用的取消参数,补齐打开会话期间取消后的关闭与临时目录清理;导航、截图失败时保留原始错误。
|
|
26
|
+
- 宿主截图返回数据须为有效 PNG/base64,最多 64 MiB;实际尺寸沿用独立 Chromium 后端的单边 16384、4000 万像素上限。HTML 沙箱与资源限制保持。
|
|
27
|
+
|
|
28
|
+
## [0.2.6] - 2026-10-19
|
|
29
|
+
|
|
30
|
+
0.2.6 的重点是减少重复配置,并让模型候选与当前连接保持一致:复用 DSH 连接、可选功能自动池、按需目录同步和能力检测。旧名单、空配置及任务恢复边界保持。升级后需重载 DSH 服务端并刷新页面,见 [发布说明](docs/releases/0.2.6.md)。
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- DSH供应商连接引用:工作台可选择已有连接,地址和API Key在操作时由宿主解析,避免重复保存密钥;协议、模型用途及功能策略仍需明确确认。支持公开API Key凭据来源,缺少宿主接口、OAuth或自定义认证时说明限制。见 [连接复用](docs/DSH_PROVIDER_CONNECTIONS.md)。
|
|
35
|
+
- 六类功能可选择自动池、仅用所选模型或停用。自动池按稳定顺序使用已确认用途的合格模型,明确未受理时安全切换;显式指定只调用该项,未增加跨请求轮转。旧名单与缺失/空分配保持原行为。见 [功能模型池](docs/FUNCTION_MODEL_POOLS.md)。
|
|
36
|
+
- 首次配置可在确认模型用途时同时启用所选功能的自动池,免去二次分配;工作台展示候选数和配置缺口。后续发现条目待确认,不静默扩池;配置与候选预览不发起生成。
|
|
37
|
+
- 功能池切换采用页面内确认与逐项保存反馈;慢响应时防止重复提交,保存结果不明时可只读核对。识别尚未加载新策略的服务端并暂停切换,避免旧接口返回成功却未启用自动池。
|
|
38
|
+
- 工作台新增“能力状态与检测”:六项能力卡、中文检测直达入口、只读配置检查与单模型实测详情;页面内确认、逐项进度、防重复提交和未知结果提示。视频、音乐、转写引导到真实任务,适配深浅主题及手机布局。见 [能力健康](docs/PROVIDER_HEALTH.md)。
|
|
39
|
+
- 工作台统一分区卡片、标题、按钮及表单样式,收紧卡片留白和控件间距,保留手机点击尺寸。能力检测默认折叠保留摘要,功能池、创作工具、偏好、诊断和历史默认收起,入口显示“展开/收起”。检测跳转自动展开目标分区,折叠期间保留正在执行的请求和结果。
|
|
40
|
+
- 模型目录采用完整快照,自动请求前按需刷新、成功缓存 10 分钟,失败保留旧目录。工作台新增默认折叠的同步摘要与变更信息;新增模型仍需确认用途,不删除旧模型。见 [目录与候选规则](docs/FUNCTION_MODEL_POOLS.md#目录更新与候选可用性)。
|
|
41
|
+
|
|
42
|
+
### Fixed
|
|
43
|
+
|
|
44
|
+
- 工作台折叠提示改为只渲染当前状态的一条文案,关闭显示“展开”、打开显示“收起”;重新加载客户端时原位更新旧样式,修复旧样式残留导致两个提示同时显示的问题。
|
|
45
|
+
- TTS 不再把已知实时语音及尚未接入的语音系列当作普通 HTTP 模型检测或自动选用;缺少专用音色的复刻/设计模型跳过空样本检测,保留历史证据。`Model not exist` 提示具体模型、请求域名及地域/协议排查方向;不自动修改个人模型或重试。
|
|
46
|
+
- 当前连接明确返回模型不存在后,按模型与能力隔离后续候选,保留历史成功和手工配置,支持单项实测恢复。CLI、DSH 与 Agent 共用判断;目录发现不再把视频混合音频或音频理解误判为独立 TTS/转写能力。
|
|
47
|
+
|
|
48
|
+
### Security
|
|
49
|
+
|
|
50
|
+
- 媒体 Provider Adapter 在错误截断前移除本次已知 API Key,覆盖无厂商前缀的密钥及错误码回显,避免进入公开错误与任务记录。
|
|
51
|
+
- `sharp` 最低版本升至 `0.35.5` 并同步锁文件,处理预编译 librsvg 的高危公告 [GHSA-wq5f-xc86-pv6w](https://github.com/lovell/sharp/security/advisories/GHSA-wq5f-xc86-pv6w)。自定义系统库的部署仍需单独检查。
|
|
52
|
+
|
|
7
53
|
## [0.2.5] - 2026-10-16
|
|
8
54
|
|
|
9
55
|
### Changed
|
|
@@ -335,7 +381,9 @@ Iris 0.2.0 要求 Node.js ≥ 22.0.0,DSH 插件仅支持 `0.2.0-rc.2`;旧宿
|
|
|
335
381
|
- 上传采用流式限额、临时 `.part` 文件和原子落盘,失败时会清理未完成文件。
|
|
336
382
|
- 修改状态的路由拒绝明确的跨站请求,媒体文件继续使用随机能力令牌访问。
|
|
337
383
|
|
|
338
|
-
[Unreleased]: https://github.com/mokuyoaxis/dsh-iris/compare/v0.2.
|
|
384
|
+
[Unreleased]: https://github.com/mokuyoaxis/dsh-iris/compare/v0.2.7...HEAD
|
|
385
|
+
[0.2.7]: https://github.com/mokuyoaxis/dsh-iris/compare/v0.2.6...v0.2.7
|
|
386
|
+
[0.2.6]: https://github.com/mokuyoaxis/dsh-iris/compare/v0.2.5...v0.2.6
|
|
339
387
|
[0.2.5]: https://github.com/mokuyoaxis/dsh-iris/compare/v0.2.4...v0.2.5
|
|
340
388
|
[0.2.4]: https://github.com/mokuyoaxis/dsh-iris/compare/v0.2.3...v0.2.4
|
|
341
389
|
[0.2.3]: https://github.com/mokuyoaxis/dsh-iris/compare/v0.2.2...v0.2.3
|
package/README.en.md
CHANGED
|
@@ -20,7 +20,11 @@
|
|
|
20
20
|
|
|
21
21
|
dsh-iris gives agents, the Iris workbench and a standalone CLI image, video, music, speech and visual understanding capabilities. Each image model can use DashScope, OpenAI Images, chat image generation or Responses. Shared Core Artifacts connect generation, vision, OCR and chat editing. The DSH workbench provides configuration and task management, while the 🫧 bubble offers draft optimization in the composer.
|
|
22
22
|
|
|
23
|
-
Music uses a Chat Completions interface with inline audio,
|
|
23
|
+
Music uses a Chat Completions interface with inline audio, confirmed model uses and function policies, configurable 502 retries, and playback/export. See [Music setup and usage](docs/MUSIC.md) (Chinese).
|
|
24
|
+
|
|
25
|
+
Iris 0.2.7 can [reference an existing DSH provider connection](docs/DSH_PROVIDER_CONNECTIONS.md) (Chinese), resolving its endpoint and API key per operation without storing a second key. It adds [automatic, selected-only, and disabled function pools](docs/FUNCTION_MODEL_POOLS.md) (Chinese): confirming a model's uses can enable automatic selection without a second assignment step. Discovery alone never expands the pool; existing lists and empty configurations retain their behavior. Selection uses stable priority with safe failover, without a round-robin cursor.
|
|
26
|
+
|
|
27
|
+
Provider directories refresh on demand with a 10-minute successful cache. Confirmed model-not-found failures exclude that connection's model and capability from subsequent requests while preserving configured models and historical success. Directory details start collapsed; failed refreshes retain the last complete snapshot, and new models still require approval of their uses.
|
|
24
28
|
|
|
25
29
|
## A real generation example
|
|
26
30
|
|
|
@@ -46,22 +50,31 @@ These captures come from an Android browser connected to DSH under Termux/PRoot
|
|
|
46
50
|
|
|
47
51
|
The project is at an early stage; interfaces and configuration formats may still change between releases.
|
|
48
52
|
|
|
49
|
-
Iris 0.2.
|
|
53
|
+
This document describes **Iris 0.2.7**. Pin the version when installing or upgrading, and check the host compatibility range below first.
|
|
54
|
+
|
|
55
|
+
Iris 0.2.7 provides a DSH plugin and a headless CLI sharing tasks, artifacts and model routing. This release fixes host screenshots and adds persistent image workflows, a local API, and explicit Core Skill installation. Connection reuse, function pools, directory synchronization, and existing media features remain available. Core internals have not been frozen as a public SDK.
|
|
50
56
|
|
|
51
|
-
|
|
57
|
+
Version 0.2.7 includes host screenshot adaptation, address resolution, an explicit screenshot check, an internal application runtime with [DSH instance ownership](docs/DSH_RUNTIME.md), a [first persistent image-edit workflow](docs/IMAGE_FLOW.md), a [local API that is read-only by default](docs/LOCAL_API.md), and [explicit local uploads and Run creation](docs/LOCAL_CREATION.md) (Chinese); see the [0.2.7 release notes](docs/releases/0.2.7.md). The source checkout retains a [standalone web demo for 0.3.0](docs/WEB_PROTOTYPE.md) (Chinese) to show the intended workflow. UI and interaction polish is deferred to the 0.3.0 development phase. The demo uses built-in samples without model calls or charges; execution/cancellation APIs and real workbench integration remain on the [0.3 roadmap](docs/ROADMAP.md#03-及以后).
|
|
52
58
|
|
|
53
|
-
|
|
59
|
+
> Version support: Iris 0.2.7 retains the 12 exact DSH versions declared in 0.2.5; see the [compatibility matrix](docs/DSH_COMPATIBILITY.md). Node.js must be at least 22.0.0 and meet any higher host requirement. Connection reuse also requires the relevant public host services.
|
|
54
60
|
|
|
55
|
-
|
|
61
|
+
## What's new in 0.2.7 and existing features
|
|
62
|
+
|
|
63
|
+
**Improve host screenshots and use image workflows and Skills outside DSH.** Function pools retain stable priority and safe failover, without cross-request round-robin.
|
|
64
|
+
|
|
65
|
+
- **Host screenshots:** consume PNG data through Core, respect browser download-directory restrictions, use actual listening metadata, and offer an explicit screenshot check.
|
|
66
|
+
- **Image workflows and local API:** persist CLI steps, tasks, comparisons, and selection. The API is read-only by default; uploads and creation require opt-in, while HTTP execution/cancellation remain future work.
|
|
67
|
+
- **Core Skill installation:** distribute `iris-core` with CLI image guidance; explicitly install to Kimi or a supplied scan directory, preserve local changes, and archive managed updates/removals.
|
|
56
68
|
|
|
57
69
|
- **Persistent image import:** save an existing image through the workbench, agent, or CLI for later vision, editing, and export. The source file stays intact and no model is called.
|
|
58
70
|
- **Native Qwen editing:** use supported DashScope Qwen image editing models as well as chat image models; edited images retain a link to their source.
|
|
59
|
-
- **
|
|
71
|
+
- **Connection reuse and function pools:** reference a DSH API-key connection, and choose automatic, selected-only or disabled mode for each function. Confirming uses can also enable its automatic pool.
|
|
72
|
+
- **Directories and checks:** refresh directories before automatic requests and exclude confirmed missing models from later requests. Capability checks and advanced sections start collapsed; paid probes require separate confirmation.
|
|
60
73
|
- **Older and transitional hosts:** the twelve exact versions in the matrix share current features and use the same manifest, client peer and Doctor compatibility boundary.
|
|
61
74
|
|
|
62
|
-
**
|
|
75
|
+
**Upgrades preserve your allowed scope:** existing lists and missing or empty assignments do not become automatic. New directory entries still require confirmation of their uses; absence alone does not prove a model unavailable. Explicitly add host vision or enable it in the automatic vision pool. Existing tasks retain their bindings. See [function pools](docs/FUNCTION_MODEL_POOLS.md).
|
|
63
76
|
|
|
64
|
-
See the [0.2.
|
|
77
|
+
See the [0.2.7 release notes](docs/releases/0.2.7.md) for upgrade steps and validation limits, and the [CHANGELOG](CHANGELOG.md). Older-host support was restored in [0.2.5](docs/releases/0.2.5.md); image import arrived in [0.2.4](docs/releases/0.2.4.md), and music and Skills in [0.2.3](docs/releases/0.2.3.md).
|
|
65
78
|
|
|
66
79
|
Future work includes additional protocol adapters and creative workflows; see the [roadmap](docs/ROADMAP.md#后续功能方向).
|
|
67
80
|
|
|
@@ -73,48 +86,48 @@ Future work includes additional protocol adapters and creative workflows; see th
|
|
|
73
86
|
| Entry point | Choose a pinned release under "Quickest start" below | `dsh-iris run ...` — see [Headless CLI](docs/HEADLESS_CLI.md) |
|
|
74
87
|
| Data location | `$DSH_HOME/iris/v1/` (Core data root `core-v0`) | Any absolute path passed via `--data-root` |
|
|
75
88
|
| Automatic observation | Yes (bounded DSH host ticks + restart takeover) | Explicit `task observe`; 0.2.2 also offers bounded `task wait` |
|
|
76
|
-
| Dependencies | A DSH version in the compatibility matrix, and Node.js ≥ 22 meeting host requirements | Node.js ≥ 22 and `sharp`
|
|
89
|
+
| Dependencies | A DSH version in the compatibility matrix, and Node.js ≥ 22 meeting host requirements | Node.js ≥ 22 and `sharp` (`ffmpeg` and `ffprobe` for video frames) |
|
|
77
90
|
|
|
78
|
-
Both paths read and write the same Core Task/Artifact facts: point the CLI at the `core-v0` data root of a DSH profile to inspect
|
|
91
|
+
Both paths read and write the same Core Task/Artifact facts: point the CLI at the `core-v0` data root of a DSH profile to inspect or export artifacts, and vice versa. Read-only inspection can coexist with a writer; export is a write operation and returns busy if that data root already has a writer.
|
|
79
92
|
|
|
80
|
-
>
|
|
93
|
+
> Image processing depends on `sharp` and its platform binaries. Failure to load `sharp` can also prevent the CLI or plugin from starting. Repair the dependency installation first, then run `dsh-iris doctor` to check the environment.
|
|
81
94
|
|
|
82
95
|
## Optional legacy configuration import
|
|
83
96
|
|
|
84
|
-
For a new installation, add
|
|
97
|
+
For a new installation, add a provider or reference a DSH connection in the Iris workbench. Iris uses its own configuration and does not scan other projects by default.
|
|
85
98
|
|
|
86
99
|
If you already have an ai-paint configuration, set `IRIS_IMPORT_WORKBENCH_CONFIG` to its absolute file path for a one-time provider import. Iris leaves the source untouched and does not keep configurations synchronized. The variable holds a file path, not an API key. See the [user guide](user_guide.md) for details.
|
|
87
100
|
|
|
88
101
|
## Quickest start
|
|
89
102
|
|
|
90
|
-
Check the host with `dsh --version` and ensure `pnpm` is on your PATH. Iris and DSH have independent version numbers;
|
|
103
|
+
Check the host with `dsh --version` and ensure `pnpm` is on your PATH. Iris and DSH have independent version numbers; Iris 0.2.7 retains the twelve exact hosts listed in the [compatibility matrix](docs/DSH_COMPATIBILITY.md).
|
|
91
104
|
|
|
92
105
|
| Your DSH | Iris choice | Source |
|
|
93
106
|
|---|---|---|
|
|
94
|
-
| Exact 0.1.2 / 0.1.5 / 0.1.7 / 0.2 versions in the matrix | `0.2.
|
|
107
|
+
| Exact 0.1.2 / 0.1.5 / 0.1.7 / 0.2 versions in the matrix | `0.2.7` | Pinned npm version |
|
|
95
108
|
| Versions outside the matrix | Not yet validated | Check the actual host interfaces |
|
|
96
109
|
|
|
97
|
-
### DSH plugin: install 0.2.
|
|
110
|
+
### DSH plugin: install 0.2.7
|
|
98
111
|
|
|
99
112
|
Install the pinned release into your Web profile:
|
|
100
113
|
|
|
101
114
|
```bash
|
|
102
|
-
dsh plugin --profile web add @mokuyoaxis/dsh-iris@0.2.
|
|
115
|
+
dsh plugin --profile web add @mokuyoaxis/dsh-iris@0.2.7
|
|
103
116
|
dsh web
|
|
104
117
|
```
|
|
105
118
|
|
|
106
119
|
The plugin loads on the next DSH start. The web UI defaults to `http://127.0.0.1:3080`; open the complete URL if startup output includes authentication parameters. Reload the backend and refresh the web client after updating.
|
|
107
120
|
|
|
108
|
-
### Standalone CLI: install 0.2.
|
|
121
|
+
### Standalone CLI: install 0.2.7
|
|
109
122
|
|
|
110
123
|
Install in your own project without DSH:
|
|
111
124
|
|
|
112
125
|
```bash
|
|
113
|
-
npm install @mokuyoaxis/dsh-iris@0.2.
|
|
126
|
+
npm install @mokuyoaxis/dsh-iris@0.2.7
|
|
114
127
|
npx dsh-iris --help
|
|
115
128
|
```
|
|
116
129
|
|
|
117
|
-
Download the package separately with `npm pack @mokuyoaxis/dsh-iris@0.2.
|
|
130
|
+
Download the package separately with `npm pack @mokuyoaxis/dsh-iris@0.2.7`. Users who need historical Iris0.1.4 can still pin it; see the matrix for its DSH/Node requirements. It lacks the current Core media CLI and later features.
|
|
118
131
|
|
|
119
132
|
### Choosing a version in dsh-market
|
|
120
133
|
|
|
@@ -122,7 +135,7 @@ The marketplace entry should resolve to the full package name `@mokuyoaxis/dsh-i
|
|
|
122
135
|
|
|
123
136
|
> The unscoped `dsh-iris` on npm belongs to a different plugin. Always keep the fully scoped name `@mokuyoaxis/dsh-iris` when installing or updating Iris Media.
|
|
124
137
|
|
|
125
|
-
After the first start, open "Settings → Iris workbench → + Add provider", enter your
|
|
138
|
+
After the first start, open "Settings → Iris workbench → + Add provider", reference a DSH connection or enter your endpoint and key, and choose the media protocol. Synchronize the directory and confirm model uses; first-time setup can enable automatic selection in the same step. Selected-only mode still requires a list. See [function pools](docs/FUNCTION_MODEL_POOLS.md) and the [user guide](user_guide.md) (Chinese).
|
|
126
139
|
|
|
127
140
|
Once configured, minimal instructions can be as simple as:
|
|
128
141
|
|
|
@@ -161,7 +174,7 @@ After installing the plugin, add a provider in the Iris workbench and assign mod
|
|
|
161
174
|
|
|
162
175
|
## DeepSeek Harness adaptation
|
|
163
176
|
|
|
164
|
-
dsh-iris remains a native DSH plugin. Iris 0.2.
|
|
177
|
+
dsh-iris remains a native DSH plugin. Iris 0.2.7 registers 17 agent tools, including import, editing, and music, and uses host routing, attachments, models, and lifecycle services. The web client contributes settings, composer, and global-overlay UI. Iris does not start another service or listen on an extra port.
|
|
165
178
|
|
|
166
179
|
Save an uploaded or local image as a persistent Artifact for viewing, editing and export; see [image import](docs/IMAGE_IMPORT.md) (Chinese).
|
|
167
180
|
|
|
@@ -174,6 +187,8 @@ Save an uploaded or local image as a persistent Artifact for viewing, editing an
|
|
|
174
187
|
| `0.2.3` | Only `0.2.0-rc.2` | Adds music and a third skill; check actual loading with Host Doctor after upgrading |
|
|
175
188
|
| `0.2.4` | `0.2.0-rc.2` or `0.2.1-alpha.4` | 17 tools / 3 skills; actual SDK, loader, and client slot isolation checks; full browser and hot reload checks remain separate |
|
|
176
189
|
| `0.2.5` | 12 exact versions across the 0.1.2 / 0.1.5 / 0.1.7 / 0.2 lines; see the matrix | Official SDK isolation checks including Music and Qwen dispatch; old profiles also load the actual installed package |
|
|
190
|
+
| `0.2.7` | Retains the 12 exact versions declared in 0.2.6 | Screenshot fixes, instance runtime, image workflows, local API, and Core Skill; standalone Web remains a source-only demo |
|
|
191
|
+
| `0.2.6` | Retains the 12 exact versions declared in 0.2.5 | Adds connection reuse, function pools and directories; connection reuse requires public host services; see that release's notes |
|
|
177
192
|
|
|
178
193
|
See the [compatibility matrix](docs/DSH_COMPATIBILITY.md) for the current scope and [rc.2 adaptation notes](docs/DSH_RC2_ADAPTATION.md) for historical changes. npm 0.1.4 does not contain these later adaptations.
|
|
179
194
|
|
|
@@ -270,7 +285,7 @@ npx @mokuyoaxis/dsh-iris doctor --json
|
|
|
270
285
|
|
|
271
286
|
The installed binary is `dsh-iris`. Exit code `0` is healthy, `1` means warnings, and `2` means hard errors. Offline Doctor checks Node.js, sharp, ffmpeg/ffprobe, a real but cleaned-up storage write probe, configuration, models/assignments, task semantics, temporary files, and orphaned or missing artifacts.
|
|
272
287
|
|
|
273
|
-
A running DSH instance also provides a “Host diagnostics” card and
|
|
288
|
+
A running DSH instance also provides a “Host diagnostics” card and `/iris/api/doctor` JSON protected by Iris's Host and browser-origin guards. These guards do not authenticate users. Doctor checks the host version, plugin, 17 tools and three skills, four route groups, host capabilities, client version, and four UI slots. It reads safe registration evidence without calling Browser, models, or providers. See [Host Doctor](docs/HOST_DOCTOR.md).
|
|
274
289
|
|
|
275
290
|
## Composed workflow example
|
|
276
291
|
|
|
@@ -323,6 +338,8 @@ Legacy media links carry random capability tokens. Core media uses random Artifa
|
|
|
323
338
|
|
|
324
339
|
## Agent Skills
|
|
325
340
|
|
|
341
|
+
Version 0.2.7 adds a host-independent [`iris-core`](skills/iris-core/SKILL.md) for image import, generation, editing, and retrieval through the existing standalone CLI. Instructions are in English with Chinese titles. Explicit `skills install/status/uninstall` commands support Kimi or a supplied scan directory, preserve local changes, and archive managed updates/removals. See [loading and scope](docs/CORE_SKILLS.md). These resources and commands ship in npm 0.2.7. The three DSH skills below remain registered as before; a formal MCP integration is still future work.
|
|
342
|
+
|
|
326
343
|
The DSH skill registry receives three bundled skills:
|
|
327
344
|
|
|
328
345
|
| Skill | When to use |
|
package/README.md
CHANGED
|
@@ -44,22 +44,31 @@ dsh-iris 为 Agent、Iris 工作台和独立 CLI 提供图像、视频、音乐
|
|
|
44
44
|
|
|
45
45
|
项目目前处于早期版本,接口和配置格式仍可能随版本迭代调整。
|
|
46
46
|
|
|
47
|
-
Iris 0.2.
|
|
47
|
+
本文对应 **Iris 0.2.7**。安装与升级请固定版本,并先核对下方的宿主兼容范围。
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
Iris 0.2.7 同时提供 DSH 插件与无 DSH 的 CLI,共用任务、产物和模型路由。本版修复宿主截图集成,并增加持久图片流程、本地 API 和显式 Core Skill 安装;连接复用、功能池、目录同步与既有媒体能力继续可用。Core 内部接口尚未冻结为公共 SDK。
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
0.2.7 包含宿主截图适配、实际截图地址、主动截图自检、内部应用运行时与 [DSH 实例装配](docs/DSH_RUNTIME.md)、[首版持久改图流程](docs/IMAGE_FLOW.md)、[默认只读本地 API](docs/LOCAL_API.md)及主动启用的 [本地上传与创建](docs/LOCAL_CREATION.md),见 [0.2.7 发布说明](docs/releases/0.2.7.md)。源码树保留 [面向 0.3.0 的独立 Web Demo](docs/WEB_PROTOTYPE.md),用于展示操作方向;界面与交互细节将在 0.3.0 阶段统一润色。Demo 使用内置样例,不连接模型、不计费;API 执行/取消与真实工作台联调继续按 [0.3 路线图](docs/ROADMAP.md#03-及以后)推进。
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
> 版本支持:Iris 0.2.7 沿用 0.2.5 的 12 个准确 DSH 版本,见 [兼容矩阵](docs/DSH_COMPATIBILITY.md)。保留旧 DSH 时仍需 Node.js ≥22.0.0,宿主若要求更高,以宿主为准。连接复用另需宿主提供对应公开接口。
|
|
54
|
+
|
|
55
|
+
## 0.2.7 更新重点与现有能力
|
|
56
|
+
|
|
57
|
+
**截图适配更完整,图片流程和 Skills 可脱离 DSH 使用。** 功能池继续采用稳定顺序和安全切换,没有跨请求轮转。
|
|
58
|
+
|
|
59
|
+
- **宿主截图**:直接接收 PNG 并保存为 Core 作品,兼容浏览器下载目录限制;按实际监听地址导航,提供主动截图自检。
|
|
60
|
+
- **图片流程与本地 API**:CLI 持久保存步骤、任务、比较和选择;API 默认只读,上传与创建需显式开启,HTTP 执行/取消尚未开放。
|
|
61
|
+
- **Core Skill 安装**:随包 `iris-core` 通过 CLI 指导图片创作,可显式安装到 Kimi 或指定扫描目录,保护本地修改并保留备份。
|
|
54
62
|
|
|
55
63
|
- **图片导入**:通过工作台、Agent或CLI把已有图片保存为持久作品,继续看图、改图和导出;保留源文件,不调用模型。
|
|
56
64
|
- **原生 Qwen 改图**:除聊天生图外,支持DashScope Qwen带图编辑,修改版另存为关联原图的新作品。
|
|
57
|
-
-
|
|
65
|
+
- **连接复用与功能池**:可引用 DSH 已有 API Key 连接;六类功能可选自动池、仅用所选模型或停用,确认用途时可同时启用自动池。
|
|
66
|
+
- **目录与检测**:自动请求前按需同步目录,明确模型不存在后隔离后续候选;能力检测、目录及高级分区默认折叠,实测单独确认费用。
|
|
58
67
|
- **旧宿主与过渡版本**:兼容矩阵中的12个准确版本共用当前功能,manifest、客户端peer和Doctor使用相同范围。
|
|
59
68
|
|
|
60
|
-
|
|
69
|
+
**升级保持已有调用范围**:旧名单和缺失/空分配不会自动启用;需主动选择自动池。新发现模型仍要确认用途,目录未列出不等于下线。DSH 默认视觉需明确加入名单或开启自动池的宿主视觉选项;已有任务按原绑定恢复。详见 [功能模型池](docs/FUNCTION_MODEL_POOLS.md)。
|
|
61
70
|
|
|
62
|
-
|
|
71
|
+
升级与验证边界见 [0.2.7 发布说明](docs/releases/0.2.7.md) 和 [CHANGELOG](CHANGELOG.md)。旧宿主支持见 [0.2.5](docs/releases/0.2.5.md),图片续作见 [0.2.4](docs/releases/0.2.4.md),音乐与 Skills 见 [0.2.3](docs/releases/0.2.3.md)。
|
|
63
72
|
|
|
64
73
|
音乐的接口格式、模型分配与使用示例见 [Music](docs/MUSIC.md)。其他协议与后续能力见 [路线图](docs/ROADMAP.md#后续功能方向)。
|
|
65
74
|
|
|
@@ -71,48 +80,54 @@ Iris 0.2.5 同时提供 DSH 插件与无 DSH 的 CLI,共用任务、产物和
|
|
|
71
80
|
| 入口 | 按下文「最快开始」选择固定版本 | `dsh-iris run ...`,见 [Headless CLI](docs/HEADLESS_CLI.md) |
|
|
72
81
|
| 数据位置 | `$DSH_HOME/iris/v1/`(Core 数据根 `core-v0`) | 显式 `--data-root` 指定的任意绝对路径 |
|
|
73
82
|
| 自动观察 | 有(DSH Host 有界节拍 + 重启接管) | 显式 `task observe`;0.2.2 另提供有界 `task wait` |
|
|
74
|
-
| 依赖 | 兼容矩阵中的DSH、Node.js ≥22(满足宿主要求) |
|
|
83
|
+
| 依赖 | 兼容矩阵中的DSH、Node.js ≥22(满足宿主要求) | Node.js ≥22与`sharp`(视频抽帧另需`ffmpeg`、`ffprobe`) |
|
|
75
84
|
|
|
76
|
-
两条路径读写同一份 Core Task/Artifact 事实:CLI
|
|
85
|
+
两条路径读写同一份 Core Task/Artifact 事实:CLI 可指向 DSH profile 的 `core-v0` 数据根检查或导出作品,反之亦然。只读检查可与写者共存;导出也属于写操作,同一数据根已有写者时会返回 busy。
|
|
77
86
|
|
|
78
|
-
>
|
|
87
|
+
> 图像处理依赖 `sharp` 及对应平台的二进制。`sharp` 无法加载时也可能阻止 CLI 或插件启动;请先修复依赖安装,再运行 `dsh-iris doctor` 检查环境。
|
|
79
88
|
|
|
80
89
|
## 可选的旧配置导入
|
|
81
90
|
|
|
82
|
-
|
|
91
|
+
首次使用时,在 Iris 工作台添加供应商或引用 DSH 已有连接。Iris 使用自己的配置,不会默认扫描其他项目。
|
|
92
|
+
|
|
93
|
+
[引用 DSH 已有连接](docs/DSH_PROVIDER_CONNECTIONS.md)只保存连接标识,在操作时读取宿主管理的地址和密钥;无可复用连接时可手动填写供应商信息。
|
|
94
|
+
|
|
95
|
+
[功能自动池、手选与停用](docs/FUNCTION_MODEL_POOLS.md):确认模型用途时可直接启用自动池,免去再次逐项分配。旧名单和空分配保持原行为。
|
|
96
|
+
|
|
97
|
+
自动池按需同步模型目录(成功缓存 10 分钟),并隔离当前连接已明确返回“模型不存在”的条目。供应商详情默认折叠展示同步结果;失败保留旧目录,新增条目仍待确认用途,手工配置与历史成功保留。
|
|
83
98
|
|
|
84
99
|
已有旧 ai-paint 配置时,可通过 `IRIS_IMPORT_WORKBENCH_CONFIG` 显式指定来源文件的绝对路径,一次性导入供应商;不修改来源文件、不持续同步。该变量保存文件路径,不包含 API Key。具体操作见[用户指南](user_guide.md#从旧工作台显式导入)。
|
|
85
100
|
|
|
86
101
|
## 最快开始
|
|
87
102
|
|
|
88
|
-
先用 `dsh --version` 核对宿主版本,并确认 `pnpm` 在PATH中。Iris与DSH
|
|
103
|
+
先用 `dsh --version` 核对宿主版本,并确认 `pnpm` 在 PATH 中。Iris 与 DSH 的版本号独立;0.2.7 沿用 [兼容矩阵](docs/DSH_COMPATIBILITY.md) 列出的 12 个准确版本。
|
|
89
104
|
|
|
90
105
|
| 你的 DSH | Iris 选择 | 安装来源 |
|
|
91
106
|
|---|---|---|
|
|
92
|
-
| 矩阵中的0.1.2/0.1.5/0.1.7/0.2线准确版本 | `0.2.
|
|
107
|
+
| 矩阵中的0.1.2/0.1.5/0.1.7/0.2线准确版本 | `0.2.7` | 固定 npm 版本 |
|
|
93
108
|
| 未列入矩阵的版本 | 尚未验收 | 按实际宿主接口另行检查 |
|
|
94
109
|
|
|
95
|
-
### DSH插件:安装0.2.
|
|
110
|
+
### DSH插件:安装0.2.7
|
|
96
111
|
|
|
97
112
|
安装固定版本到 Web profile:
|
|
98
113
|
|
|
99
114
|
```bash
|
|
100
|
-
dsh plugin --profile web add @mokuyoaxis/dsh-iris@0.2.
|
|
115
|
+
dsh plugin --profile web add @mokuyoaxis/dsh-iris@0.2.7
|
|
101
116
|
dsh web
|
|
102
117
|
```
|
|
103
118
|
|
|
104
119
|
插件在下一次 DSH 启动时装载。Web UI 默认位于 `http://127.0.0.1:3080`;启动输出带认证参数时请打开完整 URL。更新后需重新加载后端并刷新客户端。
|
|
105
120
|
|
|
106
|
-
### 独立CLI:安装0.2.
|
|
121
|
+
### 独立CLI:安装0.2.7
|
|
107
122
|
|
|
108
123
|
在自己的项目中安装,无需 DSH:
|
|
109
124
|
|
|
110
125
|
```bash
|
|
111
|
-
npm install @mokuyoaxis/dsh-iris@0.2.
|
|
126
|
+
npm install @mokuyoaxis/dsh-iris@0.2.7
|
|
112
127
|
npx dsh-iris --help
|
|
113
128
|
```
|
|
114
129
|
|
|
115
|
-
需要单独下载时运行`npm pack @mokuyoaxis/dsh-iris@0.2.
|
|
130
|
+
需要单独下载时运行`npm pack @mokuyoaxis/dsh-iris@0.2.7`。仍需保留历史Iris0.1.4时可以固定其版本;历史DSH/Node范围见兼容矩阵,0.1.4不包含当前Core媒体CLI及后续新功能。
|
|
116
131
|
|
|
117
132
|
### dsh-market 安装时的版本选择
|
|
118
133
|
|
|
@@ -120,7 +135,7 @@ npx dsh-iris --help
|
|
|
120
135
|
|
|
121
136
|
> npm 上无 scope 的 `dsh-iris` 属于另一款插件。安装和更新 Iris Media 时必须保留完整包名 `@mokuyoaxis/dsh-iris`。
|
|
122
137
|
|
|
123
|
-
首次启动后,打开“设置 → Iris 工作台 → +
|
|
138
|
+
首次启动后,打开“设置 → Iris 工作台 → + 添加供应商”,引用 DSH 连接或手动填写地址与密钥,明确媒体协议,再同步目录并确认模型用途。首次配置可同时启用所选功能的自动池;保留手选模式时需选择模型。完整步骤见 [用户指南](user_guide.md) 和 [功能模型池](docs/FUNCTION_MODEL_POOLS.md)。
|
|
124
139
|
|
|
125
140
|
配置完成后,最小指令可以是:
|
|
126
141
|
|
|
@@ -160,7 +175,7 @@ DSH 的 profile 与插件命令由[官方安装说明](https://github.com/deepse
|
|
|
160
175
|
|
|
161
176
|
## DeepSeek Harness 适配
|
|
162
177
|
|
|
163
|
-
dsh-iris仍按DSH原生插件装载。0.2.
|
|
178
|
+
dsh-iris仍按DSH原生插件装载。0.2.7服务端注册17个Agent工具,包含图片导入、改图与音乐;使用宿主提供的路由、附件、模型和生命周期能力。Web客户端接入设置页、会话输入区与全局悬浮层,不启动额外服务或监听端口。
|
|
164
179
|
|
|
165
180
|
上传图片或本地图片可保存为持久作品,继续看图、改图及导出,见 [图片导入](docs/IMAGE_IMPORT.md)。
|
|
166
181
|
|
|
@@ -173,6 +188,8 @@ dsh-iris仍按DSH原生插件装载。0.2.5服务端注册17个Agent工具,包
|
|
|
173
188
|
| `0.2.3` | 仅 `0.2.0-rc.2` | 增加音乐工具和第三项 Skill;升级后用宿主诊断检查实际装载 |
|
|
174
189
|
| `0.2.4` | `0.2.0-rc.2` 或 `0.2.1-alpha.4` | 17工具/3项Skill;两版实际SDK、加载器与界面插槽隔离验收,完整浏览器/热更新另验 |
|
|
175
190
|
| `0.2.5` | 0.1.2/0.1.5/0.1.7/0.2线的12个准确版本,见兼容矩阵 | 每版官方SDK隔离检查,包含Music与Qwen工具链;旧profile另通过实际安装包装载 |
|
|
191
|
+
| `0.2.7` | 沿用0.2.6的12个准确版本 | 截图修复、实例运行时、图片流程、本地 API 和 Core Skill;独立 Web 仍为源码 Demo |
|
|
192
|
+
| `0.2.6` | 沿用0.2.5的12个准确版本 | 新增连接复用、功能池与目录;连接引用按宿主公开服务检测,具体边界见该版发布说明 |
|
|
176
193
|
|
|
177
194
|
当前声明与验收范围见 [版本兼容](docs/DSH_COMPATIBILITY.md),早期rc.2修正见 [历史适配记录](docs/DSH_RC2_ADAPTATION.md);npm0.1.4不包含这些后续适配。
|
|
178
195
|
|
|
@@ -269,7 +286,7 @@ npx @mokuyoaxis/dsh-iris doctor --json
|
|
|
269
286
|
|
|
270
287
|
安装后的二进制名是 `dsh-iris`。退出码 `0` 表示正常、`1` 表示有警告、`2` 表示有硬错误。离线 Doctor 检查 Node、sharp、ffmpeg/ffprobe、数据目录真实写入、配置、模型/分配、任务语义、临时文件和孤儿/缺失产物。
|
|
271
288
|
|
|
272
|
-
运行中的DSH另在Iris
|
|
289
|
+
运行中的 DSH 另在 Iris 工作台提供“宿主诊断”卡片及受 Host/浏览器来源守卫保护的 `/iris/api/doctor` JSON,检查宿主版本、插件、17 工具/3 项 Skill、四组路由、宿主能力、客户端版本和四个 UI Slot。该守卫不提供身份认证。诊断只读取安全快照与注册证据,不调用 Browser、模型或 Provider,详见 [Host Doctor](docs/HOST_DOCTOR.md)。
|
|
273
290
|
|
|
274
291
|
## 组合工作流示例
|
|
275
292
|
|
|
@@ -322,6 +339,8 @@ npx @mokuyoaxis/dsh-iris doctor --json
|
|
|
322
339
|
|
|
323
340
|
## Agent Skills
|
|
324
341
|
|
|
342
|
+
0.2.7 新增宿主无关的 [`iris-core`](skills/iris-core/SKILL.md),通过现有独立 CLI 完成图片导入、生成、编辑与原任务/作品取回;英文正文附中文标题。其他 harness 可用 `dsh-iris skills install --target kimi` 或明确扫描目录安装,配套状态检查、冲突保护与可恢复卸载,见 [Core Skill 说明](docs/CORE_SKILLS.md)。这些资源和命令随 npm 0.2.7 分发,DSH 继续使用下方三项 Skills;正式 MCP 仍待实现。
|
|
343
|
+
|
|
325
344
|
插件通过 DSH Skill registry 注册三项随包 Skill:
|
|
326
345
|
|
|
327
346
|
| Skill | 适用场景 |
|