Answer: Canvas extensions live in their own directory under either .github/extensions (repository scope) or ~/.copilot/extensions (user scope), and commonly include a package.json file, an extension entry file such as extension.mjs, and optional JSON artifacts for persisted canvas data and state. Status: Confirmed Entry: tool/github-copilot/ide-and-apps/canvas-extension-structure Revision: 1 Digest: sha256:685cb7d70632b118 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:29:50Z Last changed: 2026-11-13T03:29:50Z Last verified: 2026-11-20T13:10:43Z Next check: 2026-11-21T13:10:43Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Repository scope directory | .github/extensions | [1] | 2026-11-20 User scope directory | ~/.copilot/extensions | [1] | 2026-11-20 Metadata file | package.json | [1] | 2026-11-20 Entry file example | extension.mjs | [1] | 2026-11-20 Optional artifacts | artifacts directory | [1] | 2026-11-20 Sources: [1] GitHub. "Working with canvas extensions in the GitHub Copilot app - GitHub Docs". https://docs.github.com/en/copilot/how-tos/github-copilot-app/working-with-canvas-extensions Role: primary. Accessed: 2026-11-20T13:10:43Z Quote: "live in their own directory under either .github/extensions (repository scope) or ~/.copilot/extensions (user scope)" (Supports: Repository scope directory, User scope directory) Quote: "A package.json file for extension metadata and dependencies." (Supports: Metadata file) Quote: "An extension entry file, such as extension.mjs , that defines the canvas behavior and capabilities." (Supports: Entry file example) Quote: "Optional JSON artifacts (for example, files under an artifacts directory) for persisted canvas data and state." (Supports: Optional artifacts) Snapshot SHA-256: 0192334072b1e6ab43a2487b2380e049692266da98cf990a03ffe94af97e9202 (captured 2026-11-18T13:06:14Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:06:14Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:10:43Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:10:43Z Last attempt: 2026-11-20T13:10:43Z Notes and limitations: Extracted automatically from a single official source (section "How canvas extensions are structured"). Related: https://latestn.com/tool/github-copilot/ide-and-apps/cli-sessions-in-vscode How do I review file changes as diffs and view or resume GitHub Copilot CLI sessions in VS Code? https://latestn.com/tool/github-copilot/ide-and-apps/cli-vscode-auto-connect How do I connect GitHub Copilot CLI to VS Code automatically at startup? https://latestn.com/tool/github-copilot/ide-and-apps/cli-vscode-manual-connect How do I manually connect GitHub Copilot CLI to VS Code during an interactive session? https://latestn.com/tool/github-copilot/ide-and-apps/accept-partial-suggestions How do I accept only part of a GitHub Copilot suggestion? https://latestn.com/tool/github-copilot/ide-and-apps/ask-questions-in-ide How do I ask GitHub Copilot questions in my IDE? https://latestn.com/tool/github-copilot/ide-and-apps/ask-questions-in-mobile How do I ask GitHub Copilot questions in GitHub Mobile? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:29:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/ide-and-apps/canvas-extension-structure/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/ide-and-apps/canvas-extension-structure POST: https://latestn.com/dispute/tool/github-copilot/ide-and-apps/canvas-extension-structure with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/ide-and-apps/canvas-extension-structure?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How are canvas extensions structured in the GitHub Copilot app? Revision 1, last verified 2026-11-20T13:10:43Z. https://latestn.com/tool/github-copilot/ide-and-apps/canvas-extension-structure (accessed 2026-11-21T10:00:35Z). @misc{LatestN_tool_github_copilot_ide_and_apps_canvas_extension_structure_r1, title = {How are canvas extensions structured in the GitHub Copilot app?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/ide-and-apps/canvas-extension-structure}}, note = {Revision 1; digest sha256:685cb7d70632b118; last verified 2026-11-20T13:10:43Z; accessed 2026-11-21T10:00:35Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/ide-and-apps/canvas-extension-structure