@systemdox/mcp-server 0.1.50 → 0.1.52

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.
@@ -203,6 +203,9 @@ function fenceFor(text2) {
203
203
  const longest = Math.max(0, ...(text2.match(/`+/g) ?? []).map((r) => r.length));
204
204
  return "`".repeat(Math.max(3, longest + 1));
205
205
  }
206
+ function afterInstall(skillMd) {
207
+ return `No restart is needed: a running Claude Code session picks it up. If one does not list it yet, read ${skillMd} and follow it, or run /reload-skills.`;
208
+ }
206
209
  function describeInstall(name, r) {
207
210
  const lines = [
208
211
  `Installed ${name} version ${r.version} into ${r.dest} (${r.written.length} file(s)).`
@@ -212,7 +215,7 @@ function describeInstall(name, r) {
212
215
  lines.push(`Kept, edited here and no longer in the skill: ${r.keptEdited.join(", ")}`);
213
216
  }
214
217
  if (r.keptUntracked.length) lines.push(`Kept, added here: ${r.keptUntracked.join(", ")}`);
215
- lines.push("Start a new Claude Code session to load it.");
218
+ lines.push(afterInstall(join(r.dest, "SKILL.md")));
216
219
  return lines.join("\n");
217
220
  }
218
221
 
@@ -342,7 +345,7 @@ ${fence}
342
345
  ${f.content}${f.content.endsWith("\n") ? "" : "\n"}${fence}`;
343
346
  }).join("\n\n");
344
347
  return text(
345
- `Skill **${version.name}** version ${version.version}: write these ${version.files.length} file(s) into ${dest}/ exactly as shown (the content between the fences), creating folders as needed. If a file there differs from ${MANIFEST_FILE}'s hash for it, it was edited: ask before replacing it. Then write ${MANIFEST_FILE} with this content, and tell the user to start a new Claude Code session.
348
+ `Skill **${version.name}** version ${version.version}: write these ${version.files.length} file(s) into ${dest}/ exactly as shown (the content between the fences), creating folders as needed. If a file there differs from ${MANIFEST_FILE}'s hash for it, it was edited: ask before replacing it. Then write ${MANIFEST_FILE} with this content. ${afterInstall(`${dest}/SKILL.md`)}
346
349
 
347
350
  ### ${MANIFEST_FILE}
348
351
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@systemdox/mcp-server",
3
- "version": "0.1.50",
3
+ "version": "0.1.52",
4
4
  "mcpName": "io.github.puglieseweb/systemdox",
5
5
  "type": "module",
6
6
  "description": "Give AI coding agents your architecture context over MCP — checks, specs, ADRs, project rules, and docs from SystemDox, delivered at write time",