@liangjiehappy/dsh-plugin-mj7 0.1.0 → 0.1.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.md CHANGED
@@ -1,46 +1,46 @@
1
1
  # dsh-plugin-mj7
2
2
 
3
- 模极社(mj7.cn)只读数据插件:在 DSH 里查标准、产品、HS 关联、贸易术语、单证和汇率。
3
+ Read-only mj7.cn data tools for DeepSeek Harness: standards/product search, HS lookup, Incoterms, trade documents, and CNY FX rates.
4
4
 
5
- ## 工具
5
+ 中文说明见 [README.zh-CN.md](README.zh-CN.md).
6
6
 
7
- | 工具 | 作用 |
7
+ ## Tools
8
+
9
+ | Tool | Purpose |
8
10
  |---|---|
9
- | `mj7_search` | 关键词搜索标准/产品/材料 |
10
- | `mj7_hot` | 热门品类 |
11
- | `mj7_hs` | HS 编码联想标准 |
12
- | `mj7_terms` | Incoterms 术语 |
13
- | `mj7_docs` | 外贸单证清单 |
14
- | `mj7_fx` | 人民币汇率 |
11
+ | `mj7_search` | Search standards, materials and industrial products by keyword |
12
+ | `mj7_hot` | Hot categories on mj7.cn |
13
+ | `mj7_hs` | Look up standards related to an HS code |
14
+ | `mj7_terms` | Incoterms responsibilities |
15
+ | `mj7_docs` | Export/trade document checklist |
16
+ | `mj7_fx` | CNY FX rates (default USD) |
15
17
 
16
- ## 安装
18
+ ## Install
17
19
 
18
20
  ```bash
19
- dsh plugin --profile web add dsh-plugin-mj7
21
+ dsh plugin --profile web add @liangjiehappy/dsh-plugin-mj7
20
22
  ```
21
23
 
22
- 或发布后:`dsh plugin --profile web add dsh-plugin-mj7`
23
-
24
- ## 配置
24
+ ## Config
25
25
 
26
26
  ```yaml
27
27
  - insert:
28
28
  - id: dsh-plugin-mj7
29
- name: dsh-plugin-mj7
29
+ name: "@liangjiehappy/dsh-plugin-mj7"
30
30
  config:
31
31
  baseUrl: "https://www.mj7.cn"
32
32
  ```
33
33
 
34
- 零配置可用,默认 https://www.mj7.cn。
34
+ Zero-config works; the default base URL is `https://www.mj7.cn`.
35
35
 
36
- ## 权限声明
36
+ ## Permissions
37
37
 
38
- - 只对 `www.mj7.cn` 发 HTTPS GET(可配置 baseUrl)
39
- - 不读写文件、不读凭证、不执行 shell
40
- - 只读:不登录、不下单、不写数据
38
+ - Outbound HTTPS GET to `www.mj7.cn` only (configurable `baseUrl`)
39
+ - No file reads or writes, no credential access, no shell
40
+ - Read-only: no login, no orders, no writes
41
41
 
42
- ## 限制
42
+ ## Limitations
43
43
 
44
- - 依赖 mj7.cn 公开 API(`/api/search`、`/api/hot`、`/api/hs`、`/api/terms`、`/api/docs`、`/api/fx`)
45
- - API 变更可能导致工具失败;失败会返回真实 HTTP 错误
46
- - 结果只做摘要与筛选,完整内容请打开站内页面
44
+ - Depends on public mj7.cn APIs (`/api/search`, `/api/hot`, `/api/hs`, `/api/terms`, `/api/docs`, `/api/fx`)
45
+ - API changes can break a tool; failures surface the real HTTP error
46
+ - Results are summaries with filters; open the site for full content
@@ -0,0 +1,46 @@
1
+ # dsh-plugin-mj7
2
+
3
+ 模极社(mj7.cn)只读数据插件:在 DSH 里查标准、产品、HS 关联、贸易术语、单证和汇率。
4
+
5
+ English docs: [README.md](README.md).
6
+
7
+ ## 工具
8
+
9
+ | 工具 | 作用 |
10
+ |---|---|
11
+ | `mj7_search` | 关键词搜索标准/产品/材料 |
12
+ | `mj7_hot` | 热门品类 |
13
+ | `mj7_hs` | HS 编码联想标准 |
14
+ | `mj7_terms` | Incoterms 术语 |
15
+ | `mj7_docs` | 外贸单证清单 |
16
+ | `mj7_fx` | 人民币汇率 |
17
+
18
+ ## 安装
19
+
20
+ ```bash
21
+ dsh plugin --profile web add @liangjiehappy/dsh-plugin-mj7
22
+ ```
23
+
24
+ ## 配置
25
+
26
+ ```yaml
27
+ - insert:
28
+ - id: dsh-plugin-mj7
29
+ name: "@liangjiehappy/dsh-plugin-mj7"
30
+ config:
31
+ baseUrl: "https://www.mj7.cn"
32
+ ```
33
+
34
+ 零配置可用,默认 https://www.mj7.cn。
35
+
36
+ ## 权限声明
37
+
38
+ - 只对 `www.mj7.cn` 发 HTTPS GET(可配置 baseUrl)
39
+ - 不读写文件、不读凭证、不执行 shell
40
+ - 只读:不登录、不下单、不写数据
41
+
42
+ ## 限制
43
+
44
+ - 依赖 mj7.cn 公开 API(`/api/search`、`/api/hot`、`/api/hs`、`/api/terms`、`/api/docs`、`/api/fx`)
45
+ - API 变更可能导致工具失败;失败会返回真实 HTTP 错误
46
+ - 结果只做摘要与筛选,完整内容请打开站内页面
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@liangjiehappy/dsh-plugin-mj7",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "模极社 mj7.cn 只读数据工具:标准/产品搜索、HS 联想、Incoterms、贸易单证、人民币汇率。只访问 www.mj7.cn。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "files": [
8
8
  "lib",
9
9
  "cordis.patch.yml",
10
- "README.md"
10
+ "README.md",
11
+ "README.zh-CN.md"
11
12
  ],
12
13
  "dsh": {
13
14
  "bundle": {