PR #1339 — Windows Fix + CC 2.1.105 Adoption

v7.42.0 · Closes #1338

38Files Fixed
140+Subprocess Calls
1New Hook
7594Tests Passing
173Total Hooks

Windows CMD Window Fix

Added windowsHide: true to every execFileSync/execSync call across 38 source files:

FileCallsFrequency
lib/git.ts1010-50x/session — highest impact
posttool/auto-lint.ts9per Write/Edit
notification/sound.ts3per notification
notification/desktop.ts3per notification
34 other files~80varies

CC 2.1.105 Adoption

FeatureChange
NEW PreCompact guardNew lifecycle/pre-compact-guard hook blocks compaction when background agents are active
NEW PermissionDenied retrydenial-notification returns {retry: true} on isolated denials
NEW HookResult fieldsAdded decision: 'block' | 'approve' and retry: boolean
BUMP CC floor2.1.94 → 2.1.105 across marketplace, CLAUDE.md, README, CI
BREAK TaskOutputRemoved from 5 skills (deprecated CC 2.1.83)

PreCompact Guard Behavior

elapsed since last agent spawn < 5min  →  BLOCK compaction
elapsed >= 5min OR no spawns            →  ALLOW
CLAUDE_CODE_ALLOW_COMPACT_DURING_AGENTS=1 →  ALLOW (override)