Skip to content

Fixes #242 - Add Express Integration Example to SDK#269

Merged
davideast merged 1 commit intomainfrom
fix-242-express-integration-example-9293295359877543356
Mar 10, 2026
Merged

Fixes #242 - Add Express Integration Example to SDK#269
davideast merged 1 commit intomainfrom
fix-242-express-integration-example-9293295359877543356

Conversation

@davideast
Copy link
Collaborator

This PR introduces a new SDK example for Express integrations, as part of the broader effort to add practical Jules TypeScript SDK examples.

It adds a new workspace package at packages/core/examples/express demonstrating:

  • Setting up an Express application.
  • Creating a REST endpoint (POST /api/jules) that accepts GitHub parameters and a task description.
  • Spawning a Jules session asynchronously within the Express route.
  • Properly returning session IDs or error states to the client.

It also includes a runnable self-test in index.ts to verify the endpoint functions correctly when executed locally. The root core README.md has been updated to link to this new example.

Fixes #242


PR created automatically by Jules for task 9293295359877543356 started by @davideast

Adds a comprehensive example demonstrating how to integrate the Jules SDK into an Express server. Includes a REST API endpoint that parses inputs and creates a Jules session. Also includes a self-contained local test runner.

Fixes #242

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@github-actions github-actions bot added the fleet-merge-ready Ready for fleet sequential merge label Mar 10, 2026
@github-actions github-actions bot added this to the Examples milestone Mar 10, 2026
@davideast davideast merged commit 59878d8 into main Mar 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fleet-merge-ready Ready for fleet sequential merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fleet Execution] [Express Integration Example]

1 participant