Skip to content

Package the eecircuit runtime with the ngspice engine - #28

Open
ShiboSoftwareDev wants to merge 1 commit into
mainfrom
agent/package-eecircuit-engine-runtime
Open

Package the eecircuit runtime with the ngspice engine#28
ShiboSoftwareDev wants to merge 1 commit into
mainfrom
agent/package-eecircuit-engine-runtime

Conversation

@ShiboSoftwareDev

Copy link
Copy Markdown
Contributor

What changed

  • declare @tscircuit/eecircuit-engine 1.7.6 as a runtime dependency
  • import the installed package instead of fetching and evaluating its CDN bundle
  • verify a transient simulation completes while HTTP(S) fetches are blocked

Why

The ngspice engine previously needed network access on first use and evaluated the downloaded module through a Blob URL. Packaging the engine makes simulations deterministic and available in Node without a runtime CDN request. The eecircuit package already embeds its WASM binary.

Validation

  • bun test — 44 pass
  • bun run typecheck
  • bun run build
  • bun run format:check
  • bun run lint
  • TPS63802 Figure 10-26 completed in the TI repository with external network access unavailable

@ShiboSoftwareDev
ShiboSoftwareDev marked this pull request as ready for review July 30, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant