Skip to content

Commit 99b087a

Browse files
0xrinegadeclaude
andcommitted
docs: update all references from rpc-manager to rpc command
Update documentation, examples, and helper files to reflect the renamed 'rpc' command throughout the codebase. This ensures consistency across all documentation and examples. Files updated: - Documentation (.md files) - Configuration files (.claude_rules, .clinerules, .cursorrules) - Examples and test scripts - Installation scripts - Source code comments All references to 'osvm rpc-manager' are now 'osvm rpc'. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent b954640 commit 99b087a

22 files changed

+59
-59
lines changed

.claude_rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ solana-keygen new --no-bip39-passphrase --outfile /tmp/test-keypair.json
2323
osvm --keypair /tmp/test-keypair.json <command>
2424

2525
# CORRECT - Use explicit test keypair
26-
osvm rpc-manager devnet --keypair /tmp/test-keypair.json
26+
osvm rpc devnet --keypair /tmp/test-keypair.json
2727

2828
# WRONG - Never do this
2929
solana-keygen new --force --outfile ~/.config/solana/id.json # ❌ NEVER!

.clinerules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ solana-keygen new --no-bip39-passphrase --outfile /tmp/test-keypair.json
2323

2424
# Use explicit keypair path
2525
osvm --keypair /tmp/test-keypair.json balance
26-
osvm rpc-manager devnet --keypair /tmp/test-keypair.json
26+
osvm rpc devnet --keypair /tmp/test-keypair.json
2727
```
2828

2929
**Example - WRONG usage:**
3030
```bash
3131
# ❌ NEVER DO THIS
3232
solana-keygen new --force --outfile ~/.config/solana/id.json
33-
osvm rpc-manager devnet # Without explicit --keypair flag
33+
osvm rpc devnet # Without explicit --keypair flag
3434
```
3535

3636
## General Development Rules

.cursorrules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ solana-keygen new --no-bip39-passphrase --outfile "$TMP_KEYPAIR"
2929

3030
# Step 2: Use explicit --keypair flag in ALL commands
3131
osvm --keypair "$TMP_KEYPAIR" balance
32-
osvm rpc-manager devnet --keypair "$TMP_KEYPAIR"
32+
osvm rpc devnet --keypair "$TMP_KEYPAIR"
3333
cargo run -- --keypair "$TMP_KEYPAIR" <command>
3434

3535
# Step 3: Clean up when done

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ solana-keygen new --no-bip39-passphrase --outfile "$TMP_KEYPAIR"
3131

3232
# ✅ CORRECT - Always use explicit --keypair flag
3333
osvm --keypair "$TMP_KEYPAIR" balance
34-
osvm rpc-manager devnet --keypair "$TMP_KEYPAIR" --background
34+
osvm rpc devnet --keypair "$TMP_KEYPAIR" --background
3535
cargo run -- --keypair "$TMP_KEYPAIR" <command>
3636

3737
# ✅ CORRECT - Clean up temporary keypair when done
@@ -53,7 +53,7 @@ let config = Config {
5353
solana-keygen new --force --outfile ~/.config/solana/id.json
5454

5555
# ❌ DANGEROUS - Uses default keypair location (may fail and tempt overwriting)
56-
osvm rpc-manager devnet
56+
osvm rpc devnet
5757

5858
# ❌ WRONG - Relies on default configuration
5959
cargo run -- balance

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ solana-keygen new --no-bip39-passphrase --outfile "$TMP_KEYPAIR"
3535

3636
# ✅ CORRECT - Always use explicit --keypair flag
3737
osvm --keypair "$TMP_KEYPAIR" balance
38-
osvm rpc-manager devnet --keypair "$TMP_KEYPAIR" --background
38+
osvm rpc devnet --keypair "$TMP_KEYPAIR" --background
3939
cargo run -- --keypair "$TMP_KEYPAIR" <command>
4040

4141
# ✅ CORRECT - Clean up when done
@@ -48,7 +48,7 @@ rm -f "$TMP_KEYPAIR"
4848
solana-keygen new --force --outfile ~/.config/solana/id.json
4949

5050
# ❌ DANGEROUS - May tempt overwriting if missing
51-
osvm rpc-manager devnet # Without --keypair flag
51+
osvm rpc devnet # Without --keypair flag
5252

5353
# ❌ WRONG - Don't assume default paths are safe
5454
cargo run -- balance # Uses default keypair
@@ -276,7 +276,7 @@ osvm-cli/
276276
- **logs <NODE-ID>**: View node logs (with --follow option)
277277
- **deploy**: Deploy new node to remote host
278278

279-
#### `osvm rpc-manager <SUBCOMMAND>`
279+
#### `osvm rpc <SUBCOMMAND>`
280280
- **sonic <CONNECTION>**: Deploy Sonic RPC via SSH
281281
- **query-solana**: Query Solana network (info, health, monitor)
282282
- **local**: Start local development RPC

PRODUCTION_DEPLOYMENT_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ osvm --version
5252
### Quick Deploy RPC Node (Process Runtime)
5353
```bash
5454
# Start local RPC node (development)
55-
osvm rpc-manager local
55+
osvm rpc local
5656

