summaryrefslogtreecommitdiff
path: root/packages/cli/src/services/CommandService.ts
diff options
context:
space:
mode:
authorTommaso Sciortino <[email protected]>2025-07-18 15:38:04 -0700
committerGitHub <[email protected]>2025-07-18 22:38:04 +0000
commit003609239fe81c8a2920ed0c63b7f5142bb4f7e5 (patch)
tree9dcce05e79a6f1bbe58d8074232212e2495130c5 /packages/cli/src/services/CommandService.ts
parent04bbc60b97809b4200c5dd09ba849e4d097d1d1f (diff)
Add /background commands (when background agent is configured) (#4407)
Co-authored-by: Bryan Morgan <[email protected]>
Diffstat (limited to 'packages/cli/src/services/CommandService.ts')
-rw-r--r--packages/cli/src/services/CommandService.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/cli/src/services/CommandService.ts b/packages/cli/src/services/CommandService.ts
index def8cfcc..9db4e9e6 100644
--- a/packages/cli/src/services/CommandService.ts
+++ b/packages/cli/src/services/CommandService.ts
@@ -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,