v1.3.0
Released: April 5, 2026
Highlights
CODING_MODE— a new built-in mode optimized for software development tasks with concise planning and coding-specific tools- Workflow presets — three ready-made workflow configs:
AGENT_WORKFLOW,CODING_WORKFLOW,CHAT_WORKFLOW - Custom workflow prompts —
planningPromptandstepPromptoverrides for fine-tuned behavior - Workflow engine fixes — removed plan header leak, improved dynamic step context, removed unimplemented
try_alternativestrategy
Breaking changes
createImplicitPlanremoved fromPlanner. UsecreatePlan()directly.try_alternativefailure strategy removed fromWorkflowConfig.onFailure.strategy. Use'abort','skip', or'ask_user'.allowAlternativePathfield removed fromWorkflowConfig.
toolpack-sdk
CODING_MODE
toolpack.setMode('coding');
Concise planning, minimal conversational text, pre-configured with coding.read_code, coding.search_code, and related tools. Ideal for refactoring, debugging, and file manipulation.
Workflow presets
import { AGENT_WORKFLOW, CODING_WORKFLOW, CHAT_WORKFLOW } from 'toolpack-sdk';
const myMode = createMode({
name: 'research',
workflow: AGENT_WORKFLOW, // full planning for complex tasks
});
AGENT_WORKFLOW— full planning for autonomous tasksCODING_WORKFLOW— concise planning for development tasksCHAT_WORKFLOW— direct execution for conversational responses
Custom workflow prompts
const customWorkflow: WorkflowConfig = {
name: 'research',
planning: {
enabled: true,
planningPrompt: 'Your custom planning instructions...',
},
steps: {
enabled: true,
stepPrompt: 'Your custom step execution instructions...',
},
};
Install
npm install toolpack-sdk@1.3.0