Commit Graph

77 Commits

Author SHA1 Message Date
Asklv
a0b6cb34cf chore(search): add Tavily key config placeholders
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-18 19:16:00 +08:00
Asklv
040f5bed0f feat: use websocket for feishu inbound
Signed-off-by: Asklv <boironic@gmail.com>
2026-03-04 19:16:00 +08:00
Asklv
a9fd606672 feat: add feishu_send cli command
Signed-off-by: Asklv <boironic@gmail.com>
2026-03-03 21:16:00 +08:00
Asklv
f076359900 refactor: increase feishu id buffer size
Signed-off-by: Asklv <boironic@gmail.com>
2026-03-03 20:16:00 +08:00
Asklv
50bcd1aa42 docs: add feishu integration readme
Signed-off-by: Asklv <boironic@gmail.com>
2026-03-03 19:16:00 +08:00
Asklv
0072906d9f feat: wire feishu into app and cli
Signed-off-by: Asklv <boironic@gmail.com>
2026-03-03 10:16:00 +08:00
Asklv
56c6db438a feat: add feishu bot core
Signed-off-by: Asklv <boironic@gmail.com>
2026-03-02 19:16:00 +08:00
Asklv
d5dc6322d5 feat: add feishu bot header api
Signed-off-by: Asklv <boironic@gmail.com>
2026-03-01 19:16:00 +08:00
Asklv
7b29fa20d7 chore: add feishu config defaults
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-28 19:16:00 +08:00
Asklv
ed3c884e17 refactor: move telegram channel files
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-27 19:16:00 +08:00
crispyberry
6b2eb9c30f Merge pull request #104 from IRONICBo/feat/remove-imu-device 2026-03-01 15:10:11 +08:00
crispyberry
f1571118f0 hotfix: decode chunked transfer encoding in proxy LLM path
The proxy path (llm_http_via_proxy) stripped HTTP headers but did not
decode chunked transfer-encoding, leaving hex size prefixes in the body
and causing cJSON_Parse to fail with 0 bytes text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 09:48:15 +08:00
Bin Meng
22886cf0f2 chore: avoid hardcoding file paths via MIMI_SPIFFS_BASE
Use MIMI_SPIFFS_BASE to centralize file path definitions, making the
base path configurable instead of hardcoded.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2026-02-26 11:37:34 +08:00
Asklv
785259d3e2 chore: remove unused config_screen UI stubs
Remove the ui/ directory containing config_screen stubs that were
left over from the display removal. This code was not compiled
(not listed in CMakeLists.txt) and had no callers.

Signed-off-by: Asklv <boironic@gmail.com>
2026-02-26 10:00:00 +08:00
Bin Meng
f3ee76d3b0 fix: add missing stdlib.h include in heartbeat.c
The code calls free() without including <stdlib.h>, which triggers
implicit declaration warnings during the build.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2026-02-25 22:14:53 +08:00
Asklv
e9081fdb8f build: remove IMU and button sources from CMakeLists.txt
Remove button and IMU source files from the build. Drop the 'driver'
component dependency which was only needed for GPIO/I2C used by the
removed peripherals.

Signed-off-by: Asklv <boironic@gmail.com>
2026-02-25 14:00:00 +08:00
Asklv
cc20ae58d9 refactor: remove IMU and button init calls from app_main
Remove button_Init(), imu_manager_init(), and
imu_manager_set_shake_callback() calls from mimi.c along with
their corresponding include directives.

Signed-off-by: Asklv <boironic@gmail.com>
2026-02-25 10:00:00 +08:00
crispyberry
6d50db06ad Merge pull request #71 from mogenson/fix-get-current-time 2026-02-25 01:16:15 +08:00
Bo
04c80c9c7e hotfix(proxy): fix CLI/api mismatch and add proxy type defaults
Signed-off-by: Bo <boironic@gmail.com>
2026-02-24 19:16:00 +08:00
Asklv
b5a609e174 refactor: remove button driver and GPIO input code
Remove the buttons/ directory including multi_button library and
button_driver. Physical button input is not needed for the current
headless Telegram/WebSocket interaction model.

Signed-off-by: Asklv <boironic@gmail.com>
2026-02-24 14:00:00 +08:00
crispyberry
42f629588d Merge pull request #39 from mdreamfly/feature/proxy-socks5
feat: add socks5 proxy support
2026-02-24 13:25:34 +08:00
Asklv
ea3ba0b966 refactor: remove IMU driver and QMI8658 sensor files
Remove the entire imu/ directory including I2C_Driver, QMI8658
accelerometer/gyroscope driver, and imu_manager. These hardware
peripherals are not used in the current mimiclaw product scope.

Signed-off-by: Asklv <boironic@gmail.com>
2026-02-24 10:00:00 +08:00
Michael Mogenson
2e3ed9f259 Fix get_current_time tool
On ESP IDF 5.5 the get_current_time tool returns ESP_ERR_NOT_FOUND because
there is no "Date" header. This is because esp_http_client_get_header
only reads request headers. Response headers are only available via the
HTTP_EVENT_ON_HEADER event callback. They're dispatched and freed as they're
parsed.

