@nanodoc/nanodoc-dsh-plugin 0.2.4-rc.11 → 0.2.4-rc.13

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.md CHANGED
@@ -1,9 +1,7 @@
1
1
  # NanoDoc
2
2
 
3
- 组合包包含三项能力:PDF 转换与翻译(PDFlux)、财报主表解析(Mesh)、文档比对(Calliper)。填写共用的 NanoDoc API 密钥后,各组件可独立开启或关闭。
3
+ Convert and translate PDFs with PDFlux, extract financial statements with Mesh, and compare documents with Calliper. Each plugin can be enabled independently.
4
4
 
5
- 在对话框上传 PDF,即可执行转换、翻译、财报主表提取、文档比对;结果支持右侧预览与本地下载。
5
+ ![Examples of PDF translation, financial statement extraction, and document comparison](https://cdn.jsdelivr.net/npm/@nanodoc/nanodoc-dsh-plugin@0.2.4-rc.13/docs/preview-all.en.png)
6
6
 
7
- ![三项能力示例](https://cdn.jsdelivr.net/npm/@paodingai/nanodoc-dsh-plugin@0.2.4-rc.4/docs/preview-all.zh.png)
8
-
9
- **用法**:填写共用的 NanoDoc API 密钥并保存,然后在对话里拖入 PDF,说明要转换、翻译、解析财报主表还是比对文档。
7
+ Save your international NanoDoc API key in the plugin settings. Upload a PDF in the chat and ask NanoDoc to convert it, translate it, or extract its financial statements. Upload two PDFs to compare them.
package/docs/DETAIL.en.md CHANGED
@@ -1,5 +1,3 @@
1
- Upload a PDF in the chat to convert, translate, extract financial master tables, or compare documents. Results support side preview and local download.
1
+ ![Examples of PDF translation, financial statement extraction, and document comparison](preview-all.en.png)
2
2
 
3
- ![Three capabilities](preview-all.zh.png)
4
-
5
- **Usage**: Select a language first (Chinese → CN environment, English → Intl environment), then enter and save the NanoDoc API key for that environment. CN and Intl keys are stored separately and never fall back to each other. Drag a PDF into the chat and say whether you want convert, translate, financial parse, or document compare.
3
+ Save your international NanoDoc API key in the plugin settings. Upload a PDF in the chat and ask NanoDoc to convert it, translate it, or extract its financial statements. Upload two PDFs to compare them.
Binary file
package/lib/client.js CHANGED
@@ -115,7 +115,7 @@ var en_default = {
115
115
  settingsKeyPlaceholder: "Enter API key",
116
116
  settingsKeyReplacePlaceholder: "Enter a new key to replace",
117
117
  settingsHint: "The key for the current language environment is stored on this machine; leave blank to keep the existing key.",
118
- settingsSummary: "Select a language, then enter the NanoDoc API key for that environment",
118
+ settingsSummary: "Enter your international NanoDoc API key",
119
119
  settingsApiKeyZh: "CN NanoDoc API key",
120
120
  settingsApiKeyEn: "Intl NanoDoc API key",
121
121
  settingsLanguageKeyHint: "Select a language first, then enter that environment\u2019s API key. CN and Intl keys are stored separately and shared by all three capabilities; requests never fall back to the other key."
package/locale/en.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "NanoDoc",
4
- "description": "Composite bundle with three capabilities: PDF convert & translate (PDFlux), financial master-table parse (Mesh), and document compare (Calliper). Select a language, then enter the NanoDoc API key for that environment. CN and Intl keys are stored separately; each component can be turned on or off independently.",
4
+ "description": "Convert and translate PDFs with PDFlux, extract financial statements with Mesh, and compare documents with Calliper. Each plugin can be enabled independently.",
5
5
  "detail": "docs/DETAIL.en.md"
6
6
  }
7
7
  }
package/locale/zh.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "NanoDoc",
4
- "description": "组合包包含三项能力:PDF 转换与翻译(PDFlux)、财报主表解析(Mesh)、文档比对(Calliper)。先选择语言,再填写该环境的 NanoDoc API 密钥;国内与国际密钥分开存储,各组件可独立启停。",
5
- "detail": "docs/DETAIL.zh.md"
4
+ "description": "Convert and translate PDFs with PDFlux, extract financial statements with Mesh, and compare documents with Calliper. Each plugin can be enabled independently.",
5
+ "detail": "docs/DETAIL.en.md"
6
6
  }
7
7
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nanodoc/nanodoc-dsh-plugin",
3
- "version": "0.2.4-rc.11",
4
- "description": "NanoDoc 组合包:整合 PDF 转换、翻译、财报解析、文档比对能力,各组件可独立启停。",
3
+ "version": "0.2.4-rc.13",
4
+ "description": "Convert and translate PDFs with PDFlux, extract financial statements with Mesh, and compare documents with Calliper. Each plugin can be enabled independently.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/types/index.d.ts",
@@ -18,9 +18,8 @@
18
18
  "./locale/*.json": "./locale/*.json"
19
19
  },
20
20
  "files": [
21
- "docs/DETAIL.zh.md",
22
21
  "docs/DETAIL.en.md",
23
- "docs/preview-all.zh.png",
22
+ "docs/preview-all.en.png",
24
23
  "locale",
25
24
  "icon.svg",
26
25
  "lib",
@@ -62,14 +61,14 @@
62
61
  "smoke": "node scripts/smoke.mjs"
63
62
  },
64
63
  "dependencies": {
65
- "@nanodoc/pdflux-dsh-plugin": "0.2.7-rc.8",
66
- "@nanodoc/mesh-dsh-plugin": "0.2.4-rc.11",
67
- "@nanodoc/calliper-dsh-plugin": "0.2.5-rc.8"
64
+ "@nanodoc/calliper-dsh-plugin": "0.2.5-rc.10",
65
+ "@nanodoc/mesh-dsh-plugin": "0.2.4-rc.13",
66
+ "@nanodoc/pdflux-dsh-plugin": "0.2.7-rc.10"
68
67
  },
69
68
  "icon": "./icon.svg",
70
69
  "publishConfig": {
71
- "access": "public",
72
70
  "registry": "https://registry.npmjs.org/",
71
+ "access": "public",
73
72
  "tag": "rc"
74
73
  }
75
74
  }
package/docs/DETAIL.zh.md DELETED
@@ -1,5 +0,0 @@
1
- 在对话框上传 PDF,即可执行转换、翻译、财报主表提取、文档比对;结果支持右侧预览与本地下载。
2
-
3
- ![三项能力示例](preview-all.zh.png)
4
-
5
- **用法**:先选择语言(中文走国内环境,English 走国际环境),再填写该环境的 NanoDoc API 密钥并保存。国内与国际密钥分开存储,不会互相替代。然后在对话里拖入 PDF,说明要转换、翻译、解析财报主表还是比对文档。
Binary file