@schalkneethling/calavera-skill-calavera 0.2.2 → 0.2.4
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
|
@@ -17,9 +17,10 @@ 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
21
|
8. Validate and explain it with `validate_recipe` and `explain_recipe`.
|
|
21
|
-
9. Present `dry_run_apply` output to the user before changing files, including inspection findings, omitted script explanations, ownership notes, and planned file changes.
|
|
22
|
-
10. Call `apply_recipe` only after the user explicitly approves the dry run.
|
|
22
|
+
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.
|
|
23
24
|
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.
|
|
24
25
|
|
|
25
26
|
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.
|