@schalkneethling/calavera-skill-calavera 0.2.4 → 0.2.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schalkneethling/calavera-skill-calavera",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Calavera artifact for Calavera.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -17,10 +17,11 @@ Use Calavera to compose and apply project tooling through its MCP tools whenever
17
17
  5. List choices with `list_profiles`, `list_integrations`, and `list_ai_artifacts`. Use `describe_integration` when the user asks for more information or when you need to compare options.
18
18
  6. Calavera does not scaffold a JavaScript or TypeScript formatter; in a `vp`-managed project, formatting comes from `vp fmt`.
19
19
  7. Once the profile and requirements are clear, compose the recipe with `compose_recipe`.
20
- When the response lists `artifactInputs`, ask the user to confirm or change each value before `dry_run_apply`. Show the input's `prompt` and its `default`, and when `default` is null, its `defaultUnavailable` reason. Then compose again with the confirmed values in that artifact's `inputs`, so the recipe records them.
20
+ When the response lists `artifactInputs`, ask the user to confirm or change each value before `dry_run_apply`. Show the input's `prompt` and its `default`, and when `default` is null, its `defaultUnavailable` reason. Then compose again with the confirmed values in that artifact's `inputs`, so the recipe records them. Do the same for each entry in `integrationInputs`, such as `github-repository-controls.defaultBranch`, and pass the confirmed value in `integrationOptions`. Each default names its `defaultSource`; show it, so the user can tell whether it is the branch they mean.
21
+ When the recipe selects `stryker`, confirm the test runner with the user before `dry_run_apply`, because Calavera does not detect it from the project. Offer the runners that `list_integrations` or `describe_integration` list in `testRunners`; the first is the default and needs no entry in the recipe. When the user chooses another runner, compose again with it in `integrationOptions.stryker.testRunner`. For `node:test`, also ask which paths the project's test script passes to `node --test`, and record them as `integrationOptions.stryker.testFiles` only when they differ from the files that `node --test` runs by default.
21
22
  8. Validate and explain it with `validate_recipe` and `explain_recipe`.
22
23
  9. Present `dry_run_apply` output to the user before changing files, including inspection findings, omitted script explanations, ownership notes, and planned file changes. Show the user the command each `package.json` script in `scriptChanges` will run, and for a changed or renamed script the command it replaces.
23
- 10. Call `apply_recipe` only after the user explicitly approves the dry run. Pass it the recipe from the dry run's `result.recipe`, which records every artifact input; `apply_recipe` refuses an input the recipe does not record. Show the user each line in `wiringChanges` and each warning in `wiringWarnings` as part of the dry run.
24
+ 10. Call `apply_recipe` only after the user explicitly approves the dry run. Pass it the recipe from the dry run's `result.recipe`, which records every artifact input and integration input; `apply_recipe` refuses an input the recipe does not record. Show the user each line in `wiringChanges`, each warning in `wiringWarnings` and `inputWarnings`, each value in `integrationInputs`, and each entry in `ignoreChanges`, which lists the lines apply adds to or removes from `.gitignore` and `.htmlvalidateignore`, as part of the dry run.
24
25
  11. If the MCP transport closes or reports `-32000` during or immediately after `apply_recipe`, treat the outcome as unknown instead of failed. Inspect `calavera.config.json`, `.calavera/state.json`, generated files, and package metadata before retrying the apply.
25
26
 
26
27
  Do not hand-author `calavera.config.json` when the Calavera MCP server is available. Let Calavera compose, validate, dry-run, and apply the recipe so generated files, package scripts, dependencies, AI artifacts, and managed state stay consistent.