Show extension checksums in CLI output - #217
Merged
Merged
Conversation
Expose the API-provided SHA-256 checksum in list, get, and upload tables so operators can verify extension artifacts without switching to JSON output.
Sayan-
approved these changes
Aug 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Kernel now exposes the checksum of the exact uploaded extension archive. Showing it in the CLI lets operators identify and verify durable extension artifacts without dropping to a raw API request.
Implementation
List output adds a compact checksum column. Get and upload output print the checksum outside the width-bounded table so the complete digest remains available in normal terminal output. Legacy extensions without a checksum render
-; JSON output remains the unmodified SDK response.Verification
go test -short -timeout=2m ./...go vet ./...gofmt -l cmdgit diff --checkNote
Low Risk
Display-only CLI and docs changes around extension metadata; no auth, persistence, or API behavior changes.
Overview
Surfaces Kernel’s extension archive checksum in human-readable CLI output so operators can verify artifacts without raw API calls.
extensions listadds a Checksum column (missing values show-viautil.FirstOrDash).extensions getandextensions uploadprint the full digest on its own line after the property table so long hashes aren’t clipped. Name/checksum empty-state handling is centralized withutil.FirstOrDashinstead of ad hoc-logic.--output jsonis unchanged (SDK response, includingchecksum). README extension commands are updated to mention checksum metadata.Reviewed by Cursor Bugbot for commit db9cf98. Bugbot is set up for automated code reviews on this repo. Configure here.