chore(canvas-kit): sync vendored canvas-kit to 2026-07-10.1 - #23
Merged
Conversation
Re-vendor the canvas-kit into all 6 canvas extensions to pick up the deep-link builder update: buildSessionDeepLink now supports the source_branch and parent selectors (aligned with the Copilot host app's public session/new deep-link contract), with mutual-exclusion enforcement and session-id validation. Bytes are copied verbatim from create-canvas-app/kit (KIT_VERSION 2026-07-10.1); only deeplinks.mjs, version.mjs, and .kit-version.json differ per extension. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.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
Re-vendor the shared canvas-kit into all 6 canvas extensions to pick up the latest deep-link builder update from
create-canvas-app/kit(KIT_VERSION 2026-07-10.1, was 2026-07-07.6).The kit's
buildSessionDeepLinknow supports two additional session/new selectors, aligned with the Copilot host app's public deep-link contract:source_branch- open an existing branch directly for collaboration (mutually exclusive withpr/branch).parent- nest a new session under an existing workspace id (mutually exclusive withpr/source_branch; may combine withbranch).Both go through session-id validation and mutual-exclusion enforcement (fail-closed: invalid or conflicting inputs return
null).What changed
Pure verbatim vendor sync via
scripts/sync-kit.mjs- only 3 files differ per extension:canvas-kit/deeplinks.mjs(the builder update)canvas-kit/version.mjs(KIT_VERSION marker)canvas-kit/.kit-version.json(sync metadata)18 files across code-tutor, language-tutor, news-aggregator, random-animal, stock-ticker, wiki-discover. No extension logic authored here - bytes are copied from the already-certified kit.
Verification (local, mirrors validate.yml)
node scripts/lint.mjs- clean (93 .mjs, 15 .json)node scripts/validate-extensions.mjs- 6/6 validnode scripts/run-tests.mjs- 6/6 suites, 134 checks passdeeplinks.mjs/version.mjsidentical tocreate-canvas-app/kitSimple version upgrade (vendored bytes + version marker).