@ara-commons/ara-skills 0.4.0 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/installer.js +7 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ara-commons/ara-skills",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Install Agent-Native Research Artifact (ARA) skills — compiler, research-manager, rigor-reviewer, research-visualizer — into Claude Code, Cursor, OpenCode, Gemini CLI, Codex, and more.",
5
5
  "type": "module",
6
6
  "bin": {
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
  /**