Skip to content

Commit ef3fe0e

Browse files
committed
Add agents configuration to the skill symbols list with global skills directory and detection logic
1 parent 89e6cb4 commit ef3fe0e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • apps/editor/src/views/panel/backend/message-handlers/handle-hash-sign-quick-pick/symbols

‎apps/editor/src/views/panel/backend/message-handlers/handle-hash-sign-quick-pick/symbols/skill-symbol.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ export interface AgentConfig {
1313
}
1414

1515
export const agents: Record<string, AgentConfig> = {
16+
agents: {
17+
name: 'agents',
18+
display_name: 'Agents',
19+
global_skills_dir: path.join(home, '.agents/skills'),
20+
detect_installed: () => fs.existsSync(path.join(home, '.agents'))
21+
},
1622
amp: {
1723
name: 'amp',
1824
display_name: 'Amp',

0 commit comments

Comments
 (0)