### Manual Web Deployment Steps Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/armbian-deploy.md Steps for manually deploying ClawPanel in Web mode, including Node.js installation, cloning the repository, installing dependencies, building, and starting the service. ```bash # 1. Install Node.js 22 LTS curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash - sudo apt-get install -y nodejs git # 2. Clone project git clone https://github.com/qingchencloud/clawpanel.git /opt/clawpanel cd /opt/clawpanel # 3. Install dependencies and build npm ci --registry https://registry.npmmirror.com npm run build # 4. Start service npm run serve -- --port 1420 ``` -------------------------------- ### Manage ClawPanel with PM2 Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Installs PM2, builds ClawPanel, starts it as a named process, saves the process list for startup, and enables PM2 to start on boot. ```bash npm install -g pm2 cd /opt/clawpanel npm run build pm2 start "npm run serve" --name clawpanel pm2 save pm2 startup ``` -------------------------------- ### Clone and Install ClawPanel Source: https://github.com/qingchencloud/clawpanel/blob/main/README.en.md Clone the repository and install dependencies to get started with ClawPanel. ```bash git clone https://github.com/qingchencloud/clawpanel.git cd clawpanel && npm install ``` -------------------------------- ### Clone and Install Dependencies Source: https://github.com/qingchencloud/clawpanel/blob/main/README.md Clone the repository and install frontend dependencies using npm. This is the initial step for both development and building. ```bash git clone https://github.com/qingchencloud/clawpanel.git cd clawpanel npm install ``` -------------------------------- ### Install Node.js on Alpine Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Installs Node.js, npm, and Git on Alpine Linux systems. ```bash apk add nodejs npm git ``` -------------------------------- ### Start Tauri Desktop App (Windows) Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/index.html Execute this command to start the full Tauri desktop application on Windows systems. ```bash # Windows — Start full Tauri desktop app ``` -------------------------------- ### Install Skill from SkillHub Source: https://context7.com/qingchencloud/clawpanel/llms.txt Installs a skill from the SkillHub for a specified agent. ```javascript await api.skillhubInstall('web-scraper', 'main') ``` -------------------------------- ### Verify Node.js and npm Installation Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Checks the installed versions of Node.js and npm. ```bash node -v ``` ```bash npm -v ``` -------------------------------- ### Start Frontend Only (Browser Mock Mode) Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/index.html Run this command to start only the frontend in browser mock mode, useful for independent debugging. ```bash # Frontend only (browser mock mode) ``` -------------------------------- ### Start Tauri Desktop App (macOS/Linux) Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/index.html Execute this command to start the full Tauri desktop application on macOS or Linux systems. ```bash # macOS / Linux — Start full Tauri desktop app ``` -------------------------------- ### Start ClawPanel Web (Docker) Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/index.html Use this command to start ClawPanel Web using Docker. This method supports container isolation, Compose orchestration, custom images, and Nginx reverse proxy. ```bash # One command to start ClawPanel Web ``` -------------------------------- ### Run Web Server with Custom Host and Port Source: https://context7.com/qingchencloud/clawpanel/llms.txt Starts the ClawPanel web server, allowing specification of the host and port. ```bash npm run serve -- --host 127.0.0.1 --port 8080 ``` -------------------------------- ### Run Web Server with Environment Variables Source: https://context7.com/qingchencloud/clawpanel/llms.txt Starts the ClawPanel web server using environment variables to define the host and port. ```bash HOST=0.0.0.0 PORT=3000 npm run serve ``` -------------------------------- ### Clone Repository and Install Dependencies Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/index.html Clone the ClawPanel repository and install project dependencies using npm. ```bash git clone https://github.com/qingchencloud/clawpanel.git cd clawpanel && npm install ``` -------------------------------- ### Install OpenClaw (Chinese Version) Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Installs the Chinese version of OpenClaw globally using npm with a specified registry. ```bash npm install -g @qingchencloud/openclaw-zh --registry https://registry.npmmirror.com ``` -------------------------------- ### Create and Start Docker Container Source: https://context7.com/qingchencloud/clawpanel/llms.txt API calls to create a new Docker container with specified image, ports, volumes, and environment variables, then start it. ```javascript // Create and start container await api.dockerCreateContainer({ name: 'openclaw-agent', image: 'ghcr.io/qingchencloud/openclaw:latest', ports: { 18789: 18789, 1420: 1420 }, volumes: { '/root/.openclaw': '/data/openclaw' }, env: { OPENCLAW_HOME: '/root/.openclaw' } }) await api.dockerStartContainer(null, 'abc123') ``` -------------------------------- ### Check Hermes Agent Installation Source: https://context7.com/qingchencloud/clawpanel/llms.txt Verifies the installation of the Hermes Agent and its gateway status. Returns version information. ```javascript const hermesCheck = await api.checkHermes() // Returns: { installed: true, version: "0.5.2", gateway_running: false } ``` -------------------------------- ### List Installed Plugins Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/dingtalk-integration.md Use this command to verify if the `dingtalk-connector` plugin has been successfully loaded by ClawPanel. ```bash openclaw plugins list ``` -------------------------------- ### Install Node.js on Ubuntu/Debian Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Installs Node.js version 22.x LTS on Ubuntu or Debian systems using NodeSource repository. ```bash curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - ``` ```bash sudo apt-get install -y nodejs ``` -------------------------------- ### Start Tauri Desktop App (macOS/Linux) Source: https://github.com/qingchencloud/clawpanel/blob/main/README.md Launches the full Tauri desktop application in development mode. Use this for debugging the desktop version. ```bash ./scripts/dev.sh ``` -------------------------------- ### Check Python Installation Source: https://context7.com/qingchencloud/clawpanel/llms.txt Checks if Python is installed and returns its version and path. Useful for verifying prerequisites for Hermes Agent. ```javascript const pythonCheck = await api.checkPython() // Returns: { installed: true, version: "3.11.4", path: "/usr/bin/python3" } ``` -------------------------------- ### Check All Skill Dependencies Source: https://context7.com/qingchencloud/clawpanel/llms.txt Checks the dependencies for all installed skills. Returns a summary of whether all dependencies are met and lists any missing ones with installation instructions. ```javascript const check = await api.skillsCheck() // Returns: { all_ok: false, missing: [{ skill: "web-search", dep: "curl", install: "brew install curl" }] } ``` -------------------------------- ### Install Skill Dependency Source: https://context7.com/qingchencloud/clawpanel/llms.txt Installs a specific skill dependency using a given package manager. Supported kinds include 'brew', 'npm', 'go', and 'uv'. ```javascript await api.skillsInstallDep('brew', 'curl') // kind: 'brew' | 'npm' | 'go' | 'uv' ``` -------------------------------- ### Install Node.js on CentOS/RHEL/Fedora Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Installs Node.js version 22.x LTS on CentOS, RHEL, or Fedora systems using NodeSource repository. ```bash curl -fsSL https://rpm.nodesource.com/setup_22.x | sudo bash - ``` ```bash sudo yum install -y nodejs ``` -------------------------------- ### Build Release Version with NSIS Installer (Windows) Source: https://github.com/qingchencloud/clawpanel/blob/main/README.md Compiles the release version and specifically packages it using the NSIS installer format on Windows. ```powershell npm run tauri build -- --bundles nsis ``` -------------------------------- ### Clone ClawPanel Repository and Install Dependencies Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Clones the ClawPanel repository into /opt, changes ownership, navigates into the directory, and installs npm dependencies. ```bash cd /opt sudo git clone https://github.com/qingchencloud/clawpanel.git sudo chown -R $(whoami) clawpanel cd clawpanel npm install ``` -------------------------------- ### Start Vite Frontend Only (macOS/Linux) Source: https://github.com/qingchencloud/clawpanel/blob/main/README.md Starts only the Vite frontend for browser debugging, utilizing mock data. This is useful for frontend-only development without the Rust backend. ```bash ./scripts/dev.sh web ``` -------------------------------- ### List Installed Skills Source: https://context7.com/qingchencloud/clawpanel/llms.txt Retrieves a list of installed skills for a given agent, including their status and dependency check results. ```javascript const skills = await api.skillsList('main') // Returns: [{ name: "web-search", path: "~/.openclaw/skills/web-search", enabled: true, deps_ok: true }] ``` -------------------------------- ### Docker Quick Start for ClawPanel Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Runs ClawPanel in a Docker container, mapping port 1420 and persisting configuration data. ```bash docker run -d \ --name clawpanel \ --restart unless-stopped \ -p 1420:1420 \ -v clawpanel-data:/root/.openclaw \ node:22-slim \ sh -c "apt-get update && apt-get install -y git && \ npm install -g @qingchencloud/openclaw-zh --registry https://registry.npmmirror.com && \ git clone https://github.com/qingchencloud/clawpanel.git /app && \ cd /app && npm install && npm run build && npm run serve" ``` -------------------------------- ### Install Hermes Agent Source: https://context7.com/qingchencloud/clawpanel/llms.txt Installs the Hermes Agent using a specified method ('uv-tool' or 'pip') and optional feature flags (extras). ```javascript await api.installHermes('uv-tool', ['mcp', 'web']) // method: 'uv-tool' | 'pip', extras: optional feature flags ``` -------------------------------- ### Build and Serve ClawPanel Web Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Builds the production version of the frontend and starts the ClawPanel Web server on the default port 1420. ```bash npm run build npm run serve ``` -------------------------------- ### Start Vite Frontend Only (Windows) Source: https://github.com/qingchencloud/clawpanel/blob/main/README.md Starts only the Vite frontend for browser debugging, utilizing mock data. This is useful for frontend-only development on Windows. ```powershell npm run dev ``` -------------------------------- ### Configure ClawPanel Systemd Service Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/armbian-deploy.md Set up ClawPanel to automatically start on boot using systemd. Ensure the service file is correctly configured for your environment. ```bash sudo tee /etc/systemd/system/clawpanel.service << 'EOF' [Unit] Description=ClawPanel Web Server After=network.target [Service] Type=simple User=root WorkingDirectory=/opt/clawpanel ExecStart=/usr/bin/node scripts/serve.js --port 1420 Restart=on-failure RestartSec=5 Environment=NODE_ENV=production [Install] WantedBy=multi-user.target EOF sudo systemctl daemon-reload sudo systemctl enable --now clawpanel ``` -------------------------------- ### Start Tauri Desktop App (Windows) Source: https://github.com/qingchencloud/clawpanel/blob/main/README.md Launches the full Tauri desktop application in development mode on Windows. This command is used for debugging the desktop version. ```powershell npm run tauri dev ``` -------------------------------- ### Docker Deployment Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/index.html Run ClawPanel Web using Docker. This command starts the container, maps port 1420, and mounts a volume for persistent data. ```bash docker run -d --name clawpanel -p 1420:1420 \ -v clawpanel-data:/root/.openclaw node:22-slim \ sh -c "apt-get update && apt-get install -y git && ..." ``` -------------------------------- ### Manage ClawPanel systemd Service Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Commands to reload systemd, enable ClawPanel to start on boot, start the service, check its status, restart it, and view its logs. ```bash sudo systemctl daemon-reload sudo systemctl enable clawpanel sudo systemctl start clawpanel ``` ```bash sudo systemctl status clawpanel ``` ```bash sudo systemctl restart clawpanel ``` ```bash sudo journalctl -u clawpanel -f ``` -------------------------------- ### Serve ClawPanel on Custom Port Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Starts the ClawPanel Web server on a specified custom port, e.g., 8080. ```bash npm run serve -- --port 8080 ``` -------------------------------- ### Upgrade ClawPanel Web Version on Linux (Manual) Source: https://github.com/qingchencloud/clawpanel/blob/main/README.md Manually upgrade the ClawPanel web version on Linux by pulling the latest code, installing dependencies, building the project, and restarting the service. Ensure you are in the correct installation directory. ```bash cd /opt/clawpanel # Replace with your actual installation directory git pull origin main npm install npm run build sudo systemctl restart clawpanel ``` -------------------------------- ### Initialize Internationalization Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/index.html Initializes the internationalization (i18n) system for the application. This is a setup function that should be called on application startup. ```javascript _initI18n(); ``` -------------------------------- ### Get System Information via Assistant API Source: https://context7.com/qingchencloud/clawpanel/llms.txt Retrieves detailed system information including operating system, architecture, home directory, hostname, and default shell. ```javascript // Get system information const sysInfo = await api.assistantSystemInfo() // Returns: { os: "macos", arch: "aarch64", home: "/Users/me", hostname: "MacBook", shell: "/bin/zsh" } ``` -------------------------------- ### Deploy ClawPanel on Linux Server Source: https://github.com/qingchencloud/clawpanel/blob/main/README.zh-TW.md Use this command to deploy the web version of ClawPanel on a Linux server. It automatically detects the architecture and installs necessary components. ```bash curl -fsSL https://raw.githubusercontent.com/qingchencloud/clawpanel/main/scripts/linux-deploy.sh | bash ``` -------------------------------- ### Run ClawPanel on Docker ARM64 Source: https://github.com/qingchencloud/clawpanel/blob/main/README.en.md Deploy ClawPanel using Docker on ARM64 architecture. Ensure Node.js 18+ is installed for web deployment mode. ```bash docker run ghcr.io/qingchencloud/openclaw:latest ``` -------------------------------- ### Docker Deployment with Tencent Cloud Mirror Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/armbian-deploy.md Alternative Docker deployment command using Tencent Cloud's mirror for faster pulls in China. This starts a container named 'openclaw'. ```bash docker run -d \ --name openclaw \ -p 1420:1420 \ -p 18789:18789 \ -v openclaw-data:/root/.openclaw \ --restart unless-stopped \ ccr.ccs.tencentyun.com/qingchencloud/openclaw:latest ``` -------------------------------- ### Docker Deployment for ARM64 Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/armbian-deploy.md Deploy ClawPanel using Docker on ARM64 devices. This command pulls the latest image and starts a container named 'openclaw'. ```bash # Install Docker (if you don't have it yet) curl -fsSL https://get.docker.com | sh # One-click start (OpenClaw + ClawPanel integrated) docker run -d \ --name openclaw \ -p 1420:1420 \ -p 18789:18789 \ -v openclaw-data:/root/.openclaw \ --restart unless-stopped \ ghcr.io/qingchencloud/openclaw:latest ``` -------------------------------- ### Skills Management API Source: https://context7.com/qingchencloud/clawpanel/llms.txt APIs for managing skills, including listing, getting details, checking dependencies, installing, and uninstalling. ```APIDOC ## Skills Management API ### Description Manages OpenClaw's tool/skill system, including installation, dependency checking, and SkillHub integration. ### List Installed Skills #### Method `api.skillsList(agentId)` #### Parameters - **agentId** (string) - Required - The ID of the agent. #### Response Example ```json [ { "name": "web-search", "path": "~/.openclaw/skills/web-search", "enabled": true, "deps_ok": true } ] ``` ### Get Skill Details #### Method `api.skillsInfo(skillName, agentId)` #### Parameters - **skillName** (string) - Required - The name of the skill. - **agentId** (string) - Required - The ID of the agent. #### Response Example ```json { "name": "web-search", "description": "...", "tools": [...], "dependencies": [...], "readme": "..." } ``` ### Check All Skill Dependencies #### Method `api.skillsCheck()` #### Response Example ```json { "all_ok": false, "missing": [{ "skill": "web-search", "dep": "curl", "install": "brew install curl" }] } ``` ### Install Skill Dependency #### Method `api.skillsInstallDep(kind, dependency)` #### Parameters - **kind** (string) - Required - The type of dependency manager ('brew', 'npm', 'go', 'uv'). - **dependency** (string) - Required - The name of the dependency to install. ### Uninstall Skill #### Method `api.skillsUninstall(skillName, agentId)` #### Parameters - **skillName** (string) - Required - The name of the skill to uninstall. - **agentId** (string) - Required - The ID of the agent. ### SkillHub: Search Skills #### Method `api.skillhubSearch(query, limit)` #### Parameters - **query** (string) - Required - The search query. - **limit** (integer) - Optional - The maximum number of results to return. #### Response Example ```json [ { "slug": "web-scraper", "name": "Web Scraper", "description": "...", "downloads": 1234 } ] ``` ### SkillHub: Install Skill #### Method `api.skillhubInstall(slug, agentId)` #### Parameters - **slug** (string) - Required - The slug of the skill to install from SkillHub. - **agentId** (string) - Required - The ID of the agent. ``` -------------------------------- ### Control Hermes Gateway Source: https://context7.com/qingchencloud/clawpanel/llms.txt Starts, stops, or restarts the Hermes Agent gateway. Use 'start', 'stop', or 'restart'. ```javascript await api.hermesGatewayAction('start') // 'start' | 'stop' | 'restart' ``` -------------------------------- ### Initialize OpenClaw Configuration Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/linux-deploy.md Initializes the OpenClaw configuration for the first time. ```bash openclaw init ``` -------------------------------- ### One-Click Deploy ClawPanel Web (Linux) Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/index.html This command deploys ClawPanel Web, OpenClaw, and sets up systemd autostart on Linux. Supports various distributions like Ubuntu, Debian, CentOS, Fedora, and Alpine. ```bash # One-click deploy ClawPanel Web + OpenClaw + systemd autostart ``` -------------------------------- ### One-Click Web Deployment Script Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/armbian-deploy.md Execute this script to automatically deploy ClawPanel in Web mode. Recommended for most ARM devices. ```bash curl -fsSL https://raw.githubusercontent.com/qingchencloud/clawpanel/main/scripts/linux-deploy.sh | bash ``` ```bash curl -fsSL https://gitee.com/QtCodeCreators/clawpanel/raw/main/scripts/linux-deploy.sh | bash ``` -------------------------------- ### Full Release Process Steps Source: https://github.com/qingchencloud/clawpanel/blob/main/CONTRIBUTING.md A sequence of bash commands outlining the complete release process, from checking the working directory and setting the new version to committing, pushing, and tagging for automated builds. ```bash # 1. Confirm clean working directory git status # 2. Set new version (auto-sync to tauri.conf.json / Cargo.toml / docs/index.html) npm run version:set 0.6.0 # 3. Write CHANGELOG.md changes # 4. Commit git add -A git commit -m "chore: release v0.6.0" git push origin main # 5. Tag to trigger auto build git tag v0.6.0 git push origin v0.6.0 ``` -------------------------------- ### Build ClawPanel Desktop App Source: https://github.com/qingchencloud/clawpanel/blob/main/README.en.md Build the desktop application for development or production using Tauri. ```bash # Desktop (requires Rust + Tauri v2) npm run tauri dev # Development npm run tauri build # Production ``` -------------------------------- ### Web Server Mode (Headless) Source: https://context7.com/qingchencloud/clawpanel/llms.txt Instructions for building and running ClawPanel as a standalone web server. ```APIDOC ## Web Server Mode (Headless) ### Description ClawPanel can run as a standalone web server without a GUI, suitable for servers, Docker, and ARM devices. ### Build and Run #### Command ```bash npm run build npm run serve ``` ### Custom Host and Port #### Command ```bash npm run serve -- --host 127.0.0.1 --port 8080 ``` ### Using Environment Variables #### Example ```bash HOST=0.0.0.0 PORT=3000 npm run serve ``` ``` -------------------------------- ### Build Production Web Version Source: https://github.com/qingchencloud/clawpanel/blob/main/README.md Builds the production-ready static assets for the web version of the application. ```bash npm run build ``` -------------------------------- ### Tauri and Web Mode API Switching Source: https://github.com/qingchencloud/clawpanel/blob/main/CONTRIBUTING.md Example code showing how to adapt frontend logic based on the running environment (Tauri desktop vs. Web browser). It checks for `window.__TAURI_INTERNALS__` to determine the mode and uses the appropriate API call method. ```javascript const isTauri = !!window.__TAURI_INTERNALS__ if (isTauri) { // Desktop: via Tauri IPC const { api } = await import('../lib/tauri-api.js') const cfg = await api.readPanelConfig() } else { // Web: via HTTP API const resp = await fetch('/__api/xxx', { method: 'POST', ... }) } ``` -------------------------------- ### Get Hermes Session Detail Source: https://context7.com/qingchencloud/clawpanel/llms.txt Retrieves detailed information for a specific Hermes session. ```javascript const detail = await api.hermesSessionDetail('session-123') ``` -------------------------------- ### Serve ClawPanel in Web Mode Source: https://github.com/qingchencloud/clawpanel/blob/main/README.en.md Run ClawPanel in pure Web deployment mode, which has zero GUI dependency and is compatible with ARM64 boards. Node.js 18+ is required. ```bash npm run serve ``` -------------------------------- ### Hermes Agent Integration API Source: https://context7.com/qingchencloud/clawpanel/llms.txt APIs for integrating with the Hermes Agent, including installation, configuration, and session management. ```APIDOC ## Hermes Agent Integration API ### Description Provides integration with the Hermes Agent framework as an alternative AI engine. ### Check Python Installation #### Method `api.checkPython()` #### Response Example ```json { "installed": true, "version": "3.11.4", "path": "/usr/bin/python3" } ``` ### Check Hermes Installation #### Method `api.checkHermes()` #### Response Example ```json { "installed": true, "version": "0.5.2", "gateway_running": false } ``` ### Install Hermes Agent #### Method `api.installHermes(method, extras)` #### Parameters - **method** (string) - Required - The installation method ('uv-tool' or 'pip'). - **extras** (array) - Optional - Additional feature flags (e.g., ['mcp', 'web']). ### Configure Hermes with AI Provider #### Method `api.configureHermes(provider, apiKey, model, apiUrl)` #### Parameters - **provider** (string) - Required - The AI provider (e.g., 'openai'). - **apiKey** (string) - Required - The API key for the provider. - **model** (string) - Required - The AI model to use. - **apiUrl** (string) - Optional - The API endpoint URL. ### Hermes Gateway Control #### Method `api.hermesGatewayAction(action)` #### Parameters - **action** (string) - Required - The action to perform ('start', 'stop', 'restart'). ### Hermes Health Check #### Method `api.hermesHealthCheck()` #### Response Example ```json { "running": true, "port": 8642, "uptime": 3600 } ``` ### Run Hermes Agent (Non-Streaming) #### Method `api.hermesAgentRun(prompt, sessionId, history, systemInstructions)` #### Parameters - **prompt** (string) - Required - The user's prompt. - **sessionId** (string) - Required - The ID of the session. - **history** (array) - Optional - Conversation history. - **systemInstructions** (string) - Optional - System instructions for the agent. #### Response Example ```json "Agent response string" ``` ### Hermes Sessions Management #### List Sessions ##### Method `api.hermesSessionsList(type, limit)` ##### Parameters - **type** (string) - Required - The type of sessions to list (e.g., 'local'). - **limit** (integer) - Optional - The maximum number of sessions to return. #### Get Session Detail ##### Method `api.hermesSessionDetail(sessionId)` ##### Parameters - **sessionId** (string) - Required - The ID of the session. #### Rename Session ##### Method `api.hermesSessionRename(sessionId, newName)` ##### Parameters - **sessionId** (string) - Required - The ID of the session. - **newName** (string) - Required - The new name for the session. #### Delete Session ##### Method `api.hermesSessionDelete(sessionId)` ##### Parameters - **sessionId** (string) - Required - The ID of the session. ### Hermes Memory Management #### Read Memory ##### Method `api.hermesMemoryRead(memoryName)` ##### Parameters - **memoryName** (string) - Required - The name of the memory to read. #### Write Memory ##### Method `api.hermesMemoryWrite(memoryName, content)` ##### Parameters - **memoryName** (string) - Required - The name of the memory to write. - **content** (string) - Required - The content to write. ``` -------------------------------- ### Run ClawPanel Docker Container Source: https://context7.com/qingchencloud/clawpanel/llms.txt Command to run ClawPanel in a Docker container, mapping ports and volumes, and installing dependencies. ```bash docker run -d --name clawpanel --restart unless-stopped \ -p 1420:1420 -v clawpanel-data:/root/.openclaw \ node:22-slim \ sh -c "npm install -g @qingchencloud/openclaw-zh && \ git clone https://github.com/qingchencloud/clawpanel.git /app && \ cd /app && npm install && npm run build && npm run serve" ``` -------------------------------- ### Get Skill Details Source: https://context7.com/qingchencloud/clawpanel/llms.txt Fetches detailed information about a specific skill, including its description, tools, dependencies, and README content. ```javascript const skillInfo = await api.skillsInfo('web-search', 'main') // Returns: { name, description, tools: [...], dependencies: [...], readme: "..." } ``` -------------------------------- ### Add Swap File for Low Memory Source: https://github.com/qingchencloud/clawpanel/blob/main/docs/armbian-deploy.md Instructions to create and enable a swap file on systems with insufficient RAM. This can help prevent Out-Of-Memory errors. ```bash sudo fallocate -l 1G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile echo '/swapfile swap swap defaults 0 0' | sudo tee -a /etc/fstab ``` -------------------------------- ### Uninstall ClawPanel DEB Package on Linux Source: https://github.com/qingchencloud/clawpanel/blob/main/README.md Use this command to uninstall the ClawPanel application if it was installed using a DEB package on Debian-based Linux distributions. ```bash sudo dpkg -r clawpanel ```