agent-skillboard 0.1.1 → 0.1.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 +20 -0
- package/README.md +1 -0
- package/docs/versioning.md +11 -3
- package/package.json +19 -18
- package/src/cli.mjs +17 -9
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.2 — 2026-06-29
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- CLI `--version` and `-v` flags for quick version verification across npm, global, source-tree, and tarball installs.
|
|
8
|
+
- Test coverage for the new version flags.
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- README 5-Minute Quick Start now verifies the installed version as a first step.
|
|
13
|
+
|
|
14
|
+
## 0.1.1 — 2026-06-26
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- npm publication for `agent-skillboard`.
|
|
19
|
+
- Consolidation of duplicate installed skill IDs into canonical entries.
|
|
20
|
+
- Hermes system prompt bridge guide in README and install docs.
|
package/README.md
CHANGED
package/docs/versioning.md
CHANGED
|
@@ -8,7 +8,7 @@ source profiles, and the generated lockfile.
|
|
|
8
8
|
|
|
9
9
|
## Status
|
|
10
10
|
|
|
11
|
-
Current package version: `0.1.
|
|
11
|
+
Current package version: `0.1.2`
|
|
12
12
|
|
|
13
13
|
Current config schema version:
|
|
14
14
|
|
|
@@ -194,8 +194,8 @@ Before tagging a public release:
|
|
|
194
194
|
publish.yml --allow-publish` cannot configure it from the CLI, use the npm
|
|
195
195
|
package settings page and add a GitHub Actions trusted publisher with the
|
|
196
196
|
same repository, workflow filename, and allowed action.
|
|
197
|
-
- Push a version tag that exactly matches `package.json`, for example `v0.1.
|
|
198
|
-
for package version `0.1.
|
|
197
|
+
- Push a version tag that exactly matches `package.json`, for example `v0.1.2`
|
|
198
|
+
for package version `0.1.2`.
|
|
199
199
|
- Let `.github/workflows/publish.yml` publish from the tag. The workflow runs
|
|
200
200
|
the full check suite, validates that the tag matches the package version, and
|
|
201
201
|
skips `npm publish` only when that exact version already exists on npm.
|
|
@@ -220,3 +220,11 @@ completion notes:
|
|
|
220
220
|
without generating user-visible `-2` suffixes;
|
|
221
221
|
- README and install docs include a Hermes system prompt bridge for profiles
|
|
222
222
|
that do not automatically read `AGENTS.md` or `CLAUDE.md`.
|
|
223
|
+
|
|
224
|
+
## 0.1.2 Completion Notes
|
|
225
|
+
|
|
226
|
+
- add `--version` and `-v` flags to the CLI for fast version verification in
|
|
227
|
+
npm, global, source-tree, and tarball installs;
|
|
228
|
+
- add a dedicated test for the version flags;
|
|
229
|
+
- update README quick-start to verify the installed version before running
|
|
230
|
+
policy commands.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
2
|
"name": "agent-skillboard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Policy and visibility layer for AI agent skills.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-agent",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"profiles",
|
|
27
27
|
"README.md",
|
|
28
28
|
"CONTRIBUTING.md",
|
|
29
|
+
"CHANGELOG.md",
|
|
29
30
|
"LICENSE",
|
|
30
31
|
"tsconfig.lsp.json"
|
|
31
32
|
],
|
|
@@ -33,9 +34,9 @@
|
|
|
33
34
|
"skillboard": "bin/skillboard.mjs",
|
|
34
35
|
"agent-skillboard": "bin/skillboard.mjs"
|
|
35
36
|
},
|
|
36
|
-
"publishConfig": {
|
|
37
|
-
"access": "public"
|
|
38
|
-
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
39
40
|
"scripts": {
|
|
40
41
|
"test": "node --test",
|
|
41
42
|
"test:unit": "node --test test/advisor-brief-actions.test.mjs test/advisor-brief.test.mjs test/ecosystem-docs.test.mjs test/install-units.test.mjs test/package.test.mjs test/policy.test.mjs test/skillboard.test.mjs",
|
|
@@ -43,16 +44,16 @@
|
|
|
43
44
|
"diagnostics": "tsc -p tsconfig.lsp.json",
|
|
44
45
|
"check": "node --check bin/skillboard.mjs && npm run diagnostics && node --test"
|
|
45
46
|
},
|
|
46
|
-
"dependencies": {
|
|
47
|
-
"yaml": "^2.8.1"
|
|
48
|
-
},
|
|
49
|
-
"engines": {
|
|
50
|
-
"node": ">=20"
|
|
51
|
-
},
|
|
52
|
-
"license": "MIT",
|
|
53
|
-
"devDependencies": {
|
|
54
|
-
"@types/node": "^26.0.0",
|
|
55
|
-
"typescript": "^6.0.3",
|
|
56
|
-
"typescript-language-server": "^5.3.0"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"yaml": "^2.8.1"
|
|
49
|
+
},
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": ">=20"
|
|
52
|
+
},
|
|
53
|
+
"license": "MIT",
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/node": "^26.0.0",
|
|
56
|
+
"typescript": "^6.0.3",
|
|
57
|
+
"typescript-language-server": "^5.3.0"
|
|
58
|
+
}
|
|
59
|
+
}
|
package/src/cli.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
2
|
+
import { readFileSync } from "node:fs";
|
|
2
3
|
import { dirname, isAbsolute } from "node:path";
|
|
3
4
|
import YAML from "yaml";
|
|
4
5
|
import {
|
|
@@ -49,6 +50,8 @@ import { planGuardHookInstall } from "./control.mjs";
|
|
|
49
50
|
import { writeCheckedConfig } from "./control/config-write.mjs";
|
|
50
51
|
import { runInitCommand, runUninstallCommand } from "./lifecycle-cli.mjs";
|
|
51
52
|
|
|
53
|
+
const VERSION = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")).version;
|
|
54
|
+
|
|
52
55
|
const APPLY_ACTION_VALUE_OPTIONS = new Set(["workflow", "dir", "config", "skills", "out", "skillboard-bin"]);
|
|
53
56
|
|
|
54
57
|
export async function main(argv, stdout, stderr) {
|
|
@@ -124,15 +127,19 @@ async function run(argv, stdout, stderr) {
|
|
|
124
127
|
return await reconcile(options, stdout);
|
|
125
128
|
case "impact":
|
|
126
129
|
return await impact(argv.slice(1), options, stdout);
|
|
127
|
-
case "help":
|
|
128
|
-
case "--help":
|
|
129
|
-
case "-h":
|
|
130
|
-
stdout.write(helpText());
|
|
131
|
-
return 0;
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
stdout.write(
|
|
135
|
-
return
|
|
130
|
+
case "help":
|
|
131
|
+
case "--help":
|
|
132
|
+
case "-h":
|
|
133
|
+
stdout.write(helpText());
|
|
134
|
+
return 0;
|
|
135
|
+
case "--version":
|
|
136
|
+
case "-v":
|
|
137
|
+
stdout.write(`${VERSION}\n`);
|
|
138
|
+
return 0;
|
|
139
|
+
default:
|
|
140
|
+
stderr.write(`Unknown command: ${command}\n`);
|
|
141
|
+
stdout.write(helpText());
|
|
142
|
+
return 1;
|
|
136
143
|
}
|
|
137
144
|
}
|
|
138
145
|
|
|
@@ -1124,6 +1131,7 @@ function renderCounts(counts) {
|
|
|
1124
1131
|
function helpText() {
|
|
1125
1132
|
return [
|
|
1126
1133
|
"SkillBoard - workflow-scoped agent skill policy",
|
|
1134
|
+
"Version: see skillboard --version",
|
|
1127
1135
|
"",
|
|
1128
1136
|
"Commands:",
|
|
1129
1137
|
" init [--dir <path>] [--scan-root <dir>[,<dir>]] [--no-scan-installed]",
|