@skillsmith/cli 0.8.3 → 0.8.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/CHANGELOG.md CHANGED
@@ -4,6 +4,24 @@ All notable changes to `@skillsmith/cli` are documented here.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## v0.8.5
8
+
9
+ - **Cadence**: Mechanical cadence alignment (no changes since v0.8.4).
10
+ - **Changed**: `skillsmith --help`'s top-level description now reads "Publish versioned agent skills to a team-scoped registry, catch drift across installs, and deprecate what's gone stale. (alias: sklx)" — part of the repo-wide messaging reframe from "skill discovery" to "agent skill lifecycle management" (SMI-5948)
11
+ - **Fix**: `search-formatters.ts`'s security-status coloring (`formatSecurityStatus`, `displaySkillDetails`) no longer renders bright green purely from `securityPassed === true` — a skill scoring just under the quarantine threshold (`DEFAULT_RISK_THRESHOLD`, 40 — lower is safer) rendered identically to one scoring near 0, misleadingly implying "very safe" for a borderline pass. Green is now reserved for a comfortably-safe pass (risk score under half the threshold, or no numeric score); a borderline pass renders yellow instead. Text ("PASS"/"PASSED") is unchanged — this is a color-only fix (SMI-5897)
12
+ - **Feature**: new `skillsmith registry install <skillId>` command (optional `--version`) — pulls a skill previously published to your team's Enterprise private registry and installs it locally, closing the publish→install gap (previously the registry could only be published to and browsed). Talks to the new `private-registry-get` Edge Function under your signed-in user JWT (`skillsmith login`) — the CLI never carries Supabase credentials directly. `403` maps to "Enterprise subscription required for your team's private registry"; a cross-team or nonexistent `skillId` both map to a non-leaking "not found", matching the Edge Function's own contract (SMI-5905)
13
+ - **Fix**: `registry-install`'s `skillId` validation rejects `.`/`..` path segments (e.g. `"team/.."`) before any network call or disk write — the same guard added at every layer of this feature's stack (SMI-5905)
14
+ - **Fix**: `skillsmith recommend --installed <ids...>` now actually feeds those IDs into the recommendation query — previously an explicit `--installed` list was reported back in the output but never fed into the empty-derived-stack guard, so a codebase where analysis detects nothing (non-Node stack, all-devDeps) still hit the guard's degraded response even though the user had already supplied exactly the escape-hatch information the guard's own guidance text asks for (SMI-5896)
15
+ - **Fix**: `skillsmith update <name>` now resolves an installed skill's registry source from `~/.skillsmith/manifest.json` — the entry `install` already writes on every successful install, looked up by the `(name, client)` key so a same-named skill installed under two clients resolves the copy the caller asked about — instead of a `SKILL.md` front-matter `id:` read that `SkillParser` never populated. `update` therefore no longer reports `"<name>" has no recorded registry source` for a normally-installed skill. When the manifest genuinely has no entry, it falls back to `SourceRecoveryService` and auto-applies only `exact`/`high`/`user-specified` matches; a speculative medium/low name match fails safe with a pointer to `sklx audit sources` rather than silently updating from a guessed source (SMI-5895)
16
+ - **Fix**: `skillsmith search -i`'s "Install this skill" action now honors `SKILLSMITH_CLIENT` — previously it always installed to the canonical Claude Code directory regardless of the environment variable, the same class of bug SMI-5894 fixed for `install`/`list`/`remove`/`update`/`sync` (SMI-5894 post-merge retro)
17
+ - **Fix**: `--accept`/`--revoke` are now rejected outright (a new `accept_disabled` validation code, before any audit/lock/file touch) while `SKILLSMITH_AUDIT_ACCEPT_DISABLE=1` is set, instead of writing a real but dormant record and printing a false "OK Accepted"/"OK Revoked" success message (SMI-5883 post-merge retro)
18
+ - **Feature**: `sklx audit security` gains `--accept <key> --reason "<why>"` / `--revoke <key>` / `--candidates` / `--list-accepted` for the new local security-acceptance allowlist — a reviewed false-positive finding can be marked accepted so it stops re-surfacing, without ever affecting rug-pull/hostile-update detection. `--accept` re-runs the real audit before matching a key (a stale key from changed content is rejected as `key_not_found`, never blindly trusted); `--revoke` resolves against the stored ledger, not the current run's candidates, since the records most worth revoking are often ones that no longer match live content. `--json` candidate output is paginated (`--page`/`--page-size`, or `--all-candidates` for the complete uncapped array) with a deterministic total ordering so no candidate is skipped or duplicated across pages (SMI-5883)
19
+
20
+ ## v0.8.4
21
+
22
+ - **Cadence**: Mechanical cadence alignment (no changes since v0.8.3).
23
+ - **Fix**: `sklx logs --tail` now watches the doc-retrieval reindex CLI's structured log surface — added `'doc-retrieval'` to `commands/logs.ts`'s `TAIL_SURFACES` array (SMI-5793)
24
+
7
25
  ## v0.8.3
