rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:yangdongzhen590/dsh-knj-reqwork
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
dsh-knj-reqwork is a private PM workbench for DeepSeek Harness (DSH). It treats the local frontend codebase as the source of truth: instead of recreating a design file, it reads the configured Vue Router and presents the resulting pages in the DSH web workspace.
Not a Figma replacement. This plugin borrows the useful interaction contracts of selection, source inspection, layout, and snapshots, but it is not a vector-design or collaboration product. It does not implement vector editing, multi-user collaboration, comments or approvals, remote-file permissions, cloud files, or component publishing. The relevant product-research notes are in
docs/research/2026-09-05-figma-private-workbench-patterns.mdwhen present in the larger project.
M0 is deliberately read-only and has no persistence. Its capabilities are:
D:\workspace\knsearch-test\knsearch_web; a host configuration may supply projectRoot for a different local project root.@page:<path> reference, for example @page:/home.GET /dsh-knj-reqwork/pages endpoint through the DSH webServer service. It returns { ok, root, pages } on success and uses 404/405/500 for unsupported paths, methods, and scanner failures.需求工坊 entry into the knj.menu.item slot and mounts the panel in the DSH conversation/main area. The client lifecycle is reversible: it removes its menu entry, DOM, styles, observer, and listeners when disposed.The host entry exports scanVueRouter, mountReqworkRoutes, BASE, PAGES_PATH, and DEFAULT_PROJECT_ROOT; the client entry is exported as dsh-knj-reqwork/client for DSH web loading.
Build and package this plugin:
npm.cmd run check
npm.cmd test
npm.cmd pack
Install the generated tarball into the DSH web profile:
dsh plugin --profile web add ./dsh-knj-reqwork-<ver>.tgz
Restart or reload the DSH web host as appropriate for the host environment, then open the 需求工坊 menu item.
<ver> is the package version in package.json; M0 currently produces dsh-knj-reqwork-2026.9.5.tgz.
This package requires Node.js 20 or newer. Use npm.cmd in PowerShell so the npm PowerShell shim is not invoked.
npm.cmd install
npm.cmd run typecheck
npm.cmd run build
npm.cmd run check
npm.cmd test
npm.cmd pack
check runs both TypeScript configurations and builds the host and client artifacts.test uses Node's built-in test runner (node --test).pack produces an ignored .tgz archive for package-content inspection; do not commit it.The repository .npmrc enables legacy-peer-deps because the pinned DSH pre-release package peers require it during install.
DSH host (Cordis) DSH web client
┌─────────────────────────┐ ┌─────────────────────────────────┐
│ apply(ctx) │ │ client apply({ slots }) │
│ inject: webServer │ │ inject: ['slots'] │
│ /dsh-knj-reqwork/pages │──────▶│ knj.menu.item → panel mount │
│ scanVueRouter(root) │ JSON │ page list → PageRef + inspector │
└───────────┬─────────────┘ └─────────────────────────────────┘
│
▼
local Vue Router source beneath projectRoot
The host scanner looks only for these router candidates beneath projectRoot:
src/router/index.jssrc/router/index.tssrc/router.jssrc/router.tsIt extracts route paths, names, dynamic-imported .vue components, and the current home-child layout metadata convention. The client fetches the pages endpoint with an abortable request and is defensive about repeated apply/dispose calls.
projectRoot; only the router candidate list above is considered.GET is accepted. The DSH host is responsible for the surrounding origin/session boundary; the plugin does not expose a cross-origin API.@page:<path> identifies a router route; it is not a separate editable design document.CanvasNode, Layers, Inspector, and local layout-oriented workbench primitives.Future milestones may borrow familiar Figma-like interaction vocabulary, but the boundary remains: this project is a private code workbench, not a replacement for Figma.
MIT © 2026 yangdongzhen
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。