dsh-btw-plugin 0.5.4 → 0.5.5
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 +6 -0
- package/cordis.patch.yml +3 -3
- package/lib/client.js +2 -2
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.5 — 2026-11-03(统一包名为 dsh-btw-plugin)
|
|
4
|
+
|
|
5
|
+
- 源码包名、Cordis 插件名与 bundle patch 的 insert name 统一为 `dsh-btw-plugin`,与 npm 包名一致,避免本地安装与 npm 包同名冲突。
|
|
6
|
+
- 本地 desktop profile 的依赖与 bundles 改为 `dsh-btw-plugin`,并重新建立指向仓库的 junction。
|
|
7
|
+
- 功能不变;测试 63 个全绿。
|
|
8
|
+
|
|
3
9
|
## 0.5.4 — 2026-11-03(README 截图)
|
|
4
10
|
|
|
5
11
|
- README 增加「界面」一节,放两张实际截图(空状态、引用选中文本后回答);仓库根新增 `screenshots.json`,供 dsh-market 等商店读取。
|
package/cordis.patch.yml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# dsh-btw bundle patch
|
|
1
|
+
# dsh-btw-plugin bundle patch
|
|
2
2
|
#
|
|
3
3
|
# Install:
|
|
4
4
|
# dsh plugin --profile desktop add file:D:/DSH-workspace/dsh-btw
|
|
5
5
|
# The CLI reconciles `dsh.profile.bundles` against installed packages and,
|
|
6
|
-
# seeing this declaration, appends "dsh-btw" to the bundle stack. Manual
|
|
7
|
-
# fallback: add "dsh-btw" to `dsh.profile.bundles` in the profile package.json,
|
|
6
|
+
# seeing this declaration, appends "dsh-btw-plugin" to the bundle stack. Manual
|
|
7
|
+
# fallback: add "dsh-btw-plugin" to `dsh.profile.bundles` in the profile package.json,
|
|
8
8
|
# then restart DSH (client bundles are hashed into the boot graph at host start).
|
|
9
9
|
#
|
|
10
10
|
# Host half: lib/index.js registers /btw/health and /btw/ask (SSE).
|
package/lib/client.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* TODO(C): model picker + usage display + settings panel.
|
|
16
16
|
*/
|
|
17
17
|
window.__ModuleLoader__.load({
|
|
18
|
-
id: 'dsh-btw',
|
|
18
|
+
id: 'dsh-btw-plugin',
|
|
19
19
|
factory: (require) => {
|
|
20
20
|
const module = { exports: {} }
|
|
21
21
|
const exports = module.exports
|
|
@@ -33,7 +33,7 @@ window.__ModuleLoader__.load({
|
|
|
33
33
|
|
|
34
34
|
// Debug marker: lets you confirm from DevTools which build the shell loaded.
|
|
35
35
|
// __DSH_BTW__ -> { version, loadedAt }
|
|
36
|
-
try { window.__DSH_BTW__ = { version: '0.5.
|
|
36
|
+
try { window.__DSH_BTW__ = { version: '0.5.5', loadedAt: Date.now() } } catch { /* ignore */ }
|
|
37
37
|
|
|
38
38
|
/* ----------------------------------------------- optional shell extras */
|
|
39
39
|
|
package/lib/index.js
CHANGED
|
@@ -42,9 +42,9 @@ import {
|
|
|
42
42
|
sseFrame,
|
|
43
43
|
} from './logic.js'
|
|
44
44
|
|
|
45
|
-
export const name = 'dsh-btw'
|
|
45
|
+
export const name = 'dsh-btw-plugin'
|
|
46
46
|
|
|
47
|
-
export const VERSION = '0.5.
|
|
47
|
+
export const VERSION = '0.5.5'
|
|
48
48
|
|
|
49
49
|
// All are real host services in DSH 0.2.1-rc.5 (see ds-bot's and
|
|
50
50
|
// dsh-better-sidebar's inject lists). A missing service only delays apply().
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-btw-plugin",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "btw - one-off context side questions for a DSH session: a temporary dialog that inherits the current session context; answers stay in the dialog unless the user reviews a compressed summary and sends it into the session.",
|
|
6
6
|
"repository": {
|