50c 1.5.0 → 2.0.1
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 +49 -235
- package/bin/50c.js +210 -258
- package/lib/config.js +185 -0
- package/lib/core/tools.js +107 -0
- package/lib/index.js +166 -0
- package/lib/packs/beacon.js +224 -0
- package/lib/packs/cf.js +156 -0
- package/lib/packs/labs.js +188 -0
- package/lib/packs/labs_plus.js +246 -0
- package/lib/packs/ux.js +76 -0
- package/lib/packs/whm.js +228 -0
- package/lib/packs/wp.js +82 -0
- package/lib/packs.js +406 -0
- package/lib/vault.js +354 -0
- package/package.json +25 -11
- package/LICENSE +0 -31
package/README.md
CHANGED
|
@@ -1,110 +1,14 @@
|
|
|
1
|
-
# 50c
|
|
1
|
+
# 50c
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Quick Start
|
|
3
|
+
AI toolkit. One install, 100+ tools.
|
|
6
4
|
|
|
7
5
|
```bash
|
|
8
|
-
npx 50c
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
That's it. Auto-configures MCP for:
|
|
12
|
-
- **Desktop:** Claude Desktop, Cursor, VS Code, Windsurf, Verdent, Zed
|
|
13
|
-
- **Extensions:** Cline, Continue, Roo Code, Augment
|
|
14
|
-
- **JetBrains:** IntelliJ IDEA and other JetBrains IDEs
|
|
15
|
-
|
|
16
|
-
Get your API key at https://50c.ai and set it:
|
|
17
|
-
- **Windows:** System Properties → Environment Variables → Add `FIFTYC_API_KEY`
|
|
18
|
-
- **Mac/Linux:** `export FIFTYC_API_KEY="your-key"` in your shell profile
|
|
19
|
-
|
|
20
|
-
Restart your IDE.
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## CLI Mode (for Agents)
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
# Set key first
|
|
28
|
-
export FIFTYC_API_KEY="your-key"
|
|
29
|
-
|
|
30
|
-
# Deep problem solving ($0.50)
|
|
31
|
-
50c genius "How do I scale PostgreSQL to 10M rows?"
|
|
32
|
-
|
|
33
|
-
# Quick hints ($0.05)
|
|
34
|
-
50c hints "api design"
|
|
35
|
-
|
|
36
|
-
# Expanded hints ($0.10)
|
|
37
|
-
50c hints+ "microservices architecture"
|
|
38
|
-
|
|
39
|
-
# Creative ideas ($0.05)
|
|
40
|
-
50c vibe "building a CLI tool"
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
## MCP Mode (for IDEs)
|
|
46
|
-
|
|
47
|
-
`npx 50c install` handles this automatically. Manual config if needed:
|
|
48
|
-
|
|
49
|
-
### Claude Desktop
|
|
50
|
-
|
|
51
|
-
**Mac/Linux:** `~/.claude/claude_desktop_config.json`
|
|
52
|
-
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
53
|
-
|
|
54
|
-
```json
|
|
55
|
-
{
|
|
56
|
-
"mcpServers": {
|
|
57
|
-
"50c": {
|
|
58
|
-
"command": "npx",
|
|
59
|
-
"args": ["-y", "50c"],
|
|
60
|
-
"env": {
|
|
61
|
-
"FIFTYC_API_KEY": "<YOUR_API_KEY>"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### Cursor
|
|
69
|
-
|
|
70
|
-
**Config:** `~/.cursor/mcp.json`
|
|
71
|
-
|
|
72
|
-
```json
|
|
73
|
-
{
|
|
74
|
-
"mcpServers": {
|
|
75
|
-
"50c": {
|
|
76
|
-
"command": "npx",
|
|
77
|
-
"args": ["-y", "50c"],
|
|
78
|
-
"env": {
|
|
79
|
-
"FIFTYC_API_KEY": "<YOUR_API_KEY>"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### VS Code (Copilot)
|
|
87
|
-
|
|
88
|
-
**Config:** `.vscode/mcp.json`
|
|
89
|
-
|
|
90
|
-
```json
|
|
91
|
-
{
|
|
92
|
-
"servers": {
|
|
93
|
-
"50c": {
|
|
94
|
-
"command": "npx",
|
|
95
|
-
"args": ["-y", "50c"],
|
|
96
|
-
"env": {
|
|
97
|
-
"FIFTYC_API_KEY": "<YOUR_API_KEY>"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
6
|
+
npx 50c
|
|
102
7
|
```
|
|
103
8
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
**Config:** `~/.codeium/windsurf/mcp_config.json`
|
|
9
|
+
## Setup
|
|
107
10
|
|
|
11
|
+
**Verdent / Cursor / Claude Desktop:**
|
|
108
12
|
```json
|
|
109
13
|
{
|
|
110
14
|
"mcpServers": {
|
|
@@ -112,160 +16,70 @@ export FIFTYC_API_KEY="your-key"
|
|
|
112
16
|
"command": "npx",
|
|
113
17
|
"args": ["-y", "50c"],
|
|
114
18
|
"env": {
|
|
115
|
-
"FIFTYC_API_KEY": "
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
### Zed
|
|
123
|
-
|
|
124
|
-
**Config:** `~/.config/zed/settings.json`
|
|
125
|
-
|
|
126
|
-
```json
|
|
127
|
-
{
|
|
128
|
-
"context_servers": {
|
|
129
|
-
"50c": {
|
|
130
|
-
"command": {
|
|
131
|
-
"path": "npx",
|
|
132
|
-
"args": ["-y", "50c"],
|
|
133
|
-
"env": {
|
|
134
|
-
"FIFTYC_API_KEY": "<YOUR_API_KEY>"
|
|
135
|
-
}
|
|
19
|
+
"FIFTYC_API_KEY": "your-key"
|
|
136
20
|
}
|
|
137
21
|
}
|
|
138
22
|
}
|
|
139
23
|
}
|
|
140
24
|
```
|
|
141
25
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
## Tools & Pricing
|
|
145
|
-
|
|
146
|
-
| Tool | Cost | Description |
|
|
147
|
-
|------|------|-------------|
|
|
148
|
-
| `genius` | $0.50 | Deep problem solving with research |
|
|
149
|
-
| `hints` | $0.05 | 5 brutal 2-word hints |
|
|
150
|
-
| `hints+` | $0.10 | 10 expanded hints (4 words each) |
|
|
151
|
-
| `vibe` | $0.05 | 3 unconventional ideas |
|
|
152
|
-
|
|
153
|
-
---
|
|
154
|
-
|
|
155
|
-
## Unified API: genxis.one
|
|
156
|
-
|
|
157
|
-
**One bare root. Every capability. Streaming-first.**
|
|
158
|
-
|
|
159
|
-
`https://genxis.one` is the unified gateway—no versioned paths, no fragmented endpoints. Just POST to root.
|
|
160
|
-
|
|
161
|
-
### Why This Matters
|
|
162
|
-
|
|
163
|
-
Traditional APIs scatter functionality across dozens of endpoints. We plant the flag for the future: **one URL, infinite capabilities, streaming by default.**
|
|
164
|
-
|
|
165
|
-
```
|
|
166
|
-
POST https://genxis.one
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
That's it. The body determines everything.
|
|
170
|
-
|
|
171
|
-
### Single Tool Call
|
|
172
|
-
|
|
26
|
+
**CLI:**
|
|
173
27
|
```bash
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
28
|
+
npx 50c status
|
|
29
|
+
npx 50c discover
|
|
30
|
+
npx 50c enable beacon
|
|
177
31
|
```
|
|
178
32
|
|
|
179
|
-
|
|
33
|
+
## Free Tools
|
|
180
34
|
|
|
181
|
-
|
|
35
|
+
| Tool | What it does |
|
|
36
|
+
|------|-------------|
|
|
37
|
+
| `web_search` | Search the web |
|
|
38
|
+
| `page_fetch` | Fetch any URL |
|
|
39
|
+
| `domain_check` | Check domain availability |
|
|
40
|
+
| `vault_*` | Secure credential storage |
|
|
182
41
|
|
|
183
|
-
|
|
184
|
-
curl -X POST https://genxis.one \
|
|
185
|
-
-H "Content-Type: application/json" \
|
|
186
|
-
-d '{"chain": ["vibe", "hints+"], "q": "your idea"}'
|
|
187
|
-
```
|
|
42
|
+
## Starter ($29/mo)
|
|
188
43
|
|
|
189
|
-
|
|
44
|
+
| Tool | What it does |
|
|
45
|
+
|------|-------------|
|
|
46
|
+
| `hints` | 5 brutal hints, 2 words each |
|
|
47
|
+
| `roast` | Code review - 3 flaws + fixes |
|
|
48
|
+
| `quick_vibe` | 3 unconventional ideas |
|
|
49
|
+
| `name_it` | 5 names + domain check |
|
|
50
|
+
| `price_it` | SaaS pricing strategy |
|
|
51
|
+
| `compute` | Run Python (sandboxed) |
|
|
190
52
|
|
|
191
|
-
|
|
53
|
+
## Pro ($99/mo)
|
|
192
54
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
55
|
+
| Tool | What it does |
|
|
56
|
+
|------|-------------|
|
|
57
|
+
| `genius` | Deep problem solving |
|
|
58
|
+
| `mind_opener` | 5 angles before solving |
|
|
59
|
+
| `bcalc` | Mathematical discovery |
|
|
60
|
+
| `context_*` | Lost-in-middle mitigation |
|
|
61
|
+
| `cf_*` | Full Cloudflare control |
|
|
62
|
+
| `wp_*` | WordPress management |
|
|
198
63
|
|
|
199
|
-
|
|
64
|
+
## Enterprise ($499/mo)
|
|
200
65
|
|
|
201
|
-
|
|
66
|
+
| Tool | What it does |
|
|
67
|
+
|------|-------------|
|
|
68
|
+
| `genius_plus` | Self-improving code gen |
|
|
69
|
+
| `cvi_loop` | Constraint-verified intelligence |
|
|
70
|
+
| `discovery_collision` | Tool combination engine |
|
|
71
|
+
| `whm_*` | Full WHM/cPanel/SSH |
|
|
202
72
|
|
|
203
|
-
|
|
204
|
-
curl -X POST https://genxis.one \
|
|
205
|
-
-H "Content-Type: application/json" \
|
|
206
|
-
-d '{"m": "genius", "q": "problem", "stream": true}'
|
|
207
|
-
```
|
|
73
|
+
## How It Works
|
|
208
74
|
|
|
209
|
-
|
|
75
|
+
Say "enable beacon" → tools appear. Say "list cloudflare zones" → LLM enables cf pack automatically.
|
|
210
76
|
|
|
211
|
-
|
|
77
|
+
Works locally (fast) or cloud (Replit/Lovable).
|
|
212
78
|
|
|
213
|
-
|
|
214
|
-
curl -X POST https://genxis.one/v1/chat/completions \
|
|
215
|
-
-H "Content-Type: application/json" \
|
|
216
|
-
-d '{"model": "50c-genius", "messages": [{"role": "user", "content": "problem"}]}'
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
### Available Models
|
|
79
|
+
## Links
|
|
220
80
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
| `genius` | $0.50 | Deep problem solving |
|
|
224
|
-
| `hints` | $0.05 | 5 brutal 2-word hints |
|
|
225
|
-
| `hints+` | $0.10 | 10 expanded 4-word hints |
|
|
226
|
-
| `vibe` | $0.05 | 3 unconventional ideas |
|
|
227
|
-
| `one-liner` | $0.02 | 8-word elevator pitch |
|
|
228
|
-
| `roast` | $0.05 | Brutal code review |
|
|
229
|
-
| `name-it` | $0.03 | 5 names + domain check |
|
|
230
|
-
| `price-it` | $0.05 | SaaS pricing strategy |
|
|
231
|
-
| `compute` | $0.02 | Execute Python code |
|
|
232
|
-
| `mind-opener` | $0.08 | 5 curious angles |
|
|
81
|
+
- [50c.ai](https://50c.ai) - Get API key
|
|
82
|
+
- [Docs](https://docs.50c.ai) - Full documentation
|
|
233
83
|
|
|
234
84
|
---
|
|
235
|
-
|
|
236
|
-
## Environment Variables
|
|
237
|
-
|
|
238
|
-
| Variable | Description |
|
|
239
|
-
|----------|-------------|
|
|
240
|
-
| `FIFTYC_API_KEY` | Your API key (required) |
|
|
241
|
-
| `FIFTYC_ENDPOINT` | Custom endpoint (optional) |
|
|
242
|
-
|
|
243
|
-
---
|
|
244
|
-
|
|
245
|
-
## SDK
|
|
246
|
-
|
|
247
|
-
For programmatic use in Node.js, browsers, or Cloudflare Workers:
|
|
248
|
-
|
|
249
|
-
```bash
|
|
250
|
-
npm install 50c-sdk
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
```typescript
|
|
254
|
-
import { FiftyC } from '50c-sdk';
|
|
255
|
-
const ai = new FiftyC('your-key');
|
|
256
|
-
const answer = await ai.genius('your problem');
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
---
|
|
260
|
-
|
|
261
|
-
## Hosted IDEs
|
|
262
|
-
|
|
263
|
-
For Bolt.new, Replit, Lovable, Mocha, v0.dev, and other hosted environments:
|
|
264
|
-
|
|
265
|
-
1. Go to MCP/Tools settings in your IDE
|
|
266
|
-
2. Add command: `npx -y 50c`
|
|
267
|
-
3. Set env: `FIFTYC_API_KEY=your-key`
|
|
268
|
-
|
|
269
|
-
---
|
|
270
|
-
|
|
271
|
-
**Built by genxis**
|
|
85
|
+
*genxis.com*
|