Skip to content

Remote hosts: reach parity with this machine (files, git, config, search, usage) #388

Open

Description

@andrebrait

Tracking issue for the remote-host features that still work on this machine only. The remote-hosts design (docs/specs/2026-10-28-remote-hosts-design.md, "Delivery") makes full parity the target, delivered in sub-projects 2 (files, git, worktrees) and 3 (config surfaces). Sub-project 1 (sessions) has shipped.

Workspace parity is implemented on main in #391 (squash commit 986764e1). Deployment is not included.

Completed workspace parity

Sub-project 2: files, git and worktrees

  • Explorer tab (components/RightPanel.tsx)
  • Git tab (components/RightPanel.tsx)
  • Worktrees tab (components/WorktreesPanel.tsx) and the new-session worktree selector
  • Directory browsing in the directory picker (components/DirectoryPicker.tsx)
  • Clone a repository as a new workspace (/api/projects/clone)
  • File viewer and file links from a chat (/api/files, lib/session-file-references.ts, bash output), routed through the owning host.

Blocked on remote hosts ("Not available on remote hosts yet")

Sub-project 3: config surfaces

  • Settings → MCP (components/SettingsConfig.tsx, /api/mcp)
  • Settings → Skills (/api/skills, /api/skills/install)
  • Settings → Plugins (/api/plugins)
  • Settings → Agents

Sessions

  • Archive a remote session. /api/sessions/[id]/archive answers 501 remote_unavailable because the Archived Sessions browser (/api/sessions/archive) lists only this machine's archive, so a remote session could not be restored.

Silently local-only (no host routing, no "unavailable" label)

These read this machine's files on main, so remote sessions are simply missing from the results:

  • Sidebar transcript search (/api/sessions/search, lib/session-content-search.ts). Remote titles match through the session list; remote transcript text never does.
  • Usage statistics (/api/usage, lib/usage-db.ts)
  • Session import (/api/sessions/import)
  • Spec sub-project 3 items not yet surfaced in the UI: models.yml, auth/login, omp update, the STT gateway on the remote host.

Intentionally local

  • restartAllRpcSessions (after omp update) restarts this machine's sessions only; remote runs belong to their host's omp.

Activity

  1. andrebrait commented on Nov 3, 2026

    @andrebrait
    CollaboratorAuthor

    Started sub-project 2 (files, Git and worktrees). Approved architecture: typed host operations for every host, including local; daemon-owned filesystem authorization; no direct-local fallback. Written specification is awaiting review before implementation planning: https://github.com/andrebrait/ompweb/blob/7a19be51/docs/specs/2026-11-03-remote-workspaces-design.md . No product behavior has changed yet.

  2. andrebrait commented on Nov 3, 2026

    @andrebrait
    CollaboratorAuthor

    Explorer upload requirement corrected after comparing it with the existing composer uploader: reuse uploadFile / lib/uploads.ts / StagedUploads and their shared MAX_UPLOAD_BYTES (2 GiB/file), binary chunking, backpressure and resume. Remove the legacy Explorer 25 MiB/file and 100 MiB/batch multipart restrictions rather than preserving them. Add only authorized workspace-destination publication and existing conflict choices; workspace files must not inherit session-attachment retention. Preview rendering/conversion limits remain separate from transfer limits. Revised specification: https://github.com/andrebrait/ompweb/blob/32fe0e34/docs/specs/2026-11-03-remote-workspaces-design.md . This updates the design only; Explorer behavior has not changed yet.

  3. andrebrait commented on Nov 3, 2026

    @andrebrait
    CollaboratorAuthor

    Implementation plan written and self-reviewed against the approved corrected spec: https://github.com/andrebrait/ompweb/blob/5c7db0c8/docs/plans/2026-11-03-remote-workspaces.md . Six tasks produce three complete PR slices: files/read/watch + shared 2 GiB Explorer uploads; Git/worktrees; directory browsing/clone. Caller mapping includes host-owned file tabs and source cwd, cross-session open_file confirmations, bash-output authorization, Windows project identity and old-daemon capability behavior. Markdown structure checks passed; this checkpoint is documentation only, not an implementation or runtime verification claim. Awaiting written-plan review and execution-method selection.

  4. andrebrait commented on Nov 4, 2026

    @andrebrait
    CollaboratorAuthor

    Sub-project 2 is implemented in #391 (not merged or deployed). It covers Explorer/file tabs/links/downloads/search/watch and shared 2 GiB uploads, Git/worktrees, directory browsing/default workspaces, and clone lifecycle on the owning daemon, including local. Delivery is one complete cutover PR rather than three dependent stack branches. Final verification: 2,539 tests passed, 12 skipped, zero failures; typecheck/lint/build and source plus Linux-binary smoke passed. Browser proof includes isolated same-path hosts, four 108 MiB upload batches with matching digests, real Git/clone operations, separate main/daemon restart behavior and prolonged daemon-only watch outages in both transports. No live Windows host or actual 2 GiB network transfer is claimed. Leaving the tracking checkboxes unchecked until merge; configuration, archive, transcript search, usage and import items remain separate work. The PR is registered with pr-watcher for CI and review handling.

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