@flightmaster/dast-cli 1.0.0 → 1.0.2
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 +3 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -24,15 +24,11 @@ npm link
|
|
|
24
24
|
export DAST_API_KEY=sk_phone_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- 格式:`sk_phone_` + 32 位小写字母或数字
|
|
30
|
-
- 每个请求自动带 `Authorization: Bearer <PhoneKey>`(无需、也不会依赖 `MCP-Session-Id`)
|
|
31
|
-
- Key 可从 [https://dast.133.cn](https://dast.133.cn) 获取;创建时完整串只显示一次
|
|
27
|
+
- DAST_API_KEY 从 [https://dast.133.cn](https://dast.133.cn) 获取
|
|
32
28
|
|
|
33
29
|
| 变量 | 说明 | 默认值 |
|
|
34
30
|
| :--- | :--- | :--- |
|
|
35
|
-
| `DAST_API_KEY` |
|
|
31
|
+
| `DAST_API_KEY` | **必填** | - |
|
|
36
32
|
| `DAST_MCP_URL` | 自定义 MCP 服务地址 | `https://fly.huoli.com/mcp/dast_mcp` |
|
|
37
33
|
| `DAST_TIMEOUT` | 全局请求超时(毫秒) | `20000` |
|
|
38
34
|
|
|
@@ -83,7 +79,7 @@ dast call dast_flight_dynamic -a '{"fnum":"CA1831","date":"2026-09-09"}'
|
|
|
83
79
|
| `101` | GATEWAY_ERROR | 网关/网络错误 |
|
|
84
80
|
| `102` | NOT_FOUND | 工具不存在 |
|
|
85
81
|
| `103` | INVALID_ARGS | 参数非法(含 JSON 解析失败) |
|
|
86
|
-
| `104` | UNAUTHORIZED |
|
|
82
|
+
| `104` | UNAUTHORIZED | 认证失败 |
|
|
87
83
|
| `105` | TIMEOUT | 超时 |
|
|
88
84
|
| `106` | INTERNAL_ERROR | CLI 内部错误 |
|
|
89
85
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flightmaster/dast-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"mcpName": "io.github.flight-master-dast/dast-cli",
|
|
5
5
|
"description": "DAST MCP CLI — fixed single-server client for Flight Master aviation data",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"registry": "https://registry.npmjs.org/"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
|
-
"node": ">=
|
|
47
|
+
"node": ">=20"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"axios": "^1.14.0",
|