Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

814 Commits

Folders and files

Repository files navigation

Code Mirror

Code Mirror is a remote control plane for Pi. A Go Cloud service runs on a VPS, and a Go/Wails Agent runs on the productivity device. The Agent connects outbound to Cloud and proxies an allowlisted subset of local Pi SDK operations.

Architecture

Browser / Mobile PWA
  -> HTTPS Cloud
  -> WebSocket tunnel
  -> Wails Agent
  -> local Pi SDK bridge

Selected chats consume bounded content snapshots; Recent views use metadata-only account hints and authorized history revalidation. See ADR-0067 for the live-update and cache-ordering decision. OpenCode support was removed in ADR-0153.

Devices can run Google Antigravity CLI (agy) beside Pi. Projects are shared between backends and a session chooses its backend when it is created; the choice is immutable. See ADR-0163 and ADR-0164.

The Pi bridge omits invalid individual model records while preserving catalog size and identity checks. The model picker shows loading, failure, unsupported, and empty states separately. Failed loads offer a retry; failed refreshes keep the last loaded list. See ADR-0162.

Workspace

  • apps/cloud: Go Cloud server for auth, devices, WebSocket tunnels, and API routing.
  • apps/agent: Go/Wails Agent for desktop devices.
  • apps/web: React/Vite Web UI and mobile PWA.
  • packages/protocol: Shared Go protocol types for Cloud-Agent RPC.
  • deploy: VPS deployment examples.
  • docs: Project design and operating notes.

Development

See docs/development.md for local commands and docs/deployment.md for the initial VPS shape.

Build

scripts/build-all.sh

Build outputs are written to dist/.

Build the Wails Agent release metadata with:

ansible-playbook deploy/agent-release.yml

Deploy

See docs/production-playbook.md for the Ansible VPS playbook.

Third-party Pi bridge license notices are documented in docs/third-party-notices.md.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages