dsh-cool-session 0.0.0-stage → 0.1.1

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.
Files changed (53) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +27 -2
  3. package/README.zh.md +28 -0
  4. package/cordis.patch.yml +7 -0
  5. package/lib/client.js +2152 -0
  6. package/lib/index.js +690 -0
  7. package/lib/types/client/api.d.ts +30 -0
  8. package/lib/types/client/api.d.ts.map +1 -0
  9. package/lib/types/client/archive.d.ts +43 -0
  10. package/lib/types/client/archive.d.ts.map +1 -0
  11. package/lib/types/client/icons.d.ts +32 -0
  12. package/lib/types/client/icons.d.ts.map +1 -0
  13. package/lib/types/client/index.d.ts +28 -0
  14. package/lib/types/client/index.d.ts.map +1 -0
  15. package/lib/types/client/locales/de.d.ts +85 -0
  16. package/lib/types/client/locales/de.d.ts.map +1 -0
  17. package/lib/types/client/locales/en.d.ts +87 -0
  18. package/lib/types/client/locales/en.d.ts.map +1 -0
  19. package/lib/types/client/locales/es.d.ts +85 -0
  20. package/lib/types/client/locales/es.d.ts.map +1 -0
  21. package/lib/types/client/locales/fr.d.ts +87 -0
  22. package/lib/types/client/locales/fr.d.ts.map +1 -0
  23. package/lib/types/client/locales/ja.d.ts +87 -0
  24. package/lib/types/client/locales/ja.d.ts.map +1 -0
  25. package/lib/types/client/locales/pt.d.ts +86 -0
  26. package/lib/types/client/locales/pt.d.ts.map +1 -0
  27. package/lib/types/client/locales/ru.d.ts +89 -0
  28. package/lib/types/client/locales/ru.d.ts.map +1 -0
  29. package/lib/types/client/locales/zh.d.ts +87 -0
  30. package/lib/types/client/locales/zh.d.ts.map +1 -0
  31. package/lib/types/client/locales.d.ts +729 -0
  32. package/lib/types/client/locales.d.ts.map +1 -0
  33. package/lib/types/client/nav-icon.d.ts +30 -0
  34. package/lib/types/client/nav-icon.d.ts.map +1 -0
  35. package/lib/types/client/reason.d.ts +41 -0
  36. package/lib/types/client/reason.d.ts.map +1 -0
  37. package/lib/types/client/session-menu.d.ts +65 -0
  38. package/lib/types/client/session-menu.d.ts.map +1 -0
  39. package/lib/types/client/settings-section.d.ts +43 -0
  40. package/lib/types/client/settings-section.d.ts.map +1 -0
  41. package/lib/types/client/styles.d.ts +26 -0
  42. package/lib/types/client/styles.d.ts.map +1 -0
  43. package/lib/types/host/deletion.d.ts +26 -0
  44. package/lib/types/host/deletion.d.ts.map +1 -0
  45. package/lib/types/host/index.d.ts +20 -0
  46. package/lib/types/host/index.d.ts.map +1 -0
  47. package/lib/types/host/refusal.d.ts +25 -0
  48. package/lib/types/host/refusal.d.ts.map +1 -0
  49. package/lib/types/host/routes.d.ts +28 -0
  50. package/lib/types/host/routes.d.ts.map +1 -0
  51. package/lib/types/shared/contract.d.ts +61 -0
  52. package/lib/types/shared/contract.d.ts.map +1 -0
  53. 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,28 @@
1
- # Temporary Holding Version
1
+ ![dsh-cool-session cover](https://cdn.cooltea.top/dsh-cool-session/readme-cover-v0.1.0.png)
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ # dsh-cool-session
4
+
5
+ English · [中文](./README.zh.md)
6
+
7
+ ![license: MIT](https://img.shields.io/badge/license-MIT-green) ![node: >=22.19](https://img.shields.io/badge/node-%3E%3D22.19-blue)
8
+
9
+ ## Description
10
+
11
+ DeepSeek Harness session management plugin — adds a delete-session action to the workspace session list menu, and supports managing sessions in bulk (archive, delete) from the Settings panel
12
+
13
+ ## Features
14
+
15
+ - **Delete session:** adds a **Delete session** option to the workspace session list action menu
16
+ - **Batch management:** manage sessions in bulk from the Settings panel (archive, delete)
17
+
18
+ ## Installation
19
+
20
+ Use DSH's add-plugin feature and enter the package name: `dsh-cool-session`.
21
+
22
+ ## Contributing
23
+
24
+ Contributions via Issues and PRs are welcome.
25
+
26
+ ## License
27
+
28
+ MIT © CoolTea
package/README.zh.md ADDED
@@ -0,0 +1,28 @@
1
+ ![dsh-cool-session 封面](https://cdn.cooltea.top/dsh-cool-session/readme-cover-v0.1.0-zh.png)
2
+
3
+ # dsh-cool-session
4
+
5
+ [English](./README.md) · 中文
6
+
7
+ ![license: MIT](https://img.shields.io/badge/license-MIT-green) ![node: >=22.19](https://img.shields.io/badge/node-%3E%3D22.19-blue)
8
+
9
+ ## 描述
10
+
11
+ DeepSeek Harness 会话管理插件 —— 工作区会话列表菜单中添加删除会话功能,设置面板中支持批量管理会话(归档、删除)
12
+
13
+ ## 功能介绍
14
+
15
+ - **删除会话:** 工作区会话列表操作弹窗中新增「删除会话」选项
16
+ - **批量管理:** 设置面板中支持批量管理会话(归档、删除)
17
+
18
+ ## 安装教程
19
+
20
+ 使用 DSH 的新增插件功能,输入包名:`dsh-cool-session`。
21
+
22
+ ## 参与贡献
23
+
24
+ 欢迎提交 Issue 和 PR。
25
+
26
+ ## 开源协议
27
+
28
+ MIT © CoolTea
@@ -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