22-ai-00/dsh-enhanced--plugins-assistant-delivery ↗★ 2
@dsh-enhanced/assistant-delivery
A durable, policy-gated inbound/outbound message core for DeepSeek Harness.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:22-ai-00/dsh-enhanced#bb3fb924f1bdb946901614b8b848ac3a1d60c642&path:plugins/assistant-delivery说明文档
阅读完整 README ↗配置
| 字段 | 默认值 | 含义 |
|---|---|---|
databasePath | $DSH_HOME/assistant-delivery/state.sqlite | 私有 SQLite 权威账本,必须为绝对路径 |
spoolPath | $DSH_HOME/assistant-delivery/spool | 预留的私有附件隔离目录,必须为绝对路径 |
schedulerEnabled | true | 启用 Inbox/Outbox 后台 pump |
tickIntervalMs | 1000 | pump 周期 |
leaseMs | 30000 | 单次 Inbox/Outbox/模型确认 claim 租约,也是模型确认实时解析的 deadline;运行中的 Inbox turn 与 Outbox send 都会周期续租 |
maxAttempts | 5 | 发送与 unknown 对账各自的自动尝试上限;owner 显式 retry 会在不重置审计计数的前提下再授予一次尝试;无对账能力的 unknown 保持待人工处理 |
maxConcurrency | 4 | 跨 owner scope 并发数;同一 durable principal row + workspace + preset 即使有多个 binding 也按 Inbox admission 顺序串行 |
maxTextBytes | 65536 | 单条入站/出站正文 UTF-8 上限 |
retryBaseMs / retryMaxMs | 1000 / 300000 | 指数退避边界;adapter 的 Retry-After 是下限 |
pairingTtlMs / pairingMaxAttempts | 600000 / 5 | 一次性本地配对时效与尝试上限 |
defaultWorkspace | $DSH_HOME/assistant-workspace | 新 session 的绝对工作区;fresh create 前自动创建缺失目录 |
defaultAgentPreset | standard | 新 session 解析并挂载的 preset;该内置 preset 提供 Bash、文件、检索、Skills 等完整编码能力 |
policyRef | owner-dm | 固化在 binding 上的策略引用标签 |
agentProvider / agentModel | deepseek-official / deepseek-v4-flash | 渠道 Agent 的部署默认模型;会话可用 /model 覆盖 |
agentMaxOutputTokens | 8192 | 单轮模型输出上限 |
agentMaxAutoContinuationTurns | 2 | 截断、空响应或超出渠道正文预算时的后台自动恢复轮数;范围 0–8,设为 0 可关闭 |
agentGoalContinuationTimeoutMs | 0 | 在原始前台回复已入队后,保留同一 Agent 等待当前已 armed 的原生目标继续执行的时间上限;范围 0–300000 毫秒,默认关闭,需 Host 挂载原生 GoalService 与 goal-round-driver |
modelPickerTtlMs | 900000 | /model 选择卡片的签名提交有效期;范围 1 分钟至 24 小时 |
permissionPickerTtlMs | 900000 | /permissions 三档权限卡片的签名提交有效期;范围 1 分钟至 24 小时 |
toolApprovalTtlMs | 300000 | 当前 open turn 的即时工具审批有效期;范围 1 秒至 5 分钟 |
ownerRoutes | [] | Host-owned 稳定 owner 路由;每项精确固定 id、conversation、principal、绝对 workspace、preset、policyRef 和 minimumGeneration |
所有可变部署值都经过 Schemastery 校验。每个 binding 会持久固定 workspace 与已解析的 preset id;有 roster 时,fresh create 和 cold resume 都在 Agent 发布前挂载该 preset,不能把 session header 中的 agentPreset 当成已经完成组合。fresh create 的新 workspace 使用 0700 请求模式,已有目录的权限不会被改写;cold resume 只验证持久 workspace 仍是目录,不会在仓库被删除或网络盘掉线时悄悄创建一个空目录。SQLite 使用 WAL、synchronous=FULL、foreign keys、busy timeout 和 forward-only schema;私有目录/数据库权限分别收窄为 0700 / 0600,未来 schema 会拒绝打开。