Arcadia822/dsh-tmp-hook ↗★ 0

dsh-tmp-hook

One-time ephemeral webhook tool for DeepSeek Harness (dsh): mint a single-use callback URL, then wake the requesting agent session with the delivered payload. 适合需要通过临时回调URL唤醒智能体并传递外部数据的开发任务。

Package
dsh-tmp-hook
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.1.0
License
MIT
Last updated
Sep 18, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Arcadia822/dsh-tmp-hook

Configuration

keydefaultmeaning
baseUrl''Public origin prepended to every callback URL. Must be an absolute http/https URL; trailing slashes are stripped. Empty means "derive it from the trust fence".
baseUrlScheme'https'Scheme assumed for a derived origin. Ignored when baseUrl is set.
pathPrefix'/api/tmp-hooks'Path prefix the callback route is registered under. Must be a sub-path; / is rejected.
ttlSeconds1800Default token lifetime when the tool call omits ttl_seconds.
minTtlSeconds30Lower clamp for a requested ttl_seconds.
maxTtlSeconds86400Upper clamp for a requested ttl_seconds.
maxBodyBytes262144Maximum accepted callback body. Larger bodies get 413.
sweepIntervalMs60000Period between expired-token sweeps. 0 disables the sweeper (records then only die on access).
deliverTimeoutMs15000Budget for admitting a delivered message into its session.
allowUnauthenticatedtrueCompose with dsh-auth-gate so the callback prefix is reachable without a dsh login session. See below.

Unknown keys and malformed values are rejected at load time: a bad config fails the boot instead of failing the first callback.