@dshtrading/gui 0.6.1 → 0.6.3

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 (2) hide show
  1. package/cordis.patch.yml +11 -36
  2. package/package.json +11 -12
package/cordis.patch.yml CHANGED
@@ -7,8 +7,8 @@
7
7
  # 2026-10-01 P1 拆包:本层的 11 行**原样从 @dshtrading/base 搬来**——行 id 与 name
8
8
  # 一字不改(行 id 是跨版本公共契约,见 scripts/patch-id-freeze.json),只换了拥有者。
9
9
  # 为什么这些行归 GUI 平面:它们都是浏览器半(语言包/设置面/中栏视图/更新对话框)或
10
- # 只有 web 宿主才有意义的双半行(IM/插件管理器/模型能力声明——host 半硬 inject
11
- # webServer/connection,headless 下必然 pending,靠 disabled: !!js 条件禁用兜底)。
10
+ # 只有 web 宿主才有意义的双半行(IM——host 半硬 inject connection,headless 下
11
+ # 必然 pending,靠 disabled: !!js 条件禁用兜底)。
12
12
  # bot 安装闭包不得出现任何 @dshtrading/client-ui-*(P1 步骤 4 的判据)。
13
13
  #
14
14
  # 注意:patch 文件必须保持「顶层 YAML 数组」形状(loadProfile → parsePatchList 对非数组
@@ -40,6 +40,15 @@
40
40
  # headless 宿主解析为空 apply host 行,无害。
41
41
  - id: dsh-trading-client-ui-indicators
42
42
  name: '@dshtrading/client-ui-indicators'
43
+ # 社区指标插件路径示例(indicator-supertrend,2026-08-30 指标插件化 SPIKE):
44
+ # client 半 inject tradingIndicators 服务并 register Supertrend(超级趋势)
45
+ # 定义,演示第三方指标如何经服务通道上榜。本包没有自己的 cordis.patch.yml,
46
+ # 按社区插件路径由本行挂载(node 半空 apply,headless 宿主解析为空 apply
47
+ # host 行,无害)。包名解析依赖本包 dependencies 里的
48
+ # @dshtrading/indicator-supertrend(进 profile 安装闭包,S3 坑 3 同款;缺行 =
49
+ # 新装 profile 启动即 ERR_MODULE_NOT_FOUND,issue #60 实测)。
50
+ - id: dsh-trading-indicator-supertrend
51
+ name: '@dshtrading/indicator-supertrend'
43
52
  # 策略中栏视图(issue #34 / P5 拆包):client 半 inject tradingStageViews
44
53
  # 注册「策略」tab + tool.call.toolview 富卡片(strategy_backtest/author);
45
54
  # 引擎经 @dshtrading/strategies 纯库 import,桥走 shell 的 tradingBridge
@@ -92,37 +101,3 @@
92
101
  - id: dsh-trading-im
93
102
  name: '@xmanrui/dsh-im'
94
103
  disabled: !!js (![...loader.entries()].some((entry) => entry.options.name === '@deepseek-ai/dsh-client-connection'))
95
-
96
- # 插件管理(2026-09-08,npm 复用 dsh-web 项目同款插件
97
- # @linxin666/dsh-client-ui-plugin-manager):官方「插件」设置区的
98
- # Plugin manager 标签页(settings.plugins.tab order 20),npm/git 安装、
99
- # 启用开关、更新校验、卸载、安装冲突回滚与「让 agent 修」修复会话。
100
- # 0.3.20 起管理列表展示 bundle 的子行,内置 IM/使用统计/会话管理在
101
- # base 下可见;无需把这些包再次加入 profile bundles。
102
- # 双通道:官方 installer 通道存在时走 /plugin-installer RPC;npm 发布版
103
- # web 运行时无该通道,由本包 host 半挂 loopback 网关、派生官方 dsh CLI
104
- # 写入 profile(唯一写者)。CLI 解析顺序 = 宿主 PATH → 宿主入口向上
105
- # node_modules/.bin/dsh → darwin /opt/homebrew|/usr/local/bin/dsh;
106
- # 桌面版自带 runtime 无全局 CLI,由 desktop 构建期投放
107
- # runtime/host/node_modules/.bin/dsh 垫片补齐(本变更同批落地)。
108
- # 市场无关共享行,归 base 所有(铁律 #1)。写入仅限本机 loopback
109
- # (socket+Host+Origin+sec-fetch-site 四重校验,非 loopback 403)。
110
- # 隐私面:浏览器半每日一次匿名安装心跳到 dsh-market.com(随机
111
- # localStorage id + 包名,无对话数据/无 IP),详见 Agent Note。
112
- # 行安全(issue #88):host 半硬 inject webServer,headless 宿主缺服务即
113
- # 永久 pending → 启动即崩;按提供方行条件禁用(见文件头「条件禁用行」)。
114
- - id: dsh-trading-plugin-manager
115
- name: '@linxin666/dsh-client-ui-plugin-manager'
116
- disabled: !!js (![...loader.entries()].some((entry) => entry.options.name === '@deepseek-ai/dsh-host-webserver'))
117
- # 模型能力声明(2026-09-08,npm 复用 dsh-web 项目同款插件
118
- # @linxin666/dsh-client-ui-model-capabilities):在官方「模型」设置页的
119
- # 自定义 provider 卡片(llm-pi-ai 家族)内就地声明每模型的图片输入与
120
- # 推理档位(settings.models.provider-card keyed slot + footer 归档区),
121
- # 并支持 provider 级禁用/恢复归档。写回官方 llm-pi-ai settings
122
- # namespace(整数组覆盖,非本插件字段原样保留),无 DSH 源码改动。
123
- # host 半只注册自身 namespace dsh-model-capabilities(禁用 provider 归档)。
124
- # 适配点:本仓 llm-pi-ai 路由(kimi-coding / zai-coding-cn 等)即在该
125
- # 卡片体系内,能力声明直接生效;llm-deepseek 固定目录不在覆盖范围
126
- # (官方能力面自带)。市场无关共享行,归 base 所有(铁律 #1)。
127
- - id: dsh-trading-model-capabilities
128
- name: '@linxin666/dsh-client-ui-model-capabilities'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dshtrading/gui",
3
- "description": "GUI-plane bundle for dsh-trading: the browser-half rows (settings shell, stage views, language packs, updater dialog) and the web-host-only dual-half rows (IM, plugin manager, model capabilities). Split out of @dshtrading/base on 2026-10-01 so the bot install closure carries no @dshtrading/client-ui-* dependency. Row ids and names moved verbatim (they are a cross-version public contract).",
4
- "version": "0.6.1",
3
+ "description": "GUI-plane bundle for dsh-trading: the browser-half rows (settings shell, stage views, language packs, updater dialog) and the web-host-only dual-half row (IM). Split out of @dshtrading/base on 2026-10-01 so the bot install closure carries no @dshtrading/client-ui-* dependency. Row ids and names moved verbatim (they are a cross-version public contract).",
4
+ "version": "0.6.3",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "types": "./lib/index.d.ts",
@@ -25,16 +25,15 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@xmanrui/dsh-im": "^4.20.2",
28
- "@linxin666/dsh-client-ui-plugin-manager": "^0.3.21",
29
- "@linxin666/dsh-client-ui-model-capabilities": "^0.3.21",
30
- "@dshtrading/client-ui-settings": "^0.6.1",
31
- "@dshtrading/client-ui-trading": "^0.6.1",
32
- "@dshtrading/client-ui-indicators": "^0.6.1",
33
- "@dshtrading/client-ui-strategies": "^0.6.1",
34
- "@dshtrading/client-ui-knowledge": "^0.6.1",
35
- "@dshtrading/client-ui-masters-quotes": "^0.6.1",
36
- "@dshtrading/client-ui-updater": "^0.6.1",
37
- "@dshtrading/dsh-i18n": "^0.6.1"
28
+ "@dshtrading/client-ui-strategies": "^0.6.3",
29
+ "@dshtrading/client-ui-knowledge": "^0.6.3",
30
+ "@dshtrading/client-ui-indicators": "^0.6.3",
31
+ "@dshtrading/client-ui-settings": "^0.6.3",
32
+ "@dshtrading/client-ui-trading": "^0.6.3",
33
+ "@dshtrading/client-ui-masters-quotes": "^0.6.3",
34
+ "@dshtrading/dsh-i18n": "^0.6.3",
35
+ "@dshtrading/client-ui-updater": "^0.6.3",
36
+ "@dshtrading/indicator-supertrend": "^0.6.3"
38
37
  },
39
38
  "devDependencies": {
40
39
  "tsdown": "^0.22.0"