@liangjiehappy/dsh-plugin-cadpop 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 +23 -19
- package/README.zh-CN.md +43 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,41 +1,45 @@
|
|
|
1
1
|
# dsh-plugin-cadpop
|
|
2
2
|
|
|
3
|
-
CADPOP
|
|
3
|
+
Read-only CADPOP entry tools for DeepSeek Harness: parametric templates, help center, DFM entry, online editor, and drawing tools.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
中文说明见 [README.zh-CN.md](README.zh-CN.md).
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Tools
|
|
8
|
+
|
|
9
|
+
| Tool | Purpose |
|
|
8
10
|
|---|---|
|
|
9
|
-
| `cadpop_templates` |
|
|
10
|
-
| `cadpop_help` |
|
|
11
|
-
| `cadpop_dfm` | DFM
|
|
12
|
-
| `cadpop_app` |
|
|
13
|
-
| `cadpop_tools` |
|
|
11
|
+
| `cadpop_templates` | List parametric templates |
|
|
12
|
+
| `cadpop_help` | Open a help topic |
|
|
13
|
+
| `cadpop_dfm` | DFM manufacturability/quotation entry |
|
|
14
|
+
| `cadpop_app` | Online CAD editor entry |
|
|
15
|
+
| `cadpop_tools` | Drawing tools collection page |
|
|
14
16
|
|
|
15
|
-
##
|
|
17
|
+
## Install
|
|
16
18
|
|
|
17
19
|
```bash
|
|
18
20
|
dsh plugin --profile web add @liangjiehappy/dsh-plugin-cadpop
|
|
19
21
|
```
|
|
20
22
|
|
|
21
|
-
##
|
|
23
|
+
## Config
|
|
22
24
|
|
|
23
25
|
```yaml
|
|
24
26
|
- insert:
|
|
25
27
|
- id: dsh-plugin-cadpop
|
|
26
|
-
name: dsh-plugin-cadpop
|
|
28
|
+
name: "@liangjiehappy/dsh-plugin-cadpop"
|
|
27
29
|
config:
|
|
28
30
|
baseUrl: "https://cadpop.com"
|
|
29
31
|
```
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
Zero-config works; the default base URL is `https://cadpop.com`.
|
|
34
|
+
|
|
35
|
+
## Permissions
|
|
32
36
|
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
37
|
+
- Outbound HTTPS GET to `cadpop.com` only (configurable `baseUrl`)
|
|
38
|
+
- No file reads or writes, no credential access, no shell
|
|
39
|
+
- Read-only: no drawing upload, no payment
|
|
36
40
|
|
|
37
|
-
##
|
|
41
|
+
## Limitations
|
|
38
42
|
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
43
|
+
- No automatic pricing: DFM prices come from the page, never promised by the AI
|
|
44
|
+
- Template list is parsed from `/help/templates/`; page redesigns may affect parsing
|
|
45
|
+
- Drawing generation belongs to the site/other plugins, not this one
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# dsh-plugin-cadpop
|
|
2
|
+
|
|
3
|
+
CADPOP(cadpop.com)只读入口插件:参数化模板清单、帮助中心、DFM 入口、在线编辑器、图纸工具页。
|
|
4
|
+
|
|
5
|
+
English docs: [README.md](README.md).
|
|
6
|
+
|
|
7
|
+
## 工具
|
|
8
|
+
|
|
9
|
+
| 工具 | 作用 |
|
|
10
|
+
|---|---|
|
|
11
|
+
| `cadpop_templates` | 列出参数化模板 |
|
|
12
|
+
| `cadpop_help` | 打开帮助主题 |
|
|
13
|
+
| `cadpop_dfm` | DFM 制造分析/报价入口 |
|
|
14
|
+
| `cadpop_app` | 在线 CAD 编辑器入口 |
|
|
15
|
+
| `cadpop_tools` | 图纸工具集合页 |
|
|
16
|
+
|
|
17
|
+
## 安装
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
dsh plugin --profile web add @liangjiehappy/dsh-plugin-cadpop
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## 配置
|
|
24
|
+
|
|
25
|
+
```yaml
|
|
26
|
+
- insert:
|
|
27
|
+
- id: dsh-plugin-cadpop
|
|
28
|
+
name: "@liangjiehappy/dsh-plugin-cadpop"
|
|
29
|
+
config:
|
|
30
|
+
baseUrl: "https://cadpop.com"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## 权限声明
|
|
34
|
+
|
|
35
|
+
- 只对 `cadpop.com` 发 HTTPS GET
|
|
36
|
+
- 不读写文件、不读凭证、不执行 shell
|
|
37
|
+
- 只读:不上传图纸、不发起支付
|
|
38
|
+
|
|
39
|
+
## 限制
|
|
40
|
+
|
|
41
|
+
- 不自动报价:DFM 价格以页面结果为准
|
|
42
|
+
- 模板清单从 `/help/templates/` 解析,页面改版可能影响解析
|
|
43
|
+
- 生成图纸等能力属于 cadpop 站内/其它插件,不在本插件范围
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liangjiehappy/dsh-plugin-cadpop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "CADPOP 在线 CAD 工具入口:模板清单、帮助中心、DFM 制造分析、编辑器与图纸工具页。只访问 cadpop.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": {
|