Ivan Kara and Jarek Krochmalski
0ca3b86f82
Add docker attach support ( #1377 )
...
* Add attach mode
* Better UI
* Remove unnecessary message
* extract + test the docker stream demux; reset terminal mode per session
- Pull the Docker hijacked-stream decoder (HTTP header strip, chunked
decode, 8-byte multiplexed frame demux + raw/TTY fallback) into a pure
src/lib/server/docker-stream-core.ts with unit tests covering raw
passthrough, stdout/stderr demux, frames split across socket events,
a split header, chunked reassembly, and the raw-fallback path.
- vite.config.ts now imports the core instead of carrying its own copy.
server.js runs against ./build and can't import the TS core at runtime,
so it keeps the inline copy with a note to keep the two in sync.
- containers page: default a fresh terminal session to exec so a prior
container's Attach choice (shared terminalMode) doesn't carry over.
---------
Co-authored-by: Jarek Krochmalski <jkrochmalski@gmail.com >
2026-09-13 14:08:19 +02:00
..
2026-09-12 16:24:13 +02:00
2026-09-02 15:52:44 +02:00
2026-08-23 12:08:30 +02:00
2026-09-08 07:12:47 +05:30
2026-09-02 15:52:44 +02:00
2026-08-27 07:34:37 +02:00
2026-08-22 09:09:50 +02:00
2026-08-27 07:34:37 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-23 19:00:40 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-08 07:12:47 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-02 15:52:44 +02:00
2026-09-08 07:12:47 +05:30
2026-08-22 09:09:50 +02:00
2026-08-23 12:08:30 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:47:30 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:47:30 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:47:30 +05:30
2026-09-13 13:18:06 +02:00
2026-09-13 14:08:19 +02:00
2026-08-27 07:34:37 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-07-29 10:49:53 +02:00
2026-08-27 07:34:37 +02:00
2026-09-08 07:47:30 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 17:11:57 +02:00
2026-09-06 17:03:47 +05:30
2026-09-02 15:52:44 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 10:20:43 +02:00
2026-08-22 09:09:50 +02:00
2026-08-27 07:34:37 +02:00
2026-09-08 07:12:47 +05:30
2026-09-06 17:03:47 +05:30
2026-08-22 09:09:50 +02:00
2026-08-23 10:21:00 +02:00
2026-08-22 09:09:50 +02:00
2026-09-02 15:52:45 +02:00
2026-08-22 09:09:50 +02:00
2026-08-27 07:34:38 +02:00
2026-08-23 10:21:00 +02:00
2026-09-06 17:03:46 +05:30
2026-09-06 17:03:47 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-08 07:47:30 +05:30
2026-09-08 07:12:47 +05:30
2026-09-12 16:24:13 +02:00
2026-08-22 09:09:50 +02:00
2026-09-06 17:03:47 +05:30
2026-08-23 11:00:36 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 07:58:49 +02:00
2026-08-22 09:09:50 +02:00
2026-08-27 07:34:38 +02:00
2026-08-23 10:20:59 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-06 15:51:12 +05:30
2026-09-06 17:38:22 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-06 17:03:48 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-02 15:52:44 +02:00
2026-08-22 16:22:18 +02:00
2026-09-02 15:52:44 +02:00
2026-08-22 09:09:50 +02:00
2026-09-06 17:03:47 +05:30
2026-09-12 16:24:13 +02:00
2026-08-22 09:09:50 +02:00
2026-08-27 07:34:37 +02:00
2026-08-22 09:09:50 +02:00
2026-08-25 05:42:29 +02:00
2026-08-22 16:22:18 +02:00
2026-09-06 17:03:48 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-08 07:12:47 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-08 07:47:30 +05:30
2026-09-08 07:12:47 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-09 09:37:27 +05:30
2026-08-22 09:09:50 +02:00
2026-09-02 15:52:44 +02:00
2026-09-08 07:12:47 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-06 17:04:19 +05:30
2026-08-23 10:20:59 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-27 07:34:37 +02:00
2026-08-27 07:34:37 +02:00
2026-08-22 09:09:50 +02:00
2026-08-27 07:34:37 +02:00
2026-08-22 09:09:50 +02:00
2026-09-09 09:37:27 +05:30
2026-09-08 07:12:47 +05:30
2026-08-22 09:09:50 +02:00
2026-09-08 07:47:30 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-09-02 15:52:44 +02:00
2026-08-22 09:09:50 +02:00
2026-08-27 07:34:37 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-31 18:54:27 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-08 07:47:30 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-09-08 07:12:47 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-09 09:37:26 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-06 17:03:47 +05:30
2026-09-12 16:24:13 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-09-06 17:03:48 +05:30
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00
2026-08-22 09:09:50 +02:00