lceda-connect 0.2.0 → 0.3.0

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +20 -16
  3. package/dist/{analyze-DBkWgG82.mjs → analyze-TRlZx-Jv.mjs} +2 -190
  4. package/dist/cli-C4ZkWlV2.mjs +1253 -0
  5. package/dist/{cli-BekOvZjB.mjs → cli-C6saKrQp.mjs} +3 -2
  6. package/dist/{cli-BegYbK44.mjs → cli-C8-HjAP0.mjs} +2 -2
  7. package/dist/cli-CHbcaMwS.mjs +1 -0
  8. package/dist/cli-CZEoeuFW.mjs +1 -0
  9. package/dist/{cli-DphIx1EQ.mjs → cli-CZmNLW3Q.mjs} +1 -1
  10. package/dist/{cli-B3GGyoP_.mjs → cli-CjcJVM6z.mjs} +5 -3
  11. package/dist/cli-bridge.mjs +1 -1
  12. package/dist/cli-cdp.mjs +1 -1
  13. package/dist/cli-mcp.mjs +1 -1
  14. package/dist/cli.mjs +1 -1
  15. package/dist/{discover-D4ouuCrn.mjs → discover-D5mRrsxg.mjs} +1 -27
  16. package/dist/index.mjs +9 -8
  17. package/dist/{main-CzMqMptH.mjs → main-CcKvXSJG.mjs} +13 -7
  18. package/dist/{registry-DaqVJuvF.mjs → registry-Dmti2u6s.mjs} +8 -7
  19. package/dist/registry-zIKWeXV6.mjs +1 -0
  20. package/dist/{server-qYlcXfzp.mjs → server-BduSjwzu.mjs} +4 -4
  21. package/dist/server-Chka6eAQ.mjs +1 -0
  22. package/dist/{targets-DYfgkrq3.mjs → session-DvIXO5Hf.mjs} +2 -36
  23. package/dist/{sideEffects-D33hMchc.mjs → sideEffects-DF_tIVsf.mjs} +3 -2
  24. package/dist/targets-D5nmbsyz.mjs +36 -0
  25. package/dist/term-DlGIoccA.mjs +27 -0
  26. package/dist/{touchstone-DOhfmSNh.mjs → touchstone-D4Fdg4Om.mjs} +1 -1
  27. package/dist/{verbs-CD4ZM9Es.mjs → verbs-5M7rj1-E.mjs} +3 -2
  28. package/dist/zip-CAd_yYte.mjs +190 -0
  29. package/docs/extensions.md +207 -0
  30. package/package.json +2 -1
  31. package/dist/cli-BqILMvnF.mjs +0 -1
  32. package/dist/cli-BzrDKC7x.mjs +0 -1
  33. package/dist/registry-5K1G1XmC.mjs +0 -1
  34. package/dist/server-DNMAlzZJ.mjs +0 -1
@@ -1,6 +1,7 @@
1
1
  import { a as parseArgs, i as numberValue, n as boolValue, o as stringValue, r as formatOptions, t as CliUsageError } from "./cliArgs-BI3bJgCZ.mjs";
2
- import { T as loadConfig, b as hr, x as paint } from "./discover-D4ouuCrn.mjs";
3
- import { a as routeNets, c as EdaVerbError, d as capabilitySummary, f as lookupCapability, i as readBoardState, l as createDefaultExecContext, n as docInfo, o as routeNetsPreview, r as evalApi, s as runDrc, t as boardDigestState, u as checkEnvironment } from "./verbs-CD4ZM9Es.mjs";
2
+ import { C as loadConfig } from "./discover-D5mRrsxg.mjs";
3
+ import { n as paint, t as hr } from "./term-DlGIoccA.mjs";
4
+ import { a as routeNets, c as EdaVerbError, d as capabilitySummary, f as lookupCapability, i as readBoardState, l as createDefaultExecContext, n as docInfo, o as routeNetsPreview, r as evalApi, s as runDrc, t as boardDigestState, u as checkEnvironment } from "./verbs-5M7rj1-E.mjs";
4
5
  import { readFileSync } from "node:fs";
5
6
  // src/eda/cli.ts
