google-labs-code/jules-sdk ? reverse-engineered prompt

Reverse engineered prompt

Build me a TypeScript SDK for running coding agents in the cloud, with a simple client I can import as jules.

I want to be able to start a session from a prompt, either against a GitHub repo or with just local context, then watch its progress, approve plans, ask follow up questions, and get the final result back. Please include support for creating one session or many at once, streaming updates as the agent works, and reading useful artifacts like code changes, shell output, and images.

It should also let me query saved session data locally, and handle common API errors in a clean way. Keep the public API easy to use and well documented with a few examples, especially for automatic PR creation and for long running workflows. If you need to check current implementation details or API expectations, look up the latest docs online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab