Repository navigation
feat(pi): add piDurable() and drain, resume, and c.pi for pi() - #320
Merged
Conversation
|
This PR was not deployed automatically as @eersnington does not have access to the Railway project. In order to get automatic PR deploys, please add @eersnington to your workspace on Railway. |
This was referenced Oct 5, 2026
eersnington
force-pushed
the
stack/chore-release-version-rivet-dev-pi-and-rivet-dev-sandbox-adapter-on-their-own-ytlskwsy
branch
3 times, most recently
from
October 5, 2026 23:25
cb1692f to
7fe8bef
Compare
eersnington
force-pushed
the
stack/chore-release-version-rivet-dev-pi-and-rivet-dev-sandbox-adapter-on-their-own-ytlskwsy
branch
from
October 5, 2026 23:59
7fe8bef to
d5471f2
Compare
eersnington
force-pushed
the
stack/chore-release-version-rivet-dev-pi-and-rivet-dev-sandbox-adapter-on-their-own-ytlskwsy
branch
from
October 6, 2026 00:26
d5471f2 to
fac746b
Compare
eersnington
force-pushed
the
stack/chore-release-version-rivet-dev-pi-and-rivet-dev-sandbox-adapter-on-their-own-ytlskwsy
branch
from
October 6, 2026 00:45
fac746b to
1b114b7
Compare
eersnington
deleted the
stack/chore-release-version-rivet-dev-pi-and-rivet-dev-sandbox-adapter-on-their-own-ytlskwsy
branch
October 6, 2026 00:52
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.
A new
@rivet-dev/pi/durableentrypoint runs Pi Durable as a Rivet Actor, andpi()survives deploys and gives app code the session.piDurable()Pi Durable's conversations, tasks, and documents live in the actor's SQLite database. The actions mirror Pi Durable's
Harness,Conversation, andSubmissionone to one, plus apromptconvenience action.pi.events,pi.view,pi.taskGraph,pi.doc) go only to the connection that asked. A connection that survives sleep gets them back with a freshseq0 frame.@earendil-works/pi-durableand@earendil-works/chordare optional peers. Only/durableimports them.pi()abortstops itc.piis theAgentSessionpi-coding-agentpi()andpiDurable()share one actor factory: option split, reserved names, the runtime slot onvars, action and sleep-grace defaults, and shutdown hooks.@rivet-dev/piand@rivet-dev/sandbox-adapterstay at their published 0.1.0; the release script sets the next version. The docs examples move topi-coding-agent1.0.2.This is part 1 of 11 in a stack: