Skip to content

build: develop and test against core 0.0.33; fix version notes in the README - #33

Merged
siarheidudko merged 2 commits into
mainfrom
claude/core-0.0.33
Nov 9, 2026
Merged

siarheidudko merged 2 commits into
mainfrom
claude/core-0.0.33

Conversation

@siarheidudko

@siarheidudko siarheidudko commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Why

@dudko.dev/agent-web is a peer dependency (so a host app shares one core instance) and also a dev dependency (so this repo can build and test). On 0.0.x a caret pins the patch: ^0.0.30 is exactly 0.0.30, so CI and the e2e were running against 0.0.30 while users get 0.0.33.

What

  • Dev dependency (root and demo) ^0.0.30 → ^0.0.33. The lockfiles change only the core's entries (a plain npm install also stripped unrelated libc metadata with this npm; reverted).
  • README: agent.usage / agent.sessionUsage() need core >=0.0.32 (the peer range allows >=0.0.30). The peer-floor sentence said >=0.0.20; the real floor is >=0.0.30 (the first core with the learning notebook — checked against the published 0.0.29 / 0.0.30 / 0.0.31 packages).
  • Demo: the hard thresholdTokens (6000) is removed. It was a leftover of the old core's estimate; since core 0.0.32 the fixed prompt, tool definitions and skills count towards the threshold, so 6000 would compact on every run. The core's 85% default applies now; /compact and the context meter's button show compaction sooner.
  • The peer range stays >=0.0.30.

Checks

typecheck, format:check, build, test (70 pass), demo typecheck + build, and the Playwright e2e (22 pass) — all against core 0.0.33.

🤖 Generated with Claude Code

https://claude.ai/code/session_011FKop4At26QqqkwVGEjJur

… README

- devDependency (root and demo) ^0.0.30 -> ^0.0.33. On 0.0.x a caret pins the patch, so CI and the
  e2e were running against 0.0.30, not the core users get. Lockfiles: only the core's entries
  changed.
- README: the peer floor sentence said >=0.0.20; it is >=0.0.30 (first core with the learning
  notebook). agent.usage / agent.sessionUsage() need >=0.0.32.
- demo: the compaction threshold was a fixed 6000 tokens, under what the fixed prompt, tool
  definitions and skills weigh since core 0.0.32 - it would compact on every run. Now
  min(24000, 85% of the window).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FKop4At26QqqkwVGEjJur
The explicit thresholdTokens was a leftover of the old core's estimate. It is removed, as agreed:
the core compacts at 85% of the window, judged on the whole context. /compact and the context
meter's button show compaction sooner.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FKop4At26QqqkwVGEjJur
@siarheidudko
siarheidudko marked this pull request as ready for review November 9, 2026 09:01
@siarheidudko
siarheidudko merged commit a250563 into main Nov 9, 2026
3 checks 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