Add credential vault commands and preview CLI binaries - #252
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
🔧 CI Fix AvailableI've pushed a fix for the CI failure. What failed: both Root cause: the staging SDK revision pinned by the The fix applies the transition that
Total change is 4 files, +6/−9. Worth noting as follow-up for you rather than something I changed: |
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 6758ec9. Configure here.
Update github.com/kernel/kernel-go-sdk to aac4d0c (v0.105.1-0.20260915195748-aac4d0c60651). The only API change is a new nullable `intent` response field on config-registry analyses, and every /config-registry endpoint carries x-cli-skip, so no command or flag changes were needed. A full enumeration of api.md against the CLI command tree found no other coverage gaps. Repair the fallout from merging main (#252, #253) into this branch. Git auto-merged two independent variants of the vault credential work into code that did not parse (an orphaned `case "credential":` after an `if`, a duplicate `preparation` map key) and into call sites that referenced functions from the other variant. Main's reviewed versions supersede the bot-authored drafts, so the vault subsystem is taken from main verbatim, along with its README sections. Branch-only work that main lacks is kept: auth connections login regained its dropped TelemetryCdpExclude input field, the `--interaction-id` submit flag stays documented, and the items invoke table row keeps its prepare_checkout/collect coverage. Tested: go build ./..., go test ./... (all green), plus live API smoke tests of vaults create, vaults credentials create/update --spec-file, vaults items get/get -o json/events/delete, vaults delete, browsers list, and auth connections login --telemetry-cdp-exclude validation. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

summary
--paramsor--spec-file, with type-specific field/URL/format validation.sensitive: false; document empty-string updates as clears. Preserve readiness/version metadata while omitting stored credential values. Redact credential write errors and disable SDK retries.SDK dependency
Uses the public
github.com/kernel/kernel-go-sdkv0.105.0 release. The temporary private SDK replacement and token setup are removed; fork tests and Go caching are enabled again. Request types are updated for the released SDK while preserving card PATCH and advertised-operation payloads.Vault SDK coverage
prepare_checkoutwith strict checkout JSON validation, advertised-operation checks, optional approval-page opening, and no automatic retries.--expected-item-idto credential updates alongside the required version precondition.validation
After the public SDK upgrade and vault additions:
make test, targeted race tests, the local Linux build, and help inspection pass. The local six-platform build was blocked by disk space; CI preview builds pass for all six targets on the latest commit.make test (vet and all repository tests): pass.
Vault/credential/browser-binding tests under the race detector: pass.
Local CLI build and help inspection: pass.
actionlint for changed workflows and bash syntax validation: pass.
SDK HTTP contract tests cover typed requests, null and empty-string clearing, collection URLs, both fill input modes/item types, credential fields named
expiration, safe outcomes, redaction, and no retries. Subprocess tests verify valid JSON and exit status for credential and card outcomes.CI tests, six-target preview builds, security checks, and Bugbot pass on
c17fb9d. Live browser fill and live checkout preparation have not been exercised.try the preview
Download the CI preview binaries (GitHub login required, 14-day retention). Includes Linux/macOS/Windows on amd64 and arm64. Extraction and API configuration instructions are in PREVIEW.md.