@blinkk/root-cms 3.0.1-beta.8 → 3.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getServerVersion,
3
3
  serializeAiConfig
4
- } from "./chunk-N46HXEG5.js";
4
+ } from "./chunk-KGAUXTJ6.js";
5
5
  import "./chunk-C245C557.js";
6
6
  import "./chunk-2BSW7SIH.js";
7
7
  import {
@@ -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
- "docs_search",
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
- docs_search: tool({
120
- description: "Run a full-text search across all indexed CMS docs. Returns the top matching doc ids ordered by relevance.",
121
- inputSchema: z.object({
122
- query: z.string().min(1),
123
- limit: z.number().int().min(1).max(50).default(10)
124
- }),
125
- execute: async ({ query, limit = 10 }) => {
126
- const max = clampInt(limit, 1, 50, 10);
127
- return await ctx.search(query, { limit: max });
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.8",
1109
+ version: "3.0.1",
1106
1110
  author: "s@blinkk.com",
1107
1111
  license: "MIT",
1108
1112
  engines: {
@@ -1242,8 +1246,8 @@ var package_default = {
1242
1246
  "@types/jsonwebtoken": "9.0.1",
1243
1247
  "@types/node": "24.3.1",
1244
1248
  "@types/sanitize-html": "2.13.0",
1245
- "@vitest/browser": "4.1.2",
1246
- "@vitest/browser-playwright": "4.1.2",
1249
+ "@vitest/browser": "4.1.6",
1250
+ "@vitest/browser-playwright": "4.1.6",
1247
1251
  concurrently: "7.6.0",
1248
1252
  esbuild: "0.25.9",
1249
1253
  firebase: "12.2.1",
@@ -1268,12 +1272,12 @@ var package_default = {
1268
1272
  "react-json-view-compare": "2.0.2",
1269
1273
  tsup: "8.5.0",
1270
1274
  typescript: "5.9.2",
1271
- vite: "8.0.3",
1272
- vitest: "4.1.2",
1275
+ vite: "8.0.13",
1276
+ vitest: "4.1.6",
1273
1277
  yjs: "13.6.27"
1274
1278
  },
1275
1279
  peerDependencies: {
1276
- "@blinkk/root": "3.0.1-beta.8",
1280
+ "@blinkk/root": "3.0.1",
1277
1281
  "firebase-admin": ">=11",
1278
1282
  "firebase-functions": ">=4"
1279
1283
  },
package/dist/plugin.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  serializeAiConfig,
13
13
  summarizeDiff,
14
14
  translateString
15
- } from "./chunk-N46HXEG5.js";
15
+ } from "./chunk-KGAUXTJ6.js";
16
16
  import {
17
17
  runCronJobs
18
18
  } from "./chunk-BGTUWIV6.js";