Fired BEFORE the chat area opens its built-in right-hand artifact viewer drawer.
Listeners can cancel (Cancel = true) to open the artifact in a host-managed
workspace drawer or surface instead; ShowArtifactPanel stays unchanged and
AfterArtifactPanelOpen does not fire.
Listeners run synchronously: the chat area reads Cancel as soon as emit() returns.
Fired BEFORE the chat area opens its built-in right-hand artifact viewer drawer. Listeners can cancel (
Cancel = true) to open the artifact in a host-managed workspace drawer or surface instead;ShowArtifactPanelstays unchanged andAfterArtifactPanelOpendoes not fire.Listeners run synchronously: the chat area reads
Cancelas soon asemit()returns.