Skip to content

Fixes #238: Add practical Google Docs context example to Jules SDK#262

Merged
davideast merged 1 commit intomainfrom
fix-238-google-docs-example-15730809953959663747
Mar 10, 2026
Merged

Fixes #238: Add practical Google Docs context example to Jules SDK#262
davideast merged 1 commit intomainfrom
fix-238-google-docs-example-15730809953959663747

Conversation

@davideast
Copy link
Collaborator

Fixes #238

This PR introduces a new example demonstrating how to use the Jules SDK with Google Docs as a context source.

Changes

  • Created packages/core/examples/google-docs/package.json, index.ts, spec.ts, handler.ts, and README.md.
  • Implemented a robust citty CLI supporting a --json machine-readable output mode.
  • Uses googleapis to safely extract text content from Google Docs and feeds it into jules.session() prompt.
  • Updated packages/core/README.md to link to this new example.

Note: Please apply the label fleet-merge-ready and set milestone to 2 after creation to follow the project's automated merge pipeline requirements.


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

- Adds `packages/core/examples/google-docs` directory with a fully functioning CLI example.
- Implement typed service contract using `citty` and `zod`.
- Uses `googleapis` to fetch text content from a Google Doc and provides it as context to a `jules.session()`.
- Updates `packages/core/README.md` to include a 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
@davideast davideast merged commit d33f4e5 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] [Google Docs Context Example]

1 participant