| 102 | AgentType string |
| 103 | TeamName string |
| 104 | TeamSessionID string |
| 105 | TeamAgentID string |
| 106 | sessionMemory *sessionmemory.Manager |
| 107 | StateObserver func(*AgentState) |
| 108 | } |
| 109 | |
| 110 | type permissionDecision struct { |
| 111 | decision string |
| 112 | toolName string |
| 113 | } |
| 114 | |
| 115 | func 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. |