Skip to content

chore(canvas-kit): sync vendored canvas-kit to 2026-07-10.1 - #23

Merged
jongio merged 1 commit into
mainfrom
sync-canvas-kit-2026-07-10-1
Jul 10, 2026
Merged

chore(canvas-kit): sync vendored canvas-kit to 2026-07-10.1#23
jongio merged 1 commit into
mainfrom
sync-canvas-kit-2026-07-10-1

Conversation

@jongio

@jongio jongio commented Jul 10, 2026

Copy link
Copy Markdown
Owner

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 buildSessionDeepLink now 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 with pr/branch).
  • parent - nest a new session under an existing workspace id (mutually exclusive with pr/source_branch; may combine with branch).

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 valid
  • node scripts/run-tests.mjs - 6/6 suites, 134 checks pass
  • Byte parity confirmed: vendored deeplinks.mjs/version.mjs identical to create-canvas-app/kit

Simple version upgrade (vendored bytes + version marker).

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>
@jongio
jongio merged commit 179dfb8 into main Jul 10, 2026
3 checks passed
@jongio
jongio deleted the sync-canvas-kit-2026-07-10-1 branch July 10, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant