Commit Graph

21 Commits

Author SHA1 Message Date
Shubham Naik
06ddc0a326 feat(listen): emit run_request_error when initial POST fails (#1267)
Co-authored-by: Letta Code <noreply@letta.com>
2026-03-05 10:41:17 -08:00
Charles Packer
95a628eaa0 fix(ws): remote interrupt recovery for listen-client [LET-7796] (#1272)
Co-authored-by: Letta Code <noreply@letta.com>
2026-03-04 22:35:17 -08:00
Charles Packer
654fc2d213 rename: letta remote -> letta server with remote as alias (#1265)
Co-authored-by: Letta Code <noreply@letta.com>
2026-03-04 15:44:53 -08:00
Shubham Naik
68e4bc0b4a feat: pass version in letta remote (#1226) 2026-03-03 12:57:09 -08:00
cpacker
04dcff9c33 feat(remote): always-on session log to ~/.letta/logs/remote/
Every `letta remote` session now writes a log file to
~/.letta/logs/remote/{timestamp}.log regardless of --debug mode.
All WS events, lifecycle transitions, and errors are captured.
--debug still prints to console on top. Log path printed at startup.
Old logs auto-pruned (keeps last 10).

🐛 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>
2026-03-01 13:50:54 -08:00
cpacker
393ab7bddf refactor(remote): extract shared registerWithCloud() helper
Registration HTTP logic was duplicated three times across listen.ts
(initial + re-register) and listen.tsx. Extracted into
listen-register.ts with proper error handling for non-JSON responses,
response shape validation, and 5 focused tests. Removes ~110 lines
of duplication.

🐛 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>
2026-03-01 11:53:45 -08:00
cpacker
b4910cd410 fix(listen): enforce strict queue/run correlation in recovery 2026-03-01 00:06:37 -08:00
Charles Packer
269e381551 feat: ws sync (#1222) 2026-02-28 10:42:20 -08:00
Charles Packer
c8eaea5ee4 feat(listen): recover pending approvals via websocket control (#1219) 2026-02-27 19:25:07 -08:00
Charles Packer
e4c2893f60 feat: add --debug flag for plain-text logging (#1215)
Co-authored-by: Letta <noreply@letta.com>
2026-02-27 18:01:46 -08:00
Shubham Naik
1a630cedc9 improve streaming resilience for remote mode (#1171) 2026-02-26 15:01:13 -08:00
Charles Packer
7a36d27e8f feat(protocol): add static transcript sync message types (LSS1) (#1169)
Co-authored-by: Letta <noreply@letta.com>
2026-02-26 14:52:51 -08:00
Charles Packer
908820c44a feat: queue listen integration (#1163)
Co-authored-by: Letta <noreply@letta.com>
2026-02-26 11:02:01 -08:00
Charles Packer
6ddd54592b feat: ws emissions parity (#1158)
Co-authored-by: Letta <noreply@letta.com>
2026-02-25 21:52:44 -08:00
Charles Packer
cca57b1759 feat(listen): gated blocking-in-loop approval flow with control_response (#1155)
Co-authored-by: Letta <noreply@letta.com>
2026-02-25 20:11:51 -08:00
Charles Packer
ce5ba0496f feat(listen): add ws control_response resolver plumbing (#1152) 2026-02-25 19:05:43 -08:00
Shubham Naik
eb210f22b4 feat: simplify listen command - remove binding flags, add auto-genera… (#1111)
Co-authored-by: Letta <noreply@letta.com>
2026-02-24 14:11:10 -08:00
Kian Jones
539ce175e5 feat: add --conv flag to listen subcommand (#1070) 2026-02-20 16:37:00 -08:00
Shubham Naik
4f8690f98d fix: never auto-approve interactive tools in listen mode (#1066)
Co-authored-by: Letta <noreply@letta.com>
2026-02-20 13:26:57 -08:00
Shubham Naik
924ae8e8bc feat: add approval loop and improved conversationId handling for list… (#1057)
Co-authored-by: Letta <noreply@letta.com>
2026-02-20 12:30:20 -08:00
Shubham Naik
56ff8ad447 feat: listen mode (#997)
Co-authored-by: cpacker <packercharles@gmail.com>
2026-02-18 17:38:48 -08:00