-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
phase:pkm-cPKM Architecture - AutomationsPKM Architecture - Automationspriority:lowLow priorityLow priorityscope:productDesktop app (apps/desktop)Desktop app (apps/desktop)track:roadmapHigh-level roadmap milestoneHigh-level roadmap milestone
Description
Descripción
Sistema de reglas locales que ejecutan acciones automáticas basadas en triggers.
Ejemplos de Reglas
- "Cuando el título contiene 'Meeting' → insertar template de meeting"
- "Cuando se agrega tag #todo → mover a notebook Inbox"
- "Cuando se crea nota con título vacío → pedir título"
Modelo
interface AutomationRule {
id: string;
name: string;
enabled: boolean;
trigger: {
type: 'title_contains' | 'tag_added' | 'note_created' | 'note_updated';
value: string;
};
action: {
type: 'insert_template' | 'move_to_notebook' | 'add_tag' | 'prompt';
value: string;
};
}Almacenamiento
- Reglas guardadas en SQLite (nueva tabla
automation_rules) - Ejecutadas localmente, sin servidor
Archivos a Crear
packages/core/src/domain/automation.tspackages/storage-sqlite/src/migrations/006_automations.ts
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
phase:pkm-cPKM Architecture - AutomationsPKM Architecture - Automationspriority:lowLow priorityLow priorityscope:productDesktop app (apps/desktop)Desktop app (apps/desktop)track:roadmapHigh-level roadmap milestoneHigh-level roadmap milestone