Skip to content

Virtufin Worker Registry

The worker registry is the catalog every Virtufin client creates workers from: one workers.toml with an entry per worker type (25 today, from every workers repo). Each entry names the worker, where its published code is (source_url and its versions), its MIME type (which picks the engine) and the JSON Schemas of its config and secrets, from which the clients draw the New Worker form.

The registry is released as two packages with one version:

Package Registry Used by
virtufin-worker-registry PyPI (org feed) the TUI, the ScriptRunner
@virtufin/worker-registry npm (org feed) the web app (browser and server)

Every change to workers.toml is a release of both. The TUI and the web app show the registry version next to their own.

How this site is organized

The site follows Diátaxis: four kinds of page for four needs.

You want to Read
learn by doing Tutorials: read the registry from Python and TypeScript.
get a task done How-to guides: add a worker version after a release, add a worker, regenerate the WebSocketFeed form.
look something up Reference: the entry fields, the packages' API, the repository.
understand how it works Explanation: why the registry is a package and how each client uses it.