dsh-cool-session 0.0.0-stage → 0.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/LICENSE +21 -0
- package/README.md +24 -2
- package/README.zh.md +25 -0
- package/cordis.patch.yml +7 -0
- package/lib/client.js +1602 -0
- package/lib/index.js +690 -0
- package/lib/types/client/api.d.ts +30 -0
- package/lib/types/client/api.d.ts.map +1 -0
- package/lib/types/client/archive.d.ts +43 -0
- package/lib/types/client/archive.d.ts.map +1 -0
- package/lib/types/client/icons.d.ts +32 -0
- package/lib/types/client/icons.d.ts.map +1 -0
- package/lib/types/client/index.d.ts +28 -0
- package/lib/types/client/index.d.ts.map +1 -0
- package/lib/types/client/locales.d.ts +143 -0
- package/lib/types/client/locales.d.ts.map +1 -0
- package/lib/types/client/nav-icon.d.ts +30 -0
- package/lib/types/client/nav-icon.d.ts.map +1 -0
- package/lib/types/client/reason.d.ts +24 -0
- package/lib/types/client/reason.d.ts.map +1 -0
- package/lib/types/client/session-menu.d.ts +65 -0
- package/lib/types/client/session-menu.d.ts.map +1 -0
- package/lib/types/client/settings-section.d.ts +43 -0
- package/lib/types/client/settings-section.d.ts.map +1 -0
- package/lib/types/client/styles.d.ts +26 -0
- package/lib/types/client/styles.d.ts.map +1 -0
- package/lib/types/host/deletion.d.ts +26 -0
- package/lib/types/host/deletion.d.ts.map +1 -0
- package/lib/types/host/index.d.ts +20 -0
- package/lib/types/host/index.d.ts.map +1 -0
- package/lib/types/host/refusal.d.ts +25 -0
- package/lib/types/host/refusal.d.ts.map +1 -0
- package/lib/types/host/routes.d.ts +28 -0
- package/lib/types/host/routes.d.ts.map +1 -0
- package/lib/types/shared/contract.d.ts +61 -0
- package/lib/types/shared/contract.d.ts.map +1 -0
- package/package.json +69 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 CoolTea
|
|
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.
|
package/README.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
-
#
|
|
1
|
+
# dsh-cool-session
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
English · [中文](./README.zh.md)
|
|
4
|
+
|
|
5
|
+
 
|
|
6
|
+
|
|
7
|
+
## Description
|
|
8
|
+
|
|
9
|
+
DSH session management plugin
|
|
10
|
+
|
|
11
|
+
## Features
|
|
12
|
+
|
|
13
|
+
- **Delete session:** adds a **Delete session** option to the action menu of the workspace session list.
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
Use DSH's add-plugin feature and enter the package name: `dsh-cool-session`.
|
|
18
|
+
|
|
19
|
+
## Contributing
|
|
20
|
+
|
|
21
|
+
Contributions via Issues and PRs are welcome.
|
|
22
|
+
|
|
23
|
+
## License
|
|
24
|
+
|
|
25
|
+
MIT © CoolTea
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# dsh-cool-session
|
|
2
|
+
|
|
3
|
+
[English](./README.md) · 中文
|
|
4
|
+
|
|
5
|
+
 
|
|
6
|
+
|
|
7
|
+
## 描述
|
|
8
|
+
|
|
9
|
+
DSH 会话管理插件
|
|
10
|
+
|
|
11
|
+
## 功能介绍
|
|
12
|
+
|
|
13
|
+
- **删除会话:** 工作区会话列表操作弹窗中新增「删除会话」选项。
|
|
14
|
+
|
|
15
|
+
## 安装教程
|
|
16
|
+
|
|
17
|
+
使用 DSH 的新增插件功能,输入包名:`dsh-cool-session`。
|
|
18
|
+
|
|
19
|
+
## 参与贡献
|
|
20
|
+
|
|
21
|
+
欢迎提交 Issue 和 PR。
|
|
22
|
+
|
|
23
|
+
## 开源协议
|
|
24
|
+
|
|
25
|
+
MIT © CoolTea
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# dsh-cool-session bundle patch: mount the host half.
|
|
2
|
+
#
|
|
3
|
+
# The host half answers the session catalog routes; the browser half is loaded
|
|
4
|
+
# from this package's `dsh.client` manifest and owns the Sessions tab.
|
|
5
|
+
- insert:
|
|
6
|
+
- id: dsh-cool-session
|
|
7
|
+
name: dsh-cool-session
|