@clarify-labs/cli 0.11.2 → 0.11.3

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/output/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_engine = require("./engine--5unu78V.cjs");
2
+ const require_engine = require("./engine-6WmOk7xk.cjs");
3
3
  exports.ClarifyEngine = require_engine.ClarifyEngine;
4
4
  exports.createClarifyEngine = require_engine.createClarifyEngine;
5
5
  exports.createViteAdapter = require_engine.createViteAdapter;
package/output/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { l as createViteAdapter, n as createClarifyEngine, t as ClarifyEngine, u as defineConfig } from "./engine-DI8Nd3v0.js";
1
+ import { l as createViteAdapter, n as createClarifyEngine, t as ClarifyEngine, u as defineConfig } from "./engine-CrYRJRZT.js";
2
2
  export { ClarifyEngine, createClarifyEngine, createViteAdapter, defineConfig };
@@ -127,15 +127,16 @@ export type McpSearchResult = {
127
127
  */
128
128
  export declare function searchMcpIndex(db: McpSearchDb, params: McpSearchParams): McpSearchResult;
129
129
  /**
130
- * Serialize an Orama index to a msgpack binary buffer.
130
+ * Serialize an Orama index to a versioned, Brotli-compressed binary buffer.
131
131
  *
132
- * Uses `save()` to extract the raw index data, then msgpack-encodes it for a
133
- * compact binary representation. The same schema + tokenizer must be supplied
134
- * when loading so query-time tokenization matches indexing-time tokenization.
132
+ * Uses `save()` to extract the raw index data, MessagePack-encodes it, then
133
+ * compresses the payload so source documents are not embedded as contiguous
134
+ * plaintext. The leading magic bytes identify the container and its version.
135
135
  */
136
136
  export declare function serializeSearchIndex(db: McpSearchDb): Uint8Array;
137
137
  /**
138
- * Deserialize a msgpack binary buffer into a ready-to-search Orama index.
138
+ * Deserialize a current compressed container or legacy MessagePack buffer
139
+ * into a ready-to-search Orama index.
139
140
  *
140
141
  * The caller must supply the same `defaultLocale` used when the index was
141
142
  * built, so the tokenizer matches. A mismatch would not corrupt data but
@@ -144,10 +145,10 @@ export declare function serializeSearchIndex(db: McpSearchDb): Uint8Array;
144
145
  */
145
146
  export declare function deserializeSearchIndex(buffer: Uint8Array, defaultLocale?: string): McpSearchDb;
146
147
  /**
147
- * Write an Orama index to a `.msp` (msgpack) file on disk.
148
+ * Write an Orama index to a versioned `.msp` file on disk.
148
149
  */
149
150
  export declare function writeSearchIndex(db: McpSearchDb, filePath: string): void;
150
151
  /**
151
- * Read an Orama index from a `.msp` (msgpack) file on disk.
152
+ * Read a current or legacy Orama `.msp` index from disk.
152
153
  */
153
154
  export declare function readSearchIndex(filePath: string, defaultLocale?: string): McpSearchDb;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clarify-labs/cli",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "license": "AGPL-3.0-only",
5
5
  "type": "module",
6
6
  "repository": {
@@ -39,8 +39,8 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@apidevtools/swagger-parser": "^12.1.0",
42
- "@clarify-labs/renderer": "0.11.2",
43
- "@clarify-labs/templates": "0.11.2",
42
+ "@clarify-labs/renderer": "0.11.3",
43
+ "@clarify-labs/templates": "0.11.3",
44
44
  "@mdx-js/mdx": "^3.1.1",
45
45
  "@mdx-js/rollup": "^3.1.1",
46
46
  "@modelcontextprotocol/sdk": "^1.29.0",