Add Jules connector (fire-and-forget coding task delegation) - #91
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a new connector for Jules — Google's async, autonomous coding agent — following the same
client.js+tools.jspattern as the Context7 connector.Why
Fills a real gap:
delegate_agentis synchronous and read-only,delegate_designeris write-capable but fenced to frontend files only. Neither can autonomously write arbitrary code across a whole repo unsupervised. Jules can — you hand it a task, it works in its own sandboxed VM, and (by default here) opens a PR when done. Intended usage is fire-and-forget: kick off a task, check back later.Tools added
jules_list_sources— connected GitHub reposjules_create_session— start a task; defaults toautomation_mode: AUTO_CREATE_PRwith plans auto-approved (no gating step), matching the fire-and-forget use casejules_list_sessions/jules_get_session— check status, retrieve output PR URLsjules_get_activities— full event timeline for a sessionDeliberately left out
jules_approve_plan/jules_send_messagefor this first pass — those are for a supervised, gated workflow, which isn't the target use case right now. Easy follow-up if that's ever needed.Other changes
config.js—JULES_API_KEY/JULES_API(no unauthenticated tier, unlike Context7)server.js— registered, added to/configured-connectors report and startup warningsREADME.md— new Jules section under Connectors & tools, config table entry, badgesdocs/API_KEYS.md— key creation linktest/jules-client.test.js— unit tests for the client (auth header, query params, error handling) and the three most load-bearing toolsNotes
JULES_API_KEYis optional at the server level, same as every other connector token — missing it just makesjules_*tools fail at call time, not at startup.