Skip to content

Solve issue with resolveToolIconUrl() and pre-packaging it #449

Description

@Power-Maverick

resolveToolIconUrl() currently only converts relative paths when they end in .svg and returns undefined for PNG/etc. However, the bundled registry examples still use icon: "icon.png" (e.g., src/main/data/registry.json), which means many tool icons will always fall back. Either broaden support to common image types (png/webp/jpg) via pptb-webview:// URLs, or ensure the registry/tool packaging guarantees SVG icons (and update docs/validator accordingly).

Originally posted by @Copilot in #448 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs assignmentTriage team needs to assign this

    Type

    Fields

    No fields configured for Task.

    Projects

    Status
    Released

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions