@zephinel/dsh-intelligent-ui 0.6.0 → 0.6.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.
- package/README.en.md +4 -4
- package/README.md +4 -4
- package/lib/client.js +108 -102
- package/lib/index.js +43 -39
- package/lib/standalone.js +108 -102
- package/package.json +3 -3
package/README.en.md
CHANGED
|
@@ -20,7 +20,7 @@ The model calls the `render_ui` tool and writes its answer as an [OpenUI Lang 1.
|
|
|
20
20
|
Ported from [Open Intelligent UI](https://github.com/thesysdev/open-intelligent-ui) (MIT), with an Agent Skill (`intelligent-ui`) that the plugin registers automatically.
|
|
21
21
|
|
|
22
22
|
> [!NOTE]
|
|
23
|
-
> **Current status**: published on GitHub and npm as **`@zephinel/dsh-intelligent-ui@0.6.
|
|
23
|
+
> **Current status**: published on GitHub and npm as **`@zephinel/dsh-intelligent-ui@0.6.1`** (`latest`). 0.6.1 fixes an availability issue where the bundled OpenUI parser (1.0.1) could expand shared references exponentially and block or OOM the Host; it now bundles `@openuidev/lang-core` 1.1.1. 0.6.0's in-place editing with revision history, Auto page-vs-text decision, experimental answer-as-document mode, local images, style switching and sidebar update card remain available.
|
|
24
24
|
|
|
25
25
|
[Quick start](#quick-start) · [Getting the code](#getting-the-code) · [Build, test and deploy](#build-test-and-deploy)
|
|
26
26
|
|
|
@@ -123,10 +123,10 @@ The restart examples cover a foreground `dsh web`, macOS launchd and Linux syste
|
|
|
123
123
|
|
|
124
124
|
## Quick start
|
|
125
125
|
|
|
126
|
-
**DSH Web**: install the published 0.6.
|
|
126
|
+
**DSH Web**: install the published 0.6.1 package and start the Web UI (first foreground run):
|
|
127
127
|
|
|
128
128
|
```bash
|
|
129
|
-
dsh plugin --profile web add @zephinel/dsh-intelligent-ui@0.6.
|
|
129
|
+
dsh plugin --profile web add @zephinel/dsh-intelligent-ui@0.6.1
|
|
130
130
|
dsh web
|
|
131
131
|
```
|
|
132
132
|
|
|
@@ -137,7 +137,7 @@ Alternative sources replace the install command above: use `dsh plugin --profile
|
|
|
137
137
|
**DSH Desktop** needs no terminal command — install it inside the app:
|
|
138
138
|
|
|
139
139
|
1. Open **Plugins** in the sidebar → **Add plugin** (or the arrow → **Install a third-party plugin**).
|
|
140
|
-
2. Enter `@zephinel/dsh-intelligent-ui@0.6.
|
|
140
|
+
2. Enter `@zephinel/dsh-intelligent-ui@0.6.1` (or just the package name for the latest), then click **Install**.
|
|
141
141
|
3. When the install finishes, click **Enable now**; if the **UI** control does not appear, quit and reopen DSH Desktop.
|
|
142
142
|
|
|
143
143
|
The desktop profile is owned by the Electron app, so `dsh plugin --profile desktop` is rejected. A mainland-China mirror can lag behind the official npm registry for a fresh release; switch the install source back to npm if the version is not found.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
基于 [Open Intelligent UI](https://github.com/thesysdev/open-intelligent-ui)(MIT)移植,并附带一个随插件自动注册的 Agent Skill(`intelligent-ui`)。
|
|
21
21
|
|
|
22
22
|
> [!NOTE]
|
|
23
|
-
> **当前状态**:已发布到 GitHub 与 npm,npm 版本 **`@zephinel/dsh-intelligent-ui@0.6.
|
|
23
|
+
> **当前状态**:已发布到 GitHub 与 npm,npm 版本 **`@zephinel/dsh-intelligent-ui@0.6.1`**(`latest`)。0.6.1 修复内置 OpenUI parser 的指数展开导致的 Host 卡顿/OOM(`@openuidev/lang-core` 1.0.1 → 1.1.1);0.6.0 的就地编辑与修订历史、Auto 页面/文字决策、实验性「回答即文档」、本地图片、样式切换与侧栏更新提示继续可用。
|
|
24
24
|
|
|
25
25
|
[快速开始](#快速开始) · [获取代码](#获取代码) · [构建、测试与部署](#构建测试与部署)
|
|
26
26
|
|
|
@@ -123,10 +123,10 @@ git --version # 仅获取源码时需要
|
|
|
123
123
|
|
|
124
124
|
## 快速开始
|
|
125
125
|
|
|
126
|
-
**DSH Web**:从 npm 安装已发布的 0.6.
|
|
126
|
+
**DSH Web**:从 npm 安装已发布的 0.6.1,再启动 Web UI(首次前台运行示例):
|
|
127
127
|
|
|
128
128
|
```bash
|
|
129
|
-
dsh plugin --profile web add @zephinel/dsh-intelligent-ui@0.6.
|
|
129
|
+
dsh plugin --profile web add @zephinel/dsh-intelligent-ui@0.6.1
|
|
130
130
|
dsh web
|
|
131
131
|
```
|
|
132
132
|
|
|
@@ -137,7 +137,7 @@ dsh web
|
|
|
137
137
|
**DSH Desktop(桌面版)** 不需要终端命令,在应用内安装:
|
|
138
138
|
|
|
139
139
|
1. 侧栏 **插件** → **添加插件**(或箭头 → **安装第三方插件**)。
|
|
140
|
-
2. 输入 `@zephinel/dsh-intelligent-ui@0.6.
|
|
140
|
+
2. 输入 `@zephinel/dsh-intelligent-ui@0.6.1`(或只填包名装最新版),点 **安装**。
|
|
141
141
|
3. 安装完成后点 **立即启用**;若输入框右侧没有 **UI** 控件,退出并重开 DSH Desktop。
|
|
142
142
|
|
|
143
143
|
桌面版的 profile 由 Electron 应用独占管理,`dsh plugin --profile desktop` 会被拒绝。国内镜像可能晚于 npm 官方源同步刚发布的版本;装不到时把安装源切回 npm 官方源。
|