5757
# Your RPC node is now running on http://localhost:8899
5858
```

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ osvm --version
196196

197197
```bash
198198
# Deploy a local RPC node (development)
199-
osvm rpc-manager local
199+
osvm rpc local
200200

201201
# Your RPC node is now running on http://localhost:8899
202202
```
@@ -213,7 +213,7 @@ cargo run --example firecracker_demo # See MicroVM deployment
213213
cargo run --example mcp_integration_demo # See unikernel deployment
214214

215215
# Traditional deployment (available now):
216-
osvm rpc-manager devnet # Start real devnet validator
216+
osvm rpc devnet # Start real devnet validator
217217
```
218218

219219
**Coming in Phase 4**: `osvm deploy-rpc` and `osvm update-rpc` commands with full hot-swap integration.

docs/NEVER-MODIFY-SOLANA-CONFIG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ solana-keygen new --no-bip39-passphrase --outfile "$TMP_KEYPAIR"
5151

5252
# Step 2: Use explicit --keypair flag in ALL commands
5353
osvm --keypair "$TMP_KEYPAIR" balance
54-
osvm rpc-manager devnet --keypair "$TMP_KEYPAIR" --background
54+
osvm rpc devnet --keypair "$TMP_KEYPAIR" --background
5555
cargo run -- --keypair "$TMP_KEYPAIR" <command>
5656

5757
# Step 3: Clean up when done
@@ -91,7 +91,7 @@ fn test_with_keypair() {
9191
solana-keygen new --force --outfile ~/.config/solana/id.json
9292

9393
# ❌ DANGEROUS - Uses default location (may fail and tempt overwriting)
94-
osvm rpc-manager devnet
94+
osvm rpc devnet
9595

9696
# ❌ WRONG - Modifying config without explicit permission
9797
solana config set --keypair ~/.config/solana/id.json

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Welcome to the comprehensive documentation for OSVM CLI - the revolutionary Sola
4444
- [**SVM Management**](svm-management.md) - Deploy and manage Solana Virtual Machines
4545
- [**Node Management**](node-management.md) - Validator and RPC node operations
4646
- [**SSH Deployment**](ssh-deployment.md) - Remote deployment capabilities
47-
- [**RPC Manager**](rpc-manager.md) - Comprehensive RPC node management
47+
- [**RPC Manager**](rpc.md) - Comprehensive RPC node management
4848

4949
### 🤖 AI Integration
5050
- [**AI Endpoint Configuration**](ai-endpoint-configuration.md) - Configure AI providers and endpoints

docs/SECURITY-CHANGES-2025-10-13.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ From https://docs.anza.xyz/clusters/available:
211211
cargo build --release
212212

213213
# Test devnet RPC with --no-port-check
214-
./target/release/osvm rpc-manager devnet
214+
./target/release/osvm rpc devnet
215215

216216
# Verify it connects and doesn't fail on port checks
217217
# Expected: Should successfully start syncing without UDP port errors

0 commit comments

Comments
 (0)