Skip to content

Commit 97db370

Browse files
committed
Merge remote-tracking branch 'origin/main' into goose-dev-just-target
2 parents 760e99e + 7fa662b commit 97db370

126 files changed

Lines changed: 3342 additions & 14092 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/goose2-ci.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ on:
55
branches: [main]
66
paths:
77
- "ui/goose2/**"
8+
- "ui/sdk/**"
89
pull_request:
910
branches: [main]
1011
paths:
1112
- "ui/goose2/**"
13+
- "ui/sdk/**"
1214
merge_group:
1315
branches: [main]
1416
workflow_dispatch:
@@ -35,8 +37,11 @@ jobs:
3537
with:
3638
node-version: 24
3739
cache: pnpm
38-
cache-dependency-path: ui/goose2/pnpm-lock.yaml
40+
cache-dependency-path: ui/pnpm-lock.yaml
3941
- run: pnpm install --frozen-lockfile
42+
- name: Build SDK
43+
run: pnpm build
44+
working-directory: ui/sdk
4045
- run: pnpm check
4146
- run: pnpm typecheck
4247

@@ -53,8 +58,11 @@ jobs:
5358
with:
5459
node-version: 24
5560
cache: pnpm
56-
cache-dependency-path: ui/goose2/pnpm-lock.yaml
61+
cache-dependency-path: ui/pnpm-lock.yaml
5762
- run: pnpm install --frozen-lockfile
63+
- name: Build SDK
64+
run: pnpm build
65+
working-directory: ui/sdk
5866
- run: pnpm test
5967

6068
desktop:
@@ -70,7 +78,7 @@ jobs:
7078
with:
7179
node-version: 24
7280
cache: pnpm
73-
cache-dependency-path: ui/goose2/pnpm-lock.yaml
81+
cache-dependency-path: ui/pnpm-lock.yaml
7482

7583
- name: Install system dependencies
7684
run: |
@@ -96,9 +104,17 @@ jobs:
96104

97105
- run: pnpm install --frozen-lockfile
98106

107+
- name: Build SDK
108+
run: pnpm build
109+
working-directory: ui/sdk
110+
99111
- name: Build frontend
100112
run: pnpm build
101113

114+
- name: Mock goose binary
115+
working-directory: .
116+
run: mkdir -p target/release && touch target/release/goose-$(rustc --print host-tuple)
117+
102118
- name: Check Tauri
103119
run: cd src-tauri && cargo check
104120

@@ -155,6 +171,10 @@ jobs:
155171
ui/goose2/src-tauri/target
156172
key: ${{ runner.os }}-goose2-cargo-${{ hashFiles('ui/goose2/src-tauri/Cargo.lock') }}
157173

174+
- name: Mock goose binary
175+
working-directory: .
176+
run: mkdir -p target/release && touch target/release/goose-$(rustc --print host-tuple)
177+
158178
- name: Format check
159179
run: cd src-tauri && cargo fmt --check
160180

Cargo.lock

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
members = [
33
"crates/*",
44
# Mainly for cargo-machete to not error out during inspection.
5-
"vendor/v8"
5+
"vendor/v8",
66
]
77
exclude = ["ui/goose2/src-tauri"]
88
resolver = "2"
@@ -20,7 +20,7 @@ uninlined_format_args = "allow"
2020
string_slice = "warn"
2121

2222
[workspace.dependencies]
23-
rmcp = { version = "1.2.0", features = ["schemars", "auth"] }
23+
rmcp = { version = "1.5.0", features = ["schemars", "auth"] }
2424
agent-client-protocol-schema = { version = "0.11", features = ["unstable"] }
2525
sacp = "11.0.0"
2626
arboard = "3"

Justfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,3 +487,8 @@ build-test-tools:
487487
record-mcp-tests: build-test-tools
488488
GOOSE_RECORD_MCP=1 cargo test --package goose --test mcp_integration_test
489489
git add crates/goose/tests/mcp_replays/
490+
491+
bundle-goose2:
492+
cargo build --release --package goose-cli --bin goose
493+
cp target/release/goose target/release/goose-$(rustc --print host-tuple)
494+
@just goose2::bundle

crates/goose-acp/src/server.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ fn mcp_server_to_extension_config(mcp_server: McpServer) -> Result<ExtensionConf
164164
.map(|h| (h.name, h.value))
165165
.collect(),
166166
timeout,
167+
socket: None,
167168
bundled: Some(false),
168169
available_tools: vec![],
169170
})
@@ -2962,6 +2963,7 @@ mod tests {
29622963
"Bearer ghp_xxxxxxxxxxxx".into()
29632964
)]),
29642965
timeout: None,
2966+
socket: None,
29652967
bundled: Some(false),
29662968
available_tools: vec![],
29672969
})

crates/goose-cli/src/commands/configure.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,6 +1174,7 @@ fn configure_streamable_http_extension() -> anyhow::Result<()> {
11741174
headers,
11751175
description,
11761176
timeout: Some(timeout),
1177+
socket: None,
11771178
bundled: None,
11781179
available_tools: Vec::new(),
11791180
},

crates/goose-cli/src/recipes/secret_discovery.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ mod tests {
166166
env_keys: vec!["GITHUB_TOKEN".to_string(), "GITHUB_API_URL".to_string()],
167167
description: "github-mcp".to_string(),
168168
timeout: None,
169+
socket: None,
169170
bundled: None,
170171
available_tools: Vec::new(),
171172
headers: HashMap::new(),
@@ -262,6 +263,7 @@ mod tests {
262263
env_keys: vec!["API_KEY".to_string()],
263264
description: "service-a".to_string(),
264265
timeout: None,
266+
socket: None,
265267
bundled: None,
266268
available_tools: Vec::new(),
267269
headers: HashMap::new(),
@@ -321,6 +323,7 @@ mod tests {
321323
env_keys: vec!["PARENT_TOKEN".to_string()],
322324
description: "parent-ext".to_string(),
323325
timeout: None,
326+
socket: None,
324327
bundled: None,
325328
available_tools: Vec::new(),
326329
headers: HashMap::new(),

0 commit comments

Comments
 (0)