@tscircuit/schematic-trace-solver 0.0.98 → 0.0.100

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.
Files changed (26) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.js +335 -225
  3. package/lib/solvers/MspConnectionPairSolver/MspConnectionPairSolver.ts +19 -9
  4. package/lib/solvers/SchematicTraceLinesSolver/SchematicTraceSingleLineSolver2/SchematicTraceSingleLineSolver2.ts +43 -1
  5. package/lib/solvers/SchematicTraceLinesSolver/SchematicTraceSingleLineSolver2/generateEndpointCollisionDetours.ts +84 -0
  6. package/lib/solvers/SchematicTraceLinesSolver/SchematicTraceSingleLineSolver2/mid.ts +13 -3
  7. package/package.json +1 -1
  8. package/tests/bug-reports/bug-report-20260706T220324Z/__snapshots__/bug-report-20260706T220324Z.snap.svg +18 -18
  9. package/tests/bug-reports/bug-report-20260707T092615Z/__snapshots__/bug-report-20260707T092615Z.snap.svg +7 -7
  10. package/tests/bug-reports/bug-report-20260707T134549Z/__snapshots__/bug-report-20260707T134549Z.snap.svg +5 -7
  11. package/tests/bug-reports/bug-report-20260707T140410Z/__snapshots__/bug-report-20260707T140410Z.snap.svg +6 -12
  12. package/tests/examples/__snapshots__/example09.snap.svg +9 -13
  13. package/tests/examples/__snapshots__/example21.snap.svg +30 -32
  14. package/tests/examples/__snapshots__/example29.snap.svg +13 -19
  15. package/tests/repros/__snapshots__/repro129-host-custom-symbol-passives.snap.svg +60 -0
  16. package/tests/repros/__snapshots__/repro47-endpoint-obstacle-detour.snap.svg +65 -0
  17. package/tests/repros/__snapshots__/repro5-escape-padded-text-obstacles.snap.svg +74 -0
  18. package/tests/repros/assets/repro129-host-custom-symbol-passives.input.json +94 -0
  19. package/tests/repros/assets/repro47-endpoint-obstacle-detour.input.json +133 -0
  20. package/tests/repros/assets/repro5-escape-padded-text-obstacles.input.json +202 -0
  21. package/tests/repros/repro129-host-custom-symbol-passives.test.ts +16 -0
  22. package/tests/repros/repro47-endpoint-obstacle-detour.test.ts +19 -0
  23. package/tests/repros/repro5-escape-padded-text-obstacles.test.ts +17 -0
  24. package/tests/solvers/MspConnectionPairSolver/msp-connection-pair-solver-direct-connection-distance.test.ts +46 -0
  25. package/tests/solvers/SchematicTraceSingleLineSolver2/candidate-mids-from-set.test.ts +39 -0
  26. package/tests/solvers/SchematicTraceSingleLineSolver2/generate-endpoint-collision-detours.test.ts +38 -0
package/dist/index.d.ts CHANGED
@@ -130,6 +130,7 @@ declare class MspConnectionPairSolver extends BaseSolver {
130
130
  chipId: string;
131
131
  }>;
132
132
  userNetIdByPinId: Record<string, string | undefined>;
133
+ directConnectionPinPairKeys: Set<string>;
133
134
  constructor({ inputProblem }: {
134
135
  inputProblem: InputProblem;
135
136
  });