50c 1.4.1 → 2.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 CHANGED
@@ -1,57 +1,14 @@
1
- # 50c - AI Augmentation CLI & MCP Server
1
+ # 50c
2
2
 
3
- **Augment any AI with genius-level problem solving**
4
-
5
- Works as both:
6
- - **CLI** for agents and scripts
7
- - **MCP server** for IDEs (Claude Desktop, Cursor, VS Code, etc.)
8
-
9
- ---
10
-
11
- ## CLI Mode (for Agents)
3
+ AI toolkit. One install, 100+ tools.
12
4
 
13
5
  ```bash
14
- # Install globally (optional)
15
- npm install -g 50c
16
-
17
- # Or use directly with npx
18
- export FIFTYC_API_KEY="your-key"
19
-
20
- # Deep problem solving ($0.50)
21
- 50c genius "How do I scale PostgreSQL to 10M rows?"
22
-
23
- # Quick hints ($0.05)
24
- 50c hints "api design"
25
-
26
- # Expanded hints ($0.10)
27
- 50c hints+ "microservices architecture"
28
-
29
- # Creative ideas ($0.05)
30
- 50c vibe "building a CLI tool"
6
+ npx 50c
31
7
  ```
32
8
 
33
- **Agent-friendly:** Output is plain text, ready for piping:
34
-
35
- ```bash
36
- # Use in scripts
37
- ANSWER=$(50c genius "Fix this SQL query")
38
- echo "$ANSWER" | grep "SELECT"
39
-
40
- # Chain with other tools
41
- 50c hints "caching strategies" | head -3
42
- ```
43
-
44
- ---
45
-
46
- ## MCP Mode (for IDEs)
47
-
48
- When run without arguments, starts JSON-RPC server on stdin/stdout.
49
-
50
- ### Claude Desktop
51
-
52
- **Mac/Linux:** `~/.claude/claude_desktop_config.json`
53
- **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
9
+ ## Setup
54
10
 
11
+ **Verdent / Cursor / Claude Desktop:**
55
12
  ```json
56
13
  {
57
14
  "mcpServers": {
@@ -59,204 +16,70 @@ When run without arguments, starts JSON-RPC server on stdin/stdout.
59
16
  "command": "npx",
60
17
  "args": ["-y", "50c"],
61
18
  "env": {
62
- "FIFTYC_API_KEY": "<YOUR_API_KEY>"
19
+ "FIFTYC_API_KEY": "your-key"
63
20
  }
64
21
  }
65
22
  }
66
23
  }
67
24
  ```
68
25
 
69
- ### Cursor
70
-
71
- **Config:** `~/.cursor/mcp.json`
72
-
73
- ```json
74
- {
75
- "mcpServers": {
76
- "50c": {
77
- "command": "npx",
78
- "args": ["-y", "50c"],
79
- "env": {
80
- "FIFTYC_API_KEY": "<YOUR_API_KEY>"
81
- }
82
- }
83
- }
84
- }
85
- ```
86
-
87
- ### VS Code (Copilot)
88
-
89
- **Config:** `.vscode/mcp.json`
90
-
91
- ```json
92
- {
93
- "servers": {
94
- "50c": {
95
- "command": "npx",
96
- "args": ["-y", "50c"],
97
- "env": {
98
- "FIFTYC_API_KEY": "<YOUR_API_KEY>"
99
- }
100
- }
101
- }
102
- }
103
- ```
104
-
105
- ### Windsurf
106
-
107
- **Config:** `~/.codeium/windsurf/mcp_config.json`
108
-
109
- ```json
110
- {
111
- "mcpServers": {
112
- "50c": {
113
- "command": "npx",
114
- "args": ["-y", "50c"],
115
- "env": {
116
- "FIFTYC_API_KEY": "<YOUR_API_KEY>"
117
- }
118
- }
119
- }
120
- }
121
- ```
122
-
123
- ### Zed
124
-
125
- **Config:** `~/.config/zed/settings.json`
126
-
127
- ```json
128
- {
129
- "context_servers": {
130
- "50c": {
131
- "command": {
132
- "path": "npx",
133
- "args": ["-y", "50c"],
134
- "env": {
135
- "FIFTYC_API_KEY": "<YOUR_API_KEY>"
136
- }
137
- }
138
- }
139
- }
140
- }
141
- ```
142
-
143
- ---
144
-
145
- ## Tools & Pricing
146
-
147
- | Tool | Cost | Description |
148
- |------|------|-------------|
149
- | `genius` | $0.50 | Deep problem solving with research |
150
- | `hints` | $0.05 | 5 brutal 2-word hints |
151
- | `hints+` | $0.10 | 10 expanded hints (4 words each) |
152
- | `vibe` | $0.05 | 3 unconventional ideas |
153
-
154
- ---
155
-
156
- ## Unified API: genxis.one
157
-
158
- **One bare root. Every capability. Streaming-first.**
159
-
160
- `https://genxis.one` is the unified gateway—no versioned paths, no fragmented endpoints. Just POST to root.
161
-
162
- ### Why This Matters
163
-
164
- Traditional APIs scatter functionality across dozens of endpoints. We plant the flag for the future: **one URL, infinite capabilities, streaming by default.**
165
-
166
- ```
167
- POST https://genxis.one
168
- ```
169
-
170
- That's it. The body determines everything.
171
-
172
- ### Single Tool Call
173
-
174
- ```bash
175
- curl -X POST https://genxis.one \
176
- -H "Content-Type: application/json" \
177
- -d '{"m": "genius", "q": "your problem"}'
178
- ```
179
-
180
- ### Recipe Chains (Composable AI)
181
-
182
- Chain multiple tools in one request. Output flows through each step:
183
-
184
- ```bash
185
- curl -X POST https://genxis.one \
186
- -H "Content-Type: application/json" \
187
- -d '{"chain": ["vibe", "hints+"], "q": "your idea"}'
188
- ```
189
-
190
- ### Parallel Execution
191
-
192
- Run multiple tools simultaneously:
193
-
26
+ **CLI:**
194
27
  ```bash
195
- curl -X POST https://genxis.one \
196
- -H "Content-Type: application/json" \
197
- -d '{"parallel": ["hints", "vibe"], "q": "your idea"}'
28
+ npx 50c status
29
+ npx 50c discover
30
+ npx 50c enable beacon
198
31
  ```
