@liangjiehappy/dsh-plugin-mfgabc 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,41 +1,45 @@
1
1
  # dsh-plugin-mfgabc
2
2
 
3
- mfgabc.com 只读查询插件:标准页、产业带城市、工艺集群、跨境合规、任意站内页。
3
+ Read-only mfgabc.com tools for DeepSeek Harness: standards pages, industrial city guides, process clusters, and cross-border compliance pages.
4
4
 
5
- ## 工具
5
+ 中文说明见 [README.zh-CN.md](README.zh-CN.md).
6
6
 
7
- | 工具 | 作用 |
7
+ ## Tools
8
+
9
+ | Tool | Purpose |
8
10
  |---|---|
9
- | `mfgabc_standard` | 标准号 → 标准页(状态/标题/链接) |
10
- | `mfgabc_city` | 城市产业带页 |
11
- | `mfgabc_process` | 工艺集群页(工艺 + 城市) |
12
- | `mfgabc_compliance` | 跨境合规页(品类 + 国家) |
13
- | `mfgabc_page` | 任意站内路径查询 |
11
+ | `mfgabc_standard` | Standard number → standards page (status/title/link) |
12
+ | `mfgabc_city` | Industrial city guide page |
13
+ | `mfgabc_process` | Process cluster page (process + city) |
14
+ | `mfgabc_compliance` | Cross-border compliance page (category + country) |
15
+ | `mfgabc_page` | Inspect any path on the site |
14
16
 
15
- ## 安装
17
+ ## Install
16
18
 
17
19
  ```bash
18
20
  dsh plugin --profile web add @liangjiehappy/dsh-plugin-mfgabc
19
21
  ```
20
22
 
21
- ## 配置
23
+ ## Config
22
24
 
23
25
  ```yaml
24
26
  - insert:
25
27
  - id: dsh-plugin-mfgabc
26
- name: dsh-plugin-mfgabc
28
+ name: "@liangjiehappy/dsh-plugin-mfgabc"
27
29
  config:
28
30
  baseUrl: "https://www.mfgabc.com"
29
31
  ```
30
32
 
31
- ## 权限声明
33
+ Zero-config works; the default base URL is `https://www.mfgabc.com`.
34
+
35
+ ## Permissions
32
36
 
33
- - 只对 `www.mfgabc.com` 发 HTTPS GET
34
- - 不读写文件、不读凭证、不执行 shell
35
- - 只读:不提交表单、不登录、不写数据
37
+ - Outbound HTTPS GET to `www.mfgabc.com` only (configurable `baseUrl`)
38
+ - No file reads or writes, no credential access, no shell
39
+ - Read-only: no form submission, no login, no writes
36
40
 
37
- ## 限制
41
+ ## Limitations
38
42
 
39
- - mfgabc 以静态页为主,工具返回页面状态/标题/链接,不做全文提取
40
- - 标准页 slug 由标准号规范化生成;个别标准可能 404,工具会如实返回状态码
41
- - 站点对 AI 训练爬虫有 403 策略;本插件以普通 UA 访问公开页面
43
+ - mfgabc is mostly static; tools return page status/title/link, not full text
44
+ - Standard slugs are normalized from the standard number; some may 404 and the real status is returned
45
+ - The site blocks AI training crawlers with 403; this plugin uses a plain UA for public pages
@@ -0,0 +1,43 @@
1
+ # dsh-plugin-mfgabc
2
+
3
+ mfgabc.com 只读查询插件:标准页、产业带城市、工艺集群、跨境合规、任意站内页。
4
+
5
+ English docs: [README.md](README.md).
6
+
7
+ ## 工具
8
+
9
+ | 工具 | 作用 |
10
+ |---|---|
11
+ | `mfgabc_standard` | 标准号 → 标准页(状态/标题/链接) |
12
+ | `mfgabc_city` | 城市产业带页 |
13
+ | `mfgabc_process` | 工艺集群页(工艺 + 城市) |
14
+ | `mfgabc_compliance` | 跨境合规页(品类 + 国家) |
15
+ | `mfgabc_page` | 任意站内路径查询 |
16
+
17
+ ## 安装
18
+
19
+ ```bash
20
+ dsh plugin --profile web add @liangjiehappy/dsh-plugin-mfgabc
21
+ ```
22
+
23
+ ## 配置
24
+
25
+ ```yaml
26
+ - insert:
27
+ - id: dsh-plugin-mfgabc
28
+ name: "@liangjiehappy/dsh-plugin-mfgabc"
29
+ config:
30
+ baseUrl: "https://www.mfgabc.com"
31
+ ```
32
+
33
+ ## 权限声明
34
+
35
+ - 只对 `www.mfgabc.com` 发 HTTPS GET
36
+ - 不读写文件、不读凭证、不执行 shell
37
+ - 只读:不提交表单、不登录、不写数据
38
+
39
+ ## 限制
40
+
41
+ - mfgabc 以静态页为主,工具返回页面状态/标题/链接,不做全文提取
42
+ - 标准页 slug 由标准号规范化生成;个别标准可能 404,工具会如实返回状态码
43
+ - 站点对 AI 训练爬虫有 403 策略;本插件以普通 UA 访问公开页面
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@liangjiehappy/dsh-plugin-mfgabc",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "mfgabc.com 制造业内容查询:标准页、产业带城市、工艺集群、跨境合规。只访问 www.mfgabc.com。",
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": {