Register an event handler that captures the "Date" header during HTTP response
parsing. The date string from this header is available as part of user context
after the HTTP request is finished.
2026-02-22 21:45:25 -05:00
crispyberry
c06f706ffd chore: remove dead code and fix unsafe patterns
- Remove unused context_build_messages() (superseded by direct cJSON in agent_loop)
- Remove unused llm_chat() and its helper extract_text_* functions (superseded by llm_chat_tools)
- Remove ota_manager.c from build (never called)
- Remove config_screen.c stub from build (no-op module)
- Remove unused PWR_KEY_State, Button_GPIO_Get_Level; drop config_screen dependency from button_driver
- Fix incorrect type cast in tool_get_time.c (char[64] cast to char**)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:11:15 +08:00
Bo
b1d8f41f1c fix: dedupe telegram updates and persist update offset
Signed-off-by: Bo <boironic@gmail.com>
2026-02-20 00:08:05 +08:00
Bo
08e59f8216 fix: select console repl backend by enabled sdkconfig
Signed-off-by: Bo <boironic@gmail.com>
2026-02-20 00:08:05 +08:00
Bo
f0a2741e0c fix: restore non-display psram usage and clean stale qrcode log
Signed-off-by: Bo <boironic@gmail.com>
2026-02-20 00:08:05 +08:00
Bo
0c256d7653 refactor: replace psram allocations with standard heap
Signed-off-by: Bo <boironic@gmail.com>
2026-02-20 00:08:05 +08:00
Bo
ce198ccbe8 chore: remove display and rgb source trees
Signed-off-by: Bo <boironic@gmail.com>
2026-02-20 00:08:05 +08:00
Bo
ba28c5e60f refactor: remove runtime display and led interactions
Signed-off-by: Bo <boironic@gmail.com>
2026-02-20 00:08:05 +08:00
Bo
9c889ef3f2 build: drop display and led component dependencies
Signed-off-by: Bo <boironic@gmail.com>
2026-02-20 00:07:26 +08:00
Asklv
9c0812c5d9 build: align component manager IDF range to 5.5.x
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-18 21:30:00 +00:00
Asklv
84c04063b3 fix: allow build without mimi_secrets.h
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-18 20:10:00 +00:00
crispyberry
8a5133d477 chore: rename wifi_set command to set_wifi for consistency
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 16:00:18 +08:00
crispyberry
10c9a5ed5c fix: prevent device hang when no USB host connected
Switch primary console from USB Serial/JTAG to UART so log output
doesn't block when the device is powered by a wall charger. USB
Serial/JTAG remains available as secondary console for debugging.

Closes #60

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 15:16:55 +08:00
Bo
3232de772a chore: simplify llm serial log.
Signed-off-by: Bo <boironic@gmail.com>
2026-02-18 19:16:00 +08:00
Bo
5d92917a0b feat: update mimi tips in tg.
Signed-off-by: Bo <boironic@gmail.com>
2026-02-18 17:16:00 +08:00
Bo
cba7444b26 fix: fix telegram sent error in cron task.
Signed-off-by: Bo <boironic@gmail.com>
2026-02-18 17:16:00 +08:00
Bo
6904cf9bd4 fix: fix long api key in openai.
Signed-off-by: Bo <boironic@gmail.com>
2026-02-18 00:16:00 +08:00
Bo
4ce0735c9a feat: add skill verification CLI commands and preflash SPIFFS image 2026-02-17 01:26:18 +08:00
Asklv
e196c88c49 fix: resolve skill_loader compilation errors 2026-02-17 01:06:16 +08:00
crispyberry
31a88b53c0 feat: add skills system with weather, daily-briefing, and skill-creator
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:06:16 +08:00
Bo
c120a6fe45 fix cron/heartbeat e2e stability and build issues 2026-02-16 23:00:00 +08:00
Asklv
5c54352ce0 fix: add missing stdbool.h include in heartbeat.h 2026-02-15 16:00:00 +08:00
m.dreamfly
54a7ab02e1 feat: add socks5 proxy support 2026-02-13 15:04:20 +08:00
Bo
e79e4e4932 feat: add wifi scaner in uart.
Signed-off-by: Bo <boironic@gmail.com>
2026-02-10 15:57:14 +08:00
crispyberry
ebff0ccb04 feat: add heartbeat service for periodic task checking
Adds a heartbeat timer that reads /spiffs/config/HEARTBEAT.md every 30
minutes and sends a prompt to the agent if actionable tasks are found.
Skips empty lines, headers, and completed checkboxes. Includes a
heartbeat_trigger CLI command for manual testing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 01:23:13 +08:00
crispyberry
dbab65bd47 feat: add cron scheduled task service with tool_use integration
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 01:02:33 +08:00
crispyberry
680f41133a Merge pull request #28 from IRONICBo/feat/add-onboarding-view
feat: add interactive onboarding view
2026-02-16 22:47:07 +08:00
Bo
7918bab27d feat: add config view for lvgl.
Signed-off-by: Bo <boironic@gmail.com>
2026-02-10 15:58:19 +08:00