jules

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package jules is the Jules module (Google's asynchronous coding agent), a cloud-only module: Jules works in Google's cloud on a GitHub repository, and hopsesh reaches it only through Jules Tools, the jules CLI (jules remote list, jules remote pull), signed in as the user. It keeps nothing on any machine, so the file methods come from agent.NoLocal.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func URL

func URL(sid agent.SessionID) string

URL is a session's page (unverified: the Jules API gives each session a url, and the console's links have this form).

Types

type Module

type Module struct{ agent.NoLocal }

Module is the Jules module.

func New

func New() *Module

New returns the module.

func (*Module) Detect

func (m *Module) Detect(_ context.Context, h agent.Host) (agent.Install, error)

Detect finds the jules CLI; there is no data folder.

func (*Module) FetchCloud

FetchCloud brings a session's code: jules remote pull --session <id> without --apply prints the session's patch (unverified: whether anything precedes it), which the core applies in a new worktree and commits on a branch of its own. The plan, messages and command output stay in the cloud.

func (*Module) ListCloud

ListCloud lists Jules sessions (jules remote list --session). The CLI prints a table whose columns are split by two or more spaces; neither the layout nor its words are documented, so the parser finds the columns by the header's names when it can and by the shape of each cell otherwise. A row it cannot read goes in Errors.

func (*Module) SendCloud

func (m *Module) SendCloud(ctx context.Context, h agent.Host, _ agent.Install, r agent.SendRequest) (agent.Sent, error)

SendCloud starts the session without a terminal (send) and returns it.

func (*Module) Spec

func (*Module) Spec() agent.Spec

Spec declares Jules, reached through the jules CLI.

func (*Module) TestCloud

func (m *Module) TestCloud(ctx context.Context, h agent.Host, _ agent.Install, _ string) (agent.CloudTest, error)

TestCloud asks Jules for the repositories it is connected to (jules remote list --repo: read-only; it needs the login and an account with Jules) and checks that the CLI still has the commands the module uses. It starts nothing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL