The modern replacement for Salesforce Workbench and Benchpress
Workbench is a Salesforce administration toolkit that embeds directly into your browser — bringing an overlay panel, a VS Code editor, a full metadata explorer, a SOQL editor, and an AI agent capable of controlling your browser, all from a single Chrome extension.
![]() Org Management |
![]() Side Panel |
![]() Quick Record Edit |
| Platform | Status | Link |
|---|---|---|
| Web Extension | Recommended | Add to Chrome |
| Desktop (macOS / Windows) | In development | Coming soon |
packages/lwc/app Main LWC application modules
packages/lwc/web-extension LWC modules specific to extension surfaces
packages/server Dev/prod backend server modules plus LWR assets/layouts/hooks/content
packages/extension Chrome extension entry points and manifest template
packages/shared/modules Shared cross-target modules (shared/*)
packages/workers/src Worker source files
packages/vendor-bundles Vendor build wrappers (OpenAI/just-bash)
tools/build Rollup configs
tools/scripts Utility scripts and generators
assets Shared repository assets (images, skills, data, docs/refactor notes)
apps/ui Landing page and welcome app (React + Vite)
dist Build outputs (dist/web, dist/extension)
- Node.js
22.14(matchespackage.jsonengines) - npm
git clone https://github.com/grebmann1/workbench.git
cd workbench
npm installCreate a .env file in the project root:
CLIENT_SECRET='YOUR_CLIENT_SECRET'
CLIENT_ID='YOUR_CLIENT_ID'Optional vars:
| Variable | Default | Description |
|---|---|---|
PORT |
3000 |
Server port |
REDIRECT_URI |
— | OAuth redirect URI |
DOC_VERSION |
— | Documentation version |
CHROME_ID |
— | Chrome extension ID |
PROXY_URL |
— | Proxy URL |
# Dev server
npm run start:dev:web
# Production build
npm run build:web
# Production server
npm run start:prod:server
# Build and run production
npm run start:prod:web# Build the desktop package
npm run build:desktop
# Start the desktop app against an already-running local web server
npm run start:dev:desktop
# Start both the local web server and the desktop app together
npm run start:dev:desktop:all
# Open the desktop app through the launcher CLI
npm run desktop:open# Dev (main + sandbox watch + local serve)
npm run start:dev:extension
# Production build (extension + workers)
npm run build:prod:extension
# Main-only build
npm run build:extension:mainnpm run watch:workers
npm run build:workersnpm run lint
npm run check
npm run validate- Build extension output (
npm run build:dev:extension). - Open
chrome://extensions/. - Enable Developer mode.
- Click Load unpacked.
- Select
dist/extension.
The extension build outputs
manifest.jsonindist/extension(generated frommanifest.template.json).
lwr.config.jsoncontrols routes, module resolution, and static assets for the web app.- Rollup configs under
tools/buildcontrol extension and worker bundles. - Vendor browser bundles are generated under
packages/vendor-bundlesand copied intopackages/server/assets/libs. - Agent default skill content is generated into
packages/shared/modules/defaultAgentSkills.
A known LWR issue can break hot reload by dropping the LWC namespace during recompilation. This project auto-applies a patch after install via npm run postinstall (tools/scripts/patch_lwr_hmr_namespace.mjs).
If hot reload behaves inconsistently, clear cache and restart the dev server:
rm -rf __lwr_cache__
npm run start:dev:web| Area | Location |
|---|---|
| New app-level pages / features | packages/lwc/app/pages and packages/lwc/app/application |
| Shared LWC UI shell elements | packages/lwc/app/component |
| Extension-only components | packages/lwc/web-extension |
| Cross-target reusable modules | packages/shared/modules |
| Server hooks / routes / content / layout | packages/server |
- Continue improving code analyzer and metadata tooling
- Expand data/object assignment analysis
- Improve extension localhost and debugging workflows
- Incrementally improve shared module boundaries and package ergonomics
- Release Desktop app for macOS and Windows
Contributions are welcome. Please open issues or pull requests for improvements, fixes, and new tooling modules.
- LWC SOQL Builder
- Salesforce Inspector Reloaded
- Apex Log Analyzer — blazing-fast Salesforce Apex debug log analyzer for VS Code, with flame charts, SOQL/DML analysis, and Apex insights
MIT









