@chat-js/registry 0.2.0-beta.1 → 0.2.0-beta.10
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/README.md +16 -12
- package/dist/r/ai-titles.json +14 -17
- package/dist/r/akamai-storage.json +13 -1
- package/dist/r/alibaba-storage.json +13 -1
- package/dist/r/appwrite-storage.json +8 -1
- package/dist/r/archil-storage.json +8 -1
- package/dist/r/attach-workspace-file.json +82 -0
- package/dist/r/attachment-uploads.json +24 -35
- package/dist/r/azure-storage.json +8 -1
- package/dist/r/backblaze-b2-storage.json +13 -1
- package/dist/r/base/ai-titles.json +14 -17
- package/dist/r/base/akamai-storage.json +13 -1
- package/dist/r/base/alibaba-storage.json +13 -1
- package/dist/r/base/appwrite-storage.json +8 -1
- package/dist/r/base/archil-storage.json +8 -1
- package/dist/r/base/attach-workspace-file.json +82 -0
- package/dist/r/base/attachment-uploads.json +24 -35
- package/dist/r/base/azure-storage.json +8 -1
- package/dist/r/base/backblaze-b2-storage.json +13 -1
- package/dist/r/base/bunny-storage-storage.json +2 -1
- package/dist/r/base/cloudinary-storage.json +2 -1
- package/dist/r/base/credits.json +24 -46
- package/dist/r/base/deep-research.json +55 -141
- package/dist/r/base/default-sandbox.json +35 -0
- package/dist/r/base/desktop.json +129 -0
- package/dist/r/base/digitalocean-spaces-storage.json +13 -1
- package/dist/r/base/docker-sandbox.json +35 -0
- package/dist/r/base/dropbox-storage.json +2 -1
- package/dist/r/base/exoscale-storage.json +13 -1
- package/dist/r/base/feedback.json +31 -53
- package/dist/r/base/filebase-storage.json +8 -1
- package/dist/r/base/firebase-storage-storage.json +2 -1
- package/dist/r/base/followup-suggestions.json +44 -66
- package/dist/r/base/ftp-storage.json +18 -1
- package/dist/r/base/gcs-storage.json +8 -1
- package/dist/r/base/generate-image.json +22 -16
- package/dist/r/base/generate-video.json +16 -10
- package/dist/r/base/google-drive-storage.json +2 -1
- package/dist/r/base/guest-chat.json +166 -0
- package/dist/r/base/hetzner-storage.json +13 -1
- package/dist/r/base/ibm-cos-storage.json +13 -1
- package/dist/r/base/idrive-e2-storage.json +13 -1
- package/dist/r/base/image-viewer.json +49 -0
- package/dist/r/base/just-bash-sandbox.json +32 -0
- package/dist/r/base/litellm-gateway.json +5 -8
- package/dist/r/base/mcp.json +128 -121
- package/dist/r/base/memory-storage.json +5 -3
- package/dist/r/base/minio-storage.json +13 -1
- package/dist/r/base/model-preferences.json +41 -55
- package/dist/r/base/neon-storage.json +8 -1
- package/dist/r/base/netlify-blobs-storage.json +10 -2
- package/dist/r/base/onedrive-storage.json +2 -1
- package/dist/r/base/openai-compatible-gateway.json +5 -8
- package/dist/r/base/openai-gateway.json +5 -8
- package/dist/r/base/openrouter-gateway.json +4 -8
- package/dist/r/base/oracle-cloud-storage.json +18 -1
- package/dist/r/base/ovhcloud-storage.json +13 -1
- package/dist/r/base/pocketbase-storage.json +2 -1
- package/dist/r/base/projects.json +107 -108
- package/dist/r/base/r2-storage.json +9 -1
- package/dist/r/base/registry.json +2340 -2555
- package/dist/r/base/s3-storage.json +15 -1
- package/dist/r/base/scaleway-storage.json +13 -1
- package/dist/r/base/search.json +74 -66
- package/dist/r/base/sftp-storage.json +18 -1
- package/dist/r/base/sharepoint-storage.json +2 -1
- package/dist/r/base/sharing.json +58 -64
- package/dist/r/base/spreadsheet-grid.json +20 -0
- package/dist/r/base/spreadsheet-viewer.json +62 -0
- package/dist/r/base/storj-storage.json +8 -1
- package/dist/r/base/streamdown-math.json +35 -0
- package/dist/r/base/streamdown-mermaid.json +34 -0
- package/dist/r/base/supabase-storage.json +8 -1
- package/dist/r/base/tencent-storage.json +13 -1
- package/dist/r/base/tigris-storage.json +8 -1
- package/dist/r/base/uploadthing-storage.json +2 -1
- package/dist/r/base/vercel-blob-storage.json +3 -1
- package/dist/r/base/vercel-gateway.json +7 -9
- package/dist/r/base/vercel-sandbox.json +8 -26
- package/dist/r/base/video-viewer.json +42 -0
- package/dist/r/base/vultr-storage.json +13 -1
- package/dist/r/base/wasabi-storage.json +13 -1
- package/dist/r/base/webdav-storage.json +13 -1
- package/dist/r/base/yandex-storage.json +8 -1
- package/dist/r/bunny-storage-storage.json +2 -1
- package/dist/r/cloudinary-storage.json +2 -1
- package/dist/r/credits.json +24 -46
- package/dist/r/deep-research.json +55 -141
- package/dist/r/default-sandbox.json +35 -0
- package/dist/r/desktop.json +129 -0
- package/dist/r/digitalocean-spaces-storage.json +13 -1
- package/dist/r/docker-sandbox.json +35 -0
- package/dist/r/dropbox-storage.json +2 -1
- package/dist/r/eve/deep-research.json +47 -0
- package/dist/r/eve/registry.json +53 -0
- package/dist/r/exoscale-storage.json +13 -1
- package/dist/r/feedback.json +31 -53
- package/dist/r/filebase-storage.json +8 -1
- package/dist/r/firebase-storage-storage.json +2 -1
- package/dist/r/followup-suggestions.json +44 -66
- package/dist/r/ftp-storage.json +18 -1
- package/dist/r/gcs-storage.json +8 -1
- package/dist/r/generate-image.json +22 -16
- package/dist/r/generate-video.json +16 -10
- package/dist/r/google-drive-storage.json +2 -1
- package/dist/r/guest-chat.json +166 -0
- package/dist/r/hetzner-storage.json +13 -1
- package/dist/r/ibm-cos-storage.json +13 -1
- package/dist/r/idrive-e2-storage.json +13 -1
- package/dist/r/image-viewer.json +49 -0
- package/dist/r/just-bash-sandbox.json +32 -0
- package/dist/r/litellm-gateway.json +5 -8
- package/dist/r/mcp.json +128 -121
- package/dist/r/memory-storage.json +5 -3
- package/dist/r/minio-storage.json +13 -1
- package/dist/r/model-preferences.json +41 -55
- package/dist/r/neon-storage.json +8 -1
- package/dist/r/netlify-blobs-storage.json +10 -2
- package/dist/r/onedrive-storage.json +2 -1
- package/dist/r/openai-compatible-gateway.json +5 -8
- package/dist/r/openai-gateway.json +5 -8
- package/dist/r/openrouter-gateway.json +4 -8
- package/dist/r/oracle-cloud-storage.json +18 -1
- package/dist/r/ovhcloud-storage.json +13 -1
- package/dist/r/pocketbase-storage.json +2 -1
- package/dist/r/projects.json +107 -108
- package/dist/r/r2-storage.json +9 -1
- package/dist/r/radix/ai-titles.json +14 -17
- package/dist/r/radix/akamai-storage.json +13 -1
- package/dist/r/radix/alibaba-storage.json +13 -1
- package/dist/r/radix/appwrite-storage.json +8 -1
- package/dist/r/radix/archil-storage.json +8 -1
- package/dist/r/radix/attach-workspace-file.json +82 -0
- package/dist/r/radix/attachment-uploads.json +24 -35
- package/dist/r/radix/azure-storage.json +8 -1
- package/dist/r/radix/backblaze-b2-storage.json +13 -1
- package/dist/r/radix/bunny-storage-storage.json +2 -1
- package/dist/r/radix/cloudinary-storage.json +2 -1
- package/dist/r/radix/credits.json +24 -46
- package/dist/r/radix/deep-research.json +55 -141
- package/dist/r/radix/default-sandbox.json +35 -0
- package/dist/r/radix/desktop.json +129 -0
- package/dist/r/radix/digitalocean-spaces-storage.json +13 -1
- package/dist/r/radix/docker-sandbox.json +35 -0
- package/dist/r/radix/dropbox-storage.json +2 -1
- package/dist/r/radix/exoscale-storage.json +13 -1
- package/dist/r/radix/feedback.json +31 -53
- package/dist/r/radix/filebase-storage.json +8 -1
- package/dist/r/radix/firebase-storage-storage.json +2 -1
- package/dist/r/radix/followup-suggestions.json +44 -66
- package/dist/r/radix/ftp-storage.json +18 -1
- package/dist/r/radix/gcs-storage.json +8 -1
- package/dist/r/radix/generate-image.json +22 -16
- package/dist/r/radix/generate-video.json +16 -10
- package/dist/r/radix/google-drive-storage.json +2 -1
- package/dist/r/radix/guest-chat.json +166 -0
- package/dist/r/radix/hetzner-storage.json +13 -1
- package/dist/r/radix/ibm-cos-storage.json +13 -1
- package/dist/r/radix/idrive-e2-storage.json +13 -1
- package/dist/r/radix/image-viewer.json +49 -0
- package/dist/r/radix/just-bash-sandbox.json +32 -0
- package/dist/r/radix/litellm-gateway.json +5 -8
- package/dist/r/radix/mcp.json +128 -121
- package/dist/r/radix/memory-storage.json +5 -3
- package/dist/r/radix/minio-storage.json +13 -1
- package/dist/r/radix/model-preferences.json +41 -55
- package/dist/r/radix/neon-storage.json +8 -1
- package/dist/r/radix/netlify-blobs-storage.json +10 -2
- package/dist/r/radix/onedrive-storage.json +2 -1
- package/dist/r/radix/openai-compatible-gateway.json +5 -8
- package/dist/r/radix/openai-gateway.json +5 -8
- package/dist/r/radix/openrouter-gateway.json +4 -8
- package/dist/r/radix/oracle-cloud-storage.json +18 -1
- package/dist/r/radix/ovhcloud-storage.json +13 -1
- package/dist/r/radix/pocketbase-storage.json +2 -1
- package/dist/r/radix/projects.json +107 -108
- package/dist/r/radix/r2-storage.json +9 -1
- package/dist/r/radix/registry.json +2339 -2554
- package/dist/r/radix/s3-storage.json +15 -1
- package/dist/r/radix/scaleway-storage.json +13 -1
- package/dist/r/radix/search.json +74 -66
- package/dist/r/radix/sftp-storage.json +18 -1
- package/dist/r/radix/sharepoint-storage.json +2 -1
- package/dist/r/radix/sharing.json +58 -64
- package/dist/r/radix/spreadsheet-grid.json +20 -0
- package/dist/r/radix/spreadsheet-viewer.json +62 -0
- package/dist/r/radix/storj-storage.json +8 -1
- package/dist/r/radix/streamdown-math.json +35 -0
- package/dist/r/radix/streamdown-mermaid.json +34 -0
- package/dist/r/radix/supabase-storage.json +8 -1
- package/dist/r/radix/tencent-storage.json +13 -1
- package/dist/r/radix/tigris-storage.json +8 -1
- package/dist/r/radix/uploadthing-storage.json +2 -1
- package/dist/r/radix/vercel-blob-storage.json +3 -1
- package/dist/r/radix/vercel-gateway.json +7 -9
- package/dist/r/radix/vercel-sandbox.json +8 -26
- package/dist/r/radix/video-viewer.json +42 -0
- package/dist/r/radix/vultr-storage.json +13 -1
- package/dist/r/radix/wasabi-storage.json +13 -1
- package/dist/r/radix/webdav-storage.json +13 -1
- package/dist/r/radix/yandex-storage.json +8 -1
- package/dist/r/registry.json +2340 -2555
- package/dist/r/s3-storage.json +15 -1
- package/dist/r/scaleway-storage.json +13 -1
- package/dist/r/search.json +74 -66
- package/dist/r/sftp-storage.json +18 -1
- package/dist/r/sharepoint-storage.json +2 -1
- package/dist/r/sharing.json +58 -64
- package/dist/r/spreadsheet-grid.json +20 -0
- package/dist/r/spreadsheet-viewer.json +62 -0
- package/dist/r/storj-storage.json +8 -1
- package/dist/r/streamdown-math.json +35 -0
- package/dist/r/streamdown-mermaid.json +34 -0
- package/dist/r/supabase-storage.json +8 -1
- package/dist/r/tencent-storage.json +13 -1
- package/dist/r/tigris-storage.json +8 -1
- package/dist/r/uploadthing-storage.json +2 -1
- package/dist/r/vercel-blob-storage.json +3 -1
- package/dist/r/vercel-gateway.json +7 -9
- package/dist/r/vercel-sandbox.json +8 -26
- package/dist/r/video-viewer.json +42 -0
- package/dist/r/vultr-storage.json +13 -1
- package/dist/r/wasabi-storage.json +13 -1
- package/dist/r/webdav-storage.json +13 -1
- package/dist/r/yandex-storage.json +8 -1
- package/package.json +19 -40
- package/dist/r/base/code-documents.json +0 -96
- package/dist/r/base/code-execution-runtime.json +0 -25
- package/dist/r/base/code-execution-ui.json +0 -32
- package/dist/r/base/code-execution.json +0 -69
- package/dist/r/base/daytona-sandbox.json +0 -55
- package/dist/r/base/delete-document.json +0 -58
- package/dist/r/base/firecrawl-search.json +0 -72
- package/dist/r/base/get-weather.json +0 -52
- package/dist/r/base/langfuse.json +0 -63
- package/dist/r/base/read-document.json +0 -34
- package/dist/r/base/retrieve-url.json +0 -69
- package/dist/r/base/saved-code-execution.json +0 -84
- package/dist/r/base/sheet-documents.json +0 -94
- package/dist/r/base/tavily-search.json +0 -72
- package/dist/r/base/text-documents.json +0 -117
- package/dist/r/base/vercel-analytics.json +0 -46
- package/dist/r/base/vercel-speed-insights.json +0 -46
- package/dist/r/base/word-count.json +0 -51
- package/dist/r/code-documents.json +0 -96
- package/dist/r/code-execution-runtime.json +0 -25
- package/dist/r/code-execution-ui.json +0 -32
- package/dist/r/code-execution.json +0 -69
- package/dist/r/daytona-sandbox.json +0 -55
- package/dist/r/delete-document.json +0 -58
- package/dist/r/firecrawl-search.json +0 -72
- package/dist/r/get-weather.json +0 -52
- package/dist/r/langfuse.json +0 -63
- package/dist/r/radix/code-documents.json +0 -96
- package/dist/r/radix/code-execution-runtime.json +0 -25
- package/dist/r/radix/code-execution-ui.json +0 -32
- package/dist/r/radix/code-execution.json +0 -69
- package/dist/r/radix/daytona-sandbox.json +0 -55
- package/dist/r/radix/delete-document.json +0 -58
- package/dist/r/radix/firecrawl-search.json +0 -72
- package/dist/r/radix/get-weather.json +0 -52
- package/dist/r/radix/langfuse.json +0 -63
- package/dist/r/radix/read-document.json +0 -34
- package/dist/r/radix/retrieve-url.json +0 -69
- package/dist/r/radix/saved-code-execution.json +0 -84
- package/dist/r/radix/sheet-documents.json +0 -94
- package/dist/r/radix/tavily-search.json +0 -72
- package/dist/r/radix/text-documents.json +0 -117
- package/dist/r/radix/vercel-analytics.json +0 -46
- package/dist/r/radix/vercel-speed-insights.json +0 -46
- package/dist/r/radix/word-count.json +0 -51
- package/dist/r/read-document.json +0 -34
- package/dist/r/retrieve-url.json +0 -69
- package/dist/r/saved-code-execution.json +0 -84
- package/dist/r/sheet-documents.json +0 -94
- package/dist/r/tavily-search.json +0 -72
- package/dist/r/text-documents.json +0 -117
- package/dist/r/vercel-analytics.json +0 -46
- package/dist/r/vercel-speed-insights.json +0 -46
- package/dist/r/word-count.json +0 -51
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "vercel-speed-insights",
|
|
4
|
-
"description": "Vercel Speed Insights",
|
|
5
|
-
"dependencies": [
|
|
6
|
-
"@vercel/speed-insights@^1.3.1"
|
|
7
|
-
],
|
|
8
|
-
"files": [
|
|
9
|
-
{
|
|
10
|
-
"path": "src/plugins/vercel-speed-insights/src/component.tsx",
|
|
11
|
-
"content": "import type { InstalledLayoutComponent } from \"@/lib/installation-contracts\";\nimport { SpeedInsights } from \"@vercel/speed-insights/next\";\n\nexport const Component = SpeedInsights satisfies InstalledLayoutComponent;\n",
|
|
12
|
-
"type": "registry:file",
|
|
13
|
-
"target": "~/plugins/vercel-speed-insights/component.tsx"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"path": "src/plugins/vercel-speed-insights/src/client-plugin.ts",
|
|
17
|
-
"content": "import type { ChatClientPlugin } from \"@/lib/plugin-contracts\";\nimport { Component } from \"./component\";\n\nexport const vercelSpeedInsightsClient = () =>\n ({\n id: \"vercel-speed-insights\",\n layout: Component,\n }) satisfies ChatClientPlugin;\n",
|
|
18
|
-
"type": "registry:file",
|
|
19
|
-
"target": "~/plugins/vercel-speed-insights/client-plugin.ts"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"path": "dist/source/vercel-speed-insights.json",
|
|
23
|
-
"content": "{\n \"id\": \"vercel-speed-insights\",\n \"kind\": \"plugin\",\n \"files\": [\n \"plugins/vercel-speed-insights/component.tsx\",\n \"plugins/vercel-speed-insights/client-plugin.ts\"\n ],\n \"client\": {\n \"export\": \"vercelSpeedInsightsClient\",\n \"composerControls\": [],\n \"settingsItems\": [],\n \"layout\": true\n },\n \"contractVersion\": 1\n}\n",
|
|
24
|
-
"type": "registry:file",
|
|
25
|
-
"target": "~/plugins/vercel-speed-insights/chatjs.json"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"meta": {
|
|
29
|
-
"chatjs": {
|
|
30
|
-
"id": "vercel-speed-insights",
|
|
31
|
-
"kind": "plugin",
|
|
32
|
-
"files": [
|
|
33
|
-
"plugins/vercel-speed-insights/component.tsx",
|
|
34
|
-
"plugins/vercel-speed-insights/client-plugin.ts"
|
|
35
|
-
],
|
|
36
|
-
"client": {
|
|
37
|
-
"export": "vercelSpeedInsightsClient",
|
|
38
|
-
"composerControls": [],
|
|
39
|
-
"settingsItems": [],
|
|
40
|
-
"layout": true
|
|
41
|
-
},
|
|
42
|
-
"contractVersion": 1
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"type": "registry:item"
|
|
46
|
-
}
|
package/dist/r/word-count.json
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
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
|
-
}
|