MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / NewCoreExecutionEngine

Function NewCoreExecutionEngine

agent/loop.go:104–118  ·  view source on GitHub ↗
(cfg *config.Config)

Source from the content-addressed store, hash-verified

102 AgentType string
103 TeamName string
104 TeamSessionID string
105 TeamAgentID string
106 sessionMemory *sessionmemory.Manager
107 StateObserver func(*AgentState)
108}
109
110type permissionDecision struct {
111 decision string
112 toolName string
113}
114
115func NewCoreExecutionEngine(cfg *config.Config) *CoreExecutionEngine {
116 return newCoreExecutionEngine(cfg, nil, false)
117}
118
119// NewCoreExecutionEngineWithMemoryEngine creates an execution engine with an
120// already-open memory engine. Ownership of memoryEngine transfers to the core
121// engine, which closes it during shutdown.

Calls 5

RegisterDefaultToolsMethod · 0.95
GetConfigFunction · 0.92
NewManagerFunction · 0.92
NewAgentTaskRuntimeFunction · 0.85
NewExtractionControllerFunction · 0.85