Documentation
¶
Index ¶
- Constants
- func Announcement(deps AnnouncementDependencies) string
- func CLIIdentity() skillsync.Identity
- func Config(sourceFS fs.FS, build buildinfo.Report) (skillsync.Config, error)
- func DriftMessage(dir string, status skillsync.Status, currentVersion string) string
- func PluginIdentity() skillsync.PluginIdentity
- func SyncedWBVersion(status skillsync.Status) (string, bool)
- type AnnouncementDependencies
Constants ¶
const LegacyMarker = ".wb-skills-sync.json"
const PluginVersion = "0.0.0"
const UnknownSource = "0000000000000000000000000000000000000000"
Variables ¶
This section is empty.
Functions ¶
func Announcement ¶
func Announcement(deps AnnouncementDependencies) string
sessionStartAnnouncement never returns an error and never panics: it is injected into every Claude Code session's opening context, so every failure along the way -- no resolvable home directory, no marker yet, a corrupt one -- degrades to the registration reminder alone rather than producing nothing or crashing the hook.
func CLIIdentity ¶
func DriftMessage ¶
DriftMessage is printed by the SessionStart hook. Ordinary WB invocations stay quiet: repeating one warning on every tool call consumed more agent context than the warning protected and made private feature builds particularly noisy. A verified self-update still synchronizes skills immediately, while SessionStart reports drift once when it can affect work.
func PluginIdentity ¶
func PluginIdentity() skillsync.PluginIdentity