lit-shell.js 0.1.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,45 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.1.0] - 2025-01-09
9
+
10
+ ### Added
11
+
12
+ - **Tabbed Terminals**: New `show-tabs` attribute enables multiple terminal tabs in a single component
13
+ - Each tab has independent WebSocket connection and terminal session
14
+ - Tab bar with status indicators and add/close buttons
15
+ - Dynamic labels showing shell or container name
16
+ - `createTab()`, `switchTab()`, `closeTab()` methods
17
+ - **Join Existing Session**: Connection panel now shows "Join Existing Session" mode when sessions are available
18
+ - **Prompt Refresh on Join**: Joining a session now triggers a fresh prompt display
19
+
20
+ ### Fixed
21
+
22
+ - Fixed duplicate output when multiple tabs join the same session
23
+ - Fixed session list not updating after spawning a session
24
+ - Each client's data handler now correctly writes to its own tab's terminal
25
+
26
+ ## [1.0.0] - 2025-01-08
27
+
28
+ ### Added
29
+
30
+ - Initial release
31
+ - WebSocket-based terminal server with node-pty
32
+ - Lightweight client library with auto-reconnection
33
+ - `<lit-shell-terminal>` Lit web component with xterm.js
34
+ - Docker exec support for connecting to containers
35
+ - Docker attach mode for connecting to container's main process (PID 1)
36
+ - Session multiplexing - multiple clients sharing the same terminal
37
+ - Session persistence with configurable orphan timeout
38
+ - History replay for clients joining existing sessions
39
+ - Built-in connection panel with container/shell selector
40
+ - Settings dropdown (theme, font size)
41
+ - Status bar with connection info
42
+ - Dark/light/auto theme support
43
+ - Security features: shell, path, and container allowlists
44
+ - Python client bindings (`bindings/python/`)
45
+ - Example projects for Docker containers and multiplexing
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 lit-shell.js contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 lit-shell.js contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.