TingRuDeng/dsh-feishu-bot2

@tingrudeng/dsh-feishu-bot

Feishu (Lark) private-chat frontend for DeepSeek Harness: drive, monitor, and approve local agents from Feishu, sharing sessions with the Web GUI

AI 分析

核心用途是实现通过飞书客户端远程与本地 DSH Agent 交互及审批提权。适合需要移动端办公、远程监控 Agent 任务的用户。

パッケージ
@tingrudeng/dsh-feishu-bot
バージョン
0.1.0-rc.7
ライセンス
MIT
最終更新
2026/08/17

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TingRuDeng/dsh-feishu-bot

ドキュメント

README 全文を読む ↗

Configuration reference

Gateway options:

KeyDefaultPurpose
appIdRef / appSecretRefbundle: FEISHU_APP_ID / FEISHU_APP_SECRETCredential-service references; never raw secrets
sendRetryBaseMs500Exponential retry base delay
sendMaxAttempts4Shared maximum attempts for text and card sends
sendCircuitCooldownMs30000Per-chat cooldown after the retry budget is exhausted
disposeDrainTimeoutMs5000Maximum HMR/shutdown drain time for accepted sends

Bridge options:

KeyDefaultPurpose
allowedOpenIds[]Users allowed to interact; empty rejects everyone
allowedWorkspaces[]Canonical roots visible to /ls, /use, and /new; empty authorizes none
defaultWorkspaceunsetDefault /new cwd; ~ is supported and load fails if the resolved directory is outside the allowed roots
freshnessMs600000Maximum age of a newly delivered Feishu event
listingTtlMs300000Lifetime of the latest /ls card and ordinal snapshot
cardThrottleMs1000Minimum interval between non-terminal task-card patches
recoveryTtlMs86400000Maximum age of interrupted inbound work eligible for restart recovery
bindingCleanupTimeoutMs5000Independent timeout for disposing a newly-created session after a failed binding switch
disposeDrainTimeoutMs5000Bridge deadline for admitted chat/card/approval/projection work before storage is closed
inboundRetentionMs / inboundMaxRecords604800000 / 50000Terminal inbound retention and hard capacity; protected recoverable rows cause backpressure instead of eviction
outboundRetentionMs / outboundMaxRecords604800000 / 10000Legacy outbox/dead-letter retention and hard capacity
outboundPendingTtlMs86400000Age at which a legacy unsent segment is abandoned and its body cleared
deliveryRetentionMs / deliveryMaxRecords604800000 / 10000Canonical result-delivery retention and hard capacity
deliveryPendingTtlMs86400000Age at which an unsent canonical result is abandoned and its body cleared
approvalPendingTtlMs / approvalMaxRecords86400000 / 1000Inactive approval recovery-fact TTL and hard capacity; active/fresh ambiguous rows are protected
projectionCursorRetentionMs / projectionCursorMaxRecords604800000 / 10000Unbound cursor retention and hard capacity; active or pending-delivery cursors are protected
maintenanceIntervalMs86400000Retention sweep interval; 0 disables the periodic timer while startup cleanup still runs
agentProvider / agentModelunsetOptional paired override; when omitted, new and cold-resumed sessions follow Harness agent-default-model
webUrlhttp://127.0.0.1:3080Web GUI link placed on approval cards

Result-card segmentation uses a fixed 24 KiB soft limit over the complete Feishu create-message envelope; it is intentionally not a deployment setting.