rivet-design 0.12.2 → 0.12.3
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 +14 -34
- package/README.npm.md +14 -34
- package/dist/mcp/agent-variants/contracts.d.ts +561 -101
- package/dist/mcp/agent-variants/contracts.d.ts.map +1 -1
- package/dist/mcp/agent-variants/contracts.js +51 -24
- package/dist/mcp/agent-variants/contracts.js.map +1 -1
- package/dist/mcp/agent-variants/createZeroToOneTool.d.ts +1 -1
- package/dist/mcp/agent-variants/createZeroToOneTool.d.ts.map +1 -1
- package/dist/mcp/agent-variants/createZeroToOneTool.js +1 -1
- package/dist/mcp/agent-variants/createZeroToOneTool.js.map +1 -1
- package/dist/mcp/agent-variants/tools.d.ts +12 -0
- package/dist/mcp/agent-variants/tools.d.ts.map +1 -1
- package/dist/mcp/agent-variants/tools.js +149 -247
- package/dist/mcp/agent-variants/tools.js.map +1 -1
- package/dist/mcp/auth/tools.d.ts.map +1 -1
- package/dist/mcp/auth/tools.js +2 -3
- package/dist/mcp/auth/tools.js.map +1 -1
- package/dist/mcp/instructions.d.ts +11 -2
- package/dist/mcp/instructions.d.ts.map +1 -1
- package/dist/mcp/instructions.js +20 -5
- package/dist/mcp/instructions.js.map +1 -1
- package/dist/mcp/integrations/tools.d.ts.map +1 -1
- package/dist/mcp/integrations/tools.js +33 -22
- package/dist/mcp/integrations/tools.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +31 -13
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/toolAnalytics.d.ts +11 -0
- package/dist/mcp/toolAnalytics.d.ts.map +1 -1
- package/dist/mcp/toolAnalytics.js +8 -0
- package/dist/mcp/toolAnalytics.js.map +1 -1
- package/dist/routes/agentVariants.d.ts.map +1 -1
- package/dist/routes/agentVariants.js +17 -9
- package/dist/routes/agentVariants.js.map +1 -1
- package/dist/routes/mcp.d.ts.map +1 -1
- package/dist/routes/mcp.js +18 -11
- package/dist/routes/mcp.js.map +1 -1
- package/dist/services/ConfigManager.d.ts +13 -0
- package/dist/services/ConfigManager.d.ts.map +1 -1
- package/dist/services/ConfigManager.js +24 -0
- package/dist/services/ConfigManager.js.map +1 -1
- package/dist/services/TelemetryService.d.ts +4 -0
- package/dist/services/TelemetryService.d.ts.map +1 -1
- package/dist/services/TelemetryService.js +19 -0
- package/dist/services/TelemetryService.js.map +1 -1
- package/dist/services/createAgentVariantsOrchestrator.d.ts +16 -0
- package/dist/services/createAgentVariantsOrchestrator.d.ts.map +1 -1
- package/dist/services/createAgentVariantsOrchestrator.js +60 -2
- package/dist/services/createAgentVariantsOrchestrator.js.map +1 -1
- package/dist/utils/skills/claude-skill.d.ts +1 -1
- package/dist/utils/skills/claude-skill.d.ts.map +1 -1
- package/dist/utils/skills/claude-skill.js +16 -6
- package/dist/utils/skills/claude-skill.js.map +1 -1
- package/dist/utils/skills/cursor-rules.d.ts +1 -1
- package/dist/utils/skills/cursor-rules.d.ts.map +1 -1
- package/dist/utils/skills/cursor-rules.js +16 -6
- package/dist/utils/skills/cursor-rules.js.map +1 -1
- package/dist/utils/skills/describe-motion-protocol.d.ts +1 -1
- package/dist/utils/skills/describe-motion-protocol.d.ts.map +1 -1
- package/dist/utils/skills/describe-motion-protocol.js +1 -1
- package/dist/utils/skills/shared-variants-protocol.d.ts +20 -2
- package/dist/utils/skills/shared-variants-protocol.d.ts.map +1 -1
- package/dist/utils/skills/shared-variants-protocol.js +91 -19
- package/dist/utils/skills/shared-variants-protocol.js.map +1 -1
- package/package.json +16 -38
- package/src/ui/dist/assets/main-CLAqO1bm.js +656 -0
- package/src/ui/dist/assets/main-Ke-Q9lWa.css +1 -0
- package/src/ui/dist/index.html +2 -2
- package/src/ui/dist/assets/main-B26kBifl.js +0 -656
- package/src/ui/dist/assets/main-B9-DG2wa.css +0 -1
package/README.md
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
# Rivet
|
|
2
2
|
|
|
3
|
-
Rivet
|
|
3
|
+
Rivet helps you explore multiple design directions for your web app. It generates parallel variants you can compare side by side, refine with precision, and share or implement — all from your coding agent.
|
|
4
4
|
|
|
5
5
|
## How it works
|
|
6
6
|
|
|
7
|
-
Rivet runs as an MCP server alongside
|
|
7
|
+
Rivet runs as an MCP server alongside your coding agent (Claude Code, Cursor, etc.).
|
|
8
8
|
|
|
9
|
-
1.
|
|
10
|
-
2.
|
|
11
|
-
3.
|
|
12
|
-
4.
|
|
13
|
-
5. Your dev server hot-reloads and you see the result instantly
|
|
14
|
-
|
|
15
|
-
You can make multiple rounds of changes in the same session. Rivet tracks each one and sends them cleanly.
|
|
9
|
+
1. **Start from your agent.** Use `/rivet` in Claude Code, or tell your agent "Use Rivet variants" or "Explore with Rivet" along with your design request.
|
|
10
|
+
2. **Connect design references** (optional). Click **Connect design references** in the editor to link your Pinterest or Are.na account. Include relevant pins or boards and Rivet will extract design context from them to inform the variants it generates.
|
|
11
|
+
3. **Refine with the comment tool.** Select any part of the UI and use the comment tool to make more precise variants of that section, or leave comments describing what you'd like to change within a variant.
|
|
12
|
+
4. **Share or implement.** When you're happy, click the **Share** button to get a shareable link you can send to a collaborator — or share it back to your coding agent to implement the chosen direction.
|
|
16
13
|
|
|
17
14
|
## Install
|
|
18
15
|
|
|
@@ -22,7 +19,7 @@ You can make multiple rounds of changes in the same session. Rivet tracks each o
|
|
|
22
19
|
claude mcp add --transport stdio --scope user rivet -- npx -y rivet-design@latest mcp --editor claude
|
|
23
20
|
```
|
|
24
21
|
|
|
25
|
-
**Option 2 — Run Rivet
|
|
22
|
+
**Option 2 — Run Rivet's installer** (adds Rivet globally via Claude Code CLI)
|
|
26
23
|
|
|
27
24
|
```bash
|
|
28
25
|
npx rivet-design install
|
|
@@ -32,20 +29,15 @@ No global install required. `npx` pulls the latest version each time.
|
|
|
32
29
|
|
|
33
30
|
## Usage
|
|
34
31
|
|
|
35
|
-
Once installed,
|
|
32
|
+
Once installed, tell your agent what you want to explore:
|
|
36
33
|
|
|
37
34
|
```
|
|
38
|
-
"
|
|
35
|
+
"Use Rivet variants to explore hero section designs"
|
|
36
|
+
"Explore with Rivet — show me options for the navigation"
|
|
37
|
+
"/rivet redesign the pricing page"
|
|
39
38
|
```
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
1. Detect your project framework and dev server port
|
|
44
|
-
2. Open Rivet in your browser
|
|
45
|
-
3. Wait for you to make changes and click **Send to Claude**
|
|
46
|
-
4. Apply the changes to your source files
|
|
47
|
-
|
|
48
|
-
Make as many rounds of edits as you need. When you're done, tell Claude to close the session.
|
|
40
|
+
Your agent will open Rivet, generate parallel design directions, and let you compare them side by side in the browser. Use the comment tool to refine, connect Pinterest or Are.na boards for design context, and share or implement when you're ready.
|
|
49
41
|
|
|
50
42
|
### Supported frameworks
|
|
51
43
|
|
|
@@ -55,25 +47,13 @@ Make as many rounds of edits as you need. When you're done, tell Claude to close
|
|
|
55
47
|
- Remix
|
|
56
48
|
- SvelteKit
|
|
57
49
|
|
|
58
|
-
Your dev server needs to be running before opening Rivet.
|
|
59
|
-
|
|
60
|
-
## MCP tools
|
|
61
|
-
|
|
62
|
-
Rivet exposes these tools to Claude Code:
|
|
63
|
-
|
|
64
|
-
| Tool | Description |
|
|
65
|
-
| --------------------- | ------------------------------------------------------------------------- |
|
|
66
|
-
| `detect_project` | Detects framework, package manager, and whether the dev server is running |
|
|
67
|
-
| `open_visual_editor` | Opens Rivet in the browser and starts a session |
|
|
68
|
-
| `watch_for_changes` | Blocks until you click Send to Claude, then returns your changes |
|
|
69
|
-
| `get_pending_changes` | Non-blocking check for pending changes |
|
|
70
|
-
| `close_visual_editor` | Ends the session and cleans up |
|
|
50
|
+
Your dev server needs to be running before opening Rivet. Your agent will give you the start command if it isn't.
|
|
71
51
|
|
|
72
52
|
## Requirements
|
|
73
53
|
|
|
74
54
|
- Node.js 18+
|
|
75
55
|
- A running local dev server (Vite, Next.js, etc.)
|
|
76
|
-
- Claude Code
|
|
56
|
+
- Claude Code, Cursor, or another MCP-compatible agent
|
|
77
57
|
|
|
78
58
|
## License
|
|
79
59
|
|
package/README.npm.md
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
# Rivet
|
|
2
2
|
|
|
3
|
-
Rivet
|
|
3
|
+
Rivet helps you explore multiple design directions for your web app. It generates parallel variants you can compare side by side, refine with precision, and share or implement — all from your coding agent.
|
|
4
4
|
|
|
5
5
|
## How it works
|
|
6
6
|
|
|
7
|
-
Rivet runs as an MCP server alongside
|
|
7
|
+
Rivet runs as an MCP server alongside your coding agent (Claude Code, Cursor, etc.).
|
|
8
8
|
|
|
9
|
-
1.
|
|
10
|
-
2.
|
|
11
|
-
3.
|
|
12
|
-
4.
|
|
13
|
-
5. Your dev server hot-reloads and you see the result instantly
|
|
14
|
-
|
|
15
|
-
You can make multiple rounds of changes in the same session. Rivet tracks each one and sends them cleanly.
|
|
9
|
+
1. **Start from your agent.** Use `/rivet` in Claude Code, or tell your agent "Use Rivet variants" or "Explore with Rivet" along with your design request.
|
|
10
|
+
2. **Connect design references** (optional). Click **Connect design references** in the editor to link your Pinterest or Are.na account. Include relevant pins or boards and Rivet will extract design context from them to inform the variants it generates.
|
|
11
|
+
3. **Refine with the comment tool.** Select any part of the UI and use the comment tool to make more precise variants of that section, or leave comments describing what you'd like to change within a variant.
|
|
12
|
+
4. **Share or implement.** When you're happy, click the **Share** button to get a shareable link you can send to a collaborator — or share it back to your coding agent to implement the chosen direction.
|
|
16
13
|
|
|
17
14
|
## Install
|
|
18
15
|
|
|
@@ -22,7 +19,7 @@ You can make multiple rounds of changes in the same session. Rivet tracks each o
|
|
|
22
19
|
claude mcp add --transport stdio --scope user rivet -- npx -y rivet-design@latest mcp --editor claude
|
|
23
20
|
```
|
|
24
21
|
|
|
25
|
-
**Option 2 — Run Rivet
|
|
22
|
+
**Option 2 — Run Rivet's installer** (adds Rivet globally via Claude Code CLI)
|
|
26
23
|
|
|
27
24
|
```bash
|
|
28
25
|
npx rivet-design install
|
|
@@ -32,20 +29,15 @@ No global install required. `npx` pulls the latest version each time.
|
|
|
32
29
|
|
|
33
30
|
## Usage
|
|
34
31
|
|
|
35
|
-
Once installed,
|
|
32
|
+
Once installed, tell your agent what you want to explore:
|
|
36
33
|
|
|
37
34
|
```
|
|
38
|
-
"
|
|
35
|
+
"Use Rivet variants to explore hero section designs"
|
|
36
|
+
"Explore with Rivet — show me options for the navigation"
|
|
37
|
+
"/rivet redesign the pricing page"
|
|
39
38
|
```
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
1. Detect your project framework and dev server port
|
|
44
|
-
2. Open Rivet in your browser
|
|
45
|
-
3. Wait for you to make changes and click **Send to Claude**
|
|
46
|
-
4. Apply the changes to your source files
|
|
47
|
-
|
|
48
|
-
Make as many rounds of edits as you need. When you're done, tell Claude to close the session.
|
|
40
|
+
Your agent will open Rivet, generate parallel design directions, and let you compare them side by side in the browser. Use the comment tool to refine, connect Pinterest or Are.na boards for design context, and share or implement when you're ready.
|
|
49
41
|
|
|
50
42
|
### Supported frameworks
|
|
51
43
|
|
|
@@ -55,25 +47,13 @@ Make as many rounds of edits as you need. When you're done, tell Claude to close
|
|
|
55
47
|
- Remix
|
|
56
48
|
- SvelteKit
|
|
57
49
|
|
|
58
|
-
Your dev server needs to be running before opening Rivet.
|
|
59
|
-
|
|
60
|
-
## MCP tools
|
|
61
|
-
|
|
62
|
-
Rivet exposes these tools to Claude Code:
|
|
63
|
-
|
|
64
|
-
| Tool | Description |
|
|
65
|
-
| --------------------- | ------------------------------------------------------------------------- |
|
|
66
|
-
| `detect_project` | Detects framework, package manager, and whether the dev server is running |
|
|
67
|
-
| `open_visual_editor` | Opens Rivet in the browser and starts a session |
|
|
68
|
-
| `watch_for_changes` | Blocks until you click Send to Claude, then returns your changes |
|
|
69
|
-
| `get_pending_changes` | Non-blocking check for pending changes |
|
|
70
|
-
| `close_visual_editor` | Ends the session and cleans up |
|
|
50
|
+
Your dev server needs to be running before opening Rivet. Your agent will give you the start command if it isn't.
|
|
71
51
|
|
|
72
52
|
## Requirements
|
|
73
53
|
|
|
74
54
|
- Node.js 18+
|
|
75
55
|
- A running local dev server (Vite, Next.js, etc.)
|
|
76
|
-
- Claude Code
|
|
56
|
+
- Claude Code, Cursor, or another MCP-compatible agent
|
|
77
57
|
|
|
78
58
|
## License
|
|
79
59
|
|