agent-skillboard 0.2.11 → 0.2.12

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
@@ -2,6 +2,20 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.2.12 — 2026-07-03
6
+
7
+ ### Changed
8
+
9
+ - Install help and docs now state that global npm installs and updates rerun
10
+ agent-layer setup automatically, refreshing managed guidance files and
11
+ installing into newly detected supported agent roots.
12
+
13
+ ### Fixed
14
+
15
+ - Added regression coverage for update-style postinstall runs so managed
16
+ SkillBoard guidance is refreshed and newly detected agent roots are installed
17
+ during the same lifecycle pass.
18
+
5
19
  ## 0.2.11 — 2026-07-03
6
20
 
7
21
  ### Fixed
package/README.md CHANGED
@@ -106,7 +106,9 @@ If `~/.agents` already exists, setup creates `~/.agents/skills` because that is
106
106
  the shared Codex-visible skill tree in LazyCodex-style environments.
107
107
  It does not create `skillboard.config.yaml`,
108
108
  `.skillboard/`, `AGENTS.md`, or `CLAUDE.md` in projects.
109
- No separate setup command is required after a normal global install.
109
+ No separate setup command is required after a normal global install or update:
110
+ npm lifecycle scripts rerun the agent-home scan, refresh managed SkillBoard
111
+ guidance files, and add newly detected supported agent roots.
110
112
 
111
113
  Run `skillboard setup --agent codex,claude,opencode,hermes --yes` later only
112
114
  after adding another supported agent, enabling a new agent home, or installing
@@ -7,14 +7,14 @@ if (isTruthy(process.env.SKILLBOARD_SKIP_POSTINSTALL)) {
7
7
  }
8
8
 
9
9
  process.stderr.write(`${[
10
- "SkillBoard installed.",
10
+ "SkillBoard installed or updated.",
11
11
  "It does not change agent configs or project files.",
12
12
  ""
13
13
  ].join("\n")}\n`);
14
14
 
15
15
  if (!shouldAutoSetup(process.env)) {
16
16
  process.stderr.write(`${[
17
- "Global installs auto-run agent setup when supported agent homes are detected.",
17
+ "Global installs and updates auto-run agent setup when supported agent homes are detected.",
18
18
  "Run skillboard setup later after adding another supported agent:",
19
19
  " skillboard setup",
20
20
  "",
@@ -40,7 +40,7 @@ try {
40
40
  packageSpec: "agent-skillboard"
41
41
  });
42
42
  if (exitCode === 0) {
43
- process.stderr.write("Agent setup complete. Run skillboard setup later after adding another supported agent.\n");
43
+ process.stderr.write("Agent setup complete. Package updates rerun this setup automatically; run skillboard setup later after adding another supported agent.\n");
44
44
  } else {
45
45
  process.stderr.write("Agent setup did not find supported agent homes. Run skillboard setup after installing or enabling a supported agent.\n");
46
46
  }
package/docs/install.md CHANGED
@@ -47,7 +47,10 @@ detected agent homes such as `CODEX_HOME`, `AGENTS_HOME`, `CLAUDE_HOME`,
47
47
  If `~/.agents` exists but `~/.agents/skills` does not, setup creates the
48
48
  `skills` directory and installs the guidance skill there so Codex profiles that
49
49
  read the shared agent skill tree can see SkillBoard after restart.
50
- No separate setup command is required after a normal global install.
50
+ No separate setup command is required after a normal global install or update.
51
+ When npm runs lifecycle scripts, package updates rerun the agent-home scan,
52
+ refresh managed SkillBoard guidance files, and add newly detected supported
53
+ agent roots.
51
54
 
52
55
  Run `skillboard setup` later when you add another supported agent, enable a new
53
56
  agent home, intentionally skipped lifecycle scripts, or need to repair the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-skillboard",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "Let AI agents pick and use allowed skills in each workflow.",
5
5
  "keywords": [
6
6
  "ai-agent",
package/src/cli.mjs CHANGED
@@ -1549,7 +1549,7 @@ function helpText() {
1549
1549
  "After global install:",
1550
1550
  " npm install -g agent-skillboard",
1551
1551
  " sudo npm install -g agent-skillboard is also supported when system npm requires it.",
1552
- " The package postinstall auto-runs agent-layer guidance setup for detected supported agents.",
1552
+ " The package postinstall auto-runs agent-layer guidance setup on install and update.",
1553
1553
  " Under sudo, setup targets SUDO_USER's agent homes while npm still controls the binary prefix.",
1554
1554
  " Run skillboard setup later after adding another supported agent or when install scripts were skipped.",
1555
1555
  "",