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

Function NewSkillExecutor

skills/executor.go:37–39  ·  view source on GitHub ↗
(loader *SkillLoader, promptProcessor *PromptProcessor)

Source from the content-addressed store, hash-verified

35type SkillForkRunner func(ctx context.Context, skill SkillSpec, prompt, subagentScope string, thinkingBudgetTokens *int, baseRegistry *coretools.ToolRegistry, parentState any, extraContext coretools.ExecutionContext) (string, int, int, error)
36
37func NewSkillExecutor(loader *SkillLoader, promptProcessor *PromptProcessor) *SkillExecutor {
38 return &SkillExecutor{Loader: loader, PromptProcessor: promptProcessor}
39}
40
41func (e *SkillExecutor) ExecuteInline(skill SkillSpec, args, sessionID string, approveProjectShell func(SkillShellPermissionRequest) bool) (SkillExecutionResult, error) {
42 loaded := e.Loader.LoadFullContent(skill)

Calls

no outgoing calls