diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml new file mode 100644 index 0000000..88e2b11 --- /dev/null +++ b/.github/workflows/health.yaml @@ -0,0 +1,17 @@ +name: Health +on: + pull_request: + branches: [ main ] + types: [opened, synchronize, reopened, labeled, unlabeled] + +jobs: + health: + uses: dart-lang/ecosystem/.github/workflows/health.yaml@main + with: + # TODO: Add breaking check once we have a real version published to + # compare against. + checks: "version,changelog,do-not-submit" + flutter_packages: "pkgs/dart_tooling_mcp_server/test_fixtures/counter_app" + sdk: dev + permissions: + pull-requests: write diff --git a/.github/workflows/post_summaries.yaml b/.github/workflows/post_summaries.yaml new file mode 100644 index 0000000..6683c13 --- /dev/null +++ b/.github/workflows/post_summaries.yaml @@ -0,0 +1,17 @@ +# A CI configuration to write comments on PRs. + +name: Comment on the pull request + +on: + workflow_run: + workflows: + - Health + - Publish + types: + - completed + +jobs: + upload: + uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main + permissions: + pull-requests: write diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..bd0a9fa --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,21 @@ +# A CI configuration to auto-publish pub packages. + +name: Publish + +on: + pull_request: + branches: [ main ] + types: [opened, synchronize, reopened, labeled, unlabeled] + push: + tags: [ '[A-z0-9]+-v[0-9]+.[0-9]+.[0-9]+*' ] + +jobs: + publish: + if: ${{ github.repository_owner == 'dart-lang' }} + uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main + with: + write-comments: false + sdk: dev + permissions: + id-token: write + pull-requests: write diff --git a/pkgs/dart_mcp/CHANGELOG.md b/pkgs/dart_mcp/CHANGELOG.md new file mode 100644 index 0000000..cdc35e4 --- /dev/null +++ b/pkgs/dart_mcp/CHANGELOG.md @@ -0,0 +1,6 @@ +## 0.1.0-wip + +- Initial release, supports all major MCP functionality for both clients and + servers, at protocol version 2024-11-05. +- APIs may change frequently until the 1.0.0 release based on feedback and + needs. diff --git a/pkgs/dart_mcp/pubspec.yaml b/pkgs/dart_mcp/pubspec.yaml index 3ef5800..27bd7e3 100644 --- a/pkgs/dart_mcp/pubspec.yaml +++ b/pkgs/dart_mcp/pubspec.yaml @@ -1,6 +1,5 @@ name: dart_mcp description: A package for making MCP servers and clients. -publish_to: none version: 0.1.0-wip environment: sdk: ^3.6.1 # The version of dart in the current flutter stable