Conversation
brsbl
marked this pull request as ready for review
September 11, 2026 18:01
brsbl
added this pull request to stack #3532
September 11, 2026 20:31
Collaborator
Author
|
Closing as superseded at the user's request. The current implementation builds on the shipped Drafts plugin, threads, and queued messages: #3930 (SDK/CLI lifecycle filtering and save actions), #3933 (sidebar filters), #3938 (palette filters), and #3931 (independent New thread split composers). This PR is no longer a merge candidate. Its branch is retained. |
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.
Human comments
What was wrong
New-thread drafts only existed in the app's local composer storage. Agents could not create, edit, or submit the same durable drafts through the SDK and CLI.
What changed
sdk.draftsandbb thread draftcreate/list/get/update/delete/submit operations, with guide and skill documentation.threadnamespace, preserving plugin short names. Existing APIs and daemon protocols remain compatible. Plugin SDK patch 0.4.84 carries the additive SDK declarations.The additive draft migration is now
0118_draft_resources, following main’s shipped machine-provider migration.This foundation targets main and is independent of the palette stack. Draft UI, local recovery/import, opening/splits, and lifecycle preferences follow in focused layers.
How you verified
d70cb6fe262bf3ad7ad98d29c820dd2c63bd94ec, including current main’s machine-provider contract. A package job timed out in existing file-backed database tests and passed on rerun without code changes.Runtime verification
Using Node 22.19.0,
BBSdkfrompackages/bb-app/src/public-sdk.tsand the source CLI (apps/cli/src/index.tsafter integration; launcher-built CLI in the initial pass):The source launcher exceeded its startup timer on the busy host; its server and daemon subsequently became healthy and connected. Owned process directories and both health endpoints were verified before the interactions. Fixture setup was corrected to use the existing personal-workspace type and required thread-deletion confirmation field. No product correction was needed. No local tests, typechecks, or lint were run.
BB-Thread-ID: thr_8j56at3ii2