@bagelink/blox 1.15.145 → 1.15.151

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.
@@ -15,6 +15,31 @@ export interface BloxPluginOptions {
15
15
  * @default false
16
16
  */
17
17
  autoCollections?: boolean;
18
+ /**
19
+ * Emit a `.blox-manifest.json` describing every registered block
20
+ * (type, label, icon, description, props JSON Schema, defaults).
21
+ *
22
+ * The manifest is generated by executing the block modules through Vite's
23
+ * SSR runner after the client build finishes, so `defineBlock()` and
24
+ * `SchemaDefinition.toJSONSchema()` run for real. Point `manifestGlob` at
25
+ * the block SFCs (same glob used by `createBloxApp`).
26
+ *
27
+ * The artifact is written to the client output directory and can be
28
+ * uploaded to the backend (`PUT /blox/websites/{id}/manifest`) so the
29
+ * agent MCP can read what blocks exist and how to use them.
30
+ * @default false
31
+ */
32
+ emitManifest?: boolean;
33
+ /**
34
+ * Glob (relative to Vite root) of block SFCs to include in the manifest.
35
+ * @default './src/components/blocks/*.vue'
36
+ */
37
+ manifestGlob?: string;
38
+ /**
39
+ * Output filename for the manifest, relative to the build outDir.
40
+ * @default '.blox-manifest.json'
41
+ */
42
+ manifestFileName?: string;
18
43
  }
19
44
  /**
20
45
  * Vite plugin that:
@@ -1 +1 @@
1
- {"version":3,"file":"vite-plugin.d.ts","sourceRoot":"","sources":["../src/vite-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAc,MAAM,MAAM,CAAA;AAM9C,MAAM,WAAW,iBAAiB;IACjC;;;;;OAKG;IACH,GAAG,CAAC,EAAE,OAAO,CAAA;IACb;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;CACzB;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,OAAO,GAAE,iBAAsB,GAAG,MAAM,EAAE,CAsUpE"}
1
+ {"version":3,"file":"vite-plugin.d.ts","sourceRoot":"","sources":["../src/vite-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAc,MAAM,MAAM,CAAA;AAM9C,MAAM,WAAW,iBAAiB;IACjC;;;;;OAKG;IACH,GAAG,CAAC,EAAE,OAAO,CAAA;IACb;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CACzB;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,OAAO,GAAE,iBAAsB,GAAG,MAAM,EAAE,CA2YpE"}