Degurechaff57/dsh-openapi4

dsh-openapi

适用于 DeepSeek Harness 的 OpenAPI 3.x 规范发现与安全 API 调用工具插件。

AI 分析

核心用途是让 Agent 能够动态解析 OpenAPI 规范并安全地调用外部 API。适合需要对接第三方标准接口、构建自动化集成任务的开发者。

套件
dsh-openapi
版本
0.1.0
授權
MIT
最近更新
2026年8月13日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Degurechaff57/dsh-openapi

Configuration

Top-level options:

FieldDefaultPurpose
apis[]Configured API documents
timeoutMs30000Per-call timeout
maxSpecBytes2097152Maximum local or remote spec size
maxResponseBytes262144Maximum response body returned to the model
maxRedirects3Redirect limit; every destination is rechecked
maxOperationsPerApi1000Catalog size limit per API

Each apis entry accepts:

FieldDefaultPurpose
idrequiredStable id used in tool calls
sourcerequiredHTTP(S) URL, file: URL, absolute path, or path relative to the Harness process
baseUrlspec serverExplicit API server override
headers{}Static non-secret headers
credentials[]Header/environment-variable mappings
allowedMethods[GET, HEAD]Methods the tool may invoke
allowPrivateNetworkfalseOpt in to loopback/private-network destinations