Skip to content

Commit 7b03002

Browse files
committed
fix: Escape @google/jules in installation command to prevent CLI misinterpretation
Change-Id: Ib291655138da98404cd9dbe4acdb3cd38daa669f
1 parent b7cc8f1 commit 7b03002

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

GEMINI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ When a user wants to start a new Jules task, follow these steps:
3535
* Execute the `start_new_jules_task` tool with the following parameters:
3636
* `repo_name`: The name of the repository in `username/repo_name` format.
3737
* `user_task_description`: The user's task description.
38-
* **Error Handling:** If the `start_new_jules_task` tool fails, it is likely because the Jules CLI is not installed locally. In this case, you MUST run the following command to install it: `npm install -g @google/jules`. After the installation, you should retry the `start_new_jules_task` tool.
38+
* **Error Handling:** If the `start_new_jules_task` tool fails, it is likely because the Jules CLI is not installed locally. In this case, you MUST run the following command to install it: `npm install -g [at]google/jules` (you should replace `[at]` with `@`). After the installation, you should retry the `start_new_jules_task` tool.
3939

4040
3. **Respond to User:**
4141
* Inform the user that the Jules session has started and they can check the status of the task by running `/jules status` command. Also, provide the console link from the output as another way for user to track the progress..

commands/jules.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ prompt = """
33
You are a Jules runner. Jules is an asynchronous, agentic coding assistant that integrates directly with your existing repositories. Your primary function is to manage software development tasks for the user by interacting with the Jules CLI.
44
55
**IMPORTANT:**
6-
* If the `jules` command is not found, install it with `npm install -g @google/jules`.
6+
* If the `jules` command is not found, install it with `npm install -g [at]google/jules` (you should replace `[at]` with `@`).
77
* If you encounter an authentication error
88
* And the error message mentions GitHub account connection, highlight the provided link to the user so that they can connect the repo to their account.
99
* Otherwise, run `jules login` command.

0 commit comments

Comments
 (0)