xianyuyijinban/boardwise
AI harness for EasyEDA Pro — offline schematic/PCB design review, live bridge (daemon + editor extension), review-to-local-edit with verified persistence
Project Overview项目介绍
boardwise is an AI-driven schematic review and replay harness for EasyEDA Pro (JLCEDA Pro), shipped as a Python package (pip install .) plus an EasyEDA extension. The offline reviewer parses .enet (UTF-8 JSON) or .epro2 project backups with only the Python standard library, then runs a rule engine that returns findings with concrete evidence. The live bridge is a local daemon (default 127.0.0.1:61190, overridable via --port or BOARDWISE_PORT) plus a connector extension; writes are gated, per-page guarded, and audited in ~/.boardwise/audit/YYYY-MM-DD.jsonl. Since 0.2.4 every deferred probe's verdict is logged and shown in About; since 0.2.5 the connector opens during bundle evaluation rather than waiting for activate(), and opening About itself triggers a reconnect.
Typical workflow starts with boardwise review path/to/board.epro2 --json r.json --md r.md or review --latest (which scans ~/Downloads, ~/Desktop, E:\LC Project one level deep and prints the chosen file with its mtime). With the editor open and the daemon running, boardwise checkup --project <name|uuid> --out DIR emits report.json (schema: "boardwise.checkup/5"), report.md, one canvas-<page>.png per schematic page, plus architecture.md (rewritten each run) and a read-only design-intent.md template. The intended users are hardware engineers, with docs/install.md written in Chinese for non-coders and docs/bridge.md documenting connector troubleshooting, TOFU pairing, and bridge revoke.
The package requires Python ≥ 3.10; websockets is only needed for the bridge and is pulled in by pip install .. License is MIT. Exit codes distinguish clean (0), differences found (1), unusable input (2), and undeterminable online state (3 — never "the board is clean"); a check that could not run becomes {checked: false, reason} without counts. Part-value lookups are gated (#202 discipline), SI prefixes are case-sensitive, and no fuzzy match is returned when no exact candidate exists. Online paths never originate from the connector (the EasyEDA webview cannot cross-origin fetch), and tests never hit the real network.
boardwise 是 EasyEDA Pro(JLCEDA Pro)的 AI 审查与回放工具,通过本地 Python CLI(pip install .)和 EasyEDA 扩展双端协作。离线侧读取 .enet 或 .epro2 走规则引擎,在线侧通过绑定 127.0.0.1:61190 的 daemon 与编辑器 connector 通信,支持读为主、按页守卫的写动作,并把每次请求落进 ~/.boardwise/audit/ 的 JSONL。
典型工作流分三步:review 出报告、checkup 一条命令拉齐编辑器 ERC/PCB DRC、规则、模块分组与每页 PNG,draw 再以黄金板的连通性为唯一输入在空白图页上重画原理图并逐 pin 比对。parts select 按器件规格离线/在线拉立创 JLC 数据。受众是硬件工程师,文档包括中文装机手册、docs/bridge.md、docs/draw.md。
依赖 Python ≥ 3.10,标准库即够离线端,websockets 仅桥接必需。License MIT。退出码 0/1/2/3 区分无错、有错、输入不可用、在线态无法确认;--latest 在指定目录中挑选最新 .epro2(默认 ~/Downloads、~/Desktop、E:\LC Project,扫描一级),daemon 监听 127.0.0.1、首次启动生成 token 并 TOFU,bridge revoke 可清除配对。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:boardwise(xianyuyijinban/boardwise)
仓库:https://github.com/xianyuyijinban/boardwise
本站详情页:https://www.yhbd.top/plugins/xianyuyijinban-boardwise/
本站登记:类型 plugin · 归类 多平台兼容工具(非 DSH 原生) · 许可证 MIT · ⭐ 7 · 最近提交 2026-10-03 · 主语言 Python · 未检测到 DSH 插件清单
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
- No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
- Not DSH-native: a multi-platform tool that may require Node / Electron or another runtime first非 DSH 原生,是多平台兼容工具:可能要先装 Node / Electron 等运行时
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:xianyuyijinban/boardwise
把 xianyuyijinban/boardwise 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
boardwise
English | 中文
An agent harness for hardware engineers.
It lets an AI assistant (Claude Code, DeepSeek, Kimi Code — any of them) actually read your schematic — components, nets, pins, not screenshots — and do real work on it: review the board, mark the problems, edit with your sign-off, export the fab files. EasyEDA Pro is the platform we know inside-out today; KiCad is next, and the architecture has been multi-platform from day one.
What it does
Review. With the editor open, one command:
boardwise checkup
You get a report: ERC/DRC, fourteen design-rule families, which parts still lack datasheets, and every finding pointing at a concrete component, pin and net — with markers drawn on the canvas where the problems are. On real boards it has caught things the designer had missed — a current-sense circuit with no bias, that kind of problem. You don't find those by matching rules against a netlist; you have to check whether the architecture makes sense together.
Edit. Find a problem, get a change preview; nothing moves until you approve; afterwards it reads back and re-reviews to confirm the problem is actually gone. Edit kinds today: change a component value, add a missing part, repair a single pin connection, insert an RC/divider subcircuit, move a functional block.
Export. BOM, netlist, Gerber, pick-and-place — one command each.
Draw. You state the circuit intent — a divider, an RC low-pass, an
LDO; parts, values, which pin joins which net — and the drawing
compiler turns it into a sheet a human can read: where parts sit, how
wires run, where text goes so it doesn't sit on a wire. Wrong
connectivity, not enough room, a conflict with your locked placement —
it refuses rather than hand you a bad drawing. It compiles offline, and
it can also land into the open editor itself — placement, pin readback
before any wire, save, and a render of the result. Several modules
compose onto one page: what is already on the page becomes keep-outs,
your locked placements are honoured, every rail gets a flag, and one
draw discard takes a landed page back off.
Architecture and roadmap
Three layers, all on your own machine — nothing goes through a cloud:
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
xmanrui/dsh-im
tencent-connect/dsh-qqbot
flymysql/dsh-remote
whiteguo233/dsh-openbiliclaw
omdsh-dev/dsh-lark
hanshanyike/dsh-yolo
THEWOLFWALKER/dsh-notifier