@tscircuit/eval 0.0.615 → 0.0.617

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.
@@ -564,12 +564,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
564
564
  source_missing_property_error_id: string;
565
565
  property_name: string;
566
566
  subcircuit_id?: string | undefined;
567
+ is_fatal?: boolean | undefined;
567
568
  } | {
568
569
  message: string;
569
570
  type: "source_failed_to_create_component_error";
570
571
  error_type: "source_failed_to_create_component_error";
571
572
  source_failed_to_create_component_error_id: string;
572
573
  subcircuit_id?: string | undefined;
574
+ is_fatal?: boolean | undefined;
573
575
  pcb_center?: {
574
576
  x?: number | undefined;
575
577
  y?: number | undefined;
@@ -587,6 +589,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
587
589
  source_trace_not_connected_error_id: string;
588
590
  subcircuit_id?: string | undefined;
589
591
  source_trace_id?: string | undefined;
592
+ is_fatal?: boolean | undefined;
590
593
  source_group_id?: string | undefined;
591
594
  connected_source_port_ids?: string[] | undefined;
592
595
  selectors_not_found?: string[] | undefined;
@@ -921,6 +924,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
921
924
  source_trace_not_connected_error_id: string;
922
925
  subcircuit_id?: string | undefined;
923
926
  source_trace_id?: string | undefined;
927
+ is_fatal?: boolean | undefined;
924
928
  source_group_id?: string | undefined;
925
929
  connected_source_port_ids?: string[] | undefined;
926
930
  selectors_not_found?: string[] | undefined;
@@ -940,6 +944,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
940
944
  error_type: "source_pin_must_be_connected_error";
941
945
  source_pin_must_be_connected_error_id: string;
942
946
  subcircuit_id?: string | undefined;
947
+ is_fatal?: boolean | undefined;
943
948
  } | {
944
949
  message: string;
945
950
  type: "unknown_error_finding_part";
@@ -947,6 +952,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
947
952
  unknown_error_finding_part_id: string;
948
953
  source_component_id?: string | undefined;
949
954
  subcircuit_id?: string | undefined;
955
+ is_fatal?: boolean | undefined;
950
956
  } | {
951
957
  type: "pcb_component";
952
958
  width: number;
@@ -1053,6 +1059,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1053
1059
  pcb_missing_footprint_error_id: string;
1054
1060
  subcircuit_id?: string | undefined;
1055
1061
  pcb_group_id?: string | undefined;
1062
+ is_fatal?: boolean | undefined;
1056
1063
  } | {
1057
1064
  message: string;
1058
1065
  type: "external_footprint_load_error";
@@ -1062,6 +1069,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1062
1069
  external_footprint_load_error_id: string;
1063
1070
  subcircuit_id?: string | undefined;
1064
1071
  pcb_group_id?: string | undefined;
1072
+ is_fatal?: boolean | undefined;
1065
1073
  footprinter_string?: string | undefined;
1066
1074
  } | {
1067
1075
  message: string;
@@ -1072,6 +1080,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1072
1080
  circuit_json_footprint_load_error_id: string;
1073
1081
  subcircuit_id?: string | undefined;
1074
1082
  pcb_group_id?: string | undefined;
1083
+ is_fatal?: boolean | undefined;
1075
1084
  circuit_json?: any[] | undefined;
1076
1085
  } | {
1077
1086
  message: string;
@@ -1716,8 +1725,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1716
1725
  type: "pcb_trace_error";
1717
1726
  source_trace_id: string;
1718
1727
  pcb_trace_id: string;
1719
- pcb_trace_error_id: string;
1720
1728
  error_type: "pcb_trace_error";
1729
+ pcb_trace_error_id: string;
1721
1730
  pcb_component_ids: string[];
1722
1731
  pcb_port_ids: string[];
1723
1732
  center?: {
@@ -1725,6 +1734,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1725
1734
  y: number;
1726
1735
  } | undefined;
1727
1736
  subcircuit_id?: string | undefined;
1737
+ is_fatal?: boolean | undefined;
1728
1738
  } | {
1729
1739
  message: string;
1730
1740
  type: "pcb_trace_missing_error";
@@ -1738,12 +1748,23 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1738
1748
  y: number;
1739
1749
  } | undefined;
1740
1750
  subcircuit_id?: string | undefined;
1751
+ is_fatal?: boolean | undefined;
1741
1752
  } | {
1742
1753
  message: string;
1743
1754
  type: "pcb_placement_error";
1744
1755
  error_type: "pcb_placement_error";
1745
1756
  pcb_placement_error_id: string;
1746
1757
  subcircuit_id?: string | undefined;
1758
+ is_fatal?: boolean | undefined;
1759
+ } | {
1760
+ message: string;
1761
+ type: "pcb_panelization_placement_error";
1762
+ error_type: "pcb_panelization_placement_error";
1763
+ pcb_panelization_placement_error_id: string;
1764
+ subcircuit_id?: string | undefined;
1765
+ is_fatal?: boolean | undefined;
1766
+ pcb_board_id?: string | undefined;
1767
+ pcb_panel_id?: string | undefined;
1747
1768
  } | {
1748
1769
  message: string;
1749
1770
  type: "pcb_port_not_matched_error";
@@ -1751,6 +1772,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1751
1772
  pcb_component_ids: string[];
1752
1773
  pcb_error_id: string;
1753
1774
  subcircuit_id?: string | undefined;
1775
+ is_fatal?: boolean | undefined;
1754
1776
  } | {
1755
1777
  message: string;
1756
1778
  type: "pcb_port_not_connected_error";
@@ -1759,6 +1781,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1759
1781
  pcb_port_ids: string[];
1760
1782
  pcb_port_not_connected_error_id: string;
1761
1783
  subcircuit_id?: string | undefined;
1784
+ is_fatal?: boolean | undefined;
1762
1785
  } | {
1763
1786
  message: string;
1764
1787
  type: "pcb_via_clearance_error";
@@ -1766,6 +1789,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1766
1789
  pcb_error_id: string;
1767
1790
  pcb_via_ids: string[];
1768
1791
  subcircuit_id?: string | undefined;
1792
+ is_fatal?: boolean | undefined;
1769
1793
  minimum_clearance?: number | undefined;
1770
1794
  actual_clearance?: number | undefined;
1771
1795
  pcb_center?: {
@@ -1943,11 +1967,13 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1943
1967
  error_type: "pcb_autorouting_error";
1944
1968
  pcb_error_id: string;
1945
1969
  subcircuit_id?: string | undefined;
1970
+ is_fatal?: boolean | undefined;
1946
1971
  } | {
1947
1972
  message: string;
1948
1973
  type: "pcb_footprint_overlap_error";
1949
1974
  error_type: "pcb_footprint_overlap_error";
1950
1975
  pcb_error_id: string;
1976
+ is_fatal?: boolean | undefined;
1951
1977
  pcb_smtpad_ids?: string[] | undefined;
1952
1978
  pcb_plated_hole_ids?: string[] | undefined;
1953
1979
  pcb_hole_ids?: string[] | undefined;
@@ -2121,6 +2147,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2121
2147
  };
2122
2148
  source_component_id?: string | undefined;
2123
2149
  subcircuit_id?: string | undefined;
2150
+ is_fatal?: boolean | undefined;
2124
2151
  } | {
2125
2152
  message: string;
2126
2153
  type: "pcb_component_invalid_layer_error";
@@ -2130,6 +2157,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2130
2157
  pcb_component_invalid_layer_error_id: string;
2131
2158
  pcb_component_id?: string | undefined;
2132
2159
  subcircuit_id?: string | undefined;
2160
+ is_fatal?: boolean | undefined;
2133
2161
  } | {
2134
2162
  type: "pcb_courtyard_rect";
2135
2163
  width: number;
@@ -2180,6 +2208,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2180
2208
  is_dashed: boolean;
2181
2209
  subcircuit_id?: string | undefined;
2182
2210
  schematic_component_id?: string | undefined;
2211
+ schematic_symbol_id?: string | undefined;
2183
2212
  } | {
2184
2213
  type: "schematic_text";
2185
2214
  anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
@@ -2194,6 +2223,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2194
2223
  };
