Repository navigation
feat(durable): let a host append Thread-scoped updates to the canonical stream - #43
Merged
Merged
Conversation
…owserSession page type PageScreenshotRequest takes a required PNG or JPEG format; only JPEG carries a quality. BrowserSession.run's page is exported as BrowserSessionPage, because Puppeteer's Node entry declares a separate Page class that is not assignable to the browser build's.
REST credentials move to an optional lifecycle option. Without them, close sends the browser's own close command and reports unconfirmed cleanup, and read-only Live View fails closed with live-view-requires-rest-credentials. close now returns the cleanup it can prove.
…-binding-only # Conflicts: # docs/src/content/docs/guide/browser.md
…dapter One stateful pass per session: listeners attach before navigation and record console and page errors, failed requests and error responses past caller ignore rules; readiness waits on a page function and network idle; one JSON script; named-viewport screenshots; document status, a response header, the landed URL and timings. A pass that never reaches the page returns PageInspectionNotRun.
# Conflicts: # docs/src/content/docs/guide/browser.md # packages/platform-cloudflare/src/BrowserSession.ts
…al stream A new ThreadHostUpdateAppended record (format @7) carries bounded host JSON on the Thread, independent of any Run. appendHostUpdate commits it under the Thread's progress gate, retries tail conflicts, and is idempotent by updateId. The prompt fold skips it.
systemfsoftware-bot
changed the base branch from
feat/page-inspection
to
main
November 25, 2026 23:18
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.
Stacked on #41.
What
ThreadHostUpdateAppended { updateId, update: PersistedJson, relatedRunId? }. It is Thread-scoped and independent of any Run. Its Threadsequenceand commit time come from the envelope rather than from duplicated payload fields.DurableAgentRuntime.appendHostUpdate({ threadId, updateId, update, relatedRunId? }) -> HostUpdateAppended { sequence, deduplicated }.HostUpdateErrorreasoncontention.updateId: a repeat with the same update returns the first commit, and a repeat with a different update fails withconflict.PROMPT_TRANSPARENT_TAGS. The SQL physical tag code is 39.effect-agent/thread@6to@7, and the baseline is refreshed withpnpm check:record-format --refresh. The changeset carries a BEHAVIOR CHANGE note and bumpsminoron 0.x.Verification
pnpm typecheck,pnpm linton the changed files,check:record-format,check:exportsandcheck:package-purityall pass.No tests were added; candidate tests are pending a separate admission ruling.