Add Dataview and Bases generators (Toolbox Phase 2)

Two more inside-LMS generators under /tools, completing the 6-tool set:
- Dataview: DQL builder (TABLE/LIST/TASK/CALENDAR, FROM/WHERE/SORT/LIMIT),
  output wrapped in a dataview code block
- Bases: .base YAML builder (views, filters and:, order, sort, groupBy, limit);
  filter expressions emitted as single-quoted YAML scalars for safety

Syntax verified against official Obsidian docs (research workflow). Audit fix:
Bases sort entries use 'column:' (not 'property:') per documented working .base
files; 'property:' is kept only for groupBy. 14 new tests (47 total).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-24 10:04:09 +05:00
parent 1aa99b9def
commit 6317dade9e
12 changed files with 505 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export function ToolboxPromoCard() {
Инструменты Obsidian
</h2>
<p className="text-sm" style={{ color: "var(--foreground)" }}>
Генераторы синтаксиса: callout-CSS, YAML-frontmatter, темы, Style Settings.
Генераторы синтаксиса: callout, frontmatter, темы, Style Settings, Dataview, Bases.
</p>
</div>
<span className="text-sm font-bold whitespace-nowrap" style={{ color: "var(--foreground)" }}>