TwistedRiCen / dsh-http-probe

목록에 있음

A bounded HTTP probe tool plugin for DeepSeek Harness.

main도구 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:TwistedRiCen/dsh-http-probe

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 3228a20동기화 2026. 8. 18.

dsh-http-probe

Third-party DeepSeek Harness plugin bundle providing the model-facing http_probe tool: a controlled HTTP GET against a deployment-owned probe target.

Features

  • Controlled probe: only the URL path is model-controlled; host and port come from deployment config.
  • Deployment-owned baseUrl.
  • Bounded response body read: past the byte cap the read stops and the canonical result carries truncated: true.
  • Cooperative timeout integration: the budget is declared on the tool and enforced by the host tool-call timeout policy.
  • Structured canonical Tool result (ok, status, url, contentType, body, truncated), with the model-facing text produced separately by output.render.
  • Redirects are not followed automatically (redirect: 'manual').

Installation

Prebuilt GitHub Release tarball (the currently verified distribution path):

  1. Download dsh-http-probe-0.1.0.tgz from the Releases page.
  2. Install it with:
dsh plugin --profile <profile> add /path/to/dsh-http-probe-0.1.0.tgz

The package declares dsh.bundle, so dsh plugin add registers it as a profile bundle layer automatically. Remove it with:

dsh plugin --profile <profile> remove dsh-http-probe

Configuration

FieldTypeDefaultMeaning
baseUrlstringhttp://127.0.0.1:3199Probe target base URL (http/https, normalized with a trailing /).
maxBodyBytesnumber8192Maximum response body bytes read from the wire; past it the read stops and the canonical result carries truncated: true.
timeoutMsnumber2000Cooperative tool-call timeout budget, enforced by the host's @deepseek-ai/dsh-tool-call-timeout-policy.

Config is validated by the plugin at load (no schema dependency): unknown fields and non-positive-integer limits fail loud.

Tool

  • Name: http_probe
  • Parameter: path only — must start with a single /; no .. segments, query, fragment, or control characters.

Example: Use the http_probe tool to GET /ok.

Security

  • The model cannot choose a full URL: only path is exposed.
  • baseUrl is deployment configuration.
  • Redirects are not followed automatically.
  • This is a fixed-target probe, not a general-purpose arbitrary-URL fetcher.

Compatibility / Developer Preview

  • Requires the host to provide @deepseek-ai/cordis@4.0.1 and @deepseek-ai/dsh-tools@0.1.0-rc.5 (hard peer dependencies).
  • @deepseek-ai/dsh-tools@0.1.0-rc.5 is not currently published on the npm registry, therefore:
    • Prebuilt tarball installation is verified and supported.
    • Git source self-contained install is not verified and is currently blocked.
    • Do not substitute a different @deepseek-ai/dsh-tools version; keep the exact host version.

Development

  • The public tsconfig.json carries no machine-specific paths and is used by pnpm build.
  • While @deepseek-ai/dsh-tools@0.1.0-rc.5 types are unavailable from the registry, local development uses a gitignored tsconfig.local.json that extends ./tsconfig.json with a paths mapping to a local rc.5 declaration build; run pnpm build:local to use it.
  • tsconfig.local.json never ships in the tarball and never enters Git.

저장소 정보

언어
TypeScript
라이선스
MIT
최신 릴리스
v0.1.0
마지막 업데이트
2026. 8. 14. 오전 9:15

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.