AI Assist v4.4.0: Enhancements and examples for custom field actions

More goodies for building custom field actions

In the versions released since 4.3.0, 4.4.0 includes:

useFieldActions now receives parentSchemaType as a prop, making it easier to conditionally include actions for sub-fields in images or other object types.

isType helper function for checking if a schemaType is of a certain type. Useful for conditionally including actions based on some parent type, for instance: isType(schemaType, 'image') or isType(schemaType, 'string')

useFieldActions is allowed to include undefined values in the returned array. This makes it easier to conditionally exclude actions as needed.

How-to-use

The repository now contains multiple copy/paste-able examples of integrating AI Assist with Agent Actions:

Just getting started with AI Assist's custom actions? Check out the guide.

Explore the how-to-use examples in the repo.