happyskills 0.3.1 → 0.4.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 +8 -0
- package/package.json +1 -1
- package/src/commands/setup.js +7 -5
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.0] - 2026-03-05
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Add `-g` / `--global` flag to `setup` command to opt into installing `happyskillsai/happyskills-cli` globally (`~/.claude/skills/`)
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Change `setup` default install scope from global to project-level (`.claude/skills/`); pass `-g` to restore the previous global behaviour
|
|
17
|
+
|
|
10
18
|
## [0.3.1] - 2026-03-04
|
|
11
19
|
|
|
12
20
|
### Fixed
|
package/package.json
CHANGED
package/src/commands/setup.js
CHANGED
|
@@ -7,18 +7,20 @@ const { EXIT_CODES } = require('../constants')
|
|
|
7
7
|
|
|
8
8
|
const SKILL_NAME = 'happyskillsai/happyskills-cli'
|
|
9
9
|
|
|
10
|
-
const HELP_TEXT = `Usage: happyskills setup
|
|
10
|
+
const HELP_TEXT = `Usage: happyskills setup [options]
|
|
11
11
|
|
|
12
|
-
Install (or update) the official HappySkills CLI skill
|
|
12
|
+
Install (or update) the official HappySkills CLI skill.
|
|
13
13
|
|
|
14
|
-
Installs happyskillsai/happyskills-cli into
|
|
14
|
+
Installs happyskillsai/happyskills-cli into .claude/skills/ so AI agents
|
|
15
15
|
(Claude Code, etc.) can interact with HappySkills using natural language.
|
|
16
16
|
|
|
17
17
|
Options:
|
|
18
|
+
-g, --global Install globally (~/.claude/skills/) instead of project-level
|
|
18
19
|
--json Output as JSON
|
|
19
20
|
|
|
20
21
|
Examples:
|
|
21
|
-
happyskills setup
|
|
22
|
+
happyskills setup
|
|
23
|
+
happyskills setup -g`
|
|
22
24
|
|
|
23
25
|
const run = (args) => catch_errors('Setup failed', async () => {
|
|
24
26
|
if (args.flags._show_help) {
|
|
@@ -27,7 +29,7 @@ const run = (args) => catch_errors('Setup failed', async () => {
|
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
const options = {
|
|
30
|
-
global:
|
|
32
|
+
global: args.flags.global || false,
|
|
31
33
|
yes: true,
|
|
32
34
|
version: 'latest',
|
|
33
35
|
project_root: find_project_root()
|