Release activeagent 1.3.0 - #366
Merged
Merged
Conversation
Two changes have sat unreleased on main since 1.2.0 was published, and one of them is a bug that makes the dashboard misreport every streamed run. Minor rather than patch: agent-as-tool delegation adds a public DSL (`delegation :action, description:`) and a new lib/active_agent/delegation/ tree. Shipping a new primitive under a patch version would hide it from anyone reading the changelog to decide whether to upgrade. The streaming token fix rides along. Without it a `stream: true` generation reports zero tokens and zero cost, and the context-pressure estimate that depends on them never renders — a self-hosted dashboard shows an empty Tokens column beside runs that plainly called the API. actionagent needs no coordinated bump: its `>= 1.2, < 2` constraint already accepts this. Also repoints the v1.2.0 tag, which had drifted to a commit later than the one published as the 1.2.0 gem, so `git diff v1.2.0..main` overstated what was released. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
TonsOfFun
marked this pull request as ready for review
August 19, 2026 03:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
activeagentis still published at 1.2.0 whileactionagenthas shipped 1.2.1 and 1.2.2. Two changes have sat on main unreleased since, and one is a bug that makes the dashboard misreport every streamed run.Verified by unpacking the published gem:
record_stream_usageis absent fromactiveagent-1.2.0, andlib/active_agent/delegation/does not exist in it.Why minor, not patch
Delegation adds a public DSL (
delegation :action, description:) and a newlib/active_agent/delegation/tree. Shipping a new core primitive under a patch version hides it from anyone reading the changelog to decide whether to upgrade.The bug this unblocks
A
stream: truegeneration reports zero tokens and zero cost, and the context-pressure estimate that depends on them never renders. On a self-hosted dashboard that means an empty Tokens column and$0.00beside runs that plainly called the API.Confirmed end to end against OpenRouter (
anthropic/claude-sonnet-4.5): a streamed probe went fromusage=niltoinput=14 output=4, matching the same prompt issued non-streaming, and a real 30-page document-enrichment batch went from0/0to475/72.The v1.2.0 tag
The tag had drifted to
094ebe79(#364) — later than the commit actually published as the 1.2.0 gem — sogit diff v1.2.0..mainshowed nothing outstanding when in fact two changes were. It is repointed here to147418c8, verified byte-identical to the published gem acrosslib/active_agent.rb,base.rband_base_provider.rb.git push --force origin v1.2.0, and anyone who fetched it in the meantime needsgit fetch --tags --force.Compatibility
actionagent's>= 1.2, < 2constraint already accepts 1.3.0, so no coordinated bump is needed.Checklist before merging
git push --force origin v1.2.0(tag repoint)v1.3.0after merge🤖 Generated with Claude Code