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
1 change: 1 addition & 0 deletions pkgs/dart_mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Update the tool calling example to include progress notifications.
- Remove a reference to "screenshot" for a generic error that occurs for more
than just screenshots.
- Mark the "root" parameter for create_project required.

## 0.3.3

Expand Down
6 changes: 5 additions & 1 deletion pkgs/dart_mcp_server/lib/src/mixins/dash_cli.dart
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,11 @@ base mixin DashCliSupport on ToolsSupport, LoggingSupport, RootsTrackingSupport
'boilerplate and example code. Defaults to true.',
),
},
required: [ParameterNames.directory, ParameterNames.projectType],
required: [
ParameterNames.directory,
ParameterNames.projectType,
ParameterNames.root,
],
),
);

Expand Down
2 changes: 1 addition & 1 deletion pkgs/dart_mcp_server/test/tools/dart_cli_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ dependencies:
expect(result.isError, true);
expect(
(result.content.first as TextContent).text,
contains('missing `root` key'),
contains('Required property "root" is missing'),
);
expect(testProcessManager.commandsRan, isEmpty);
});
Expand Down
Loading