@blueprint-chart/docs 0.1.22 → 0.1.23

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 +3 -3
  2. package/src/guide/mcp.md +9 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueprint-chart/docs",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "Public documentation for Blueprint Chart — handbook, guide, BPC DSL spec, and lib API reference.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -48,8 +48,8 @@
48
48
  "vitepress": "^1.5.0",
49
49
  "vitest": "^3.2.4",
50
50
  "vue": "^3.5",
51
- "@blueprint-chart/lib": "0.1.22",
52
- "@blueprint-chart/ui": "0.1.22"
51
+ "@blueprint-chart/lib": "0.1.23",
52
+ "@blueprint-chart/ui": "0.1.23"
53
53
  },
54
54
  "scripts": {
55
55
  "dev": "vitepress dev src --host 0.0.0.0 --port 4445",
package/src/guide/mcp.md CHANGED
@@ -97,11 +97,18 @@ that client's server config.
97
97
  | `validate_dsl` | Parse `.bpc`; returns `{ valid, errors[], warnings[] }` — each error carries a `code`, `message`, and actionable `suggestion` |
98
98
  | `inspect_dsl` | Summarize a `.bpc`: chart type, scenes, series/row counts, feature flags |
99
99
  | `recommend_chart_type` | Rank chart types for a given column shape and row count |
100
- | `render` | Render to SVG (default) or PNG, with structured errors on failure |
100
+ | `render` | Render to SVG (default), PNG, or HTML, with structured frame metadata and structured errors on failure |
101
101
  | `list_chart_types` | List all renderable chart types |
102
- | `describe_chart_type` | Properties, when-to-use, and data shape for one chart type |
102
+ | `describe_chart_type` | Properties, when-to-use, when-NOT-to-use, and data shape for one chart type |
103
103
  | `get_example` | Fetch a canonical `.bpc` sample by chart type or name |
104
104
  | `get_grammar` | Full DSL syntax reference |
105
+ | `export_chart` | Turn a validated `.bpc` into shareable editor URLs — an editable `copyUrl` and a read-only `embedUrl` for iframes |
106
+
107
+ ## Prompts
108
+
109
+ | Prompt | Purpose |
110
+ | --- | --- |
111
+ | `author_chart` | Primes the assistant end-to-end for the full read → write → `validate_dsl` → `render` → iterate loop, with the MCP as validator and renderer |
105
112
 
106
113
  ## Resources
107
114