Documentation / @agentick/client / SendInput
Interface: SendInput<P>
Defined in: shared/src/protocol.ts:139
Input for sending to a session.
This is the wire-safe base type shared between client and server. Core extends this with local-only fields (maxTicks, signal).
Structural fields (system, grounding, sections, ephemeral) are the programmatic escape hatch for injecting context without JSX. JSX is primary; these merge into the compiled structure after JSX compilation.
Type Parameters
P
P = Record<string, unknown>
Properties
ephemeral?
optionalephemeral:EphemeralInput[]
Defined in: shared/src/protocol.ts:153
Ephemeral content (appended to compiled ephemeral)
grounding?
optionalgrounding:GroundingInput[]
Defined in: shared/src/protocol.ts:149
Grounding context (ephemeral with _grounding metadata)
messages?
optionalmessages:Message[]
Defined in: shared/src/protocol.ts:141
Messages to deliver
metadata?
optionalmetadata:Record<string,unknown>
Defined in: shared/src/protocol.ts:145
Metadata attached to messages
props?
optionalprops:P
Defined in: shared/src/protocol.ts:143
Component props to update
sections?
optionalsections:SectionInput[]
Defined in: shared/src/protocol.ts:151
Named sections (JSX wins on ID collision)
system?
optionalsystem:string[]
Defined in: shared/src/protocol.ts:147
Additional system instructions (appended to compiled systemEntries)