What to build
Extend the artifact system to support saving code snippets with language metadata. When a user saves a code block from an assistant message as an artifact, Ronin should preserve the language identifier from the fence and store it as artifact metadata.
In the artifact panel, code snippet artifacts should render with syntax highlighting (leveraging M2 #2) and show the language badge. The artifact kind should include snippet with a language metadata field.
Acceptance criteria
Blocked by
What to build
Extend the artifact system to support saving code snippets with language metadata. When a user saves a code block from an assistant message as an artifact, Ronin should preserve the language identifier from the fence and store it as artifact metadata.
In the artifact panel, code snippet artifacts should render with syntax highlighting (leveraging M2 #2) and show the language badge. The artifact kind should include
snippetwith alanguagemetadata field.Acceptance criteria
kind = "snippet"includes alanguagemetadata field in the databaseBlocked by