Skip to content

Commit bd0a652

Browse files
masnwilliamsclaude
andcommitted
docs: keep single-page CLI layout, order browsers before managed auth
Revert the per-tag page split; restore the consolidated browsers/apps pages and the single managed-auth page. Reorder the CLI nav and index cards so Browsers comes before Managed Auth. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent c5294b6 commit bd0a652

20 files changed

Lines changed: 661 additions & 834 deletions

docs.json

Lines changed: 11 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -259,66 +259,17 @@
259259
},
260260
{
261261
"tab": "CLI",
262-
"groups": [
263-
{
264-
"group": "Get Started",
265-
"pages": [
266-
"reference/cli",
267-
"reference/cli/create",
268-
"reference/cli/auth",
269-
"reference/cli/mcp"
270-
]
271-
},
272-
{
273-
"group": "Browsers",
274-
"pages": [
275-
"reference/cli/browsers"
276-
]
277-
},
278-
{
279-
"group": "Control the Browser",
280-
"pages": [
281-
"reference/cli/browsers-computer",
282-
"reference/cli/browsers-playwright",
283-
"reference/cli/browsers-filesystem",
284-
"reference/cli/browsers-processes"
285-
]
286-
},
287-
{
288-
"group": "Observe the Browser",
289-
"pages": [
290-
"reference/cli/browsers-replays",
291-
"reference/cli/browsers-logs",
292-
"reference/cli/browsers-telemetry"
293-
]
294-
},
295-
{
296-
"group": "Configure Resources & Auth",
297-
"pages": [
298-
"reference/cli/profiles",
299-
"reference/cli/proxies",
300-
"reference/cli/extensions",
301-
"reference/cli/browser-pools",
302-
"reference/cli/managed-auth",
303-
"reference/cli/credentials",
304-
"reference/cli/credential-providers"
305-
]
306-
},
307-
{
308-
"group": "Deploy Your Agent",
309-
"pages": [
310-
"reference/cli/apps",
311-
"reference/cli/deployments",
312-
"reference/cli/invocations"
313-
]
314-
},
315-
{
316-
"group": "Organization",
317-
"pages": [
318-
"reference/cli/projects",
319-
"reference/cli/api-keys"
320-
]
321-
}
262+
"pages": [
263+
"reference/cli",
264+
"reference/cli/create",
265+
"reference/cli/auth",
266+
"reference/cli/browsers",
267+
"reference/cli/apps",
268+
"reference/cli/managed-auth",
269+
"reference/cli/projects",
270+
"reference/cli/api-keys",
271+
"reference/cli/mcp",
272+
"reference/cli/extensions"
322273
]
323274
},
324275
{

reference/cli.mdx

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,33 @@ which kernel
2424
kernel --version
2525
```
2626

27-
This reference is organized to mirror the [API reference](https://kernel.sh/docs/api-reference): browser sessions, the controls to drive and observe them, the resources and auth they use, app deployment, and organization management.
28-
2927
<Columns cols={2}>
3028
<Card icon="code" title="Create Kernel App" href="/reference/cli/create">
3129
Scaffold new Kernel apps from templates.
3230
</Card>
3331
<Card icon="key" title="Authentication" href="/reference/cli/auth">
34-
Login, logout, and check CLI auth status.
32+
Login, logout, and check auth status.
3533
</Card>
3634
<Card icon="browsers" title="Browsers" href="/reference/cli/browsers">
37-
Create, view, and manage browser sessions — plus computer controls, Playwright, filesystem, processes, replays, logs, and telemetry.
35+
Create, view, and manage Kernel browsers.
3836
</Card>
39-
<Card icon="lock" title="Managed Auth" href="/reference/cli/managed-auth">
40-
Auth connections, credentials, and credential providers.
37+
<Card icon="rocket" title="Apps" href="/reference/cli/apps">
38+
Deploy apps, invoke actions, and stream logs.
4139
</Card>
42-
<Card icon="gear" title="Resources" href="/reference/cli/profiles">
43-
Profiles, proxies, extensions, and browser pools.
40+
<Card icon="lock" title="Managed Auth" href="/reference/cli/managed-auth">
41+
Manage auth connections, credentials, and credential providers.
4442
</Card>
45-
<Card icon="rocket" title="Deploy Your Agent" href="/reference/cli/deployments">
46-
Apps, deployments, and invocations.
43+
<Card icon="puzzle-piece" title="Extensions" href="/reference/cli/extensions">
44+
Upload, download, and build browser extensions.
4745
</Card>
4846
<Card icon="code-fork" title="MCP" href="/reference/cli/mcp">
4947
Install Kernel MCP server configuration for AI tools.
5048
</Card>
51-
<Card icon="folder-tree" title="Organization" href="/reference/cli/projects">
52-
Manage projects and API keys.
49+
<Card icon="folder-tree" title="Projects" href="/reference/cli/projects">
50+
Manage projects and scope commands with `--project`.
51+
</Card>
52+
<Card icon="key" title="API Keys" href="/reference/cli/api-keys">
53+
Create, list, rename, and delete API keys.
5354
</Card>
5455
</Columns>
5556

reference/cli/apps.mdx

Lines changed: 43 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,49 @@
22
title: "Apps"
33
---
44

5-
List applications and versions. To deploy an app, see [Deployments](/reference/cli/deployments); to run one, see [Invocations](/reference/cli/invocations).
5+
## `kernel deploy <file>`
6+
Deploy an app to Kernel from the current directory. The entrypoint file and dependency manifest must live in the project root.
7+
8+
| Flag | Description |
9+
|------|-------------|
10+
| `--version <version>` | Use a specific version label (default: latest). |
11+
| `--force` | Overwrite an existing version with the same label. |
12+
| `--env <KEY=VALUE>`, `-e` | Set environment variables (repeatable). |
13+
| `--env-file <file>` | Load environment variables from a file (repeatable). |
14+
| `--output json`, `-o json` | Output JSONL (one JSON object per line for each deployment event). |
15+
16+
<Info>`package.json` (JS/TS) or `pyproject.toml` (Python) must be present next to the entrypoint.</Info>
17+
18+
## `kernel deploy logs <deployment_id>`
19+
Stream build and runtime logs for a deployment.
20+
21+
| Flag | Description |
22+
|------|-------------|
23+
| `--follow`, `-f` | Continue streaming logs in real time. |
24+
| `--since <duration>`, `-s` | Fetch logs starting from a relative duration (e.g. `5m`, `1h`, `1h30m`) or timestamp (`2006-01-02T15:04`). |
25+
| `--with-timestamps`, `-t` | Prefix each line with an RFC3339 timestamp. |
26+
27+
<Info>Log lines longer than 64 KiB are truncated. Emit bulky payloads to external storage and log references.</Info>
28+
29+
## `kernel deploy history [app_name]`
30+
Show deployment history for all apps or a specific app.
31+
32+
| Flag | Description |
33+
|------|-------------|
34+
| `--limit <n>` | Maximum number of deployments to return (default: 100, `0` = all). |
35+
| `--output json`, `-o json` | Output raw JSON array. |
36+
37+
## `kernel invoke <app> <action>`
38+
Invoke an app action. By default the CLI returns immediately after the invocation is queued.
39+
40+
| Flag | Description |
41+
|------|-------------|
42+
| `--version <version>`, `-v` | Target a specific app version (default: latest). |
43+
| `--payload <json>`, `-p` | Provide a JSON payload (stringified, max 64 KB). |
44+
| `--sync`, `-s` | Wait for completion (timeout after 60 s). |
45+
| `--output json`, `-o json` | Output JSONL (one JSON object per line for each invocation event). |
46+
47+
<Info>Press `Ctrl+C` to cancel an in-flight invocation. The associated browser sessions are cleaned up automatically.</Info>
648

749
## `kernel app list`
850
List deployed app versions.
@@ -21,14 +63,6 @@ Show deployment history for a specific app.
2163
| `--limit <n>` | Maximum number of deployments to return (default: 100, `0` = all). |
2264
| `--output json`, `-o json` | Output raw JSON array. |
2365

24-
## `kernel app delete <app_name>`
25-
Delete an app and all of its deployments.
26-
27-
| Flag | Description |
28-
|------|-------------|
29-
| `--version <version>` | Only delete deployments for this version (default: all versions). |
30-
| `--yes`, `-y` | Skip confirmation prompt. |
31-
3266
## `kernel logs <app_name>`
3367
Tail app logs.
3468

reference/cli/browser-pools.mdx

Lines changed: 0 additions & 68 deletions
This file was deleted.

reference/cli/browsers-computer.mdx

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)