Skip to content

Vendor sdpi-components.js into the Stream Deck property inspectors (drop remote CDN load) before Marketplace submission #1388

Description

@amrmelsayed

Context

All three property-inspector pages in the plugin bundle load the sdpi-components library from a remote CDN:

apps/streamdeck/com.cluesmith.codev.sdPlugin/ui/codev-action.html
apps/streamdeck/com.cluesmith.codev.sdPlugin/ui/builder-action.html
apps/streamdeck/com.cluesmith.codev.sdPlugin/ui/fleet-slot.html

each via <script src="https://sdpi-components.dev/releases/v4/sdpi-components.js"></script>.

Surfaced by the pr-gate integration review of PR #1387 (codex lane, REQUEST_CHANGES). Confirmed against the files; disposition at the gate was that this is pre-existing from the verbatim import (not a migration regression), so it ships as-is in #1347 and is fixed here before Marketplace submission.

Why it must change before submission

  • Elgato's guidance for distributed plugins is to bundle the library locally (https://docs.elgato.com/streamdeck/sdk/guides/ui/).
  • Action configuration currently requires internet access; offline, the property inspectors render without their form controls.
  • The script is remotely mutable code executing in the configuration UI.

Scope

  1. Vendor sdpi-components.js (v4 release build) into the .sdPlugin bundle (e.g. ui/lib/sdpi-components.js) and switch all three HTML files to the relative reference.
  2. Verify streamdeck validate and streamdeck pack include the vendored file, and that property inspectors render and persist settings with networking disabled.
  3. Note the vendored version and upstream source in the README so future bumps are deliberate.

Sequencing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/streamdeckStream Deck plugin — apps/streamdeck, Elgato channel (profiles, Maker Console, packaging)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions