Skip to content

Fixes #232#252

Merged
davideast merged 5 commits intomainfrom
fix-232-custom-cli-example-1944091048281253074
Mar 10, 2026
Merged

Fixes #232#252
davideast merged 5 commits intomainfrom
fix-232-custom-cli-example-1944091048281253074

Conversation

@davideast
Copy link
Collaborator

Fixes #232


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

- Created `packages/core/examples/custom-cli/` with `index.ts`, `README.md`, and `package.json`.
- Added usage instructions and basic implementation for a repoless custom CLI using Jules.
- Updated the main `packages/core/README.md` to link to the new example.
- Fixed the issue requested in #232.

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 and others added 4 commits March 10, 2026 01:11
- Implement auto-discovery pattern for commands mapping to reduce monoliths.
- Add Typed Service Contract pattern (spec.ts/handler.ts) using Zod.
- Update `session` command to accept strict JSON structures (agent-first) while retaining prompt flags (human-first).
- Emit NDJSON payloads when `--output json` is requested.
- Update documentation and constraints to guide users on proper AI agent integration paths as per feedback.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
- Replaced basic API wrapper example with `generate-test` which interacts with the local file system.
- Reads a local source file, issues a prompt for test generation via Jules, and writes the test file back to disk locally.
- Retained Agent DX features (auto-discovery, strictly typed Zod contracts, and `--json` raw payloads).
- Ensured all tests continue to pass.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
- Removed basic `generate-test` CLI and replaced it with a bold `cloud-worker` implementation.
- Demonstrates Jules repoless sessions acting as powerful serverless containers for scripts (e.g., Python scraping, data analysis).
- Ingests local files, executes tasks, and writes processed results back to the user's local disk.
- Adheres to best practices: Typed Service Contracts via Zod, auto-discovery using `citty`, and full support for agent `--json` payloads.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
- Replaced `cloud-worker` with `run` to avoid confusing "worker" terminology.
- Updated Typed Service Contract schema parameters (using "instruction" instead of "task").
- Reworded documentation to describe the tool as a "Cloud Compute container" or "Cloud Task".
- Kept Agent CLI best practices (auto-discovery, strictly typed Zod contracts, `--json` parameters) intact.
- Verified all examples and test suites continue to pass successfully.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@davideast davideast merged commit 267b854 into main Mar 10, 2026
4 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] [Custom CLI Tools Example]

1 participant