Fixes #188: Add practical Basic Session example to SDK#199
Conversation
- Added `packages/core/examples/basic-session/index.ts` to demonstrate core Jules SDK API usage (creating a session and awaiting results). - Added corresponding `packages/core/examples/basic-session/README.md` with execution instructions. - Linked the new basic session example in `packages/core/README.md`. 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. |
…s to @google/jules-sdk This safely incorporates the content from PRs #193, #194, #195, #196, and #199 by merging all documentation in README.md cleanly and creating independent execution files for each example. Root package.json workspaces was updated to ensure local inter-package dependencies (e.g., workspace:*) resolve correctly. Fixes #188 Fixes #189 Fixes #190 Fixes #191 Fixes #192 Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Fixes #188
This PR introduces a new "Basic Session" example to the Jules TypeScript SDK
examples/directory. This acts as an isolated, runnable demonstration of the core API exported from@google/jules-sdk.Changes included:
packages/core/examples/basic-session/index.tscontaining the code to initialize the client, start a repoless session usingjules.session(), provide a simple prompt, and log the finalized result.packages/core/examples/basic-session/README.mdcontaining prerequisite setup instructions and execution commands.packages/core/README.mdto feature a link to the new Basic Session example under a new## Examplesheader.PR created automatically by Jules for task 9874022629945074 started by @davideast