50c 1.0.8 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -201,6 +201,27 @@ No subscriptions. Credits never expire.
201
201
 
202
202
  ---
203
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
+
204
225
  ## Troubleshooting
205
226
 
206
227
  **"FIFTYC_API_KEY environment variable required"**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "50c",
3
- "version": "1.0.8",
4
- "description": "Genius-level problem solving for any IDE. $0.50 per problem solved. Product of genxis.com.",
3
+ "version": "1.1.0",
4
+ "description": "AI hints + genius mode. hints=$0.05 (5x2 words), hints_plus=$0.10 (10x4 words), genius_mode=$0.50. Product of genxis.com.",
5
5
  "bin": {
6
6
  "50c": "./bin/50c.js"
7
7
  },