Add /background commands (when background agent is configured) (#4407)

Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
This commit is contained in:
Tommaso Sciortino
2025-07-18 15:38:04 -07:00
committed by GitHub
parent 04bbc60b97
commit 003609239f
12 changed files with 563 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
import { Config } from '@google/gemini-cli-core';
import { SlashCommand } from '../ui/commands/types.js';
import { memoryCommand } from '../ui/commands/memoryCommand.js';
import { backgroundCommand } from '../ui/commands/backgroundCommand.js';
import { helpCommand } from '../ui/commands/helpCommand.js';
import { clearCommand } from '../ui/commands/clearCommand.js';
import { corgiCommand } from '../ui/commands/corgiCommand.js';
@@ -33,6 +34,7 @@ const loadBuiltInCommands = async (
const allCommands = [
aboutCommand,
authCommand,
backgroundCommand(config),
bugCommand,
chatCommand,
clearCommand,