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

Method ResolvePermission

agent/loop.go:388–402  ·  view source on GitHub ↗
(decision string, toolName string)

Source from the content-addressed store, hash-verified

386
387func (e *CoreExecutionEngine) Shutdown() {
388 e.disconnectMCP(context.Background())
389 if e.TaskRuntime != nil {
390 e.TaskRuntime.Shutdown()
391 }
392 if e.extraction != nil {
393 e.extraction.Cancel()
394 }
395 e.flushAndSealMemory(context.Background())
396 e.closeMemoryEngine()
397 if e.skillPersistence != nil {
398 e.skillPersistence.ClearAll()
399 }
400 e.mu.Lock()
401 defer e.mu.Unlock()
402 e.aborted = false
403 e.mcpInitialized = false
404 e.permissionFuture = nil
405 e.skillPermissionCh = nil

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected