diff --git a/README.md b/README.md index 81ca1c2..4e9e137 100644 --- a/README.md +++ b/README.md @@ -149,17 +149,16 @@ Create an API key from the [Kernel dashboard](https://dashboard.onkernel.com). - `kernel browsers list` - List running browsers - `kernel browsers create` - Create a new browser session - - `-p, --persistence-id ` - Unique identifier for browser session persistence - `-s, --stealth` - Launch browser in stealth mode to avoid detection - `-H, --headless` - Launch browser without GUI access - `--kiosk` - Launch browser in kiosk mode -- `kernel browsers delete ` - Delete a browser +- `kernel browsers delete ` - Delete a browser - `-y, --yes` - Skip confirmation prompt -- `kernel browsers view ` - Get live view URL for a browser +- `kernel browsers view ` - Get live view URL for a browser ### Browser Logs -- `kernel browsers logs stream ` - Stream browser logs +- `kernel browsers logs stream ` - Stream browser logs - `--source ` - Log source: "path" or "supervisor" (required) - `--follow` - Follow the log stream (default: true) - `--path ` - File path when source=path @@ -167,111 +166,111 @@ Create an API key from the [Kernel dashboard](https://dashboard.onkernel.com). ### Browser Replays -- `kernel browsers replays list ` - List replays for a browser -- `kernel browsers replays start ` - Start a replay recording +- `kernel browsers replays list ` - List replays for a browser +- `kernel browsers replays start ` - Start a replay recording - `--framerate ` - Recording framerate (fps) - `--max-duration ` - Maximum duration in seconds -- `kernel browsers replays stop ` - Stop a replay recording -- `kernel browsers replays download ` - Download a replay video +- `kernel browsers replays stop ` - Stop a replay recording +- `kernel browsers replays download ` - Download a replay video - `-o, --output ` - Output file path for the replay video ### Browser Process Control -- `kernel browsers process exec [--] [command...]` - Execute a command synchronously +- `kernel browsers process exec [--] [command...]` - Execute a command synchronously - `--command ` - Command to execute (optional; if omitted, trailing args are executed via /bin/bash -c) - `--args ` - Command arguments - `--cwd ` - Working directory - `--timeout ` - Timeout in seconds - `--as-user ` - Run as user - `--as-root` - Run as root -- `kernel browsers process spawn [--] [command...]` - Execute a command asynchronously +- `kernel browsers process spawn [--] [command...]` - Execute a command asynchronously - `--command ` - Command to execute (optional; if omitted, trailing args are executed via /bin/bash -c) - `--args ` - Command arguments - `--cwd ` - Working directory - `--timeout ` - Timeout in seconds - `--as-user ` - Run as user - `--as-root` - Run as root -- `kernel browsers process kill ` - Send a signal to a process +- `kernel browsers process kill ` - Send a signal to a process - `--signal ` - Signal to send: TERM, KILL, INT, HUP (default: TERM) -- `kernel browsers process status ` - Get process status -- `kernel browsers process stdin ` - Write to process stdin (base64) +- `kernel browsers process status ` - Get process status +- `kernel browsers process stdin ` - Write to process stdin (base64) - `--data-b64 ` - Base64-encoded data to write to stdin (required) -- `kernel browsers process stdout-stream ` - Stream process stdout/stderr +- `kernel browsers process stdout-stream ` - Stream process stdout/stderr ### Browser Filesystem -- `kernel browsers fs new-directory ` - Create a new directory +- `kernel browsers fs new-directory ` - Create a new directory - `--path ` - Absolute directory path to create (required) - `--mode ` - Directory mode (octal string) -- `kernel browsers fs delete-directory ` - Delete a directory +- `kernel browsers fs delete-directory ` - Delete a directory - `--path ` - Absolute directory path to delete (required) -- `kernel browsers fs delete-file ` - Delete a file +- `kernel browsers fs delete-file ` - Delete a file - `--path ` - Absolute file path to delete (required) -- `kernel browsers fs download-dir-zip ` - Download a directory as zip +- `kernel browsers fs download-dir-zip ` - Download a directory as zip - `--path ` - Absolute directory path to download (required) - `-o, --output ` - Output zip file path -- `kernel browsers fs file-info ` - Get file or directory info +- `kernel browsers fs file-info ` - Get file or directory info - `--path ` - Absolute file or directory path (required) -- `kernel browsers fs list-files ` - List files in a directory +- `kernel browsers fs list-files ` - List files in a directory - `--path ` - Absolute directory path (required) -- `kernel browsers fs move ` - Move or rename a file or directory +- `kernel browsers fs move ` - Move or rename a file or directory - `--src ` - Absolute source path (required) - `--dest ` - Absolute destination path (required) -- `kernel browsers fs read-file ` - Read a file +- `kernel browsers fs read-file ` - Read a file - `--path ` - Absolute file path (required) - `-o, --output ` - Output file path (optional) -- `kernel browsers fs set-permissions ` - Set file permissions or ownership +- `kernel browsers fs set-permissions ` - Set file permissions or ownership - `--path ` - Absolute path (required) - `--mode ` - File mode bits (octal string) (required) - `--owner ` - New owner username or UID - `--group ` - New group name or GID -- `kernel browsers fs upload ` - Upload one or more files +- `kernel browsers fs upload ` - Upload one or more files - `--file ` - Mapping local:remote (repeatable) - `--dest-dir ` - Destination directory for uploads - `--paths ` - Local file paths to upload -- `kernel browsers fs upload-zip ` - Upload a zip and extract it +- `kernel browsers fs upload-zip ` - Upload a zip and extract it - `--zip ` - Local zip file path (required) - `--dest-dir ` - Destination directory to extract to (required) -- `kernel browsers fs write-file ` - Write a file from local data +- `kernel browsers fs write-file ` - Write a file from local data - `--path ` - Destination absolute file path (required) - `--mode ` - File mode (octal string) - `--source ` - Local source file path (required) ### Browser Extensions -- `kernel browsers extensions upload ...` - Ad-hoc upload of one or more unpacked extensions to a running browser instance. +- `kernel browsers extensions upload ...` - Ad-hoc upload of one or more unpacked extensions to a running browser instance. ### Browser Computer Controls -- `kernel browsers computer click-mouse ` - Click mouse at coordinates +- `kernel browsers computer click-mouse ` - Click mouse at coordinates - `--x ` - X coordinate (required) - `--y ` - Y coordinate (required) - `--num-clicks ` - Number of clicks (default: 1) - `--button