@huaqiu/dsh-tool-schematic-gen 0.3.8 → 0.3.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.
package/lib/client.js CHANGED
@@ -104874,17 +104874,32 @@ while (n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3]
104874
104874
  *
104875
104875
  * | Artifact | sch | pcb | symbol | footprint | generic |
104876
104876
  * |-----------|-----|-----|--------|-----------|---------|
104877
- * | schematic | yes | no | no | no | no |
104878
- * | symbol | yes | no | yes | no | no |
104879
- * | footprint | no | yes | no | yes | no |
104877
+ * | schematic | yes | no | no | no | yes |
104878
+ * | symbol | yes | no | yes | no | yes |
104879
+ * | footprint | no | yes | no | yes | yes |
104880
+ * | pcb | no | yes | no | no | yes |
104880
104881
  *
104881
- * `generic` appears in no row: HQ Edge may be inside *some* EDA host without
104882
- * knowing which editor, so placement must fail closed.
104882
+ * `pcb` rides the same design-block RPC as schematics (`DesignContent.pcb`):
104883
+ * the editor-side PCB placement flow is the placement team's work and builds
104884
+ * on this channel, so it must not be assumed away. `generic` means the host
104885
+ * did not declare a specific editor context, and per the host contract such a
104886
+ * deployment supports ALL placement targets by design — the EDA host is the
104887
+ * final authority (HQ Edge re-enforces the same matrix server-side). Unknown
104888
+ * editor values still fail closed.
104883
104889
  */
104884
104890
  const COMPATIBLE_EDITORS = {
104885
- schematic: /* @__PURE__ */ new Set(["sch"]),
104886
- symbol: /* @__PURE__ */ new Set(["sch", "symbol"]),
104887
- footprint: /* @__PURE__ */ new Set(["pcb", "footprint"])
104891
+ schematic: /* @__PURE__ */ new Set(["sch", "generic"]),
104892
+ symbol: /* @__PURE__ */ new Set([
104893
+ "sch",
104894
+ "symbol",
104895
+ "generic"
104896
+ ]),
104897
+ footprint: /* @__PURE__ */ new Set([
104898
+ "pcb",
104899
+ "footprint",
104900
+ "generic"
104901
+ ]),
104902
+ pcb: /* @__PURE__ */ new Set(["pcb", "generic"])
104888
104903
  };
104889
104904
  /**
104890
104905
  * Can `artifactType` be placed into the editor identified by `editorType`?