MCPcopy Create free account
hub / github.com/tiann/hapi / initialize

Method initialize

cli/src/agent/types.ts:89–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88export interface AgentBackend {
89 initialize(): Promise<void>;
90 newSession(config: AgentSessionConfig): Promise<string>;
91 setModel?(sessionId: string, modelId: string, opts?: { flavor?: AgentFlavor }): Promise<void>;
92 setConfigOption?(sessionId: string, configId: string, value: string): Promise<void>;

Callers 10

runMainLoopMethod · 0.65
runCursorAcpModelProbeFunction · 0.65
startFunction · 0.65
runMainLoopMethod · 0.65
runMainLoopMethod · 0.65
runMainLoopMethod · 0.65
runAgentSessionFunction · 0.65
runMainLoopMethod · 0.65
verifyInTempHomeMethod · 0.65
ensureMermaidFunction · 0.65

Implementers 1

AcpSdkBackendcli/src/agent/backends/acp/AcpSdkBacke

Calls

no outgoing calls

Tested by

no test coverage detected