@windypro-rourou/dsh-eda 0.1.7 → 0.1.9

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.
@@ -98,7 +98,8 @@ export const CAPABILITIES = [
98
98
  domain: '已知边界',
99
99
  note: '官方 API 缺陷清单(实测)',
100
100
  methods: [
101
- { name: 'PCB 板框 / 非铜层', desc: '板框(layer 11)用 pcb_PrimitivePolyline + pcb_MathPolygon.createPolygon(官方 1.1.56 Remarks 明确;line 接口仅铜层);pcb_PrimitiveLine 非铜层(丝印/阻焊/机械)实测失败,BOTTOM(2) 可用;丝印文本 API 实测挂起' },
101
+ { name: '从0到打样全链路(实测)', desc: '原理图 20 类元件放置/连线/网标/DRC详细数组/网表 ✓;**importChanges 仍不可用(true 但 0 元件)→ PCB 直接放件**;引脚/焊盘读 getAllPinsByPrimitiveId;createSchematic/createPcb 用**无参**(传 boardName 返回 null);位号不自动分配(R?/U?);PCB 放置坐标=元件原点(有偏移/可负);导出 Gerber/BOM/PnP/Info 全绿;下单无 API(需人工)' },
102
+ { name: 'PCB 层能力矩阵(真机实测)', desc: 'Polyline 覆盖 14/16 层(丝印/阻焊/锡膏/装配/板框/文档/机械/钻孔;缺 12 多层、57 飞线);Fill 13/16;PCB 文本 11/16(锡膏 7/8、板框 11、多层 12、飞线 57 不可);Line/Arc/Region 基本仅铜层(Region 另支持 12 多层);Polyline.modify({layer}) 可跨层移动、String.modify({text}) 可改文本;57 飞线层全图元不可写' },
102
103
  { name: '桥异步任务 /tasks', desc: '长操作(自动布线/大导出/批量写回)用 eda_task 提交;/execute 超时返回 HTTP 504 + taskId 且任务不取消(迟到结果保留)——桥已打社区补丁 #16' },
103
104
  { name: 'PCB 写回顺序', desc: '必须先建过孔、后建走线(反序产生大量 Connection Error);改铜皮后跑 DRC 前先 rebuildCopperRegion()+save(Issues #23)' },
104
105
  { name: 'DRC 条目', desc: 'obj1.suffix 不是图元 ID(真 ID 在 objs 数组);DRC 不幂等——一轮验证只跑一次(Issues #23/#6)' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windypro-rourou/dsh-eda",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "type": "module",
5
5
  "description": "dsh-lichuang-eda (JCL-EDA): 嘉立创 EDA 助手 DSH 插件 —— 官方 eda.* API 云端实时生成(原理图/PCB)+ 离线标准版 JSON 兜底 + 面板记录式时间线(撤回/清空/紧急保存)。开箱即用:npm i 后 cordis.patch.yml insert 一行即挂载。",
6
6
  "packageManager": "pnpm@11.22.0",