You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adopt kernel-go-sdk v0.72.0; add extensions get + telemetry events; drop pool save_changes (#192)
## What
Adopt `kernel-go-sdk` **v0.72.0** and consume the new surface; also drop
`save_changes` from the browser-pool path now that v0.72.0 ships it.
## Changes
- **Bump `kernel-go-sdk` → v0.72.0.** Adapts `APIKeyService.Get` (now
takes `APIKeyGetParams`).
- **`projects get` resolves id-or-name server-side**
(kernel/kernel#2455); drops the client-side list-and-match.
- **New `extensions get <id-or-name>`** — metadata, table + `--output
json`.
- **New `browsers telemetry events <id>`** — paged historical read
(`--limit`/`--offset`/`--since`/`--until`), surfaces the `X-Next-Offset`
cursor.
- **New `--replay` on `browsers telemetry stream`** (`--replay=all`,
mutually exclusive with `--seq`).
- **Drop `--save-changes` from `browser-pools create`/`update`.**
v0.72.0 gives browser pools their own profile type
(`BrowserPoolProfile`, id/name only, no `save_changes`;
kernel/kernel#2484). Replaced `buildProfileParam` with
`resolvePoolProfile` (same id/name validation, no save_changes), and
dropped the save-changes line from the pool profile display.
**Single-session `browsers create` keeps `--save-changes`.**
## Tests
`go build` / `go vet` / `go test ./...` all pass. Existing pool tests
stay green (none referenced pool save_changes).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Mostly additive CLI features and SDK signature updates; pool profile
change removes a flag users may have relied on for pools only.
>
> **Overview**
> Bumps **`kernel-go-sdk` to v0.72.0** and wires up new SDK APIs plus a
few CLI behavior fixes.
>
> **New commands:** `extensions get <id-or-name>` (metadata table /
JSON) and **`browsers telemetry events <id>`** for paged historical
telemetry (`--limit`, `--offset`, `--since`, `--until`), including
**`next_offset`** from `X-Next-Offset` in JSON mode. **`browsers
telemetry stream`** gains **`--replay=all`** (replay buffered events
from the oldest; exclusive with `--seq`).
>
> **Browser pools:** Removes **`--save-changes`** on create/update now
that pools use id/name-only profiles; **`resolvePoolProfile`** replaces
**`buildProfileParam`**, and pool profile display no longer mentions
save changes. Single-session **`browsers create`** still supports
**`--save-changes`**.
>
> **SDK alignment:** `api-keys get` passes **`APIKeyGetParams{}`**;
**`projects get`** sends the identifier straight to the API (id or name)
instead of client-side list resolution.
>
> README documents the new flags/commands and trims pool profile flag
docs.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
89dfaff. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -263,7 +263,7 @@ Commands with JSON output support:
263
263
-`--fill-rate <n>` - Percentage of the pool to fill per minute
264
264
-`--timeout <seconds>` - Idle timeout for browsers acquired from the pool
265
265
-`--stealth`, `--headless`, `--kiosk` - Default pool configuration
266
-
-`--profile-id`, `--profile-name`, `--save-changes`, `--proxy-id`, `--start-url`, `--extension`, `--viewport` - Same semantics as `kernel browsers create`
266
+
-`--profile-id`, `--profile-name`, `--proxy-id`, `--start-url`, `--extension`, `--viewport` - Same semantics as `kernel browsers create`
267
267
-`--chrome-policy <json>` / `--chrome-policy-file <path>` - Custom Chrome enterprise policy applied to every browser in the pool, as a JSON object or from a file (`-` for stdin). Same semantics as `kernel browsers create`.
268
268
-`--output json`, `-o json` - Output raw JSON object
269
269
-`kernel browser-pools get <id-or-name>` - Get pool details
@@ -317,8 +317,14 @@ Per-category updates are partial — only categories you name are changed; other
-`--limit <n>` - Maximum number of events per page (default 20)
325
+
-`--offset <cursor>` - Pagination cursor: pass the `X-Next-Offset` from a previous response
326
+
-`--since <ts|dur>` / `--until <ts|dur>` - Time window (RFC-3339 timestamp or duration like `5m`). `--since` is ignored when `--offset` is set; `--until` still bounds the page
327
+
-`-o, --output json` - Output `{ "events": [...], "next_offset": "..." }` (omit `next_offset` when there is no next page)
322
328
323
329
### Browser Process Control
324
330
@@ -444,6 +450,8 @@ Per-category updates are partial — only categories you name are changed; other
444
450
445
451
-`kernel extensions list` - List all uploaded extensions
446
452
-`--output json`, `-o json` - Output raw JSON array
453
+
-`kernel extensions get <id-or-name>` - Show extension metadata (id, name, created, size, last used)
454
+
-`--output json`, `-o json` - Output raw JSON object
0 commit comments