@vestra-player/sdk - v1.11.3
    Preparing search index...

    Variable MENU_IDSConst

    MENU_IDS: readonly [
        "open",
        "playback",
        "subtitles",
        "video",
        "audio",
        "screen",
        "settings",
        "reset",
        "tools",
    ] = ...

    The player's built-in top-level menus, by id. Write @<id> as the first segment of a command path (["@video", "Blur"], see CommandOptions.path) to put a command into that menu whatever language the player's menus are in. Later segments are titles. reset: the Reset menu, directly below Settings, gathers every command that puts something back to its default. tools (SDK 1.7.12): the Tools menu, after the domain menus and before Options…, the home of the player's tools (tracks, snapshot, Vestra Player AI, the store, the command palette) and of any plugin's own. The player's tests check that this list agrees with the player's.

    "Blur" appears in the player's Video menu in every interface language. The player replaces a leading @video with that menu's key ("Video") before it merges paths, so the item joins the built-in menu; an id that is not in MENU_IDS makes add fail with invalid, which a test can rule out ahead of time.

    import assert from "node:assert/strict";
    import { MENU_IDS } from "@vestra-player/sdk/testing";

    plugin.commands.add({ id: "blur", path: ["@video", "Blur"], run() {} });
    assert.ok(MENU_IDS.includes("video")); // a menu id, not a title

    1.3.0