Skip to content

Draft prompt state & locking

bb 0.43.3SDK 0.4.104pinned e865697 (desktop-v0.43.3)

stable The composer #4 in group Show on the zone map

Reads the draft prompt, and can block typing while the plugin works. With this, a plugin can:

What it gives you

  • Read the draft prompt's text, whether it is empty, and how many files are attached
  • Read the prompt box's layout and whether the thread is already running a turn
  • Lock the input and release it again, so the draft prompt cannot change mid-operation
  • Mark the thread row as running while the input is locked, with a thread row status

API

Each symbol links to the pinned commit it was read at.

The brief is Markdown, written for a coding agent: what the capability is, where it registers, every SDK symbol with a pinned permalink, the rules that bite, and what done means.