A lightweight system monitoring agent that: - Collects metrics via configurable shell commands - Publishes to MQTT with Home Assistant auto-discovery - Supports entity types: sensor, binary_sensor, light, switch, button - Responds to commands over MQTT for controllable entities Architecture: - src/config.ts: TOML config loading and validation - src/mqtt.ts: MQTT client with HA discovery - src/entities.ts: Entity state polling and command handling - index.ts: CLI entry point (run, check, once commands) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
552 B
Markdown
27 lines
552 B
Markdown
# /plan
|
|
|
|
Enter planning mode to design an implementation approach.
|
|
|
|
## Instructions
|
|
|
|
1. Enter plan mode using EnterPlanMode tool
|
|
2. Explore the codebase to understand current state
|
|
3. Identify affected files and components
|
|
4. Design the implementation approach
|
|
5. Present the plan for user approval before coding
|
|
|
|
## When to Use
|
|
|
|
- New features
|
|
- Architectural changes
|
|
- Complex bug fixes
|
|
- Refactoring tasks
|
|
|
|
## Output
|
|
|
|
A clear plan including:
|
|
- Files to create/modify
|
|
- Key implementation steps
|
|
- Potential risks or considerations
|
|
- Testing approach
|