@punks/cli 2.2.0 → 2.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.
package/README.md CHANGED
@@ -14,6 +14,8 @@ At runtime, scaffold content resolves from the latest stable GitHub release base
14
14
  choose a backlog provider, scaffold requirements/backlog skills, and seed the initial wiki tree
15
15
  - `punks scaffold setup`
16
16
  detect the target repo, confirm or auto-accept pack selection, and write repo-aware scaffold output
17
+ - `punks tools ensure`
18
+ check and repair required external tools; `dp tools ensure` is the same command
17
19
  - `punks report`
18
20
  submit structured Harness friction for maintainer triage
19
21
 
@@ -26,8 +28,14 @@ punks scaffold setup
26
28
  punks scaffold setup --yes
27
29
  punks scaffold setup -i /path/to/repo
28
30
  punks scaffold setup -i /path/to/repo -o /path/to/output
31
+ punks tools ensure
32
+ dp tools ensure
29
33
  punks update --yes
30
34
  punks report --help
35
+ punks --version
36
+ punks -v
37
+ dp --version
38
+ dp -v
31
39
  bun run sync:skills
32
40
  bun run baseline:build
33
41
  ```
@@ -42,6 +50,10 @@ Before refreshing generated skills, setup migrates legacy per-agent skill folder
42
50
 
43
51
  `punks update --yes` applies managed scaffold updates without prompting. It is the non-interactive alias for the apply behavior of `--write`.
44
52
 
53
+ `punks tools ensure` / `dp tools ensure` checks required external tools and repairs missing installable tools. In a scaffolded repo it reads tool IDs from `.devpunks/required-tools.json`; outside a scaffolded repo it validates the default Harness toolchain. Install contracts come from the trusted stable baseline, with bundled fallback, not from repo-owned metadata. This command is not read-only. It may install or repair missing tools. When `agent-browser` is present and a supported Chrome, Chromium, or Brave executable already exists, validation, setup, and update should not force a Chrome download.
54
+
55
+ `punks -v` / `dp -v` is equivalent to `punks --version` / `dp --version`.
56
+
45
57
  `punks report` submits reusable Harness docs, workflow, tooling, CLI, skill-pack, or wiki friction to the Harness API. Public CLI submissions are validated, given deterministic metadata, deduped against open `harness-report` issues, and created as GitHub issues for maintainer triage. Missing server GitHub credentials fail the command instead of silently storing an internal-only report.
46
58
 
47
59
  Interactive commands check the selected npm dist-tag before running. When a newer CLI is available, `punks` asks for confirmation, reinstalls through the detected global package manager, and exits so the command can be rerun on the upgraded binary. `punks upgrade` keeps the same installer path as an explicit manual command. Use `--tag next` for prerelease channels or `--force` to reinstall the selected tag even when the current version is fresh.
package/dist/index.js CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/cli",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Harness Intelligence scaffolding CLI",
5
5
  "bin": {
6
6
  "devpunks": "dist/index.js",