Skip to content

Rename stale "CLI" terminology to Backend/API #234

Closed

Description

@CameronBrooks11

What

Rename the stale "CLI" terminology throughout the GUI to "Backend"/"API", matching the actual architecture (compute is served over HTTP by the FastAPI sidecar; only streaming + the health check still use the Tauri bridge).

Why

The app migrated compute to the API sidecar (src/lib/schemas.ts: "Compute responses … are typed by the generated OpenAPI client now"), but the health/status naming was never updated. Users see "CLI Backend Unavailable" and "CLI: Ready/Unavailable" even though there's no user-facing CLI — it's confusing and inaccurate.

Where

  • Tauri command: check_cli_health → e.g. check_backend_health (src-tauri/src/…, src/state/cli-health.svelte.ts)
  • State class/file: CliHealth / cli-health.svelte.ts → BackendHealth / backend-health.svelte.ts
  • UI strings: src/components/machine/CliHealthWarning.svelte:13 ("CLI Backend Unavailable"), src/shell/StatusBar.svelte:14-19 ("CLI: …"), src/components/dialogs/CliUnavailableDialog.svelte:13
  • Schema name: CliHealthResponseSchema (src/lib/schemas.ts)
  • Tests referencing the above (cli-health.svelte.test.ts, CliHealthWarning.svelte.test.ts, App.svelte.test.ts, diagnostics dialog)

Acceptance criteria

  • No user-facing string contains "CLI"; status reads e.g. "Backend: Ready / Unavailable".
  • Command/state/schema/component renamed consistently; no dead references.
  • npm test (vitest) green; npm run lint + clippy green.

Activity

  1. added
    enhancement
    gui
    on Jun 27, 2026
  2. added a commit that references this issue on Jun 27, 2026
    3e1a703
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions