Add app_update component to CMakeLists REQUIRES for OTA version
reporting. Add sdkconfig.defaults scaffold and gitignore nanobot
reference repo.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Wraps esp_https_ota for over-the-air updates via HTTPS.
Dual OTA partitions enable safe rollback.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
JSON protocol server using esp_http_server with WS upgrade.
Supports up to 4 concurrent clients, auto-assigned chat_id,
routes messages through the agent via message bus.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
MEMORY.md for long-term memory, daily YYYY-MM-DD.md notes.
JSONL session files per chat_id with ring buffer history
(max 20 messages). All persisted on SPIFFS.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Agent loop runs on Core 1: pops inbound messages, builds system
prompt from bootstrap files + memory, calls Claude API, saves
session, pushes response to outbound queue. PSRAM-allocated buffers.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Anthropic Messages API integration with streaming response.
Parses content_block_delta SSE events, accumulates text tokens.
API key and model stored in NVS.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Direct HTTPS long polling against Telegram Bot API (getUpdates),
JSON parsing with cJSON, auto-split at 4096 chars, Markdown
with plain-text fallback.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
mimi_msg_t carries channel/chat_id/content between tasks.
Decouples input channels from agent loop and output dispatch.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
STA mode, reads SSID/password from NVS, exponential backoff
reconnect (1s-30s), EventGroup for connection state.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16MB flash with custom partitions (2x2MB OTA + 12MB SPIFFS),
PSRAM/WiFi/TLS tuning, and centralized compile-time constants.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>