mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-20 18:14:29 -07:00
feat(core): subagent local execution and tool isolation (#22718)
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
import type { GeminiClient } from '../core/client.js';
|
||||
import type { MessageBus } from '../confirmation-bus/message-bus.js';
|
||||
import type { ToolRegistry } from '../tools/tool-registry.js';
|
||||
import type { PromptRegistry } from '../prompts/prompt-registry.js';
|
||||
import type { ResourceRegistry } from '../resources/resource-registry.js';
|
||||
import type { SandboxManager } from '../services/sandboxManager.js';
|
||||
import type { Config } from './config.js';
|
||||
|
||||
@@ -24,6 +26,12 @@ export interface AgentLoopContext {
|
||||
/** The registry of tools available to the agent in this context. */
|
||||
readonly toolRegistry: ToolRegistry;
|
||||
|
||||
/** The registry of prompts available to the agent in this context. */
|
||||
readonly promptRegistry: PromptRegistry;
|
||||
|
||||
/** The registry of resources available to the agent in this context. */
|
||||
readonly resourceRegistry: ResourceRegistry;
|
||||
|
||||
/** The bus for user confirmations and messages in this context. */
|
||||
readonly messageBus: MessageBus;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user