Skip to content

Phase 1 — Host port (abstract the platform) #16

Description

@ozgesolidkey

Part of #14. Ref: docs/ARCHITECTURE_V2.md L0.

Wrap window.api behind a Host interface (files, storage, processes, dialogs). Renderer depends on Host, never on Electron directly.

Tasks

  • Define Host interface in shared.
  • ElectronHost implementation over current IPC.
  • Replace direct window.api.* calls in feature modules with host.*.
  • (Stub) WebHost over HTTP for later — not wired, just proves the seam.

Done when: no feature module imports window.api directly. Unlocks the web port.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions