@chat-js/registry 0.2.0-beta.0 → 0.2.0-beta.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.
Files changed (189) hide show
  1. package/README.md +1 -1
  2. package/dist/r/ai-titles.json +3 -0
  3. package/dist/r/attachment-uploads.json +6 -3
  4. package/dist/r/base/ai-titles.json +50 -0
  5. package/dist/r/base/akamai-storage.json +44 -0
  6. package/dist/r/base/alibaba-storage.json +44 -0
  7. package/dist/r/base/appwrite-storage.json +50 -0
  8. package/dist/r/base/archil-storage.json +52 -0
  9. package/dist/r/base/attachment-uploads.json +90 -0
  10. package/dist/r/base/azure-storage.json +51 -0
  11. package/dist/r/base/backblaze-b2-storage.json +44 -0
  12. package/dist/r/base/bunny-storage-storage.json +48 -0
  13. package/dist/r/base/cloudinary-storage.json +43 -0
  14. package/dist/r/base/code-documents.json +96 -0
  15. package/dist/r/base/code-execution-runtime.json +25 -0
  16. package/dist/r/base/code-execution-ui.json +32 -0
  17. package/dist/r/base/code-execution.json +69 -0
  18. package/dist/r/base/credits.json +103 -0
  19. package/dist/r/base/daytona-sandbox.json +55 -0
  20. package/dist/r/base/deep-research.json +224 -0
  21. package/dist/r/base/delete-document.json +58 -0
  22. package/dist/r/base/digitalocean-spaces-storage.json +44 -0
  23. package/dist/r/base/dropbox-storage.json +43 -0
  24. package/dist/r/base/exoscale-storage.json +44 -0
  25. package/dist/r/base/feedback.json +112 -0
  26. package/dist/r/base/filebase-storage.json +43 -0
  27. package/dist/r/base/firebase-storage-storage.json +52 -0
  28. package/dist/r/base/firecrawl-search.json +72 -0
  29. package/dist/r/base/followup-suggestions.json +152 -0
  30. package/dist/r/base/ftp-storage.json +54 -0
  31. package/dist/r/base/gcs-storage.json +33 -0
  32. package/dist/r/base/generate-image.json +101 -0
  33. package/dist/r/base/generate-video.json +70 -0
  34. package/dist/r/base/get-weather.json +52 -0
  35. package/dist/r/base/google-drive-storage.json +47 -0
  36. package/dist/r/base/hetzner-storage.json +44 -0
  37. package/dist/r/base/ibm-cos-storage.json +44 -0
  38. package/dist/r/base/idrive-e2-storage.json +44 -0
  39. package/dist/r/base/langfuse.json +63 -0
  40. package/dist/r/base/litellm-gateway.json +67 -0
  41. package/dist/r/base/mcp.json +320 -0
  42. package/dist/r/base/memory-storage.json +28 -0
  43. package/dist/r/base/minio-storage.json +44 -0
  44. package/dist/r/base/model-preferences.json +131 -0
  45. package/dist/r/base/neon-storage.json +44 -0
  46. package/dist/r/base/netlify-blobs-storage.json +31 -0
  47. package/dist/r/base/onedrive-storage.json +48 -0
  48. package/dist/r/base/openai-compatible-gateway.json +69 -0
  49. package/dist/r/base/openai-gateway.json +67 -0
  50. package/dist/r/base/openrouter-gateway.json +75 -0
  51. package/dist/r/base/oracle-cloud-storage.json +45 -0
  52. package/dist/r/base/ovhcloud-storage.json +44 -0
  53. package/dist/r/base/pocketbase-storage.json +50 -0
  54. package/dist/r/base/projects.json +275 -0
  55. package/dist/r/base/r2-storage.json +44 -0
  56. package/dist/r/base/read-document.json +34 -0
  57. package/dist/r/base/registry.json +4949 -0
  58. package/dist/r/base/retrieve-url.json +69 -0
  59. package/dist/r/base/s3-storage.json +44 -0
  60. package/dist/r/base/saved-code-execution.json +84 -0
  61. package/dist/r/base/scaleway-storage.json +44 -0
  62. package/dist/r/base/search.json +146 -0
  63. package/dist/r/base/sftp-storage.json +58 -0
  64. package/dist/r/base/sharepoint-storage.json +50 -0
  65. package/dist/r/base/sharing.json +144 -0
  66. package/dist/r/base/sheet-documents.json +94 -0
  67. package/dist/r/base/storj-storage.json +43 -0
  68. package/dist/r/base/supabase-storage.json +48 -0
  69. package/dist/r/base/tavily-search.json +72 -0
  70. package/dist/r/base/tencent-storage.json +44 -0
  71. package/dist/r/base/text-documents.json +117 -0
  72. package/dist/r/base/tigris-storage.json +43 -0
  73. package/dist/r/base/uploadthing-storage.json +38 -0
  74. package/dist/r/base/vercel-analytics.json +46 -0
  75. package/dist/r/base/vercel-blob-storage.json +42 -0
  76. package/dist/r/base/vercel-gateway.json +77 -0
  77. package/dist/r/base/vercel-sandbox.json +67 -0
  78. package/dist/r/base/vercel-speed-insights.json +46 -0
  79. package/dist/r/base/vultr-storage.json +44 -0
  80. package/dist/r/base/wasabi-storage.json +44 -0
  81. package/dist/r/base/webdav-storage.json +52 -0
  82. package/dist/r/base/word-count.json +51 -0
  83. package/dist/r/base/yandex-storage.json +43 -0
  84. package/dist/r/code-execution-ui.json +4 -3
  85. package/dist/r/code-execution.json +2 -2
  86. package/dist/r/credits.json +5 -0
  87. package/dist/r/deep-research.json +4 -0
  88. package/dist/r/feedback.json +7 -0
  89. package/dist/r/firecrawl-search.json +2 -2
  90. package/dist/r/followup-suggestions.json +5 -0
  91. package/dist/r/generate-image.json +3 -3
  92. package/dist/r/generate-video.json +2 -2
  93. package/dist/r/get-weather.json +3 -3
  94. package/dist/r/mcp.json +17 -1
  95. package/dist/r/model-preferences.json +6 -0
  96. package/dist/r/openai-compatible-gateway.json +1 -1
  97. package/dist/r/openai-gateway.json +1 -1
  98. package/dist/r/openrouter-gateway.json +1 -1
  99. package/dist/r/projects.json +9 -0
  100. package/dist/r/radix/ai-titles.json +50 -0
  101. package/dist/r/radix/akamai-storage.json +44 -0
  102. package/dist/r/radix/alibaba-storage.json +44 -0
  103. package/dist/r/radix/appwrite-storage.json +50 -0
  104. package/dist/r/radix/archil-storage.json +52 -0
  105. package/dist/r/radix/attachment-uploads.json +90 -0
  106. package/dist/r/radix/azure-storage.json +51 -0
  107. package/dist/r/radix/backblaze-b2-storage.json +44 -0
  108. package/dist/r/radix/bunny-storage-storage.json +48 -0
  109. package/dist/r/radix/cloudinary-storage.json +43 -0
  110. package/dist/r/radix/code-documents.json +96 -0
  111. package/dist/r/radix/code-execution-runtime.json +25 -0
  112. package/dist/r/radix/code-execution-ui.json +32 -0
  113. package/dist/r/radix/code-execution.json +69 -0
  114. package/dist/r/radix/credits.json +103 -0
  115. package/dist/r/radix/daytona-sandbox.json +55 -0
  116. package/dist/r/radix/deep-research.json +224 -0
  117. package/dist/r/radix/delete-document.json +58 -0
  118. package/dist/r/radix/digitalocean-spaces-storage.json +44 -0
  119. package/dist/r/radix/dropbox-storage.json +43 -0
  120. package/dist/r/radix/exoscale-storage.json +44 -0
  121. package/dist/r/radix/feedback.json +112 -0
  122. package/dist/r/radix/filebase-storage.json +43 -0
  123. package/dist/r/radix/firebase-storage-storage.json +52 -0
  124. package/dist/r/radix/firecrawl-search.json +72 -0
  125. package/dist/r/radix/followup-suggestions.json +152 -0
  126. package/dist/r/radix/ftp-storage.json +54 -0
  127. package/dist/r/radix/gcs-storage.json +33 -0
  128. package/dist/r/radix/generate-image.json +101 -0
  129. package/dist/r/radix/generate-video.json +70 -0
  130. package/dist/r/radix/get-weather.json +52 -0
  131. package/dist/r/radix/google-drive-storage.json +47 -0
  132. package/dist/r/radix/hetzner-storage.json +44 -0
  133. package/dist/r/radix/ibm-cos-storage.json +44 -0
  134. package/dist/r/radix/idrive-e2-storage.json +44 -0
  135. package/dist/r/radix/langfuse.json +63 -0
  136. package/dist/r/radix/litellm-gateway.json +67 -0
  137. package/dist/r/radix/mcp.json +320 -0
  138. package/dist/r/radix/memory-storage.json +28 -0
  139. package/dist/r/radix/minio-storage.json +44 -0
  140. package/dist/r/radix/model-preferences.json +131 -0
  141. package/dist/r/radix/neon-storage.json +44 -0
  142. package/dist/r/radix/netlify-blobs-storage.json +31 -0
  143. package/dist/r/radix/onedrive-storage.json +48 -0
  144. package/dist/r/radix/openai-compatible-gateway.json +69 -0
  145. package/dist/r/radix/openai-gateway.json +67 -0
  146. package/dist/r/radix/openrouter-gateway.json +75 -0
  147. package/dist/r/radix/oracle-cloud-storage.json +45 -0
  148. package/dist/r/radix/ovhcloud-storage.json +44 -0
  149. package/dist/r/radix/pocketbase-storage.json +50 -0
  150. package/dist/r/radix/projects.json +275 -0
  151. package/dist/r/radix/r2-storage.json +44 -0
  152. package/dist/r/radix/read-document.json +34 -0
  153. package/dist/r/radix/registry.json +4949 -0
  154. package/dist/r/radix/retrieve-url.json +69 -0
  155. package/dist/r/radix/s3-storage.json +44 -0
  156. package/dist/r/radix/saved-code-execution.json +84 -0
  157. package/dist/r/radix/scaleway-storage.json +44 -0
  158. package/dist/r/radix/search.json +146 -0
  159. package/dist/r/radix/sftp-storage.json +58 -0
  160. package/dist/r/radix/sharepoint-storage.json +50 -0
  161. package/dist/r/radix/sharing.json +144 -0
  162. package/dist/r/radix/sheet-documents.json +94 -0
  163. package/dist/r/radix/storj-storage.json +43 -0
  164. package/dist/r/radix/supabase-storage.json +48 -0
  165. package/dist/r/radix/tavily-search.json +72 -0
  166. package/dist/r/radix/tencent-storage.json +44 -0
  167. package/dist/r/radix/text-documents.json +117 -0
  168. package/dist/r/radix/tigris-storage.json +43 -0
  169. package/dist/r/radix/uploadthing-storage.json +38 -0
  170. package/dist/r/radix/vercel-analytics.json +46 -0
  171. package/dist/r/radix/vercel-blob-storage.json +42 -0
  172. package/dist/r/radix/vercel-gateway.json +77 -0
  173. package/dist/r/radix/vercel-sandbox.json +67 -0
  174. package/dist/r/radix/vercel-speed-insights.json +46 -0
  175. package/dist/r/radix/vultr-storage.json +44 -0
  176. package/dist/r/radix/wasabi-storage.json +44 -0
  177. package/dist/r/radix/webdav-storage.json +52 -0
  178. package/dist/r/radix/word-count.json +51 -0
  179. package/dist/r/radix/yandex-storage.json +43 -0
  180. package/dist/r/registry.json +108 -29
  181. package/dist/r/retrieve-url.json +5 -3
  182. package/dist/r/saved-code-execution.json +3 -0
  183. package/dist/r/search.json +7 -1
  184. package/dist/r/sharing.json +7 -0
  185. package/dist/r/sheet-documents.json +2 -1
  186. package/dist/r/tavily-search.json +2 -2
  187. package/dist/r/text-documents.json +2 -1
  188. package/dist/r/word-count.json +2 -2
  189. package/package.json +4 -1
