Skip to content

feat: Add remote SSH workspace support phase 1 - #362

Merged
Ziinc merged 4 commits into
mainfrom
claude/treq-pr-359-rebase-xdpq9d
Aug 27, 2026
Merged

feat: Add remote SSH workspace support phase 1#362
Ziinc merged 4 commits into
mainfrom
claude/treq-pr-359-rebase-xdpq9d

Conversation

@Ziinc

@Ziinc Ziinc commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Integrate PR #359's remote SSH feature onto current main: adds a
core::remote module (SSH host discovery, readiness checks, remote
repo probe/clone/open) with matching Tauri commands and CLI
subcommands, wires an "Open via SSH" flow through onboarding and the
app menu, threads a remoteHost prop through the terminal panes so PTY
sessions can be spawned over ssh, and adds docs/PRDs for the feature.
The original PR's crates/treq-napi dispatch layer no longer exists on
main (the NAPI crate was removed), so remote commands are exposed only
through the existing Tauri command registration, matching how every
other command in src-tauri/src/lib.rs is wired.

@Ziinc
Ziinc force-pushed the claude/treq-pr-359-rebase-xdpq9d branch from a723954 to 55ed289 Compare August 27, 2026 18:33
@github-actions

github-actions Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

claude added 4 commits August 27, 2026 20:54
Integrate PR #359's remote SSH feature onto current main: adds a
core::remote module (SSH host discovery, readiness checks, remote
repo probe/clone/open) with matching Tauri commands and CLI
subcommands, wires an "Open via SSH" flow through onboarding and the
app menu, threads a remoteHost prop through the terminal panes so PTY
sessions can be spawned over ssh, and adds docs/PRDs for the feature.

The original PR's crates/treq-napi dispatch layer no longer exists on
main (the NAPI crate was removed), so remote commands are exposed only
through the existing Tauri command registration, matching how every
other command in src-tauri/src/lib.rs is wired.
Defines the provider-neutral managed compute contracts from
prds/remote-ssh.md phase 1: a ManagedComputeProvider trait with a
normalized instance lifecycle enum, closed size-preset and region
sets, a versioned boot manifest, and control-plane request/response
types (SSH endpoint model, trusted host keys, idempotent operation
envelopes) with a frontend type mirror. Adds a Supabase migration
for remote_instances, remote_instance_operations (idempotency-key
unique constraint), remote_endpoints, remote_endpoint_host_keys,
remote_client_keys, remote_repositories, and remote_audit_events,
all RLS-scoped to auth.uid(). No provider, certificate, or SSH
transport logic is implemented yet; existing ~/.ssh/config alias
discovery is left as-is since it already matches the PRD's
discovery-only, no-implicit-trust requirement.
- pty_tests.rs: update all create_session call sites for the new
  shell_args parameter added to PtyManager::create_session
- api-types-remote.ts: reformat OperationStatus union per biome
- tauri.conf.json: drop the invalid "long" field from cli plugin arg
  definitions (not part of the plugin's config schema, caused a
  PluginInitialization panic on startup)
- dialog.tsx: give the shared Dialog component proper role="dialog",
  aria-modal, and aria-labelledby semantics so the SSH dialog is
  discoverable by role, fixing the remote-ssh onboarding test timeout
@Ziinc
Ziinc force-pushed the claude/treq-pr-359-rebase-xdpq9d branch from 32b9f0a to 8a2eb89 Compare August 27, 2026 20:54
@Ziinc Ziinc changed the title Add remote SSH workspace support feat: Add remote SSH workspace support phase 1 Aug 27, 2026
@Ziinc
Ziinc merged commit 3d05a9d into main Aug 27, 2026
20 of 22 checks passed
@Ziinc
Ziinc deleted the claude/treq-pr-359-rebase-xdpq9d branch August 27, 2026 21:59
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.

2 participants