@systemdox/mcp-server 0.1.43 → 0.1.45

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/dist/cli.js CHANGED
@@ -2276,7 +2276,11 @@ function registerSkillTools(server2, apiClient2, { localFiles }) {
2276
2276
  } : {},
2277
2277
  files: z13.array(fileSchema).optional().describe(localFiles ? "Only when there is no folder to read" : "Every file of the skill folder"),
2278
2278
  name: z13.string().optional().describe("The skill's name; defaults to SKILL.md's frontmatter name and must match it"),
2279
- spaceId: z13.string().optional().describe("Space for a NEW skill (default: your default space)")
2279
+ spaceId: z13.string().optional().describe("Space for a NEW skill (default: your default space)"),
2280
+ note: z13.string().max(500).optional().describe(`A short change note for this version, shown in the console's history (e.g. "Fix the GA4 step")`),
2281
+ baseVersion: z13.number().int().positive().optional().describe(
2282
+ "The version these files were edited from. When given, the publish is refused (SYD-K017) if someone published a newer version since, instead of replacing their changes"
2283
+ )
2280
2284
  },
2281
2285
  annotations: { readOnlyHint: false }
2282
2286
  },
@@ -2297,7 +2301,12 @@ function registerSkillTools(server2, apiClient2, { localFiles }) {
2297
2301
  if (!name) throw new Error(`${ENTRY_FILE} has no frontmatter name; pass \`name\`.`);
2298
2302
  const saved = await apiClient2.post(
2299
2303
  `${SKILLS}/${encodeURIComponent(name)}/versions`,
2300
- { files, ...args2.spaceId ? { spaceId: args2.spaceId } : {} }
2304
+ {
2305
+ files,
2306
+ ...args2.spaceId ? { spaceId: args2.spaceId } : {},
2307
+ ...args2.note ? { note: args2.note } : {},
2308
+ ...args2.baseVersion ? { baseVersion: args2.baseVersion } : {}
2309
+ }
2301
2310
  );
2302
2311
  apiClient2.invalidateCache(SKILLS);
2303
2312
  return text(
@@ -2435,7 +2444,7 @@ var init_server = __esm({
2435
2444
  init_get_prompt_templates();
2436
2445
  init_create_prompt_template();
2437
2446
  init_skills2();
2438
- SERVER_VERSION = true ? "0.1.43" : "0.0.0-dev";
2447
+ SERVER_VERSION = true ? "0.1.45" : "0.0.0-dev";
2439
2448
  }
2440
2449
  });
2441
2450
 
package/dist/http.js CHANGED
@@ -2073,7 +2073,11 @@ function registerSkillTools(server, apiClient, { localFiles }) {
2073
2073
  } : {},
2074
2074
  files: z13.array(fileSchema).optional().describe(localFiles ? "Only when there is no folder to read" : "Every file of the skill folder"),
2075
2075
  name: z13.string().optional().describe("The skill's name; defaults to SKILL.md's frontmatter name and must match it"),
2076
- spaceId: z13.string().optional().describe("Space for a NEW skill (default: your default space)")
2076
+ spaceId: z13.string().optional().describe("Space for a NEW skill (default: your default space)"),
2077
+ note: z13.string().max(500).optional().describe(`A short change note for this version, shown in the console's history (e.g. "Fix the GA4 step")`),
2078
+ baseVersion: z13.number().int().positive().optional().describe(
2079
+ "The version these files were edited from. When given, the publish is refused (SYD-K017) if someone published a newer version since, instead of replacing their changes"
2080
+ )
2077
2081
  },
2078
2082
  annotations: { readOnlyHint: false }
2079
2083
  },
@@ -2094,7 +2098,12 @@ function registerSkillTools(server, apiClient, { localFiles }) {
2094
2098
  if (!name) throw new Error(`${ENTRY_FILE} has no frontmatter name; pass \`name\`.`);
2095
2099
  const saved = await apiClient.post(
2096
2100
  `${SKILLS}/${encodeURIComponent(name)}/versions`,
2097
- { files, ...args.spaceId ? { spaceId: args.spaceId } : {} }
2101
+ {
2102
+ files,
2103
+ ...args.spaceId ? { spaceId: args.spaceId } : {},
2104
+ ...args.note ? { note: args.note } : {},
2105
+ ...args.baseVersion ? { baseVersion: args.baseVersion } : {}
2106
+ }
2098
2107
  );
2099
2108
  apiClient.invalidateCache(SKILLS);
2100
2109
  return text(
@@ -2181,7 +2190,7 @@ ${body}`
2181
2190
  }
2182
2191
 
2183
2192
  // src/server.ts
2184
- var SERVER_VERSION = true ? "0.1.43" : "0.0.0-dev";
2193
+ var SERVER_VERSION = true ? "0.1.45" : "0.0.0-dev";
2185
2194
  function createServer(apiClient, { localFiles = false } = {}) {
2186
2195
  const server = new McpServer({
2187
2196
  name: "systemdox-mcp-server",
package/dist/index.js CHANGED
@@ -2055,7 +2055,11 @@ function registerSkillTools(server2, apiClient2, { localFiles }) {
2055
2055
  } : {},
2056
2056
  files: z13.array(fileSchema).optional().describe(localFiles ? "Only when there is no folder to read" : "Every file of the skill folder"),
2057
2057
  name: z13.string().optional().describe("The skill's name; defaults to SKILL.md's frontmatter name and must match it"),
2058
- spaceId: z13.string().optional().describe("Space for a NEW skill (default: your default space)")
2058
+ spaceId: z13.string().optional().describe("Space for a NEW skill (default: your default space)"),
2059
+ note: z13.string().max(500).optional().describe(`A short change note for this version, shown in the console's history (e.g. "Fix the GA4 step")`),
2060
+ baseVersion: z13.number().int().positive().optional().describe(
2061
+ "The version these files were edited from. When given, the publish is refused (SYD-K017) if someone published a newer version since, instead of replacing their changes"
2062
+ )
2059
2063
  },
2060
2064
  annotations: { readOnlyHint: false }
2061
2065
  },
@@ -2076,7 +2080,12 @@ function registerSkillTools(server2, apiClient2, { localFiles }) {
2076
2080
  if (!name) throw new Error(`${ENTRY_FILE} has no frontmatter name; pass \`name\`.`);
2077
2081
  const saved = await apiClient2.post(
2078
2082
  `${SKILLS}/${encodeURIComponent(name)}/versions`,
2079
- { files, ...args.spaceId ? { spaceId: args.spaceId } : {} }
2083
+ {
2084
+ files,
2085
+ ...args.spaceId ? { spaceId: args.spaceId } : {},
2086
+ ...args.note ? { note: args.note } : {},
2087
+ ...args.baseVersion ? { baseVersion: args.baseVersion } : {}
2088
+ }
2080
2089
  );
2081
2090
  apiClient2.invalidateCache(SKILLS);
2082
2091
  return text(
@@ -2163,7 +2172,7 @@ ${body}`
2163
2172
  }
2164
2173
 
2165
2174
  // src/server.ts
2166
- var SERVER_VERSION = true ? "0.1.43" : "0.0.0-dev";
2175
+ var SERVER_VERSION = true ? "0.1.45" : "0.0.0-dev";
2167
2176
  function createServer(apiClient2, { localFiles = false } = {}) {
2168
2177
  const server2 = new McpServer({
2169
2178
  name: "systemdox-mcp-server",
@@ -236,7 +236,11 @@ function registerSkillTools(server, apiClient, { localFiles }) {
236
236
  } : {},
237
237
  files: z.array(fileSchema).optional().describe(localFiles ? "Only when there is no folder to read" : "Every file of the skill folder"),
238
238
  name: z.string().optional().describe("The skill's name; defaults to SKILL.md's frontmatter name and must match it"),
239
- spaceId: z.string().optional().describe("Space for a NEW skill (default: your default space)")
239
+ spaceId: z.string().optional().describe("Space for a NEW skill (default: your default space)"),
240
+ note: z.string().max(500).optional().describe(`A short change note for this version, shown in the console's history (e.g. "Fix the GA4 step")`),
241
+ baseVersion: z.number().int().positive().optional().describe(
242
+ "The version these files were edited from. When given, the publish is refused (SYD-K017) if someone published a newer version since, instead of replacing their changes"
243
+ )
240
244
  },
241
245
  annotations: { readOnlyHint: false }
242
246
  },
@@ -257,7 +261,12 @@ function registerSkillTools(server, apiClient, { localFiles }) {
257
261
  if (!name) throw new Error(`${ENTRY_FILE} has no frontmatter name; pass \`name\`.`);
258
262
  const saved = await apiClient.post(
259
263
  `${SKILLS}/${encodeURIComponent(name)}/versions`,
260
- { files, ...args.spaceId ? { spaceId: args.spaceId } : {} }
264
+ {
265
+ files,
266
+ ...args.spaceId ? { spaceId: args.spaceId } : {},
267
+ ...args.note ? { note: args.note } : {},
268
+ ...args.baseVersion ? { baseVersion: args.baseVersion } : {}
269
+ }
261
270
  );
262
271
  apiClient.invalidateCache(SKILLS);
263
272
  return text(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@systemdox/mcp-server",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
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",