PepperDash ToolkitA VS Code extension for managing Crestron systems running PepperDash Essentials.
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. ContentsThis page follows the Diátaxis framework. Pick the part that matches what you need.
Tutorial: check and update a system's package versionsIn 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
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.
How-to guidesHow to install the extensionFrom the Marketplace: Extensions view → search PepperDash Toolkit → Install. From a VSIX (pre-release or local builds):
To update a VSIX install, install the newer file over the old one. Settings are preserved. How to choose the super-project rootWith a single folder open, that folder is the root and you are never asked. In a multi-root workspace:
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 How to configure project Setup
Field meanings are in How to add GitHub sources and sign in
Changes appear immediately in an open toolkit panel, such as the Add Package dialog's source list. How to build the plugin indexThe index lets Add Package search plugin repos without hitting GitHub each time.
How to check for and apply updates
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
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 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 versionIn 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
How to restore packages
How to download source archives
How to reorder entriesDrag 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
How to set deploy credentialsChoose one source on the device card:
The SSH Port field defaults to How to configure file mappings
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 deployOne 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.
To also run a console command, check one command box before clicking Deploy:
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 ( To get a confirmation before every upload, turn on How to get logs or back up a deviceBoth 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.
Each run writes to its own 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 deviceThe 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
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 networkThe 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
Via processor mode signs in to the processor selected above and runs its
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
How to upgrade from the
|
| 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:
- The folder holding the saved
pepperdash.toolkit.json(shown read-only above the device list with its source). - A legacy
projectRootfield indeploy.json. - Auto-detection via a
*.workspace/*.code-workspacemarker 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 aconnectionIdderived from host + username + password, which matches across machines), and manual (nothing stored). credential.portholds the SSH port and is omitted at22.- A legacy
projectRootfield 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





















