22-ai-00/dsh-enhanced--plugins-assistant-delivery2

@dsh-enhanced/assistant-delivery

A durable, policy-gated inbound/outbound message core for DeepSeek Harness.

包名
@dsh-enhanced/assistant-delivery
版本
0.1.28
许可证
MIT
最近更新
2026年9月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:22-ai-00/dsh-enhanced#bb3fb924f1bdb946901614b8b848ac3a1d60c642&path:plugins/assistant-delivery

配置

字段默认值含义
databasePath$DSH_HOME/assistant-delivery/state.sqlite私有 SQLite 权威账本,必须为绝对路径
spoolPath$DSH_HOME/assistant-delivery/spool预留的私有附件隔离目录,必须为绝对路径
schedulerEnabledtrue启用 Inbox/Outbox 后台 pump
tickIntervalMs1000pump 周期
leaseMs30000单次 Inbox/Outbox/模型确认 claim 租约,也是模型确认实时解析的 deadline;运行中的 Inbox turn 与 Outbox send 都会周期续租
maxAttempts5发送与 unknown 对账各自的自动尝试上限;owner 显式 retry 会在不重置审计计数的前提下再授予一次尝试;无对账能力的 unknown 保持待人工处理
maxConcurrency4跨 owner scope 并发数;同一 durable principal row + workspace + preset 即使有多个 binding 也按 Inbox admission 顺序串行
maxTextBytes65536单条入站/出站正文 UTF-8 上限
retryBaseMs / retryMaxMs1000 / 300000指数退避边界;adapter 的 Retry-After 是下限
pairingTtlMs / pairingMaxAttempts600000 / 5一次性本地配对时效与尝试上限
defaultWorkspace$DSH_HOME/assistant-workspace新 session 的绝对工作区;fresh create 前自动创建缺失目录
defaultAgentPresetstandard新 session 解析并挂载的 preset;该内置 preset 提供 Bash、文件、检索、Skills 等完整编码能力
policyRefowner-dm固化在 binding 上的策略引用标签
agentProvider / agentModeldeepseek-official / deepseek-v4-flash渠道 Agent 的部署默认模型;会话可用 /model 覆盖
agentMaxOutputTokens8192单轮模型输出上限
agentMaxAutoContinuationTurns2截断、空响应或超出渠道正文预算时的后台自动恢复轮数;范围 08,设为 0 可关闭
agentGoalContinuationTimeoutMs0在原始前台回复已入队后,保留同一 Agent 等待当前已 armed 的原生目标继续执行的时间上限;范围 0300000 毫秒,默认关闭,需 Host 挂载原生 GoalService 与 goal-round-driver
modelPickerTtlMs900000/model 选择卡片的签名提交有效期;范围 1 分钟至 24 小时
permissionPickerTtlMs900000/permissions 三档权限卡片的签名提交有效期;范围 1 分钟至 24 小时
toolApprovalTtlMs300000当前 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 使用 WALsynchronous=FULL、foreign keys、busy timeout 和 forward-only schema;私有目录/数据库权限分别收窄为 0700 / 0600,未来 schema 会拒绝打开。