Commit graph

43 commits

Author SHA1 Message Date
f5b63203a3 MIT-Lizenz hinzufuegen
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 13:15:29 +01:00
0051b4a6ec Add versions.json for Obsidian plugin registry 2026-02-12 12:20:52 +01:00
22fd818668 Release v1.0.0: README, version bump
Add English README with badges, installation guide, usage examples,
and architecture overview. Bump version to 1.0.0 in manifest and package.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 12:20:23 +01:00
3c8c22ee07 Localize UI to English across all 22 source files
Translates all German user-facing strings (command names, notices,
settings, modal labels, template names/descriptions, error messages,
status bar, and code comments) to English.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 12:17:24 +01:00
878b144ccc Merge feature/polish: Vim-Navigation, SQL-Autocomplete, Import/Export, erweiterte Settings
Konflikte in main.ts und styles.css aufgeloest — beide Feature-Branches integriert.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:57:17 +01:00
f068056658 Merge feature/projections: Automatische Markdown-Reports und Projektionen 2026-02-12 11:55:50 +01:00
c2b7918ce4 Feature 9: Polish & Extras — Vim-Navigation, Autocomplete, Export, erweiterte Settings
- keyboard-nav.ts: Vim-Navigation fuer Tabellen (j/k/h/l, gg/G, /, y, Enter, Esc)
- autocomplete.ts: SQL-Autocomplete mit Kontext-Erkennung (Tabellen, Spalten, Keywords, Funktionen, Event-Typen)
- query-modal.ts: CSV/JSON-Export-Buttons, Autocomplete-Integration (Dropdown, Arrow-Nav, Tab/Enter Accept)
- settings-tab.ts: Erweiterte DB-Settings (WAL-Toggle, Cache-Slider, MMap-Slider), geschuetzte Event-Typen, Info-Sektion
- main.ts: SqlAutocomplete + KeyboardNavigator Integration, 3 neue Commands (export-csv, export-json, toggle-vim-nav)
- styles.css: Vim-Navigation (.logfire-vim-*), Autocomplete-Dropdown (.logfire-ac-*), Info-Sektion

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:55:44 +01:00
ee599f42e7 Feature 8: Projections & Reports — Automatische Markdown-Reports
- types.ts: projections-Settings erweitert (enabled, outputFolder, dailyLog, sessionLog, weeklyDigest), heatmap zu BuiltinFormat
- formatters.ts: Query-Results → Markdown (Timeline, Table, Summary, Metric, Heatmap, Custom)
- Presets: daily-log (Tagesprotokoll), session-log (Session-Protokoll), weekly-digest (Wochenuebersicht)
- template-registry.ts: Built-in + Custom ProjectionTemplate Verwaltung
- projection-engine.ts: Kern-Engine mit Scheduling, Session-End-Listener, ProjectionPickerModal
- main.ts: ProjectionEngine Integration, 2 neue Commands (run-projection, run-all-projections)
- settings-tab.ts: Neue Sektion "Projektionen" mit Toggles und Konfiguration
- styles.css: ProjectionPickerModal Styling

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:52:06 +01:00
c30320a7db Merge feature/query-management: History, Favoriten, Templates, Schema
Query-History mit Metriken, Favoriten mit Kategorien/Tags,
9 Built-in Templates fuer Logfire-Schema, Schema-Browser Sidebar.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:24:35 +01:00
4936bfd94f Query-Management in main.ts verdrahtet, Schema/Modal CSS
History, Favorites, Templates und Schema-Browser initialisiert
und mit Commands verknuepft. CSS fuer Schema-Browser-Sidebar,
Template-Picker und Favoriten-Modal ergaenzt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:24:28 +01:00
df3bddeaeb QueryModal: History-Integration und initiale SQL
Query-Editor trackt jetzt alle Ausfuehrungen im HistoryManager
(Laufzeit, Zeilenanzahl). Akzeptiert optionale initiale SQL
fuer Template- und Favoriten-Integration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:24:20 +01:00
3d0519db8f Schema-Browser: Sidebar mit Tabellen, Spalten und Indizes
SchemaView als ItemView zeigt alle Logfire-DB-Tabellen mit
aufklappbaren Details (Spaltentypen, PK, Indizes, Zeilenanzahl).
Rechtsklick kopiert SELECT-Statement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:24:14 +01:00
b9732810f9 Templates: Built-in und Custom Query-Templates mit Parametern
TemplateManager mit 9 Built-in Templates fuer Logfire-Schema
(Events, Sessions, Stats, Dateien, Tags, verwaiste Notizen,
defekte Links). Parameter-Substitution via {{name:default}}.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:24:08 +01:00
6c7d239108 Favoriten: gespeicherte Queries mit Kategorien und Tags
FavoritesManager mit Kategorien (Allgemein, Analyse, Wartung),
Tags, Usage-Tracking. SaveFavoriteModal fuer Obsidian-UI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:24:00 +01:00
4b8f1fc814 Query-History: automatisches Tracking aller Queries
HistoryManager speichert ausgefuehrte Queries mit Metriken
(Laufzeit, Zeilenanzahl), Deduplizierung, max 200 Eintraege,
Favoriten-Schutz vor Loeschung, Suche.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:23:54 +01:00
4547e0606e Merge feature/visualisierung: Charts und Dashboards
SVG-Chart-Renderer (10 Typen), Dashboard-View und Code-Block,
Chart-Support in logfire-sql, vollstaendiges CSS-Theming.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:17:34 +01:00
2f7ee27e9b Visualisierung in main.ts verdrahtet, Chart/Dashboard CSS
Dashboard-View registriert, Ribbon-Icon, Befehl und
logfire-dashboard Block-Prozessor eingebunden. CSS fuer
SVG-Charts, Legenden, Dashboard-Grid und Widgets ergaenzt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:17:28 +01:00
aba060f3a5 Processor: Chart-Support und Dashboard-Block-Prozessor
logfire-sql Bloecke unterstuetzen jetzt -- chart: Direktiven
fuer Inline-Visualisierung. Neuer logfire-dashboard Block-
Prozessor rendert Multi-Widget-Dashboards direkt in Notizen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:17:22 +01:00
eec66b738d Dashboard: View und Code-Block-Parser fuer Multi-Widget-Layouts
DashboardView als Obsidian-Sidebar, parseDashboardBlock fuer
logfire-dashboard Code-Bloecke. Grid-Layout mit query, chart,
stat und text Widgets. Unabhaengige Refresh-Intervalle pro Widget.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:17:16 +01:00
794cb42b72 Chart-Renderer: SVG-Visualisierung mit 10 Chart-Typen
Bar, Line, Pie, Doughnut, HorizontalBar, Scatter, Area,
StackedBar, Radar und Gauge — alles reines SVG ohne externe
Bibliotheken. Nutzt Obsidian-CSS-Variablen fuer Theming.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:17:09 +01:00
df39e0174a Merge feature/virtual-tables: Virtual Tables 2026-02-12 11:10:00 +01:00
a4f695d75a Virtual Tables in main.ts verdrahtet, Author auf tolvitty
VirtualTableManager nach Layout-Ready initialisieren,
Cleanup in onunload, Kommando zum manuellen Rebuild.
manifest.json Author-Feld aktualisiert.

