Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.9 KB

File metadata and controls

49 lines (40 loc) · 1.9 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Robustness improvements for transcript discovery system
    • Smart memory management with sampling limits
    • Parser resilience for malformed JSON handling
    • Prevention of excessive union types and recursion depth
    • Comprehensive data loss tracking and statistics
  • LICENSE file (MIT License)
  • CHANGELOG.md file for tracking version history
  • Specs and tests added to version control
  • Improved .gitignore for temporary files and test artifacts

Changed

  • Updated dependencies to fix security vulnerabilities
    • Upgraded vitest from 1.6.1 to 3.2.4
    • Upgraded @vitest/coverage-v8 to 3.2.4
  • Pinned exact dependency versions to prevent supply chain attacks
  • Optimized transcript discovery type generation
  • Fixed hook types completeness issues

Security

  • Fixed 5 moderate severity vulnerabilities in esbuild/vite/vitest dependency chain
  • Pinned exact dependency versions to prevent supply chain attacks

[0.1.0] - 2024-08-26

Added

  • Initial release with complete TypeScript types for Claude Code hooks
  • Runtime type guards for all hook events
  • Transcript discovery system for type generation from real-world data
  • Support for all standard Claude Code tools (Bash, Read, Write, Edit, etc.)
  • Comprehensive test coverage (85%)
  • Full documentation and examples
  • Hook event types for all Claude Code events (PreToolUse, PostToolUse, etc.)
  • Tool schema definitions for all Claude Code tools
  • Output types for hook responses
  • Discovery utilities for runtime type analysis
  • Example implementations demonstrating usage patterns

Deprecated

  • permission and permissionReason fields in PreToolUseOutput (use hookSpecificOutput instead)