dsh-task-splitter: Identifying and Automatically Splitting Long Tasks on the Host Side to Adapt to Local Models with Small Contexts

dsh-task-splitter is a DSH workflow plugin maintained by Passenger-Qin. On the host side, it employs heuristics to identify two types of tasks: "long-output" and "multi-step processes." Lane A constructs the parts skeleton and MANIFEST, writing in chunks with dsh-task-parts and then assembling them; Lane B establishes PLAN.md and notes, emphasizing planning first, one step per turn, and persisting results to disk. Procedures are injected via agent/pre-step in the same request. Installation is performed via `dsh plugin --profile` by adding dsh-task-splitter, with configurable options such as lanes, minScore, and workflowScore. It is suitable for small context scenarios like llama.cpp/Ollama; Lane B ensures process honesty rather than correctness of answers. MIT License, Node >= 20.

Read More