Commit Graph

187 Commits

Author SHA1 Message Date
crispyberry
6d50db06ad Merge pull request #71 from mogenson/fix-get-current-time 2026-02-25 01:16:15 +08:00
crispyberry
51949aba27 Merge pull request #86 from IRONICBo/hotfix/proxy-compat-fix 2026-02-25 01:15:39 +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
efaf40f678 Merge pull request #83 from IRONICBo/fix/docs-links-polish
docs: fix contributing links and polish localized wording
2026-02-24 13:26:58 +08:00
Bo
1476934da7 docs: localize contributing headings in cn and ja readmes
Signed-off-by: Bo <boironic@gmail.com>
2026-02-24 20:28: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
Bo
9433fc7241 docs: fix contributing links and polish localized wording
Signed-off-by: Bo <boironic@gmail.com>
2026-02-22 19:16:00 +08:00
crispyberry
9c3dbc441b Merge pull request #73 from memovai/cleanup/remove-dead-code 2026-02-22 16:53:55 +08:00
crispyberry
0bd1921c2a Merge pull request #72 from mogenson/mimiclaw-hostname 2026-02-22 16:53:38 +08: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
Michael Mogenson
a70bad385f Change network hostname from 'espressif' to 'mimiclaw'
Small change to sdkconfig.defaults that helps make this device more
identifiable on the local network.
2026-02-20 18:36:08 -05:00
crispyberry
0b9e66aa4a chore: move CONTRIBUTE.md to repo root as CONTRIBUTING.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 01:19:10 +08:00
crispyberry
37a141df07 Merge pull request #64 from IRONICBo/chore/simplify-device-usage
refactor: remove LCD/LED dependencies and fix Telegram duplicate update handling
2026-02-20 00:37:27 +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
crispyberry
cca3e759e4 Merge pull request #65 from IRONICBo/fix/fix-ubuntu-build 2026-02-19 23:16:40 +08:00
Bo
61d820a138 chore: macOS setup skips installed tools and brew failures 2026-02-19 10:20:00 -08:00
Bo
97ab08ea57 Docs(JA): add macOS install guide 2026-02-19 10:15:00 -08:00
Bo
54ccf098f2 Docs(CN): add macOS install guide 2026-02-19 10:10:00 -08:00
Bo
56946350c7 Docs: add macOS install guide 2026-02-19 10:05:00 -08:00
Bo
652da2a7f7 Add macOS build scripts 2026-02-19 10:00:00 -08:00
crispyberry
39fe40b740 Merge pull request #66 from IRONICBo/docs/add-contribute-guide 2026-02-19 23:15:34 +08:00
Asklv
fc9b7c3356 docs: localize Ubuntu details summary labels
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-19 12:56:19 +00:00
Asklv
23ddc06b72 docs: restore default install flow and keep Ubuntu notes collapsed
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-19 12:55:38 +00:00
Bo
7f8a7caa00 docs: remove changelog 2026-02-19 20:55:30 +08:00
Bo
c3e951afb0 docs: update contributing guide 2026-02-19 20:55:23 +08:00
Bo
ef8b4028f9 docs: update readme ja 2026-02-19 22:30:00 +08:00
Asklv
adbd771ef4 docs: add collapsed Ubuntu dependency and build notes in all READMEs
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-19 12:49:53 +00:00
Asklv
9822f898e1 ci: add ubuntu esp-idf build verification workflow
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-19 22:10:00 +00:00
Asklv
390719d889 docs: add Ubuntu ESP-IDF setup and build flow
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-19 15:20:00 +00:00
Bo
09422a3a6c docs: update readme cn 2026-02-19 20:15:00 +08:00
Bo
2cba142fd1 docs: update readme 2026-02-19 18:00:00 +08:00
Asklv
433c0a66ea feat: add ESP-IDF setup and build helper scripts
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-19 09:00:00 +00:00
Bo
2d48c1272a docs: add changelog 2026-02-19 16:20:00 +08: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
4cf5f435c2 Merge pull request #61 from memovai/fix/usb-serial-hang-issue-60 2026-02-19 15:31:15 +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
a56d6af2db docs: add contributing guide 2026-02-19 15:10:00 +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
cc33276a47 Merge pull request #55 from IRONICBo/fix/fix-unexcept-in-tg 2026-02-18 20:40:23 +08:00
Asklv
b75370a290 docs(search): add Tavily setup and CLI usage examples
Signed-off-by: Asklv <boironic@gmail.com>
2026-02-18 19:16:00 +08:00