Squash merges feat/windows-hooks-and-launch (PR #1033) into PR1. Blockers addressed: - B16: ~/.ao/bin/gh and git wrappers are now Node.js scripts + .cmd shims on Windows (bash on Unix unchanged). WRAPPER_VERSION bumped to 0.3.0 to force reinstall. - B17: Claude Code PostToolUse hook uses JSON.parse/fs built-ins on Windows instead of bash+jq+grep+sed. Atomic writes via temp file + renameSync. chmod skipped on Windows. - B18: runtime-process uses getShell().cmd + shellInfo.args() instead of shell:true (which resolves to cmd.exe on Windows). getShell() returns pwsh > powershell.exe > cmd.exe on Windows, bash on Unix. Conflict resolution: - runtime-process spawn: kept PR5's getShell() approach (B18 fix), removed shell:true which PR1 had as a placeholder. - runtime-process destroy: kept PR1's cleaner killProcessTree delegation (PR5 had inline platform-branching written before killProcessTree was integrated into this worktree). - Tests: merged PR5's new Windows compatibility tests, adjusted assertions to match PR1's killProcessTree(pid, signal) API. Fixed Windows compat tests that expected old spawn(launchCommand, opts) signature. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| CHANGELOG.md | ||
| package.json | ||
| tsconfig.json | ||