yamchart 0.4.18 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,6 +52,11 @@ yamchart search <keyword> # Find tables and columns matching keyword
52
52
  yamchart query "SELECT ..." # Execute ad-hoc SQL (default limit: 100)
53
53
  yamchart query "SELECT ..." --limit 500 # Custom row limit
54
54
  yamchart reset-password --email <e> # Reset a user's password (requires auth enabled)
55
+ yamchart advisor # Interactive dbt model advisor (requires ANTHROPIC_API_KEY)
56
+ yamchart advisor "question" # Single question mode
57
+ yamchart advisor audit # Comprehensive dbt project audit
58
+ yamchart advisor audit --top 3 # Limit audit suggestions
59
+ yamchart advisor --dbt-path ../dbt # Override dbt project path
55
60
  ```
56
61
 
57
62
  ## SQL Models (`models/*.sql`)
@@ -474,6 +479,21 @@ The dashboard UI includes an edit mode for drag-and-drop layout editing:
474
479
  - Double-click text widgets to edit markdown inline (KPI autocomplete via `{`)
475
480
  - Undo/redo support
476
481
  - Changes are saved back to the YAML file
482
+ - **Desktop only** — edit mode is disabled on tablets and phones
483
+
484
+ ### Responsive Layout
485
+
486
+ Dashboards automatically adapt to different screen sizes. No YAML changes are needed — responsive layouts are computed from your 12-column desktop layout.
487
+
488
+ | Screen | Breakpoint | Columns | Behavior |
489
+ |--------|-----------|---------|----------|
490
+ | Desktop | ≥1024px | 12 | Full layout as defined in YAML |
491
+ | Tablet | 768–1023px | 6 | Widgets capped to 6 cols, reflowed |
492
+ | Phone | <768px | 1 | Single column stack |
493
+
494
+ **Sidebar:** Full sidebar on desktop, collapsed icon rail on tablet, hidden with hamburger menu on phone.
495
+
496
+ **Charts:** All charts auto-resize to fit their container using ResizeObserver — no manual resize handling needed.
477
497
 
478
498
  ## Connections (`connections/*.yaml`)
479
499
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yamchart",
3
- "version": "0.4.18",
3
+ "version": "0.5.0",
4
4
  "description": "Git-native business intelligence dashboards",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -33,6 +33,7 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
+ "@anthropic-ai/sdk": "^0.39.0",
36
37
  "@fastify/cookie": "^11.0.0",
37
38
  "@fastify/cors": "^10.0.0",
38
39
  "@fastify/static": "^8.0.0",
@@ -63,6 +64,7 @@
63
64
  "tsup": "^8.0.0",
64
65
  "typescript": "^5.7.0",
65
66
  "vitest": "^2.1.0",
67
+ "@yamchart/advisor": "0.1.0",
66
68
  "@yamchart/auth-local": "0.1.0",
67
69
  "@yamchart/config": "0.1.2",
68
70
  "@yamchart/query": "0.1.2",