Conversation
- 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>
|
👋 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. |
- 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>
Fixes #232
PR created automatically by Jules for task 1944091048281253074 started by @davideast