Files
magpie/docs
yetone 4ff57b8cbf library: a project's own resources are listed apart from what magpie placed, with a source in the CLI's --json (#7245, #7247)
ProjectView.Own reads, per kind, what the folder's own files already give
agents and magpie didn't write: skills in the skills folders, servers in
each agent's project MCP file (name and transport only, never URL, args or
env), hooks in .claude/settings.json, settings.local.json and
.codex/hooks.json (an entry is magpie's when it equals a HookRecs entry),
and subagent files whose hash isn't in AgentFiles. Read-only: a link out of
the folder or a file that can't be read is left out. The cards show them
under "Project's own", no chips. `magpie library project server|hook|subagent
<dir> --json` gains `items`, each with source "magpie" or "project"; the old
maps stay as they were.

Not done: Claude plugins, Pi packages and instructions are not read as the
project's own yet; the cards have no "Assigned by MagPie" heading, the
chips already say it.

Run on mote: gofmt, go vet library, cli, gui; go test ./internal/library and
./internal/cli (whole packages, ok); new TestProjectOwnResources and the CLI
source check; GUI project-own (new), project-hooks, project-servers,
project-skills-*, project-plugins, i18n-keys in both engines, then every
library-* and project-* file once: library-bar-more went red in that run and
green alone (load, not filed: it did not touch this change).
Not tried: a real project with hundreds of skills (the read is on every
state poll of a project folder).
2026-11-20 05:05:17 +08:00
..