Design: Flexible Agent/Provider Plugin System #171
Labels
No labels
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem#171
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Aktueller Stand
In
packages/worker/src/agents/index.tsist das Agent-System stark hardcoded:Es existiert bereits
registerAgent(), aber das System ist nicht wirklich plugin-fähig.Ziele
Design-Vorschläge
Option 1: Factory Registry Pattern
Option 2: File-basiertes Plugin System
Jeder Provider exportiert eine Standard-Schnittstelle:
Auto-Discovery beim Start:
Option 3: Settings-basierte Konfiguration
Option 4: Kombinierter Ansatz (Empfohlen)
Zusätzliche Features
Betroffene Dateien
packages/worker/src/agents/index.tspackages/worker/src/agents/types.tspackages/shared/src/settings.tsPriorität
Mittel - Verbessert Erweiterbarkeit und Developer Experience erheblich