@blinkk/root-cms 3.0.1-beta.8 → 3.0.1-beta.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.
- package/dist/app.js +1 -1
- package/dist/{chunk-N46HXEG5.js → chunk-62N2SF6C.js} +18 -14
- package/dist/plugin.js +1 -1
- package/dist/ui/ui.css +1 -1
- package/dist/ui/ui.js +138 -138
- package/package.json +3 -3
package/dist/app.js
CHANGED
|
@@ -62,7 +62,8 @@ function unmarshalData(data, options) {
|
|
|
62
62
|
var READ_ONLY_CMS_TOOL_NAMES = [
|
|
63
63
|
"collections_list",
|
|
64
64
|
"docs_list",
|
|
65
|
-
|
|
65
|
+
// TODO: re-enable once search quality improves.
|
|
66
|
+
// 'docs_search',
|
|
66
67
|
"doc_get",
|
|
67
68
|
"doc_getVersion",
|
|
68
69
|
"doc_listVersions",
|
|
@@ -116,17 +117,20 @@ function createCmsTools(ctx) {
|
|
|
116
117
|
};
|
|
117
118
|
}
|
|
118
119
|
}),
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
120
|
+
// TODO: re-enable once search quality improves.
|
|
121
|
+
// docs_search: tool({
|
|
122
|
+
// description:
|
|
123
|
+
// 'Run a full-text search across all indexed CMS docs. Returns the ' +
|
|
124
|
+
// 'top matching doc ids ordered by relevance.',
|
|
125
|
+
// inputSchema: z.object({
|
|
126
|
+
// query: z.string().min(1),
|
|
127
|
+
// limit: z.number().int().min(1).max(50).default(10),
|
|
128
|
+
// }),
|
|
129
|
+
// execute: async ({query, limit = 10}) => {
|
|
130
|
+
// const max = clampInt(limit, 1, 50, 10);
|
|
131
|
+
// return await ctx.search(query, {limit: max});
|
|
132
|
+
// },
|
|
133
|
+
// }),
|
|
130
134
|
doc_get: tool({
|
|
131
135
|
description: "Read a single CMS document. Returns the doc fields plus system metadata. Use this when you need the full content of a doc.",
|
|
132
136
|
inputSchema: z.object({
|
|
@@ -1102,7 +1106,7 @@ function extractJsonFromResponse(responseText) {
|
|
|
1102
1106
|
// package.json
|
|
1103
1107
|
var package_default = {
|
|
1104
1108
|
name: "@blinkk/root-cms",
|
|
1105
|
-
version: "3.0.1-beta.
|
|
1109
|
+
version: "3.0.1-beta.9",
|
|
1106
1110
|
author: "s@blinkk.com",
|
|
1107
1111
|
license: "MIT",
|
|
1108
1112
|
engines: {
|
|
@@ -1273,7 +1277,7 @@ var package_default = {
|
|
|
1273
1277
|
yjs: "13.6.27"
|
|
1274
1278
|
},
|
|
1275
1279
|
peerDependencies: {
|
|
1276
|
-
"@blinkk/root": "3.0.1-beta.
|
|
1280
|
+
"@blinkk/root": "3.0.1-beta.9",
|
|
1277
1281
|
"firebase-admin": ">=11",
|
|
1278
1282
|
"firebase-functions": ">=4"
|
|
1279
1283
|
},
|