Files
theia-code-os/dev-packages/ovsx-client
mawkone 8bb5110148
Some checks failed
Playwright Tests / Playwright Tests (ubuntu-22.04, Node.js 22.x) (push) Has been cancelled
3PP License Check / 3PP License Check (11, 22.x, ubuntu-22.04) (push) Has been cancelled
Publish packages to NPM / Perform Publishing (push) Has been cancelled
deploy: current vibn theia state
Made-with: Cursor
2026-02-27 12:01:08 -08:00
..
2026-02-27 12:01:08 -08:00
2026-02-27 12:01:08 -08:00
2026-02-27 12:01:08 -08:00
2026-02-27 12:01:08 -08:00
2026-02-27 12:01:08 -08:00


theia-ext-logo

ECLIPSE THEIA - OVSX CLIENT


Description

The @theia/ovsx-client package is used to interact with open-vsx through its REST APIs. The package allows clients to fetch extensions and their metadata, search the registry, and includes the necessary logic to determine compatibility based on a provided supported API version.

Note that this client only supports a subset of the whole OpenVSX API, only what's relevant to clients like Theia applications.

OVSXRouterClient

This class is an OVSXClient that can delegate requests to sub-clients based on some configuration (OVSXRouterConfig).

{
    "registries": {
        // `[Alias]: URL` pairs to avoid copy pasting URLs down the config
    },
    "use": [
        // List of aliases/URLs to use when no filtering was applied.
    ],
    "rules": [
        {
            "ifRequestContains": "regex matched against various fields in requests",
            "ifExtensionIdMatches": "regex matched against the extension id (without version)",
            "use": [/*
                List of registries to forward the request to when all the
                conditions are matched.

                `null` or `[]` means to not forward the request anywhere.
            */]
        }
    ]
}

Additional Information

License

Trademark

"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia