Repository navigation
Version Packages - #620
Merged
Merged
Version Packages#620
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
blove
temporarily deployed
to
vercel-preview
September 10, 2026 06:34 — with
GitHub Actions
Inactive
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 10, 2026 06:44
e53fff1 to
4b5af2a
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 10, 2026 07:16
4b5af2a to
e6a4df3
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
September 10, 2026 07:36
e6a4df3 to
5305b46
Compare
blove
enabled auto-merge (squash)
September 10, 2026 19:47
4 tasks done
This branch was successfully deployed
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@b4run/[email protected]
Patch Changes
80a98ad: Authorize a thread's row before claiming its run slot on
POST /agui/:routeId.The AG-UI handler previously ran
runRegistry.beginbefore rechecking theconcrete row, so on the create-race path a caller the recheck ultimately denies
held the victim thread's run slot for the width of that recheck — a client-chosen
thread id let a denied caller brick a concurrent authorized run on the same
thread with a transient
run_in_flight409. The row authorization (and theimplicit create, when the turn makes one) now runs before the slot is claimed,
mirroring the Agent Protocol run handlers. Behavior is unchanged for authorized
callers and for hook-less apps.
80a98ad: Add
GET /threads/{id}/runs/stream— reattach to a running turn. A disconnectedclient rejoins by attaching to this read-only GET mirror of the POST stream: one
event: statesnapshot (channel values, the turn's coalesced frames so far, andparked interrupts) followed by the live tail, or an immediate durable snapshot +
donewhen no live turn exists in this process. It requires thread-accessreadplus middleware approval for the selectedproducer and the recorded parked, last-run, and anchor routes. The selected
turn stays fixed across asynchronous authorization. Backed by a bounded in-memory
LiveTurnHub; the durablepath works across restarts, replicas, and serverless. Being a GET with no body,
it is the first Agent Protocol stream a stock
EventSourcecan consume.@b4run/sdkgains one additiveThreadOperationmember,thread.attach, forthe new endpoint. A thread-access policy that switches exhaustively over
ThreadOperationshould add athread.attacharm; afallbackhandler alreadycovers it.
Canceling or aborting an attach releases its viewer slot and heartbeat without
stopping the producer. Slow viewers remain bounded and are detached on overflow.
The durable retry hint precedes
done, so clients can stop reading at the terminal frame.Bind checkpoint ownership to the exact checkpoint ID at the saver write boundary,
retaining verified ancestor routes and overwriting any upstream ownership claim.
Attach authorizes that provenance instead of inferring checkpoint ownership from
mutable thread metadata. Legacy or unknown checkpoint ancestry fails closed with
thread_route_unknown; a fresh thread establishes verified provenance.111d45c: Add
b4 threads tail <thread-id>— reattach to a thread from the terminal.It consumes
GET /threads/:thread_id/runs/stream, printing a snapshot (thecommitted transcript, the in-flight turn's output so far, and any parked
human-in-the-loop prompts) and then following live frames until the turn ends.
When no turn is live in the target process it prints the durable
checkpoint-backed snapshot and exits, so it works across restarts and replicas.
--urlpoints at a server other thanhttp://127.0.0.1:3000,--headerisrepeatable for middleware that authenticates the thread's route, and
--jsonprints raw SSE frames for scripting. Attaching takes no run slot and cancels
nothing.
This is B4.run's first first-party Agent Protocol stream client: it parses the
documented wire defensively rather than importing the server's frame types, so
the published contract now has a consumer that exercises it.
18c7b61: Route skills,
plan.md, andmemory.mdnow work on thehonoandverceltargets:b4 buildbundles them into the static manifest and the runtime serves them through the newstaticMarkerFsin@b4run/core. The build no longer gates skills off those targets; insteadb4 buildandb4 checkenforce a per-file size limit (32 KiB forSKILL.mdandmemory.md, 64 KiB forplan.md) and fail withB4_E1005by name.@b4run/corealso exportsMAX_PLAN_BYTESandMAX_MEMORY_BYTES.Updated dependencies [80a98ad]
Updated dependencies [18c7b61]
Updated dependencies [6039fd2]
@b4run/[email protected]
Patch Changes
plan.md, andmemory.mdnow work on thehonoandverceltargets:b4 buildbundles them into the static manifest and the runtime serves them through the newstaticMarkerFsin@b4run/core. The build no longer gates skills off those targets; insteadb4 buildandb4 checkenforce a per-file size limit (32 KiB forSKILL.mdandmemory.md, 64 KiB forplan.md) and fail withB4_E1005by name.@b4run/corealso exportsMAX_PLAN_BYTESandMAX_MEMORY_BYTES.[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
80a98ad: Add
GET /threads/{id}/runs/stream— reattach to a running turn. A disconnectedclient rejoins by attaching to this read-only GET mirror of the POST stream: one
event: statesnapshot (channel values, the turn's coalesced frames so far, andparked interrupts) followed by the live tail, or an immediate durable snapshot +
donewhen no live turn exists in this process. It requires thread-accessreadplus middleware approval for the selectedproducer and the recorded parked, last-run, and anchor routes. The selected
turn stays fixed across asynchronous authorization. Backed by a bounded in-memory
LiveTurnHub; the durablepath works across restarts, replicas, and serverless. Being a GET with no body,
it is the first Agent Protocol stream a stock
EventSourcecan consume.@b4run/sdkgains one additiveThreadOperationmember,thread.attach, forthe new endpoint. A thread-access policy that switches exhaustively over
ThreadOperationshould add athread.attacharm; afallbackhandler alreadycovers it.
Canceling or aborting an attach releases its viewer slot and heartbeat without
stopping the producer. Slow viewers remain bounded and are detached on overflow.
The durable retry hint precedes
done, so clients can stop reading at the terminal frame.Bind checkpoint ownership to the exact checkpoint ID at the saver write boundary,
retaining verified ancestor routes and overwriting any upstream ownership claim.
Attach authorizes that provenance instead of inferring checkpoint ownership from
mutable thread metadata. Legacy or unknown checkpoint ancestry fails closed with
thread_route_unknown; a fresh thread establishes verified provenance.@b4run/[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
@b4run/[email protected]
Patch Changes
@b4run/[email protected]
@b4run/[email protected]
@b4run/[email protected]
@b4run/[email protected]
@b4run/[email protected]
@b4run/[email protected]
Patch Changes
@b4-example/[email protected]
Patch Changes
@b4-example/[email protected]
Patch Changes
@b4-example/[email protected]
Patch Changes
@b4-example/[email protected]
Patch Changes
@b4-example/[email protected]
Patch Changes