Skip to content

Quick fixes and improvements#12

Merged
nbeerbower merged 1 commit into
mainfrom
claude/quick-fixes-improvements-F6Vge
Jan 2, 2026
Merged

Quick fixes and improvements#12
nbeerbower merged 1 commit into
mainfrom
claude/quick-fixes-improvements-F6Vge

Conversation

@nbeerbower

Copy link
Copy Markdown
Contributor
  • Fix User-Agent version mismatch (1.0.0 -> 1.0.5) in GitHub API client
  • Add empty string bounds checks before accessing string[0] to prevent crashes
  • Use unique temp file names with PID+timestamp to avoid race conditions
  • Optimize cache size calculation to use file_size() instead of reading content
  • Implement SHA256 integrity calculation for downloaded tarballs
  • Remove duplicate parse_int function by exporting from semver module

@nbeerbower
nbeerbower force-pushed the claude/quick-fixes-improvements-F6Vge branch from fbce3a1 to 113b743 Compare January 2, 2026 01:17
- Fix User-Agent version to match HPM_VERSION
- Add empty string bounds checks before accessing string[0]
- Use unique temp file names with PID+timestamp to avoid race conditions
- Use file_stat() to get cache size without reading file content
- Implement SHA256 integrity calculation for downloaded tarballs
- Remove duplicate parse_int function by exporting from semver module
- Bump version to 1.0.6
@nbeerbower
nbeerbower force-pushed the claude/quick-fixes-improvements-F6Vge branch from 113b743 to 223a6d6 Compare January 2, 2026 01:20
@nbeerbower
nbeerbower merged commit f85946e into main Jan 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants