@luanpdd/kit-mcp 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,54 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) · Versioning:
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.4.1] - 2026-05-03
10
+
11
+ ### Fixed
12
+ - `src/mcp-server/index.js` was importing `DEFAULT_KIT_ROOT` from `core/kit.js`, but that export was renamed to `BUNDLED_KIT_ROOT` / `resolveKitRoot` during the v0.2.0 refactor. The unused import wasn't caught by CI (which only smoke-tests CLI commands, not MCP server boot) and made the server crash on `npx -y @luanpdd/kit-mcp` for any sync/install command. Removed the dead import — server now boots cleanly.
13
+
14
+ ### Tests (suggestion)
15
+ - CI should boot `node bin/mcp.js` and validate exit. Tracked in roadmap.
16
+
17
+ ## [0.4.0] - 2026-05-03
18
+
19
+ ### Changed
20
+ - README rewritten: bundled workflow framed as the default install path; `--kit-root` framed as the escape hatch for users who want to replace it entirely.
21
+ - "What ships in the box" lists actual bundled folders (19 agents, 60 commands, framework, hooks) instead of "example kit".
22
+ - Quick start reordered: use bundled as-is first, replace with own kit second.
23
+ - CLI examples updated with real counts.
24
+
25
+ This release is content-equivalent to 0.3.0 plus the documentation overhaul. No code changes versus 0.3.0.
26
+
27
+ ## [0.3.0] - 2026-05-03
28
+
29
+ **Reverts the v0.2.0 cleanup.** kit-mcp goes back to shipping an opinionated, embedded workflow — installing `@luanpdd/kit-mcp` once again gives you the maintainer's brownfield planning workflow (PT-BR) ready to use. The "generic infrastructure, bring your own kit" framing of v0.2.0 was based on the wrong premise: the bundled content **is** the maintainer's workflow, intentionally distributed for anyone to inherit. The `--kit-root` / `KIT_MCP_KIT_ROOT` escape hatch from v0.2.0 stays — point it at your own folder if you want to replace the bundled workflow entirely.
30
+
31
+ ### Restored
32
+ - 19 agents — planner, executor, verifier, debugger, codebase-mapper, ui-auditor, ui-checker, ui-researcher, advisor-researcher, assumptions-analyzer, integration-checker, nyquist-auditor, phase-researcher, plan-checker, project-researcher, research-synthesizer, roadmapper, user-profiler (plus the example-reviewer kept from 0.2.0).
33
+ - 60 slash-commands in PT-BR — milestone lifecycle (`/novo-marco`, `/concluir-marco`, `/auditar-marco`, `/planejar-lacunas`, `/resumo-marco`), phase lifecycle (`/discutir-fase`, `/planejar-fase`, `/executar-fase`, `/validar-fase`, `/verificar-trabalho`, `/adicionar-fase`, `/inserir-fase`, `/remover-fase`), task & idea capture (`/adicionar-tarefa`, `/nota`, `/plantar-ideia`, `/adicionar-backlog`, `/revisar-backlog`), workflows (`/autonomo`, `/expresso`, `/rapido`, `/fazer`, `/proximo`, `/fluxos-trabalho`), debugging (`/depurar`, `/forense`), publishing (`/publicar`, `/setup-notion`, `/branch-pr`), and more.
34
+ - `kit/framework/` — workflows + templates + bin libs the agents and commands delegate into.
35
+ - `kit/hooks/` — workflow guards, prompt guards, statusline.
36
+ - `kit/COMANDOS.md`, `kit/file-manifest.json`, `kit/settings.json`.
37
+
38
+ ### Not restored (intentionally)
39
+ - The 13 skills from the Anthropic Cowork ecosystem (paperclip, design-guide, company-creator, paperclip-create-agent, paperclip-create-plugin, release, release-changelog, prcheckloop, pr-report, doc-maintenance, deal-with-security-advisory, create-agent-adapter, para-memory-files). These belong to Anthropic, not to this package — install them separately if you want them.
40
+
41
+ ### Changed
42
+ - `kit/commands/setup-notion.md` — hardcoded Notion page ID and "Trynux" workspace name replaced with placeholder `{NOTION_PARENT_PAGE_ID}` configurable via env var `KIT_NOTION_PARENT_PAGE_ID`.
43
+ - `kit/commands/publicar.md` — hardcoded GitHub repo URL `IEP-Advocacia/obsidian-chat-trynux` replaced with placeholder `${OBSIDIAN_VAULT_REPO}` configurable via env var `OBSIDIAN_VAULT_REPO`. If the env var isn't set, the Obsidian publishing step is skipped cleanly.
44
+ - README rewritten: bundled workflow framed as the default install path; `--kit-root` framed as the escape hatch for users who want to replace it entirely.
45
+
46
+ ### Migration
47
+
48
+ If you installed v0.2.0 expecting the empty/example kit and don't want the bundled workflow, set `KIT_MCP_KIT_ROOT` to your own kit folder before any sync command — nothing else changes:
49
+
50
+ ```bash
51
+ export KIT_MCP_KIT_ROOT=~/my-kit
52
+ npx -y @luanpdd/kit-mcp sync install claude-code --project-root .
53
+ ```
54
+
55
+ If you were on v0.1.x and want the original bundled workflow back, just upgrade — `npm install @luanpdd/kit-mcp@latest` ships it again. (Note: the Anthropic Cowork skills bundled in 0.1.x are still excluded.)
56
+
9
57
  ## [0.2.0] - 2026-05-03
10
58
 
11
59
  **BREAKING.** kit-mcp is now generic infrastructure. The bundled "personal kit" content was removed — bring your own via `--kit-root` or `KIT_MCP_KIT_ROOT`.
@@ -110,7 +158,10 @@ npx -y @luanpdd/kit-mcp sync install claude-code --project-root .
110
158
  - CLI mirror of all MCP tools.
111
159
  - `install` command that registers kit-mcp into an IDE's MCP config (JSON for Claude/Cursor/Gemini/Windsurf, TOML for Codex).
112
160
 
113
- [Unreleased]: https://github.com/luanpdd/kit-mcp/compare/v0.2.0...HEAD
161
+ [Unreleased]: https://github.com/luanpdd/kit-mcp/compare/v0.4.1...HEAD
162
+ [0.4.1]: https://github.com/luanpdd/kit-mcp/compare/v0.4.0...v0.4.1
163
+ [0.4.0]: https://github.com/luanpdd/kit-mcp/compare/v0.3.0...v0.4.0
164
+ [0.3.0]: https://github.com/luanpdd/kit-mcp/compare/v0.2.1...v0.3.0
114
165
  [0.2.0]: https://github.com/luanpdd/kit-mcp/compare/v0.1.6...v0.2.0
115
166
  [0.1.6]: https://github.com/luanpdd/kit-mcp/compare/v0.1.5...v0.1.6
116
167
  [0.1.5]: https://github.com/luanpdd/kit-mcp/compare/v0.1.4...v0.1.5
