@learnrudi/cli 1.4.0 → 1.6.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 +60 -63
- package/dist/index.cjs +2289 -891
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,92 +1,89 @@
|
|
|
1
|
-
#
|
|
1
|
+
# RUDI CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Install and manage MCP stacks, runtimes, and AI agents.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm i -g @
|
|
8
|
+
npm i -g @learnrudi/cli
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Quick Start
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
#
|
|
15
|
-
|
|
14
|
+
# Search available stacks
|
|
15
|
+
rudi search --all
|
|
16
16
|
|
|
17
17
|
# Install a stack
|
|
18
|
-
|
|
18
|
+
rudi install slack
|
|
19
19
|
|
|
20
|
-
#
|
|
21
|
-
|
|
20
|
+
# Configure secrets
|
|
21
|
+
rudi secrets set SLACK_BOT_TOKEN "xoxb-your-token"
|
|
22
22
|
|
|
23
|
-
#
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
## Commands
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
pstack search <query> # Search for packages
|
|
30
|
-
pstack search --all # List all packages
|
|
31
|
-
pstack install <pkg> # Install a package
|
|
32
|
-
pstack remove <pkg> # Remove a package
|
|
33
|
-
pstack list [kind] # List installed (stacks, runtimes, binaries, agents)
|
|
34
|
-
pstack update [pkg] # Update packages
|
|
35
|
-
pstack doctor # Check system health
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Available Stacks
|
|
23
|
+
# Wire up your agents (Claude, Gemini, VS Code, etc.)
|
|
24
|
+
rudi integrate all
|
|
39
25
|
|
|
40
|
-
|
|
41
|
-
|-------|-------------|------|
|
|
42
|
-
| `stack:postgres` | Query PostgreSQL databases | DATABASE_URL |
|
|
43
|
-
| `stack:slack` | Send messages, search channels | SLACK_BOT_TOKEN |
|
|
44
|
-
| `stack:notion-workspace` | Pages, databases, search | NOTION_API_KEY |
|
|
45
|
-
| `stack:google-workspace` | Gmail, Sheets, Docs, Drive, Calendar | OAuth |
|
|
46
|
-
| `stack:google-ai` | Gemini, Imagen, Veo | GOOGLE_AI_API_KEY |
|
|
47
|
-
| `stack:openai` | DALL-E, Whisper, TTS, Sora | OPENAI_API_KEY |
|
|
48
|
-
| `stack:zoho-mail` | Email via Zoho | OAuth |
|
|
49
|
-
| `stack:content-extractor` | YouTube, Reddit, TikTok transcripts | - |
|
|
50
|
-
| `stack:video-editor` | Trim, speed, compress videos | - |
|
|
51
|
-
| `stack:ms-office` | Read Word/Excel files | - |
|
|
52
|
-
| `stack:whisper` | Local audio transcription | - |
|
|
53
|
-
|
|
54
|
-
## Secrets
|
|
55
|
-
|
|
56
|
-
Each stack has its own `.env` file:
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
~/.prompt-stack/stacks/<stack>/.env
|
|
26
|
+
# Restart your agent to use the new stack
|
|
60
27
|
```
|
|
61
28
|
|
|
62
|
-
|
|
29
|
+
## Commands
|
|
63
30
|
|
|
64
31
|
```bash
|
|
65
|
-
#
|
|
66
|
-
|
|
32
|
+
rudi search <query> # Search for packages
|
|
33
|
+
rudi search --all # List all packages
|
|
34
|
+
rudi install <pkg> # Install a package
|
|
35
|
+
rudi remove <pkg> # Remove a package
|
|
36
|
+
rudi list [kind] # List installed (stacks, runtimes, binaries, agents)
|
|
37
|
+
rudi secrets list # Show configured secrets
|
|
38
|
+
rudi secrets set <key> # Set a secret
|
|
39
|
+
rudi integrate <agent> # Wire stack to agent config
|
|
40
|
+
rudi update [pkg] # Update packages
|
|
41
|
+
rudi doctor # Check system health
|
|
67
42
|
```
|
|
68
43
|
|
|
69
|
-
Secrets are automatically injected into Claude, Codex, and Gemini configs.
|
|
70
|
-
|
|
71
44
|
## How It Works
|
|
72
45
|
|
|
73
|
-
1. `
|
|
74
|
-
2.
|
|
75
|
-
3.
|
|
76
|
-
4.
|
|
77
|
-
5. Claude/Codex/Gemini can now use the tools
|
|
46
|
+
1. `rudi install slack` downloads the MCP server tarball from GitHub releases
|
|
47
|
+
2. Extracts to `~/.rudi/stacks/slack/`
|
|
48
|
+
3. Runs `npm install` to install dependencies
|
|
49
|
+
4. Shows which secrets need to be configured
|
|
78
50
|
|
|
79
|
-
|
|
51
|
+
When an agent runs the stack:
|
|
52
|
+
1. Agent config points to `~/.rudi/shims/rudi-mcp`
|
|
53
|
+
2. Shim calls `rudi mcp slack`
|
|
54
|
+
3. RUDI loads secrets from `~/.rudi/secrets.json`
|
|
55
|
+
4. Injects secrets as environment variables
|
|
56
|
+
5. Runs the MCP server with bundled runtime
|
|
57
|
+
|
|
58
|
+
## Directory Structure
|
|
80
59
|
|
|
81
60
|
```
|
|
82
|
-
~/.
|
|
83
|
-
├── stacks/ # MCP
|
|
84
|
-
├── runtimes/ # Node, Python
|
|
85
|
-
├──
|
|
86
|
-
├──
|
|
87
|
-
|
|
61
|
+
~/.rudi/
|
|
62
|
+
├── stacks/ # Installed MCP stacks
|
|
63
|
+
├── runtimes/ # Bundled Node.js, Python
|
|
64
|
+
├── tools/ # Binaries (ffmpeg, ripgrep, etc.)
|
|
65
|
+
├── shims/ # Shim scripts for agent configs
|
|
66
|
+
├── secrets.json # Encrypted secrets (0600 permissions)
|
|
67
|
+
└── rudi.db # Local database
|
|
88
68
|
```
|
|
89
69
|
|
|
90
|
-
##
|
|
70
|
+
## Available Stacks
|
|
91
71
|
|
|
92
|
-
|
|
72
|
+
| Stack | Description |
|
|
73
|
+
|-------|-------------|
|
|
74
|
+
| slack | Send messages, search channels, manage reactions |
|
|
75
|
+
| google-workspace | Gmail, Sheets, Docs, Drive, Calendar |
|
|
76
|
+
| notion-workspace | Pages, databases, search |
|
|
77
|
+
| google-ai | Gemini, Imagen, Veo |
|
|
78
|
+
| openai | DALL-E, Whisper, TTS, Sora |
|
|
79
|
+
| postgres | PostgreSQL database queries |
|
|
80
|
+
| video-editor | ffmpeg-based video editing |
|
|
81
|
+
| content-extractor | YouTube, Reddit, TikTok, articles |
|
|
82
|
+
| github | Issues, PRs, repos, actions |
|
|
83
|
+
| stripe | Payments, subscriptions, invoices |
|
|
84
|
+
|
|
85
|
+
## Links
|
|
86
|
+
|
|
87
|
+
- Website: https://learnrudi.com
|
|
88
|
+
- Registry: https://github.com/learn-rudi/registry
|
|
89
|
+
- Issues: https://github.com/learn-rudi/cli/issues
|