Co-Authored-By: tolvitty <noreply@anthropic.com>
2026-02-12 11:09:54 +01:00
3f12824170 Virtual Tables: _files, _links, _tags, _headings
Auto-generierte Tabellen aus Vault-Metadaten mit prepared statements
und Transaktionen. Inkrementelle Updates bei Datei-Aenderungen und
Metadata-Cache-Events. Unterstuetzt manuellen Rebuild.

Co-Authored-By: tolvitty <noreply@anthropic.com>
2026-02-12 11:09:48 +01:00
c2f0270f1e DatabaseManager: exec, run und transaction Methoden ergaenzt
Generische Hilfsmethoden fuer Schema-Operationen (exec),
parametrisierte Writes (run) und Transaktionen (transaction).

Co-Authored-By: tolvitty <noreply@anthropic.com>
2026-02-12 11:09:41 +01:00
263c50c8fd Merge feature/sql-engine: SQL-Query-Engine 2026-02-12 11:03:06 +01:00
c050807ad0 SQL-Engine in main.ts verdrahtet, Query-Styles ergaenzt
Code-Block-Prozessoren registriert, Query-Kommando hinzugefuegt,
Refresh-Timer-Cleanup in onunload. Styles fuer Query-Modal,
Datentabellen, Timeline, Summary, Metric, Heatmap, Error-States.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:03:00 +01:00
c90bbbf5e3 Code-Block-Prozessoren und Query-Modal
logfire-Block (YAML-Config), logfire-sql-Block (Raw SQL) mit
Auto-Refresh-Timern. Query-Modal mit Shorthand- und SQL-Modus,
Kopieren-als-Markdown und In-Notiz-einfuegen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:02:52 +01:00
b2fc5b8f6b Table-Renderer: Render-Funktionen fuer Query-Ergebnisse
Tabelle, Timeline, Summary, Metric, Liste, Heatmap sowie
Markdown-Export und Wertformatierung (Timestamps, Zahlen).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:02:45 +01:00
00446c4227 Query-Builder: QueryConfig zu parametrisiertem SQL
Konvertiert strukturierte QueryConfig-Objekte in parametrisierte
SQL-Queries mit Zeitbereich-Aufloesung, Event-/Kategorie-Filtern,
Glob-to-LIKE-Pfadfiltern und GROUP BY (file/type/hour/day/session).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:02:40 +01:00
3a64d723d5 Merge feature/echtzeit-ui: Echtzeit-UI
Event-Stream-Sidebar mit Suche und Kategorie-Filtern,
Status-Bar mit Live-Metriken und Klick-Pause,
Ribbon-Icon, Styles im System-Monitor-Design.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:55:34 +01:00
bf63f5f9e3 Echtzeit-UI in main.ts verdrahtet
Event-Stream-View registriert, StatusBar mit Live-Updates,
Ribbon-Icon für Event-Stream, Kommando 'Event-Stream
anzeigen', activateEventStream-Methode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:55:28 +01:00
22a6c2e188 Styles: Utilitarian-System-Monitor-Design
Event-Stream mit Monospace, alternierenden Zeilen,
Toolbar, Kategorie-Chips. Status-Bar kompakt.
Scan-Modal mit animiertem Fortschrittsbalken.
Ausschließlich Obsidian CSS-Variablen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:55:21 +01:00
eb58de96fe Status-Bar: Live-Widget mit Klick-Pause
Zeigt Aufnahme/Pausiert-Status, Event-Zähler,
Wort-Delta, Session-Dauer. Klick togglet Pause.
Updates jede Sekunde.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:55:15 +01:00
50af0eb802 Event-Stream-View: Echtzeit-Sidebar mit Filtern
Sidebar-View mit Live-Event-Liste, Suche nach Quelle,
Kategorie-Filter-Checkboxen, Pause/Leeren-Buttons,
max 500 sichtbare Einträge, Payload-Zusammenfassung
je Event-Typ.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:55:08 +01:00
afc8c8281d Merge feature/event-system: Event-System & Collectors
EventBus mit Buffer/Flush, SessionManager, ContentAnalyzer,
5 Collectors (File, Content, Nav, Editor, System),
Initial-Scan-Modal, Pause/Resume, Kommandos.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:51:05 +01:00
64d43dfab2 Event-System in main.ts verdrahtet
EventBus, SessionManager, ContentAnalyzer, alle 5 Collectors
und CM6-Extension integriert. Tracking-Lifecycle mit
Pause/Resume, Initial-Scan bei fehlendem Baseline,
Wartung beim Start. Kommandos für Toggle, Rescan,
Wartung und Debug-Info.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:50:55 +01:00
91cc22c3e5 Initial-Scan-Modal mit Fortschrittsanzeige
Batch-Processing (50 Dateien pro Batch) mit UI-Yield,
Fortschrittsbalken, Datei-/Wort-/Link-/Tag-Zähler,
Abbruch-Möglichkeit, Baseline-Event nach Scan.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:50:48 +01:00
e0d9f301d6 Alle Event-Collectors implementiert
FileCollector: create, delete, rename, move, modify Events.
ContentCollector: Semantische Analyse bei file:modify
(Wörter, Links, Tags, Headings, Embeds, Frontmatter).
NavCollector: file-open/close mit Dauer, active-leaf-change.
EditorCollector: CM6 ViewPlugin mit Debouncing.
SystemCollector: Command-Patching für Kommando-Tracking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:50:41 +01:00
4e27ec2a90 Event-Bus, Session-Manager und Content-Analyzer
EventBus: Circular Buffer mit Pub/Sub, Auto-Flush bei
Threshold oder Intervall, Error-Recovery.
SessionManager: Session-Lifecycle mit UUID, Dauer-Tracking.
ContentAnalyzer: Snapshot-Cache, semantische Diffs für
Wörter, Links, Tags, Headings, Frontmatter, Embeds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:50:33 +01:00
36b25b321b Plugin-Einstieg und Settings-Tab
Minimaler main.ts: onload/onunload, DB-Initialisierung,
Settings laden/speichern, shouldTrack-Filter mit Glob-Matching.
Settings-Tab mit Tracking-Toggles, Exclude-Patterns,
erweitertem Bereich für Performance/Retention/DB-Info.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:46:02 +01:00
f11eb45324 Datenbank-Layer: better-sqlite3 mit Schema und Retention
DatabaseManager mit WAL-Modus, Schema-Migrationen,
Tabellen: events, sessions, baseline, daily_stats, monthly_stats,
retention_log. Prepared Statements, Batch-Inserts,
Retention-Policies mit Aggregation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:45:55 +01:00
d5dfdd6b0d Kern-Typen: Event-System, Settings, Query-Interfaces
Alle Event-Typen (file, content, nav, editor, vault, plugin, system),
ContentSnapshot/Delta, QueryConfig, ProjectionTemplate,
LogfireSettings mit Defaults, deepMerge-Utility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:45:49 +01:00
4d31129090 Projekt-Grundgerüst: Build-System und Konfiguration
package.json mit better-sqlite3, tsconfig (strict, ES2022),
esbuild mit native-module-resolver für better-sqlite3,
manifest.json (Desktop-only), leere styles.css.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:45:43 +01:00