50c 1.0.7 → 1.0.9

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.
Files changed (2) hide show
  1. package/README.md +23 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,12 +12,9 @@ MCP server that augments ANY AI with genius-level problem solving.
12
12
  ### 1. Get API Key
13
13
  Visit https://genxis.com/50c
14
14
 
15
- ### 2. Install
16
- ```bash
17
- npm install -g 50c
18
- ```
15
+ ### 2. Configure Your IDE (pick one)
19
16
 
20
- ### 3. Configure Your IDE (pick one)
17
+ > `npx -y 50c` auto-downloads on first run - no install needed!
21
18
 
22
19
  ---
23
20
 
@@ -204,6 +201,27 @@ No subscriptions. Credits never expire.
204
201
 
205
202
  ---
206
203
 
204
+ ## Web Apps & Cloudflare Workers
205
+
206
+ For programmatic access (not IDE integration), use the SDK:
207
+
208
+ ```bash
209
+ npm install 50c-sdk
210
+ ```
211
+
212
+ ```typescript
213
+ import { FiftyC } from '50c-sdk';
214
+
215
+ const ai = new FiftyC('your-api-key');
216
+ const answer = await ai.genius('How do I optimize this SQL query?');
217
+ ```
218
+
219
+ Works in Node.js, browsers, Cloudflare Workers, Deno, Bun.
220
+
221
+ See [50c-sdk on npm](https://www.npmjs.com/package/50c-sdk) for full API docs.
222
+
223
+ ---
224
+
207
225
  ## Troubleshooting
208
226
 
209
227
  **"FIFTYC_API_KEY environment variable required"**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "50c",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Genius-level problem solving for any IDE. $0.50 per problem solved. Product of genxis.com.",
5
5
  "bin": {
6
6
  "50c": "./bin/50c.js"