@rse/specbook 0.9.8 → 0.9.9

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.
@@ -27,7 +27,8 @@ export const serveMcp = async (verbose) => {
27
27
  description: "Initialize the configured specification artifact files below the base directory " +
28
28
  "with their frontmatter and artifact heading, skipping already existing files.",
29
29
  inputSchema: {
30
- config: z.string().describe("YAML schema configuration file"),
30
+ config: z.string().optional().describe("YAML schema configuration file " +
31
+ "(default: the bundled standard schema configuration)"),
31
32
  basedir: z.string().optional().describe("base directory of the specification Markdown files (default: \".\")")
32
33
  }
33
34
  }, async (args) => {
@@ -46,7 +47,8 @@ export const serveMcp = async (verbose) => {
46
47
  description: "Lint the specification Markdown files the YAML schema configuration references " +
47
48
  "below the base directory against this configuration and return all diagnostics.",
48
49
  inputSchema: {
49
- config: z.string().describe("YAML schema configuration file"),
50
+ config: z.string().optional().describe("YAML schema configuration file " +
51
+ "(default: the bundled standard schema configuration)"),
50
52
  basedir: z.string().optional().describe("base directory of the specification Markdown files (default: \".\")")
51
53
  }
52
54
  }, async (args) => {
@@ -68,7 +70,8 @@ export const serveMcp = async (verbose) => {
68
70
  "YAML, TOON, HTML, PDF, or normalized Markdown. The result is written to the output file " +
69
71
  "if an output path is given, else it is returned directly (PDF as a base64-encoded resource).",
70
72
  inputSchema: {
71
- config: z.string().describe("YAML schema configuration file"),
73
+ config: z.string().optional().describe("YAML schema configuration file " +
74
+ "(default: the bundled standard schema configuration)"),
72
75
  basedir: z.string().optional().describe("base directory of the specification Markdown files (default: \".\")"),
73
76
  format: z.enum(formats).optional().describe("output format (default: inferred from the " +
74
77
  "output file extension, else json)"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rse/specbook",
3
- "version": "0.9.8",
3
+ "version": "0.9.9",
4
4
  "publishConfig": { "access": "public" },
5
5
  "description": "Markdown-based Specification Format (API, CLI and MCP service)",
6
6
  "license": "Apache-2.0",