Commit Graph
104 Commits
Author SHA1 Message Date
Sebastian Lorenz 1a0679e025 Build SSH messages and OpenSSH frames with Bytes.concat 2026-10-21 05:04:19 +00:00
Tim Smart fcc68ce41f Tighten SSH API comments and changeset wording 2026-10-21 05:01:46 +00:00
Tim Smart cc2b5356d1 Split OpenSSH settings from Destination, separate tunnels from sessions, and add connection liveness 2026-10-21 05:01:46 +00:00
Tim Smart 7892bbaf83 Clarify SSH comments and changesets 2026-10-21 05:01:45 +00:00
Tim Smart 5700ce5123 Run SSH sessions and tunnels over SshConnectionProtocol in core, so backends only provide a transport 2026-10-21 05:01:45 +00:00
Tim Smart 9bf2845eba Reduce SSH tests to the core protocol and OpenSSH behavior 2026-10-21 05:01:45 +00:00
Sebastian Lorenz b964cbc574 Harden SSH stream forwarding and command handling
- Bound received channel data and complete pending writes before EOF
- Handle half-closed sockets, closed channels, and OpenSSH diagnostics
- Preserve shell templates and validate command inputs
2026-10-21 05:01:45 +00:00
Sebastian Lorenz 6f9be9df15 Implement SSH channels over OpenSSH connection masters
- Add SshCommand and SshConnectionProtocol APIs
- Provide Node and Bun OpenSSH backends using multiplexing proxy mode
- Update SSH docs, tests, and package changeset
2026-10-21 05:01:45 +00:00
Sebastian Lorenz 9bf5d468e4 Define SshError with Data.TaggedError and a string reason, like DnsError
SshError moves into the Ssh module as a single Data.TaggedError whose reason is "Connection", "Protocol", "Channel", or "Timeout", with a description and an optional cause. The Schema reason classes, type id, guard, and SshError module are removed.
2026-10-21 05:01:39 +00:00
Sebastian Lorenz 5dfb20ab5f Document OpenSSH session semantics and give pty sessions their own connection
Commands behave like `ssh host command`: closing one stops the local ssh
process, and pty sessions add the hang-up and Ctrl-C behavior of `ssh -t`.
Multiplexed terminals copy their modes from the local standard input, a
pipe, so pty sessions open their own connection. The remote spawner fails
exitCode when it closed the session, like a killed local process.
2026-10-21 05:01:39 +00:00
Sebastian Lorenz 5f1b44127e Remove SSH capabilities and leave signals to the backends
SshProcess.signal fails on backends that cannot deliver signals, such as
OpenSSH, and the remote spawner then closes the session at once instead
of emulating signals through remote process ids. Destinations take the
port with the host, and pty options are reduced to the terminal type the
OpenSSH backend can set.
2026-10-21 05:01:39 +00:00
Sebastian Lorenz 932ac02e32 Leave SFTP out of the baseline SSH interface and OpenSSH backend 2026-10-21 05:01:38 +00:00
Sebastian Lorenz 06d87ada61 Add backend-independent SSH connections with an OpenSSH backend
The Ssh service is a connection factory whose connections run commands,
subsystems, and tunnels. OpenSsh.layer provides it through the host's ssh
executable. Sftp and SshChildProcessSpawner run on any connection.

