@skillsmith/cli 0.8.9 → 0.8.11

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/CHANGELOG.md CHANGED
@@ -4,6 +4,25 @@ All notable changes to `@skillsmith/cli` are documented here.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## v0.8.11
8
+
9
+ - **Fix**: SMI-6530 -- stop recommending bulk `skillsmith update` until the safety gate ships (#2801)
10
+ - **Fix (data loss)**: `skillsmith update` writes only into the directory it compared and refuses
11
+ otherwise, so a skill can no longer be written into a differently named directory. Skills marked
12
+ local, and skills Skillsmith didn't install, are skipped before any source recovery or registry
13
+ lookup instead of being resolved and overwritten. `--dry-run` no longer writes the manifest. The
14
+ "no recorded registry source" hint no longer suggests `install --force` and names the skill by
15
+ its directory (SMI-6529).
16
+
17
+ - **Security**: `skillsmith update --all` in CLI 0.8.8-0.8.10 can overwrite local edits in skill
18
+ directories that are git clones and can write into the wrong directory (SMI-6528). On those
19
+ versions, preview with `--dry-run` and update skills one at a time. This release includes the
20
+ install-layer fix (SMI-6529).
21
+
22
+ ## v0.8.10
23
+
24
+ - **Fixed**: SMI-6472 -- `src/utils/skill-name.ts`'s re-export of `VALID_SKILL_NAME_RE`/`validateSkillName` now imports from the narrow `@skillsmith/core/utils/skill-name` subpath instead of the `@skillsmith/core` package barrel. The barrel import transitively pulled in `skill-installation.io.ts` -> `safe-fs.ts`'s `fs/promises` needs (`open`/`lstat`/`constants`), breaking `tests/create.test.ts`'s narrow `fs/promises` mock (`mkdir`/`writeFile`/`stat` only) with `[vitest] No "constants" export is defined on the "fs/promises" mock`. No behavior change — only the import path.
25
+
7
26
  ## v0.8.9
8
27
 
9
28
  - **Feature**: SMI-6343 Wave 3 -- tamper-check classification (#2710)
package/README.md CHANGED
@@ -8,7 +8,7 @@ Part of Skillsmith: a registry for sharing, scanning, and tracking agent skills
8
8
 
9
9
  ## Contents
10
10
 
11
- - [What's New](#whats-new-in-v089)
11
+ - [What's New](#whats-new-in-v0811)
12
12
  - [Installation](#installation)
13
13
  - [Commands](#commands)
14
14
  - [inventory](#inventory)
@@ -16,7 +16,7 @@ Part of Skillsmith: a registry for sharing, scanning, and tracking agent skills
16
16
  - [Examples](#examples)
17
17
  - [Privacy & Data Handling](#privacy--data-handling)
18
18
 
19
- ## What's New in v0.8.9
19
+ ## What's New in v0.8.11
20
20
 
21
21
  - **Multi-client targeting fixed across the board**: `install`, `list`, `remove`, `update`, `sync`, and `search -i`'s install action now all honor `SKILLSMITH_CLIENT`/`--client` consistently — previously several of these silently acted on the Claude Code directory regardless of the flag or env var.
22
22
  - **`update` no longer fails after a fresh install**: now resolves the installed skill's registry source from the manifest `install` already writes, instead of a dead-code path that could never find it.
@@ -142,8 +142,8 @@ names, or `--all` — bare `skillsmith update` with none of those prints usage
142
142
  guidance instead of updating anything.
143
143
 
144
144
  ```bash
145
- # Update all skills
146
- skillsmith update --all
145
+ # Preview what --all would change before applying it
146
+ skillsmith update --all --dry-run
147
147
 
148
148
  # Update one skill
149
149
  skillsmith update skill-name
@@ -833,8 +833,8 @@ npm run dev
833
833
  ### Manage Skills
834
834
 
835
835
  ```bash
836
- # Update all installed skills
837
- skillsmith update --all
836
+ # Preview updates to all installed skills, then update one at a time
837
+ skillsmith update --all --dry-run
838
838
 
839
839
  # Remove a skill
840
840
  skillsmith remove community/old-skill
@@ -1 +1 @@
1
- f62a85156479633b6e42bda2582af08b36eacf4c
1
+ 9246e507770b63b57f5efbce668c7d37473dd1c6