Skip to content

Commit cb5be5e

Browse files
charliegilletclaude
andcommitted
fix(nodes): format services.json and add header comment for v0 node
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d1ed78c commit cb5be5e

1 file changed

Lines changed: 6 additions & 70 deletions

File tree

nodes/src/nodes/tool_v0/services.json

Lines changed: 6 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,36 @@
11
{
22
//
3-
// Required:
4-
// The displayable name of this node
3+
// v0 by Vercel — Generative UI tool node
54
//
6-
"title": "v0 by Vercel",
7-
//
8-
// Required:
9-
// The protocol is the endpoint protocol
5+
// Generates React + Tailwind CSS components from natural-language prompts
6+
// using the Vercel v0 API. Exposes two tools:
7+
// - generate_ui: create a component from a text description
8+
// - refine_ui: iterate on a previous generation with follow-up instructions
109
//
10+
"title": "v0 by Vercel",
1111
"protocol": "tool_v0://",
12-
//
13-
// Required:
14-
// Class type of the node - what it does
15-
//
1612
"classType": ["tool"],
17-
//
18-
// Required:
19-
// Capabilities are flags that change the behavior of the underlying
20-
// engine
21-
//
2213
"capabilities": ["invoke"],
23-
//
24-
// Optional:
25-
// Register is either filter, endpoint or ignored if not specified. If the
26-
// type is specified, a factory is registered of that given type
27-
//
2814
"register": "filter",
29-
//
30-
// Optional:
31-
// The node is the actual physical node to instantiate - if
32-
// not specified, the protocol will be used
33-
//
3415
"node": "python",
35-
//
36-
// Optional:
37-
// The path is the executable/script code - it is node dependent
38-
// and is optional for most nodes
39-
//
4016
"path": "nodes.tool_v0",
41-
//
42-
// Required:
43-
// The prefix map when added/removed when converting URLs <=> paths
44-
//
4517
"prefix": "v0",
46-
//
47-
// Optional:
48-
// The icon is the icon to display in the UI for this node
49-
//
5018
"icon": "vercel.svg",
51-
//
52-
// Optional:
53-
// Description of this driver
54-
//
5519
"description": [
5620
"Generates React UI components from natural-language prompts using Vercel's v0 API.",
5721
"Provides generate_ui (create component) and refine_ui (iterate on existing generation)."
5822
],
59-
//
60-
// Optional:
61-
// Tile labels shown on the node in the visual builder
62-
//
6323
"tile": ["Tool: v0.generate_ui"],
64-
//
65-
// Optional:
66-
// As a pipe component, define what this pipe component takes
67-
// and what it produces
68-
//
6924
"lanes": {},
70-
//
71-
// Optional:
72-
// Profile section are configuration options used by the driver
73-
// itself
74-
//
7525
"preconfig": {
76-
// Define the values that will be merged into any profile configuration
77-
// specified, unless the profile is 'absolute'
7826
"default": "default",
79-
// Defines profiles used with the "profile": key
8027
"profiles": {
8128
"default": {
8229
"title": "v0 by Vercel",
8330
"apikey": ""
8431
}
8532
}
8633
},
87-
//
88-
// Optional:
89-
// Local fields definitions - these define fields only for the
90-
// current service. You may specify them here, or directly
91-
// in the shape
92-
//
9334
"fields": {
9435
"tool_v0.apikey": {
9536
"type": "string",
@@ -102,11 +43,6 @@
10243
}
10344
}
10445
},
105-
//
106-
// Required:
107-
// Defines the fields (shape) of the service. Either source or target
108-
// may be specified, or both, but at least one is required
109-
//
11046
"shape": [
11147
{
11248
"section": "Pipe",

0 commit comments

Comments
 (0)