@ara-commons/ara-skills 0.3.1 → 0.4.1

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/src/index.js CHANGED
@@ -17,7 +17,7 @@ ${chalk.bold('Usage:')}
17
17
 
18
18
  ${chalk.bold('Install options:')}
19
19
  --all Install every skill (default if no --skill given)
20
- --skill <id> Install one skill (repeatable). Ids: compiler, research-manager, rigor-reviewer
20
+ --skill <id> Install one skill (repeatable). Ids: compiler, research-manager, rigor-reviewer, research-visualizer
21
21
  --agent <id> Target one agent (repeatable). Default: auto-detect, else claude-code
22
22
  --local Install into ./<agent>/skills instead of $HOME
23
23
  --force Overwrite existing installations
package/src/installer.js CHANGED
@@ -143,7 +143,11 @@ export function uninstall(opts) {
143
143
  }
144
144
 
145
145
  /**
146
- * "Update" = re-install (overwrite) every currently tracked skill.
146
+ * "Update" = reconcile this agent against the FULL bundled skill set:
147
+ * re-install (overwrite) every tracked skill AND pull in any skills that
148
+ * were added to the package since the last install. Skips agents that have
149
+ * nothing installed — update should refresh an existing setup, not bootstrap
150
+ * a fresh one (use `install` for that).
147
151
  */
148
152
  export function update(opts) {
149
153
  const { agentId, local = false, cwd, quiet = false } = opts;
@@ -157,7 +161,8 @@ export function update(opts) {
157
161
  if (!quiet) console.log(` (no skills tracked at ${targetDir})`);
158
162
  return { agent: agent.id, targetDir, results: [] };
159
163
  }
160
- return install({ agentId, skillIds: ids, local, cwd, force: true, quiet });
164
+ // skillIds: [] => all bundled skills; force => overwrite the tracked ones.
165
+ return install({ agentId, skillIds: [], local, cwd, force: true, quiet });
161
166
  }
162
167
 
163
168
  /**