rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:LJH-snow/dsh-tool-cloudflare
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A read-only Cloudflare REST plugin for DeepSeek Harness (dsh). Agents can verify an API token, inspect zones and DNS records, list Worker scripts, and review Worker deployment history.
The plugin uses scoped Cloudflare API Tokens with the REST API. It does not upload code, change DNS, deploy Workers, or expose raw API responses to the model.
npm install @libai168/dsh-tool-cloudflare
Requires @deepseek-ai/cordis (^4.0.1) and @deepseek-ai/dsh-tools (^0.1.0-rc.6) as peer dependencies.
Create a scoped API Token in the Cloudflare dashboard. Grant only the read permissions needed by the tools, such as Zone Read, DNS Read, and Workers Scripts Read. Do not use a global API key or commit a token.
- name: '@libai168/dsh-tool-cloudflare'
config:
apiToken: 'replace-with-a-scoped-cloudflare-api-token'
accountId: 'optional-account-id-for-workers'
zoneId: 'optional-default-zone-id-for-dns'
# baseUrl: 'https://api.cloudflare.com/client/v4'
# timeoutMs: 15000
Account and zone identifiers may also be supplied per tool call. Full example: examples/cordis.yml.
| Tool | Description | Access |
|---|---|---|
| cf_auth_test | Verify the API token and return token status fields | read |
| cf_list_zones | List zones with name/status filters and pagination | read |
| cf_list_dns_records | List DNS records for a zone | read |
| cf_list_workers | List Worker scripts in an account | read |
| cf_list_worker_deployments | List deployment history for one Worker script | read |
The plugin intentionally has no DNS write, Worker upload, deployment, Pages, R2, or D1 mutation tools in this release.
baseUrl override must be an absolute http(s) root URL. Only publicly reachable hosts are allowed: localhost, loopback, private, link-local, CGNAT, multicast, reserved/documentation/benchmark ranges, and every IANA special-purpose block are rejected, and a hostname whose DNS results contain any such address fails closed before the request is sent.The model can use cf_auth_test first, then cf_list_zones or cf_list_workers to discover identifiers. It should pass the returned zoneId, accountId, and Worker script id into later calls. Deployment history is bounded and does not include uploaded script source.
npm install
npm run typecheck
npm test
npm run build
npm pack --dry-run
See DEVELOPMENT.md for endpoint mapping and release checks.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。