Repository navigation
CLI: Update Go SDK to v0.154.0 - #326
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 54a8ec3. Configure here.
| --open only on that user's machine, otherwise share it privately. do not assume completion: | ||
| inspect wallets payment-methods for a balance method and its live available amount. Kernel | ||
| cards do not yet use Link's approval policy, so they still require user approval even when | ||
| funded from the balance. |
There was a problem hiding this comment.
Vaults copy uses Kernel and URL
Low Severity
New vaults user-facing copy writes the product name as Kernel and the acronym URL in help, info lines, and labels. Adjacent vaults help already uses KERNEL for the product and lowercase url in the same kind of copy, so this new Link balance setup and payment-methods text is inconsistent with that convention.
Additional Locations (2)
Triggered by learned rule: Vaults user-facing copy is lowercase; KERNEL for product
Reviewed by Cursor Bugbot for commit 54a8ec3. Configure here.
54a8ec3 to
632dbe2
Compare


Summary
v0.154.0.Coverage
CLI coverage update for Go SDK v0.154.0
Summary
github.com/kernel/kernel-go-sdkfrom v0.153.0 to v0.154.0 ingo.modandgo.sum.x-cli-skip: true.Browser platform and usage-cost coverage
Following
POST /browsersfieldplatform.os:kernel browsers create --platform-os linux|macosand validation against the SDK enum.--fingerprint-os, Linux is the default, and macOS availability and configuration restrictions apply.Following
GET /browsers/{id_or_name}query parameterinclude_costand the updated browser cost description:kernel browsers get --include-cost.Following the browser-platform error schema:
unsupported_fieldsnow include those field names in the sanitized CLI error message.unsupported_configurationerrors.Following the changed
GET /browsersqueryandtagsdescriptions:--queryto include profile names as searchable values.--queryand--taghelp to explain that--status=deletedand--status=allsearch only browsers created in the last 24 hours, while--status=activesearches all active browsers.Link balance setup coverage
Following
POST /vaults/{id_or_name}/items/{key}/operationsvariantlink_balance_setup:link_balance_setupsupport tokernel vaults items invoke.desired_balance_amountanddesired_transaction_limitthrough the command's established--paramsand--spec-fileJSON interface.--opensupport and safe text/JSON rendering of the returned Link setup URL.Following the new
VaultPaymentMethod.balanceresponse fields:Workload identity validation
Following
WorkloadIdentityTokenValidation.max_lifetime_seconds:Intentional exclusions
x-cli-skip: true.captcha_solver_enabledfor browser updates, but SDK v0.154.0 does not expose that request field. No CLI flag was added because the released SDK is authoritative.--params/--spec-file; both fields are validated and sent through that interface.Validation
go build ./...— passed.go test ./...— passed.--platform-os linuxand JSON output.--include-cost; verified host platformlinuxand a provisional cost response.link_balance_setupwas not invoked against production because it requires a disposable, connected Link wallet that advertises the operation and returns a user capability URL. Its API behavior is covered by request/response integration tests using a local test server.Validation
Note
Medium Risk
Touches browser creation/query paths and vault payment operations with new API parameters; risk is moderate CLI/API contract alignment rather than security-critical logic changes.
Overview
Updates kernel-go-sdk to v0.154.0 and wires new API surface into the CLI.
Browsers: Adds
--platform-os(host OS vs--fingerprint-os), surfaces Host OS in create/get/list/update/pool/invoke tables, andbrowsers get --include-costwith provisional cost fields. Help and list flags document macOS limits, profile search, and 24-hour search rules for deleted/all status. API errors withunsupported_fieldsare shown in sanitized CLI messages.Vaults: Supports
link_balance_setupinvoke (optional balance/limit JSON, validation,--open) and shows live Link balance on payment-method JSON/tables. Help covers eligibility and completion checks.Workload identity: Raises
--token-max-lifetime-secondsmax to 172800 (48h) for longer-lived identity tokens.Tests cover the new flags, outputs, vault operation, and error formatting.
Reviewed by Cursor Bugbot for commit 632dbe2. Bugbot is set up for automated code reviews on this repo. Configure here.