Components / AI components / Context & memory
ContextExperimental alpha

ContextInspector

See what was selected, included, excluded or truncated.

ContextInspector preview

Loading example…

Interactions use local sample data.

Usage and props

Provide a versioned context snapshot and honest measured/estimated token counts. Selection does not guarantee inclusion.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

value: ContextInspection · loading? · error? · onRefresh?
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard