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
| # Native Copilot CLI extension implementation plan | |
| ## Goal and scope | |
| Implement `github-session-warmer` as a native extension of the existing interactive Copilot CLI, following [REPORT.md](REPORT.md). Keep the stock terminal UI and attach through `joinSession()` from `@github/copilot-sdk/extension`. | |
| Deliver cache observability first, then experimental warming using exactly: | |
| ```text | |
| COPILOT_CACHE_WARMING |
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
| # GitHub Copilot CLI Native Extension: Cache Warming and Cache Statistics | |
| **Research report — 8 October 2026** | |
| **Implementation scope:** A native extension running inside the **existing interactive GitHub Copilot CLI**, with no standalone SDK client, replacement TUI, external proxy, or feature request to GitHub. | |
| **Background research only:** The standalone Copilot SDK and its low-level inference interception feature, isolated in **Appendix A**. It is **not** the implementation path. | |
| **Verification:** Public documentation and source inspected; no authenticated live Copilot CLI extension test was performed. | |
| ## Executive summary | |
| **Chosen direction: native Copilot CLI extension only.** The extension joins the running CLI session, observes usage and lifecycle events, keeps its own timers, and submits ordinary session messages via `session.send()`; the user continues using the stock Copilot terminal UI. It does **not** start a separate Copilot runtime or act as a custom SDK client. |
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
| [{"name":"Afghanistan","topLevelDomain":[".af"],"alpha2Code":"AF","alpha3Code":"AFG","callingCodes":["93"],"capital":"Kabul","altSpellings":["AF","Afġānistān"],"region":"Asia","subregion":"Southern Asia","population":27657145,"latlng":[33.0,65.0],"demonym":"Afghan","area":652230.0,"gini":27.8,"timezones":["UTC+04:30"],"borders":["IRN","PAK","TKM","UZB","TJK","CHN"],"nativeName":"افغانستان","numericCode":"004","currencies":[{"code":"AFN","name":"Afghan afghani","symbol":"؋"}],"languages":[{"iso639_1":"ps","iso639_2":"pus","name":"Pashto","nativeName":"پښتو"},{"iso639_1":"uz","iso639_2":"uzb","name":"Uzbek","nativeName":"Oʻzbek"},{"iso639_1":"tk","iso639_2":"tuk","name":"Turkmen","nativeName":"Türkmen"}],"translations":{"de":"Afghanistan","es":"Afganistán","fr":"Afghanistan","ja":"アフガニスタン","it":"Afghanistan","br":"Afeganistão","pt":"Afeganistão","nl":"Afghanistan","hr":"Afganistan","fa":"افغانستان"},"flag":"https://restcountries.eu/data/afg.svg","regionalBlocs":[{"acronym":"SAARC","name":"South Asian Associatio |