treg
superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:niobium617/dsh-vibecode-studio
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A visual feedback loop for DeepSeek Harness: preview your local web app inside DSH, point at what is wrong, and hand structured notes to the coding agent — no screenshot ping-pong.
📖 第一次使用?直接看图文使用说明(5 分钟上手 + 界面导览)
界面导览(真实预览截图,已脱敏;点图看完整说明):① Studio 标签页 ② 五个页签 ③ 状态行/更多 ④ 地址栏 ⑤ 预览画布 ⑥ 拾取提示/元素卡片 ⑦ 批注气泡 ⑧ 底部抽屉。
The killer feature: live preview + click-to-annotate.
Point at the exact element, describe the change, and send it to the agent as structured context —
selector, source location, DOM snapshot — not a screenshot.
最大特色:实时预览 + 点选页面元素,直接让 DSH 改。
不用截图、不用描述“左边那个蓝色按钮”。点中它,写一句要改成什么,Agent 收到的是选择器、源码位置和 DOM 上下文。
vibe_annotation_get /
vibe_observe / vibe_preview 读取结构化上下文并修改代码;不会自动发送,也不会自动提交。
点「发送到对话」只写入 composer 草稿;改完后状态行提示「文件已改动」,刷新预览继续下一处。
👉 完整的 5 分钟上手流程、功能导览与排障:使用说明(图文)
Status: pre-alpha, unpublished. M0–M6 are complete and the G0–G6 gates passed: embedded preview, inspect/annotation, the API workbench, agent tools (vibe_status/vibe_observe/vibe_annotation_get/vibe_preview), the Vibe Studio preset, /vibe, the bundled skill, and the M6 verification/hardening work (verification service and panel, real-DSH E2E, soak run, security hardening, packaging/docs). G6 passed 8/8 against SPEC §2.3. M6 is merged into main (merge commit f2f5342). The package is deliberately still private and unpublished — see RELEASE.md for the publish checklist. See the G0 review for the go/no-go and fallback decisions.
📖 使用说明(图文) · 中文简介 · Install & usage · Release · Security policy · Security audit · Design · Task plan · Dev log · M2 手册 · M3 手册 · M4 手册 · M5 手册 · M6 手册 · 界面与项目方向 · 后续方向 · 验证接口对接
DSH Vibecode Studio 是面向 DeepSeek Harness(DSH) 的可视化 Vibe Coding 插件:在 DSH 侧栏里直接预览本地 Web 应用,点选页面元素写下修改意见,再把这些带上下文的批注交给编码 Agent,省掉“截图 → 粘贴 → 用文字描述”的来回。
Vibe coding 的关键是让 Agent “看见”结果。截图会丢失元素身份、交互上下文和截图外信息;本插件把预览本身变成反馈界面:
ctx.connection 传输、测试 harness 与 Vite fixture、.vibe 设置与设置面板均已完成。.vibe 设置已在 Host、Web 与隔离 Desktop 载体验证;G2 三端实测 24.4–25.9 fps。手动复测步骤见 手动测试手册。tools/m4-manual-server.mjs。vibe_status / vibe_observe / vibe_annotation_get / vibe_preview)、Vibe Studio preset、斜杠命令 /vibe、内置技能 vibecoding-studio;工具 schema 经 DSH 校验,越权动作(非 loopback、跨源、关闭截图后的 screenshot)在审批前即拒绝。手动复测步骤见 M5 手动测试手册。main(合并提交 f2f5342):验证服务与验证面板、真实 DSH 的 E2E 主链路、30 分钟 / 100 次标注的 soak、安全加固(pnpm test:security,见 安全审计)、打包与文档(USER-GUIDE.md、RELEASE.md)。G6 对照 SPEC §2.3 的 8 条逐项达标(GO);干净 vibe-dev 安装已验证:tarball 227.1 kB / 11 个文件,--dump-config 组合树含插件行,/api/vibe/health 正常,Studio E2E 通过;隔离 Desktop 载体验证 5 个页签与验证抽屉可用,真实 desktop profile 未被修改。手测步骤见 M6 手动测试手册;M6 之后的选题建议见 后续开发方向。"private": true;发布需要用户明确批准,步骤与回滚见 RELEASE.md。spikes/ 保留为 spike 证据。InputActions 把结构化文本写入 composer 草稿,不自动发送;截图走“复制 PNG + 手动粘贴”。ctx.credentials,UI 只读取 describe 元数据。/vibe 命令、验证面板与打包(M4/M5/M6)。file:、chrome:、devtools:、云元数据与私网地址。ctx.connection,不直接使用 ctx.webServer。需要 Node.js 24、pnpm 11,以及 DSH 0.2.1-rc.2 或更新版本。只装进开发 profile vibe-dev,
不要动 desktop / web。
pnpm install
pnpm build # lib/index.js + lib/agent.js + lib/client.js
npm pack # 产出 dsh-vibecode-studio-0.1.0.tgz
dsh plugin --profile vibe-dev add file:<绝对路径>/dsh-vibecode-studio-0.1.0.tgz
dsh --profile vibe-dev --no-open --host 127.0.0.1 --port 4317
开发时也可用 dsh plugin --profile vibe-dev add link:<本仓库绝对路径>,每次 pnpm build 后重启 DSH。
右栏“新标签页 → Vibe Studio”打开界面。第一次使用建议先看
使用说明(图文):5 分钟跑通“预览 → 点选元素 → 发送到对话”的闭环。
完整安装参数、配置与已知限制见 用户指南;打包、干净安装验证与发布流程见
发布说明。
完整设计见 SPEC,任务顺序见 todo.md,开发记录见 DEVLOG, 自己复测功能见 M2 手动测试手册、M3 手动测试手册、M4 手动测试手册 与 M5 手动测试手册,界面与产品方向见 方向文档。
Vibe coding works best when the agent can see the result. Today that usually means taking a screenshot, pasting it into chat, and describing the problem in prose. That loses element identity, interaction context, and anything the screenshot does not show.
DSH Vibecode Studio turns the preview itself into the feedback surface:
The agent stays in control. Notes are prepared for the composer; nothing is sent, approved, or committed automatically.
describe metadata.docs/ product spec, user guide, release/security notes, capability map, UI direction
src/ product package (host, client, contracts)
tests/ Vitest unit/component/integration, Playwright E2E, security suite, soak runner
fixtures/ vite-basic React app plus the security-injection fixture
tasks/ implementation plan, ordered task list, handoff state
spikes/
s1/ T001 transport spike: pull JPEG vs multipart stream
s2/ T002 composer handoff spike: public InputActions + clipboard fallback
s3/ T003 screencast, input latency, and Chinese IME spike
s4/ T004 element picking and React/Vue/Svelte source mapping spike
G0.md T005 spike review: go/no-go and final fallback decisions
G0–G6 have passed and M1–M6 are complete: the root package builds host lib/index.js, agent lib/agent.js, and loader-wrapped lib/client.js, plus presets/ and skills/ for the agent preset; tests live in tests/ with fixtures in fixtures/.
Requirements: Node.js 24, pnpm 11, and DeepSeek Harness 0.2.1-rc.2 or newer for manual plugin runs.
pnpm install
pnpm typecheck
pnpm build # host + agent + client bundles
npm pack --dry-run # package contents check
pnpm test # Vitest: node + jsdom projects
pnpm test:security # injection / redaction / origin / credential suites
pnpm test:e2e # Playwright; real-DSH carrier via VIBE_DSH_BIN
pnpm test:soak # 30 min + 100 annotations stability run
pnpm fixture:dev # fixture only → http://127.0.0.1:4320
pnpm spike:s1:build # bundle S1 host/client (required before linking)
pnpm spike:s1 # local 10 s pull-vs-stream benchmark
node spikes/s1/soak.mjs ... # 10 min Web/Desktop soak; see spikes/s1/REPORT.md
pnpm spike:s2:build # bundle S2 host/client (required before linking)
pnpm spike:s3 --seconds 10 # screencast, input latency, Chinese IME
pnpm spike:s4 # picker and React/Vue/Svelte source hits
spikes/s1/package/lib/ and spikes/s2/package/lib/ are generated and gitignored. Build before linking with dsh plugin --profile vibe-dev add link:<absolute-path>; otherwise DSH links a package with no host/client entry points. Do not rebuild a linked package while a benchmark, soak, or manual acceptance run is active; DSH hot-reloads the client and invalidates the result. S2 manual steps and its clipboard limitations are in spikes/s2/run.md.
The spikes install into a throwaway DSH profile (vibe-dev); they must never be installed into desktop or web directly.
ctx.connection; no direct ctx.webServer use.ctx.credentials.file:, chrome:, devtools:, cloud metadata, and private-network targets are rejected.See docs/SPEC-vibecoding-studio.md for the full contract and tasks/todo.md for the ordered plan.
Early-stage contributions are welcome, especially protocol and transport reviews. Read CONTRIBUTING.md first. Security reports should follow SECURITY.md.
This is an independent open-source project. It is not affiliated with, endorsed by, or sponsored by DeepSeek. “DeepSeek” and “DeepSeek Harness” are used only to describe the host the plugin runs on.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: developer-tools。