Repository navigation
feat(check): check client registrations against the Paseo version in use - #7
Merged
Merged
Conversation
ClientRules takes the host version: the app's, a source checkout's (raised to the prerelease that added the newer methods its evaluator defines), or the lowest release requirements.paseo admits when there is no host or the range excludes the host. From 0.13.0-beta.1 it follows that release's evaluate.ts: file panels, translated labels, svg and component icons; from beta.2 agent panels and context-free workspace panels. Methods a version lacks are undefined (and absent to `in`), so guarded calls pass; only a "not a function" TypeError on one is a contract error. client-eval warns when the host accepts the client but the oldest admitted release would reject it; that second evaluation runs in parallel. Supersedes #3.
This was referenced Oct 30, 2026
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.
ppd checkapplied Paseo 0.11/0.12 client rules to every host, so plugins using the 0.13 contract (file panels, agent panels, context-free workspace panels, translated labels, svg/component icons) failedclient-eval.PASEO_SOURCE(raised to the prerelease whose methods its evaluator defines, since main's package version lags), or the lowest releaserequirements.paseoadmits when there is no host or the range excludes it. Prereleases count by stable core, as in Paseo.in, so guarded calls pass; only a "not a function" TypeError on one is a contract error.client-evalwarns when the host accepts the client but the oldest admitted release would reject it (second evaluation runs in parallel).Verified: 186 tests;
ppd check13/13 on paseo-doc-viewer 0.7.0 against the Paseo 0.14.0 app.Supersedes #3.