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.
- package/CHANGELOG.md +6 -0
- package/README.md +20 -16
- package/dist/{analyze-DBkWgG82.mjs → analyze-TRlZx-Jv.mjs} +2 -190
- package/dist/cli-C4ZkWlV2.mjs +1253 -0
- package/dist/{cli-BekOvZjB.mjs → cli-C6saKrQp.mjs} +3 -2
- package/dist/{cli-BegYbK44.mjs → cli-C8-HjAP0.mjs} +2 -2
- package/dist/cli-CHbcaMwS.mjs +1 -0
- package/dist/cli-CZEoeuFW.mjs +1 -0
- package/dist/{cli-DphIx1EQ.mjs → cli-CZmNLW3Q.mjs} +1 -1
- package/dist/{cli-B3GGyoP_.mjs → cli-CjcJVM6z.mjs} +5 -3
- package/dist/cli-bridge.mjs +1 -1
- package/dist/cli-cdp.mjs +1 -1
- package/dist/cli-mcp.mjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/{discover-D4ouuCrn.mjs → discover-D5mRrsxg.mjs} +1 -27
- package/dist/index.mjs +9 -8
- package/dist/{main-CzMqMptH.mjs → main-CcKvXSJG.mjs} +13 -7
- package/dist/{registry-DaqVJuvF.mjs → registry-Dmti2u6s.mjs} +8 -7
- package/dist/registry-zIKWeXV6.mjs +1 -0
- package/dist/{server-qYlcXfzp.mjs → server-BduSjwzu.mjs} +4 -4
- package/dist/server-Chka6eAQ.mjs +1 -0
- package/dist/{targets-DYfgkrq3.mjs → session-DvIXO5Hf.mjs} +2 -36
- package/dist/{sideEffects-D33hMchc.mjs → sideEffects-DF_tIVsf.mjs} +3 -2
- package/dist/targets-D5nmbsyz.mjs +36 -0
- package/dist/term-DlGIoccA.mjs +27 -0
- package/dist/{touchstone-DOhfmSNh.mjs → touchstone-D4Fdg4Om.mjs} +1 -1
- package/dist/{verbs-CD4ZM9Es.mjs → verbs-5M7rj1-E.mjs} +3 -2
- package/dist/zip-CAd_yYte.mjs +190 -0
- package/docs/extensions.md +207 -0
- package/package.json +2 -1
- package/dist/cli-BqILMvnF.mjs +0 -1
- package/dist/cli-BzrDKC7x.mjs +0 -1
- package/dist/registry-5K1G1XmC.mjs +0 -1
- package/dist/server-DNMAlzZJ.mjs +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
本项目较重要的变更都记在这里。格式参考 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号按 [语义化版本](https://semver.org/lang/zh-CN/) 走。
|
|
4
4
|
|
|
5
|
+
## [0.3.0] - 2026-11-25
|
|
6
|
+
|
|
7
|
+
- 新增 `extension inspect` 离线预检,以及 Windows 嘉立创 EDA 专业版 4.1.105 中文界面的实验性安装、卸载命令;写操作须 `--confirm` 与 `--isolated-profile`,拒绝 `--headless`。
|
|
8
|
+
- 已在 4.1.105 的弱隔离环境中完成安装/回读、权限关闭与开启、卸载及 N1–N8 负例演练;独立操作系统用户或虚拟机的 §4.1 验收仍未完成,保持“实验性”定位。
|
|
9
|
+
- 仓库新增 DeepSeek Harness 的 WSL 本地 MCP 集成(`integrations/dsh-local-mcp`,不随 npm 包发布)。
|
|
10
|
+
|
|
5
11
|
## [0.2.0] - 2026-11-20
|
|
6
12
|
|
|
7
13
|
- 新增实验性的 `cdp input` 和 MCP `cdp_input`,可向指定 PCB 页面派发点击、有限按键和文本。请求需显式确认并通过页面、文档与焦点检查;工具不主动将窗口切到前台,也不调用系统键鼠。已通过模拟回归,真实客户端后台输入仍待验证。
|
package/README.md
CHANGED
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
嘉立创EDA专业版(EasyEDA Pro)的 MCP 服务与命令行工具。[npm 包](https://www.npmjs.com/package/lceda-connect)提供本机 stdio 入口,可用 `npx` 启动。它由 9 个仓库合并而来(外部项目致谢见 [CREDITS.md](CREDITS.md),合并方案见 [docs/merge-plan.md](docs/merge-plan.md))。
|
|
4
4
|
|
|
5
|
-
| 命令组
|
|
6
|
-
|
|
|
7
|
-
| `cdp`
|
|
8
|
-
| `bridge`
|
|
9
|
-
| `eda`
|
|
10
|
-
| `
|
|
11
|
-
| `
|
|
12
|
-
| `
|
|
13
|
-
| `
|
|
14
|
-
| `
|
|
15
|
-
| `
|
|
5
|
+
| 命令组 | 做什么 |
|
|
6
|
+
| ----------- | --------------------------------------------------------------------------------------------------- |
|
|
7
|
+
| `cdp` | 带调试端口启动客户端并管理实例;连上后可发现端点、列页面、求值、截图、切换文档 |
|
|
8
|
+
| `bridge` | AI Bridge 服务管理(守护、自动重启、日志、自检),内置服务端;可列窗口、在编辑器里执行 `eda.*` 代码 |
|
|
9
|
+
| `eda` | 编辑器动词:双通道自检、读板、DRC、板指纹、自动布线、动词台账检索 |
|
|
10
|
+
| `extension` | [预检 `.eext`,在隔离的可见客户端安装和卸载](docs/extensions.md)(实验性,仅 CLI) |
|
|
11
|
+
| `api` | 离线检索扩展 API 文档(422 篇参考,需本地文档数据) |
|
|
12
|
+
| `format` | 文件格式类型检索、图元字段说明、记录校验、示例 |
|
|
13
|
+
| `epro2` | 离线解析 `.epro2` 工程:双侧网表、PCB 几何、一致性报告、两版对比 |
|
|
14
|
+
| `eprj3` | 读取与校验 `.eprj3` 文件夹工程、导出网表,调用建工程与门禁脚本 |
|
|
15
|
+
| `sim` | ngspice 仿真:网表生成、运行、raw 解析、指标、叠层估算、Touchstone |
|
|
16
|
+
| `mcp` | 以 stdio 运行 MCP 服务;扩展安装和卸载仅在 CLI 提供 |
|
|
16
17
|
|
|
17
18
|
## Quick Start
|
|
18
19
|
|
|
@@ -330,12 +331,14 @@ lceda-bridge start
|
|
|
330
331
|
## 开发
|
|
331
332
|
|
|
332
333
|
```bash
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
334
|
+
pnpm install --frozen-lockfile # 安装依赖
|
|
335
|
+
pnpm build # 打包(vp pack,产物在 dist/)
|
|
336
|
+
pnpm test # 单元测试
|
|
337
|
+
pnpm check # 格式化 + lint + 类型检查
|
|
337
338
|
```
|
|
338
339
|
|
|
340
|
+
开发在 WSL2(Ubuntu)下进行;Windows 侧只用于运行嘉立创 EDA 客户端和真机联调。行尾统一为 LF(见 [.gitattributes](.gitattributes))。
|
|
341
|
+
|
|
339
342
|
CI(GitHub Actions)在 Windows / Linux × Node 22、24 上跑 check、test、pack 和包体积门禁,另在 Node 20.11 上运行构建产物,并单独用一个 job 跑真实 ngspice。
|
|
340
343
|
|
|
341
344
|
目录结构:
|
|
@@ -346,12 +349,13 @@ src/
|
|
|
346
349
|
main.ts 命令组分发与帮助
|
|
347
350
|
commands/ cdp 启动器、bridge 服务管理
|
|
348
351
|
core/ 配置、进程、网络探测、日志、参数解析、assets 定位
|
|
352
|
+
extensions/ .eext 预检、扩展管理器 UI 驱动、安装/卸载编排
|
|
349
353
|
mcp/ MCP 服务、工具注册表、结果截断
|
|
350
354
|
cdp/ bridge/ eda/ 编辑器连接与动词
|
|
351
355
|
apidocs/ format/ API 文档检索、格式校验
|
|
352
356
|
epro2/ eprj3/ sim/ 工程文件解析、ngspice 仿真
|
|
353
357
|
assets/ 知识文档、Schema、API 参考与 sidecar 脚本;API 参考与 easyeda-api 技能原文默认不随 npm 包发布
|
|
354
|
-
docs/
|
|
358
|
+
docs/ 合并方案、扩展与 eprj3 文档、官方 CLI 参考
|
|
355
359
|
tests/ 单元与集成测试(vite-plus/test)
|
|
356
360
|
```
|
|
357
361
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as ToolError } from "./types-D5d7ZRYF.mjs";
|
|
2
|
+
import { a as readZip, i as looksLikeZip, r as extractEntry, s as decodeMemberName, t as ZipError } from "./zip-CAd_yYte.mjs";
|
|
2
3
|
import os from "node:os";
|
|
3
4
|
import path from "node:path";
|
|
4
5
|
import { closeSync, fsyncSync, lstatSync, mkdirSync, openSync, readFileSync, readdirSync, realpathSync, renameSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
5
6
|
import { randomUUID } from "node:crypto";
|
|
6
|
-
import { inflateRawSync } from "node:zlib";
|
|
7
7
|
// src/core/pathPolicy.ts
|
|
8
8
|
function comparePath(value) {
|
|
9
9
|
const normalized = path.normalize(value);
|
|
@@ -195,194 +195,6 @@ function safeWriteText(filePath, text) {
|
|
|
195
195
|
function safeWriteJson(filePath, value) {
|
|
196
196
|
return safeWriteText(filePath, JSON.stringify(value, null, 1));
|
|
197
197
|
}
|
|
198
|
-
// src/epro2/gbk.ts
|
|
199
|
-
/**
|
|
200
|
-
* ZIP 成员名解码。
|
|
201
|
-
*
|
|
202
|
-
* 嘉立创EDA 专业版把成员名按本机代码页(GBK)写进 ZIP,而且不设 UTF-8
|
|
203
|
-
* 标志位。Python 标准库按 cp437 解出字符串,原技能再 encode("cp437") 还原
|
|
204
|
-
* 原始字节后按 GBK 解码。这里直接拿到原始字节,省掉往返,但保留同样的
|
|
205
|
-
* 回退顺序:UTF-8 标志位 → UTF-8,否则 GBK → UTF-8 → 替换解码。
|
|
206
|
-
*/
|
|
207
|
-
/** CP437 的 0x80–0xFF 字符表。用于把 cp437 字符串还原成原始字节。 */
|
|
208
|
-
const CP437_HIGH = "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■\xA0";
|
|
209
|
-
const CP437_REVERSE = /* @__PURE__ */ new Map();
|
|
210
|
-
for (let i = 0; i < 128; i += 1) CP437_REVERSE.set(CP437_HIGH[i] ?? "", 128 + i);
|
|
211
|
-
/** Python 侧 decode_member_name 的输入形态:cp437 解码后的字符串。 */
|
|
212
|
-
function cp437TextToBytes(text) {
|
|
213
|
-
const bytes = new Uint8Array(text.length);
|
|
214
|
-
for (let i = 0; i < text.length; i += 1) {
|
|
215
|
-
const ch = text[i] ?? "";
|
|
216
|
-
const code = ch.codePointAt(0) ?? 0;
|
|
217
|
-
if (code < 128) bytes[i] = code;
|
|
218
|
-
else bytes[i] = CP437_REVERSE.get(ch) ?? 63;
|
|
219
|
-
}
|
|
220
|
-
return bytes;
|
|
221
|
-
}
|
|
222
|
-
function decodeUtf8(bytes, fatal) {
|
|
223
|
-
return new TextDecoder("utf-8", { fatal }).decode(bytes);
|
|
224
|
-
}
|
|
225
|
-
/**
|
|
226
|
-
* 解码 ZIP 成员名。
|
|
227
|
-
*
|
|
228
|
-
* @param raw 成员名原始字节,或已经按 cp437 解出的字符串。
|
|
229
|
-
* @param utf8Flag 是否设置了 ZIP 的 UTF-8 名称标志位(bit 11)。
|
|
230
|
-
*/
|
|
231
|
-
function decodeMemberName(raw, utf8Flag = false) {
|
|
232
|
-
const bytes = typeof raw === "string" ? cp437TextToBytes(raw) : raw;
|
|
233
|
-
if (utf8Flag) return decodeUtf8(bytes, false);
|
|
234
|
-
try {
|
|
235
|
-
return new TextDecoder("gbk", { fatal: true }).decode(bytes);
|
|
236
|
-
} catch {}
|
|
237
|
-
try {
|
|
238
|
-
return decodeUtf8(bytes, true);
|
|
239
|
-
} catch {
|
|
240
|
-
return decodeUtf8(bytes, false);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
// src/epro2/zip.ts
|
|
244
|
-
/**
|
|
245
|
-
* 最小 ZIP 读取器(只读、无第三方依赖)。
|
|
246
|
-
*
|
|
247
|
-
* 只需要覆盖 .epro2 用到的场景:中央目录 + 本地头 + stored/deflate。
|
|
248
|
-
* ZIP64 与加密包直接报错——这两类支持起来容易写出半对不对的代码,
|
|
249
|
-
* 不如让调用方明确知道文件没被解析。
|
|
250
|
-
*/
|
|
251
|
-
const SIG_LOCAL = 67324752;
|
|
252
|
-
const SIG_CENTRAL = 33639248;
|
|
253
|
-
const SIG_EOCD = 101010256;
|
|
254
|
-
const MAX_COMMENT = 65535;
|
|
255
|
-
const ZIP64_EXTRA_ID = 1;
|
|
256
|
-
var ZipError = class extends Error {
|
|
257
|
-
constructor(message) {
|
|
258
|
-
super(message);
|
|
259
|
-
this.name = "ZipError";
|
|
260
|
-
}
|
|
261
|
-
};
|
|
262
|
-
const CRC_TABLE = (() => {
|
|
263
|
-
const table = /* @__PURE__ */ new Uint32Array(256);
|
|
264
|
-
for (let n = 0; n < 256; n += 1) {
|
|
265
|
-
let c = n;
|
|
266
|
-
for (let k = 0; k < 8; k += 1) c = c & 1 ? 3988292384 ^ c >>> 1 : c >>> 1;
|
|
267
|
-
table[n] = c >>> 0;
|
|
268
|
-
}
|
|
269
|
-
return table;
|
|
270
|
-
})();
|
|
271
|
-
function crc32(data) {
|
|
272
|
-
let crc = 4294967295;
|
|
273
|
-
for (let i = 0; i < data.length; i += 1) crc = (CRC_TABLE[(crc ^ (data[i] ?? 0)) & 255] ?? 0) ^ crc >>> 8;
|
|
274
|
-
return (crc ^ 4294967295) >>> 0;
|
|
275
|
-
}
|
|
276
|
-
function readU16(data, offset) {
|
|
277
|
-
if (offset + 2 > data.length) throw new ZipError("ZIP 结构越界");
|
|
278
|
-
return data.readUInt16LE(offset);
|
|
279
|
-
}
|
|
280
|
-
function readU32(data, offset) {
|
|
281
|
-
if (offset + 4 > data.length) throw new ZipError("ZIP 结构越界");
|
|
282
|
-
return data.readUInt32LE(offset);
|
|
283
|
-
}
|
|
284
|
-
function findEocd(data) {
|
|
285
|
-
if (data.length < 22) throw new ZipError("ZIP 文件太短,缺少中央目录");
|
|
286
|
-
const minOffset = Math.max(0, data.length - 22 - MAX_COMMENT);
|
|
287
|
-
for (let offset = data.length - 22; offset >= minOffset; offset -= 1) {
|
|
288
|
-
if (data.readUInt32LE(offset) !== SIG_EOCD) continue;
|
|
289
|
-
const diskNumber = readU16(data, offset + 4);
|
|
290
|
-
const centralDisk = readU16(data, offset + 6);
|
|
291
|
-
const entriesThisDisk = readU16(data, offset + 8);
|
|
292
|
-
const totalEntries = readU16(data, offset + 10);
|
|
293
|
-
const centralSize = readU32(data, offset + 12);
|
|
294
|
-
const centralOffset = readU32(data, offset + 16);
|
|
295
|
-
if (diskNumber !== 0 || centralDisk !== 0 || entriesThisDisk !== totalEntries) throw new ZipError("ZIP 是分卷归档,不支持");
|
|
296
|
-
if (totalEntries === 65535 || centralSize === 4294967295 || centralOffset === 4294967295) throw new ZipError("ZIP64 归档暂不支持,请在 EDA 里重新导出 .epro2");
|
|
297
|
-
if (centralOffset + centralSize > data.length) throw new ZipError("ZIP 中央目录越界,文件可能被截断");
|
|
298
|
-
return {
|
|
299
|
-
totalEntries,
|
|
300
|
-
centralSize,
|
|
301
|
-
centralOffset
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
throw new ZipError("找不到 ZIP 中央目录(EOCD)");
|
|
305
|
-
}
|
|
306
|
-
function hasZip64Extra(extra) {
|
|
307
|
-
let offset = 0;
|
|
308
|
-
while (offset + 4 <= extra.length) {
|
|
309
|
-
const id = extra.readUInt16LE(offset);
|
|
310
|
-
const size = extra.readUInt16LE(offset + 2);
|
|
311
|
-
if (id === ZIP64_EXTRA_ID) return true;
|
|
312
|
-
offset += 4 + size;
|
|
313
|
-
}
|
|
314
|
-
return false;
|
|
315
|
-
}
|
|
316
|
-
/** 只解析中央目录,不读成员数据。局部头在解压时再校验。 */
|
|
317
|
-
function readZip(data) {
|
|
318
|
-
const buf = Buffer.isBuffer(data) ? data : Buffer.from(data);
|
|
319
|
-
const eocd = findEocd(buf);
|
|
320
|
-
const entries = [];
|
|
321
|
-
let offset = eocd.centralOffset;
|
|
322
|
-
for (let index = 0; index < eocd.totalEntries; index += 1) {
|
|
323
|
-
if (readU32(buf, offset) !== SIG_CENTRAL) throw new ZipError("中央目录项签名不对,文件可能被截断");
|
|
324
|
-
const flags = readU16(buf, offset + 8);
|
|
325
|
-
const method = readU16(buf, offset + 10);
|
|
326
|
-
const crc = readU32(buf, offset + 16);
|
|
327
|
-
const compressedSize = readU32(buf, offset + 20);
|
|
328
|
-
const uncompressedSize = readU32(buf, offset + 24);
|
|
329
|
-
const nameLength = readU16(buf, offset + 28);
|
|
330
|
-
const extraLength = readU16(buf, offset + 30);
|
|
331
|
-
const commentLength = readU16(buf, offset + 32);
|
|
332
|
-
const localOffset = readU32(buf, offset + 42);
|
|
333
|
-
const nameStart = offset + 46;
|
|
334
|
-
const nameEnd = nameStart + nameLength;
|
|
335
|
-
const extraEnd = nameEnd + extraLength;
|
|
336
|
-
if (extraEnd > buf.length) throw new ZipError("中央目录项越界,文件可能被截断");
|
|
337
|
-
const rawName = buf.subarray(nameStart, nameEnd);
|
|
338
|
-
const extra = buf.subarray(nameEnd, extraEnd);
|
|
339
|
-
if (flags & 1) throw new ZipError("ZIP 成员被加密,无法读取");
|
|
340
|
-
if (hasZip64Extra(extra) || compressedSize === 4294967295 || uncompressedSize === 4294967295) throw new ZipError("ZIP64 归档暂不支持,请在 EDA 里重新导出 .epro2");
|
|
341
|
-
if (method !== 0 && method !== 8) throw new ZipError(`ZIP 用了不支持的压缩方式(method=${method})`);
|
|
342
|
-
entries.push({
|
|
343
|
-
name: decodeMemberName(rawName, (flags & 2048) !== 0),
|
|
344
|
-
rawName,
|
|
345
|
-
flags,
|
|
346
|
-
method,
|
|
347
|
-
crc32: crc,
|
|
348
|
-
compressedSize,
|
|
349
|
-
uncompressedSize,
|
|
350
|
-
localOffset
|
|
351
|
-
});
|
|
352
|
-
offset = nameEnd + extraLength + commentLength;
|
|
353
|
-
}
|
|
354
|
-
if (offset > eocd.centralOffset + eocd.centralSize) throw new ZipError("中央目录项超出声明长度");
|
|
355
|
-
return {
|
|
356
|
-
entries,
|
|
357
|
-
data: buf
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
/** 校验本地头并解出成员原始字节。CRC 不对时抛 ZipError。 */
|
|
361
|
-
function extractEntry(archive, entry) {
|
|
362
|
-
const { data } = archive;
|
|
363
|
-
if (readU32(data, entry.localOffset) !== SIG_LOCAL) throw new ZipError(`成员 ${entry.name} 的本地头签名不对`);
|
|
364
|
-
const nameLength = readU16(data, entry.localOffset + 26);
|
|
365
|
-
const extraLength = readU16(data, entry.localOffset + 28);
|
|
366
|
-
const start = entry.localOffset + 30 + nameLength + extraLength;
|
|
367
|
-
const end = start + entry.compressedSize;
|
|
368
|
-
if (end > data.length) throw new ZipError(`成员 ${entry.name} 的数据越界,文件可能被截断`);
|
|
369
|
-
const compressed = data.subarray(start, end);
|
|
370
|
-
let raw;
|
|
371
|
-
if (entry.method === 0) raw = Buffer.from(compressed);
|
|
372
|
-
else try {
|
|
373
|
-
raw = inflateRawSync(compressed);
|
|
374
|
-
} catch (error) {
|
|
375
|
-
throw new ZipError(`成员 ${entry.name} 解压失败:${error instanceof Error ? error.message : String(error)}`);
|
|
376
|
-
}
|
|
377
|
-
if (raw.length !== entry.uncompressedSize) throw new ZipError(`成员 ${entry.name} 解压后长度不符(${raw.length} != ${entry.uncompressedSize})`);
|
|
378
|
-
const actual = crc32(raw);
|
|
379
|
-
if (actual !== entry.crc32) throw new ZipError(`成员 ${entry.name} 的 CRC 校验失败(${actual.toString(16)} != ${entry.crc32.toString(16)})`);
|
|
380
|
-
return raw;
|
|
381
|
-
}
|
|
382
|
-
/** 文件头是否是 ZIP 本地头。旧版 .epro 目录、截断下载都会在这里被挡掉。 */
|
|
383
|
-
function looksLikeZip(data) {
|
|
384
|
-
return data.length >= 4 && data[0] === 80 && data[1] === 75 && data[2] === 3 && data[3] === 4;
|
|
385
|
-
}
|
|
386
198
|
// src/epro2/container.ts
|
|
387
199
|
/** `.epro2` 容器:ZIP 解包、`.epru` 记录流与 project2.json 元数据。 */
|
|
388
200
|
var ProjectError = class extends Error {
|
|
@@ -2381,4 +2193,4 @@ function analyzeSummary(run) {
|
|
|
2381
2193
|
files: run.files
|
|
2382
2194
|
};
|
|
2383
2195
|
}
|
|
2384
|
-
export { docsOf as $, buildGeometry as A, buildDevices as B, compare as C,
|
|
2196
|
+
export { docsOf as $, buildGeometry as A, buildDevices as B, compare as C, summarize as D, stripVolatile as E, padNetKey as F, num as G, buildSymbols as H, padNetMap as I, transformPin as J, placementOf as K, pcbDocs as L, componentMeta as M, formatNetlistCsv as N, MIL_TO_MM as O, naturalKey as P, docTitle as Q, polyPoints as R, VOLATILE_KEYS as S, diffRecords as T, componentType as U, buildFootprints as V, deviceUuidOf as W, attrMap as X, valueLike as Y, docElements as Z, pointKey as _, findFloating as a, pythonJson as at, renderReport as b, runSingle as c, Project as ct, writeText as d, assertSafeWorkDirEntries as dt, flatMap as et, TOL as f, ensureSafeOutputDir as ft, pinKey as g, safeWriteText as gt, pageToIr as h, safeWriteJson as ht, duplicateDesignators as i, parseRecords as it, buildNetlist as j, asId as k, slug as l, ProjectError as lt, onSegment as m, safeWriteFile as mt, checkConsistency as n, makeRecordKey as nt, inspectProject as o, splitRecordKey as ot, buildNets as p, resolveMcpWritePath as pt, text as q, collect as r, normId as rt, runDiff as s, scalarText as st, analyzeSummary as t, isPlainRecord as tt, writeJson as u, openProject as ut, splitPinKey as v, diffNetlist as w, NOISE_TYPES as x, validate as y, rotate as z };
|