Commit Graph
4 Commits
Author SHA1 Message Date
Julius Brussee 7d6aa3ac65 Merge PR #38: Security patch, SDK support, and file size limit 2026-04-09 01:07:16 +02:00
Julius BrusseeandClaude Opus 4.6 8195e1a4a0 fix: PATH_REGEX must require path separator to avoid false positives
Making the prefix optional matched every English word as a path.
Now requires either a path prefix (./ ../ / drive:) or contains / or \.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 01:05:31 +02:00
Test UserandClaude Opus 4.6 d37c921f29 Fix path regex and prevent backup file overwriting
- Fix PATH_REGEX in validate.py: The regex was incorrectly matching
  relative paths like 'src/file.js' as 'rc/' instead of the full path.
  Changed to use non-capturing group with optional prefix.

- Add safety check in compress.py: Prevent silent overwriting of
  existing .original.md backup files. Now aborts with a warning
  instead of overwriting potentially important backup content.

- Add proper module initialization in __init__.py: Previously empty,
  now includes __all__ exports and __version__ for proper imports.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 16:32:37 +08:00
amrutsavadatti 7d86dc665d Add caveman-compress skill 2026-04-05 21:02:34 -04:00