@waniwani/cli 0.0.5
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/LICENSE +21 -0
- package/README.md +103 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1234 -0
- package/dist/index.js.map +1 -0
- package/package.json +61 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 WaniWani, Inc. and contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# @waniwani/cli
|
|
2
|
+
|
|
3
|
+
CLI for [app.waniwani.ai](https://app.waniwani.ai) - MCP development workflow.
|
|
4
|
+
|
|
5
|
+
## Warning
|
|
6
|
+
|
|
7
|
+
This is **pre-alpha** software. Here's what that means:
|
|
8
|
+
|
|
9
|
+
- Everything will break
|
|
10
|
+
- APIs will change without notice
|
|
11
|
+
- Commands will be renamed, removed, or completely redesigned
|
|
12
|
+
- Your config files might get nuked
|
|
13
|
+
- We will not apologize
|
|
14
|
+
|
|
15
|
+
If you're not comfortable with that, wait for v1.0. If you open an issue complaining about breaking changes during pre-alpha, we will close it.
|
|
16
|
+
|
|
17
|
+
## What is WaniWani?
|
|
18
|
+
|
|
19
|
+
[WaniWani](https://app.waniwani.ai) is the Shopify of MCP servers — enabling quote-based businesses that sell complex services to deploy AI agents that capture leads, qualify customers, and generate quotes.
|
|
20
|
+
|
|
21
|
+
This CLI is how you interact with WaniWani from your terminal.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# npm
|
|
27
|
+
npm install -g @waniwani/cli
|
|
28
|
+
|
|
29
|
+
# pnpm
|
|
30
|
+
pnpm add -g @waniwani/cli
|
|
31
|
+
|
|
32
|
+
# yarn
|
|
33
|
+
yarn global add @waniwani/cli
|
|
34
|
+
|
|
35
|
+
# bun
|
|
36
|
+
bun add -g @waniwani/cli
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Requires Node.js 20 or later.
|
|
40
|
+
|
|
41
|
+
## Usage
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
# Authenticate
|
|
45
|
+
waniwani login
|
|
46
|
+
|
|
47
|
+
# Create an MCP sandbox
|
|
48
|
+
waniwani mcp create my-server
|
|
49
|
+
|
|
50
|
+
# Send tasks to Claude
|
|
51
|
+
waniwani task "Add a weather tool"
|
|
52
|
+
|
|
53
|
+
# Test your tools
|
|
54
|
+
waniwani mcp test
|
|
55
|
+
|
|
56
|
+
# Deploy to GitHub + Vercel
|
|
57
|
+
waniwani mcp deploy
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Commands
|
|
61
|
+
|
|
62
|
+
| Command | Description |
|
|
63
|
+
|---------|-------------|
|
|
64
|
+
| `login` | Authenticate with WaniWani |
|
|
65
|
+
| `logout` | Clear local credentials |
|
|
66
|
+
| `mcp create <name>` | Create a new MCP sandbox |
|
|
67
|
+
| `mcp list` | List your MCPs |
|
|
68
|
+
| `mcp use <name>` | Select active MCP |
|
|
69
|
+
| `mcp status` | Show current MCP status |
|
|
70
|
+
| `mcp test [tool]` | Test MCP tools |
|
|
71
|
+
| `mcp deploy` | Deploy to GitHub + Vercel |
|
|
72
|
+
| `mcp stop` | Stop and cleanup sandbox |
|
|
73
|
+
| `task <prompt>` | Send task to Claude |
|
|
74
|
+
| `org list` | List organizations |
|
|
75
|
+
| `org switch` | Switch organization |
|
|
76
|
+
|
|
77
|
+
## Configuration
|
|
78
|
+
|
|
79
|
+
The CLI stores auth tokens and settings in `~/.waniwani/`.
|
|
80
|
+
|
|
81
|
+
### Environment Variables
|
|
82
|
+
|
|
83
|
+
| Variable | Description | Default |
|
|
84
|
+
|----------|-------------|---------|
|
|
85
|
+
| `WANIWANI_API_URL` | API base URL | `https://app.waniwani.ai` |
|
|
86
|
+
|
|
87
|
+
To connect to a different environment (e.g., self-hosted):
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
WANIWANI_API_URL=https://another-waniwani-domain.ai waniwani login
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Or export it for the session:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
export WANIWANI_API_URL=https://staging.waniwani.com
|
|
97
|
+
waniwani login
|
|
98
|
+
waniwani mcp list
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## License
|
|
102
|
+
|
|
103
|
+
MIT
|
package/dist/index.d.ts
ADDED