@punks/cli 2.1.3 → 2.1.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/README.md CHANGED
@@ -38,25 +38,31 @@ bun run baseline:build
38
38
 
39
39
  `punks scaffold setup` scans the target repo from `cwd` or `-i`, resolves the active scaffold baseline, writes scaffold output into the scan root or `-o`, copies the selected baseline skills, resolves pack-owned lint assets into `.devpunks/specs/lint/`, and ensures required global tool prerequisites for those skills. Use `--yes` in non-interactive harnesses to accept the resolved default pack selection without prompts.
40
40
 
41
+ Before refreshing generated skills, setup migrates legacy per-agent skill folders from `.claude/skills`, `.codex/skills`, `.cursor/skills`, and `.opencode/skills` into shared `.agents/skills`. Colliding local skill names are kept with a `-local` suffix.
42
+
41
43
  `punks update --yes` applies managed scaffold updates without prompting. It is the non-interactive alias for the apply behavior of `--write`.
42
44
 
43
45
  `punks report` opens a GitHub issue in `wearedevpunks/harness-intelligence` for reusable Harness docs, workflow, tooling, CLI, skill-pack, or wiki friction. It uses `gh auth token`, `GH_TOKEN`, or `GITHUB_TOKEN` for GitHub auth and applies report labels such as `harness-report`, `area:wiki`, `surface:cli`, `pack:dp-cli`, and `command:dp-report`.
44
46
 
45
- `punks upgrade` checks the npm dist-tag and reinstalls the CLI through the package manager detected from the current global install path: Bun, pnpm, npm, or Yarn. The reinstall bypasses minimum-release-age gates for the CLI package by passing Bun/npm zero-age flags and pnpm/Yarn zero-age environment overrides. Use `--tag next` for prerelease channels or `--force` to reinstall the selected tag even when the current version is fresh.
47
+ 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.
46
48
 
47
49
  Use `--baseline bundled` to force the npm-shipped baseline, or `--refresh-baseline` to refetch the stable remote baseline.
48
50
 
49
- Language packs are detected separately from framework packs. TypeScript is selected when scanned manifests depend on `typescript` or when nested source files include `.ts` / `.tsx`; Python is selected from nested `.py` files. Root-level config files and vendor, virtualenv, generated, scaffold, docs, examples, `scripts`, `opensrc`, cache, and build output directories are ignored.
51
+ Language packs are detected separately from framework packs. TypeScript is selected when scanned manifests depend on `typescript` or when nested source files include `.ts` / `.tsx`; Python is selected from nested `.py` files. Root-level config files and vendor, virtualenv, generated, scaffold, docs, examples, `scripts`, `opensrc`, agent/cache/worktree, and build output directories are ignored.
50
52
 
51
53
  The generated subagent manifest is repo-shaped from selected packs and prompt specs. Python specialists are generated only when the Python language pack is selected.
52
54
 
53
- To install only the local `dp-cli` operator skill from the public skills repo checkout:
55
+ To install the global `dp-cli` operator skill from the public skills repo:
54
56
 
55
57
  ```bash
56
- npx skills add /Users/stefan/Desktop/repos/wearedevpunks-skills --skill dp-cli --full-depth
58
+ skills add https://github.com/wearedevpunks/skills/tree/main/skills/agnostic/cli/dp-cli --skill dp-cli --global --yes
57
59
  ```
58
60
 
59
- The skill source lives at `/Users/stefan/Desktop/repos/wearedevpunks-skills/skills/agnostic/cli/dp-cli`.
61
+ If `skills` is not installed as a global command yet:
62
+
63
+ ```bash
64
+ npx skills add https://github.com/wearedevpunks/skills/tree/main/skills/agnostic/cli/dp-cli --skill dp-cli --global --yes
65
+ ```
60
66
 
61
67
  The lint scaffold is intentionally agent-facing rather than repo-mutating:
62
68
 
@@ -73,7 +79,7 @@ Current scaffold-managed global tools:
73
79
  - `portless`
74
80
  - `skills`
75
81
 
76
- On startup, `punks` may start a detached best-effort worker for a newer CLI version and the presence of the `dp-cli` operator skill. The requested command renders immediately; startup checks are advisory, run at most once per 12 hours by default, and never install/update packages or skills while another CLI command is starting. Set `DP_NO_UPDATE_CHECK=1` or `DP_NO_SKILL_UPDATE_CHECK=1` to skip those checks, or `DP_STARTUP_CHECK_INTERVAL_MS=0` to force the worker during local testing.
82
+ On startup, `punks` checks interactive TTY commands for a newer CLI and asks before installing. `--help`, `--version`, CI, non-interactive commands, and `DP_NO_UPDATE_CHECK=1` skip the prompt. The `dp-cli` operator skill check stays detached and advisory, runs at most once per 12 hours by default, and never updates skills while another CLI command is starting. Set `DP_NO_SKILL_UPDATE_CHECK=1` to skip that check or `DP_STARTUP_CHECK_INTERVAL_MS=0` to force the worker during local testing.
77
83
 
78
84
  ## Publishing
79
85