@@ -0,0 +1,44 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "wasabi-storage",
4
+ "title": "Wasabi",
5
+ "description": "Wasabi Hot Cloud Storage via the S3-compatible API. AWS-style region names, Wasabi's own endpoints.",
6
+ "dependencies": [
7
+ "files-sdk@2.5.0",
8
+ "@aws-sdk/client-s3@^3.1079.0",
9
+ "@aws-sdk/s3-presigned-post@^3.700.0",
10
+ "@aws-sdk/s3-request-presigner@^3.700.0"
11
+ ],
12
+ "files": [
13
+ {
14
+ "path": "src/storage/wasabi/storage-provider.ts",
15
+ "content": "export { wasabi as createStorageAdapter } from \"files-sdk/wasabi\";\n",
16
+ "type": "registry:file",
17
+ "target": "~/lib/storage-provider.ts"
18
+ }
19
+ ],
20
+ "meta": {
21
+ "chatjs": {
22
+ "configKeys": [
23
+ "bucket",
24
+ "region"
25
+ ],
26
+ "contractVersion": 1,
27
+ "envRequirements": [
28
+ {
29
+ "description": "Wasabi credentials",
30
+ "options": [
31
+ [
32
+ "WASABI_ACCESS_KEY_ID",
33
+ "WASABI_SECRET_ACCESS_KEY"
34
+ ]
35
+ ]
36
+ }
37
+ ],
38
+ "id": "wasabi",
39
+ "kind": "storage",
40
+ "optionalEnv": []
41
+ }
42
+ },
43
+ "type": "registry:item"
44
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "webdav-storage",
4
+ "title": "WebDAV",
5
+ "description": "WebDAV (Nextcloud, ownCloud, Apache mod_dav, …) via the webdav client. HTTP-based, with native server-side copy/move; url() needs an HTTP front (publicBaseUrl).",
6
+ "dependencies": [
7
+ "files-sdk@2.5.0",
8
+ "webdav@^5.10.0"
9
+ ],
10
+ "files": [
11
+ {
12
+ "path": "src/storage/webdav/storage-provider.ts",
13
+ "content": "export { webdav as createStorageAdapter } from \"files-sdk/webdav\";\n",
14
+ "type": "registry:file",
15
+ "target": "~/lib/storage-provider.ts"
16
+ }
17
+ ],
18
+ "meta": {
19
+ "chatjs": {
20
+ "configKeys": [
21
+ "baseUrl",
22
+ "root"
23
+ ],
24
+ "contractVersion": 1,
25
+ "envRequirements": [
26
+ {
27
+ "description": "WebDAV configuration",
28
+ "options": [
29
+ [
30
+ "WEBDAV_URL"
31
+ ]
32
+ ]
33
+ },
34
+ {
35
+ "description": "WebDAV credentials",
36
+ "options": [
37
+ [
38
+ "WEBDAV_USERNAME",
39
+ "WEBDAV_PASSWORD"
40
+ ]
41
+ ]
42
+ }
43
+ ],
44
+ "id": "webdav",
45
+ "kind": "storage",
46
+ "optionalEnv": [
47
+ "WEBDAV_AUTH_TYPE"
48
+ ]
49
+ }
50
+ },
51
+ "type": "registry:item"
52
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "word-count",
4
+ "description": "Count words, characters, and sentences in text",
5
+ "dependencies": [
6
+ "ai@7.0.137",
7
+ "zod@4.5.4"
8
+ ],
9
+ "files": [
10
+ {
11
+ "path": "src/tools/word-count/tool.ts",
12
+ "content": "import type { ToolUsage } from \"@/lib/eve/tool-usage\";\nimport { defineTool } from \"eve/tools\";\nimport { executeWithToolUsage } from \"@/lib/eve/tool-usage\";\nimport { toolResultToModelOutput } from \"@/lib/eve/tool-model-output\";\nimport { wordCountInput } from \"./schemas\";\nimport type { z } from \"zod\";\n\nconst UNBILLED_TOOL_COST_USD = 0;\nconst EMPTY_COUNT = 0;\nconst WORD_SPLIT_REGEX = /\\s+/u;\nconst SENTENCE_SPLIT_REGEX = /[.!?]+/u;\n\nexport const wordCount = defineTool({\n description: \"Count the words, characters, and sentences in a given text\",\n execute: async (\n { text }: Readonly<z.infer<typeof wordCountInput>>,\n context: Readonly<{ abortSignal: Readonly<AbortSignal> }>\n ) =>\n await executeWithToolUsage(\n context,\n (usage: Readonly<Pick<ToolUsage, \"addCostUsd\">>) => {\n usage.addCostUsd(UNBILLED_TOOL_COST_USD);\n const words =\n text.trim() === \"\"\n ? EMPTY_COUNT\n : text.trim().split(WORD_SPLIT_REGEX).length;\n const characters = text.length;\n const charactersNoSpaces = text.replaceAll(/\\s/gu, \"\").length;\n const sentences = text\n .split(SENTENCE_SPLIT_REGEX)\n .filter((sentence) => sentence.trim().length > EMPTY_COUNT).length;\n\n return { characters, charactersNoSpaces, sentences, words };\n }\n ),\n inputSchema: wordCountInput,\n toModelOutput: toolResultToModelOutput,\n});\n",
13
+ "type": "registry:file",
14
+ "target": "~/tools/chatjs/word-count/tool.ts"
15
+ },
16
+ {
17
+ "path": "src/tools/word-count/renderer.tsx",
18
+ "content": "\"use client\";\nimport { wordCountInput, wordCountResult } from \"./schemas\";\nimport React from \"react\";\nimport type { ReadonlyNativeSurface } from \"@/lib/readonly-native-surface\";\nimport type { ToolRendererProps } from \"@/lib/ai/define-tool-renderer\";\nimport { defineToolRenderer } from \"@/lib/ai/define-tool-renderer\";\n\ntype WordCountRendererTool = ToolRendererProps<\n typeof wordCountInput,\n typeof wordCountResult\n>[\"tool\"];\n\nconst Stat = ({\n label,\n value,\n}: Readonly<{ label: string; value: number }>): React.JSX.Element => (\n <div className=\"flex flex-col items-center gap-1\">\n <span className=\"text-lg font-semibold\">{value}</span>\n <span className=\"text-muted-foreground text-xs\">{label}</span>\n </div>\n);\n\nconst WordCountView = ({\n tool,\n}: ReadonlyNativeSurface<{\n tool: WordCountRendererTool;\n messageId: string;\n isReadonly: boolean;\n}>): React.JSX.Element | null => {\n if (tool.state === \"input-available\") {\n return (\n <div className=\"text-muted-foreground rounded-lg border p-3 text-sm\">\n Counting words...\n </div>\n );\n }\n\n if (tool.state !== \"output-available\") {\n return null;\n }\n\n if (tool.output === undefined) {\n return null;\n }\n\n const { words, characters, charactersNoSpaces, sentences } = tool.output;\n\n return (\n <div className=\"grid grid-cols-2 gap-2 rounded-lg border p-3 text-sm sm:grid-cols-4\">\n <Stat label=\"Words\" value={words} />\n <Stat label=\"Characters\" value={characters} />\n <Stat label=\"No spaces\" value={charactersNoSpaces} />\n <Stat label=\"Sentences\" value={sentences} />\n </div>\n );\n};\n\nexport const WordCountRenderer = defineToolRenderer({\n inputSchema: wordCountInput,\n outputSchema: wordCountResult,\n render: WordCountView,\n});\n",
19
+ "type": "registry:file",
20
+ "target": "~/tools/chatjs/word-count/renderer.tsx"
21
+ },
22
+ {
23
+ "path": "src/tools/word-count/schemas.ts",
24
+ "content": "import { z } from \"zod\";\n\nconst wordCountInput = z.object({\n text: z.string().describe(\"The text to analyze\"),\n});\n\nconst wordCountResult = z.object({\n characters: z.number(),\n charactersNoSpaces: z.number(),\n sentences: z.number(),\n words: z.number(),\n});\nexport { wordCountInput, wordCountResult };\n",
25
+ "type": "registry:file",
26
+ "target": "~/tools/chatjs/word-count/schemas.ts"
27
+ },
28
+ {
29
+ "path": "dist/source/word-count.json",
30
+ "content": "{\n \"envRequirements\": [],\n \"id\": \"word-count\",\n \"kind\": \"tool\",\n \"requiresTools\": [],\n \"tools\": [\n { \"rendererExport\": \"WordCountRenderer\", \"toolExport\": \"wordCount\" }\n ],\n \"contractVersion\": 1\n}\n",
31
+ "type": "registry:file",
32
+ "target": "~/tools/chatjs/word-count/chatjs.json"
33
+ }
34
+ ],
35
+ "meta": {
36
+ "chatjs": {
37
+ "envRequirements": [],
38
+ "id": "word-count",
39
+ "kind": "tool",
40
+ "requiresTools": [],
41
+ "tools": [
42
+ {
43
+ "rendererExport": "WordCountRenderer",
44
+ "toolExport": "wordCount"
45
+ }
46
+ ],
47
+ "contractVersion": 1
48
+ }
49
+ },
50
+ "type": "registry:item"
51
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "yandex-storage",
4
+ "title": "Yandex Object Storage",
5
+ "description": "Yandex Object Storage via the S3-compatible API. Fixed global endpoint, region defaults to ru-central1.",
6
+ "dependencies": [
7
+ "files-sdk@2.5.0",
8
+ "@aws-sdk/client-s3@^3.1079.0",
9
+ "@aws-sdk/s3-presigned-post@^3.700.0",
10
+ "@aws-sdk/s3-request-presigner@^3.700.0"
11
+ ],
12
+ "files": [
13
+ {
14
+ "path": "src/storage/yandex/storage-provider.ts",
15
+ "content": "export { yandex as createStorageAdapter } from \"files-sdk/yandex\";\n",
16
+ "type": "registry:file",
17
+ "target": "~/lib/storage-provider.ts"
18
+ }
19
+ ],
20
+ "meta": {
21
+ "chatjs": {
22
+ "configKeys": [
23
+ "bucket"
24
+ ],
25
+ "contractVersion": 1,
26
+ "envRequirements": [
27
+ {
28
+ "description": "Yandex Object Storage credentials",
29
+ "options": [
30
+ [
31
+ "YANDEX_ACCESS_KEY_ID",
32
+ "YANDEX_SECRET_ACCESS_KEY"
33
+ ]
34
+ ]
35
+ }
36
+ ],
37
+ "id": "yandex",
38
+ "kind": "storage",
39
+ "optionalEnv": []
40
+ }
41
+ },
42
+ "type": "registry:item"
43
+ }
@@ -5,6 +5,15 @@
5
5
  {
6
6
  "name": "projects",
7
7
  "description": "Projects, chat organization, and shared project instructions",
8
+ "dependencies": [
9
+ "@tanstack/react-query@^5.104.1",
10
+ "@trpc/client@^11.1.2",
11
+ "@trpc/server@^11.1.2",
12
+ "date-fns@^4.1.0",
13
+ "drizzle-orm@^0.45.1",
14
+ "lucide-react@0.553.0",
15
+ "sonner@^2.0.7"
16
+ ],
8
17
  "files": [
9
18
  {
10
19
  "path": "src/plugins/projects/src/chat.ts",
@@ -237,6 +246,13 @@
237
246
  {
238
247
  "name": "feedback",
239
248
  "description": "Private feedback on assistant messages",
249
+ "dependencies": [
250
+ "@tanstack/react-query@^5.104.1",
251
+ "@trpc/server@^11.1.2",
252
+ "drizzle-orm@^0.45.1",
253
+ "lucide-react@0.553.0",
254
+ "sonner@^2.0.7"
255
+ ],
240
256
  "files": [
241
257
  {
242
258
  "path": "src/plugins/feedback/src/chat.ts",
@@ -331,6 +347,11 @@
331
347
  {
332
348
  "name": "followup-suggestions",
333
349
  "description": "Durable follow-up suggestions for completed answers",
350
+ "dependencies": [
351
+ "@tanstack/react-query@^5.104.1",
352
+ "drizzle-orm@^0.45.1",
353
+ "lucide-react@0.553.0"
354
+ ],
334
355
  "files": [
335
356
  {
336
357
  "path": "src/plugins/followup-suggestions/src/chat.ts",
@@ -461,6 +482,12 @@
461
482
  {
462
483
  "name": "search",
463
484
  "description": "Search chat titles and conversation text",
485
+ "dependencies": [
486
+ "@tanstack/react-query@^5.104.1",
487
+ "@trpc/server@^11.1.2",
488
+ "drizzle-orm@^0.45.1",
489
+ "lucide-react@0.553.0"
490
+ ],
464
491
  "files": [
465
492
  {
466
493
  "path": "src/plugins/search/src/backfill.ts",
@@ -585,6 +612,11 @@
585
612
  {
586
613
  "name": "credits",
587
614
  "description": "Credit balances, spending admission, and atomic usage debits",
615
+ "dependencies": [
616
+ "@tanstack/react-query@^5.104.1",
617
+ "drizzle-orm@^0.45.1",
618
+ "lucide-react@0.553.0"
619
+ ],
588
620
  "files": [
589
621
  {
590
622
  "path": "src/plugins/credits/src/balance.tsx",
@@ -673,6 +705,12 @@
673
705
  {
674
706
  "name": "model-preferences",
675
707
  "description": "Per-user model visibility and model settings",
708
+ "dependencies": [
709
+ "@tanstack/react-query@^5.104.1",
710
+ "drizzle-orm@^0.45.1",
711
+ "lucide-react@0.553.0",
712
+ "sonner@^2.0.7"
713
+ ],
676
714
  "files": [
677
715
  {
678
716
  "path": "src/plugins/model-preferences/src/apply-model-preferences.ts",
@@ -784,6 +822,9 @@
784
822
  {
785
823
  "name": "ai-titles",
786
824
  "description": "Automatically name new chats with AI",
825
+ "dependencies": [
826
+ "drizzle-orm@^0.45.1"
827
+ ],
787
828
  "files": [
788
829
  {
789
830
  "path": "src/plugins/ai-titles/src/chat.ts",
@@ -826,6 +867,13 @@
826
867
  {
827
868
  "name": "sharing",
828
869
  "description": "Share read-only conversations with revocable public access",
870
+ "dependencies": [
871
+ "@tanstack/react-query@^5.104.1",
872
+ "@trpc/server@^11.1.2",
873
+ "drizzle-orm@^0.45.1",
874
+ "lucide-react@0.553.0",
875
+ "sonner@^2.0.7"
876
+ ],
829
877
  "files": [
830
878
  {
831
879
  "path": "src/plugins/sharing/src/chat.ts",
@@ -947,6 +995,22 @@
947
995
  {
948
996
  "name": "mcp",
949
997
  "description": "MCP connectors, management pages, OAuth and composer control",
998
+ "dependencies": [
999
+ "@ai-sdk/mcp@2.0.73",
1000
+ "@hookform/resolvers@^5.2.1",
1001
+ "@modelcontextprotocol/sdk@^1.24.3",
1002
+ "@tanstack/react-query@^5.104.1",
1003
+ "@trpc/server@^11.1.2",
1004
+ "ajv@8.18.0",
1005
+ "drizzle-orm@^0.45.1",
1006
+ "guarded-fetch@^0.1.4",
1007
+ "lucide-react@0.553.0",
1008
+ "nuqs@^2.8.5",
1009
+ "postgres@^3.4.4",
1010
+ "react-hook-form@^7.62.0",
1011
+ "sonner@^2.0.7",
1012
+ "superjson@^2.2.2"
1013
+ ],
950
1014
  "files": [
951
1015
  {
952
1016
  "path": "src/plugins/mcp/adapters/agent/tools/mcp.ts",
@@ -1214,8 +1278,10 @@
1214
1278
  "name": "attachment-uploads",
1215
1279
  "description": "User attachment picker, camera, paste/drop, preprocessing and upload endpoint",
1216
1280
  "dependencies": [
1217
- "browser-image-compression",
1218
- "react-dropzone"
1281
+ "lucide-react@0.553.0",
1282
+ "sonner@^2.0.7",
1283
+ "browser-image-compression@^2.0.2",
1284
+ "react-dropzone@^14.3.8"
1219
1285
  ],
1220
1286
  "files": [
1221
1287
  {
@@ -1273,6 +1339,7 @@
1273
1339
  "plugins/attachment-uploads/client-plugin.ts"
1274
1340
  ],
1275
1341
  "requiresStorage": true,
1342
+ "requiresPersistentSandbox": true,
1276
1343
  "client": {
1277
1344
  "export": "attachmentUploadsClient",
1278
1345
  "composerControls": [
@@ -1513,7 +1580,7 @@
1513
1580
  "dependencies": [
1514
1581
  "@chat-js/gateways@0.2.0",
1515
1582
  "@ai-sdk/openai@4.0.59",
1516
- "zod"
1583
+ "zod@4.5.4"
1517
1584
  ],
1518
1585
  "files": [
1519
1586
  {
@@ -1579,7 +1646,7 @@
1579
1646
  "dependencies": [
1580
1647
  "@chat-js/gateways@0.2.0",
1581
1648
  "@ai-sdk/openai-compatible@3.0.44",
1582
- "zod"
1649
+ "zod@4.5.4"
1583
1650
  ],
1584
1651
  "files": [
1585
1652
  {
@@ -1647,7 +1714,7 @@
1647
1714
  "dependencies": [
1648
1715
  "@chat-js/gateways@0.2.0",
1649
1716
  "@openrouter/ai-sdk-provider@3.0.0",
1650
- "zod"
1717
+ "zod@4.5.4"
1651
1718
  ],
1652
1719
  "files": [
1653
1720
  {
@@ -3696,8 +3763,8 @@
3696
3763
  "name": "generate-video",
3697
3764
  "description": "Generate videos using the selected gateway and storage",
3698
3765
  "dependencies": [
3699
- "ai",
3700
- "zod"
3766
+ "ai@7.0.137",
3767
+ "zod@4.5.4"
3701
3768
  ],
3702
3769
  "files": [
3703
3770
  {
@@ -3760,9 +3827,9 @@
3760
3827
  "name": "generate-image",
3761
3828
  "description": "Generate and edit images using the selected gateway and storage",
3762
3829
  "dependencies": [
3763
- "ai",
3764
- "zod",
3765
- "lucide-react"
3830
+ "ai@7.0.137",
3831
+ "zod@4.5.4",
3832
+ "lucide-react@0.553.0"
3766
3833
  ],
3767
3834
  "files": [
3768
3835
  {
@@ -3850,8 +3917,8 @@
3850
3917
  "name": "word-count",
3851
3918
  "description": "Count words, characters, and sentences in text",
3852
3919
  "dependencies": [
3853
- "ai",
3854
- "zod"
3920
+ "ai@7.0.137",
3921
+ "zod@4.5.4"
3855
3922
  ],
3856
3923
  "files": [
3857
3924
  {
@@ -3896,9 +3963,9 @@
3896
3963
  "name": "get-weather",
3897
3964
  "description": "Get the current weather at a location",
3898
3965
  "dependencies": [
3899
- "ai",
3900
- "zod",
3901
- "date-fns"
3966
+ "ai@7.0.137",
3967
+ "zod@4.5.4",
3968
+ "date-fns@^4.1.0"
3902
3969
  ],
3903
3970
  "files": [
3904
3971
  {
@@ -3943,9 +4010,11 @@
3943
4010
  "name": "retrieve-url",
3944
4011
  "description": "Fetch structured information from a single URL",
3945
4012
  "dependencies": [
3946
- "ai",
3947
- "zod",
3948
- "@mendable/firecrawl-js"
4013
+ "ai@7.0.137",
4014
+ "zod@4.5.4",
4015
+ "@mendable/firecrawl-js@1.29.1",
4016
+ "lucide-react@0.553.0",
4017
+ "react-markdown@^10.1.0"
3949
4018
  ],
3950
4019
  "files": [
3951
4020
  {
@@ -4094,7 +4163,8 @@
4094
4163
  "@lexical/react@^0.32.1",
4095
4164
  "@lexical/rich-text@^0.32.1",
4096
4165
  "lexical@^0.32.1",
4097
- "diff@^8.0.2"
4166
+ "diff@^8.0.2",
4167
+ "@tanstack/react-query@^5.104.1"
4098
4168
  ],
4099
4169
  "registryDependencies": [
4100
4170
  "@chatjs/read-document"
@@ -4282,7 +4352,8 @@
4282
4352
  "dependencies": [
4283
4353
  "papaparse@^5.5.2",
4284
4354
  "@types/papaparse@^5.3.15",
4285
- "react-data-grid@7.0.0-beta.47"
4355
+ "react-data-grid@7.0.0-beta.47",
4356
+ "next-themes@^0.4.6"
4286
4357
  ],
4287
4358
  "registryDependencies": [
4288
4359
  "@chatjs/read-document"
@@ -4364,6 +4435,9 @@
4364
4435
  {
4365
4436
  "name": "saved-code-execution",
4366
4437
  "description": "Run saved code revisions with a compatible installed executor",
4438
+ "dependencies": [
4439
+ "lucide-react@0.553.0"
4440
+ ],
4367
4441
  "registryDependencies": [
4368
4442
  "@chatjs/code-documents",
4369
4443
  "@chatjs/code-execution-ui"
@@ -4436,6 +4510,10 @@
4436
4510
  {
4437
4511
  "name": "deep-research",
4438
4512
  "description": "Native EVE research workflow, subagents, prompts, and progress UI",
4513
+ "dependencies": [
4514
+ "lucide-react@0.553.0",
4515
+ "motion@^12.23.24"
4516
+ ],
4439
4517
  "registryDependencies": [
4440
4518
  "@chatjs/text-documents"
4441
4519
  ],
@@ -4626,9 +4704,10 @@
4626
4704
  "name": "code-execution-ui",
4627
4705
  "description": "Shared chart renderer for installed code execution tools",
4628
4706
  "dependencies": [
4629
- "echarts",
4630
- "echarts-for-react",
4631
- "motion"
4707
+ "echarts@6.0.0",
4708
+ "echarts-for-react@^3.0.2",
4709
+ "motion@^12.23.24",
4710
+ "next-themes@^0.4.6"
4632
4711
  ],
4633
4712
  "files": [
4634
4713
  {
@@ -4653,8 +4732,8 @@
4653
4732
  "name": "tavily-search",
4654
4733
  "description": "Use tavily-search for chat and deep research",
4655
4734
  "dependencies": [
4656
- "ai",
4657
- "zod",
4735
+ "ai@7.0.137",
4736
+ "zod@4.5.4",
4658
4737
  "@tavily/core@^0.3.3"
4659
4738
  ],
4660
4739
  "files": [
@@ -4719,8 +4798,8 @@
4719
4798
  "name": "firecrawl-search",
4720
4799
  "description": "Use firecrawl-search for chat and deep research",
4721
4800
  "dependencies": [
4722
- "ai",
4723
- "zod",
4801
+ "ai@7.0.137",
4802
+ "zod@4.5.4",
4724
4803
  "@mendable/firecrawl-js@1.29.1"
4725
4804
  ],
4726
4805
  "files": [
@@ -4785,8 +4864,8 @@
4785
4864
  "name": "code-execution",
4786
4865
  "description": "Execute Python and JavaScript with the selected sandbox provider",
4787
4866
  "dependencies": [
4788
- "ai",
4789
- "zod"
4867
+ "ai@7.0.137",
4868
+ "zod@4.5.4"
4790
4869
  ],
4791
4870
  "registryDependencies": [
4792
4871
  "@chatjs/code-execution-ui",
@@ -3,9 +3,11 @@
3
3
  "name": "retrieve-url",
4
4
  "description": "Fetch structured information from a single URL",
5
5
  "dependencies": [
6
- "ai",
7
- "zod",
8
- "@mendable/firecrawl-js"
6
+ "ai@7.0.137",
7
+ "zod@4.5.4",
8
+ "@mendable/firecrawl-js@1.29.1",
9
+ "lucide-react@0.553.0",
10
+ "react-markdown@^10.1.0"
9
11
  ],
10
12
  "files": [
11
13
  {
@@ -2,6 +2,9 @@
2
2
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
3
  "name": "saved-code-execution",
4
4
  "description": "Run saved code revisions with a compatible installed executor",
5
+ "dependencies": [
6
+ "lucide-react@0.553.0"
7
+ ],
5
8
  "registryDependencies": [
6
9
  "@chatjs/code-documents",
7
10
  "@chatjs/code-execution-ui"
@@ -2,6 +2,12 @@
2
2
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
3
  "name": "search",
4
4
  "description": "Search chat titles and conversation text",
5
+ "dependencies": [
6
+ "@tanstack/react-query@^5.104.1",
7
+ "@trpc/server@^11.1.2",
8
+ "drizzle-orm@^0.45.1",
9
+ "lucide-react@0.553.0"
10
+ ],
5
11
  "files": [
6
12
  {
7
13
  "path": "src/plugins/search/src/backfill.ts",
@@ -35,7 +41,7 @@
35
41
  },
36
42
  {
37
43
  "path": "src/plugins/search/src/search-chats.tsx",
38
- "content": "\"use client\";\n\nimport { hasText } from \"@/components/text-value\";\n\nimport { useInfiniteQuery, useQueryClient } from \"@tanstack/react-query\";\nimport { SearchIcon } from \"lucide-react\";\nimport { createPortal } from \"react-dom\";\nimport { useRouter } from \"next/navigation\";\nimport React, { useEffect, useState, useSyncExternalStore } from \"react\";\nimport type { JSX as ReactJSX } from \"react\";\n\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogOverlay,\n DialogTitle,\n} from \"@/components/ui/dialog\";\nimport { SidebarMenuButton, useSidebar } from \"@/components/ui/sidebar\";\nimport type { ReadonlyNativeSurface } from \"@/lib/readonly-native-surface\";\nimport { useTRPC } from \"@/trpc/react\";\n\nimport { EveSearchResultsView } from \"./search-results-view\";\nimport { useDebouncedSearch } from \"./use-debounced-search\";\n\nconst SearchResults = ({\n onSelect,\n onClose,\n ownerId,\n}: {\n readonly onSelect: (id: string) => void;\n readonly onClose: () => void;\n readonly ownerId: string;\n}): ReactJSX.Element => {\n const trpc = useTRPC();\n const queryClient = useQueryClient();\n const [query, setQuery] = useState(\"\");\n const search = useDebouncedSearch(query);\n const history = useInfiniteQuery(\n trpc.eve.list.infiniteQueryOptions(\n { ownerScope: ownerId },\n {\n enabled: !query.trim(),\n getNextPageParam: (page: {\n readonly nextCursor: {\n readonly isPinned: boolean;\n readonly updatedAt: string;\n readonly id: string;\n } | null;\n }) => page.nextCursor,\n refetchOnWindowFocus: false,\n staleTime: 0,\n }\n )\n );\n const results = useInfiniteQuery(\n trpc.search.query.infiniteQueryOptions(\n { ownerScope: ownerId, search },\n {\n enabled: Boolean(search) && search === query.trim(),\n getNextPageParam: (page: {\n readonly nextCursor: {\n readonly rank: number;\n readonly updatedAt: string;\n readonly id: string;\n } | null;\n }) => page.nextCursor,\n refetchOnWindowFocus: false,\n staleTime: 0,\n trpc: { abortOnUnmount: true },\n }\n )\n );\n const isSearch = Boolean(query.trim());\n const active = isSearch ? results : history;\n const changingQuery = query.trim() !== search;\n const waiting =\n changingQuery ||\n active.isPending ||\n (active.isFetching && !active.isFetchingNextPage);\n const failed = !changingQuery && active.isError;\n const recentItems =\n history.data?.pages\n .flatMap(\n (\n page: ReadonlyNativeSurface<\n NonNullable<typeof history.data>[\"pages\"][number]\n >\n ) => page.items\n )\n .filter(\n (item: {\n readonly state: \"creating\" | \"bound\" | \"uncertain\" | \"deleting\";\n }) => item.state === \"bound\"\n )\n .map(\n (\n item: ReadonlyNativeSurface<\n NonNullable<typeof history.data>[\"pages\"][number][\"items\"][number]\n >\n ) => ({\n ...item,\n conversationId: item.conversationId ?? item.id,\n excerpt: \"\",\n })\n ) ?? [];\n const matchedItems =\n results.data?.pages.flatMap(\n (\n page: ReadonlyNativeSurface<\n NonNullable<typeof results.data>[\"pages\"][number]\n >\n ) => page.items\n ) ?? [];\n const currentItems = isSearch ? matchedItems : recentItems;\n const items = waiting || failed ? [] : currentItems;\n const seen = new Set<string>();\n const distinct = items.filter((item: { readonly id: string }) => {\n if (seen.has(item.id)) {\n return false;\n }\n seen.add(item.id);\n return true;\n });\n return (\n <EveSearchResultsView\n onClose={onClose}\n query={query}\n onQueryChange={(value) => {\n if (value.trim() !== query.trim()) {\n // Cancel immediately, not after the debounce: an old response must\n // never publish while the user is already typing a different query.\n void queryClient.cancelQueries({\n exact: true,\n queryKey: trpc.search.query.infiniteQueryKey({\n ownerScope: ownerId,\n search,\n }),\n });\n }\n setQuery(value);\n }}\n searching={waiting}\n pending={waiting && !failed}\n error={failed}\n items={distinct}\n isSearch={isSearch}\n onSelect={onSelect}\n\n onRetry={() => {\n void active.refetch();\n }}\n hasMore={!waiting && !failed && active.hasNextPage}\n loadingMore={active.isFetchingNextPage}\n\n onLoadMore={() => {\n void active.fetchNextPage();\n }}\n disableLoadMore={active.isFetching || changingQuery}\n />\n );\n};\n\nconst searchShortcut = () => {\n if (navigator.platform.toUpperCase().includes(\"MAC\")) {\n return \"Cmd+K\";\n }\n return \"Ctrl+K\";\n};\n\nconst unsubscribePlatform = (): null => null;\nconst subscribePlatform = () => unsubscribePlatform;\n\nconst serverShortcut = (): string => \"Ctrl+K\";\n\nexport const EveSearchChats = ({\n ownerId,\n}: {\n readonly ownerId?: string;\n}): ReactJSX.Element => {\n const shortcut = useSyncExternalStore(\n subscribePlatform,\n searchShortcut,\n serverShortcut\n );\n const [open, setOpen] = useState(false);\n const router = useRouter();\n const { isMobile, openMobile, setOpenMobile } = useSidebar();\n useEffect(() => {\n const down = (\n event: Readonly<\n Pick<KeyboardEvent, \"key\" | \"metaKey\" | \"ctrlKey\" | \"preventDefault\">\n >\n ): void => {\n if (event.key.toLowerCase() === \"k\" && (event.metaKey || event.ctrlKey)) {\n event.preventDefault();\n setOpen((value) => !value);\n }\n };\n document.addEventListener(\"keydown\", down);\n return (): void => {\n document.removeEventListener(\"keydown\", down);\n };\n }, []);\n return (\n <>\n <SidebarMenuButton\n tooltip=\"Search chats\"\n onClick={() => {\n setOpen(true);\n }}\n >\n <SearchIcon className=\"size-4\" />\n <span>Search chats</span>\n <span className=\"text-muted-foreground ml-auto text-xs\">\n {shortcut}\n </span>\n </SidebarMenuButton>\n <Dialog open={open} onOpenChange={setOpen}>\n {/* Base UI omits nested backdrops. Search must also cover its parent sheet. */}\n {open &&\n isMobile &&\n openMobile &&\n createPortal(<DialogOverlay forceRender />, document.body)}\n <DialogContent\n className=\"overflow-hidden p-0 max-md:z-[51]\"\n showCloseButton={!hasText(ownerId)}\n >\n <DialogHeader className=\"sr-only\">\n <DialogTitle>Search chats</DialogTitle>\n <DialogDescription>\n Search your conversation history.\n </DialogDescription>\n </DialogHeader>\n {open && !hasText(ownerId) && (\n <p className=\"text-muted-foreground p-4 text-sm\">\n Start a chat to see your conversation history.\n </p>\n )}\n {open && hasText(ownerId) && (\n <SearchResults\n key={ownerId}\n ownerId={ownerId}\n onClose={() => {\n setOpen(false);\n }}\n onSelect={(id) => {\n setOpen(false);\n setOpenMobile(false);\n router.push(`/chat/${id}`);\n }}\n />\n )}\n </DialogContent>\n </Dialog>\n </>\n );\n};\n",
44
+ "content": "\"use client\";\n\nimport { hasText } from \"@/components/text-value\";\n\nimport { useInfiniteQuery, useQueryClient } from \"@tanstack/react-query\";\nimport { SearchIcon } from \"lucide-react\";\nimport { createPortal } from \"react-dom\";\nimport { useRouter } from \"next/navigation\";\nimport React, { useEffect, useState, useSyncExternalStore } from \"react\";\nimport type { JSX as ReactJSX } from \"react\";\n\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogOverlay,\n DialogTitle,\n DialogTrigger,\n} from \"@/components/ui/dialog\";\nimport { SidebarMenuButton, useSidebar } from \"@/components/ui/sidebar\";\nimport type { ReadonlyNativeSurface } from \"@/lib/readonly-native-surface\";\nimport { useTRPC } from \"@/trpc/react\";\n\nimport { EveSearchResultsView } from \"./search-results-view\";\nimport { useDebouncedSearch } from \"./use-debounced-search\";\n\nconst SearchResults = ({\n onSelect,\n onClose,\n ownerId,\n}: {\n readonly onSelect: (id: string) => void;\n readonly onClose: () => void;\n readonly ownerId: string;\n}): ReactJSX.Element => {\n const trpc = useTRPC();\n const queryClient = useQueryClient();\n const [query, setQuery] = useState(\"\");\n const search = useDebouncedSearch(query);\n const history = useInfiniteQuery(\n trpc.eve.list.infiniteQueryOptions(\n { ownerScope: ownerId },\n {\n enabled: !query.trim(),\n getNextPageParam: (page: {\n readonly nextCursor: {\n readonly isPinned: boolean;\n readonly updatedAt: string;\n readonly id: string;\n } | null;\n }) => page.nextCursor,\n refetchOnWindowFocus: false,\n staleTime: 0,\n }\n )\n );\n const results = useInfiniteQuery(\n trpc.search.query.infiniteQueryOptions(\n { ownerScope: ownerId, search },\n {\n enabled: Boolean(search) && search === query.trim(),\n getNextPageParam: (page: {\n readonly nextCursor: {\n readonly rank: number;\n readonly updatedAt: string;\n readonly id: string;\n } | null;\n }) => page.nextCursor,\n refetchOnWindowFocus: false,\n staleTime: 0,\n trpc: { abortOnUnmount: true },\n }\n )\n );\n const isSearch = Boolean(query.trim());\n const active = isSearch ? results : history;\n const changingQuery = query.trim() !== search;\n const waiting =\n changingQuery ||\n active.isPending ||\n (active.isFetching && !active.isFetchingNextPage);\n const failed = !changingQuery && active.isError;\n const recentItems =\n history.data?.pages\n .flatMap(\n (\n page: ReadonlyNativeSurface<\n NonNullable<typeof history.data>[\"pages\"][number]\n >\n ) => page.items\n )\n .filter(\n (item: {\n readonly state: \"creating\" | \"bound\" | \"uncertain\" | \"deleting\";\n }) => item.state === \"bound\"\n )\n .map(\n (\n item: ReadonlyNativeSurface<\n NonNullable<typeof history.data>[\"pages\"][number][\"items\"][number]\n >\n ) => ({\n ...item,\n conversationId: item.conversationId ?? item.id,\n excerpt: \"\",\n })\n ) ?? [];\n const matchedItems =\n results.data?.pages.flatMap(\n (\n page: ReadonlyNativeSurface<\n NonNullable<typeof results.data>[\"pages\"][number]\n >\n ) => page.items\n ) ?? [];\n const currentItems = isSearch ? matchedItems : recentItems;\n const items = waiting || failed ? [] : currentItems;\n const seen = new Set<string>();\n const distinct = items.filter((item: { readonly id: string }) => {\n if (seen.has(item.id)) {\n return false;\n }\n seen.add(item.id);\n return true;\n });\n return (\n <EveSearchResultsView\n onClose={onClose}\n query={query}\n onQueryChange={(value) => {\n if (value.trim() !== query.trim()) {\n // Cancel immediately, not after the debounce: an old response must\n // never publish while the user is already typing a different query.\n void queryClient.cancelQueries({\n exact: true,\n queryKey: trpc.search.query.infiniteQueryKey({\n ownerScope: ownerId,\n search,\n }),\n });\n }\n setQuery(value);\n }}\n searching={waiting}\n pending={waiting && !failed}\n error={failed}\n items={distinct}\n isSearch={isSearch}\n onSelect={onSelect}\n\n onRetry={() => {\n void active.refetch();\n }}\n hasMore={!waiting && !failed && active.hasNextPage}\n loadingMore={active.isFetchingNextPage}\n\n onLoadMore={() => {\n void active.fetchNextPage();\n }}\n disableLoadMore={active.isFetching || changingQuery}\n />\n );\n};\n\nconst searchShortcut = () => {\n if (navigator.platform.toUpperCase().includes(\"MAC\")) {\n return \"Cmd+K\";\n }\n return \"Ctrl+K\";\n};\n\nconst unsubscribePlatform = (): null => null;\nconst subscribePlatform = () => unsubscribePlatform;\n\nconst serverShortcut = (): string => \"Ctrl+K\";\n\nexport const EveSearchChats = ({\n ownerId,\n}: {\n readonly ownerId?: string;\n}): ReactJSX.Element => {\n const shortcut = useSyncExternalStore(\n subscribePlatform,\n searchShortcut,\n serverShortcut\n );\n const [open, setOpen] = useState(false);\n const router = useRouter();\n const { isMobile, openMobile, setOpenMobile } = useSidebar();\n useEffect(() => {\n const down = (\n event: Readonly<\n Pick<KeyboardEvent, \"key\" | \"metaKey\" | \"ctrlKey\" | \"preventDefault\">\n >\n ): void => {\n if (event.key.toLowerCase() === \"k\" && (event.metaKey || event.ctrlKey)) {\n event.preventDefault();\n setOpen((value) => !value);\n }\n };\n document.addEventListener(\"keydown\", down);\n return (): void => {\n document.removeEventListener(\"keydown\", down);\n };\n }, []);\n return (\n <Dialog open={open} onOpenChange={setOpen}>\n <DialogTrigger render={<SidebarMenuButton tooltip=\"Search chats\" />}>\n <SearchIcon className=\"size-4\" />\n <span>Search chats</span>\n <span className=\"text-muted-foreground ml-auto text-xs\">\n {shortcut}\n </span>\n </DialogTrigger>\n {/* Base UI omits nested backdrops. Search must also cover its parent sheet. */}\n {open &&\n isMobile &&\n openMobile &&\n createPortal(<DialogOverlay forceRender />, document.body)}\n <DialogContent\n className=\"overflow-hidden p-0 max-md:z-[51]\"\n showCloseButton={!hasText(ownerId)}\n >\n <DialogHeader className=\"sr-only\">\n <DialogTitle>Search chats</DialogTitle>\n <DialogDescription>\n Search your conversation history.\n </DialogDescription>\n </DialogHeader>\n {open && !hasText(ownerId) && (\n <p className=\"text-muted-foreground p-4 text-sm\">\n Start a chat to see your conversation history.\n </p>\n )}\n {open && hasText(ownerId) && (\n <SearchResults\n key={ownerId}\n ownerId={ownerId}\n onClose={() => {\n setOpen(false);\n }}\n onSelect={(id) => {\n setOpen(false);\n setOpenMobile(false);\n router.push(`/chat/${id}`);\n }}\n />\n )}\n </DialogContent>\n </Dialog>\n );\n};\n",
39
45
  "type": "registry:file",
40
46
  "target": "~/plugins/search/search-chats.tsx"
41
47
  },
@@ -2,6 +2,13 @@
2
2
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
3
  "name": "sharing",
4
4
  "description": "Share read-only conversations with revocable public access",
5
+ "dependencies": [
6
+ "@tanstack/react-query@^5.104.1",
7
+ "@trpc/server@^11.1.2",
8
+ "drizzle-orm@^0.45.1",
9
+ "lucide-react@0.553.0",
10
+ "sonner@^2.0.7"
11
+ ],
5
12
  "files": [
6
13
  {
7
14
  "path": "src/plugins/sharing/src/chat.ts",
@@ -5,7 +5,8 @@
5
5
  "dependencies": [
6
6
  "papaparse@^5.5.2",
7
7
  "@types/papaparse@^5.3.15",
8
- "react-data-grid@7.0.0-beta.47"
8
+ "react-data-grid@7.0.0-beta.47",
9
+ "next-themes@^0.4.6"
9
10
  ],
10
11
  "registryDependencies": [
11
12
  "@chatjs/read-document"
@@ -3,8 +3,8 @@
3
3
  "name": "tavily-search",
4
4
  "description": "Use tavily-search for chat and deep research",
5
5
  "dependencies": [
6
- "ai",
7
- "zod",
6
+ "ai@7.0.137",
7
+ "zod@4.5.4",
8
8
  "@tavily/core@^0.3.3"
9
9
  ],
10
10
  "files": [
@@ -10,7 +10,8 @@
10
10
  "@lexical/react@^0.32.1",
11
11
  "@lexical/rich-text@^0.32.1",
12
12
  "lexical@^0.32.1",
13
- "diff@^8.0.2"
13
+ "diff@^8.0.2",
14
+ "@tanstack/react-query@^5.104.1"
14
15
  ],
15
16
  "registryDependencies": [
16
17
  "@chatjs/read-document"
@@ -3,8 +3,8 @@
3
3
  "name": "word-count",
4
4
  "description": "Count words, characters, and sentences in text",
5
5
  "dependencies": [
6
- "ai",
7
- "zod"
6
+ "ai@7.0.137",
7
+ "zod@4.5.4"
8
8
  ],
9
9
  "files": [
10
10
  {