s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Planner · Planner

HostPlanner

The planner inside a Kitchen host (an MCP app or widget): the complete `Planner` over a host session that reads and writes the plan through the host's tools, reconnecting while the page is visible.

Public export

typescript
import { HostPlanner } from '@happyvertical/smrt-planner';
Import path
@happyvertical/smrt-planner
Props
3
Props described
3 of 3
Bindable state
0
Callback events
1
Verified release
0.57.40

Props

NameTypeRequiredDescription
callToolCallKitchenToolYesCalls one of the host's Kitchen tools by name with its arguments.
initialHostPlanNoA plan the host already holds, received before the first connection.
onready(session: HostSession) => voidNoCalled once the session is mounted, with the session to drive it.

Bindable state

This component has no bindable public state.

Callback events

  • onready(session: HostSession) => void

Examples and explanation