Skip to content

Commit a64a5cb

Browse files
RahulHereRahulHere
authored andcommitted
Rename package from gopher-orch to gopher-mcp-rust
Update crate name for crates.io publishing: - Cargo.toml: name = "gopher-mcp-rust", lib.name = "gopher_mcp_rust" - Update all imports from gopher_orch to gopher_mcp_rust - Update examples/auth dependency - Update README.md references
1 parent 7eeb6f4 commit a64a5cb

9 files changed

Lines changed: 26 additions & 26 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "gopher-orch"
2+
name = "gopher-mcp-rust"
33
version = "0.1.2-6"
44
edition = "2021"
55
authors = ["GopherSecurity"]
@@ -10,7 +10,7 @@ keywords = ["ai", "agent", "mcp", "llm", "orchestration"]
1010
categories = ["api-bindings", "development-tools"]
1111

1212
[lib]
13-
name = "gopher_orch"
13+
name = "gopher_mcp_rust"
1414
path = "src/lib.rs"
1515

1616
[[example]]

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# gopher-orch - Rust SDK
1+
# gopher-mcp-rust - Rust SDK
22

33
Rust SDK for Gopher Orch - AI Agent orchestration framework with native C++ performance.
44

@@ -68,7 +68,7 @@ This SDK is ideal for:
6868
6969
7070
┌─────────────────────────────────────────────────────────────┐
71-
│ Rust SDK (gopher_orch)
71+
│ Rust SDK (gopher_mcp_rust)
7272
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐ │
7373
│ │ GopherAgent │ │ConfigBuilder│ │ Error Types │ │
7474
│ └─────────────┘ └─────────────┘ └─────────────────────┘ │
@@ -99,14 +99,14 @@ This SDK is ideal for:
9999

100100
```toml
101101
[dependencies]
102-
gopher-orch = "0.1.0"
102+
gopher-mcp-rust ="0.1.0"
103103
```
104104

105105
### Option 2: Git Dependency
106106

107107
```toml
108108
[dependencies]
109-
gopher-orch = { git = "https://github.com/GopherSecurity/gopher-mcp-rust.git" }
109+
gopher-mcp-rust ={ git = "https://github.com/GopherSecurity/gopher-mcp-rust.git" }
110110
```
111111

