These are the default built-in Shell commands for the panel host or container. For Docker, enter the container with docker exec -it qinglong bash. See the separate npm CLI for remote management and panel-internal tools for optional TypeScript execution and maintenance.
Place -m before the script name, for example task -m 30s demo.js now, task -m 5m demo.py, or task -m 1h demo.sh. Values without a suffix are seconds. Without -m, the configured CommandTimeoutTime applies; an empty configuration sets no timeout.
A timeout terminates the script and its descendant processes, with configured after hooks run according to the execution mode. Normal and desi modes record timeout code 124; conc retains its existing aggregate behavior. The default Shell wrapper task.sh still exits with 0, so check the task log for timeout information instead of relying only on the outer command's $?. The internal TypeScript runner returns 124 on timeout; the remote npm CLI's --timeout controls HTTP request waiting time.
Shell scripts run in a child Shell that inherits before-hook variables and functions. A script's cd, Shell options, exit, or exec no longer changes the main wrapper's subsequent hooks and cleanup. Adjust older scripts that rely on those side effects.
| Parameter | Description |
|---|---|
| file_url | Script address |
| repo_url | Repository address |
| whitelist | The whitelist when pulling the repository, i.e., the string contained in the path of the script to be pulled |
| blacklist | Blacklisting when pulling repositories, i.e. strings that are not included in the path of the script to be pulled |
| dependence | Pulling the dependencies needed for the repository will be copied directly from the repository to the repository directory under scripts, regardless of the blacklist |
| extensions | File extensions to include, separated by pipes |
| branch | Repository branch |
| days | Number of days of logs to keep |
| file_path | Path of the script to execute |
Panel builds and regression checks use Node.js 20 and pnpm 8.3.1. The standalone remote CLI requires Node.js 22.12 or newer. Development also needs Python3 and pip3.