Settings reference

The extension has one settings plugin, @jupyterlab-workshop/labextension:panel, shown as Workshop in the JupyterLab settings editor. A learner changes the personal settings there; an administrator sets the deployment ones site-wide in overrides.json, JupyterLab’s file of setting overrides, under that plugin key:

{
  "@jupyterlab-workshop/labextension:panel": {
    "defaultWorkshop": "",
    "browseOnStart": true
  }
}

The file is settings/overrides.json under JupyterLab’s application directory, which is share/jupyter/lab in the environment JupyterLab runs from; jupyter lab path prints it. Deploying workshops shows the combinations a Binder image or a classroom uses.

Personal settings

Setting

Type

Default

Meaning

defaultWorkshop

string

""

Directory of the workshop to open when JupyterLab starts and no workshop was open before, relative to the JupyterLab root. Empty, the default, opens nothing.

panelSide

string

right

Which sidebar the panel starts in, left or right. Dragging the panel to the other side is remembered by JupyterLab’s layout, and a workshop whose manifest sets instructions.side overrides it.

workshopsDirectory

string

workshops

Directory, relative to the JupyterLab root, that downloaded workshops are placed in and that the browser lists as installed; . or empty is the root itself. Holding a library.json, it is a workshop library.

defaultTrustLevel

string

restricted

The button selected by default in the trust dialog for a workshop with no stored decision: trusted, restricted or ask.

collections

list

[]

Subscribed collections, whose workshops the browser offers: http(s) URLs of collection.json files, or paths relative to the JupyterLab root. The Collections dialog edits this list, or in a workshop library the library’s registry, whose list then takes this one’s place.

catalogs

list

[]

Subscribed catalogs, whose collections the browser offers to subscribe to: http(s) URLs of catalog.json files, or paths relative to the JupyterLab root.

ai

object

{}

Workshop Author, the AI agent that writes your own workshops in a library; the keys are below.

ai holds:

Key

Type

Default

Meaning

model

string

""

The model a new Workshop Author conversation starts with, such as sonnet, opus or claude-sonnet-5; empty for the agent’s default. The panel can change it for one workshop.

effort

string

""

The effort a new conversation starts with, low, medium, high, xhigh or max, for models that take one; empty for the model’s default.

Deployment settings

These are meant for overrides.json, though nothing stops a learner setting them.

Setting

Type

Default

Meaning

browseOnStart

boolean

false

Open the workshop browser in place of the launcher, with both sidebars collapsed, when JupyterLab starts with no workshop to open or restore. See starting in the browser.

trustPolicy

object

{}

Administrator trust decisions; the keys are below. See settling trust.

disabledFeatures

list

[]

Parts of the extension to remove, from open-directory, open-url, collections, catalogs, available, install-all, remove, close, browse, author, click-hint, library, personal, ai-authoring, journal and mentor. See locking down a deployment.

analytics

object

{}

Deployment-wide reporting of progress events, ahead of anything a collection or workshop declares; the keys are below. See reporting progress.

welcomeOnLaunch

boolean

true

Whether the welcome message is also shown when a launch link opens a workshop, a collection or a catalog; off, it is shown only to someone arriving without one, which suits a site whose message explains how to arrive with one. A welcome link parameter is shown either way.

welcome

string

""

Path, relative to the JupyterLab root, of a Markdown file shown in a dialog when JupyterLab starts, once per browser for the server. See a welcome message.

trustPolicy holds:

Key

Type

Default

Meaning

forcedLevel

string or null

null

When set, every workshop opens at this level and the trust dialog is not shown.

trustedSources

list

[]

Source key prefixes that open as trusted without asking, such as git:https://github.com/example-org/ or local:workshops/.

disabledCapabilities

list

[]

Capabilities that never run regardless of the trust level.

analytics holds the same block a collection index or a manifest may declare, plus identity, which only a deployment may set:

Key

Type

Default

Meaning

sink

string

""

URL that receives every workshop’s events as JSON lines by POST, without asking the learner. Empty reports to the sink a collection or a workshop declares, as report says.

report

string

ask

How a collection’s or a workshop’s sink applies when sink is empty: ask offers it in the trust dialog, always reports to it without asking, never reports to no such sink.

token

string

""

Token sent as a bearer credential in the Authorization header of every batch, issued by the sink’s operator.

labels

object

{}

Key and value pairs stamped on every event for slicing reports, such as a course or a term. At most 16; keys of lower case letters, digits, _, . and - up to 63 characters, values up to 128.

identity

string

none

Whether events carry the JupyterHub user name (hub) or no identity (none).

When sink is set here it applies to every workshop, without asking, and ahead of any analytics block a subscribed collection or a workshop manifest declares; those are used only when this setting names no sink, and then as report says. Events are always written to _workshop/events.jsonl in the workshop directory whatever these say; see Progress events.