Saltar al contenido principal
K

dsh-file-review-kcoder

kkutysllb/dsh-file-review-kcoder

Standalone dsh plugin (maintained by dsh-external): review agent-produced file changes (line-level red/green diff + undo) as a chat turn-tail row and a coding-sidebar tab. Lineage: originally a port of left0ver/dsh-file-review; previously maintained in-tr

Instalar

dsh plugin --profile web add github:kkutysllb/dsh-file-review-kcoder

README

dsh-file-review-kcoder

改动审查——把 agent 产出的文件变更(行级红绿 diff + 撤销)渲染为对话轮尾审查行与 coding-sidebar 侧边栏 Tab,两个入口同源互不干扰。

自 KCoder 内置包 @kcoder/file-review 独立发布的 dsh 插件(v1.0.0 起完全自立维护,不再以收编/fork 形态延续)。

功能

  • 对话轮尾审查行:每个产出文件的会话自动附审查入口;
  • 非代码产物预览:图片 / 音视频 / Office / PDF / 文档类产出带类型徽标,点击经 dsh-coding-sidebar 的查看器管线(image / pdf / markdown / html 内置,office / video 插件懒加载)预览;bash 重定向、curl -ocp/mvtee 等产出按已知扩展名保守捕获;
  • 侧边栏 Tab:line-level diff(UnifiedDiff)、产出文件列表(ProducedFiles)、逐 hunk 撤销(undo 服务);
  • typert 描述符协议(./typert)与远程面(./remote)随包导出。

安装 / Install

# npm registry(推荐:版本可被插件管理检测,更新由用户手动触发)
# npm registry (recommended: version detection with manual updates)
dsh plugin --profile web add dsh-file-review-kcoder

# GitHub 直装 / install straight from GitHub
dsh plugin --profile web add github:kkutysllb/dsh-file-review-kcoder
  • 要求 dsh 0.1.2-alpha.1+(对话快照路由 / 原生 deliverables 词汇),建议 0.1.2-alpha.4+
  • 侧边栏 Tab 依赖 dsh-coding-sidebar(optional peer——未装时仅对话轮尾审查行可用);
  • package.jsonversion 是插件管理检测新版本的信号,更新由用户手动触发;
  • npm 发线与 GitHub 发线同版本号发布,每版变更说明见 release/

依赖契约

  • peer:dsh 生态包(>=0.1.0-rc.5)+ dsh-coding-sidebaroptional——未装侧边栏时仅轮尾行入口可用)+ react;
  • dsh.client.inject:dsh-client-runtime / locale / ui-conversation / dsh-coding-sidebar。

构建

pnpm install
pnpm build      # tsc types + tsdown → lib/
pnpm typecheck
pnpm smoke      # prepack 自动跑

Lineage

  • Originally a port of left0ver/dsh-file-review(MIT,© ZhangWenChao,署名依 MIT 保留);
  • 曾以 dsh-file-review-tab 收编于 kkutysllb/dsh-plugins,内置形态为 @kcoder/file-review;v1.0.0 起独立发布线。

许可

MIT © dsh-external

Plugins relacionados