@tscircuit/core 0.0.1388 → 0.0.1389

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.d.ts CHANGED
@@ -14,6 +14,7 @@ import { Matrix } from 'transformation-matrix';
14
14
  import { PackSolver2 } from 'calculate-packing';
15
15
  import { AutoroutingPipelineSolver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver4, AutoroutingPipelineSolver5, AutoroutingPipelineSolver8, SimplifiedPcbTrace as SimplifiedPcbTrace$1, SimpleRouteJson as SimpleRouteJson$1 } from '@tscircuit/capacity-autorouter';
16
16
  import { CopperPourPipelineSolver } from '@tscircuit/copper-pour-solver';
17
+ import { SchematicTracePipelineSolver } from '@tscircuit/schematic-trace-solver';
17
18
  import { Bounds } from '@tscircuit/math-utils';
18
19
  import { ConnectivityMap } from 'circuit-json-to-connectivity-map';
19
20
  import { GraphicsObject } from 'graphics-debug';
@@ -30,6 +31,7 @@ declare const SOLVERS: {
30
31
  AutoroutingPipelineSolver7_MultiGraph: typeof AutoroutingPipelineSolver;
31
32
  AutoroutingPipelineSolver8: typeof AutoroutingPipelineSolver8;
32
33
  CopperPourPipelineSolver: typeof CopperPourPipelineSolver;
34
+ SchematicTracePipelineSolver: typeof SchematicTracePipelineSolver;
33
35
  };
34
36
  type SolverName = keyof typeof SOLVERS;
35
37
 
package/dist/index.js CHANGED
@@ -15335,6 +15335,7 @@ import {
15335
15335
  AutoroutingPipelineSolver8
15336
15336
  } from "@tscircuit/capacity-autorouter";
15337
15337
  import { CopperPourPipelineSolver } from "@tscircuit/copper-pour-solver";
15338
+ import { SchematicTracePipelineSolver } from "@tscircuit/schematic-trace-solver";
15338
15339
  var SOLVERS = {
15339
15340
  PackSolver2,
15340
15341
  AutoroutingPipelineSolver,
@@ -15346,7 +15347,8 @@ var SOLVERS = {
15346
15347
  AutoroutingPipelineSolver5,
15347
15348
  AutoroutingPipelineSolver7_MultiGraph,
15348
15349
  AutoroutingPipelineSolver8,
15349
- CopperPourPipelineSolver
15350
+ CopperPourPipelineSolver,
15351
+ SchematicTracePipelineSolver
15350
15352
  };
15351
15353
 
15352
15354
  // lib/utils/autorouting/CapacityMeshAutorouter.ts
@@ -19792,7 +19794,7 @@ function Group_doInitialSchematicLayoutSections(group) {
19792
19794
  }
19793
19795
 
19794
19796
  // lib/components/primitive-components/Group/Group_doInitialSchematicTraceRender/Group_doInitialSchematicTraceRender.ts
19795
- import { SchematicTracePipelineSolver as SchematicTracePipelineSolver3 } from "@tscircuit/schematic-trace-solver";
19797
+ import { SchematicTracePipelineSolver as SchematicTracePipelineSolver4 } from "@tscircuit/schematic-trace-solver";
19796
19798
  import Debug12 from "debug";
19797
19799
 
19798
19800
  // lib/components/primitive-components/Group/Group_doInitialSchematicTraceRender/createSchematicTraceSolverInputProblem.ts
@@ -21175,7 +21177,13 @@ var Group_doInitialSchematicTraceRender = (group) => {
21175
21177
  content: JSON.stringify(inputProblem, null, 2)
21176
21178
  });
21177
21179
  }
21178
- const solver = new SchematicTracePipelineSolver3(inputProblem);
21180
+ const solver = new SchematicTracePipelineSolver4(inputProblem);
21181
+ group.root?.emit("solver:started", {
21182
+ type: "solver:started",
21183
+ solverName: "SchematicTracePipelineSolver",
21184
+ solverParams: solver.getConstructorParams(),
21185
+ componentName: group.getString()
21186
+ });
21179
21187
  solver.solve();
21180
21188
  const schematicPortIdsWithRoutedTraces = getSchematicPortIdsWithRoutedTraces({
21181
21189
  solver,
@@ -25142,7 +25150,7 @@ import { identity as identity5 } from "transformation-matrix";
25142
25150
  var package_default = {
25143
25151
  name: "@tscircuit/core",
25144
25152
  type: "module",
25145
- version: "0.0.1387",
25153
+ version: "0.0.1388",
25146
25154
  types: "dist/index.d.ts",
25147
25155
  main: "dist/index.js",
25148
25156
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1388",
4
+ "version": "0.0.1389",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",