8
26
 
9
27
  - **Chore**: bump the opentelemetry group across 1 directory with 8 updates (#1862)
@@ -119,6 +137,11 @@ All notable changes to `@skillsmith/cli` are documented here.
119
137
  ## v0.5.7
120
138
 
121
139
  - **Refactor**: initSkill throws InitSkillError instead of process.exit (SMI-4314) (#642)
140
+ - **Fix**: `skillsmith author init` now reports a friendly error and cleans up
141
+ partial output when a file operation fails. When an init is run against a
142
+ pre-existing directory that the user confirms to overwrite, the existing
143
+ directory is preserved on mid-scaffold failure instead of being removed
144
+ (SMI-4289, closes #602).
122
145
 
123
146
  ## v0.5.6
124
147
 
@@ -128,14 +151,6 @@ All notable changes to `@skillsmith/cli` are documented here.
128
151
 
129
152
  - **Other**: SMI-4190: release cadence docs — ADR-114 + CHANGELOG backfill + CONTRIBUTING (#552)
130
153
 
131
- ## [Unreleased]
132
-
133
- - **Fix**: `skillsmith author init` now reports a friendly error and cleans up
134
- partial output when a file operation fails. When an init is run against a
135
- pre-existing directory that the user confirms to overwrite, the existing
136
- directory is preserved on mid-scaffold failure instead of being removed
137
- (SMI-4289, closes #602).
138
-
139
154
  ## v0.5.4
140
155
 
141
156
  - **Fix**: Version bump to align with core 0.5.1 and mcp-server 0.4.9 floors (#548).
package/README.md CHANGED
@@ -2,11 +2,13 @@
2
2
 
3
3
  > **Important:** The bare `skillsmith` package on npm is **not** this project. Install `@skillsmith/cli` for the CLI or configure [`@skillsmith/mcp-server`](https://www.npmjs.com/package/@skillsmith/mcp-server) for MCP integration.
4
4
 
5
- Command-line interface for Skillsmith - discover, manage, and author agent skills.
5
+ Command-line interface for Skillsmith publish, manage, and author agent skills.
6
+
7
+ Part of Skillsmith: a lifecycle layer for agent skills across teams.
6
8
 
7
9
  ## Contents
8
10
 
9
- - [What's New](#whats-new-in-v082)
11
+ - [What's New](#whats-new-in-v085)
10
12
  - [Installation](#installation)
11
13
  - [Commands](#commands)
12
14
  - [inventory](#inventory)
@@ -14,11 +16,14 @@ Command-line interface for Skillsmith - discover, manage, and author agent skill
14
16
  - [Examples](#examples)
15
17
  - [Privacy & Data Handling](#privacy--data-handling)
16
18
 
17
- ## What's New in v0.8.2
18
-
19
- - **Corrected tier quota display**: Community/Individual/Team quota labels shown by the CLI are reduced 10x (100/mo, 1,000/mo, 10,000/mo respectively) to match actual enforcement — display-only; enforcement lives in `@skillsmith/mcp-server`.
19
+ ## What's New in v0.8.5
20
20
 
21
- > v0.8.2 is a scheduled cadence release with no functional changes beyond v0.8.1.
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
+ - **`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.
23
+ - **New `skillsmith registry install <skillId>`**: pulls a skill previously published to your team's Enterprise private registry and installs it locally.
24
+ - **New security-acceptance workflow**: `sklx audit security --accept/--revoke/--candidates/--list-accepted` lets you mark a reviewed false-positive as accepted so it stops re-surfacing, without affecting rug-pull/hostile-update detection.
25
+ - **`recommend --installed` actually used now**: an explicit `--installed` list is fed into the recommendation query instead of being silently ignored on an empty-derived-stack workspace.
26
+ - **Security-status coloring corrected**: a borderline-safe scan result no longer renders identically bright-green to a comfortably-safe one.
22
27
 
23
28
  See [CHANGELOG.md](./CHANGELOG.md) for previous releases.
24
29
 
@@ -1 +1 @@
1
- fe5fa10069e9acee3fbaa2c4db6a73aea7b2cb1a
1
+ 0bf4163ad3408fd44f049b7776596b2ffd97cd3d