Unit tests use an in-memory connection; integration tests run against an
OpenSSH server in a container.
2026-10-21 05:01:38 +00:00
Tim 3934c0c618 Fix oversized buffered request bodies returning the wrong status (#9565) 2026-10-20 14:28:44 +13:00
Tim 41043e9f0d Enforce Effect.fnUntraced in tests (#9512) 2026-10-18 21:55:52 +00:00
effect-botandTim Smart d1201f0425 Release NodeSink writables on upstream failure and interruption (#9402)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-19 10:55:45 +13:00
effect-bot 28b293107d Fix NodeSink hanging after normal writable finish (#9429) 2026-10-19 10:26:16 +13:00
Tim 74532b6a3a Update repository dependencies (#9503) 2026-10-19 09:10:58 +13:00
Juan Cruz ChangazoandEffect Bot 41cf29b5d8 fix(platform-node): use native realpath on Windows (#9489)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-18 22:45:41 +13:00
effect-botandTim Smart ae9628d7a3 Fix NodeSink settling on silent writable destruction (#9333)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-16 21:40:20 +13:00
f30db155b4 Map EPERM errno to PermissionDenied in Node and Deno error handlers (#9283)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-16 00:11:20 +00:00
effect-bot a299341742 Fix NodeStream hangs on premature readable closure (#9228) 2026-10-15 22:27:03 +13:00
effect-bot ac68940f7e Fix descendant drain timing after slow child-process exit (#9238) 2026-10-15 21:20:44 +13:00
effect-bot 7f524e25cf Version Packages (#9099) 2026-10-15 00:59:23 +00:00
Ibrahim ElkamaliandEffect Bot acc7860651 Use a caller-provided WatchBackend for FileSystem.watch (#9181)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-14 23:10:28 +00:00
Tim 65d20dd6e8 Wait for GraphQL watcher installation before generating (#9133) 2026-10-14 14:26:12 +13:00
65b04f87b7 Add Path.resolveWithin for root-contained path resolution (#9127)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Tim <hello@timsmart.co>
2026-10-13 23:10:48 +00:00
effect-botandTim 816575e11c Use bigint for 64-bit FileSystem stat metadata (#9112)
Co-authored-by: Tim <hello@timsmart.co>
2026-10-13 20:30:18 +00:00
effect-bot e17ecdbe90 Version Packages (#8993) 2026-10-13 04:27:39 +00:00
Tim e8751695bf Revert "Expand Crypto with hashing, encryption, signing, and key management" (#9077) 2026-10-12 23:42:54 +00:00
0d92a92ab2 Expand Crypto with hashing, encryption, signing, and key management (#8749)
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com>
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-12 09:57:23 +00:00
Tim 5d88d8761d Update repository dependencies (#9027) 2026-10-12 09:15:44 +13:00
5726c655af fix(platform-node): skip taskkill for exited children (#9015)
Co-authored-by: Alb11747 <albertli_042@hotmail.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-12 08:03:43 +13:00
effect-bot c93485e365 Support servername in client TLS socket upgrades (#9010) 2026-10-11 19:55:58 +13:00
effect-bot 251f849155 Fix unhandled errors after child process input interruption (#9004) 2026-10-11 19:37:37 +13:00
effect-bot 967a7dc596 Version Packages (#8887) 2026-10-10 23:00:13 +13:00
Sebastian Lorenz 9dbd07e006 Accept address and name server inputs in the Dns services (#8973) 2026-10-09 18:29:30 +00:00
effect-bot 93410da528 Add stderr terminal detection to Stdio (#8938) 2026-10-09 21:12:56 +13:00
Sebastian Lorenz d4f7dc3300 Add TLSA records to DNS services (#8953) 2026-10-09 09:02:21 +02:00
Sebastian LorenzandTim Smart a9b5148225 Add DNS resolution to effect/net (#8880)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-09 07:34:40 +02:00
Tim 8e5ab22a42 Fix Esc cancellation for CLI prompts (#8934) 2026-10-08 22:06:24 +00:00
Tim 0a6f270e21 Allow NodeTerminal fixtures time to start under CI load (#8930) 2026-10-09 09:27:28 +13:00
Tim b9e7821be3 Add DatagramSocket (UDP) module (#8409) 2026-10-08 21:16:57 +13:00
effect-botandTim Smart 182e26dae1 Add FileSystem noFollow open option and positional reads (#8900)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-08 06:46:46 +00:00
effect-bot 269a7c8643 Version Packages (#8744) 2026-10-07 19:23:49 +02:00
540ecd1a94 Require explicit @stability on every module and importable export (#8770)
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
Co-authored-by: Tim Smart <hello@timsmart.co>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Mattia Manzati <mattia.manzati@gmail.com>
2026-10-07 23:01:54 +13:00
Tim ec540703a5 Update repository dependencies (#8740) 2026-10-07 01:08:17 +13:00
effect-bot 460272d304 Version Packages (#8647) 2026-10-04 21:47:48 +00:00
Tim f1aedb0a67 Fix forceKillAfter cleanup after non-zero process leader exit (#8736) 2026-10-04 20:03:50 +00:00
Tim f79b23118b Fix NodeSocket re-entrant reader teardown (#8678) 2026-10-03 10:43:19 +13:00