Documentation
¶
Overview ¶
Package update provides non-blocking version update detection based on the npm registry. It never blocks the user: network checks run in the background and failures only affect the update notification.
Index ¶
Constants ¶
View Source
const PackageName = "mothx"
PackageName is the npm package used for update detection.
Variables ¶
This section is empty.
Functions ¶
func CheckInBackground ¶
CheckInBackground refreshes the cache in a background goroutine if it is stale. It returns immediately and never blocks the caller. When the fetched npm latest version is newer than current, notify is called from the background goroutine. Disable with the VIBECODING_NO_UPDATE_CHECK environment variable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.