xianyuyijinban/boardwise

Plugin插件 ⭐ 7 MIT Notifications & Remote通知与远程

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 可清除配对。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • 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 →

← 上一个 Prev dsh-reasoning-slider 下一个 Next dsh-mobile-shell →