@skilly-hand/skilly-hand 0.3.0 → 0.5.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 +33 -0
- package/README.md +10 -0
- package/package.json +4 -1
- package/packages/cli/src/bin.js +383 -137
- package/packages/core/src/index.js +42 -8
- package/packages/core/src/terminal.js +76 -69
- package/packages/core/src/ui/brand.js +31 -0
- package/packages/core/src/ui/index.js +3 -0
- package/packages/core/src/ui/layout.js +289 -0
- package/packages/core/src/ui/theme.js +120 -0
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.5.0] - 2026-04-03
|
|
20
|
+
[View on npm](https://www.npmjs.com/package/@skilly-hand/skilly-hand/v/0.5.0)
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
- Interactive command launcher when running `npx skilly-hand` in a TTY, including install skill/agent selection flow.
|
|
24
|
+
- New `selectedSkillIds` install path for explicitly choosing portable skills.
|
|
25
|
+
- Comprehensive CLI interaction tests in `tests/interactive-cli.test.js`.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
- Help, docs, and install/uninstall confirmation messaging now reflect current behavior and naming (`skilly-hand` branding).
|
|
29
|
+
- CLI bin execution mode and command routing were refactored into testable `runCli`/service helpers.
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
- Non-interactive invocation without a command now defaults to install output instead of opening prompts.
|
|
33
|
+
|
|
34
|
+
### Removed
|
|
35
|
+
- _None._
|
|
36
|
+
|
|
37
|
+
## [0.4.0] - 2026-04-03
|
|
38
|
+
[View on npm](https://www.npmjs.com/package/@skilly-hand/skilly-hand/v/0.4.0)
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- `feat(core)`: Extract UI rendering into modular system — `ui/theme.js`, `ui/layout.js`, `ui/brand.js` — with a clean `ui/index.js` barrel export.
|
|
43
|
+
- `feat(core)`: Multi-level color detection (`detectColorLevel`) supporting no-color, basic (16), 256-color, and truecolor environments.
|
|
44
|
+
- `feat(cli)`: New renderer methods `banner()`, `detectionGrid()`, and `healthBadge()` built on the new UI modules.
|
|
45
|
+
|
|
46
|
+
### Changed
|
|
47
|
+
|
|
48
|
+
- `refactor(core)`: `terminal.js` restructured to delegate rendering to the new `ui/` modules; backward-compatible `style` object retained for existing tests.
|
|
49
|
+
- `refactor(cli)`: `bin.js` simplified by extracting inline rendering into the new renderer methods.
|
|
50
|
+
- `chore`: Added `/sandbox` to `.gitignore`.
|
|
51
|
+
|
|
19
52
|
## [0.3.0] - 2026-04-03
|
|
20
53
|
[View on npm](https://www.npmjs.com/package/@skilly-hand/skilly-hand/v/0.3.0)
|
|
21
54
|
|
package/README.md
CHANGED
|
@@ -37,6 +37,8 @@ npm install
|
|
|
37
37
|
npx skilly-hand
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
`npx skilly-hand` opens an interactive command launcher when running in a TTY.
|
|
41
|
+
|
|
40
42
|
---
|
|
41
43
|
|
|
42
44
|
## Commands
|
|
@@ -49,6 +51,14 @@ npx skilly-hand
|
|
|
49
51
|
| `npx skilly-hand doctor` | Diagnose installation and configuration issues |
|
|
50
52
|
| `npx skilly-hand uninstall` | Remove installed skills |
|
|
51
53
|
|
|
54
|
+
### Common Flags
|
|
55
|
+
|
|
56
|
+
| Flag | Description |
|
|
57
|
+
| ---- | ----------- |
|
|
58
|
+
| `--json` | Emit machine-readable output and disable interactive prompts |
|
|
59
|
+
| `--yes`, `-y` | Skip confirmation prompts for mutating commands (`install`, `uninstall`) |
|
|
60
|
+
| `--dry-run` | Preview install plan without writing files |
|
|
61
|
+
|
|
52
62
|
---
|
|
53
63
|
|
|
54
64
|
## Current Portable Catalog
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skilly-hand/skilly-hand",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"license": "CC-BY-NC-4.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -40,5 +40,8 @@
|
|
|
40
40
|
"detect": "node ./packages/cli/src/bin.js detect",
|
|
41
41
|
"list": "node ./packages/cli/src/bin.js list",
|
|
42
42
|
"doctor": "node ./packages/cli/src/bin.js doctor"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@inquirer/prompts": "^7.10.1"
|
|
43
46
|
}
|
|
44
47
|
}
|