This repository only contains the local tooling required to connect to EasyEDA/JLCEDA, read the current schematic, inspect topology and context, and apply controlled schematic modifications.
Prompt files, examples, and output schemas are intentionally not stored in this repository. They are provided externally at execution time.
- Windows PowerShell
- Node.js 22+
- EasyEDA API bridge server running on a local port in the
49620-49629range - Run API Gateway extension loaded in EasyEDA / 嘉立创 EDA and connected to the bridge server
- One active EDA window connected to the bridge
- Copy the example environment file:
Copy-Item .env.example .env- If needed, set
EASYEDA_GATEWAY_URLin.env.
If EASYEDA_GATEWAY_URL is not set, the scripts will probe ports 49620-49629.
The bridge server is external to this repository. Start it from the EasyEDA API skill installation. A typical command is:
node path\to\easyeda-api-skill\scripts\bridge-server.mjsThen open EasyEDA / 嘉立创 EDA, load the Run API Gateway extension, and make sure exactly one schematic window is connected.
Check the local environment:
npm run check:environmentCheck gateway and EDA connection:
npm run check:gatewayRun both checks:
npm run checkRead the current project:
npm run read:projectRead the current schematic overview:
npm run read:schematicRead the current schematic topology:
npm run read:topologyRead the full schematic context:
npm run read:contextProbe available EasyEDA APIs:
npm run probe:apisPreview a controlled instruction change:
npm run instruction:prepare -- --designator U1 --move-dx 10 --move-dy 0
npm run instruction:previewApply a controlled instruction change:
npm run instruction:apply -- --confirmsrc/: gateway client, readonly operations, extractors, planning helpers, and write helpersscripts/: runnable entrypoints for environment checks, reads, API probing, and controlled writestests/: a small regression test for instruction direction handlingoutputs/: runtime output directory