Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.56 KB

File metadata and controls

41 lines (30 loc) · 1.56 KB

System Bridge - Agent Guidelines

Cross-platform application (Linux, Windows, macOS) that bridges system information to applications like Home Assistant via HTTP/WebSocket APIs.

Quick Start

# Build and run
make build    # Build everything (frontend + backend)
make run      # Run backend server
make test     # Run tests

# See all commands
make help

After editing Go code: Always run go fmt ./...

Project Structure

  • Backend: Go application (HTTP/WebSocket APIs)
  • MCP Server: Model Context Protocol server
  • Web Client: Lit + Vite (embedded in Go binary at web-client/)
  • CLI: Command-line interface

Key Conventions

  • Build system: Always use Makefile (not direct go build)
  • Package manager: pnpm for web client
  • Schema sync: Run make generate_schemas after changing Go types in types/ directory
  • OS-specific code: Use build tags in subpackages (see architecture.md)

Additional Documentation