Skip to content

docs(readme): refresh architecture for the local-API sidecar - #267

Merged
CameronBrooks11 merged 1 commit into
mainfrom
docs/readme-arch-sidecar
Jun 28, 2026
Merged

CameronBrooks11 merged 1 commit into
mainfrom
docs/readme-arch-sidecar

Conversation

@CameronBrooks11

Copy link
Copy Markdown
Member

Closes #232.

The README's Architecture section and the CLI streaming note still described the pre-0.9.0 system, which the machine-control cutover deleted. Three things were factually wrong:

  • "GUI calls CLI via IPC" — the GUI now drives the bundled local API sidecar over HTTP (typed client + polled job resource); the stdio subprocess is gone.
  • The diagram had no notion of the sidecar owning the serial port or of the marlin-host library.
  • The streaming note claimed Ctrl+C issues M0/M108 — it now aborts gracefully via host.stop(); interactive pause/resume lives in the GUI.

Changes

  • Redrew the architecture diagram: GUI → local API sidecar (FastAPI, owns serial port, /machine/* + job runner) → Core Engine + marlin-host, with the CLI as a parallel interface over the same two.
  • Rewrote the Design Principles to match (parallel interfaces, GUI-over-HTTP, sidecar owns the port, machine I/O in marlin-host).
  • Corrected the streaming note (graceful Ctrl+C abort; pause/resume in the GUI).

Docs-only; no CHANGELOG entry (not a software change), and docs/index.md was already updated at release.

The Architecture section and streaming note still described the pre-0.9.0
stdio path (GUI calling the CLI via IPC; Ctrl+C issuing M0/M108). Redraw the
diagram around the real layout — GUI -> bundled local API sidecar over HTTP,
the sidecar owning the serial port via marlin-host, with CLI/API as parallel
interfaces over Core + marlin-host — and correct the CLI streaming note to the
graceful Ctrl+C abort.

Closes #232
@CameronBrooks11
CameronBrooks11 merged commit 54c130e into main Jun 28, 2026
9 checks passed
@CameronBrooks11
CameronBrooks11 deleted the docs/readme-arch-sidecar branch June 28, 2026 03:37
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.

docs: refresh README Architecture section for the local-API sidecar

1 participant