copperflow 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/app/assets/{NewPartDialog-Qb7NwhBb.js → NewPartDialog-B_cnPuI-.js} +38 -38
- package/dist/app/assets/{index-C_TXwo-N.js → index-CjN3tctq.js} +1 -1
- package/dist/app/index.html +1 -1
- package/dist/cli-commands.d.ts +3 -0
- package/dist/cli-commands.js +25 -2
- package/dist/cli-commands.js.map +1 -1
- package/dist/core/fabrication.d.ts +6 -0
- package/dist/core/fabrication.js +1 -1
- package/dist/core/fabrication.js.map +1 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/core/index.js.map +1 -1
- package/dist/core/render.d.ts +45 -0
- package/dist/core/render.js +57 -0
- package/dist/core/render.js.map +1 -0
- package/dist/engine/footprints/file.d.ts +33 -0
- package/dist/engine/footprints/file.js +13 -5
- package/dist/engine/footprints/file.js.map +1 -1
- package/dist/mcp/compact.js +17 -5
- package/dist/mcp/compact.js.map +1 -1
- package/dist/mcp/create-part.d.ts +3 -3
- package/dist/mcp/create-part.js +5 -3
- package/dist/mcp/create-part.js.map +1 -1
- package/dist/mcp/guide.js +1 -0
- package/dist/mcp/guide.js.map +1 -1
- package/dist/mcp/render-tool.d.ts +30 -0
- package/dist/mcp/render-tool.js +33 -0
- package/dist/mcp/render-tool.js.map +1 -0
- package/dist/mcp/server.d.ts +3 -0
- package/dist/mcp/server.js +5 -2
- package/dist/mcp/server.js.map +1 -1
- package/dist/render/render.js +2005 -0
- package/dist/skill-install.d.ts +3 -2
- package/dist/skill-install.js +27 -12
- package/dist/skill-install.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -2
- package/skills/copperflow/SKILL.md +9 -9
- package/skills/copperflow/references/copper.md +2 -0
- package/skills/copperflow/references/planning.md +143 -0
- package/skills/copperflow-plan/SKILL.md +25 -0
package/README.md
CHANGED
|
@@ -208,6 +208,7 @@ The agent sees what you undid and does not repeat it.
|
|
|
208
208
|
| `fillet_tracks` / `straighten_tracks` | Rounds the square corners of tracks (by id, or every track) into short chords on an arc of the design rules' fillet radius, or puts rounded corners back, each as one change; a corner too close to other copper, a pad, a keepout or the board edge, or with legs too short, stays square and is counted |
|
|
209
209
|
| `copper_summary` | Per net: tracks, vias, length and unrouted connections, then copper violations by rule (at most 60 lines) |
|
|
210
210
|
| `board_summary` / `project_status` / `note_decision` / `set_project` | The board in about 60 lines (size, one line per part, longest connections with both pads' places, overlaps, edge, pours; `detail: "full"` for the rest); and the project memory `PROJECT.md` (Intent, Blocks, Decisions, Open) with each circuit's counts and last changes, a dated decision, or rewritten sections, each write one change |
|
|
211
|
+
| `render` | A PNG of the board or of one schematic page, drawn by the Studio's own code; `parts` zooms to some parts (needs the optional package `@napi-rs/canvas`) |
|
|
211
212
|
| `list_parts` / `part_info` | Shows the parts library and a part's data and checklist |
|
|
212
213
|
| `create_part` | Adds a part from a datasheet: pins, footprint string or footprint file, MPN, suppliers |
|
|
213
214
|
| `import_part` | Fetches one part by its LCSC number from EasyEDA into `parts/<id>/`, unverified, for personal, non-commercial use only (see [licences](docs/licences.md)) |
|
|
@@ -223,7 +224,7 @@ There is no unlock tool and no verify tool on purpose.
|
|
|
223
224
|
```text
|
|
224
225
|
copperflow mcp start the MCP server on stdio
|
|
225
226
|
copperflow studio [--port n] open the visual editor at http://127.0.0.1:4777
|
|
226
|
-
copperflow skill [--global] copy the copperflow
|
|
227
|
+
copperflow skill [--global] copy the copperflow skills into .claude/skills
|
|
227
228
|
copperflow summary <file> print a circuit summary
|
|
228
229
|
copperflow check <file> list the errors and warnings of copperflow's own rule checks
|
|
229
230
|
copperflow lock <file> <part...> lock parts so the agent cannot change them
|
|
@@ -243,6 +244,8 @@ copperflow place <file> <part> <name> [key=value ...]
|
|
|
243
244
|
copperflow bom <file> [--csv] print the bill of materials
|
|
244
245
|
copperflow package <file> [--out dir]
|
|
245
246
|
write BOM, datasheets and part status to a folder
|
|
247
|
+
copperflow render <file> [--view pcb|schematic] [--page <name>] [--parts U1,C3] [--width n] [--out file.png]
|
|
248
|
+
draw the board or a schematic page to a PNG, as the Studio shows it
|
|
246
249
|
copperflow history [--limit n] list recent changes
|
|
247
250
|
copperflow undo [id] undo the newest change, or the given one
|
|
248
251
|
```
|