
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@botpress/desk-custom-components-cli
Advanced tools
CLI tool for building and deploying custom components to Desk
Custom Components CLI is a tool to help you build and deploy custom components to Desk.
bun install -g @botpress/desk-custom-components-cli
Authenticate with your Botpress account before using the CLI:
dcc login
You will be prompted to choose between browser SSO (recommended) or entering a Personal Access Token manually. Your credentials are cached locally at ~/.botpress/global.cache.json.
Options:
-t, --pat <token> — Personal Access Token (skips the prompt)--bp-api-url <url> — Override the Botpress API URLdcc init
You will be asked to provide a name and select a starter template:
| Template | Description |
|---|---|
default | Minimal component with a single message prop |
form | Form with validation and a submit button |
The CLI creates a new folder at components/{name}/ containing:
Component.tsx — The main component fileschema.ts — Zod schema defining the component's propsstyles.css — Component stylesOptions:
-n, --name <name> — Component name (skips the name prompt)-c, --component <template> — Template to use: default or form (skips the template prompt)dcc build
Select your component from the list. This compiles the TypeScript/JSX to a .js file in the same folder.
Options:
-p, --path <path> — Path to the component file (skips the selection prompt)dcc deploy
Select your component from the list. This builds the component and uploads it to Desk.
Options:
-p, --path <path> — Path to the component file-n, --name <name> — Custom component name (defaults to the folder name)-t, --pat <token> — Personal Access Token-w, --workspace <id> — Workspace ID--bp-api-url <url> — Override the Botpress API URL--desk-api-url <url> — Override the Desk API URLIf no credentials are cached, you will be prompted for your PAT and workspace ID.
dcc list
Lists all components currently deployed to your workspace.
Options:
-t, --pat <token> — Personal Access Token-w, --workspace <id> — Workspace ID--bp-api-url <url> — Override the Botpress API URL--desk-api-url <url> — Override the Desk API URLdcc remove
Select your component from the list. This deletes the component from Desk.
Options:
-n, --name <name> — Component name (skips the selection prompt)-t, --pat <token> — Personal Access Token-w, --workspace <id> — Workspace ID--bp-api-url <url> — Override the Botpress API URL--desk-api-url <url> — Override the Desk API URLdcc logout
Clears your cached credentials (PAT, workspace, and API URL).
FAQs
CLI tool for building and deploying custom components to Desk
We found that @botpress/desk-custom-components-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.