@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/cli/mcp/orama-loader.d.ts +3 -2
- package/output/cli.cjs +4 -3
- package/output/cli.cjs.map +1 -1
- package/output/cli.js +4 -3
- package/output/cli.js.map +1 -1
- package/output/{engine--5unu78V.cjs → engine-6WmOk7xk.cjs} +31 -9
- package/output/engine-6WmOk7xk.cjs.map +1 -0
- package/output/{engine-DI8Nd3v0.js → engine-CrYRJRZT.js} +31 -9
- package/output/engine-CrYRJRZT.js.map +1 -0
- package/output/index.cjs +1 -1
- package/output/index.js +1 -1
- package/output/plugins/mcp-search/orama-index.d.ts +8 -7
- package/package.json +3 -3
- package/output/engine--5unu78V.cjs.map +0 -1
- package/output/engine-DI8Nd3v0.js.map +0 -1
package/output/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_engine = require("./engine
|
|
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-
|
|
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
|
|
130
|
+
* Serialize an Orama index to a versioned, Brotli-compressed binary buffer.
|
|
131
131
|
*
|
|
132
|
-
* Uses `save()` to extract the raw index data,
|
|
133
|
-
*
|
|
134
|
-
*
|
|
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
|
|
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`
|
|
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
|
|
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.
|
|
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.
|
|
43
|
-
"@clarify-labs/templates": "0.11.
|
|
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",
|