Commit Graph

3 Commits

Author SHA1 Message Date
dependabot[bot]
2b7f312e0b chore(deps-dev): bump @types/node from 20.19.27 to 25.0.3 (#2)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.19.27 to 25.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-04 23:23:13 +11:00
melon
6176ba474a fix: add autocompact buffer to context percentage calculation (#6)
Adds AUTOCOMPACT_BUFFER (45k tokens) to match /context output.
This accounts for the reserved space Claude Code uses for autocompact.

Changes:
- Add src/constants.ts with AUTOCOMPACT_BUFFER export
- Update getContextPercent to include buffer in calculation
- Add edge case guard for invalid context window sizes
- Update tests to use realistic 200k context sizes

Closes #4

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: melon-hub <melon-hub@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 22:19:44 +11:00
Jarrod Watts
ae23038aab fix: add package-lock.json for CI caching (#9)
* fix: add package-lock.json for CI caching

- Remove package-lock.json from .gitignore
- Delete bun.lock (project uses npm, not bun)
- Fixes: "Dependencies lock file is not found" error in CI

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: address review feedback

- Regenerate package-lock.json to fix version mismatch (was 2.0.0, now 0.0.1)
- Remove redundant yarn.lock from .gitignore (project uses npm only)
- Update comment for clarity

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: keep yarn.lock and bun.lock in .gitignore

Prevents accidental commits if someone uses yarn or bun locally.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 21:03:08 +11:00