OpenViking
volcengine
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:dsh-plugins-cn/dsh-image-tools
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
图片预览工具 / Image Preview Tools — 对话图片的完整查看与操作:缩放、平移、跨轮次翻页,以及复制/下载原图字节。
粘贴的截图、上传的图片、助手与工具渲染的图片,都可以:
←/→ 在本次加载的会话窗口内连续浏览前后轮次的图片。助手/工具 Markdown 里嵌入的图片同样使用这套预览与索引。复制的图片进入系统剪贴板,下载保留原始字节与格式(jpg 还是 jpg,不转码、不压缩)。插件只接管图片展示层,不改变消息布局;卸载后官方表现立即恢复。
| 操作 | 行为 |
|---|---|
| 滚轮 / 触控板捏合 | 以指针为锚点缩放(25%–800%) |
| 双击 | 「适配」↔「100%」 |
| 放大后拖动 | 平移,边界夹取 |
← / → / 页码 / 缩略图条 |
跨轮次翻页:整个已加载会话的图片按对话顺序排列 |
+ / - / 0 |
放大 / 缩小 / 回到适配 |
Esc / 点遮罩 / 工具条「关闭」 |
关闭预览 |
预览控件全部在底部工具条:顶部 40px 是 Windows 原生窗口按钮、macOS 是左上红绿灯,插件不在那里放任何可点元素;图像舞台使用 DSH 的 --dsh-frame-overlay-top 安全区,Windows / macOS / 全屏 / 窄窗口 / Web profile 共用一套布局。
powershell -ExecutionPolicy Bypass -File .\install.ps1 -Profile imagecheck
powershell -ExecutionPolicy Bypass -File .\install.ps1 -Doctor -Profile imagecheck
装到日常 profile(会写 profile 的 node_modules 与 package.json,需要重启 DSH 生效):
powershell -ExecutionPolicy Bypass -File .\install.ps1 -Profile desktop
回滚:
powershell -ExecutionPolicy Bypass -File .\install.ps1 -Rollback -Profile desktop
conversation.chat.user.images、conversation.chat.message.images、tool.call.images、conversation.trajectory.images,以 priority: 10 覆盖官方 priority: 100 的注册。shell.overlay(list / root)。props.loadImage(attachment) 返回的 blob URL,与 session.readAttachment 同一份字节。document.body 追加节点、不 require 其他 Client 包;只用 --dsw-* 主题 token。)通过一个点击桥接层接入预览(v0.4.0):只读取被点图片与其所在 markdown 块,不修改官方 DOM;DSH 改版导致识别不到时会自动退回官方预览。Composer 输入框里的草稿缩略图不在接管范围。/api/file?... 等)加入索引;尚未渲染且无法解析的图片不进入翻页索引(仍可直接点开查看),避免出现裂图缩略图/裂图页。npm run check
npm test
npm run pack:dry
设计稿与验收记录在 docs/。
MIT。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: clipboard。