AnasSarkiz/tscircuit-ai-agent-remote

A mixed embedded-audio PCB component library featuring ESP32-S3 control, digital microphones, I²S audio amplification, power/battery management, USB protection, logic interfaces, connectors, switches, MOSFETs, diodes, and assorted passive components.

Version
0.0.11-wip-generator-qualification
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone AnasSarkiz/tscircuit-ai-agent-remote  # download the package files into ./tscircuit-ai-agent-remote
tsci add AnasSarkiz/tscircuit-ai-agent-remote    # add it to your project as @tsci/AnasSarkiz.tscircuit-ai-agent-remote

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

src/board/GroundPaths.ts

import { pcbPath } from "@tscircuit/props"
import groundPaths from "./ground-paths.json"

// Explicit native ordinary-via paths, independent of autorouting caches.
// Placement renders omit these; imported component definitions remain untouched.
const paths: Record<string, unknown> = groundPaths
export function groundPath(port: string, placementOnly: boolean) {
  return placementOnly || !paths[port] ? undefined : pcbPath.parse(paths[port])
}