Repository navigation
chore(analytics): test against EmDash 0.42.0 and 1.0.1-rc.0, install section, in-process MCP tools - #19
Merged
Conversation
🦋 Changeset detectedLatest commit: 5d8882d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Tests all three plugins against EmDash 0.42.0 and the 1.0 release candidate (1.0.1-rc.0), and updates the analytics README for the 0.2.1 release: MCP tools work in
plugins: []from EmDash 0.42, and the README gets the install section it never had.The changeset is a patch and joins the two already in the Version Packages PR (#17). Merge after #18.
Changes
version:harnessto override@emdash-cms/plugin-testas well. EmDash 1.0 moved the module the harness loads fromemdash/plugin-test-runtimetoemdash/internal/plugin-test-runtime. plugin-test 0.2.0, 0.2.3 and 0.2.5 import the old path, so with onlyemdashoverridden every harness-backed test file fails to load against 1.0 ("./plugin-test-runtime" is not exported). This is a harness breakage, not a plugin one. plugin-test 0.2.6-rc.0 imports the new path.declared: adds0.42.0and1.0.1-rc.0:0.2.6-rc.0.latest: pairs the current EmDash with the current plugin-test. Without this the informational job goes red for every PR once 1.0 becomeslateston npm, which is expected today.pnpm-workspace.yaml: release-age exclusions for 0.42.0, 1.0.1-rc.0, plugin-test 0.2.5 and 0.2.6-rc.0, plugin-cli 0.13.0 and the registry packages 1.0 depends on. All were published less than a day ago.plugins: [](fix(core): register the MCP tools of built plugins listed in plugins: [] emdash-cms/emdash#3468 shipped in 0.42.0). New Install section:pnpm add,plugins: [analytics], one line onsandboxed: []with a link to EmDash's sandbox guide. Until now the README showed only the beacon's config.Unchanged on purpose: the dev toolchain stays on EmDash 0.39 / plugin-test 0.2.0 (moving it is for the next minor), and the sandbox budget stays at ten calls. The RC still ships
subrequests: 10; the raise to 30 is emdash-cms/emdash#3383, which is open.Verified
scripts/compat-matrix.sh 0.42.0 1.0.1-rc.0fromorigin/mainplus the exclusions: 0.42.0 passes; 1.0.1-rc.0 fails in every package with the export error above.The same suites with
emdash,@emdash-cms/cloudflareand@emdash-cms/blocksat 1.0.1-rc.0 and@emdash-cms/plugin-testat 0.2.6-rc.0:The changed script at this branch's head:
scripts/compat-matrix.sh 1.0.1-rc.0:0.2.6-rc.0 0.42.0:0.2.5passes every package (312 / 119 / 89 in both rows). The second row is what thelatestjob now runs while 0.42.0 is current.In-process MCP tools on the RC: a create-emdash 1.0.1-rc.0
node:blogsite withemdash@1.0.1-rc.0and the analytics build from ci: publish plugins to the EmDash registry after npm #18's head inplugins: [analytics]. The admin plugin list shows the four tools. After Agent access is turned on, a token withmcp:tools:analyticsgets all four fromtools/list, andanalytics__site_totalsreturned demo totals after the first sync. The widget, the Analytics page, the setup check and the per-entry page all render over the plugin route.