6
7
  /**
@@ -1,6 +1,6 @@
1
1
  import { a as parseArgs, i as numberValue, n as boolValue, o as stringValue, r as formatOptions, t as CliUsageError } from "./cliArgs-BI3bJgCZ.mjs";
2
- import { lt as ProjectError } from "./analyze-DBkWgG82.mjs";
3
- import { A as listSimSidecarScripts, At as generateNetlist, C as stackupSummaryLines, Cn as SimError, D as viaParasitics, Et as validateIr, I as readNetlistFile, L as runSimulation, Ot as buildPinNetTable, T as traceParams, at as metricSummaryLine, bt as loadSimIr, c as touchstoneMetrics, et as parseRawFile, hn as loadSimConfig, j as probePython, m as Stackup, mt as probeNgspice, o as parseTouchstone, tt as plotsToCsv, vt as fromEpro2File } from "./touchstone-DOhfmSNh.mjs";
2
+ import { lt as ProjectError } from "./analyze-TRlZx-Jv.mjs";
3
+ import { A as listSimSidecarScripts, At as generateNetlist, C as stackupSummaryLines, Cn as SimError, D as viaParasitics, Et as validateIr, I as readNetlistFile, L as runSimulation, Ot as buildPinNetTable, T as traceParams, at as metricSummaryLine, bt as loadSimIr, c as touchstoneMetrics, et as parseRawFile, hn as loadSimConfig, j as probePython, m as Stackup, mt as probeNgspice, o as parseTouchstone, tt as plotsToCsv, vt as fromEpro2File } from "./touchstone-D4Fdg4Om.mjs";
4
4
  import path from "node:path";
5
5
  import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
6
6
  // src/sim/cli.ts
@@ -0,0 +1 @@
1
+ export { n as runEpro2Command } from "./cli-CZmNLW3Q.mjs";
@@ -0,0 +1 @@
1
+ export { t as runSimCommand } from "./cli-C8-HjAP0.mjs";
@@ -1,5 +1,5 @@
1
1
  import { a as parseArgs, n as boolValue, o as stringValue, r as formatOptions, t as CliUsageError } from "./cliArgs-BI3bJgCZ.mjs";
2
- import { c as runSingle, lt as ProjectError, o as inspectProject, s as runDiff, t as analyzeSummary } from "./analyze-DBkWgG82.mjs";
2
+ import { c as runSingle, lt as ProjectError, o as inspectProject, s as runDiff, t as analyzeSummary } from "./analyze-TRlZx-Jv.mjs";
3
3
  // src/epro2/cli.ts
4
4
  const ANALYZE_OPTIONS = [
5
5
  {
@@ -1,7 +1,9 @@
1
1
  import { a as parseArgs, i as numberValue, n as boolValue, o as stringValue, r as formatOptions, t as CliUsageError } from "./cliArgs-BI3bJgCZ.mjs";
2
- import { _ as asCdpError, a as defaultPortFromEnv, b as hr, d as profileLabel, f as requireLoopbackHost, g as CdpError, h as versionWebSocketUrl, m as versionBrowser, o as discover, p as resolveEndpoint, r as attributionOf, s as endpointUrl, u as parsePortRange, x as paint } from "./discover-D4ouuCrn.mjs";
3
- import { a as cdpInputActionSchema, c as listDocuments, i as screenshotToFile, l as openDocument, n as firstSideEffectPattern, o as sendCdpInput, p as pickPage, r as hasSideEffects, s as activeDocument, u as Board } from "./sideEffects-D33hMchc.mjs";
4
- import { a as CdpSession, f as redact, i as listTargets, l as evaluateInContext, n as flattenFrameTree, o as EvalUsageError, r as formatFrameTree, t as fetchFrameTree, u as planEval } from "./targets-DYfgkrq3.mjs";
2
+ import { n as paint, t as hr } from "./term-DlGIoccA.mjs";
3
+ import { a as cdpInputActionSchema, c as listDocuments, i as screenshotToFile, l as openDocument, n as firstSideEffectPattern, o as sendCdpInput, p as pickPage, r as hasSideEffects, s as activeDocument, u as Board } from "./sideEffects-DF_tIVsf.mjs";
4
+ import { _ as asCdpError, a as defaultPortFromEnv, d as profileLabel, f as requireLoopbackHost, g as CdpError, h as versionWebSocketUrl, m as versionBrowser, o as discover, p as resolveEndpoint, r as attributionOf, s as endpointUrl, u as parsePortRange } from "./discover-D5mRrsxg.mjs";
5
+ import { a as evaluateInContext, l as redact, n as EvalUsageError, o as planEval, t as CdpSession } from "./session-DvIXO5Hf.mjs";
6
+ import { i as listTargets, n as flattenFrameTree, r as formatFrameTree, t as fetchFrameTree } from "./targets-D5nmbsyz.mjs";
5
7
  // src/cdp/cli.ts
6
8
  /**
7
9
  * `lceda-connect cdp-client <动作>` 的实现(源仓库 lceda_cdp.py 的 CLI 部分)。
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as main } from "./main-CzMqMptH.mjs";
2
+ import { t as main } from "./main-CcKvXSJG.mjs";
3
3
  // src/cli-bridge.ts
4
4
  process.exitCode = await main({
5
5
  argv: process.argv.slice(2),
package/dist/cli-cdp.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as main } from "./main-CzMqMptH.mjs";
2
+ import { t as main } from "./main-CcKvXSJG.mjs";
3
3
  // src/cli-cdp.ts
4
4
  process.exitCode = await main({
5
5
  argv: process.argv.slice(2),
package/dist/cli-mcp.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as main } from "./main-CzMqMptH.mjs";
2
+ import { t as main } from "./main-CcKvXSJG.mjs";
3
3
  // src/cli-mcp.ts
4
4
  process.exitCode = await main({ argv: ["mcp", ...process.argv.slice(2)] });
5
5
  export {};
package/dist/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as main } from "./main-CzMqMptH.mjs";
2
+ import { t as main } from "./main-CcKvXSJG.mjs";
3
3
  // src/cli.ts
4
4
  process.exitCode = await main({ argv: process.argv.slice(2) });
5
5
  export {};
@@ -62,32 +62,6 @@ function loadConfig(env = process.env, overrides = {}) {
62
62
  }
63
63
  };
64
64
  }
65
- // src/core/term.ts
66
- /** 极简 ANSI 着色:非 TTY / NO_COLOR / --json 场景自动降级为纯文本。 */
67
- const COLOR_ENABLED = (() => {
68
- const env = process.env;
69
- if (env.NO_COLOR !== void 0 && env.NO_COLOR !== "") return false;
70
- if (env.FORCE_COLOR !== void 0 && env.FORCE_COLOR !== "0") return true;
71
- return Boolean(process.stdout.isTTY);
72
- })();
73
- function painter(open, close) {
74
- return (text) => COLOR_ENABLED ? `\u001B[${open}m${text}\u001B[${close}m` : text;
75
- }
76
- const paint = {
77
- cyan: painter(36, 39),
78
- green: painter(32, 39),
79
- yellow: painter(33, 39),
80
- red: painter(31, 39),
81
- gray: painter(90, 39),
82
- white: painter(97, 39),
83
- darkRed: painter(31, 39),
84
- bold: painter(1, 22),
85
- dim: painter(2, 22)
86
- };
87
- /** 中文对齐时 `-` 分隔线(按显示宽度无关的固定长度即可)。 */
88
- function hr(width = 58) {
89
- return "-".repeat(width);
90
- }
91
65
  // src/cdp/errors.ts
