Fixes #233: Add Stitch Integration Example#266
Conversation
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>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
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>
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
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.packages/core/README.md: Added a link to the new Stitch Integration example.Testing
bun run build).npm start(tested with a mocked short execution viatimeout).npm run test --workspace=@google/jules-sdk).PR created automatically by Jules for task 16421606377217644220 started by @davideast