github/copilot-engine-sdk ? reverse-engineered prompt

Reverse engineered prompt

Build me a TypeScript SDK for GitHub Copilot agent engines that makes it easy to talk to the platform, manage git work, and run locally for testing.

I want a small library with a client that can send assistant messages, tool results, progress updates, comment replies, failures, truncation, and final responses to a platform API. It should also handle cloning a repo, creating or checking out a branch, committing, and pushing changes safely without leaking tokens into URLs or process lists.

Please include an MCP server that exposes tools for reporting progress and replying to review comments, plus a way to discover any user configured MCP servers when the platform provides them. Add a simple CLI for local development that simulates the platform, clones a repo into a temp directory, runs an engine command, and shows the progress events in a readable way.

Make the public API feel clean and well documented, and include the integration guide and basic examples. If you need to look up current docs online, feel free to do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab