### Conductor Setup Script Example Source: https://github.com/dust-tt/dust/blob/main/x/henry/dust-hive/README.md TOML configuration for setting up Conductor workspace hooks using dust-hive adopt, start, and unregister commands. ```toml [scripts] setup = "dust-hive adopt --path \"$CONDUCTOR_WORKSPACE_PATH\" --name \"$CONDUCTOR_WORKSPACE_NAME\"" run = "dust-hive start \"$CONDUCTOR_WORKSPACE_NAME\"" archive = "dust-hive unregister \"$CONDUCTOR_WORKSPACE_NAME\"" run_mode = "concurrent" ``` -------------------------------- ### Setup Existing Conductor Workspace Source: https://github.com/dust-tt/dust/blob/main/x/henry/dust-hive/docs/conductor.md For existing Conductor workspaces created before the setup script was added, run this command sequence from within the workspace. This adopts the workspace and starts the environment. ```bash workspace="$(git rev-parse --show-toplevel)" env_name="$(basename "$workspace")" "$DUST_REPO/.husky/post-checkout" dust-hive adopt --path "$workspace" --name "$env_name" --base-branch main dust-hive start "$env_name" direnv allow ``` -------------------------------- ### Install Dependencies Source: https://github.com/dust-tt/dust/blob/main/connectors/README.md Run this command to install all necessary project dependencies. ```bash npm install ``` -------------------------------- ### Start Temporal Worker (Slack Example) Source: https://github.com/dust-tt/dust/blob/main/connectors/README.md Use this command to start a Temporal worker, for example, for Slack integration. ```bash npm run slack-worker ``` -------------------------------- ### Dust Hive Quick Start Commands Source: https://github.com/dust-tt/dust/blob/main/x/henry/dust-hive/README.md A set of commands for quickly setting up and managing environments. Includes starting services, spawning new environments, warming them up, opening their terminals, getting app URLs, and shutting everything down. ```bash # Start managed services (temporal + test postgres + test redis + main session) dust-hive up # Create a new environment dust-hive spawn myenv # Start all services for one or more environments (docker, front, core, connectors, etc.) dust-hive warm myenv # Open the environment's terminal UI dust-hive open myenv # Get the app URL dust-hive url myenv # http://localhost:10000 # Open in browser open $(dust-hive url myenv) # Stop everything when done dust-hive down ``` -------------------------------- ### Start API Server Source: https://github.com/dust-tt/dust/blob/main/connectors/README.md Execute this command to start the API server for the connectors. ```bash npm run start-api ``` -------------------------------- ### Development Environment Setup Source: https://github.com/dust-tt/dust/blob/main/cli/dust-cli/README.md Instructions for setting up the development environment for the Dust CLI, including Node.js version management, dependency installation, and building the CLI. ```bash npm install npm run build # or npm run build:dev # or npm run dev ``` ```bash node dist/index.js ``` -------------------------------- ### Install and Import Sparkle Components Source: https://github.com/dust-tt/dust/blob/main/sparkle/src/stories/Introduction.mdx Install the Sparkle package and import components from the package root. This example shows how to import Button and Input components and use the Button component. ```tsx import { Button, Input } from "@dust-tt/sparkle"; export function Example() { return