Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install Libs
run: |
sudo apt update -y
sudo apt install -y libdbus-1-dev libssl-dev gnome-keyring libxcb1-dev
sudo apt install -y libdbus-1-dev gnome-keyring libxcb1-dev

- name: Start gnome-keyring
# run gnome-keyring with 'foobar' as password for the login keyring
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/cli-release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
tags:
- "v1.*"
- "v01.*"
workflow_dispatch:

concurrency:
Expand All @@ -15,17 +15,21 @@ jobs:
name: Build ${{ matrix.os }}-${{ matrix.architecture }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false # Allow independent failures
fail-fast: false
matrix:
include:
# Linux x86_64 build on Ubuntu
- os: ubuntu-latest
architecture: x86_64
suffix: unknown-linux-gnu

# TODO: Linux aarch64 (ARM64) build on Ubuntu via cross-compilation - probably use `cross-rs`

# macOS x86_64 build
- os: macos-latest
architecture: x86_64
suffix: apple-darwin

# macOS ARM64 build
- os: macos-latest
architecture: aarch64
Expand All @@ -37,6 +41,7 @@ jobs:
uses: actions/checkout@v4

# Step 2: Set up Rust toolchain
# This will install the specified target as per matrix
- name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
Expand All @@ -50,15 +55,16 @@ jobs:
rustup target add aarch64-apple-darwin
echo "export PATH=$(brew --prefix llvm)/bin:\$PATH" >> $GITHUB_ENV

- name: Install Libs for Ubuntu linux
# Step 4: Install Libs for Ubuntu (x86_64 and aarch64)
- name: Install Libs for Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update -y
sudo apt install -y libdbus-1-dev libssl-dev gnome-keyring libxcb1-dev
sudo apt install -y libdbus-1-dev gnome-keyring libxcb1-dev
gnome-keyring-daemon --components=secrets --daemonize --unlock <<< 'foobar'


# Step 4: Build the project
# Step 5: Build the project
- name: Build
run: |
export TARGET=${{ matrix.architecture }}-${{ matrix.suffix }}
Expand All @@ -67,7 +73,7 @@ jobs:
tar -cjf goose-${TARGET}.tar.bz2 goose goosed
echo "ARTIFACT=target/${TARGET}/release/goose-${TARGET}.tar.bz2" >> $GITHUB_ENV

# Step 5: Upload artifacts
# Step 6: Upload artifacts
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -87,7 +93,7 @@ jobs:
with:
merge-multiple: true

# Step 2: Publish release with artifacts
# Step 2: Create GitHub release with artifacts
- name: Create GitHub release
uses: ncipollo/release-action@v1
with:
Expand Down
13 changes: 12 additions & 1 deletion crates/goose-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,18 @@ serde_yaml = "0.9"
dirs = "4.0"
strum = "0.26"
strum_macros = "0.26"
reqwest = "0.11.27"
reqwest = { version = "0.12.9", features = [
"rustls-tls",
"json",
"cookies",
"gzip",
"brotli",
"deflate",
"zstd",
"charset",
"http2",
"stream"
], default-features = false }
rand = "0.8.5"
async-trait = "0.1"
rustyline = "15.0.0"
Expand Down
19 changes: 15 additions & 4 deletions crates/goose/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description.workspace = true

[build-dependencies]
tokio = { version = "1.36", features = ["full"] }
reqwest = { version = "0.11", features = ["json"] }
reqwest = { version = "0.12.9", features = ["json", "rustls-tls"], default-features = false }

[dependencies]
mcp-core = { path = "../mcp-core" }
Expand All @@ -18,7 +18,18 @@ anyhow = "1.0"
thiserror = "1.0"
futures = "0.3"
tokio-stream = "0.1"
reqwest = { version = "0.11", features = ["json"] }
reqwest = { version = "0.12.9", features = [
"rustls-tls",
"json",
"cookies",
"gzip",
"brotli",
"deflate",
"zstd",
"charset",
"http2",
"stream"
], default-features = false }
tokio = { version = "1.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand All @@ -39,7 +50,7 @@ sha2 = "0.10"
base64 = "0.21"
url = "2.5"
urlencoding = "2.1.3"
axum = "0.7"
axum = { version = "0.7" }
tower-http = { version = "0.5", features = ["cors"] }
webbrowser = "0.8"
dotenv = "0.15"
Expand Down Expand Up @@ -72,4 +83,4 @@ path = "examples/databricks_oauth.rs"

[[bench]]
name = "tokenization_benchmark"
harness = false
harness = false
4 changes: 2 additions & 2 deletions crates/mcp-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ edition = "2021"
[dependencies]
mcp-core = { path = "../mcp-core" }
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.11", default-features = false, features = ["json", "stream", "rustls-tls"] }
reqwest-eventsource = "0.5.0"
reqwest = { version = "0.12.9", default-features = false, features = ["json", "stream", "rustls-tls"] }
reqwest-eventsource = "0.6.0"
futures-util = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
Loading