92
66
  /**
93
67
  * CDP 客户端的领域错误。
@@ -368,4 +342,4 @@ function parsePortRange(text) {
368
342
  if (low <= 0 || low > 65535 || high < low || high > 65535) return null;
369
343
  return [low, high];
370
344
  }
371
- export { DEFAULT_PRO_EXE as C, DEFAULT_CDP_PORT$1 as S, loadConfig as T, asCdpError as _, defaultPortFromEnv as a, hr as b, fetchJson as c, profileLabel as d, requireLoopbackHost as f, CdpError as g, versionWebSocketUrl as h, browserUuid as i, parseBrowserUuidLine as l, versionBrowser as m, DEFAULT_CDP_PORT as n, discover as o, resolveEndpoint as p, attributionOf as r, endpointUrl as s, DEFAULT_CDP_HOST as t, parsePortRange as u, clipText as v, homeDir as w, paint as x, coerceText as y };
345
+ export { loadConfig as C, homeDir as S, asCdpError as _, defaultPortFromEnv as a, DEFAULT_CDP_PORT$1 as b, fetchJson as c, profileLabel as d, requireLoopbackHost as f, CdpError as g, versionWebSocketUrl as h, browserUuid as i, parseBrowserUuidLine as l, versionBrowser as m, DEFAULT_CDP_PORT as n, discover as o, resolveEndpoint as p, attributionOf as r, endpointUrl as s, DEFAULT_CDP_HOST as t, parsePortRange as u, clipText as v, DEFAULT_PRO_EXE as x, coerceText as y };
package/dist/index.mjs CHANGED
@@ -1,17 +1,18 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-D8jQpDG7.mjs";
2
- import { C as DEFAULT_PRO_EXE, S as DEFAULT_CDP_PORT, T as loadConfig } from "./discover-D4ouuCrn.mjs";
3
- import { n as runCdpAction, r as runBridgeAction, t as main } from "./main-CzMqMptH.mjs";
2
+ import { C as loadConfig, b as DEFAULT_CDP_PORT, x as DEFAULT_PRO_EXE } from "./discover-D5mRrsxg.mjs";
3
+ import { n as runCdpAction, r as runBridgeAction, t as main } from "./main-CcKvXSJG.mjs";
4
4
  import { t as packageVersion } from "./version-B39-elun.mjs";
5
- import { $ as docsOf, A as buildGeometry, B as buildDevices, C as compare, D as summarize, E as stripVolatile, F as padNetKey, G as num, H as buildSymbols, I as padNetMap, J as transformPin, K as placementOf, L as pcbDocs, M as componentMeta, N as formatNetlistCsv, O as MIL_TO_MM, P as naturalKey, Q as docTitle, R as polyPoints, S as VOLATILE_KEYS, T as diffRecords, U as componentType, V as buildFootprints, W as deviceUuidOf, X as attrMap, Y as valueLike, Z as docElements, _ as pointKey, _t as decodeMemberName, a as findFloating, at as pythonJson, b as renderReport, c as runSingle, ct as Project, d as writeText, dt as ZipError, et as flatMap, f as TOL, ft as crc32, g as pinKey, gt as cp437TextToBytes, h as pageToIr, ht as readZip, i as duplicateDesignators, it as parseRecords, j as buildNetlist, k as asId, l as slug, lt as ProjectError, m as onSegment, mt as looksLikeZip, n as checkConsistency, nt as makeRecordKey, o as inspectProject, ot as splitRecordKey, p as buildNets, pt as extractEntry, q as text, r as collect, rt as normId, s as runDiff, st as scalarText, t as analyzeSummary, tt as isPlainRecord, u as writeJson, ut as openProject, v as splitPinKey, w as diffNetlist, x as NOISE_TYPES, y as validate, z as rotate } from "./analyze-DBkWgG82.mjs";
6
- import { n as runEpro2Command, t as epro2Help } from "./cli-DphIx1EQ.mjs";
7
- import { C as epro2Tools, D as reportTool, E as pcbNetlistTool, O as schematicNetsTool, S as diffTool, T as pcbGeometryTool, _ as eprj3NetlistTool, a as metricsTool, b as eprj3ValidateTool, c as runTool, d as stackupTool, f as touchstoneTool, g as eprj3InspectTool, h as eprj3GatesTool, l as sidecarTool, m as eprj3EditTool, o as netlistTool, p as eprj3BuildTool, s as probeTool, t as allTools, u as simTools, v as eprj3ReadRecordsTool, w as inspectTool, x as crosscheckTool, y as eprj3Tools } from "./registry-DaqVJuvF.mjs";
5
+ import { $ as docsOf, A as buildGeometry, B as buildDevices, C as compare, D as summarize, E as stripVolatile, F as padNetKey, G as num, H as buildSymbols, I as padNetMap, J as transformPin, K as placementOf, L as pcbDocs, M as componentMeta, N as formatNetlistCsv, O as MIL_TO_MM, P as naturalKey, Q as docTitle, R as polyPoints, S as VOLATILE_KEYS, T as diffRecords, U as componentType, V as buildFootprints, W as deviceUuidOf, X as attrMap, Y as valueLike, Z as docElements, _ as pointKey, a as findFloating, at as pythonJson, b as renderReport, c as runSingle, ct as Project, d as writeText, et as flatMap, f as TOL, g as pinKey, h as pageToIr, i as duplicateDesignators, it as parseRecords, j as buildNetlist, k as asId, l as slug, lt as ProjectError, m as onSegment, n as checkConsistency, nt as makeRecordKey, o as inspectProject, ot as splitRecordKey, p as buildNets, q as text, r as collect, rt as normId, s as runDiff, st as scalarText, t as analyzeSummary, tt as isPlainRecord, u as writeJson, ut as openProject, v as splitPinKey, w as diffNetlist, x as NOISE_TYPES, y as validate, z as rotate } from "./analyze-TRlZx-Jv.mjs";
6
+ import { n as runEpro2Command, t as epro2Help } from "./cli-CZmNLW3Q.mjs";
7
+ import { a as readZip, i as looksLikeZip, n as crc32, o as cp437TextToBytes, r as extractEntry, s as decodeMemberName, t as ZipError } from "./zip-CAd_yYte.mjs";
8
+ import { C as epro2Tools, D as reportTool, E as pcbNetlistTool, O as schematicNetsTool, S as diffTool, T as pcbGeometryTool, _ as eprj3NetlistTool, a as metricsTool, b as eprj3ValidateTool, c as runTool, d as stackupTool, f as touchstoneTool, g as eprj3InspectTool, h as eprj3GatesTool, l as sidecarTool, m as eprj3EditTool, o as netlistTool, p as eprj3BuildTool, s as probeTool, t as allTools, u as simTools, v as eprj3ReadRecordsTool, w as inspectTool, x as crosscheckTool, y as eprj3Tools } from "./registry-Dmti2u6s.mjs";
8
9
  import { n as runEprj3Command, t as eprj3HelpLines } from "./cli-ZuAl89m5.mjs";
9
10
  import { $ as stripBom, A as findIndexFile, B as formatRecord, C as round, D as documentFiles, E as describeDocumentFile, F as resolveProjectPath, G as readDocumentFile, H as metaOf, I as schematicDir, J as readTextBomSafe, K as readLines, L as sheetFile, M as loadEprj3Project, N as panelFile, O as ecfgFile, P as pcbFile, Q as splitDocumentLines, R as clientIdFrom, S as rotate$1, T as Eprj3ProjectError, U as normalizeRecordId, V as isDocHeadLine, W as parseRecord, X as reduceKey, Y as reduceDocSection, Z as reduceRecords, _ as parseSymbolEntry, a as EPRJ3_SCRIPTS, b as pointSegDist, c as eprj3ScriptsDir, d as isEprj3ScriptName, f as listEprj3Scripts, g as netlistProject, h as netKey, i as EPRJ3_GATE_NAMES, j as inspectEprj3Project, k as evarFile, l as eprj3SidecarDir, m as runEprj3Script, n as EPRJ3_EDIT_OPS, o as EPRJ3_SIDECAR_TIMEOUT_MS, p as resolveEprj3ScriptPath, q as readRecords, r as EPRJ3_GATES, s as eprj3GateArgs, t as validateEprj3Project, u as isEprj3EditOp, v as pcbNetlist, w as sheetNetlist, x as readSheet, y as pinTip, z as docTypeNumber } from "./validate-COx5r3o4.mjs";
10
11
  import { _ as loadSchema, a as validateOuter, b as applyRelaxations, c as validateSchema, d as hasSchema, f as isKnownDocType, g as loadRegistry, h as loadOuterSchema, i as validateLine, l as clearFormatCaches, m as knownDocTypes, n as parseRecordLine, o as describeValue, p as isRegisteredPair, r as validateFormat, s as typeOfValue, t as RecordParseError, u as formatAssetsRoot, v as resolveSchemaKey, x as relaxationRules, y as schemaRelativePath } from "./record-CHXWiMWA.mjs";
11
12
  import { a as getPrimitive, i as getFormatLog, n as getDocument, o as listTypes, r as getExample, s as schemaAssetPath, t as formatAssetsPresent } from "./knowledge-CX8Hrnoe.mjs";
12
- import { n as simHelp, t as runSimCommand } from "./cli-BegYbK44.mjs";
13
- import { $ as parseRawBuffer, $t as ROLE_VOCAB, A as listSimSidecarScripts, At as generateNetlist, B as fidelityLines, Bt as fmt, C as stackupSummaryLines, Cn as SimError, Ct as pinNetTableOf, D as viaParasitics, Dt as NetlistBuilder, E as traceSummaryLine, Et as validateIr, F as simSidecarDir, Ft as ParasiticError, G as DECK_DEFAULT_ARGS, Gt as resistor, H as manifestSummaryLines, Ht as formatSignificant, I as readNetlistFile, It as capacitor, J as cleanNetlist, Jt as transmissionLine, K as DeckError, Kt as seriesChain, L as runSimulation, Lt as capacitorModel, M as pythonCandidates, Mt as parseVoltage, N as resolveSimSidecarScript, Nt as sanitizeDes, O as viaSummaryLine, Ot as buildPinNetTable, P as runSimSidecar, Pt as NetCtx, Q as parseRawBinary, Qt as ModelResolver, R as LEVEL_NAMES, Rt as connectorModel, S as stackupFileExists, Sn as spiceNode, St as normalizeIr, T as traceParams, Tt as saveSimIr, U as ngspiceVersion, Ut as inductor, V as fileHash, Vt as fmtTime, W as writeManifest, Wt as parseEng, X as RawParseError, Xt as waveformText, Y as hasControlBlock, Yt as viaModel, Z as parseRawAscii, Zt as MappingError, _ as VIA_FIDELITY, _n as resolvePath, _t as cleanValue, a as loadTouchstoneOrNone, an as GroundMapError, at as metricSummaryLine, b as estimateVias, bn as simSkillDocsDir, bt as loadSimIr, c as touchstoneMetrics, cn as Namer, ct as NgspiceError, d as DEFAULT_ANTIPAD_CLEARANCE_MM, dn as deepMerge, dt as ngspiceCandidates, en as parseModelNames, et as parseRawFile, f as ExtractError, fn as displayNode, ft as ngspiceExists, g as TRACE_FIDELITY, gn as quotePath, gt as runNgspiceBatch, h as StackupError, hn as loadSimConfig, ht as resolveExecutable, i as impedance1Port, in as GroundMap, it as findVar, j as probePython, jt as loadModelLibrary, k as SIDECAR_TIMEOUT_MS, kt as designatorPrefix, l as COPPER_RESISTIVITY, ln as SKILL_VERSION, lt as findNgspiceSync, m as Stackup, mn as loadJsonFile, mt as probeNgspice, n as TouchstoneError, nn as provenanceText, nt as MetricError, o as parseTouchstone, on as isGroundLike, ot as NGSPICE_PROBE_TIMEOUT_MS, p as PLATING_THICKNESS_MM, pn as isVirtual, pt as parseNgspiceVersion, q as buildDeck, qt as tdFromLength, r as dbOf, rn as DEFAULT_ZERO_NETS, rt as computeMetrics, s as touchstoneLoss, sn as DEFAULTS, st as NGSPICE_RUN_TIMEOUT_MS, t as Touchstone, tn as parseSubcktPins, tt as plotsToCsv, u as C_PS_PER_MM, un as VIRTUAL_PREFIXES, ut as getNgspiceVersion, v as estimateGeometryTrace, vn as simModelsDir, vt as fromEpro2File, w as striplineZ0, wn as asText, wt as roundCoord, x as microstripZ0, xn as spiceIdent, xt as newSimIr, y as estimateNetTrace, yn as simScriptsDir, yt as fromSchematicIr, z as buildManifest, zt as ferriteModel } from "./touchstone-DOhfmSNh.mjs";
14
- import { i as serveStdio, n as createServer } from "./server-qYlcXfzp.mjs";
13
+ import { n as simHelp, t as runSimCommand } from "./cli-C8-HjAP0.mjs";
14
+ import { $ as parseRawBuffer, $t as ROLE_VOCAB, A as listSimSidecarScripts, At as generateNetlist, B as fidelityLines, Bt as fmt, C as stackupSummaryLines, Cn as SimError, Ct as pinNetTableOf, D as viaParasitics, Dt as NetlistBuilder, E as traceSummaryLine, Et as validateIr, F as simSidecarDir, Ft as ParasiticError, G as DECK_DEFAULT_ARGS, Gt as resistor, H as manifestSummaryLines, Ht as formatSignificant, I as readNetlistFile, It as capacitor, J as cleanNetlist, Jt as transmissionLine, K as DeckError, Kt as seriesChain, L as runSimulation, Lt as capacitorModel, M as pythonCandidates, Mt as parseVoltage, N as resolveSimSidecarScript, Nt as sanitizeDes, O as viaSummaryLine, Ot as buildPinNetTable, P as runSimSidecar, Pt as NetCtx, Q as parseRawBinary, Qt as ModelResolver, R as LEVEL_NAMES, Rt as connectorModel, S as stackupFileExists, Sn as spiceNode, St as normalizeIr, T as traceParams, Tt as saveSimIr, U as ngspiceVersion, Ut as inductor, V as fileHash, Vt as fmtTime, W as writeManifest, Wt as parseEng, X as RawParseError, Xt as waveformText, Y as hasControlBlock, Yt as viaModel, Z as parseRawAscii, Zt as MappingError, _ as VIA_FIDELITY, _n as resolvePath, _t as cleanValue, a as loadTouchstoneOrNone, an as GroundMapError, at as metricSummaryLine, b as estimateVias, bn as simSkillDocsDir, bt as loadSimIr, c as touchstoneMetrics, cn as Namer, ct as NgspiceError, d as DEFAULT_ANTIPAD_CLEARANCE_MM, dn as deepMerge, dt as ngspiceCandidates, en as parseModelNames, et as parseRawFile, f as ExtractError, fn as displayNode, ft as ngspiceExists, g as TRACE_FIDELITY, gn as quotePath, gt as runNgspiceBatch, h as StackupError, hn as loadSimConfig, ht as resolveExecutable, i as impedance1Port, in as GroundMap, it as findVar, j as probePython, jt as loadModelLibrary, k as SIDECAR_TIMEOUT_MS, kt as designatorPrefix, l as COPPER_RESISTIVITY, ln as SKILL_VERSION, lt as findNgspiceSync, m as Stackup, mn as loadJsonFile, mt as probeNgspice, n as TouchstoneError, nn as provenanceText, nt as MetricError, o as parseTouchstone, on as isGroundLike, ot as NGSPICE_PROBE_TIMEOUT_MS, p as PLATING_THICKNESS_MM, pn as isVirtual, pt as parseNgspiceVersion, q as buildDeck, qt as tdFromLength, r as dbOf, rn as DEFAULT_ZERO_NETS, rt as computeMetrics, s as touchstoneLoss, sn as DEFAULTS, st as NGSPICE_RUN_TIMEOUT_MS, t as Touchstone, tn as parseSubcktPins, tt as plotsToCsv, u as C_PS_PER_MM, un as VIRTUAL_PREFIXES, ut as getNgspiceVersion, v as estimateGeometryTrace, vn as simModelsDir, vt as fromEpro2File, w as striplineZ0, wn as asText, wt as roundCoord, x as microstripZ0, xn as spiceIdent, xt as newSimIr, y as estimateNetTrace, yn as simScriptsDir, yt as fromSchematicIr, z as buildManifest, zt as ferriteModel } from "./touchstone-D4Fdg4Om.mjs";
15
+ import { i as serveStdio, n as createServer } from "./server-BduSjwzu.mjs";
15
16
  import { n as defineTool, t as ToolError } from "./types-D5d7ZRYF.mjs";
16
17
  // src/epro2/index.ts
17
18
  var epro2_exports = /* @__PURE__ */ __exportAll({
@@ -1,5 +1,6 @@
1
1
  import { a as parseArgs, i as numberValue, n as boolValue, o as stringValue, r as formatOptions, t as CliUsageError } from "./cliArgs-BI3bJgCZ.mjs";
2
- import { T as loadConfig, b as hr, l as parseBrowserUuidLine, w as homeDir, x as paint } from "./discover-D4ouuCrn.mjs";
2
+ import { C as loadConfig, S as homeDir, l as parseBrowserUuidLine } from "./discover-D5mRrsxg.mjs";
3
+ import { n as paint, t as hr } from "./term-DlGIoccA.mjs";
3
4
  import { t as packageVersion } from "./version-B39-elun.mjs";
4
5
  import { a as packageRoot } from "./assets-D48xh-kr.mjs";
5
6
  import { t as run } from "./exec-FuC8m-_m.mjs";
@@ -2174,6 +2175,11 @@ function bridgeHelp() {
2174
2175
  * 启动时把所有领域模块都读进来。
2175
2176
  */
2176
2177
  const DOMAIN_GROUPS = [
2178
+ {
2179
+ name: "extension",
2180
+ summary: "预检 .eext;在隔离的可见客户端安装、卸载扩展(实验性,仅 CLI)",
2181
+ load: async () => (await import("./cli-C4ZkWlV2.mjs")).runExtensionCommand
2182
+ },
2177
2183
  {
2178
2184
  name: "api",
2179
2185
  summary: "离线检索 EasyEDA Pro 扩展 API 文档(search / get)",
@@ -2182,7 +2188,7 @@ const DOMAIN_GROUPS = [
2182
2188
  {
2183
2189
  name: "epro2",
2184
2190
  summary: "离线解析 .epro2 工程:网表、PCB 几何、一致性报告、版本对比",
2185
- load: async () => (await import("./cli-BzrDKC7x.mjs")).runEpro2Command
2191
+ load: async () => (await import("./cli-CHbcaMwS.mjs")).runEpro2Command
2186
2192
  },
2187
2193
  {
2188
2194
  name: "eprj3",
@@ -2197,12 +2203,12 @@ const DOMAIN_GROUPS = [
2197
2203
  {
2198
2204
  name: "eda",
2199
2205
  summary: "编辑器动词:双通道自检、读板、DRC、板指纹、自动布线、动词台账检索",
2200
- load: async () => (await import("./cli-BekOvZjB.mjs")).runEdaCommand
2206
+ load: async () => (await import("./cli-C6saKrQp.mjs")).runEdaCommand
2201
2207
  },
2202
2208
  {
2203
2209
  name: "sim",
2204
2210
  summary: "ngspice 仿真:网表生成、运行、raw 解析、指标、叠层与 Touchstone",
2205
- load: async () => (await import("./cli-BqILMvnF.mjs")).runSimCommand
2211
+ load: async () => (await import("./cli-CZEoeuFW.mjs")).runSimCommand
2206
2212
  }
2207
2213
  ];
2208
2214
  /** cdp 命令组里由 CDP 客户端(src/cdp)处理的动作,其余仍归启动器。 */
@@ -2272,7 +2278,7 @@ async function runMcpGroup(argv, io, env) {
2272
2278
  }
2273
2279
  const selected = toolsets ?? env.LCEDA_TOOLSETS;
2274
2280
  if (action === "tools") {
2275
- const { toolsForEnv } = await import("./registry-5K1G1XmC.mjs");
2281
+ const { toolsForEnv } = await import("./registry-zIKWeXV6.mjs");
2276
2282
  try {
2277
2283
  for (const tool of toolsForEnv(env, selected)) io.out(`${paint.cyan(tool.name.padEnd(28))} ${tool.description.split("。")[0] ?? ""}`);
2278
2284
  return 0;
@@ -2282,7 +2288,7 @@ async function runMcpGroup(argv, io, env) {
2282
2288
  }
2283
2289
  }
2284
2290
  if (action === "serve") {
2285
- const { serveStdio } = await import("./server-DNMAlzZJ.mjs");
2291
+ const { serveStdio } = await import("./server-Chka6eAQ.mjs");
2286
2292
  try {
2287
2293
  await serveStdio(env, selected);
2288
2294
  return 0;
@@ -2333,7 +2339,7 @@ async function main(options) {
2333
2339
  }
2334
2340
  const clientAction = tail[0]?.trim().toLowerCase() ?? "";
2335
2341
  if (group === "cdp" && CDP_CLIENT_ACTIONS.includes(clientAction)) {
2336
- const { runCdpClientCommand } = await import("./cli-B3GGyoP_.mjs");
2342
+ const { runCdpClientCommand } = await import("./cli-CjcJVM6z.mjs");
2337
2343
  return await runCdpClientCommand(tail, io, env);
2338
2344
  }
2339
2345
  if (group === "bridge" && BRIDGE_CLIENT_ACTIONS.includes(clientAction)) {
@@ -3,17 +3,18 @@ import { a as search, i as getFormatDoc, n as apiDocsAvailable, r as getEntry }
3
3
  import { a as requireConnected, i as execute, n as bridgeErrorHint, o as selectWindow, r as discover, s as windows, t as BridgeClientError } from "./client-_LVz5Zg0.mjs";
4
4
  import { t as packageVersion } from "./version-B39-elun.mjs";
5
5
  import { c as BRIDGE_MAX_CODE_BYTES, h as BRIDGE_SERVICE_ID } from "./protocol-B4UcGrGa.mjs";
6
- import { a as cdpInputActionSchema, c as listDocuments, d as detectState, f as normalizeState, i as screenshotToFile, l as openDocument, o as sendCdpInput, s as activeDocument, t as classifyEval, u as Board } from "./sideEffects-D33hMchc.mjs";
7
- import { _ as asCdpError, h as versionWebSocketUrl, m as versionBrowser, o as discover$1, p as resolveEndpoint, r as attributionOf, s as endpointUrl, u as parsePortRange } from "./discover-D4ouuCrn.mjs";
8
- import { f as redact, i as listTargets, l as evaluateInContext, u as planEval } from "./targets-DYfgkrq3.mjs";
9
- import { a as routeNets, c as EdaVerbError, d as capabilitySummary, f as lookupCapability, i as readBoardState, l as createDefaultExecContext, n as docInfo, o as routeNetsPreview, r as evalApi, s as runDrc, t as boardDigestState, u as checkEnvironment } from "./verbs-CD4ZM9Es.mjs";
10
- import { C as compare, Ct as safeWriteText, D as summarize, St as safeWriteJson, c as runSingle, lt as ProjectError, n as checkConsistency, o as inspectProject, r as collect, s as runDiff, t as analyzeSummary, yt as ensureSafeOutputDir } from "./analyze-DBkWgG82.mjs";
6
+ import { a as cdpInputActionSchema, c as listDocuments, d as detectState, f as normalizeState, i as screenshotToFile, l as openDocument, o as sendCdpInput, s as activeDocument, t as classifyEval, u as Board } from "./sideEffects-DF_tIVsf.mjs";
7
+ import { _ as asCdpError, h as versionWebSocketUrl, m as versionBrowser, o as discover$1, p as resolveEndpoint, r as attributionOf, s as endpointUrl, u as parsePortRange } from "./discover-D5mRrsxg.mjs";
8
+ import { a as evaluateInContext, l as redact, o as planEval } from "./session-DvIXO5Hf.mjs";
9
+ import { i as listTargets } from "./targets-D5nmbsyz.mjs";
10
+ import { a as routeNets, c as EdaVerbError, d as capabilitySummary, f as lookupCapability, i as readBoardState, l as createDefaultExecContext, n as docInfo, o as routeNetsPreview, r as evalApi, s as runDrc, t as boardDigestState, u as checkEnvironment } from "./verbs-5M7rj1-E.mjs";
11
+ import { C as compare, D as summarize, c as runSingle, ft as ensureSafeOutputDir, gt as safeWriteText, ht as safeWriteJson, lt as ProjectError, n as checkConsistency, o as inspectProject, r as collect, s as runDiff, t as analyzeSummary } from "./analyze-TRlZx-Jv.mjs";
11
12
  import { D as documentFiles, F as resolveProjectPath, G as readDocumentFile, M as loadEprj3Project, Y as reduceDocSection, g as netlistProject, i as EPRJ3_GATE_NAMES, j as inspectEprj3Project, m as runEprj3Script, n as EPRJ3_EDIT_OPS, r as EPRJ3_GATES, s as eprj3GateArgs, t as validateEprj3Project, u as isEprj3EditOp } from "./validate-COx5r3o4.mjs";
12
13
  import { a as getPrimitive, i as getFormatLog, o as listTypes, r as getExample } from "./knowledge-CX8Hrnoe.mjs";
13
14
  import { i as validateLine, r as validateFormat } from "./record-CHXWiMWA.mjs";
14
- import { A as listSimSidecarScripts, At as generateNetlist, Cn as SimError, D as viaParasitics, Et as validateIr, F as simSidecarDir, I as readNetlistFile, L as runSimulation, Ot as buildPinNetTable, P as runSimSidecar, T as traceParams, bt as loadSimIr, c as touchstoneMetrics, et as parseRawFile, hn as loadSimConfig, j as probePython, m as Stackup, mt as probeNgspice, o as parseTouchstone, rt as computeMetrics, tt as plotsToCsv, vt as fromEpro2File } from "./touchstone-DOhfmSNh.mjs";
15
+ import { A as listSimSidecarScripts, At as generateNetlist, Cn as SimError, D as viaParasitics, Et as validateIr, F as simSidecarDir, I as readNetlistFile, L as runSimulation, Ot as buildPinNetTable, P as runSimSidecar, T as traceParams, bt as loadSimIr, c as touchstoneMetrics, et as parseRawFile, hn as loadSimConfig, j as probePython, m as Stackup, mt as probeNgspice, o as parseTouchstone, rt as computeMetrics, tt as plotsToCsv, vt as fromEpro2File } from "./touchstone-D4Fdg4Om.mjs";
15
16
  import { i as listAssetFiles, r as assetsDir, s as readAssetText, t as assetExists } from "./assets-D48xh-kr.mjs";
16
- import "./main-CzMqMptH.mjs";
17
+ import "./main-CcKvXSJG.mjs";
17
18
  import path from "node:path";
18
19
  import { existsSync, readFileSync } from "node:fs";
19
20
  import { z } from "zod";
@@ -0,0 +1 @@
1
+ export { r as toolsForEnv } from "./registry-Dmti2u6s.mjs";
@@ -1,9 +1,9 @@
1
1
  import { i as listAssetFiles, s as readAssetText } from "./assets-D48xh-kr.mjs";
2
- import { T as loadConfig } from "./discover-D4ouuCrn.mjs";
3
- import { bt as resolveMcpWritePath } from "./analyze-DBkWgG82.mjs";
2
+ import { C as loadConfig } from "./discover-D5mRrsxg.mjs";
3
+ import { pt as resolveMcpWritePath } from "./analyze-TRlZx-Jv.mjs";
4
4
  import { t as packageVersion } from "./version-B39-elun.mjs";
5
- import "./main-CzMqMptH.mjs";
6
- import { i as toolsetsForTools, r as toolsForEnv } from "./registry-DaqVJuvF.mjs";
5
+ import "./main-CcKvXSJG.mjs";
6
+ import { i as toolsetsForTools, r as toolsForEnv } from "./registry-Dmti2u6s.mjs";
7
7
  import { r as normalizeToolContext, t as ToolError } from "./types-D5d7ZRYF.mjs";
8
8
  import os from "node:os";
9
9
  import path from "node:path";
@@ -0,0 +1 @@
1
+ export { i as serveStdio } from "./server-BduSjwzu.mjs";
@@ -1,4 +1,4 @@
1
- import { c as fetchJson, f as requireLoopbackHost, g as CdpError, n as DEFAULT_CDP_PORT, v as clipText, y as coerceText } from "./discover-D4ouuCrn.mjs";
1
+ import { f as requireLoopbackHost, g as CdpError, n as DEFAULT_CDP_PORT, v as clipText, y as coerceText } from "./discover-D5mRrsxg.mjs";
2
2
  import { t as ToolError } from "./types-D5d7ZRYF.mjs";
3
3
  import { createHash, randomBytes } from "node:crypto";
4
4
  import net from "node:net";
@@ -741,38 +741,4 @@ function parseResponse(raw) {
741
741
  if (parsed === null || typeof parsed !== "object" || Array.isArray(parsed)) throw new CdpError("CDP_PROTOCOL", "CDP 返回的 JSON 不是对象");
742
742
  return parsed;
743
743
  }
744
- // src/cdp/targets.ts
745
- /** `GET /json/list`;拿不到或返回不是数组时返回空列表(与源仓库一致)。 */
746
- async function listTargets(host, port, timeoutMs, signal) {
747
- const payload = await fetchJson(host, port, "/json/list", timeoutMs, signal);
748
- if (!Array.isArray(payload)) return [];
749
- return payload.filter((item) => item !== null && typeof item === "object" && !Array.isArray(item));
750
- }
751
- /** 打开 Page 域并取当前页面的 frame 树。 */
752
- async function fetchFrameTree(session) {
753
- await session.call("Page.enable");
754
- return (await session.call("Page.getFrameTree")).frameTree ?? null;
755
- }
756
- /** 深度优先压平 frame 树;name 缺失时用 `(main)` 占位(源仓库口径)。 */
757
- function flattenFrameTree(tree, depth = 0) {
758
- if (!tree) return [];
759
- const frame = tree.frame ?? {};
760
- const rows = [{
761
- depth,
762
- name: typeof frame.name === "string" && frame.name !== "" ? frame.name : "(main)",
763
- url: typeof frame.url === "string" && frame.url !== "" ? frame.url : "about:blank"
764
- }];
765
- for (const child of tree.childFrames ?? []) rows.push(...flattenFrameTree(child, depth + 1));
766
- return rows;
767
- }
768
- /** 每行 frame 输出两行文本:`- name` 与缩进后的 url(与源仓库 `frames` 同形)。 */
769
- function formatFrameTree(rows) {
770
- const lines = [];
771
- for (const row of rows) {
772
- const indent = " ".repeat(row.depth);
773
- lines.push(`${indent}- ${row.name}`);
774
- lines.push(`${indent} ${row.url}`);
775
- }
776
- return lines;
777
- }
778
- export { CdpSession as a, evaluateExpression as c, UI_SHELL_MARKERS as d, redact as f, listTargets as i, evaluateInContext as l, flattenFrameTree as n, EvalUsageError as o, formatFrameTree as r, apiExpression as s, fetchFrameTree as t, planEval as u };
744
+ export { evaluateInContext as a, probeUiShell as c, evaluateExpression as i, redact as l, EvalUsageError as n, planEval as o, apiExpression as r, UI_SHELL_MARKERS as s, CdpSession as t };
@@ -1,6 +1,7 @@
1
- import { g as CdpError, p as resolveEndpoint, t as DEFAULT_CDP_HOST, v as clipText, y as coerceText } from "./discover-D4ouuCrn.mjs";
1
+ import { g as CdpError, p as resolveEndpoint, t as DEFAULT_CDP_HOST, v as clipText, y as coerceText } from "./discover-D5mRrsxg.mjs";
2
2
  import { t as ToolError } from "./types-D5d7ZRYF.mjs";
3
- import { a as CdpSession, c as evaluateExpression, d as UI_SHELL_MARKERS, i as listTargets, s as apiExpression } from "./targets-DYfgkrq3.mjs";
3
+ import { i as evaluateExpression, r as apiExpression, s as UI_SHELL_MARKERS, t as CdpSession } from "./session-DvIXO5Hf.mjs";
4
+ import { i as listTargets } from "./targets-D5nmbsyz.mjs";
4
5
  import path from "node:path";
5
6
  import fs from "node:fs";
6
7
  import { z } from "zod";
@@ -0,0 +1,36 @@
1
+ import { c as fetchJson } from "./discover-D5mRrsxg.mjs";
2
+ // src/cdp/targets.ts
3
+ /** `GET /json/list`;拿不到或返回不是数组时返回空列表(与源仓库一致)。 */
4
+ async function listTargets(host, port, timeoutMs, signal) {
5
+ const payload = await fetchJson(host, port, "/json/list", timeoutMs, signal);
6
+ if (!Array.isArray(payload)) return [];
7
+ return payload.filter((item) => item !== null && typeof item === "object" && !Array.isArray(item));
8
+ }
9
+ /** 打开 Page 域并取当前页面的 frame 树。 */
10
+ async function fetchFrameTree(session) {
11
+ await session.call("Page.enable");
12
+ return (await session.call("Page.getFrameTree")).frameTree ?? null;
13
+ }
14
+ /** 深度优先压平 frame 树;name 缺失时用 `(main)` 占位(源仓库口径)。 */
15
+ function flattenFrameTree(tree, depth = 0) {
16
+ if (!tree) return [];
17
+ const frame = tree.frame ?? {};
18
+ const rows = [{
19
+ depth,
20
+ name: typeof frame.name === "string" && frame.name !== "" ? frame.name : "(main)",
21
+ url: typeof frame.url === "string" && frame.url !== "" ? frame.url : "about:blank"
22
+ }];
23
+ for (const child of tree.childFrames ?? []) rows.push(...flattenFrameTree(child, depth + 1));
24
+ return rows;
25
+ }
26
+ /** 每行 frame 输出两行文本:`- name` 与缩进后的 url(与源仓库 `frames` 同形)。 */
27
+ function formatFrameTree(rows) {
28
+ const lines = [];
29
+ for (const row of rows) {
30
+ const indent = " ".repeat(row.depth);
31
+ lines.push(`${indent}- ${row.name}`);
32
+ lines.push(`${indent} ${row.url}`);
33
+ }
34
+ return lines;
35
+ }
36
+ export { listTargets as i, flattenFrameTree as n, formatFrameTree as r, fetchFrameTree as t };
@@ -0,0 +1,27 @@
1
+ // src/core/term.ts
2
+ /** 极简 ANSI 着色:非 TTY / NO_COLOR / --json 场景自动降级为纯文本。 */
3
+ const COLOR_ENABLED = (() => {
4
+ const env = process.env;
5
+ if (env.NO_COLOR !== void 0 && env.NO_COLOR !== "") return false;
6
+ if (env.FORCE_COLOR !== void 0 && env.FORCE_COLOR !== "0") return true;
7
+ return Boolean(process.stdout.isTTY);
8
+ })();
9
+ function painter(open, close) {
10
+ return (text) => COLOR_ENABLED ? `\u001B[${open}m${text}\u001B[${close}m` : text;
11
+ }
12
+ const paint = {
13
+ cyan: painter(36, 39),
14
+ green: painter(32, 39),
15
+ yellow: painter(33, 39),
16
+ red: painter(31, 39),
17
+ gray: painter(90, 39),
18
+ white: painter(97, 39),
19
+ darkRed: painter(31, 39),
20
+ bold: painter(1, 22),
21
+ dim: painter(2, 22)
22
+ };
23
+ /** 中文对齐时 `-` 分隔线(按显示宽度无关的固定长度即可)。 */
24
+ function hr(width = 58) {
25
+ return "-".repeat(width);
26
+ }
27
+ export { paint as n, hr as t };
@@ -1,7 +1,7 @@
1
1
  import { n as assetPath } from "./assets-D48xh-kr.mjs";
2
2
  import { t as run } from "./exec-FuC8m-_m.mjs";
3
3
  import { t as ToolError } from "./types-D5d7ZRYF.mjs";
4
- import { Ct as safeWriteText, St as safeWriteJson, r as collect, vt as assertSafeWorkDirEntries, xt as safeWriteFile, yt as ensureSafeOutputDir } from "./analyze-DBkWgG82.mjs";
4
+ import { dt as assertSafeWorkDirEntries, ft as ensureSafeOutputDir, gt as safeWriteText, ht as safeWriteJson, mt as safeWriteFile, r as collect } from "./analyze-TRlZx-Jv.mjs";
5
5
  import os from "node:os";
6
6
  import path from "node:path";
7
7
  import { existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
@@ -1,9 +1,10 @@
1
- import { _ as asCdpError, a as defaultPortFromEnv, i as browserUuid, m as versionBrowser, o as discover, p as resolveEndpoint } from "./discover-D4ouuCrn.mjs";
1
+ import { _ as asCdpError, a as defaultPortFromEnv, i as browserUuid, m as versionBrowser, o as discover, p as resolveEndpoint } from "./discover-D5mRrsxg.mjs";
2
2
  import { o as readAssetJson } from "./assets-D48xh-kr.mjs";
3
3
  import { t as packageVersion } from "./version-B39-elun.mjs";
4
4
  import "./protocol-B4UcGrGa.mjs";
5
5
  import { i as execute, r as discover$1, s as windows, t as BridgeClientError } from "./client-_LVz5Zg0.mjs";
6
- import { a as CdpSession, c as evaluateExpression, i as listTargets } from "./targets-DYfgkrq3.mjs";
6
+ import { i as evaluateExpression, t as CdpSession } from "./session-DvIXO5Hf.mjs";
7
+ import { i as listTargets } from "./targets-D5nmbsyz.mjs";
7
8
  import path from "node:path";
8
9
  import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
9
10
  import { createHash } from "node:crypto";