Components / AI components / Coding & artifacts
Coding workspaceExperimental alpha

Commit

A commit with its subject, author and changed files.

Commit preview

Loading example…

Interactions use local sample data.

Usage and props

Display host-reported commit data; this does not run git.

Supported inputs

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

hash · message · author? · committedAt? · files?
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