199
32
 
200
- ### Streaming (SSE)
201
-
202
- Add `"stream": true` to any request for server-sent events:
33
+ ## Free Tools
203
34
 
204
- ```bash
205
- curl -X POST https://genxis.one \
206
- -H "Content-Type: application/json" \
207
- -d '{"m": "genius", "q": "problem", "stream": true}'
208
- ```
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 |
209
41
 
210
- ### OpenAI-Compatible
211
-
212
- Drop-in replacement for existing integrations:
213
-
214
- ```bash
215
- curl -X POST https://genxis.one/v1/chat/completions \
216
- -H "Content-Type: application/json" \
217
- -d '{"model": "50c-genius", "messages": [{"role": "user", "content": "problem"}]}'
218
- ```
42
+ ## Starter ($29/mo)
219
43
 
220
- ### Available Models
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) |
221
52
 
222
- | Model | Cost | Use Case |
223
- |-------|------|----------|
224
- | `genius` | $0.50 | Deep problem solving |
225
- | `hints` | $0.05 | 5 brutal 2-word hints |
226
- | `hints+` | $0.10 | 10 expanded 4-word hints |
227
- | `vibe` | $0.05 | 3 unconventional ideas |
228
- | `one-liner` | $0.02 | 8-word elevator pitch |
229
- | `roast` | $0.05 | Brutal code review |
230
- | `name-it` | $0.03 | 5 names + domain check |
231
- | `price-it` | $0.05 | SaaS pricing strategy |
232
- | `compute` | $0.02 | Execute Python code |
233
- | `mind-opener` | $0.08 | 5 curious angles |
53
+ ## Pro ($99/mo)
234
54
 
235
- ---
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 |
236
63
 
237
- ## Environment Variables
64
+ ## Enterprise ($499/mo)
238
65
 
239
- | Variable | Description |
240
- |----------|-------------|
241
- | `FIFTYC_API_KEY` | Your API key (required) |
242
- | `FIFTYC_ENDPOINT` | Custom endpoint (optional) |
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 |
243
72
 
244
- ---
73
+ ## How It Works
245
74
 
246
- ## SDK
75
+ Say "enable beacon" → tools appear. Say "list cloudflare zones" → LLM enables cf pack automatically.
247
76
 
248
- For programmatic use in Node.js, browsers, or Cloudflare Workers:
77
+ Works locally (fast) or cloud (Replit/Lovable).
249
78
 
250
- ```bash
251
- npm install 50c-sdk
252
- ```
79
+ ## Links
253
80
 
254
- ```typescript
255
- import { FiftyC } from '50c-sdk';
256
- const ai = new FiftyC('your-key');
257
- const answer = await ai.genius('your problem');
258
- ```
81
+ - [50c.ai](https://50c.ai) - Get API key
82
+ - [Docs](https://docs.50c.ai) - Full documentation
259
83
 
260
84
  ---
261
-
262
- **Built by genxis**
85
+ *genxis.com*