Skip to content

Documentation / @agentick/shared / SendInput

Interface: SendInput<P>

Defined in: 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.

Extended by

Type Parameters

P

P = Record<string, unknown>

Properties

ephemeral?

optional ephemeral: EphemeralInput[]

Defined in: protocol.ts:153

Ephemeral content (appended to compiled ephemeral)


grounding?

optional grounding: GroundingInput[]

Defined in: protocol.ts:149

Grounding context (ephemeral with _grounding metadata)


messages?

optional messages: Message[]

Defined in: protocol.ts:141

Messages to deliver


metadata?

optional metadata: Record<string, unknown>

Defined in: protocol.ts:145

Metadata attached to messages


props?

optional props: P

Defined in: protocol.ts:143

Component props to update


sections?

optional sections: SectionInput[]

Defined in: protocol.ts:151

Named sections (JSX wins on ID collision)


system?

optional system: string[]

Defined in: protocol.ts:147

Additional system instructions (appended to compiled systemEntries)

Released under the ISC License.