@tscircuit/core 0.0.1847 → 0.0.1849

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 (2) hide show
  1. package/dist/index.js +7 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -36595,16 +36595,16 @@ var getAutorouterSolverName = ({
36595
36595
  if (autorouterVersion2 === "beta_pipeline5") {
36596
36596
  return "AutoroutingPipelineSolver5";
36597
36597
  }
36598
- if (autorouterVersion2 === "beta_pipeline7" || autorouterVersion2 === "latest") {
36598
+ if (autorouterVersion2 === "beta_pipeline7") {
36599
36599
  return "AutoroutingPipelineSolver7_MultiGraph";
36600
36600
  }
36601
- if (autorouterVersion2 === "beta_pipeline9") {
36601
+ if (autorouterVersion2 === "beta_pipeline9" || autorouterVersion2 === "latest") {
36602
36602
  return "AutoroutingPipelineSolver9_PreloadedTraceGraph";
36603
36603
  }
36604
36604
  if (useLaserPrefabSolver) return "AutoroutingPipelineSolver8";
36605
36605
  if (useAutoJumperSolver) return "AssignableAutoroutingPipeline3";
36606
36606
  if (useAssignableSolver) return "AssignableAutoroutingPipeline2";
36607
- return "AutoroutingPipelineSolver7_MultiGraph";
36607
+ return "AutoroutingPipelineSolver9_PreloadedTraceGraph";
36608
36608
  };
36609
36609
  function getCapacityAutorouterCacheProvider(platformConfig) {
36610
36610
  if (!platformConfig?.localCacheEngine) return null;
@@ -37611,6 +37611,7 @@ var getPreservedRoutedSubcircuitTraces = ({
37611
37611
  relevantSubcircuitIds
37612
37612
  }) => scopedDb.pcb_trace.list().filter((trace) => {
37613
37613
  if (!trace.subcircuit_id) return false;
37614
+ if (trace.pcb_component_id && !trace.source_trace_id) return false;
37614
37615
  return relevantSubcircuitIds === null || relevantSubcircuitIds.has(trace.subcircuit_id);
37615
37616
  }).map((trace) => {
37616
37617
  const preservedTrace = trace;
@@ -46510,7 +46511,7 @@ function Group_getRoutingPhasePlans(group) {
46510
46511
  var package_default = {
46511
46512
  name: "@tscircuit/core",
46512
46513
  type: "module",
46513
- version: "0.0.1846",
46514
+ version: "0.0.1848",
46514
46515
  types: "dist/index.d.ts",
46515
46516
  main: "dist/index.js",
46516
46517
  module: "dist/index.js",
@@ -46544,13 +46545,13 @@ var package_default = {
46544
46545
  "@tsci/tscircuit.ti": "github:tscircuit/ti#57e314be4b2b06bc546d4def7453e619604d1157",
46545
46546
  "@tscircuit/alphabet": "0.0.25",
46546
46547
  "@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
46547
- "@tscircuit/capacity-autorouter": "^0.0.874",
46548
+ "@tscircuit/capacity-autorouter": "^0.0.885",
46548
46549
  "@tscircuit/checks": "^0.0.183",
46549
46550
  "@tscircuit/circuit-json-util": "^0.0.106",
46550
46551
  "@tscircuit/common": "^0.0.20",
46551
46552
  "@tscircuit/copper-pour-solver": "^0.0.52",
46552
46553
  "@tscircuit/create-fdm-enclosure": "0.0.4",
46553
- "@tscircuit/fanout-solver": "0.0.57",
46554
+ "@tscircuit/fanout-solver": "0.0.58",
46554
46555
  "@tscircuit/footprinter": "^0.0.426",
46555
46556
  "@tscircuit/image-utils": "^0.0.8",
46556
46557
  "@tscircuit/implicit-copper-pour-solver": "github:tscircuit/implicit-copper-pour-solver#a5cbbda0cd65fd4707c5c1af25779837c25aba92",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1847",
4
+ "version": "0.0.1849",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -35,13 +35,13 @@
35
35
  "@tsci/tscircuit.ti": "github:tscircuit/ti#57e314be4b2b06bc546d4def7453e619604d1157",
36
36
  "@tscircuit/alphabet": "0.0.25",
37
37
  "@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
38
- "@tscircuit/capacity-autorouter": "^0.0.874",
38
+ "@tscircuit/capacity-autorouter": "^0.0.885",
39
39
  "@tscircuit/checks": "^0.0.183",
40
40
  "@tscircuit/circuit-json-util": "^0.0.106",
41
41
  "@tscircuit/common": "^0.0.20",
42
42
  "@tscircuit/copper-pour-solver": "^0.0.52",
43
43
  "@tscircuit/create-fdm-enclosure": "0.0.4",
44
- "@tscircuit/fanout-solver": "0.0.57",
44
+ "@tscircuit/fanout-solver": "0.0.58",
45
45
  "@tscircuit/footprinter": "^0.0.426",
46
46
  "@tscircuit/image-utils": "^0.0.8",
47
47
  "@tscircuit/implicit-copper-pour-solver": "github:tscircuit/implicit-copper-pour-solver#a5cbbda0cd65fd4707c5c1af25779837c25aba92",