@tscircuit/props 0.0.705 → 0.0.706

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.
@@ -81,6 +81,16 @@ export interface PlatformConfig {
81
81
 
82
82
  autorouter?: AutorouterProp
83
83
 
84
+ /**
85
+ * Requested local autorouting thread count: a positive safe integer. Hosts
86
+ * supporting Bun/Node routing workers may use values above 1; 1 requests
87
+ * inline solving. Browsers remain single-threaded and cloud routing is
88
+ * unaffected. Omitted leaves the host default unchanged. Parsed values are
89
+ * preserved; there are no aliases or conflicts with autorouter selection.
90
+ * Existing configurations require no migration.
91
+ */
92
+ autorouterThreads?: number
93
+
84
94
  autorouterMap?: Record<string, AutorouterDefinition>
85
95
 
86
96
  /** Use networked Pipeline9 node solving at effort 1. Omitted or false keeps local routing.
@@ -291,6 +301,15 @@ export const platformConfig = z.object({
291
301
  .optional(),
292
302
  fabricatorEngine: fabricatorEngine.optional(),
293
303
  autorouter: autorouterProp.optional(),
304
+ autorouterThreads: z
305
+ .number()
306
+ .int()
307
+ .positive()
308
+ .safe()
309
+ .describe(
310
+ "Requested local autorouting thread count for supporting hosts. 1 requests inline solving; omission preserves the host default. Browsers stay single-threaded and cloud routing is unaffected.",
311
+ )
312
+ .optional(),
294
313
  autorouterMap: z.record(z.string(), autorouterDefinition).optional(),
295
314
  allowLegacyAutorouters: z.boolean().optional(),
296
315
  registryApiUrl: url.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.705",
3
+ "version": "0.0.706",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",