dsh-article-review 0.2.1-alpha.1 → 0.2.1-alpha.2

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.
@@ -0,0 +1,3 @@
1
+ # Bilingual consistency record: Git blob hashes.
2
+ README.md: 3510103710d25575c2bcb73302f06b1e26577130
3
+ README.zh.md: 7a5742733fb10dc452595dc964a8dc7198e499e2
package/README.md CHANGED
@@ -37,7 +37,7 @@ The App includes its runtime; no separate Node installation is needed.
37
37
  1. Open **Plugins** in the App's left sidebar, then click **Add plugin**.
38
38
  2. Paste the npm package name and version:
39
39
 
40
- `dsh-article-review@0.2.1-alpha.1`
40
+ `dsh-article-review@0.2.1-alpha.2`
41
41
 
42
42
  3. After installation, click **Enable now** and follow any restart prompt.
43
43
  4. Choose a local workspace and open a conversation. In the right sidebar, choose **Read, annotate and revise**.
@@ -45,14 +45,14 @@ The App includes its runtime; no separate Node installation is needed.
45
45
 
46
46
  Desktop uses its own `desktop` profile. Installing into the `web` profile does not install into the App. If you previously installed `@deepseek-ai/dsh-experimental-paper-review` from GitHub, uninstall that package in Plugins before installing the npm package above and restarting. Workspace review records in `.paper-review/` continue to be used. macOS Desktop has been exercised; see [platform requirements](docs/development.md#scope-and-compatibility) for Windows.
47
47
 
48
- Choose the official npm registry or the mainland China mirror. If the mirror has not synced this version, use the official registry. GitHub installation remains available as `github:Biogod2020/dsh-article-review#v0.2.1-alpha.1`; that historical tag retains the old package name. If GitHub times out, download the [prebuilt release archive](https://codeload.github.com/Biogod2020/dsh-article-review/tar.gz/refs/tags/v0.2.1-alpha.1) and enter its absolute local path in **Plugins → Add plugin**, without extracting or building it. Install one package name at a time.
48
+ Choose the official npm registry or the mainland China mirror. If the mirror has not synced this version, use the official registry. GitHub installation is also available as `github:Biogod2020/dsh-article-review#v0.2.1-alpha.2`. If GitHub times out, download the [prebuilt release archive](https://codeload.github.com/Biogod2020/dsh-article-review/tar.gz/refs/tags/v0.2.1-alpha.2) and enter its absolute local path in **Plugins → Add plugin**, without extracting or building it. Tags through `v0.2.1-alpha.1` retain the old package name; install one package name at a time.
49
49
 
50
50
  ### Web
51
51
 
52
52
  Requires Node.js 22 (≥22.19) or 24+:
53
53
 
54
54
  ```sh
55
- dsh plugin --profile web add 'dsh-article-review@0.2.1-alpha.1'
55
+ dsh plugin --profile web add 'dsh-article-review@0.2.1-alpha.2'
56
56
  dsh web
57
57
  ```
58
58
 
package/README.zh.md CHANGED
@@ -37,7 +37,7 @@ App 自带运行环境,无需另装 Node。
37
37
  1. 在 App 左侧打开 **Plugins(插件)**,点击 **Add plugin(添加插件)**。
38
38
  2. 粘贴 npm 包名及版本:
39
39
 
40
- `dsh-article-review@0.2.1-alpha.1`
40
+ `dsh-article-review@0.2.1-alpha.2`
41
41
 
42
42
  3. 安装完成后点击 **Enable now(立即启用)**,按提示重启。
43
43
  4. 选择本地工作区并打开一个对话,在右侧栏选择**阅读、批注与局部修改**。
@@ -45,14 +45,14 @@ App 自带运行环境,无需另装 Node。
45
45
 
46
46
  Desktop 使用独立的 `desktop` 配置,安装到 `web` 不会同时安装到 App。若之前通过 GitHub 安装了旧包 `@deepseek-ai/dsh-experimental-paper-review`,先在 Plugins 中卸载旧包,再安装上述 npm 包并按提示重启;工作区中的 `.paper-review/` 审阅记录继续使用。macOS Desktop 已实测;Windows 要求见[支持范围与兼容性](docs/development.zh.md#scope-and-compatibility)。
47
47
 
48
- 可选择 npm 官方源或中国大陆镜像。镜像尚未同步新版本时,先切回官方源。GitHub 安装方式仍可使用 `github:Biogod2020/dsh-article-review#v0.2.1-alpha.1`;该历史 tag 保留旧包名。若 GitHub 地址连接超时,可下载[预构建发行归档](https://codeload.github.com/Biogod2020/dsh-article-review/tar.gz/refs/tags/v0.2.1-alpha.1),在 **Plugins → Add plugin** 中输入本地归档的绝对路径,无需解压或构建。两种包名请选择一种安装。
48
+ 可选择 npm 官方源或中国大陆镜像。镜像尚未同步新版本时,先切回官方源。GitHub 安装地址为 `github:Biogod2020/dsh-article-review#v0.2.1-alpha.2`。若 GitHub 地址连接超时,可下载[预构建发行归档](https://codeload.github.com/Biogod2020/dsh-article-review/tar.gz/refs/tags/v0.2.1-alpha.2),在 **Plugins → Add plugin** 中输入本地归档的绝对路径,无需解压或构建。`v0.2.1-alpha.1` 及更早 tag 保留旧包名,两种包名请选择一种安装。
49
49
 
50
50
  ### Web
51
51
 
52
52
  需要 Node.js 22(≥22.19)或 24+:
53
53
 
54
54
  ```sh
55
- dsh plugin --profile web add 'dsh-article-review@0.2.1-alpha.1'
55
+ dsh plugin --profile web add 'dsh-article-review@0.2.1-alpha.2'
56
56
  dsh web
57
57
  ```
58
58
 
package/lib/client.js CHANGED
@@ -20433,6 +20433,26 @@ function(test) {
20433
20433
  }
20434
20434
  //#endregion
20435
20435
  //#region src/client/icons.tsx
20436
+ /** Manuscript with a revision pencil; the sidebar supplies size and theme-aware ink. */
20437
+ function PaperReviewIcon({ size = 26, className }) {
20438
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
20439
+ width: size,
20440
+ height: size,
20441
+ className,
20442
+ viewBox: "0 0 24 24",
20443
+ fill: "none",
20444
+ stroke: "currentColor",
20445
+ strokeWidth: "1.5",
20446
+ strokeLinecap: "round",
20447
+ strokeLinejoin: "round",
20448
+ "aria-hidden": "true",
20449
+ children: [
20450
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M11 20.5H6A1.5 1.5 0 0 1 4.5 19V5A1.5 1.5 0 0 1 6 3.5h7.5L18 8v2.5" }),
20451
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M13.5 3.5V8H18M7.5 11.5H13M7.5 15h3" }),
20452
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m13.25 17.25 5.9-5.9a1.2 1.2 0 0 1 1.7 1.7l-5.9 5.9-2.95.75zM18 12.5l1.7 1.7" })
20453
+ ]
20454
+ });
20455
+ }
20436
20456
  const artwork = {
20437
20457
  read: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M5 2.5h7l3 3V17.5H5z" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 2.5v3h3M7.5 9h5M7.5 12h5M7.5 15h3" })] }),
20438
20458
  changes: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M4 4h7M4 8h7M4 12h5M4 16h4" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "m11 14 5-5 2 2-5 5-3 1z" })] }),
@@ -23875,7 +23895,8 @@ function(test) {
23875
23895
  id: "paper",
23876
23896
  order: 5,
23877
23897
  title: () => t("guide"),
23878
- description: () => t("description")
23898
+ description: () => t("description"),
23899
+ icon: PaperReviewIcon
23879
23900
  }],
23880
23901
  keepMounted: true
23881
23902
  }));
@@ -1,5 +1,8 @@
1
1
  /** Small review controls bundle their artwork so older DSH clients render the same panel. */
2
2
  import type { ReactNode } from 'react';
3
+ import type { IconProps } from '@deepseek-ai/dsh-client-ui-primitives';
4
+ /** Manuscript with a revision pencil; the sidebar supplies size and theme-aware ink. */
5
+ export declare function PaperReviewIcon({ size, className }: IconProps): ReactNode;
3
6
  export type PaperIconKind = 'read' | 'changes' | 'versions' | 'history' | 'references' | 'refresh' | 'up' | 'down' | 'folder' | 'close' | 'edit' | 'sparkle' | 'fullscreen' | 'check' | 'shield' | 'code';
4
7
  /** Render a decorative review icon; its button supplies the localized accessible name.
5
8
  * @param props - icon name and pixel size.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-article-review",
3
- "version": "0.2.1-alpha.1",
3
+ "version": "0.2.1-alpha.2",
4
4
  "description": "Annotation-driven Markdown manuscript review with proposals and human review baselines",
5
5
  "keywords": [
6
6
  "deepseek-harness",