50c 3.9.0 → 3.9.2

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
@@ -95,20 +95,6 @@ Add to your IDE's MCP config (`~/.cursor/mcp.json`, etc.):
95
95
  | `ux_contrast_check`, `ux_spacing_system` | UI/UX utilities (FREE) |
96
96
  | `ux_color_palette`, `ux_a11y_check`, `ux_roast` | UI/UX analysis ($0.02-$0.05) |
97
97
 
98
- ### Marketplace (50c-sub)
99
-
100
- Create and share reusable AI macros:
101
-
102
- | Tool | Cost | Description |
103
- |------|------|-------------|
104
- | `sub_mint` | $5.00 | Mint workflow as reusable macro |
105
- | `sub_run` | ~$2.00 | Run a minted macro |
106
- | `sub_list`, `sub_get`, `sub_discover` | FREE | Browse macros |
107
- | `sub_clone` | FREE | Clone public macro to your collection |
108
- | `sub_set_public` | FREE | List macro on marketplace |
109
-
110
- Creators earn 60% revenue share on marketplace sales.
111
-
112
98
  ## 50c Team
113
99
 
114
100
  Natural language orchestration - describe what you want, Team picks the right tools:
package/lib/subagent.js CHANGED
@@ -16,12 +16,18 @@ const http = require('http');
16
16
  const fs = require('fs');
17
17
  const path = require('path');
18
18
 
19
- // Known servers (can be extended via config)
20
- const KNOWN_SERVERS = {
21
- 'nj': { host: '172.93.101.193', user: 'root', name: 'NJ Production' },
22
- 'zurich': { host: '89.21.66.24', user: 'root', name: 'Zurich' },
23
- 'chicago': { host: 'chicago.50c.ai', user: 'root', name: 'Chicago' }
24
- };
19
+ // User-configured servers loaded from ~/.50c/servers.json
20
+ // Run: 50c servers add <alias> <host> <user> to configure
21
+ function loadUserServers() {
22
+ try {
23
+ const serversPath = path.join(require('os').homedir(), '.50c', 'servers.json');
24
+ if (fs.existsSync(serversPath)) {
25
+ return JSON.parse(fs.readFileSync(serversPath, 'utf8'));
26
+ }
27
+ } catch (e) {}
28
+ return {};
29
+ }
30
+ const KNOWN_SERVERS = loadUserServers();
25
31
 
26
32
  /**
27
33
  * HTTP/HTTPS fetch - no shell, pure Node
@@ -43,7 +49,7 @@ async function httpFetch(url, options = {}) {
43
49
  ...(bodyData ? { 'Content-Length': Buffer.byteLength(bodyData) } : {})
44
50
  },
45
51
  timeout: options.timeout || 30000,
46
- rejectUnauthorized: false // Allow self-signed certs
52
+ // TLS certificate validation enabled for security
47
53
  };
48
54
 
49
55
  const req = lib.request(reqOptions, (res) => {
package/lib/team.js CHANGED
@@ -326,11 +326,6 @@ const TOOL_CAPABILITIES = {
326
326
  ux_roast: { keywords: ['ux review', 'ui critique', 'design review'], desc: 'Roast UI/UX' },
327
327
  ux_copy_improve: { keywords: ['improve copy', 'better text', 'ux writing'], desc: 'Improve UI copy' },
328
328
 
329
- // Macros
330
- sub_list: { keywords: ['my macros', 'list macros', 'saved workflows'], desc: 'List macros' },
331
- sub_run: { keywords: ['run macro', 'execute macro'], desc: 'Run a macro' },
332
- sub_discover: { keywords: ['marketplace', 'browse macros', 'find macros'], desc: 'Browse marketplace' },
333
-
334
329
  // Handoff
335
330
  handoff: { keywords: ['handoff', 'document', 'summary', 'wrap up', 'status'], desc: 'Generate handoff doc' }
336
331
  };
package/package.json CHANGED
@@ -1,39 +1,39 @@
1
- {
2
- "name": "50c",
3
- "version": "3.9.0",
4
- "description": "AI developer tools via MCP. Pay-per-use from $0.01. No subscriptions.",
5
- "bin": {
6
- "50c": "./bin/50c.js"
7
- },
8
- "scripts": {
9
- "postinstall": "node -e \"console.log('\\n50c Hub installed. Run: 50c install\\n')\""
10
- },
11
- "keywords": [
12
- "mcp",
13
- "ai",
14
- "llm",
15
- "cli",
16
- "agent",
17
- "50c",
18
- "hints",
19
- "genius",
20
- "beacon",
21
- "developer-tools",
22
- "context",
23
- "compression",
24
- "caz",
25
- "file-memory"
26
- ],
27
- "author": "genxis",
28
- "license": "SEE LICENSE IN LICENSE",
29
- "homepage": "https://50c.ai",
30
- "engines": {
31
- "node": ">=18.0.0"
32
- },
33
- "files": [
34
- "bin/",
35
- "lib/",
36
- "README.md",
37
- "LICENSE"
38
- ]
39
- }
1
+ {
2
+ "name": "50c",
3
+ "version": "3.9.2",
4
+ "description": "AI developer tools via MCP. Pay-per-use from $0.01. No subscriptions.",
5
+ "bin": {
6
+ "50c": "./bin/50c.js"
7
+ },
8
+ "scripts": {
9
+ "postinstall": "node -e \"console.log('\\n50c Hub installed. Run: 50c install\\n')\""
10
+ },
11
+ "keywords": [
12
+ "mcp",
13
+ "ai",
14
+ "llm",
15
+ "cli",
16
+ "agent",
17
+ "50c",
18
+ "hints",
19
+ "genius",
20
+ "beacon",
21
+ "developer-tools",
22
+ "context",
23
+ "compression",
24
+ "caz",
25
+ "file-memory"
26
+ ],
27
+ "author": "genxis",
28
+ "license": "SEE LICENSE IN LICENSE",
29
+ "homepage": "https://50c.ai",
30
+ "engines": {
31
+ "node": ">=18.0.0"
32
+ },
33
+ "files": [
34
+ "bin/",
35
+ "lib/",
36
+ "README.md",
37
+ "LICENSE"
38
+ ]
39
+ }