Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PepperDash ToolkitNew to Visual Studio Code? Get it now.
PepperDash Toolkit

PepperDash Toolkit

PepperDash

|
81 installs
| (3) | Free
Manage PepperDash Essentials systems: inspect and update configurationFile.json versions against GitHub releases, and deploy to Crestron processors and touch panels.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PepperDash Toolkit

A VS Code extension for managing Crestron systems running PepperDash Essentials.

  • Versions — track the versions block of a *configurationFile*.json against live GitHub releases, and update, add, restore, or compare entries.
  • Deploy — push programs, plugins, configs, and touch panel projects to Crestron processors and panels over SSH/SFTP, and download their logs or back them up.
  • Bundle — build .cpz / .lpz / .cplz / .ch5z-based release artifacts for a system.
  • Project Setup — project-wide defaults shared by everyone on the super-project, stored in pepperdash.toolkit.json.

It ships with the public PepperDash GitHub org configured. Private orgs and GitHub Enterprise hosts are added by you and persist in your VS Code user settings.

Contents

This page follows the Diátaxis framework. Pick the part that matches what you need.

  • Tutorial — learn by doing: your first update, start to finish.
  • How-to guides — steps for a specific task.
    • Install · Choose the super-project root · Configure Project Setup · Add GitHub sources and sign in · Build the plugin index
    • Versions: update · add a package · set core version · compare to a processor · restore · source zips · reorder
    • Deploy: add a device · credentials · file mappings · deploy · get logs or back up a device
    • Run a command list · Discover devices
    • Bundle · Upgrade
  • Reference — facts: requirements, sidebar, tabs, commands, settings, pepperdash.toolkit.json, deploy.json, artifact types, extension API, deprecated items.
  • Explanation — background: scopes, edit model, root resolution, plugin search, SSH console, credential storage, backups.

Tutorial: check and update a system's package versions

In this lesson you will open a super-project, look at one system's tracked package versions, and apply an update. It takes about ten minutes and needs a folder containing at least one system with a *configurationFile*.json that has a versions block.

  1. Install PepperDash Toolkit from the Marketplace: open the Extensions view (Cmd+Shift+X / Ctrl+Shift+X), search for it, and click Install.

  2. Open your super-project folder with File → Open Folder. The extension activates because the folder contains a *configurationFile*.json.

  3. Click the PepperDash Toolkit icon in the Activity Bar. The sidebar shows the super-project root as a collapsible node, with the systems it found under it, each marked config, deploy, or config + deploy.

    The sidebar listing three systems

  4. Hover the root node at the top of the sidebar and click its gear button to open the Project Setup panel (if no systems were found, click Open Project Setup in the sidebar instead). Set System configurations to the folder that holds your systems (for example config-files) and click Save. The panel shows Saved.

    The Project Setup panel with directories, solution identity, filters, and core repositories

  5. Click a system in the sidebar. The panel opens beside the editor, and the system is marked open. Select the Versions tab.

  6. Click Check in the toolbar. Each card gets a badge showing the latest GitHub release.

    The Versions tab for a system

  7. On a card with an update, click Update. The system's *configurationFile*.json opens dirty in the editor.

  8. Save the file with Cmd+S / Ctrl+S. Only that entry's version line changed — run git diff to see it.

You have now read a system's versions, compared them to GitHub, and applied an update. Next, see the how-to guides for adding packages, deploying, and bundling, or the explanation for how the pieces fit together.

If a button doesn't respond with a GitHub error, you probably need to sign in or add a source — see How to add GitHub sources and sign in.


How-to guides

How to install the extension

From the Marketplace: Extensions view → search PepperDash Toolkit → Install.

From a VSIX (pre-release or local builds):

  1. Download the VSIX from the Releases page.

  2. In the Extensions view, click … → Install from VSIX… and choose the file. Or from a terminal:

    code --install-extension pepperdash-toolkit-<version>.vsix
    

To update a VSIX install, install the newer file over the old one. Settings are preserved.

How to choose the super-project root

With a single folder open, that folder is the root and you are never asked. In a multi-root workspace:

  1. Open the sidebar. The root picker appears if no root has been chosen for this workspace.

    A multi-root workspace with two super-projects and a plugin repo

  2. Pick a folder. The title shows how many folders have the file (for example "2 of 3 folders have pepperdash.toolkit.json"). Folders are grouped as In use, Has pepperdash.toolkit.json, and No pepperdash.toolkit.json yet. Picking one with no file makes Setup create it there.

    The root picker listing each workspace folder with its status

To change or clear the choice later, run PepperDash Toolkit: Select Super-Project Root, or use the sidebar title bar's … menu. Clearing it makes the toolkit ask again.

If you dismiss the picker, the toolkit uses a folder that already has pepperdash.toolkit.json (or the first folder) for the session and asks again next time. Saving Setup always asks if no root is chosen; dismissing that cancels the save. See Why the root is chosen rather than assumed.

How to configure project Setup

  1. Click the gear button on the sidebar's root node, the Open Project Setup button the sidebar shows when no systems are found, or run PepperDash Toolkit: Open Project Setup. The Project Setup panel opens even with no system open.
  2. Fill in Directories: System configurations, Artifacts, Dependencies, Source files, and Backups. Use the folder button to browse; paths are stored relative to the root. Dependencies, Source files, and Backups show a suggested .gitignore pattern, since they hold downloaded files.
  3. Optionally set the default Solution ID, Solution name, and Solution version.
  4. Optionally adjust Versions search filters — comma-separated, case-insensitive regular expressions matched against release asset names; use | to combine naming conventions in one entry, and Reset to defaults to restore them — and Core repositories (override the Essentials / touchpanel wrapper repo URLs, e.g. for a fork; blank uses the PepperDash defaults).
  5. Click Save. The write goes straight to pepperdash.toolkit.json; review it with git diff, undo with git checkout.

Field meanings are in pepperdash.toolkit.json.

How to add GitHub sources and sign in

  1. Click the GitHub button in the sidebar title bar (or run PepperDash Toolkit: Manage GitHub Sources). No folder or system needs to be open.
  2. Click Add source and enter a label, host, org, and kind (public, private, onprem). Edit or delete existing sources from the same panel.
  3. Authenticate per host:
    • github.com — click Sign in with GitHub (VS Code's account flow). Sign out from the VS Code Accounts menu.
    • GitHub Enterprise — click Set personal access token, paste a PAT. Clear token removes it. The equivalent commands are Set GHE PAT / Clear GHE PAT.
    • Public-only hosts show Public access only; sign in only if you need private repos.
  4. Click Re-check to re-run the auth check for a host.

Changes appear immediately in an open toolkit panel, such as the Add Package dialog's source list.

How to build the plugin index

The index lets Add Package search plugin repos without hitting GitHub each time.

  1. Open GitHub Sources.
  2. Click Build / Refresh on a source card, or Update all indexes in the section header.
  3. If GitHub's code-search rate limit (10 requests/minute, shared across the build) would be exceeded, remaining sources are skipped, not half-indexed. Run the build again to continue.

How to check for and apply updates

  1. Open the Versions tab for a system.

  2. Click the sync icon on a card for one entry, or Check in the toolbar for every entry in parallel.

  3. A card with a newer release shows an update available badge and an update button with the new tag. Click that button (for example 3.15.2), or Update all in the toolbar.

    A card with an update available and its version picker open

  4. Save the file (Cmd+S / Ctrl+S). Nothing is written to disk until you do. The card then shows up to date.

    A card that is up to date

Each card also has a Version dropdown listing recent releases with their dates and a pre badge on pre-releases; type in Filter versions… to narrow the list, or tick Exclude Pre-release to hide pre-releases. Picking a release from the dropdown sets the entry to that version. To rename an entry, click its Name. To change a Package ID, click the pencil next to it.

How to add a package or UI entry

  1. Click Add package or Add UI in the relevant section.

  2. Choose Search or Paste URL (any GitHub repo URL).

  3. Search: check the sources to search, type a query, and press Enter or click Search. Results from all checked sources merge into one list, with a badge per source for repos found in several. A repo already in the config is badged Already added.

    The Add to packages dialog showing a search result already added

    Paste URL: enter the repo URL (https://github.com/owner/repo) and click Add.

    The Paste URL tab

  4. By device/room type (Add package only): click a chip for a devices[].type / rooms[].type value found in the system's config to search for its plugin. Click Search all types to run every chip at once.

  5. Pick a result. The entry is inserted and the file goes dirty; save it. Tick Keep this dialog open to add more to add several entries in one go.

Under Plugin index matches, a plugin is listed once with all the types it registers, and results from the index carry a Plugin index badge.

A plugin index result listing the device types the plugin registers

A source that hasn't been indexed is called out with a link to build it — see How to build the plugin index. Types that were fully searched and matched nothing appear in Not found; types skipped to stay under the rate limit are listed in a warning instead.

How to set the Essentials or Touchpanel Wrapper version

In the Core section, use the Version dropdown on the Essentials or Touchpanel Wrapper card. If the config has no core entry yet, click Essentials or Touchpanel Wrapper in the section header to choose a release (pre-releases included, or tick Exclude Pre-release).

How to compare against a live processor

  1. Click Fetch from processor in the Versions toolbar and connect to the processor.
  2. Review the grouped changes, badged New, Changed, Unchanged.
  3. Click Apply to update the JSON in one edit, then save.

How to restore packages

  1. Set the Dependencies directory in Setup (otherwise a folder picker appears each run).
  2. Click Restore in the toolbar to download every tracked entry's pinned-version release assets. For one entry only, click the archive icon on its card.
  3. If the folder already holds files for the same package at a different version, choose Delete and Download (removes just those stale files first) or Keep Existing (downloads nothing).

How to download source archives

  1. Set the Source files directory in Setup (otherwise a folder picker appears).
  2. Click Source Files in the toolbar.
  3. Files are saved as <repo>-<version>-source.zip. Entries with no repoUrl or no pinned version are skipped and noted in the log; a missing tag warns and the rest continue.

How to reorder entries

Drag a card by its handle within Packages or User Interfaces. Order has no effect on behavior. Dragging between sections is not supported.

How to add a deploy device

  1. Open the System Deployments tab. A new system shows "No devices configured".

    The System Deployments tab before any device is added

  2. Click Add device and choose Crestron Processor or Crestron Touch Panel.

    The Add device menu

    The new card has Credentials and File Mappings sections and a footer with Upload All Mapped Files; the button stays disabled until there is something to upload.

    A configured processor card with credentials and mappings

  3. Click the device name to rename it. Collapse a card with the chevron — the deploy bar stays visible.

  4. Drag a card by its handle to reorder devices.

  5. To clone a touch panel, click its clone icon, then adjust the differing paths. 1Password and Address Book selections carry over; manual passwords never do. Cloning isn't available for processors.

How to set deploy credentials

Choose one source on the device card:

  • 1Password — enter Vault UUID and Item UUID, then click Verify to check them. Requires the op CLI; the host comes from the item's saved URLs. If op isn't installed, the card shows a warning with a download link and setup guide, or you can switch to another source.

    1Password credentials, with the op CLI-not-found warning

  • Address Book — click Saved connection to see this device's Recent connections and the rest of the address book group its last connection used, or type to search the whole address book by label, host, or username. Use ↑/↓ to move through the list and Enter to pick (Escape cancels). A connection becomes recent for a device after a successful test, deploy, or reboot through it. Click Manage… to add, edit, delete, and group connections. Credentials stay in your OS secure store, never on disk or in git.

    Personal Address Book credentials

  • Manual — enter IP / Host, SSH Port, Username, and Password (the eye icon shows it). They are held in memory for the session and never saved.

    Manual credentials

The SSH Port field defaults to 22 and applies to every source. A host:port in the manual Host field or a port in the 1Password URL is honored, with the explicit SSH Port field winning. Click Test connection in the card header to verify; a Successful badge with the device's host name confirms it, and a terminal button appears to its left that opens an SSH console to the device in a VS Code terminal, using the same credentials. Reboot Processor (or Reboot Touch Panel) in the same header restarts the device.

How to configure file mappings

  1. Click Add Program to add a mapping, or click an existing row to edit it. A new mapping shows Pattern, Local root, and Remote dir; Done keeps it and Remove discards it.

    A new, empty file mapping

    A mapping has a pattern (glob), a local root (relative to the project root), and a remote directory.

  2. Typing a .cpz / .lpz pattern switches the form to a Program slot picker plus a Supporting files table (config JSON, IR, plugins, and the mobile control zip, each with its own pattern, local root, and remote directory for that slot). A mapping added this way defaults the zip pattern to *react*.zip. Add Supporting File adds more rows.

    A program mapping with supporting files

    Use the folder button beside a local root to browse; the choice is stored relative to the project root.

    The folder picker for a mapping's local root

    A completed program mapping

  3. Uncheck any supporting file you don't want sent. A mapping with supporting files also has a checkbox for its program file. Select all in the File Mappings header toggles every checkbox on the device.

  4. Drag a row by its handle to reorder. On the *.zip (mobile control) row, unpack before sending uploads the archive's individual files instead of the zip.

If a pattern matches more than one archive on disk, deploying asks you to pick one. Long file names are cut off — hover for the full name.

How to deploy

One mapping: click the row's Deploy button (the cloud-upload icon at the end of the program row). It uploads exactly what is checked, in one connection.

A saved program row with its Deploy button, progload and progres boxes, and supporting-file checkboxes

To also run a console command, check one command box before clicking Deploy:

Device Row command Effect
Processor progload Reload the program (program file is always included, checked for you if needed)
Processor progres Restart the program without a full reload
Touch panel projectload Load the project
.ch5z mapping csprojectload Load the CH5 project

The two processor commands are mutually exclusive; clicking the checked one clears it.

Whole device: use the card footer's blue Upload All Mapped Files button. With Deploy Actions set it reads Upload All & Load All Programs (progload -p:all) or Upload All & Restart All Programs (progres -p:all); touch panels use projectload. Its tooltip states what it will do. The footer consults only the footer's own Deploy Actions, not row commands.

To get a confirmation before every upload, turn on pepperdash.toolkit.deployConfirmBeforeDeploy.

How to get logs or back up a device

Both actions are on the device card header, for processors and touch panels, and need working credentials. They save into the Backups directory from Setup; if it is blank, a folder picker appears each run.

  1. Click Get logs (cloud-download icon) to download only the log folder, or Back up (archive icon) to copy the whole device.
  2. For a full backup, confirm the prompt. It warns that a backup can run to hundreds of MB and may contain configuration files, certificates, and credentials.
  3. Watch progress in the device's log. Cancel stops the run. A file that fails, a symlink, or a file that vanishes mid-run is logged and skipped; the run continues.
  4. When it finishes, choose Reveal in Explorer (or Open Folder in VS Code if the folder is outside the workspace) or Show in File Manager.

Each run writes to its own YYYY-MM-dd-<name>-<ip> folder (<name> is <address-book-entry>-<device> for an address book connection; same-day reruns get -2, -3), so runs never overwrite each other. What is copied is listed in Backup contents. If transfers reset mid-run, lower pepperdash.toolkit.backupFileConcurrency.

Keep the Backups folder out of source control. See Why backups are folders and program slots are zipped.

How to run a command list against a device

The Devices tab's Device Info section sends a list of console commands to a processor, touch panel, or NVX over one SSH shell. It does not need a deploy.json.

  1. Open the Devices tab, stay on Device Info, and choose a device: 1Password, Address Book, or Manual. These work as in How to set deploy credentials.
  2. Pick a command list from the dropdown (files in Setup's Command lists directory), click Browse… for any file, or click New to start an empty list.
  3. Edit the table. Tick or untick Enabled per command (the header box toggles all), click a command to edit its text, and set its Timeout (ms) (default 5000). Add command appends a row and the trash icon removes one. Save writes the file (a new list opens a save dialog in the Command lists folder); Save as… writes a copy. Run uses your edits whether or not they are saved.
  4. Click Run. If any enabled command contains a {descriptor} (for example adduser {Username} {Initial Password}), a dialog asks for a value for each distinct descriptor, labelled with the descriptor text, before anything is sent. {HOSTNAME} is prompted for too, like any other descriptor. Disabled commands are not sent, shown, or logged. Values are not saved; descriptors that look like secrets (password, passcode, token, key) get a masked field and are redacted from the console and log.
  5. Each enabled command is sent in order, and the console shows the command and the device's response as they happen. Cancel stops the run.
  6. When it finishes, click Open log. The full transcript is in Setup's Logs directory as YYYY-MM-dd-HHmmss-<name>-<ip>.log (<name> is <address-book-entry>-<device> when the device connects through the Personal Address Book); it opens with the run time, the local user and OS, the device and the list name, followed by each command as typed at the console prompt (RMC4> hostname) and its response, with a blank line between each command and its response and two between a response and the next command, without per-line timestamps. Unsolicited Essentials debug output that the processor prints to the console while the list runs (lines starting [yyyy-MM-dd HH:mm:ss.fff][LEVEL]) is left out of both the console and the log; a password is never written to the console or the log. If the Logs directory is blank, a folder picker appears each run.

Keep the Logs folder out of source control: device output can contain sensitive configuration. See Command list file format.

How to discover devices on the network

The Devices tab's Discovery section finds Crestron devices on your network and lets you open an SSH console or web UI, or save a device to your address book. It does not need a deploy.json.

  1. Open the Devices tab and choose Discovery. Tick the Network interfaces to scan (each active IPv4 interface is listed with its address). Optionally add Extra targets: comma- or space-separated IP addresses or directed-broadcast addresses (for example 10.20.0.255) for subnets your machine is not on.
  2. Click Scan. The extension sends a Crestron Auto Discovery request (UDP port 41794) to each selected interface's directed broadcast address and to each extra target, then collects replies for about 3 seconds. Cancel stops a scan early; Rescan repeats it.
  3. Replies appear in a table with Hostname, IP, Description (model and firmware where the reply includes them), Username, Password and Actions. Type a username and password into a row to use them for that device. They are kept in memory for the session only and survive a rescan, but are never written to disk, except by Save to address book below.
  4. Use a row's actions:
    • SSH opens an SSH console terminal to the device. If the row has no username or password, you are prompted for them.
    • Web opens https://<ip>. See pepperdash.toolkit.discoveryWebLaunch to choose between your system browser (the default) and VS Code's Simple Browser.
    • Copy password copies the row's password to the clipboard.
    • Save to address book adds the device to your personal address book: host and username go in the address book, and the password (if entered) in VS Code secret storage. It needs a username.

Via processor mode signs in to the processor selected above and runs its autodiscovery query, so it finds devices from anywhere you can SSH. Four settings map to the processor's autodiscovery console options and are sent before the query:

Field Console command Values
Network autodiscovery adapter LAN, CSLAN (cs), Both
Query reports autodiscovery option Hostname, IP address, Hostname and IP address
Query sends autodiscovery setnumtimesquerymsgsent 1–20
Delay between sends (ms) autodiscovery setdelaybetweenquerymsginms 0–10000

Leaving a field on Processor default (or blank) sends nothing for it. A setting you do send stays in effect on the processor after the scan.

Discovery requires a local extension host. Under Remote-SSH, WSL, Dev Containers or Codespaces the broadcast would leave from the remote machine, not yours, so the tab shows a notice and Scan is disabled.

Discovery only finds devices that answer Crestron Auto Discovery on the same network segment as a scanned interface or extra target. Devices on another VLAN, or behind a firewall that blocks UDP 41794 or broadcasts, will not appear; add that subnet's broadcast address under Extra targets if your network routes directed broadcasts. If another program (for example Crestron Toolbox) already holds port 41794, the scan falls back to a different local port and still works.

How to build bundles

  1. Open the Bundle tab for a system and tick the artifact types you want.

    The Bundle tab with a file-tree preview

  2. Review the Solution ID and name. They come from Setup (use Edit in Setup to change them), or from packages.json at the project root, or are entered here; they are required for System bundles.

  3. Set the Version (X.Y.Z, pre-populated from Setup's Solution version) and an optional suffix (e.g. RC1). These settings are saved automatically.

  4. Check the Artifacts folder link at the top (from Setup's Artifacts directory).

  5. Click Preview to see the file tree each artifact will contain, with a checkbox per entry; click Hide preview to close it. A warning appears if a mapping matches no file (for example, no PepperDashEssentials*.cpz in the mapping's local root).

  6. Click Build bundles. Progress streams to the log below.

How to upgrade from the essentialsVersions release

Nothing to do. On first activation, sources, saved directories, stored PATs, and Personal Address Book entries (including passwords) are copied silently to the new pepperdash.toolkit.* / pepperdashToolkit.* namespace. Remove the old essentialsVersions.* keys from settings.json once you've confirmed the new ones carried over. essentialsVersions.ghPath and ghTimeoutMs are not migrated — see Deprecated.


Reference

Requirements

  • VS Code ^1.90.0.
  • GitHub access — no gh CLI. github.com uses VS Code's GitHub sign-in; GitHub Enterprise uses a PAT in VS Code secret storage.
  • 1Password CLI (op) — optional; only for the 1Password credential source.

Sidebar

The PepperDash Toolkit sidebar

The Activity Bar's PepperDash Toolkit view lists the systems under the super-project root, grouped under a collapsible node named after the folder that holds pepperdash.toolkit.json. A system is a folder holding a *configurationFile*.json and/or deploy.json; program1, program2, … slot folders belong to the system around them.

Aspect Behavior
Scan scope The Setup System configurations folder, or the whole root if unset
Opening Click a system. Opens or switches the panel, keeping the current tab. One system open at a time, marked with a green dot and "open"
Entry detail Shows whether it has a config file, deploy file, or both; hover for folder and file names
Missing file Opening a system without a config or deploy.json prompts Create packages.json / Create deploy.json; declining cancels opening
Auto-refresh On config/deploy file add or remove, on pepperdash.toolkit.json changes, and on root change
Root node Expanded by default; shows the system count. Hover for the folder path and solution name. Its gear button opens Project Setup
Title bar Refresh, GitHub Sources; the … menu has Select Super-Project Root (multi-root only), Open Extension Settings, Show Output Log
Empty states No folder open → Open Folder; multi-root without a root → Select Super-Project Root; no systems → Open Project Setup

The sidebar is the only way to open a system; no command opens a config or deploy file from elsewhere.

Tabs

Tab Source of truth Purpose
Versions The system's *configurationFile*.json versions block (written via WorkspaceEdit) Track and update versions
Deploy (System Deployments) The system's deploy.json SSH/SFTP deployment
Bundle deploy.json plus Setup defaults Build artifacts
Devices → Discovery UDP Auto Discovery replies (not persisted) Find Crestron devices on the LAN; SSH / web / save to address book

Two separate panels are not tabs: Project Setup (pepperdash.toolkit.json — directories, solution identity, filters, core repos; written directly to disk, shows Unsaved changes / Saved) and GitHub Sources (personal GitHub settings).

Versions sections

Section Shape Fields
Essentials single object version, packageId, repoUrl
Packages array packageId, version, repoUrl
User Interfaces array version, repoUrl (may be ""), optional packageId
Touchpanel Wrapper single object version, repoUrl (may be "")

An entry with no repoUrl has no latest-version lookup and shows "no source". If the config has no versions block, the extension asks to Use this file (a versions object is written the first time you add an entry) or Create packages.json; dismissing leaves the file untouched and asks again next time. Run Reset No-Versions Prompt Choice to clear a remembered choice.

Versions toolbar

Control Action
Save Save the config file
Fetch from processor Manifest diff
Check Latest release for every entry
Update all Apply every available update in one edit
Restore Restore
Source Files Source zips
Reload File Re-read the file from disk

Deploy device types

Type Allowed file types
Crestron Processor *.cpz, *.lpz, *.cplz, *.json, *.ir, *.zip
Crestron Touch Panel *.vtz, *.ch5z

A default processor mapping for slot 01 deploys PepperDashEssentials*.cpz from p01-essentials to /program01, with children: *.json → /user/program1, *.cplz → /user/program1/plugins, *.zip → /user/program1/mcUserApp, *.ir → /user/program1/ir. A default touch panel maps *.vtz and *.ch5z to /display.

Deploy project root resolution

Every mapping's local root and Bundle's output folder resolve against the project root. In order:

  1. The folder holding the saved pepperdash.toolkit.json (shown read-only above the device list with its source).
  2. A legacy projectRoot field in deploy.json.
  3. Auto-detection via a *.workspace / *.code-workspace marker file.

Deploy device card header

Item Shown Action
Successful badge After a successful Test connection Shows the device's host name; hover for the resolved host
CWS Debug button (bug icon) Processors with an Essentials build (a *.cpz mapping with a program slot whose matched file contains PepperDashEssentials), after a successful Test connection Opens the Essentials CWS debug console for that slot in a browser; hover for the URL
Terminal button After a successful Test connection Opens an SSH console to the device in a VS Code terminal, using the card's credentials and the deploy SSH settings; no system ssh needed
Get logs (cloud-download icon) Processors and touch panels Downloads the log folder
Back up (archive icon) Processors and touch panels Copies the whole device after a confirmation
Test connection Always Connects, runs hostname, and disconnects
Reboot Processor / Reboot Touch Panel Always Asks for confirmation, then reboots the device
Cancel While the card is collapsed during an operation Cancels the running deploy, test, or reboot

The header stays on one line. When the card is too narrow, items drop their labels one at a time, starting from the right (Cancel, Reboot, Test connection, then the badge shortens to "Successful"), and get them back as the card widens. Every item keeps its full label as a tooltip.

Backup contents

Backups mirror the device's own layout under the run folder, plus a backup-manifest.json describing the run.

Device Get logs Back up
Crestron Processor /plog /program01–/program10 (each slot zipped), /nvram, /html, /plog, /user
Crestron Touch Panel /logs /logs and /display, unzipped

Each processor program slot is zipped into one archive inside its own slot folder, named by what the slot holds:

Slot contains Archive
PepperDashEssentials.dll PepperDashEssentials.cpz
A .bin, .dip, and .spp sharing a base name (SIMPL Windows) <name>.lpz
Anything else programXX.zip

Deploy checkbox persistence

Checkbox selections are remembered per device and per deploy.json, stored locally in VS Code (not in deploy.json, so nothing appears in git diff). They follow a mapping when you reorder. Editing a mapping's local root, pattern, or remote directory makes it a new mapping, which returns checked.

Commands

Run from the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) by searching PepperDash Toolkit.

Command Title Notes
pepperdashToolkit.refreshSystems Refresh Systems Re-scans the super-project for the sidebar
pepperdashToolkit.openSetup Open Project Setup Opens the Project Setup panel, even with no system open
pepperdashToolkit.manageSources Manage GitHub Sources Opens the GitHub Sources panel
pepperdashToolkit.selectProjectRoot Select Super-Project Root Choose or clear the root for a multi-root workspace
pepperdashToolkit.openExtensionSettings Open Extension Settings VS Code Settings filtered to this extension
pepperdashToolkit.setGhePat Set GHE PAT Store a PAT for a GitHub Enterprise host
pepperdashToolkit.clearGhePat Clear GHE PAT Remove a stored PAT
pepperdashToolkit.showLog Show Output Log Every GitHub API call, deploy/bundle progress, and errors; attach it when reporting an issue
pepperdashToolkit.resetVersionsPromptChoice Reset No-Versions Prompt Choice Clear a remembered dismissal of the no-versions prompt

pepperdashToolkit.openSystem is internal (hidden from the palette); systems open from the sidebar.

Settings

Setting Default Description
pepperdash.toolkit.sources one PepperDash source Array of { label, host, org, kind }. Stored at User scope
pepperdash.toolkit.requestTimeoutMs 15000 Timeout (ms) for each GitHub API request
pepperdash.toolkit.deployTimeoutMs 30000 Timeout (ms) for SSH connections
pepperdash.toolkit.deploySshCompatMode auto auto tries the standard SSH algorithm profile and retries once with a minimal one on VPN/MTU-style handshake failures; standard / minimal pin one profile with no retry. minimal helps when VS Code runs in a VM behind a host-level VPN (e.g. Parallels on macOS)
pepperdash.toolkit.deploySftpConcurrency 4 SFTP write requests in flight at once. Minimum 1. Lower it (e.g. 1) if uploads reset mid-transfer
pepperdash.toolkit.backupFileConcurrency 4 Files fetched at once during Get logs / Back up. Minimum 1. Many small files are far faster in parallel; lower it to 1 if a device resets the connection mid-backup
pepperdash.toolkit.deploySftpRetryDelaySeconds 30 A failed connect or SFTP open is retried once after this delay. Never applied to bad-credential failures, to avoid account lockout
pepperdash.toolkit.discoveryWebLaunch systemBrowser Where Device Discovery's Web action opens a device: systemBrowser (your default browser; best for the devices' self-signed certificates) or simpleBrowser (VS Code's built-in Simple Browser)
pepperdash.toolkit.deployConfirmBeforeDeploy false Confirm before any Deploy action uploads files

Source fields

Field Values
label Display name
host github.com or a GitHub Enterprise hostname
org GitHub organization
kind public, private, or onprem — informational (badge/icon); behavior comes from host + org

Default: { "label": "PepperDash", "host": "github.com", "org": "pepperdash", "kind": "public" }. Example with more sources:

"pepperdash.toolkit.sources": [
  { "label": "PepperDash", "host": "github.com", "org": "pepperdash", "kind": "public" },
  { "label": "My Org", "host": "github.com", "org": "my-org", "kind": "private" },
  { "label": "On-prem", "host": "ghe.example.com", "org": "my-team", "kind": "onprem" }
]

pepperdash.toolkit.json

Committed at the super-project root. A JSON schema ships with the extension, so VS Code validates and completes it. Paths are relative to the file's own folder.

Key Type Description
directories.systemConfigurations string Folder holding per-system config subfolders (conventionally config-files)
directories.dependencies string Restore target for versions-object artifacts
directories.artifacts string Output root for Bundle artifacts
directories.sourceFiles string Destination for the Versions tab's source zips
directories.commandLists string Folder of command-list files shown by the Device Info tab (conventionally command-lists)
directories.logs string Destination for Device Info run logs (conventionally logs; blank prompts for a folder each run)
directories.backups string Destination for processor and touch panel log downloads and full backups (conventionally backups; blank prompts for a folder each run)
commandPrompts string[] Case-insensitive regexes that recognise the device console prompt, so the Device Info tab sends the next command as soon as the prompt returns. Default ["^(RMC\|CP\|PRO\|AV)[34]N?>$", "^\\S{1,63}[>#$]$"] — the control-system prompts (RMC4>, CP4N>, PRO3>, AV4>…) plus any single token ending in >, # or $. Remove the catch-all to match only what you list
controlSubnetPrompts string[] Case-insensitive regexes matched against the console prompt to decide which processors have a control subnet (CSLAN) with a DHCP server, reserved leases and port forwarding — the only ones the Leases & Ports tab works on. Default ["^((PRO\|AV)[34]\|CP[34]N)>$"] (PRO4>, AV4>, CP4N> and the older PRO3>, AV3>, CP3N>); RMC4 and the other models are refused. Edit it under Control subnet prompts in Project Setup
solutionId, solutionName, solutionVersion string Default identity for Bundle filenames; overridable per system
releaseAssetFilters.packages string[] Full-match regexes for release/plugin-index asset names. Default ["\\.cpz$", "\\.cplz$", "\\.ch5z$"]
releaseAssetFilters.userInterfaces string[] Regexes for UI/wrapper assets. Default ["(react\|mobile\|frontend\|app).*\\.zip$"]
coreRepos.essentials URI Override the Essentials repo (default https://github.com/PepperDash/Essentials)
coreRepos.touchpanelWrapperApp URI Override the wrapper repo (default https://github.com/PepperDash/mobile-control-touchpanel-wrapper-app)

A missing or entirely invalid filter list falls back to its default. See examples/super-project-alpha/pepperdash.toolkit.json.

Command list file format

JSON, with any extension (.json or .txt are listed). See examples/super-project-alpha/command-lists/.

Key Type Description
CommandList[].Cmd string Console command sent as-is. May contain {descriptor} placeholders, prompted for before the run ({HOSTNAME} included)
CommandList[].Enabled boolean Only true commands are sent; anything else is logged as skipped
CommandList[].Timeout number Maximum milliseconds to wait for the response. The next command is sent as soon as the console prompt returns (see commandPrompts in pepperdash.toolkit.json; edit it under Command list prompts in Project Setup), so this only matters for commands that take a long time. Default 5000
Description string Shown above the command preview

DeviceList, Notes, and Default are accepted and ignored.

deploy.json

One per system, in the system's own folder under the system configurations directory — a sibling of its program subfolders, never at the super-project root. It stores devices, credentials, and file mappings.

  • Credential sources: 1password, address book (stored as a connectionId derived from host + username + password, which matches across machines), and manual (nothing stored).
  • credential.port holds the SSH port and is omitted at 22.
  • A legacy projectRoot field is still read as a fallback; see Deprecated.

Examples: examples/super-project-alpha/config-files/.

Bundle artifact types

Type Contents
System Compiled Bundle Compiled programs, plugins, configs, and touchpanel files
System Source Archive Compiled files plus source archives — SIMPL Windows compiled zip, VTPro-e/Construct archives, and GitHub release source files — plus the Setup Source files folder (fetched first if empty) at the archive root under its own name
Essentials Assets Flat zip of the Essentials program's user files (config, plugins, IR, mobile control app)
Essentials Embedded Copy of the Essentials .cpz with the Essentials Assets zip injected, plus HTML assets for /html-mapped files

Output goes to <output>/bundles/, <output>/assets/, and <output>/cpz/. Solution ID and name come from the Bundle tab, falling back to packages.json at the project root, then to Setup defaults.

Local file layout

Super-project (local):

super-project/
├── config-files/
│   ├── _shared-assets/user/program1/…   mirrors the processor's user tree
│   └── system-a/
│       ├── deploy.json
│       └── program1/*configurationFile-essentials*.json
├── dependencies/
├── p01-essentials/
├── plugins/
└── pepperdash.toolkit.json

Processor (remote): programs in /program01…/program10; user files in /user/programN/ with ir/, plugins/, mcUserApp/, and *configurationFile*.json.

Extension API

Other extensions can read the personal address book through the API that activate() returns: extension id pepperdash.pepperdash-toolkit, API version 1, read-only.

Member Behavior
apiVersion 1. Changes only on a breaking change.
addressBook.get() Groups and entries, without passwords. Never prompts.
addressBook.onDidChange Fires after the address book changes in this window.
addressBook.getPassword(requester, entryId) One entry's password, after the user approves a prompt naming it.
addressBook.getPasswords(requester) Every saved password, after the user approves. For one-off imports.

Extension developers: copy src/publicApi.ts (types, extension id, version, and a getPepperDashToolkitApi() helper) and follow the extension API guide.

Deprecated

Item Status
essentialsVersions.* settings/storage namespace Replaced by pepperdash.toolkit.* / pepperdashToolkit.*; migrated automatically on upgrade. Per-file "dismiss the no-versions prompt" choices are not migrated, so you're re-prompted once per previously dismissed file
essentialsVersions.ghPath, essentialsVersions.ghTimeoutMs Removed, not migrated. The gh CLI is no longer used; pepperdash.toolkit.requestTimeoutMs replaces the timeout
deploy.json projectRoot Superseded by pepperdash.toolkit.json; still read as a fallback for systems that haven't gone through Setup

Explanation

Why settings are split into personal and project scopes

GitHub sources, sign-in state, the plugin index, deploy tuning, and the Personal Address Book belong to you: they apply to every workspace and shouldn't be committed. Directories, solution identity, filters, and core repos describe the project and should be the same for everyone, so they live in the committed pepperdash.toolkit.json. That is why the GitHub Sources panel works with no folder open, and why deploy tuning and the log are in the sidebar's … menu rather than Project Setup.

Project Setup has its own panel, rather than being a tab beside Versions, System Deployments, and Bundle, for a related reason: those tabs each show one system, while pepperdash.toolkit.json covers the whole super-project. That's also why its gear sits on the sidebar's root node, next to the systems it applies to.

Why edits go through the editor

Versions and Deploy changes to *configurationFile*.json are applied with jsonc-parser and a VS Code WorkspaceEdit. That preserves your formatting, key order, and trailing commas, so a version bump changes one line. The file goes dirty and you save, so nothing is written behind your back and you can undo. pepperdash.toolkit.json is the exception: it is a tool-owned, committed file, so it is written directly and git diff is the review mechanism.

Why the root is chosen rather than assumed

In a multi-root workspace, "the first folder" can change just by reordering folders in the Explorer, which would silently point Setup, Deploy, and Bundle at a different project. The toolkit therefore asks, remembers the answer per workspace, and groups the picker by which folders already have a pepperdash.toolkit.json. See the Extension Overhaul Plan (Thread A, decision 1) for the design discussion.

How package search uses the local index

Searching GitHub is rate-limited, so Add Package checks a locally built plugin index first and only falls back to a real GitHub search for a device/room type the index has nothing for. The fallback is sequential and budgeted: it stops issuing requests instead of failing if a run nears the rate limit. One consequence is that a brand-new plugin won't be found for a type if some already-indexed repo registers a similarly named type, because the index answering something suppresses the fallback. Rebuilding the index picks the new plugin up. "Not found" and "skipped for rate limit" are reported separately because "we looked and found nothing" is a different claim from "we didn't get to look".

Why the SSH console doesn't use your ssh

The terminal button opens a VS Code terminal backed by the same SSH library deploys use, not the system ssh command. It already has the credentials the card resolved (1Password, address book, or manual), so it doesn't ask for the password again, and it uses the same algorithm set and VPN/MTU retry that make deploys work with Crestron's SSH server. It also works on machines without OpenSSH installed.

How deploy credentials are kept out of the repo

deploy.json is committed, so it never holds a password. 1Password entries store only vault and item IDs. Address Book entries store only a connectionId; the password lives in your OS credential store (Windows Credential Manager, macOS Keychain, or libsecret/kwallet) via VS Code secret storage, and each teammate keeps the matching entry locally. Manual credentials are held in memory for the session and discarded. The same reasoning keeps per-device checkbox state in local VS Code storage rather than in the file.

Why backups are folders and program slots are zipped

A backup is a plain folder tree that matches the device, so plog/ and user/ on disk line up with /plog and /user on the processor and are easy to diff or search. Program slots are the exception: each is zipped into its slot folder, because they hold many small files and the archive keeps disk use down while its name (.cpz, .lpz, or programXX.zip) tells you what the slot ran. Every run gets a timestamped folder so a new backup never overwrites an old one.

Crestron's SFTP server is slow per file, so transfers keep several reads in flight per file and several files at once. That is what brought a full touch-panel backup from about 4.5 minutes to about 10 seconds. A backup can contain credentials and certificates, which is why it asks for confirmation and why Setup suggests a .gitignore entry for the folder.

Why access is Octokit and not the gh CLI

The toolkit uses Octokit with VS Code's built-in GitHub authentication (and a stored PAT for GitHub Enterprise), so there's no separate install or gh auth login step.


Contributing

Build and development instructions are in docs/DEVELOPMENT.md (available in the GitHub repository; not shipped in the VSIX).

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft