maestro-bundle 1.5.0 → 1.6.0

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.
Files changed (3) hide show
  1. package/README.md +23 -4
  2. package/package.json +1 -1
  3. package/src/cli.mjs +27 -1
package/README.md CHANGED
@@ -10,11 +10,30 @@ npx maestro-bundle ai-agents claude
10
10
 
11
11
  1. Instala **AGENTS.md** + **skills** no formato correto do seu editor
12
12
  2. Cria **PRD.md** — template de requisitos para o analista/dev preencher
13
- 3. Instala o [GitHub Spec Kit](https://github.com/github/spec-kit) (`specify-cli@v0.4.3`) no projeto
14
- 4. Roda `specify init` que registra os commands `/speckit.*` no editor
15
- 5. Integra o `constitution.md` do bundle com os princípios do projeto
13
+ 3. Instala [LangChain Skills](https://github.com/langchain-ai/langchain-skills) (11 skills extras, apenas para `ai-agents`)
14
+ 4. Instala o [GitHub Spec Kit](https://github.com/github/spec-kit) (`specify-cli@v0.4.3`) no projeto
15
+ 5. Roda `specify init` que registra os commands `/speckit.*` no editor
16
+ 6. Integra o `constitution.md` do bundle com os princípios do projeto
16
17
 
17
- O dev abre o editor e já tem skills + `/speckit.specify` funcionando.
18
+ O dev abre o editor e já tem skills do bundle + LangChain skills + `/speckit.specify` funcionando.
19
+
20
+ ### Skills extras do LangChain (apenas bundle ai-agents)
21
+
22
+ Quando você instala o bundle `ai-agents`, o CLI também instala automaticamente as 11 skills oficiais do LangChain:
23
+
24
+ | Skill | O que faz |
25
+ |---|---|
26
+ | `framework-selection` | Escolher entre LangChain, LangGraph ou Deep Agents |
27
+ | `langchain-fundamentals` | Criar agentes com `create_agent`, tools, middleware |
28
+ | `langchain-middleware` | Human-in-the-loop, custom middleware, output estruturado |
29
+ | `langchain-rag` | RAG: document loaders, embeddings, vector stores |
30
+ | `langchain-dependencies` | Pacotes, versões, instalação |
31
+ | `langgraph-fundamentals` | StateGraph, nodes, edges, streaming |
32
+ | `langgraph-persistence` | Checkpointers, Store, time travel |
33
+ | `langgraph-human-in-the-loop` | Interrupts, aprovação humana, resume |
34
+ | `deep-agents-core` | Criar Deep Agents, harness, SKILL.md format |
35
+ | `deep-agents-memory` | Memória e persistência para Deep Agents |
36
+ | `deep-agents-orchestration` | Subagentes, planning, HITL |
18
37
 
19
38
  ## AGENTS.md vs PRD.md
20
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maestro-bundle",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Instala bundles de governança para projetos com AI agents. Um comando, tudo configurado.",
5
5
  "bin": {
6
6
  "maestro-bundle": "./src/cli.mjs"
package/src/cli.mjs CHANGED
@@ -321,7 +321,33 @@ async function main() {
321
321
  }
322
322
  spinner2.succeed(`${skills.length} skills canônicas em skills/`);
323
323
 
324
- // 3. References
324
+ // 3. LangChain Skills (apenas para bundle ai-agents)
325
+ if (bundleName === "ai-agents") {
326
+ const spinnerLc = ora("Instalando LangChain Skills (langchain-ai/langchain-skills)").start();
327
+ try {
328
+ // Instalar todas as 11 skills do LangChain para o editor escolhido
329
+ const agentFlag = primaryEditor === "cursor" ? "cursor" : primaryEditor === "codex" ? "codex" : "claude-code";
330
+ execSync(
331
+ `npx skills add langchain-ai/langchain-skills --agent ${agentFlag} --skill "*" --yes`,
332
+ { stdio: "pipe", timeout: 120000, cwd: targetDir, shell: true }
333
+ );
334
+ spinnerLc.succeed("11 LangChain Skills instaladas (framework-selection, langchain-*, langgraph-*, deep-agents-*)");
335
+ } catch {
336
+ // Fallback: tentar sem --agent
337
+ try {
338
+ execSync(
339
+ `npx skills add langchain-ai/langchain-skills --skill "*" --yes`,
340
+ { stdio: "pipe", timeout: 120000, cwd: targetDir, shell: true }
341
+ );
342
+ spinnerLc.succeed("11 LangChain Skills instaladas");
343
+ } catch {
344
+ spinnerLc.warn("Instale manualmente as LangChain Skills:");
345
+ console.log(chalk.dim(" npx skills add langchain-ai/langchain-skills --skill '*' --yes"));
346
+ }
347
+ }
348
+ }
349
+
350
+ // 4. References
325
351
  const spinner3 = ora("Instalando references").start();
326
352
  const refsSrc = join(bundleDir, "references");
327
353
  ensureDir(join(targetDir, "references"));