4.7 KiB
@assistant-ui/react-pi
0.0.6
Patch Changes
0.0.5
Patch Changes
-
#4515
f5e94b7- feat: forwardonThreadIdChangethrough the adapter entry hooks (useLangGraphRuntime,useStreamRuntime,useChatRuntime,useAdkRuntime,useOpenCodeRuntime,usePiRuntime). the option already existed onuseRemoteThreadListRuntimebut every wrapper dropped it, so routing/persistence built on the settled remote thread id never fired from these hooks. only the settled remote id is emitted; the transient__LOCALID_*placeholder is never surfaced. (@okisdev) -
#4474
58db391- refactor: adopt the shared createRuntimeExtras helper and split the accessor hooks and runtime types into hooks.ts and runtimeTypes.ts, with no public API or behavior change (@okisdev) -
Updated dependencies [
ddc40b7,ea52de0,29c6fdb,d0987a3,cefcf27,0c51b90,3a8f685,ec6adf4,4acd4c0]:- @assistant-ui/core@0.2.19
- @assistant-ui/store@0.2.19
0.0.4
Patch Changes
0.0.3
Patch Changes
0.0.2
Patch Changes
-
#4368
7cadd89- feat: initial@assistant-ui/react-piMVP — a Pi coding-agent runtime adapter (@AVGVSTVS96)usePiRuntime+ selector hooks (usePiRuntimeExtras,usePiSession,usePiThreadState,usePiHostUiRequests): thread list, streaming text/reasoning/tool output, mid-run steer/follow-up via Pi's native queue (mirrored as composer queue items withclearQueuerestore-to-composer support), per-thread model/thinking controls, context usage, and Pi's blocking host-UI (approval) surface projected as native approvals/interrupts.- Browser-safe core: JSON-safe
PiClientcontract (types), pure snapshot-authoritative reducer (reducePiThreadState), pure transcript projection, andPiThreadControllerwith optimistic echo, frame-coalesced stream notifications, and structural sharing of projected messages. createPiHttpClient+ SSE event source (createSseDecoder/openPiEventStream): the browser transport with snapshot-first reconnect.@assistant-ui/react-pi/node:createPiNodeClient/PiThreadSupervisor, the process-singleton node host driving the Pi SDK — liveAgentSessions for execution, read-only session-file snapshots for cold reads, and theExtensionUIContextbridge for host-UI requests.
See
examples/with-pifor a complete Next.js wiring.