drafted 1.0.0
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 +32 -0
- package/cli/drafted.mjs +1133 -0
- package/cli/prompts.mjs +156 -0
- package/mcp/server.mjs +1024 -0
- package/package.json +37 -0
- package/shared/constants.mjs +33 -0
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Drafted
|
|
2
|
+
|
|
3
|
+
Design workspace for AI agents. MCP server and CLI for creating and managing designs on a collaborative surface.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g drafted
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### As an MCP server (for Claude Desktop, Claude Code, Cursor)
|
|
14
|
+
|
|
15
|
+
The MCP server is automatically available after install:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
drafted-mcp
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### As a CLI
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
drafted login
|
|
25
|
+
drafted ls
|
|
26
|
+
drafted write designs/default/hero.html < design.html
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Links
|
|
30
|
+
|
|
31
|
+
- **App**: https://drafted.live
|
|
32
|
+
- **Docs**: https://drafted.live
|