112112
### Option 3: Build from Source
@@ -116,7 +116,7 @@ See [Building from Source](#building-from-source) section below.
116116
## Quick Start
117117

118118
```rust
119-
use gopher_orch::{GopherAgent, ConfigBuilder};
119+
use gopher_mcp_rust::{GopherAgent, ConfigBuilder};
120120

121121
fn main() -> Result<(), Box<dyn std::error::Error>> {
122122
// Create an agent with API key (fetches server config from remote API)
@@ -268,10 +268,10 @@ The SDK searches for the native library in this order:
268268
The main struct for creating and running AI agents:
269269

270270
```rust
271-
use gopher_orch::{GopherAgent, ConfigBuilder, AgentResult};
271+
use gopher_mcp_rust::{GopherAgent, ConfigBuilder, AgentResult};
272272

273273
// Initialize the library (called automatically on first create)
274-
gopher_orch::init()?;
274+
gopher_mcp_rust::init()?;
275275

276276
// Create with API key (fetches server config from remote API)
277277
let config = ConfigBuilder::new()
@@ -317,15 +317,15 @@ let detailed: AgentResult = agent.run_detailed("Your prompt here");
317317
drop(agent);
318318

319319
// Shutdown library
320-
gopher_orch::shutdown();
320+
gopher_mcp_rust::shutdown();
321321
```
322322

323323
### ConfigBuilder
324324

325325
Builder for creating agent configurations:
326326

327327
```rust
328-
use gopher_orch::ConfigBuilder;
328+
use gopher_mcp_rust::ConfigBuilder;
329329

330330
// With API key
331331
let config = ConfigBuilder::new()
@@ -351,7 +351,7 @@ assert!(!config.has_server_config());
351351
The SDK provides typed errors for different failure scenarios:
352352

353353
```rust
354-
use gopher_orch::{GopherAgent, ConfigBuilder, Error};
354+
use gopher_mcp_rust::{GopherAgent, ConfigBuilder, Error};
355355

356356
fn main() {
357357
let config = ConfigBuilder::new()
@@ -383,7 +383,7 @@ fn main() {
383383
### Basic Usage with API Key
384384

385385
```rust
386-
use gopher_orch::{GopherAgent, ConfigBuilder};
386+
use gopher_mcp_rust::{GopherAgent, ConfigBuilder};
387387
use std::env;
388388

389389
fn main() -> Result<(), Box<dyn std::error::Error>> {
@@ -407,7 +407,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
407407
### Using Local MCP Servers
408408

409409
```rust
410-
use gopher_orch::{GopherAgent, ConfigBuilder};
410+
use gopher_mcp_rust::{GopherAgent, ConfigBuilder};
411411

412412
const SERVER_CONFIG: &str = r#"{
413413
"succeeded": true,

examples/auth/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ serde_json = "1"
2121
# HTTP types
2222
http = "1"
2323

24-
# Gopher Orch SDK with auth FFI
24+
# Gopher MCP Rust SDK with auth FFI
2525
# Use git dependency for standalone example
26-
gopher-orch = { git = "https://github.com/GopherSecurity/gopher-mcp-rust.git", features = ["auth"] }
26+
gopher-mcp-rust = { git = "https://github.com/GopherSecurity/gopher-mcp-rust.git", features = ["auth"] }
2727

2828
# Logging
2929
tracing = "0.1"

examples/auth/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use serde::Serialize;
1212
use thiserror::Error;
1313

1414
// Re-export gopher_orch error for convenience
15-
pub use gopher_orch::Error as GopherOrchError;
15+
pub use gopher_mcp_rust::Error as GopherOrchError;
1616

1717
/// Application error type.
1818
#[derive(Error, Debug)]

examples/auth/src/ffi/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
use crate::error::AppError;
77

88
// Re-export payload types directly
9-
pub use gopher_orch::TokenPayload;
10-
pub use gopher_orch::ValidationResult;
9+
pub use gopher_mcp_rust::TokenPayload;
10+
pub use gopher_mcp_rust::ValidationResult;
1111

1212
/// Wrapper around gopher-orch's GopherAuthClient.
1313
///
1414
/// Provides the same interface but allows creating dummy instances for testing.
1515
pub struct GopherAuthClient {
16-
inner: Option<gopher_orch::GopherAuthClient>,
16+
inner: Option<gopher_mcp_rust::GopherAuthClient>,
1717
}
1818

1919
unsafe impl Send for GopherAuthClient {}
@@ -22,7 +22,7 @@ unsafe impl Sync for GopherAuthClient {}
2222
impl GopherAuthClient {
2323
/// Create a new client.
2424
pub fn new(jwks_uri: &str, issuer: &str) -> Result<Self, AppError> {
25-
let inner = gopher_orch::GopherAuthClient::new(jwks_uri, issuer)?;
25+
let inner = gopher_mcp_rust::GopherAuthClient::new(jwks_uri, issuer)?;
2626
Ok(Self { inner: Some(inner) })
2727
}
2828

examples/client_example_json.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Example using JSON server configuration.
22
3-
use gopher_orch::{ConfigBuilder, GopherAgent};
3+
use gopher_mcp_rust::{ConfigBuilder, GopherAgent};
44
use std::env;
55

66
/// Server configuration for local MCP servers

src/ffi/auth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//! # Example
66
//!
77
//! ```ignore
8-
//! use gopher_orch::ffi::auth::GopherAuthClient;
8+
//! use gopher_mcp_rust::ffi::auth::GopherAuthClient;
99
//!
1010
//! let client = GopherAuthClient::new(
1111
//! "https://auth.example.com/.well-known/jwks.json",

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
//! # Gopher Orch Rust SDK
1+
//! # Gopher MCP Rust SDK
22
//!
33
//! Rust SDK for Gopher Orch - AI Agent orchestration framework with native C++ performance.
44
//!
55
//! ## Quick Start
66
//!
77
//! ```rust,no_run
8-
//! use gopher_orch::{GopherAgent, ConfigBuilder};
8+
//! use gopher_mcp_rust::{GopherAgent, ConfigBuilder};
99
//!
1010
//! fn main() -> Result<(), Box<dyn std::error::Error>> {
1111
//! // Create agent with server configuration

tests/ffi_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! These tests verify that the FFI bindings work correctly with the native library.
44
5-
use gopher_orch::{init, is_initialized, ConfigBuilder, GopherAgent};
5+
use gopher_mcp_rust::{init, is_initialized, ConfigBuilder, GopherAgent};
66
use std::path::Path;
77

88
const TEST_SERVER_CONFIG: &str = r#"{

0 commit comments

Comments
 (0)