maestro-bundle 1.2.0 → 1.2.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.mjs +8 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maestro-bundle",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
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
@@ -343,19 +343,23 @@ async function main() {
343
343
  spinner4.info("specify-cli não encontrado");
344
344
  const spinner4b = ora("Instalando specify-cli...").start();
345
345
  try {
346
- execSync("uv tool install specify-cli --from git+https://github.com/github/spec-kit.git", {
346
+ const SPECKIT_VERSION = "v0.4.3";
347
+ execSync(`uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@${SPECKIT_VERSION}`, {
347
348
  stdio: "ignore", timeout: 120000,
348
349
  });
349
350
  specifyInstalled = true;
350
- spinner4b.succeed("specify-cli instalado");
351
+ spinner4b.succeed(`specify-cli ${SPECKIT_VERSION} instalado`);
351
352
  } catch {
352
353
  try {
353
- execSync("pip install specify-cli", { stdio: "ignore", timeout: 60000 });
354
+ const SPECKIT_VERSION = "v0.4.3";
355
+ execSync(`pip install specify-cli --src git+https://github.com/github/spec-kit.git@${SPECKIT_VERSION}`, {
356
+ stdio: "ignore", timeout: 60000,
357
+ });
354
358
  specifyInstalled = true;
355
359
  spinner4b.succeed("specify-cli instalado via pip");
356
360
  } catch {
357
361
  spinner4b.warn("Não foi possível instalar. Instale manualmente:");
358
- console.log(chalk.dim(" uv tool install specify-cli --from git+https://github.com/github/spec-kit.git"));
362
+ console.log(chalk.dim(" uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@v0.4.3"));
359
363
  }
360
364
  }
361
365
  }