@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 +24 -24
- package/README.zh-CN.md +46 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
# dsh-plugin-mj7
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
|
|
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
|
-
|
|
34
|
+
Zero-config works; the default base URL is `https://www.mj7.cn`.
|
|
35
35
|
|
|
36
|
-
##
|
|
36
|
+
## Permissions
|
|
37
37
|
|
|
38
|
-
-
|
|
39
|
-
-
|
|
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
|
-
-
|
|
45
|
-
- API
|
|
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
|
package/README.zh-CN.md
ADDED
|
@@ -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.
|
|
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": {
|