Make openArtifact public and remove type cast in ArtifactPill

This commit is contained in:
Mario Zechner
2025-10-08 14:12:52 +02:00
parent 58b9c36268
commit 3adc8357b1
2 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ export class ArtifactsPanel extends LitElement {
}
// Open panel and focus an artifact tab by filename
private openArtifact(filename: string) {
public openArtifact(filename: string) {
if (this._artifacts.has(filename)) {
this.showArtifact(filename);
// Ask host to open panel (AgentInterface demo listens to onOpen)