v0.1.36
π Release Highlights β v0.1.36 (2026-01-09)
π @path Context Handling
- Inline File Picker: Type
@to trigger autocomplete file picker popup - Permission Syntax:
@path(read),@path:w(write),@dir/(directory) - Context Accumulation: Paths persist across conversation turns
- Deferred Agent Creation: Docker containers launch once with all accumulated paths
πͺ Hook Framework
- PreToolUse Hooks: Permission validation and argument modification before tool execution
- PostToolUse Hooks: Content injection with
tool_resultoruser_messagestrategies - Built-in Hooks:
MidStreamInjectionHookfor cross-agent updates,HighPriorityTaskReminderHookfor system reminders - Pattern Matching: Glob-style patterns to match specific tools (e.g.,
Write|Edit,mcp__*) - Error Handling: Configurable fail-open/fail-closed behavior with timeout enforcement
π Claude Code Integration
- Native Hooks: Claude Code hooks work seamlessly within MassGen's hook framework
- Hook Result Aggregation: Multiple hooks combine results (any deny blocks, injections combine)
- Improved Docker Management: Better container lifecycle and resource handling
π Getting Started
- Quick Start Guide: Try the new features today
- Try These Examples:
# Reference files with @path syntax - autocomplete file picker
uv run massgen
# Then type: Analyze @src/main.py and suggest improvements
# Test hook framework with built-in hooks
uv run massgen --config massgen/configs/debug/injection_delay_test.yaml \
"Create a simple poem and write it into a file"
# View logs for MidStreamInjectionHook (cross-agent updates) and HighPriorityTaskReminderHook (system reminders)injection_delay_test.yaml- Test configuration for built-in injection hooks
What's Changed
- docs: Update README with installation and setup instructions by @franklinnwren in #687
- feat: Unify Context Path Handling with
@pathSyntax by @ncrispino in #771 - feat: Hook Framework for Agent Lifecycle Events by @ncrispino in #769
- docs: docs for v0.1.36 by @Henry-811 in #775
- feat: v0.1.36 by @Henry-811 in #774
Full Changelog: v0.1.35...v0.1.36