Skip to content

rhaingenix/llm-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stage3 EDA Bridge Toolkit

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.

Requirements

  • Windows PowerShell
  • Node.js 22+
  • EasyEDA API bridge server running on a local port in the 49620-49629 range
  • Run API Gateway extension loaded in EasyEDA / 嘉立创 EDA and connected to the bridge server
  • One active EDA window connected to the bridge

Setup

  1. Copy the example environment file:
Copy-Item .env.example .env
  1. If needed, set EASYEDA_GATEWAY_URL in .env.

If EASYEDA_GATEWAY_URL is not set, the scripts will probe ports 49620-49629.

Bridge / Gateway

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.mjs

Then open EasyEDA / 嘉立创 EDA, load the Run API Gateway extension, and make sure exactly one schematic window is connected.

Commands

Check the local environment:

npm run check:environment

Check gateway and EDA connection:

npm run check:gateway

Run both checks:

npm run check

Read the current project:

npm run read:project

Read the current schematic overview:

npm run read:schematic

Read the current schematic topology:

npm run read:topology

Read the full schematic context:

npm run read:context

Probe available EasyEDA APIs:

npm run probe:apis

Preview a controlled instruction change:

npm run instruction:prepare -- --designator U1 --move-dx 10 --move-dy 0
npm run instruction:preview

Apply a controlled instruction change:

npm run instruction:apply -- --confirm

Repository Layout

  • src/: gateway client, readonly operations, extractors, planning helpers, and write helpers
  • scripts/: runnable entrypoints for environment checks, reads, API probing, and controlled writes
  • tests/: a small regression test for instruction direction handling
  • outputs/: runtime output directory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages