Commit Graph
68 Commits
Author SHA1 Message Date
Kaede Akino 9738605dd3 feat(terminal): add Mosh and Eternal Terminal transports
Add SSH-authenticated transports with independent settings, protocol-aware menus and snippets, and tmux session persistence.

Restore eligible iOS workspaces from encrypted transport checkpoints without adding a macOS recovery entry. Include schema migrations and regression coverage.
2026-10-16 08:36:56 +08:00
Kaede Akino 8e3f1128da feat(sessions): add tmux persistence and terminal context tracking
Add extensible remote session backends, safe ownership and restore handling, and pane-scoped shell integration over the existing SSH connection.

Keep iOS workspaces in memory and rebuild expired Activity targets on demand. Integrate session selection into Connection Journey with consistent controls, cancellation behavior, and localized counts.
2026-10-16 01:04:12 +08:00
Kaede Akino e89954982a fix(ssh): preserve authentication failures across fallback 2026-10-14 13:05:46 +08:00
Kaede AkinoandClaude Code 975358f98a refactor: remove redundant code and over-defensive branches
Consolidate code that existed twice and drop code nothing reaches.

- SSH: hoist the duplicated ASCII hex-nibble decoder out of
  RemoteCharsetConverter and SSHPTYChannel into SSHWireEncoding.hexDigit.
- Transcript: AgentToolDetail.Tint shares BatchTint's vocabulary, so the
  byte-identical detailColor map now delegates to batchColor.
- Commerce: replace ProPaywallState's unreachable default branch and its
  `preconditionFailure("Handled above")` with an exhaustive switch the
  compiler can prove complete.
- Strings: delete the unreferenced Workspace.closePaneAction (the live help
  text uses closePane) and its orphan catalog entry.
- Drop the unused SwiftData and UniformTypeIdentifiers imports.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-08 11:01:27 +08:00
Kaede AkinoandCopilot b33c03a62d refactor: remove unused declarations, overloads, and parameters
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 23:49:46 +08:00
Kaede Akino 9b5ae755ca fix(ssh): retire PTY resources before releasing the worker 2026-10-04 21:26:41 +08:00
Kaede Akino 7edd948843 fix(ssh): restore leading space in Bash integration command 2026-10-04 17:21:02 +08:00
Kaede Akino 37b0de899f feat(keychain): add single-host export and deferred public keys 2026-10-03 13:48:19 +08:00
Kaede Akino aa5a92c352 feat: remove persistence connection and SFTP history 2026-10-03 04:18:14 +08:00
Kaede Akino 6eafa29369 feat: add Pro Tailscale SSH and SFTP integration 2026-10-03 03:12:12 +08:00
Kaede Akino 3708a7c54f refactor: remove obsolete code and redundant tests
Remove legacy Commerce types, unused helpers, duplicate SFTP progress code, and 28 unreferenced strings. Drop fixture-only tests and arbitrary screenshot size assertions while retaining behavioral coverage.

Validation: 2,592 macOS tests, 40 focused macOS tests, and 53 iOS tests passed. Swift formatting, AppStrings, and Chinese localization checks passed.
2026-10-02 17:50:47 +08:00
Kaede Akino 82d871c4fe refactor: separate feature policies and UI workflows
Move connection policy out of ProAccess, keep terminal uploads with their
session, and share question interaction and highlight editing operations.
Consolidate CPU usage and settings snapshot handling, and remove obsolete
terminal selection, theme helpers, and hard-coded latest-schema assertions.

Fix draining connection-pool recovery and stale pane upload bindings. Keep
screenshot matrices opt-in and retain behavioral migration coverage.

Validation: 2468 macOS tests passed serially, 31 iOS tests passed, and both
SSH forwarding regressions passed against the local OpenSSH fixture.
Both app builds, Swift formatting, AppStrings, and Chinese localization
checks passed. Parallel test runs still exhibit intermittent timeouts.
2026-10-02 16:40:27 +08:00
Kaede Akino 75a10fbbd0 feat(pro): gate multi-connection acceleration without changing saved settings 2026-10-02 15:32:35 +08:00
Kaede Akino 565ef17d87 refactor(ssh): share key workflows and wire encoding 2026-09-29 00:05:32 +08:00
Kaede Akino 816a6ff121 feat(ssh): support hardware security key authentication
Add native security key registration, reference import, and signing on macOS and iOS. Store references in Vault metadata and route authentication through connection, Assistant, MCP, and agent forwarding flows.

