@tscircuit/schematic-trace-solver 0.0.198 → 0.0.199

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/dist/index.js CHANGED
@@ -10274,7 +10274,8 @@ var AvailableNetOrientationSolver = class extends BaseSolver {
10274
10274
  result.selected = true;
10275
10275
  return result;
10276
10276
  }
10277
- if (stopOnTraceCollision && result.status === "trace-collision") break;
10277
+ if (stopOnTraceCollision && result.status === "trace-collision" && (!projectedConnectorSource || orientation !== "y-" || !this.isGroundLabel(label)))
10278
+ break;
10278
10279
  }
10279
10280
  return null;
10280
10281
  }
@@ -1172,7 +1172,16 @@ export class AvailableNetOrientationSolver extends BaseSolver {
1172
1172
  result.selected = true
1173
1173
  return result
1174
1174
  }
1175
- if (stopOnTraceCollision && result.status === "trace-collision") break
1175
+ // A downward ground branch projected onto its existing trace can reach a
1176
+ // clear position below a crossing trace.
1177
+ if (
1178
+ stopOnTraceCollision &&
1179
+ result.status === "trace-collision" &&
1180
+ (!projectedConnectorSource ||
1181
+ orientation !== "y-" ||
1182
+ !this.isGroundLabel(label))
1183
+ )
1184
+ break
1176
1185
  }
1177
1186
 
1178
1187
  return null
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "https://github.com/tscircuit/schematic-trace-solver.git"
6
6
  },
7
7
  "main": "dist/index.js",
8
- "version": "0.0.198",
8
+ "version": "0.0.199",
9
9
  "type": "module",
10
10
  "scripts": {
11
11
  "start": "cosmos",
@@ -0,0 +1,4 @@
1
+ import { PipelineDebugger } from "site/components/PipelineDebugger"
2
+ import inputProblem from "../../tests/bug-reports/bug-report-20260916T054012Z/bug-report-20260916T054012Z.json"
3
+
4
+ export default () => <PipelineDebugger inputProblem={inputProblem as any} />