Fixes #229 - Add Google Sheets Context Example#255
Conversation
Adds a runnable example demonstrating how to read tabular data from a Google Sheet using the googleapis library and provide it as context to an interactive Jules session prompt. Fixes #229 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. |
Refactors the previously added Google Sheets example into a robust CLI application. Adheres to Agent SDK best practices and the Typed Service Contract pattern. Changes include: - Implementing CLI parsing with `citty`. - Defining input schemas, error codes, and Result objects in `spec.ts` using `zod`. - Extracting business logic to a class in `handler.ts` that implements the spec. - Adding a `--json` flag to provide deterministic, machine-readable output. Fixes #229 Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Adds a runnable example demonstrating how to read tabular data from a Google Sheet using the googleapis library and provide it as context to an interactive Jules session prompt.
Includes the script
index.ts, a dedicatedpackage.jsonfor the example workspace, and a comprehensiveREADME.mdwith instructions on setup and authentication. Link added topackages/core/README.md.Fixes #229
PR created automatically by Jules for task 13836723247751749663 started by @davideast