From 25bdab06a32d84bbe5d0c7359d635313cf3e7cf4 Mon Sep 17 00:00:00 2001 From: jarugupj <121142710+jarugupj@users.noreply.github.com> Date: Thu, 4 Jun 2026 14:46:30 +0000 Subject: [PATCH 1/2] Back-fill missing CLI subcommands in the reference Documents subcommands and flags that exist in CLI v0.19.3 but were missing from the reference: deploy github/get/delete, app delete, the invoke subcommands (get/history/update/browsers/delete-browsers) and flags (--payload-file/--async-timeout/--since), logs --invocation, browsers curl/update/telemetry, and mcp server. Follow-up to #397. Co-Authored-By: Claude Opus 4.7 --- reference/cli/apps.mdx | 80 ++++++++++++++++++++++++++++++++++++++ reference/cli/browsers.mdx | 45 +++++++++++++++++++++ reference/cli/mcp.mdx | 4 ++ 3 files changed, 129 insertions(+) diff --git a/reference/cli/apps.mdx b/reference/cli/apps.mdx index 062fe02..f303880 100644 --- a/reference/cli/apps.mdx +++ b/reference/cli/apps.mdx @@ -15,6 +15,20 @@ Deploy an app to Kernel from the current directory. The entrypoint file and depe `package.json` (JS/TS) or `pyproject.toml` (Python) must be present next to the entrypoint. +## `kernel deploy github` +Deploy directly from a GitHub repository without cloning or pushing locally. + +| Flag | Description | +|------|-------------| +| `--url ` | GitHub repository URL (e.g. `https://github.com/org/repo`). | +| `--ref ` | Git ref to deploy (branch, tag, or commit SHA). | +| `--entrypoint ` | Entrypoint within the repo (e.g. `src/index.ts`). | +| `--path ` | Subdirectory within the repo (e.g. `apps/api`). | +| `--github-token ` | GitHub token for private repositories (PAT or installation access token). | +| `--region ` | Deployment region (currently only `aws.us-east-1a`). | + +For private repositories, provide `--github-token` or set the `GITHUB_TOKEN` environment variable. + ## `kernel deploy logs ` Stream build and runtime logs for a deployment. @@ -34,6 +48,20 @@ Show deployment history for all apps or a specific app. | `--limit ` | Maximum number of deployments to return (default: 100, `0` = all). | | `--output json`, `-o json` | Output raw JSON array. | +## `kernel deploy get ` +Get details for a deployment. + +| Flag | Description | +|------|-------------| +| `--output json`, `-o json` | Output raw JSON object. | + +## `kernel deploy delete ` +Delete a deployment. + +| Flag | Description | +|------|-------------| +| `--yes`, `-y` | Skip confirmation prompt. | + ## `kernel invoke ` Invoke an app action. By default the CLI returns immediately after the invocation is queued. @@ -41,11 +69,54 @@ Invoke an app action. By default the CLI returns immediately after the invocatio |------|-------------| | `--version `, `-v` | Target a specific app version (default: latest). | | `--payload `, `-p` | Provide a JSON payload (stringified, max 64 KB). | +| `--payload-file `, `-f` | Read the JSON payload from a file (use `-` for stdin). | | `--sync`, `-s` | Wait for completion (timeout after 60 s). | +| `--async-timeout ` | Timeout for async invocations (min 10, max 3600). Only applies in async mode. | +| `--since