Skip to main content

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 promptsplanningPrompt and stepPrompt overrides for fine-tuned behavior
  • Workflow engine fixes — removed plan header leak, improved dynamic step context, removed unimplemented try_alternative strategy

Breaking changes

  • createImplicitPlan removed from Planner. Use createPlan() directly.
  • try_alternative failure strategy removed from WorkflowConfig.onFailure.strategy. Use 'abort', 'skip', or 'ask_user'.
  • allowAlternativePath field removed from WorkflowConfig.

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 tasks
  • CODING_WORKFLOW — concise planning for development tasks
  • CHAT_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