2195
2224
  subcircuit_id?: string | undefined;
2196
2225
  schematic_component_id?: string | undefined;
2226
+ schematic_symbol_id?: string | undefined;
2197
2227
  } | {
2198
2228
  type: "schematic_line";
2199
2229
  x1: number;
@@ -2202,10 +2232,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2202
2232
  y2: number;
2203
2233
  color: string;
2204
2234
  is_dashed: boolean;
2205
- schematic_component_id: string;
2206
2235
  schematic_line_id: string;
2207
2236
  subcircuit_id?: string | undefined;
2208
2237
  stroke_width?: number | null | undefined;
2238
+ schematic_component_id?: string | undefined;
2239
+ schematic_symbol_id?: string | undefined;
2209
2240
  } | {
2210
2241
  type: "schematic_rect";
2211
2242
  width: number;
@@ -2218,10 +2249,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2218
2249
  is_filled: boolean;
2219
2250
  color: string;
2220
2251
  is_dashed: boolean;
2221
- schematic_component_id: string;
2222
2252
  schematic_rect_id: string;
2223
2253
  subcircuit_id?: string | undefined;
2224
2254
  stroke_width?: number | null | undefined;
2255
+ schematic_component_id?: string | undefined;
2256
+ schematic_symbol_id?: string | undefined;
2225
2257
  fill_color?: string | undefined;
2226
2258
  } | {
2227
2259
  type: "schematic_circle";
@@ -2233,10 +2265,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2233
2265
  is_filled: boolean;
2234
2266
  color: string;
2235
2267
  is_dashed: boolean;
2236
- schematic_component_id: string;
2237
2268
  schematic_circle_id: string;
2238
2269
  subcircuit_id?: string | undefined;
2239
2270
  stroke_width?: number | null | undefined;
2271
+ schematic_component_id?: string | undefined;
2272
+ schematic_symbol_id?: string | undefined;
2240
2273
  fill_color?: string | undefined;
2241
2274
  } | {
2242
2275
  type: "schematic_arc";
@@ -2247,13 +2280,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2247
2280
  radius: number;
2248
2281
  color: string;
2249
2282
  is_dashed: boolean;
2250
- schematic_component_id: string;
2251
2283
  direction: "clockwise" | "counterclockwise";
2252
2284
  schematic_arc_id: string;
2253
2285
  start_angle_degrees: number;
2254
2286
  end_angle_degrees: number;
2255
2287
  subcircuit_id?: string | undefined;
2256
2288
  stroke_width?: number | null | undefined;
2289
+ schematic_component_id?: string | undefined;
2290
+ schematic_symbol_id?: string | undefined;
2257
2291
  } | {
2258
2292
  type: "schematic_component";
2259
2293
  center: {
@@ -2269,6 +2303,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2269
2303
  source_component_id?: string | undefined;
2270
2304
  subcircuit_id?: string | undefined;
2271
2305
  source_group_id?: string | undefined;
2306
+ schematic_symbol_id?: string | undefined;
2272
2307
  pin_spacing?: number | undefined;
2273
2308
  pin_styles?: Record<string, {
2274
2309
  left_margin?: number | undefined;
@@ -2305,6 +2340,10 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2305
2340
  symbol_display_value?: string | undefined;
2306
2341
  schematic_group_id?: string | undefined;
2307
2342
  is_schematic_group?: boolean | undefined;
2343
+ } | {
2344
+ type: "schematic_symbol";
2345
+ schematic_symbol_id: string;
2346
+ name?: string | undefined;
2308
2347
  } | {
2309
2348
  type: "schematic_port";
2310
2349
  center: {
@@ -2354,10 +2393,12 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2354
2393
  x: number;
2355
2394
  y: number;
2356
2395
  }[];
2357
- schematic_component_id: string;
2396
+ schematic_path_id: string;
2358
2397
  subcircuit_id?: string | undefined;
2359
2398
  stroke_width?: number | null | undefined;
2360
2399
  is_filled?: boolean | undefined;
2400
+ schematic_component_id?: string | undefined;
2401
+ schematic_symbol_id?: string | undefined;
2361
2402
  fill_color?: "red" | "blue" | undefined;
2362
2403
  stroke_color?: string | undefined;
2363
2404
  } | {
@@ -2366,6 +2407,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2366
2407
  error_type: "schematic_port_not_found";
2367
2408
  schematic_error_id: string;
2368
2409
  subcircuit_id?: string | undefined;
2410
+ is_fatal?: boolean | undefined;
2369
2411
  } | {
2370
2412
  message: string;
2371
2413
  type: "schematic_layout_error";
@@ -2374,6 +2416,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2374
2416
  schematic_group_id: string;
2375
2417
  schematic_layout_error_id: string;
2376
2418
  subcircuit_id?: string | undefined;
2419
+ is_fatal?: boolean | undefined;
2377
2420
  } | {
2378
2421
  type: "schematic_net_label";
2379
2422
  center: {
@@ -2509,6 +2552,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2509
2552
  type: "cad_component";
2510
2553
  pcb_component_id: string;
2511
2554
  source_component_id: string;
2555
+ anchor_alignment: "center" | "xy_center_z_board";
2512
2556
  position: {
2513
2557
  x: number;
2514
2558
  y: number;
@@ -2630,6 +2674,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2630
2674
  error_type: "simulation_unknown_experiment_error";
2631
2675
  simulation_unknown_experiment_error_id: string;
2632
2676
  subcircuit_id?: string | undefined;
2677
+ is_fatal?: boolean | undefined;
2633
2678
  simulation_experiment_id?: string | undefined;
2634
2679
  } | {
2635
2680
  type: "simulation_op_amp";
@@ -3051,12 +3096,14 @@ declare const runTscircuitModule: (module: string, opts?: {
3051
3096
  source_missing_property_error_id: string;
3052
3097
  property_name: string;
3053
3098
  subcircuit_id?: string | undefined;
3099
+ is_fatal?: boolean | undefined;
3054
3100
  } | {
3055
3101
  message: string;
3056
3102
  type: "source_failed_to_create_component_error";
3057
3103
  error_type: "source_failed_to_create_component_error";
3058
3104
  source_failed_to_create_component_error_id: string;
3059
3105
  subcircuit_id?: string | undefined;
3106
+ is_fatal?: boolean | undefined;
3060
3107
  pcb_center?: {
3061
3108
  x?: number | undefined;
3062
3109
  y?: number | undefined;
@@ -3074,6 +3121,7 @@ declare const runTscircuitModule: (module: string, opts?: {
3074
3121
  source_trace_not_connected_error_id: string;
3075
3122
  subcircuit_id?: string | undefined;
3076
3123
  source_trace_id?: string | undefined;
3124
+ is_fatal?: boolean | undefined;
3077
3125
  source_group_id?: string | undefined;
3078
3126
  connected_source_port_ids?: string[] | undefined;
3079
3127
  selectors_not_found?: string[] | undefined;
@@ -3408,6 +3456,7 @@ declare const runTscircuitModule: (module: string, opts?: {
3408
3456
  source_trace_not_connected_error_id: string;
3409
3457
  subcircuit_id?: string | undefined;
3410
3458
  source_trace_id?: string | undefined;
3459
+ is_fatal?: boolean | undefined;
3411
3460
  source_group_id?: string | undefined;
3412
3461
  connected_source_port_ids?: string[] | undefined;
3413
3462
  selectors_not_found?: string[] | undefined;
@@ -3427,6 +3476,7 @@ declare const runTscircuitModule: (module: string, opts?: {
3427
3476
  error_type: "source_pin_must_be_connected_error";
3428
3477
  source_pin_must_be_connected_error_id: string;
3429
3478
  subcircuit_id?: string | undefined;
3479
+ is_fatal?: boolean | undefined;
3430
3480
  } | {
3431
3481
  message: string;
3432
3482
  type: "unknown_error_finding_part";
@@ -3434,6 +3484,7 @@ declare const runTscircuitModule: (module: string, opts?: {
3434
3484
  unknown_error_finding_part_id: string;
3435
3485
  source_component_id?: string | undefined;
3436
3486
  subcircuit_id?: string | undefined;
3487
+ is_fatal?: boolean | undefined;
3437
3488
  } | {
3438
3489
  type: "pcb_component";
3439
3490
  width: number;
@@ -3540,6 +3591,7 @@ declare const runTscircuitModule: (module: string, opts?: {
3540
3591
  pcb_missing_footprint_error_id: string;
3541
3592
  subcircuit_id?: string | undefined;
3542
3593
  pcb_group_id?: string | undefined;
3594
+ is_fatal?: boolean | undefined;
3543
3595
  } | {
3544
3596
  message: string;
3545
3597
  type: "external_footprint_load_error";
@@ -3549,6 +3601,7 @@ declare const runTscircuitModule: (module: string, opts?: {
3549
3601
  external_footprint_load_error_id: string;
3550
3602
  subcircuit_id?: string | undefined;
3551
3603
  pcb_group_id?: string | undefined;
3604
+ is_fatal?: boolean | undefined;
3552
3605
  footprinter_string?: string | undefined;
3553
3606
  } | {
3554
3607
  message: string;
@@ -3559,6 +3612,7 @@ declare const runTscircuitModule: (module: string, opts?: {
3559
3612
  circuit_json_footprint_load_error_id: string;
3560
3613
  subcircuit_id?: string | undefined;
3561
3614
  pcb_group_id?: string | undefined;
3615
+ is_fatal?: boolean | undefined;
3562
3616
  circuit_json?: any[] | undefined;
3563
3617
  } | {
3564
3618
  message: string;
@@ -4203,8 +4257,8 @@ declare const runTscircuitModule: (module: string, opts?: {
4203
4257
  type: "pcb_trace_error";
4204
4258
  source_trace_id: string;
4205
4259
  pcb_trace_id: string;
4206
- pcb_trace_error_id: string;
4207
4260
  error_type: "pcb_trace_error";
4261
+ pcb_trace_error_id: string;
4208
4262
  pcb_component_ids: string[];
4209
4263
  pcb_port_ids: string[];
4210
4264
  center?: {
@@ -4212,6 +4266,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4212
4266
  y: number;
4213
4267
  } | undefined;
4214
4268
  subcircuit_id?: string | undefined;
4269
+ is_fatal?: boolean | undefined;
4215
4270
  } | {
4216
4271
  message: string;
4217
4272
  type: "pcb_trace_missing_error";
@@ -4225,12 +4280,23 @@ declare const runTscircuitModule: (module: string, opts?: {
4225
4280
  y: number;
4226
4281
  } | undefined;
4227
4282
  subcircuit_id?: string | undefined;
4283
+ is_fatal?: boolean | undefined;
4228
4284
  } | {
4229
4285
  message: string;
4230
4286
  type: "pcb_placement_error";
4231
4287
  error_type: "pcb_placement_error";
4232
4288
  pcb_placement_error_id: string;
4233
4289
  subcircuit_id?: string | undefined;
4290
+ is_fatal?: boolean | undefined;
4291
+ } | {
4292
+ message: string;
4293
+ type: "pcb_panelization_placement_error";
4294
+ error_type: "pcb_panelization_placement_error";
4295
+ pcb_panelization_placement_error_id: string;
4296
+ subcircuit_id?: string | undefined;
4297
+ is_fatal?: boolean | undefined;
4298
+ pcb_board_id?: string | undefined;
4299
+ pcb_panel_id?: string | undefined;
4234
4300
  } | {
4235
4301
  message: string;
4236
4302
  type: "pcb_port_not_matched_error";
@@ -4238,6 +4304,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4238
4304
  pcb_component_ids: string[];
4239
4305
  pcb_error_id: string;
4240
4306
  subcircuit_id?: string | undefined;
4307
+ is_fatal?: boolean | undefined;
4241
4308
  } | {
4242
4309
  message: string;
4243
4310
  type: "pcb_port_not_connected_error";
@@ -4246,6 +4313,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4246
4313
  pcb_port_ids: string[];
4247
4314
  pcb_port_not_connected_error_id: string;
4248
4315
  subcircuit_id?: string | undefined;
4316
+ is_fatal?: boolean | undefined;
4249
4317
  } | {
4250
4318
  message: string;
4251
4319
  type: "pcb_via_clearance_error";
@@ -4253,6 +4321,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4253
4321
  pcb_error_id: string;
4254
4322
  pcb_via_ids: string[];
4255
4323
  subcircuit_id?: string | undefined;
4324
+ is_fatal?: boolean | undefined;
4256
4325
  minimum_clearance?: number | undefined;
4257
4326
  actual_clearance?: number | undefined;
4258
4327
  pcb_center?: {
@@ -4430,11 +4499,13 @@ declare const runTscircuitModule: (module: string, opts?: {
4430
4499
  error_type: "pcb_autorouting_error";
4431
4500
  pcb_error_id: string;
4432
4501
  subcircuit_id?: string | undefined;
4502
+ is_fatal?: boolean | undefined;
4433
4503
  } | {
4434
4504
  message: string;
4435
4505
  type: "pcb_footprint_overlap_error";
4436
4506
  error_type: "pcb_footprint_overlap_error";
4437
4507
  pcb_error_id: string;
4508
+ is_fatal?: boolean | undefined;
4438
4509
  pcb_smtpad_ids?: string[] | undefined;
4439
4510
  pcb_plated_hole_ids?: string[] | undefined;
4440
4511
  pcb_hole_ids?: string[] | undefined;
@@ -4608,6 +4679,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4608
4679
  };
4609
4680
  source_component_id?: string | undefined;
4610
4681
  subcircuit_id?: string | undefined;
4682
+ is_fatal?: boolean | undefined;
4611
4683
  } | {
4612
4684
  message: string;
4613
4685
  type: "pcb_component_invalid_layer_error";
@@ -4617,6 +4689,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4617
4689
  pcb_component_invalid_layer_error_id: string;
4618
4690
  pcb_component_id?: string | undefined;
4619
4691
  subcircuit_id?: string | undefined;
4692
+ is_fatal?: boolean | undefined;
4620
4693
  } | {
4621
4694
  type: "pcb_courtyard_rect";
4622
4695
  width: number;
@@ -4667,6 +4740,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4667
4740
  is_dashed: boolean;
4668
4741
  subcircuit_id?: string | undefined;
4669
4742
  schematic_component_id?: string | undefined;
4743
+ schematic_symbol_id?: string | undefined;
4670
4744
  } | {
4671
4745
  type: "schematic_text";
4672
4746
  anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
@@ -4681,6 +4755,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4681
4755
  };
4682
4756
  subcircuit_id?: string | undefined;
4683
4757
  schematic_component_id?: string | undefined;
4758
+ schematic_symbol_id?: string | undefined;
4684
4759
  } | {
4685
4760
  type: "schematic_line";
4686
4761
  x1: number;
@@ -4689,10 +4764,11 @@ declare const runTscircuitModule: (module: string, opts?: {
4689
4764
  y2: number;
4690
4765
  color: string;
4691
4766
  is_dashed: boolean;
4692
- schematic_component_id: string;
4693
4767
  schematic_line_id: string;
4694
4768
  subcircuit_id?: string | undefined;
4695
4769
  stroke_width?: number | null | undefined;
4770
+ schematic_component_id?: string | undefined;
4771
+ schematic_symbol_id?: string | undefined;
4696
4772
  } | {
4697
4773
  type: "schematic_rect";
4698
4774
  width: number;
@@ -4705,10 +4781,11 @@ declare const runTscircuitModule: (module: string, opts?: {
4705
4781
  is_filled: boolean;
4706
4782
  color: string;
4707
4783
  is_dashed: boolean;
4708
- schematic_component_id: string;
4709
4784
  schematic_rect_id: string;
4710
4785
  subcircuit_id?: string | undefined;
4711
4786
  stroke_width?: number | null | undefined;
4787
+ schematic_component_id?: string | undefined;
4788
+ schematic_symbol_id?: string | undefined;
4712
4789
  fill_color?: string | undefined;
4713
4790
  } | {
4714
4791
  type: "schematic_circle";
@@ -4720,10 +4797,11 @@ declare const runTscircuitModule: (module: string, opts?: {
4720
4797
  is_filled: boolean;
4721
4798
  color: string;
4722
4799
  is_dashed: boolean;
4723
- schematic_component_id: string;
4724
4800
  schematic_circle_id: string;
4725
4801
  subcircuit_id?: string | undefined;
4726
4802
  stroke_width?: number | null | undefined;
4803
+ schematic_component_id?: string | undefined;
4804
+ schematic_symbol_id?: string | undefined;
4727
4805
  fill_color?: string | undefined;
4728
4806
  } | {
4729
4807
  type: "schematic_arc";
@@ -4734,13 +4812,14 @@ declare const runTscircuitModule: (module: string, opts?: {
4734
4812
  radius: number;
4735
4813
  color: string;
4736
4814
  is_dashed: boolean;
4737
- schematic_component_id: string;
4738
4815
  direction: "clockwise" | "counterclockwise";
4739
4816
  schematic_arc_id: string;
4740
4817
  start_angle_degrees: number;
4741
4818
  end_angle_degrees: number;
4742
4819
  subcircuit_id?: string | undefined;
4743
4820
  stroke_width?: number | null | undefined;
4821
+ schematic_component_id?: string | undefined;
4822
+ schematic_symbol_id?: string | undefined;
4744
4823
  } | {
4745
4824
  type: "schematic_component";
4746
4825
  center: {
@@ -4756,6 +4835,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4756
4835
  source_component_id?: string | undefined;
4757
4836
  subcircuit_id?: string | undefined;
4758
4837
  source_group_id?: string | undefined;
4838
+ schematic_symbol_id?: string | undefined;
4759
4839
  pin_spacing?: number | undefined;
4760
4840
  pin_styles?: Record<string, {
4761
4841
  left_margin?: number | undefined;
@@ -4792,6 +4872,10 @@ declare const runTscircuitModule: (module: string, opts?: {
4792
4872
  symbol_display_value?: string | undefined;
4793
4873
  schematic_group_id?: string | undefined;
4794
4874
  is_schematic_group?: boolean | undefined;
4875
+ } | {
4876
+ type: "schematic_symbol";
4877
+ schematic_symbol_id: string;
4878
+ name?: string | undefined;
4795
4879
  } | {
4796
4880
  type: "schematic_port";
4797
4881
  center: {
@@ -4841,10 +4925,12 @@ declare const runTscircuitModule: (module: string, opts?: {
4841
4925
  x: number;
4842
4926
  y: number;
4843
4927
  }[];
4844
- schematic_component_id: string;
4928
+ schematic_path_id: string;
4845
4929
  subcircuit_id?: string | undefined;
4846
4930
  stroke_width?: number | null | undefined;
4847
4931
  is_filled?: boolean | undefined;
4932
+ schematic_component_id?: string | undefined;
4933
+ schematic_symbol_id?: string | undefined;
4848
4934
  fill_color?: "red" | "blue" | undefined;
4849
4935
  stroke_color?: string | undefined;
4850
4936
  } | {
@@ -4853,6 +4939,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4853
4939
  error_type: "schematic_port_not_found";
4854
4940
  schematic_error_id: string;
4855
4941
  subcircuit_id?: string | undefined;
4942
+ is_fatal?: boolean | undefined;
4856
4943
  } | {
4857
4944
  message: string;
4858
4945
  type: "schematic_layout_error";
@@ -4861,6 +4948,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4861
4948
  schematic_group_id: string;
4862
4949
  schematic_layout_error_id: string;
4863
4950
  subcircuit_id?: string | undefined;
4951
+ is_fatal?: boolean | undefined;
4864
4952
  } | {
4865
4953
  type: "schematic_net_label";
4866
4954
  center: {
@@ -4996,6 +5084,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4996
5084
  type: "cad_component";
4997
5085
  pcb_component_id: string;
4998
5086
  source_component_id: string;
5087
+ anchor_alignment: "center" | "xy_center_z_board";
4999
5088
  position: {
5000
5089
  x: number;
5001
5090
  y: number;
@@ -5117,6 +5206,7 @@ declare const runTscircuitModule: (module: string, opts?: {
5117
5206
  error_type: "simulation_unknown_experiment_error";
5118
5207
  simulation_unknown_experiment_error_id: string;
5119
5208
  subcircuit_id?: string | undefined;
5209
+ is_fatal?: boolean | undefined;
5120
5210
  simulation_experiment_id?: string | undefined;
5121
5211
  } | {
5122
5212
  type: "simulation_op_amp";