@tscircuit/capacity-autorouter 0.0.856 → 0.0.858
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 +17 -21
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -6277,7 +6277,7 @@ declare class Pipeline9HighDensitySolver extends BaseSolver {
|
|
|
6277
6277
|
getUpdatedFixedHdRoutes(): PreloadedHighDensityRoute[];
|
|
6278
6278
|
protected finishActiveNode(routes: HighDensityIntraNodeRoute$1[]): void;
|
|
6279
6279
|
protected startRegularSolver(node: NodeWithPortPoints): void;
|
|
6280
|
-
|
|
6280
|
+
private startRegionalFallback;
|
|
6281
6281
|
private finishRegionalFallback;
|
|
6282
6282
|
private recordRegionalCandidateRejections;
|
|
6283
6283
|
protected finishRegularSolverFailure(error: string): void;
|
|
@@ -6494,21 +6494,15 @@ declare class AutoroutingPipelineSolver9_PreloadedTraceGraph extends BaseSolver
|
|
|
6494
6494
|
|
|
6495
6495
|
type AutoroutingPipelineSolver9NetworkedOptions = Omit<AutoroutingPipelineSolverOptions$1, "effort"> & {
|
|
6496
6496
|
effort?: 1;
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
hdCacheMaxBatchItems?: number;
|
|
6502
|
-
hdCacheMaxBatchBodyBytes?: number;
|
|
6497
|
+
/** Base URL of an hd-cache2-compatible server. */
|
|
6498
|
+
hdCache2ServerUrl?: string;
|
|
6499
|
+
/** Optional cache namespace, used to isolate cold/hot benchmark runs. */
|
|
6500
|
+
hdCache2CacheVersion?: string;
|
|
6503
6501
|
};
|
|
6504
6502
|
/** Pipeline9 with exact, version-scoped remote terminal node solving. */
|
|
6505
6503
|
declare class AutoroutingPipelineSolver9_Networked extends AutoroutingPipelineSolver9_PreloadedTraceGraph {
|
|
6506
|
-
readonly
|
|
6507
|
-
readonly
|
|
6508
|
-
readonly hdCacheTimeoutMs: number;
|
|
6509
|
-
readonly hdCacheTransportTimeoutMs: number;
|
|
6510
|
-
readonly hdCacheMaxBatchItems: number;
|
|
6511
|
-
readonly hdCacheMaxBatchBodyBytes: number;
|
|
6504
|
+
readonly hdCache2ServerUrl: string;
|
|
6505
|
+
readonly hdCache2CacheVersion?: string;
|
|
6512
6506
|
getSolverName(): string;
|
|
6513
6507
|
constructor(srj: SimpleRouteJson, opts?: AutoroutingPipelineSolver9NetworkedOptions);
|
|
6514
6508
|
private replaceHighDensityPipelineStep;
|
|
@@ -6522,13 +6516,6 @@ declare class AutoroutingPipelineSolver9_Networked extends AutoroutingPipelineSo
|
|
|
6522
6516
|
/** The exact published autorouter version used to isolate network cache keys. */
|
|
6523
6517
|
declare const AUTOROUTER_VERSION: string;
|
|
6524
6518
|
|
|
6525
|
-
declare const DEFAULT_PIPELINE9_NETWORKED_CACHE_URL = "https://hd-cache2.tscircuit.com";
|
|
6526
|
-
declare const DEFAULT_PIPELINE9_NETWORKED_TIMEOUT_MS = 30000;
|
|
6527
|
-
declare const DEFAULT_PIPELINE9_NETWORKED_TRANSPORT_TIMEOUT_MS = 310000;
|
|
6528
|
-
declare const DEFAULT_PIPELINE9_NETWORKED_MAX_BATCH_ITEMS = 100;
|
|
6529
|
-
declare const DEFAULT_PIPELINE9_NETWORKED_MAX_BATCH_BODY_BYTES: number;
|
|
6530
|
-
type Pipeline9NetworkedFallbackReason = "http_error" | "invalid_json" | "invalid_response" | "logical_timeout" | "missing_response" | "remote_error" | "request_serialization_error" | "response_too_large" | "transport_error" | "transport_timeout" | "version_mismatch";
|
|
6531
|
-
|
|
6532
6519
|
type Pipeline9NetworkedCacheSource = "cache" | "solver";
|
|
6533
6520
|
declare const PIPELINE9_NETWORKED_SOLVE_POLICY: "ordinary_then_regional_without_fixed_copper_v1";
|
|
6534
6521
|
/**
|
|
@@ -6573,6 +6560,8 @@ type Pipeline9NetworkedHighDensityNodeOutput = {
|
|
|
6573
6560
|
};
|
|
6574
6561
|
type Pipeline9NetworkedSolveRequest = {
|
|
6575
6562
|
autorouterVersion: string;
|
|
6563
|
+
/** Optional cache namespace used to isolate benchmark runs. */
|
|
6564
|
+
cacheVersion?: string;
|
|
6576
6565
|
input: Pipeline9NetworkedHighDensityNodeInput;
|
|
6577
6566
|
};
|
|
6578
6567
|
type Pipeline9NetworkedSolveBatchItem = {
|
|
@@ -6581,21 +6570,26 @@ type Pipeline9NetworkedSolveBatchItem = {
|
|
|
6581
6570
|
};
|
|
6582
6571
|
type Pipeline9NetworkedSolveBatchRequest = {
|
|
6583
6572
|
autorouterVersion: string;
|
|
6573
|
+
/** Optional cache namespace used to isolate benchmark runs. */
|
|
6574
|
+
cacheVersion?: string;
|
|
6584
6575
|
items: Pipeline9NetworkedSolveBatchItem[];
|
|
6585
6576
|
};
|
|
6586
6577
|
type Pipeline9NetworkedSolveResponse = ({
|
|
6587
6578
|
ok: true;
|
|
6588
6579
|
autorouterVersion: string;
|
|
6580
|
+
cacheVersion?: string;
|
|
6589
6581
|
source: Pipeline9NetworkedCacheSource;
|
|
6590
6582
|
} & Pipeline9NetworkedHighDensityNodeOutput) | {
|
|
6591
6583
|
ok: false;
|
|
6592
6584
|
autorouterVersion?: string;
|
|
6585
|
+
cacheVersion?: string;
|
|
6593
6586
|
message: string;
|
|
6594
6587
|
};
|
|
6595
6588
|
type Pipeline9NetworkedSolveBatchCacheMiss = {
|
|
6596
6589
|
requestId: string;
|
|
6597
6590
|
ok: false;
|
|
6598
6591
|
autorouterVersion: string;
|
|
6592
|
+
cacheVersion?: string;
|
|
6599
6593
|
code: "CACHE_MISS";
|
|
6600
6594
|
message: string;
|
|
6601
6595
|
};
|
|
@@ -6604,6 +6598,8 @@ type Pipeline9NetworkedSolveBatchResult = ({
|
|
|
6604
6598
|
requestId: string;
|
|
6605
6599
|
} & Pipeline9NetworkedSolveResponse) | Pipeline9NetworkedSolveBatchCacheMiss;
|
|
6606
6600
|
|
|
6601
|
+
declare const DEFAULT_HD_CACHE2_SERVER_URL = "https://hd-cache2.tscircuit.com";
|
|
6602
|
+
|
|
6607
6603
|
/**
|
|
6608
6604
|
* Runs Pipeline9's terminal no-fixed-copper node policy. hd-cache2 calls this
|
|
6609
6605
|
* exported helper so ordinary and regional cache entries can only be produced
|
|
@@ -7787,4 +7783,4 @@ declare const HyperSingleIntraNodeSolver: typeof PortfolioSingleIntraNodeSolver;
|
|
|
7787
7783
|
*/
|
|
7788
7784
|
type HyperSingleIntraNodeSolver = InstanceType<typeof PortfolioSingleIntraNodeSolver>;
|
|
7789
7785
|
|
|
7790
|
-
export { AUTOROUTER_VERSION, AssignableAutoroutingPipeline1Solver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AttachProjectedRectsSolver, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver7_MultiGraph as AutoroutingPipelineSolver, AutoroutingPipelineSolver10_BgaFanout, AutoroutingPipelineSolver2_PortPointPathing, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver4_TinyHypergraph as AutoroutingPipelineSolver4, AutoroutingPipelineSolver4_TinyHypergraph, AutoroutingPipelineSolver5_HdCache as AutoroutingPipelineSolver5, AutoroutingPipelineSolver5_HdCache, AutoroutingPipelineSolver6_PolyHypergraph as AutoroutingPipelineSolver6, AutoroutingPipelineSolver6_PolyHypergraph, AutoroutingPipelineSolver7_MultiGraph, AutoroutingPipelineSolver8, type AutoroutingPipelineSolver9NetworkedOptions, AutoroutingPipelineSolver9_Networked, AutoroutingPipelineSolver9_PreloadedTraceGraph, type AutoroutingPipelineSolverOptions, type BusId, type CachableSolver, type CacheProvider, CapacityMeshSolver, type ConnectionPoint$1 as ConnectionPoint, type ConvertSrjToGraphicsObjectOptions, CurvyIntraNodeSolver,
|
|
7786
|
+
export { AUTOROUTER_VERSION, AssignableAutoroutingPipeline1Solver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AttachProjectedRectsSolver, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver7_MultiGraph as AutoroutingPipelineSolver, AutoroutingPipelineSolver10_BgaFanout, AutoroutingPipelineSolver2_PortPointPathing, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver4_TinyHypergraph as AutoroutingPipelineSolver4, AutoroutingPipelineSolver4_TinyHypergraph, AutoroutingPipelineSolver5_HdCache as AutoroutingPipelineSolver5, AutoroutingPipelineSolver5_HdCache, AutoroutingPipelineSolver6_PolyHypergraph as AutoroutingPipelineSolver6, AutoroutingPipelineSolver6_PolyHypergraph, AutoroutingPipelineSolver7_MultiGraph, AutoroutingPipelineSolver8, type AutoroutingPipelineSolver9NetworkedOptions, AutoroutingPipelineSolver9_Networked, AutoroutingPipelineSolver9_PreloadedTraceGraph, type AutoroutingPipelineSolverOptions, type BusId, type CachableSolver, type CacheProvider, CapacityMeshSolver, type ConnectionPoint$1 as ConnectionPoint, type ConvertSrjToGraphicsObjectOptions, CurvyIntraNodeSolver, DEFAULT_HD_CACHE2_SERVER_URL, type DifferentialPair, GrowShrinkHighDensityIntraNodeSolver, type HighDensityIntraNodeRouteWithJumpers, JumperHighDensitySolver as HighDensitySolver, HyperSingleIntraNodeSolver, InMemoryCache, IntraNodeSolverWithJumpers, type Jumper, LocalStorageCache, type MultiLayerConnectionPoint, type Obstacle, PIPELINE9_NETWORKED_SOLVE_POLICY, type Pipeline9NetworkedCacheSource, type Pipeline9NetworkedHighDensityNodeInput, type Pipeline9NetworkedHighDensityNodeOutput, type Pipeline9NetworkedSolveBatchCacheMiss, type Pipeline9NetworkedSolveBatchItem, type Pipeline9NetworkedSolveBatchRequest, type Pipeline9NetworkedSolveBatchResult, type Pipeline9NetworkedSolveRequest, type Pipeline9NetworkedSolveResponse, PolyHighDensitySolver, PolySingleIntraNodeSolver as PolyIntraNodeSolver, PolySingleIntraNodeSolver, PortfolioSingleIntraNodeSolver, ProjectHighDensityToPolygonSolver, type RerouteRectRegion, type SimpleRouteBus, type SimpleRouteConnection, type SimpleRouteJson, type SimplifiedPcbTrace, type SimplifiedPcbTraces, SingleHighDensityRouteWithJumpersSolver, type SingleLayerConnectionPoint, type TerminalViaHint, type TraceColorMode, calculateOptimalCapacityDepth, convertSrjToGraphicsObject, getGlobalInMemoryCache, getGlobalLocalStorageCache, getRerouteSimpleRouteJson, getTunedTotalCapacity1, reconnectReroutedSimpleRouteJsonRegion, setupGlobalCaches, solvePipeline9NetworkedHighDensityNode };
|