Repository navigation
Plugin sources, richer Copilot support, and tighter diffs.
New
- Plugin sources.
apply,diff,status,syncanddoctorcan take a plugin directory, or a git URL to one, as well as a kitbag profile. A plugin is a folder withrules/<name>.mdat its root and nokitbag.toml. Frontmatter acceptsglobs(a list or a comma-separated string),pathsandapplyTo. A rule without those fields applies everywhere. Tools that cannot scope a rule still load it always-on, labelled with its globs. The plugin is named from.claude-plugin/plugin.jsonorplugin.json, or after its directory. Nothing is written into the plugin;sync --fromrefuses one, so a profile is not created inside it. (#78, agent-plugins-spec discussion #100) - Copilot commands and skills. The
copilottarget now carries commands as VS Code prompt files (.github/prompts/<name>.prompt.mdat project scope) and skills under$COPILOT_HOME/skills/and.github/skills/. Custom agents and chat modes are still listed by capture and not carried. (#22, #74)
Changed
- A bare
$VARin a Copilot project.mcp.jsonor.github/mcp.jsonis captured as a reference, as in the user file. The warning about references inurlandcwdnow says neither Copilot CLI's nor VS Code's docs say they expand there. (#22)
Fixes
undoafter anapplyorsyncthat had nothing to write no longer leavesstatussayingtool editedwhere it should sayprofile changed. (#63)capture --forceinto an existing profile keeps MCP servers it found in no tool (for example one disabled everywhere, or one for a tool not installed here).--prunedrops them instead. (#59)- An apply that left a disabled MCP server in place no longer says only "Up to date" above the warning. A corrupt
applied-servers.jsonis kept asapplied-servers.json.bakbefore it is rewritten. The README says how git source URLs are matched and that some tools hash resolved secret values. (#60)
Security
- Diffs now mask secrets already in a tool's config that they used to show: a random-looking value under an ordinary name, a flag whose value is on the next line of a pretty-printed
argsarray, and single-quoted TOML values. Checksums, image digests (ghcr.io/…@sha256:…), ObjectIds and ULIDs stay visible unless they sit under a secret-sounding name. (#75)
Full details in CHANGELOG.md.
Note
kitbag is still early: redaction is best-effort, so review a captured profile before sharing it, and only apply profiles from sources you trust. See SECURITY.md.
Install
curl -fsSL https://raw.githubusercontent.com/cargopete/kitbag/main/install.sh | shWindows (PowerShell): irm https://raw.githubusercontent.com/cargopete/kitbag/main/install.ps1 | iex
This release also attaches install.sh and install.ps1. To pin the installer to 0.1.5:
curl -fsSL https://github.com/cargopete/kitbag/releases/download/v0.1.5/install.sh | shOr download an archive below; each has a matching .sha256.