Files
Claude 55ca339627 feat: Agent Plugins Phase 1 — single-source bundle packer + curated bundles
- cli-tool/src/plugin/: packer module (normalize.js, packer.js, validate.js)
  emitting spec-conformant Agent Plugins v1.0.0 bundles: skills and mcp.json
  first-class; agents/commands/hooks/settings/loops byte-exact under the
  com.aitmpl.claude-code extensions namespace; dual .claude-plugin/plugin.json
  so the same directory installs as a native Claude Code plugin
- Skill copies get frontmatter normalized (name := dir, extra keys folded
  into the spec metadata map); source tree stays untouched
- MCP merge strips non-standard per-server description (preserved under
  extensions.mcpDescriptions), infers stdio/streamable-http transport
- Loops auto-inline their referenced components (spec self-containment)
- cli-tool/agent-plugins/bundles.yaml: curated bundle definitions
  (pilots: postgres-toolkit, docs-automation)
- scripts/build_agent_plugins.js: builds + validates all bundles
  (--check mode for CI); output in gitignored build/agent-plugins/
- cli-tool/tests/plugin/packer.test.js: 9 hermetic jest tests (frontmatter
  normalization, mcp merge, loop inlining, dual manifest, path traversal
  guard, validateBundle failure model)

Both pilot bundles validate against the vendored official JSON schemas.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NPhPzxiW2q2wgQQLS8Bn9w
2026-08-18 13:43:11 +00:00
..