Skip to content

Fixes #233: Add Stitch Integration Example#266

Merged
davideast merged 2 commits intomainfrom
fix-233-stitch-integration-16421606377217644220
Mar 10, 2026
Merged

Fixes #233: Add Stitch Integration Example#266
davideast merged 2 commits intomainfrom
fix-233-stitch-integration-16421606377217644220

Conversation

@davideast
Copy link
Collaborator

Fixes #233

This PR introduces a new example demonstrating how to use the Jules SDK to integrate a website design generated by Stitch into an existing codebase.

Changes

  • Added packages/core/examples/stitch/ directory:
    • package.json: Configured with the correct "type": "module" and "@google/jules-sdk": "workspace:*" dependencies. Includes a start script.
    • index.ts: The example implementation. It sets up a session pointing to a repository, passes a prompt with a mock Stitch URL and instructions to integrate a specific component (Hero Section). It includes logic to gracefully handle activity streaming and prints final outcome results.
    • README.md: Explains the purpose of the example, prerequisites (JULES_API_KEY), and how to run it.
  • Updated packages/core/README.md: Added a link to the new Stitch Integration example.

Testing

  • Verified the example builds locally (bun run build).
  • Verified the script runs using npm start (tested with a mocked short execution via timeout).
  • Ensured workspace tests continue to pass (npm run test --workspace=@google/jules-sdk).

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

Fixes #233

Creates a new example demonstrating how to use the Jules SDK to integrate a website design generated by Stitch into an existing codebase. Updates the main README to link to the new example.

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
Fixes #233

The newly added stitch example was failing the `npm run test --workspaces` pipeline check because its package.json test script exited with code 1. This updates the test script to just echo without exiting 1 so it acts as a no-op during CI.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@davideast davideast merged commit 46c1d58 into main Mar 10, 2026
4 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] [Stitch Integration Example]

1 participant