(scope toolspkg.Scope)
| 5972 | } |
| 5973 | |
| 5974 | func actorContextFromScope(scope toolspkg.Scope) (taskpkg.ActorContext, error) { |
| 5975 | if sessionID := strings.TrimSpace(scope.SessionID); sessionID != "" { |
| 5976 | return taskpkg.DeriveAgentSessionActorContext(sessionID) |
| 5977 | } |
| 5978 | return taskpkg.DeriveDaemonActorContext("native-tools", "tool.registry") |
| 5979 | } |
| 5980 | |
| 5981 | func searchSkills(skillList []*skills.Skill, query string) []*skills.Skill { |
| 5982 | needle := strings.ToLower(strings.TrimSpace(query)) |
no outgoing calls
no test coverage detected