package/README.md CHANGED
@@ -5,11 +5,11 @@
5
5
  [![CI](https://github.com/luanpdd/kit-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/luanpdd/kit-mcp/actions/workflows/ci.yml)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
7
 
8
- Generic infrastructure to ship **your personal kit** of agents, slash-commands and skills as an **MCP server**, with one-shot **sync** that projects the kit into every supported IDE's native layout — Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Antigravity, Copilot, Trae.
8
+ An opinionated **brownfield planning workflow** (in PT-BR) agents, slash-commands, framework shipped as an **MCP server**, with one-shot **sync** that projects the kit into every supported IDE's native layout — Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Antigravity, Copilot, Trae.
9
9
 
10
10
  > **One canonical source. N IDEs. Edit once, everywhere updated.**
11
11
  >
12
- > Bring your own `kit/` folder, or extend the bundled example.
12
+ > Install and inherit the bundled workflow, or point `--kit-root` at your own folder to replace it entirely.
13
13
 
14
14
  ---
15
15
 
@@ -27,11 +27,15 @@ Inspired by [vinilana/dotcontext](https://github.com/vinilana/dotcontext) — se
27
27
 
28
28
  ```
29
29
  kit-mcp/
30
- ├── kit/ ← bundled EXAMPLE kit (replace with your own)
31
- │ ├── agents/example-reviewer.md
32
- ├── commands/example-greeting.md
33
- │ ├── skills/example-skill/SKILL.md
34
- └── README.md format guide
30
+ ├── kit/ ← bundled brownfield workflow (PT-BR)
31
+ │ ├── agents/ 19 agents (planner, executor, verifier, debugger,
32
+ │ ui-auditor, codebase-mapper, …)
33
+ │ ├── commands/ 60 slash-commands (/novo-marco, /planejar-fase,
34
+ │ /executar-fase, /publicar, …)
35
+ │ ├── framework/ workflows + templates + bin libs the agents use
36
+ │ ├── hooks/ workflow guards, prompt guards, statusline
37
+ │ ├── skills/example-skill/ single example skill (replace with your own)
38
+ │ └── README.md file-format guide
35
39
 
36
40
  ├── gates/ ← reusable workflow gates (regression, confidence, dep-check, …)
37
41
 
@@ -53,6 +57,12 @@ kit-mcp/
53
57
 
54
58
  **Lines of source code:** ~1100. **Runtime dependencies:** 3 (`@modelcontextprotocol/sdk`, `commander`, `chokidar`). **Build step:** none — plain ESM Node.js 20+.
55
59
 
60
+ ### About the bundled workflow
61
+
62
+ The bundled `kit/` is an opinionated **brownfield planning workflow** in Portuguese — milestones, phases, requirements, planning, execution with atomic commits and checkpoints, retrospective auditing. Installing `@luanpdd/kit-mcp` and syncing into your IDE gives you all 60 slash-commands, 19 agents, plus the framework templates that they delegate into.
63
+
64
+ If that's not what you want, point `--kit-root` at your own folder and ignore everything under `kit/` — the infrastructure (registry, sync, gates, forensics, MCP server) works the same regardless of what kit you load.
65
+
56
66
  ---
57
67
 
58
68
  ## Prerequisites
@@ -65,14 +75,21 @@ kit-mcp/
65
75
 
66
76
  ## Quick start
67
77
 
68
- ### 1. Try the example kit (no setup)
78
+ ### 1. Use the bundled workflow as-is (recommended)
69
79
 
70
80
  ```bash
71
- npx -y @luanpdd/kit-mcp kit list-agents # see the bundled example agent
72
- npx -y @luanpdd/kit-mcp sync targets # see all supported IDEs
81
+ # Browse what's bundled
82
+ npx -y @luanpdd/kit-mcp kit list-agents # 19 agents
83
+ npx -y @luanpdd/kit-mcp kit list-commands # 60 commands
84
+ npx -y @luanpdd/kit-mcp sync targets # supported IDEs
85
+
86
+ # Install into your project for Claude Code
87
+ npx -y @luanpdd/kit-mcp sync install claude-code --project-root .
73
88
  ```
74
89
 
75
- ### 2. Bring your own kit
90
+ After that, open the project in Claude Code and the slash-commands (`/novo-marco`, `/planejar-fase`, `/executar-fase`, `/publicar`, …) and agents are immediately available.
91
+
92
+ ### 2. Replace the bundled workflow with your own kit
76
93
 
77
94
  Point kit-mcp at your own `kit/` folder via `--kit-root` or the `KIT_MCP_KIT_ROOT` env var:
78
95
 
@@ -86,7 +103,7 @@ export KIT_MCP_KIT_ROOT=~/my-kit
86
103
  npx -y @luanpdd/kit-mcp sync install claude-code --project-root .
87
104
  ```
88
105
 
89
- Your `~/my-kit/` follows the same layout as the bundled example:
106
+ Your `~/my-kit/` follows the same layout as the bundled kit:
90
107
 
91
108
  ```
92
109
  my-kit/
@@ -116,11 +133,11 @@ The CLI mirrors the MCP tools 1:1. Output is always JSON to stdout. The global `
116
133
  ### `kit kit ...` — browse the kit
117
134
 
118
135
  ```bash
119
- kit kit list-agents # bundled example: 1 agent
120
- kit kit list-commands # bundled example: 1 command
121
- kit kit list-skills # bundled example: 1 skill
122
- kit kit get agent example-reviewer
123
- kit kit search "review" # fuzzy match across all kinds
136
+ kit kit list-agents # 19 agents (bundled workflow)
137
+ kit kit list-commands # 60 commands (bundled workflow)
138
+ kit kit list-skills # 1 skill (example only — bring your own)
139
+ kit kit get agent planner
140
+ kit kit search "milestone" # fuzzy match across all kinds
124
141
  ```
125
142
 
126
143
  ### `kit sync ...` — project into an IDE
@@ -453,7 +470,7 @@ PRs welcome.
453
470
  ## Smoke tests
454
471
 
455
472
  ```bash
456
- node bin/cli.js kit list-agents | head -5 # bundled example agent
473
+ node bin/cli.js kit list-agents | head -5 # 19 bundled agents
457
474
  node bin/cli.js sync targets # 8 IDEs
458
475
  node bin/cli.js gates list # 5 gates
459
476
  node bin/cli.js install dry-run claude-code --via npx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luanpdd/kit-mcp",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "Generic infrastructure to ship YOUR personal kit of agents/commands/skills as an MCP server, with cross-IDE sync (Claude Code, Cursor, Codex, Gemini, Windsurf, Antigravity, Copilot, Trae).",
5
5
  "type": "module",
6
6
  "bin": {
@@ -12,7 +12,7 @@ import { Server } from '@modelcontextprotocol/sdk/server/index.js';
12
12
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
13
13
  import { CallToolRequestSchema, ListToolsRequestSchema } from '@modelcontextprotocol/sdk/types.js';
14
14
 
15
- import { listKit, searchKit, findItem, DEFAULT_KIT_ROOT } from '../core/kit.js';
15
+ import { listKit, searchKit, findItem } from '../core/kit.js';
16
16
  import { listTargets } from '../core/registry.js';
17
17
  import { syncTo, statusOf, removeFrom } from '../core/sync.js';
18
18
  import { detectReverse, applyReverse } from '../core/reverse-sync.js';