Merge main into dev after beta.11 release#46
Merged
Conversation
Add GitHub Actions test workflow, fix consent CSRF (#35) ## CI/CD — GitHub Actions test workflow - 3 jobs: Test Suite, CLI Scaffolding E2E, LLM Eval Tests - Test Suite (every PR): unit tests (449 SDK + 191 hosted + 121 CLI + 24 template), integration tests (21 CLI + 20 Wrangler + 18 chained), Playwright E2E (15 hosted + 12 chained) — 891 tests - CLI Scaffolding E2E (every PR): scaffold → init → Umbraco start → discover → generate → compile → unit tests → hosted worker — 19 tests with SQL Server in Docker - Skill E2E (release PRs): build tools + integration tests via Claude Agent SDK against real Umbraco — 2 tests - LLM Eval Tests (release PRs): CLI knowledge + tool-calling evals — 20 tests ## SDK Helpers - server-ref: module-scoped Server reference for elicitation in stdio and hosted modes - confirmAction(extra, message): one-liner for elicitation confirmation pattern - extractChainedResult(result): normalise chained MCP tool call results - setupElicitationMock test helper from @umbraco-cms/mcp-server-sdk/testing - CfWorkerJsonSchemaValidator in createPerRequestServer (Ajv blocked in Workers) ## CLI Improvements - Umbraco version picker in init flow — fetches stable + RC versions from NuGet - --template-version passthrough to PSW CLI - Version derived from package.json (auto-updates on major bumps) - Shared nuget-versions.ts module - Restart hint in discover when API user creation fails on fresh install ## Security - Consent form CSRF: validate state token on POST - Separate OAuth client IDs: umbraco-back-office-hosted-mcp (authorization_code) vs umbraco-back-office-mcp (client_credentials)
Fix: restore generic return types on validateToolResponse (function overloads) Feat: add CursorPaginatedResult test helper type in testing module Updated skills and agents with CursorPaginatedResult pattern
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CursorPaginatedResulttype)🤖 Generated with Claude Code