Documentation
¶
Overview ¶
Package installs manages a generic sidecar tracker for every kind of marketplace content installed via `promptvm add` (skill, agent, command, prompt, hook, mcp, settings). It records provenance (name, canonical ref, kind, target path, timestamp) so a future `promptvm list/remove/update` has a stable, kind-agnostic index. Hooks continue to also use the hook-specific .promptvm-hooks.json sidecar for settings-merge ownership; this file is additive and never authoritative for uninstall of merged config.
Index ¶
Constants ¶
View Source
const FileName = ".promptvm-installs.json"
FileName is the sidecar filename, written inside the .claude root.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entry ¶
type Entry struct {
Name string `json:"name"`
Ref string `json:"ref"`
Kind string `json:"kind"`
Target string `json:"target"`
InstalledAt string `json:"installed_at"`
}
Entry is one recorded install.
type Tracker ¶
type Tracker struct {
Installs []Entry `json:"installs"`
// contains filtered or unexported fields
}
Tracker is the on-disk sidecar shape.
Click to show internal directories.
Click to hide internal directories.