@skilly-hand/skilly-hand 0.22.1 → 0.23.0

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,39 @@ All notable changes to this project are documented in this file.
16
16
  ### Removed
17
17
  - _None._
18
18
 
19
+ ## [0.23.0] - 2026-04-12
20
+ [View on npm](https://www.npmjs.com/package/@skilly-hand/skilly-hand/v/0.23.0)
21
+
22
+ ### Added
23
+ - _None._
24
+
25
+ ### Changed
26
+ - Raised Node.js engine floor to `>=22.0.0`.
27
+ - Upgraded runtime dependencies: `ink` `5.2.1` -> `7.0.0` and `react` `18.3.1` -> `19.2.5`.
28
+ - Updated README Node badge from `>=20` to `>=22`.
29
+
30
+ ### Fixed
31
+ - _None._
32
+
33
+ ### Removed
34
+ - _None._
35
+
36
+ ## [0.22.2] - 2026-04-12
37
+ [View on npm](https://www.npmjs.com/package/@skilly-hand/skilly-hand/v/0.22.2)
38
+
39
+ ### Added
40
+ - _None._
41
+
42
+ ### Changed
43
+ - Updated native setup agent selection flow to preserve previously configured agents when `--agent` flags are omitted.
44
+
45
+ ### Fixed
46
+ - Fixed CLI argument parsing so `--agent` defaults can distinguish between omitted flags and explicit empty selections.
47
+ - Fixed native setup defaults to avoid unexpectedly resetting managed agent targets.
48
+
49
+ ### Removed
50
+ - _None._
51
+
19
52
  ## [0.22.1] - 2026-04-12
20
53
  [View on npm](https://www.npmjs.com/package/@skilly-hand/skilly-hand/v/0.22.1)
21
54
 
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  [![npm](https://img.shields.io/npm/v/%40skilly-hand%2Fskilly-hand?style=flat-square&color=black&label=npm)](https://www.npmjs.com/package/@skilly-hand/skilly-hand)
15
15
  [![license](https://img.shields.io/badge/license-CC--BY--NC--4.0-black?style=flat-square)](./LICENSE)
16
- [![node](https://img.shields.io/badge/node-%E2%89%A520-black?style=flat-square)](https://nodejs.org)
16
+ [![node](https://img.shields.io/badge/node-%E2%89%A522-black?style=flat-square)](https://nodejs.org)
17
17
  [![ESM](https://img.shields.io/badge/ESM-native-black?style=flat-square)](https://nodejs.org/api/esm.html)
18
18
 
19
19
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skilly-hand/skilly-hand",
3
- "version": "0.22.1",
3
+ "version": "0.23.0",
4
4
  "license": "CC-BY-NC-4.0",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -21,7 +21,7 @@
21
21
  "packages/*"
22
22
  ],
23
23
  "engines": {
24
- "node": ">=20.0.0"
24
+ "node": ">=22.0.0"
25
25
  },
26
26
  "scripts": {
27
27
  "build": "node ./scripts/build-catalog-index.mjs",
@@ -49,7 +49,7 @@
49
49
  "doctor": "node ./packages/cli/src/bin.js doctor"
50
50
  },
51
51
  "dependencies": {
52
- "ink": "5.2.1",
53
- "react": "18.3.1"
52
+ "ink": "7.0.0",
53
+ "react": "19.2.5"
54
54
  }
55
55
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skilly-hand/catalog",
3
- "version": "0.22.1",
3
+ "version": "0.23.0",
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.1",
3
+ "version": "0.23.0",
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.1",
3
+ "version": "0.23.0",
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.1",
3
+ "version": "0.23.0",
4
4
  "private": true,
5
5
  "type": "module"
6
6
  }