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

Method drainSkillPermissionEvents

agent/loop.go:937–946  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

935 sendStream(ctx, out, event)
936 }
937 for _, progress := range executor.DrainProgress() {
938 sendStream(ctx, out, BuildProgressEvent(progress))
939 }
940 toolResults = append(toolResults, executor.GetCompletedResults()...)
941 if executor.HasPendingWork() {
942 executor.WaitForActivity(ctx)
943 if executor.HasPendingWork() && !executor.HasRunningWork() {
944 break
945 }
946 }
947 }
948 for _, event := range e.drainSkillPermissionEvents() {
949 sendStream(ctx, out, event)

Callers 1

executeAndCommitToolsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected