feat(plugins): merge Skill management into plugins

This commit is contained in:
inman
2026-09-07 18:36:33 +08:00
parent bb8a19eecf
commit ab9f889233
49 changed files with 461 additions and 1218 deletions

View File

@@ -1,24 +1,2 @@
/** Skills that are part of Makelore's core coding runtime. */
export const CORE_CODING_SKILL_IDS = [
'agent-browser',
'frontend-slides',
'grilling',
'planning-with-files',
] as const;
/**
* Compatibility name for callers that enumerate skills built into the app.
* Plugin skills intentionally do not appear here; their package definitions
* are the source of truth.
*/
export const BUNDLED_CODING_SKILL_IDS = CORE_CODING_SKILL_IDS;
export type BundledCodingSkillId = (typeof BUNDLED_CODING_SKILL_IDS)[number];
export type PluginCodingSkillId = string;
export type CodingSkillId = BundledCodingSkillId | PluginCodingSkillId;
export const DEFAULT_PROJECT_AGENT_SKILL_IDS = [
'agent-browser',
'grilling',
'planning-with-files',
] as const satisfies readonly BundledCodingSkillId[];
/** Public assignment key supplied by a Plugin or an installed device package. */
export type CodingSkillId = string;