Commit 0811028
feat(dashboard): require config_hash, remove card tools, add hints
BREAKING CHANGE: Remove ha_dashboard_add_card, ha_dashboard_update_card,
ha_dashboard_remove_card tools. Use jq_transform in ha_config_set_dashboard
instead for all card operations.
Changes:
- config_hash now REQUIRED for jq_transform (optimistic locking)
- config_hash optional for full config replacement (validates if provided)
- Add card_count and hint to get_dashboard for large dashboards (30+ cards)
- Add soft warning when full-replacing large dashboards
- Document multi-op jq syntax with pipe chaining
- Add IMPORTANT warning about index shifting after delete/add ops
- Add ENABLE_DASHBOARD_PARTIAL_TOOLS feature flag for find_card
- Remove 726 lines of redundant card tool code
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 65b4581 commit 0811028
2 files changed
Lines changed: 140 additions & 886 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
| |||
0 commit comments