Preserve signing cancellation and actionable authentication errors for security keys and Secure Enclave. Pin the released libssh2 forks as nested submodules and refresh package resolution.
2026-09-28 23:37:49 +08:00
Kaede Akino ac645aa7b7 feat(ssh): forward vault keys to remote sessions 2026-09-28 20:04:07 +08:00
Kaede Akino b58c8beb5e fix(ssh): restore saved passphrases and authentication saving 2026-09-28 18:37:21 +08:00
Kaede Akino b3d3de5913 fix: prevent rendering and SSH teardown crashes 2026-09-26 08:44:55 +08:00
Kaede Akino 41f1a97cf9 Bypass charset encode errors 2026-09-23 20:18:40 +08:00
Kaede Akino 4817bbc5f0 Remove charset alert 2026-09-23 18:08:31 +08:00
Kaede Akino a2d781014e Fix Bash prompt command history capture 2026-09-22 14:24:18 +08:00
Kaede Akino fce93864c6 refactor: match SSH authorized host key 2026-09-22 07:20:10 +08:00
Kaede Akino f0aeb33a8a Add URL Scheme 2026-09-21 23:54:01 +08:00
Kaede Akino cdba5aa44b Disable forwarding when SSH is off 2026-09-21 21:24:47 +08:00
Kaede Akino 759c1d8f7b Add Telnet 2026-09-21 21:09:11 +08:00
Kaede Akino fa734f1e1c Add charset 2026-09-21 18:30:39 +08:00
Kaede Akino 2918b32af3 Add Host PTY environment variables 2026-09-21 16:48:54 +08:00
Kaede Akino a68c1da089 Add Shell integration logging 2026-09-21 16:48:52 +08:00
Kaede Akino 9cfe2005d6 request_user_secret use zeroize 2026-09-21 10:42:05 +08:00
Kaede Akino 4ae95df1f7 Add proxy identity choose UI 2026-09-21 09:13:28 +08:00
Kaede Akino 3db8cdbf85 Harden one-shot SSH secret handling 2026-09-20 20:33:18 +08:00
Kaede Akino cb106ba15d Clear SSH secrets after each connection attempt 2026-09-20 20:33:17 +08:00
Kaede Akino 5f519eaa6c Keep additional SSH credentials reference-only 2026-09-20 20:31:50 +08:00
Kaede Akino f09c57e332 Clarify SSH connection and channel APIs 2026-09-20 16:54:31 +08:00
Kaede Akino 9dc6045430 Tolerate shell output in Metrics sampling 2026-09-20 13:04:35 +08:00
Kaede Akino fc37ec37f2 Simplify port forwarding card status 2026-09-20 12:45:41 +08:00
Kaede Akino 4c41140607 Split port forwarding benchmark and add external benchmark 2026-09-20 11:56:47 +08:00
Kaede Akino 2c6ee51e45 Add multi-connection port forwarding 2026-09-20 09:48:29 +08:00
Kaede Akino 496676b571 Limit SSH sessions per connection 2026-09-20 02:04:36 +08:00
Kaede Akino 8fdf2eb0d3 Unify SFTP channel implementation 2026-09-20 00:34:30 +08:00
Kaede Akino 15d2eec23a Combine Agent SSH and SFTP session 2026-09-19 23:49:43 +08:00
Kaede Akino 8794bd6387 Fall back terminal uploads to SSH session 2026-09-19 23:13:22 +08:00
Kaede Akino d9616b7b77 Refactor connection model 2026-09-19 21:25:39 +08:00
Kaede Akino 0590f91d09 Add logging 2026-09-19 17:23:49 +08:00
Kaede Akino c390d57ad7 Support reconnect in port forwarding 2026-09-19 13:01:14 +08:00
Kaede Akino f1796d879a Remove useless code 2026-09-19 12:30:16 +08:00
Kaede Akino 8ed3a5159c Import Port Forwarding Perf 2026-09-19 10:48:59 +08:00
Kaede Akino 382baafb2d Improve port forwarding concurrency and throughput 2026-09-19 07:24:18 +08:00
Kaede Akino 61cde4cd40 Refactor Port Forwarding 2026-09-18 23:37:57 +08:00
Kaede Akino 2f2c800843 Improve SSH Interaction Policy 2026-09-18 22:24:59 +08:00