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

Method registerActive

tools/registry.go:275–287  ·  view source on GitHub ↗
(tool Tool, canonicalName string)

Source from the content-addressed store, hash-verified

273 ),
274 IsError: true,
275 }
276 }
277 output := result.output
278 if warning != "" {
279 output = fmt.Sprintf("[Deprecation warning: %s]\n\n%s", warning, output)
280 }
281 return ToolResult{ToolUseID: call.ID, Content: output}
282 }
283}
284
285func mergeExecutionContextSideEffects(parent, child ExecutionContext) {
286 if parent == nil || child == nil {
287 return
288 }
289 for _, key := range []string{"_pending_skill_messages", "_pending_messages"} {
290 if value, ok := child[key]; ok {

Callers 2

RegisterMethod · 0.95
ActivateToolMethod · 0.95

Calls 2

AliasesMethod · 0.65
DeprecatedAliasesMethod · 0.65

Tested by

no test coverage detected