@bnviking/dsh-bnv-workspace 0.0.0-stage → 1.0.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/NOTICE +15 -0
- package/README.md +137 -2
- package/assets/compact-topbar.png +0 -0
- package/client.js +1268 -0
- package/cordis.patch.yml +5 -0
- package/docs/DETAIL.md +179 -0
- package/icon.svg +6 -0
- package/index.js +155 -0
- package/locale/en.json +6 -0
- package/locale/ru.json +6 -0
- package/package.json +52 -4
- package/safety.js +48 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 BNViking
|
|
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/NOTICE
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
BNV WorkSpace
|
|
2
|
+
Copyright (c) 2026 BNViking
|
|
3
|
+
|
|
4
|
+
This project is an independent plugin for DeepSeek Harness. It is not
|
|
5
|
+
affiliated with, endorsed by, or sponsored by DeepSeek. "DeepSeek Harness"
|
|
6
|
+
and related names and marks are the property of their respective owners.
|
|
7
|
+
|
|
8
|
+
No third-party source code is included in this repository. The plugin uses
|
|
9
|
+
the plugin APIs and internal service contracts of the installed DeepSeek
|
|
10
|
+
Harness version it targets; compatibility is limited to the versions listed
|
|
11
|
+
in the README.
|
|
12
|
+
|
|
13
|
+
The MIT license in LICENSE covers the source code in this repository only.
|
|
14
|
+
It does not grant rights to DeepSeek Harness itself or to third-party
|
|
15
|
+
packages that DeepSeek Harness may load.
|
package/README.md
CHANGED
|
@@ -1,3 +1,138 @@
|
|
|
1
|
-
#
|
|
1
|
+
# BNV WorkSpace
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/BNViking/dsh-bnv-workspace/actions/workflows/ci.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/@bnviking/dsh-bnv-workspace)
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
English · [Русский ниже](#русский)
|
|
8
|
+
|
|
9
|
+
## What it gives you
|
|
10
|
+
|
|
11
|
+
BNV WorkSpace turns the DeepSeek Harness sidebar into a tidy workspace: readable chat and project names, a compact top bar, per-row icons and colors, and truly permanent deletion of chats and projects.
|
|
12
|
+
|
|
13
|
+
- **Styled names** — case, font family (any installed family), weight, color (including a custom one), size 60–130 %, and letter spacing, configured separately for all chats and all projects.
|
|
14
|
+
- **Compact top bar** — one right-aligned row with the logo, New session, the panel section icons (Plugins, Automation tasks, Context overview, …), and Settings. The shipped vertical panel list and the wide New session row are hidden; the collapsed rail keeps its icons.
|
|
15
|
+
- **Per-row identity** — the “…” menu of a chat or a project offers **Customize view…**: a built-in icon, your own image (downscaled to 64 px), and a text color that overrides the shared one for that row only.
|
|
16
|
+
- **Permanent deletion** — **Delete forever…** erases the chat log (and every subagent session) from disk, or a project with all chats inside. There is no trash and no undo; the project folder on disk is left untouched.
|
|
17
|
+
- **“Projects” naming** — the shipped “Workspaces” section title is displayed as “Projects”.
|
|
18
|
+
- **Russian and English UI** — Russian when DSH is Russian, English otherwise.
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
Inside DeepSeek Harness open **Plugins → Add plugin** and paste:
|
|
23
|
+
|
|
24
|
+
```text
|
|
25
|
+
@bnviking/dsh-bnv-workspace
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The same operation from the plugin manager:
|
|
29
|
+
|
|
30
|
+
```text
|
|
31
|
+
plugin_manager action=install_bundle target="@bnviking/dsh-bnv-workspace"
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Reload the page if the sidebar does not change immediately. Settings live under **Settings → BNV WorkSpace**; compact mode is the default.
|
|
35
|
+
|
|
36
|
+
## Screenshots
|
|
37
|
+
|
|
38
|
+
Compact top bar — New session, panel sections, and Settings, right-aligned before the sidebar toggle:
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+
## Network and files
|
|
43
|
+
|
|
44
|
+
- **No network requests, no telemetry.** The plugin works entirely on the machine.
|
|
45
|
+
- Settings are stored in the browser profile’s `localStorage`: `dsh.bnv-workspace.styles.v2`, `dsh.bnv-workspace.icons.v1`, `dsh.bnv-workspace.item-colors.v1`, `dsh.bnv-workspace.general.v2`.
|
|
46
|
+
- Deletion removes session log directories under `~/.dsh/sessions/<project>/<session>/` and cleans the matching references in `~/.dsh/storages/workspace.json`.
|
|
47
|
+
- Deletion **does not** remove the project folder on disk, attachments, usage ledgers of other plugins, or search-index rows; those are listed under Limitations.
|
|
48
|
+
- Deleting runs as the built-in command `/bnv-delete` in the currently open chat, so that chat’s log keeps a command row.
|
|
49
|
+
|
|
50
|
+
## Compatibility
|
|
51
|
+
|
|
52
|
+
- DeepSeek Harness **0.2.2-rc.5** with the Web client, JSONL session persistence, the workspace registry, and the commands service. Tested on Windows; other desktop platforms are expected but not verified.
|
|
53
|
+
- Node.js **20 or newer** for the Host half (DSH ships its own runtime).
|
|
54
|
+
- Local Font Access API is optional: when the browser does not grant it, a common-font fallback list is used.
|
|
55
|
+
- The plugin depends on DSH internal slot names, `data-row-key` attributes, and a few CSS hooks; a DSH update can break the presentation until the selectors are adjusted.
|
|
56
|
+
|
|
57
|
+
## Limitations
|
|
58
|
+
|
|
59
|
+
- An open chat cannot be deleted (DSH keeps a writer); switch to another chat first.
|
|
60
|
+
- Deletion needs at least one open chat and leaves the `/bnv-delete …` command row in it.
|
|
61
|
+
- Attachments, third-party usage data, and the search index are not cleaned; the “forever” scope is the session logs and the workspace registry.
|
|
62
|
+
- Per-row customization covers icon and text color only; font, size, case, and weight are shared per area.
|
|
63
|
+
- No trash, no undo, no backups.
|
|
64
|
+
- UI localization is Russian/English only; other locales fall back to English.
|
|
65
|
+
|
|
66
|
+
## License
|
|
67
|
+
|
|
68
|
+
MIT — see [LICENSE](LICENSE). Third-party notices are in [NOTICE](NOTICE).
|
|
69
|
+
|
|
70
|
+
## Catalog permission
|
|
71
|
+
|
|
72
|
+
This project authorizes [DSH Plugin](https://dsh-plugin.org/) to list this repository and display its plugin information.
|
|
73
|
+
本项目授权 [DSH Plugin](https://dsh-plugin.org/) 收录本仓库,并在该站展示插件信息。
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Русский
|
|
78
|
+
|
|
79
|
+
## Что это даёт
|
|
80
|
+
|
|
81
|
+
BNV WorkSpace превращает боковую панель DeepSeek Harness в аккуратное рабочее место: читаемые имена чатов и проектов, компактная верхняя строка, иконки и цвета отдельных строк и безвозвратное удаление чатов и проектов.
|
|
82
|
+
|
|
83
|
+
- **Оформление имён** — регистр, шрифт (любое установленное семейство), толщина, цвет (включая свой), размер 60–130 % и межбуквенный интервал; настраивается отдельно для всех чатов и всех проектов.
|
|
84
|
+
- **Компактная верхняя строка** — одна строка, выровненная вправо: логотип, «Новая сессия», иконки разделов панели (Плагины, Задачи автоматизации, Обзор контекста, …) и «Настройки». Штатный вертикальный список разделов и широкая строка новой сессии скрыты; в свёрнутом рельсе иконки остаются.
|
|
85
|
+
- **Своя строка** — в меню «…» у чата или проекта есть **Настроить вид…**: встроенная иконка, своя картинка (уменьшается до 64 px) и цвет подписи, который перекрывает общий только для этой строки.
|
|
86
|
+
- **Удаление навсегда** — **Удалить навсегда…** стирает с диска журнал чата (вместе со всеми подсессиями) или проект со всеми чатами внутри. Корзины и отмены нет; папка проекта на диске остаётся.
|
|
87
|
+
- **«Проекты»** — штатный заголовок «Рабочие пространства» показывается как «Проекты».
|
|
88
|
+
- **Русский и английский интерфейс** — русский, когда DSH на русском, иначе английский.
|
|
89
|
+
|
|
90
|
+
## Установка
|
|
91
|
+
|
|
92
|
+
В DeepSeek Harness откройте **Plugins → Add plugin** и вставьте:
|
|
93
|
+
|
|
94
|
+
```text
|
|
95
|
+
@bnviking/dsh-bnv-workspace
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Та же операция через менеджер плагинов:
|
|
99
|
+
|
|
100
|
+
```text
|
|
101
|
+
plugin_manager action=install_bundle target="@bnviking/dsh-bnv-workspace"
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Если панель не изменилась, обновите страницу. Настройки — в **Настройки → BNV WorkSpace**; компактный режим включён по умолчанию.
|
|
105
|
+
|
|
106
|
+
## Скриншоты
|
|
107
|
+
|
|
108
|
+
Компактная верхняя строка — «Новая сессия», разделы и «Настройки» справа, перед кнопкой сворачивания:
|
|
109
|
+
|
|
110
|
+

|
|
111
|
+
|
|
112
|
+
## Сеть и файлы
|
|
113
|
+
|
|
114
|
+
- **Сетевых запросов и телеметрии нет.** Плагин работает полностью на машине.
|
|
115
|
+
- Настройки хранятся в `localStorage` профиля браузера: `dsh.bnv-workspace.styles.v2`, `dsh.bnv-workspace.icons.v1`, `dsh.bnv-workspace.item-colors.v1`, `dsh.bnv-workspace.general.v2`.
|
|
116
|
+
- Удаление убирает каталоги журналов в `~/.dsh/sessions/<проект>/<сессия>/` и чистит ссылки в `~/.dsh/storages/workspace.json`.
|
|
117
|
+
- Удаление **не** трогает папку проекта на диске, вложения, usage-реестры других плагинов и строки поискового индекса; это перечислено в ограничениях.
|
|
118
|
+
- Удаление выполняется встроенной командой `/bnv-delete` в открытом чате, поэтому в его журнале остаётся строка команды.
|
|
119
|
+
|
|
120
|
+
## Совместимость
|
|
121
|
+
|
|
122
|
+
- DeepSeek Harness **0.2.2-rc.5** с Web-клиентом, JSONL-хранилищем сессий, реестром проектов и сервисом команд. Проверено на Windows; другие настольные платформы ожидаются, но не проверялись.
|
|
123
|
+
- Node.js **20 или новее** для Host-половины (DSH использует свой рантайм).
|
|
124
|
+
- Local Font Access API опционален: если браузер не даёт доступ, используется резервный список шрифтов.
|
|
125
|
+
- Плагин опирается на внутренние имена слотов DSH, атрибуты `data-row-key` и несколько CSS-хуков; обновление DSH может сломать оформление до правки селекторов.
|
|
126
|
+
|
|
127
|
+
## Ограничения
|
|
128
|
+
|
|
129
|
+
- Открытый чат удалить нельзя (DSH держит writer); переключитесь на другой чат.
|
|
130
|
+
- Для удаления нужен хотя бы один открытый чат; в нём остаётся строка команды `/bnv-delete …`.
|
|
131
|
+
- Вложения, данные сторонних плагинов и поисковый индекс не чистятся; «навсегда» — это журналы сессий и реестр проектов.
|
|
132
|
+
- Настройка отдельной строки — только иконка и цвет; шрифт, размер, регистр и толщина общие для области.
|
|
133
|
+
- Корзины, отмены и резервных копий нет.
|
|
134
|
+
- Локализация — русская и английская; остальные языки получают английский.
|
|
135
|
+
|
|
136
|
+
## Лицензия
|
|
137
|
+
|
|
138
|
+
MIT — см. [LICENSE](LICENSE). Оговорки и атрибуция — в [NOTICE](NOTICE).
|
|
Binary file
|