Skip to content

v0.1.36

Choose a tag to compare

@Henry-811 Henry-811 released this 09 Jan 18:46
· 668 commits to main since this release
1fdc710

πŸš€ 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_result or user_message strategies
  • Built-in Hooks: MidStreamInjectionHook for cross-agent updates, HighPriorityTaskReminderHook for 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

# 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)

What's Changed

Full Changelog: v0.1.35...v0.1.36