@tscircuit/props 0.0.658 → 0.0.660

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.
@@ -92,6 +92,11 @@ export interface BoardProps
92
92
  * false, which restricts newly generated vias to the full board stack.
93
93
  */
94
94
  allowBlindAndBuriedVias?: boolean
95
+ /**
96
+ * Whether to route remaining unrouted connections after explicit routing phases.
97
+ * Omitted leaves the setting unset, preserving the consumer's default behavior.
98
+ */
99
+ routeRemaining?: boolean
95
100
  defaultViaTenting?:
96
101
  | boolean
97
102
  | "both_sides"
@@ -176,6 +181,12 @@ export const boardProps = subcircuitGroupProps
176
181
  .describe(
177
182
  "Whether the autorouter may generate blind and buried vias. Defaults to false, which restricts newly generated vias to the full board stack.",
178
183
  ),
184
+ routeRemaining: z
185
+ .boolean()
186
+ .optional()
187
+ .describe(
188
+ "Whether to route remaining unrouted connections after explicit routing phases. Boolean values are preserved; omitted leaves the setting unset. No aliases or prop conflicts are introduced, and existing boards require no migration.",
189
+ ),
179
190
  defaultViaTenting: z
180
191
  .union([
181
192
  z.boolean(),
@@ -360,6 +360,7 @@ export interface AutorouterConfig {
360
360
  | "laser_prefab" // Prefabricated PCB with laser copper ablation
361
361
  | "single_layer_fanout"
362
362
  | "fanout"
363
+ | "bus_lanes"
363
364
  | /** @deprecated Use "auto_jumper" */ "auto-jumper"
364
365
  | /** @deprecated Disabled by default in core. Use the default autorouter with <autoroutingphase /> or <fanout /> as needed. Legacy support requires platformConfig.allowLegacyAutorouters: true. */ "sequential-trace"
365
366
  | /** @deprecated Use "auto_local" */ "auto-local"
@@ -381,6 +382,7 @@ export type AutorouterPreset =
381
382
  | "laser_prefab"
382
383
  | "single_layer_fanout"
383
384
  | "fanout"
385
+ | "bus_lanes"
384
386
  | "auto-jumper"
385
387
  | /** @deprecated Disabled by default in core. Use the default autorouter with <autoroutingphase /> or <fanout /> as needed. Legacy support requires platformConfig.allowLegacyAutorouters: true. */ "sequential-trace"
386
388
  | "auto-local"
@@ -449,6 +451,7 @@ export const autorouterConfig = z.object({
449
451
  "laser_prefab",
450
452
  "single_layer_fanout",
451
453
  "fanout",
454
+ "bus_lanes",
452
455
  "auto-jumper",
453
456
  "sequential-trace",
454
457
  "auto-local",
@@ -473,6 +476,7 @@ export const autorouterPreset = z.union([
473
476
  z.literal("laser_prefab"), // Prefabricated PCB with laser copper ablation
474
477
  z.literal("single_layer_fanout"),
475
478
  z.literal("fanout"),
479
+ z.literal("bus_lanes"),
476
480
  z.literal("auto-jumper"),
477
481
  z.literal("sequential-trace"),
478
482
  z.literal("auto-local"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.658",
3
+ "version": "0.0.660",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",