Skip to content

Commit 801fcf9

Browse files
jakemac53Commit Queue
authored andcommitted
Bump ai to 38734ffec837c55ecb8c657384c5db06d46ebd53
Changes: ``` > git log --format="%C(auto) %h %s" d0b89cf..38734ff https://dart.googlesource.com/ai.git/+/38734ff Migrate to the connected app service (208) https://dart.googlesource.com/ai.git/+/b7d438b disable the screenshots tool by default (210) https://dart.googlesource.com/ai.git/+/c230aaa expose public arg_parser.dart library (209) https://dart.googlesource.com/ai.git/+/7d7e7f9 Fix `--log-file` option so it doesn't crash the server. (207) https://dart.googlesource.com/ai.git/+/2676dec Add documentation for setting up the MCP server in popular clients (201) https://dart.googlesource.com/ai.git/+/6861301 Pin the SDK git ref and add caching on github actions (205) https://dart.googlesource.com/ai.git/+/6b84c96 update MCPClient.connectStdioServer to operate on streams and sinks (204) https://dart.googlesource.com/ai.git/+/04eee07 Fix readme link (203) https://dart.googlesource.com/ai.git/+/8aa3a8b add a github workflow for mcp_examples/ (191) https://dart.googlesource.com/ai.git/+/1af73bc auto validate tool arguments, improve validation messages (200) https://dart.googlesource.com/ai.git/+/0b22b67 Update to new MCP spec version (193) https://dart.googlesource.com/ai.git/+/a74efc3 Update `simple_client.dart` for updated `hello_world` tool name (194) ``` Diff: https://dart.googlesource.com/ai.git/+/d0b89cffe58d208ba7070c784ed855820997b004..38734ffec837c55ecb8c657384c5db06d46ebd53/ Change-Id: I014869b4da5b5ba97fecb83a19f6cdb1c02be5f7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/437920 Commit-Queue: Jake Macdonald <[email protected]> Reviewed-by: Kenzie Davisson <[email protected]> Auto-Submit: Jake Macdonald <[email protected]>
1 parent 0180cf4 commit 801fcf9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ vars = {
131131
### /third_party/pkg dependencies
132132
# 'tools/rev_sdk_deps.dart' will rev pkg dependencies to their latest; put an
133133
# EOL comment after a dependency to instead pin at the current revision.
134-
"ai_rev": "d0b89cffe58d208ba7070c784ed855820997b004",
134+
"ai_rev": "38734ffec837c55ecb8c657384c5db06d46ebd53",
135135
"core_rev": "b59ecf4ceebe6153e1c0166b7c9a7fdd9458a89d",
136136
"dartdoc_rev": "f1fe17752b1193ad52d69271ceb686cc3e4712b0",
137137
"ecosystem_rev": "d5233c6dd0767cffa5742e32c4bc7c230c9c4b12",

pkg/dartdev/test/commands/mcp_server_test.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ void main() {
1515
() async {
1616
final client = TestMCPClient();
1717
addTearDown(client.shutdown);
18-
final serverConnection =
19-
await client.connectStdioServer(Platform.resolvedExecutable, [
18+
final process = await Process.start(Platform.resolvedExecutable, [
2019
'mcp-server',
2120
if (withExperiment) '--experimental-mcp-server',
2221
]);
22+
final serverConnection = client.connectStdioServer(
23+
process.stdin, process.stdout,
24+
onDone: process.kill);
2325
final initializeResult = await serverConnection.initialize(
2426
InitializeRequest(
2527
protocolVersion: ProtocolVersion.latestSupported,

0 commit comments

Comments
 (0)