refactor: Implement dynamic skill loading from definitions, replacing hardcoded skills, and add a new skill management command.
This commit is contained in:
11
Core/Skills/SkillDefinition.cs
Normal file
11
Core/Skills/SkillDefinition.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Toak.Core.Skills;
|
||||
|
||||
public class SkillDefinition
|
||||
{
|
||||
public string Name { get; set; } = "";
|
||||
public string Description { get; set; } = "";
|
||||
public string[] Hotwords { get; set; } = System.Array.Empty<string>();
|
||||
public string Action { get; set; } = "type"; // "type" or "script"
|
||||
public string SystemPrompt { get; set; } = "";
|
||||
public string? ScriptPath { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user