Documentation
¶
Overview ¶
Package desktopbundle creates a self-contained MCPB archive for native installation in Claude Desktop. Creating an archive does not install or validate it in the Desktop application and never changes client settings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct {
Path string `json:"path"`
SHA256 string `json:"sha256"`
Platform string `json:"platform"`
Architecture string `json:"architecture"`
Status string `json:"status"`
NativeValidationRequired bool `json:"native_validation_required"`
DesktopNativeSupported bool `json:"desktop_native_supported"`
}
func Create ¶
Create writes a new MCPB 0.3 ZIP containing only the supplied Go executable, fixed public metadata, and public license notices. Existing output paths and symlink destinations are refused. A launcher symlink for the executable is intentionally resolved, then the actual opened regular executable is copied. The completed archive is published with an exclusive hard link so incomplete output and existing files cannot be mistaken for a successfully built bundle.