EricJiang0423/dsh-orchestrator0

dsh-orchestrator

Local-first issue board for DeepSeek Harness: board data, model-facing tools, an agent planning loop, and a human approval queue for agent-proposed issues.

AI 分析

核心用途是提供本地优先的任务看板与智能体规划管理。适合需要在 DSH 聊天中直接捕获任务、配置调度器,并对智能体建议的任务进行人工审批的开发者。

パッケージ
dsh-orchestrator
バージョン
0.1.0
ライセンス
Apache-2.0
最終更新
2026/08/15

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:EricJiang0423/dsh-orchestrator

ドキュメント

README 全文を読む ↗

Usage

Capture an issue without leaving the chat

/task Fix the flaky checkout test

Call the board from another plugin

import type {} from 'dsh-orchestrator'

export const inject = ['taskboard']

export function apply(ctx: Context) {
  const open = ctx.taskboard.listTasks({ status: 'todo' })
}

Call the RPC endpoint

const res = await fetch('/_dsh/taskboard/rpc', {
  method: 'POST',
  headers: { 'content-type': 'application/json' },
  body: JSON.stringify({
    method: 'task.update',
    params: { id, patch: { status: 'in_review' }, expectedVersion: 3 },
  }),
})

Configure the scheduler and the planning loop

- id: taskboard
  config:
    scheduler:
      concurrency: 2
      autoPull: true
    plan:
      maxRounds: 16
      maxHandoffChars: 8192

Configuration

KeyDefaultDescription
scheduler.concurrency1How many issues may run at once; changeable live from the board header
scheduler.autoPulltrueWhether the board pulls from todo on its own; changeable live from the board header
scheduler.sweepIntervalMs30000Safety-net sweep that frees slots occupied by vanished sessions
plan.subagentProviderspawnFresh structured-output subagent provider used for every planning round
plan.maxRounds32Default AND ceiling for one taskboard_plan run; a call may lower it, never raise it
plan.maxHandoffChars16384Maximum serialized characters in one round's structured report; an oversized report fails the run instead of being truncated
plan.maxIssues16Maximum issues admitted into one planning run