@skilly-hand/skilly-hand 0.22.0 → 0.22.2

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
@@ -16,6 +16,37 @@ All notable changes to this project are documented in this file.
16
16
  ### Removed
17
17
  - _None._
18
18
 
19
+ ## [0.22.2] - 2026-04-12
20
+ [View on npm](https://www.npmjs.com/package/@skilly-hand/skilly-hand/v/0.22.2)
21
+
22
+ ### Added
23
+ - _None._
24
+
25
+ ### Changed
26
+ - Updated native setup agent selection flow to preserve previously configured agents when `--agent` flags are omitted.
27
+
28
+ ### Fixed
29
+ - Fixed CLI argument parsing so `--agent` defaults can distinguish between omitted flags and explicit empty selections.
30
+ - Fixed native setup defaults to avoid unexpectedly resetting managed agent targets.
31
+
32
+ ### Removed
33
+ - _None._
34
+
35
+ ## [0.22.1] - 2026-04-12
36
+ [View on npm](https://www.npmjs.com/package/@skilly-hand/skilly-hand/v/0.22.1)
37
+
38
+ ### Added
39
+ - _None._
40
+
41
+ ### Changed
42
+ - Moved maintainer release/security workflow details from README into `docs/MAINTAINER.md`, keeping README with a maintainer-runbook link.
43
+
44
+ ### Fixed
45
+ - _None._
46
+
47
+ ### Removed
48
+ - _None._
49
+
19
50
  ## [0.22.0] - 2026-04-11
20
51
  [View on npm](https://www.npmjs.com/package/@skilly-hand/skilly-hand/v/0.22.0)
21
52
 
package/README.md CHANGED
@@ -89,27 +89,7 @@ See [catalog/README.md](./catalog/README.md) for generated skill metadata.
89
89
 
90
90
  ---
91
91
 
92
- ## Release Workflow (npm)
93
-
94
- 1. Confirm session: `npm whoami` (or `npm login`).
95
- 2. Keep `CHANGELOG.md` up to date under `## [Unreleased]` as work lands.
96
- 3. Regenerate derived files when needed: `npm run build && npm run catalog:sync && npm run agentic:self:sync`.
97
- 4. Run publish gate: `npm run verify:publish`.
98
- 5. Inspect package payload: `npm pack --dry-run --json`.
99
- 6. Bump version intentionally: `npm version patch|minor|major` (this auto-rotates `CHANGELOG.md`, creates a dated release section, and inserts a version-specific npm link).
100
- 7. Publish with assisted 2FA flow: `npm run publish:otp` (or `npm run publish:next` for prereleases).
101
- - The script runs the publish gate, asks for OTP with hidden input, and if left blank lets npm trigger your default security method.
102
- 8. Smoke test after publish: `npx @skilly-hand/skilly-hand@<version> --help`.
103
- 9. Verify npm metadata (README render, changelog, license, executable bin).
104
-
105
- ### Security Automation
106
-
107
- - `npm run security:check` runs repository secret/config checks plus strict dependency security checks.
108
- - `npm run security:deps` runs strict dependency audit + outdated reporting only.
109
- - `npm run deps:policy:check` enforces exact runtime dependency pins and lockfile sync (`package-lock.json` + `npm-shrinkwrap.json`).
110
- - `npm run deps:update:safe -- <pkg[@version]>` is the required dependency update path; it pins exact versions, syncs shrinkwrap, and blocks completion unless all validation gates pass.
111
- - Do not use raw `npm install` for dependency upgrades in this repo; use `deps:update:safe` so tests and security gates run before accepting version changes.
112
- - Run `npm run setup:hooks` once per clone to install `pre-commit` (fast checks) and `pre-push` (full gate) hooks.
92
+ Maintainer release and security workflow: [docs/MAINTAINER.md](./docs/MAINTAINER.md).
113
93
 
114
94
  ---
115
95
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skilly-hand/skilly-hand",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "license": "CC-BY-NC-4.0",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skilly-hand/catalog",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "private": true,
5
5
  "type": "module"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skilly-hand/cli",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "bin": {
@@ -53,7 +53,7 @@ export function parseArgs(argv) {
53
53
  verbose: false,
54
54
  json: false,
55
55
  classic: false,
56
- agents: [],
56
+ agents: null,
57
57
  include: [],
58
58
  exclude: []
59
59
  };
@@ -78,7 +78,7 @@ export function parseArgs(argv) {
78
78
  else if (token === "--verbose" || token === "-v") flags.verbose = true;
79
79
  else if (token === "--json") flags.json = true;
80
80
  else if (token === "--classic") flags.classic = true;
81
- else if (token === "--agent" || token === "-a") flags.agents.push(takeFlagValue(token));
81
+ else if (token === "--agent" || token === "-a") { if (!flags.agents) flags.agents = []; flags.agents.push(takeFlagValue(token)); }
82
82
  else if (token === "--cwd") flags.cwd = takeFlagValue(token);
83
83
  else if (token === "--include") flags.include.push(takeFlagValue(token));
84
84
  else if (token === "--exclude") flags.exclude.push(takeFlagValue(token));
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skilly-hand/core",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "private": true,
5
5
  "type": "module"
6
6
  }
@@ -183,10 +183,14 @@ function retainNativeProfilesForAgents(previousLock, selectedAgents) {
183
183
  }
184
184
 
185
185
  function normalizeAgentList(agents) {
186
- if (!agents || agents.length === 0) {
186
+ if (agents == null) {
187
187
  return [...DEFAULT_AGENTS];
188
188
  }
189
189
 
190
+ if (agents.length === 0) {
191
+ return [];
192
+ }
193
+
190
194
  return uniq(agents.flatMap((item) => String(item).split(",")).map((item) => item.trim()).filter(Boolean));
191
195
  }
192
196
 
@@ -483,12 +487,12 @@ export async function setupNativeProject({
483
487
  agents,
484
488
  dryRun = false
485
489
  }) {
486
- const selectedAgents = normalizeAgentList(agents);
487
490
  const generatedAt = nowIso();
488
491
  const installRoot = path.join(cwd, ".skilly-hand");
489
492
  const backupsDir = path.join(installRoot, "backups");
490
493
  const lockPath = path.join(installRoot, "manifest.lock.json");
491
494
  const previousLock = await exists(lockPath) ? await readJson(lockPath) : null;
495
+ const selectedAgents = normalizeAgentList(agents ?? previousLock?.agents);
492
496
  const selectedNativeTargets = selectedAgents
493
497
  .map((agent) => NATIVE_ADAPTER_REGISTRY[agent])
494
498
  .filter((adapter) => adapter && adapter.supported)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skilly-hand/detectors",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "private": true,
5
5
  "type": "module"
6
6
  }