Commit Graph

150 Commits

Author SHA1 Message Date
Charles Packer
3728d1ec0c refactor: extract shared turn queue runtime (#991) 2026-02-17 12:58:33 -08:00
Charles Packer
7cc8729e57 feat: align headless bidirectional queueing with TUI runtime (#990) 2026-02-17 11:38:29 -08:00
Charles Packer
66ced52c81 feat: expose MEMORY_DIR and AGENT_ID in runtime context (#986) 2026-02-16 18:24:59 -08:00
Charles Packer
5435f44c45 fix: expand chatgpt oauth retry classification (#980) 2026-02-16 14:36:15 -08:00
Kian Jones
81ac1670ab fix: resolve ghost assistant messages when Anthropic returns [text, thinking, text] (#956)
Co-authored-by: Letta <noreply@letta.com>
2026-02-13 17:44:46 -08:00
jnjpng
40c508fe8c feat: show specific retry messages for known LLM provider errors (#953) 2026-02-13 12:31:23 -08:00
Charles Packer
0272a2e371 fix: default reflection trigger to compaction-event (#943)
Co-authored-by: Letta <noreply@letta.com>
2026-02-12 17:42:38 -08:00
jnjpng
86a0fc9b1d feat: update custom status line prompt input (#938) 2026-02-12 16:23:00 -08:00
Charles Packer
7d09371e5c fix: only inject interrupt recovery after real user interrupts (#936) 2026-02-12 15:22:00 -08:00
Charles Packer
fa783fd2c8 fix: hide system-reminder blocks in backfill + literal tag rendering (#935) 2026-02-12 14:27:49 -08:00
Charles Packer
28e67dadae fix: use system-reminder tags for conversation switch context (#933) 2026-02-12 14:18:16 -08:00
jnjpng
25c11ed0a5 fix: /context double render on short terminals and stale loading text (#934)
Co-authored-by: letta-code <248085862+letta-code@users.noreply.github.com>
Co-authored-by: Letta <noreply@letta.com>
2026-02-12 14:03:20 -08:00
Kian Jones
a81b8f7b5d feat(harness): add system alert for conversation switching (#910) 2026-02-12 12:43:23 -08:00
Charles Packer
0ada2db7d7 fix: prevent assistant/reasoning accumulator id collisions (#929) 2026-02-12 11:13:42 -08:00
Charles Packer
8f784b78ff fix: canonicalize assistant and reasoning stream ids (#926) 2026-02-11 23:59:26 -08:00
Charles Packer
9630da190a feat: auto-launch reflection via shared background task helper (#924) 2026-02-11 20:45:14 -08:00
Charles Packer
9ea10bf2ff feat: add client-side sleeptime settings + compaction reflection triggers (#923) 2026-02-11 19:18:22 -08:00
jnjpng
c3a7f6c646 feat: configurable status lines for CLI footer (#904)
Co-authored-by: Letta <noreply@letta.com>
2026-02-11 17:35:34 -08:00
Devansh Jain
94376a3233 chore: Track all token usage metrics (#916) 2026-02-11 12:53:05 -08:00
Ari Webb
c8ca88275a fix: avoid deep recursive search when browsing parent directories via @ (#903)
Co-authored-by: Letta <noreply@letta.com>
2026-02-11 10:30:52 -08:00
Charles Packer
85d2a27e1c fix: migrate metadata references from BashOutput to TaskOutput (#908)
Co-authored-by: Letta <noreply@letta.com>
2026-02-10 19:03:10 -08:00
Charles Packer
a69541004b feat: memory reflection updates (#906)
Co-authored-by: Letta <noreply@letta.com>
2026-02-10 18:25:49 -08:00
Kevin Lin
f78d864f2d fix: detach all memory tools when enabling memfs (#900)
Co-authored-by: Letta <noreply@letta.com>
2026-02-10 16:04:28 -08:00
Charles Packer
b0783ef195 fix: align headless interactive tool behavior with bidirectional parity (#894) 2026-02-10 15:20:37 -08:00
jnjpng
927cc601b8 fix: fire PreCompact hooks on server-side auto-compaction (#895)
Co-authored-by: Letta <noreply@letta.com>
Co-authored-by: letta-code <248085862+letta-code@users.noreply.github.com>
2026-02-10 13:34:41 -08:00
cpacker
8449d4670f fix: restore biome formatting in error formatter helper
Reformat findEncryptedContentDetail to match Biome output so lint passes on main after the recent merge.

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

Co-Authored-By: Letta <noreply@letta.com>
2026-02-10 11:29:15 -08:00
jnjpng
fe99bfe4fd fix: show clean error for OpenAI encrypted content org mismatch (#884) 2026-02-09 23:44:12 -08:00
Charles Packer
faa022c317 fix: clarify model availability and credit error guidance (#871)
Co-authored-by: Letta <noreply@letta.com>
2026-02-09 14:49:44 -08:00
Charles Packer
ff64d0ef41 fix: unify subagent model display with footer formatting (#863) 2026-02-07 23:37:18 -08:00
Charles Packer
6a7d069fe5 fix: skill tool rewrite (#860)
Co-authored-by: Letta <noreply@letta.com>
2026-02-06 22:18:17 -08:00
jnjpng
7da30659e6 feat: context usage breakdown (#855) 2026-02-06 15:03:38 -08:00
Charles Packer
37e8347358 refactor(cli): centralize command execution flow (#841) 2026-02-05 18:21:07 -08:00
Charles Packer
2b7d618b39 fix: task subagent static race main (#843) 2026-02-05 18:15:43 -08:00
jnjpng
ee28095ebc feat: add prompt based hooks (#795)
Co-authored-by: Letta <noreply@letta.com>
2026-02-05 17:55:00 -08:00
jnjpng
eacf21a829 feat: braille area chart for /context tokens in context window (#836) 2026-02-05 15:49:35 -08:00
cpacker
59a1e41308 fix: tool call dot phases and colors for clearer execution feedback
Tool call dot/phase behavior:
- Tool calls start in streaming phase (static grey) instead of ready
- Added approvalsPending flag to prevent server tools from blinking during approval
- Server tools promoted to running only after approvals complete

Tool dot colors:
- Fixed missing # in statusWarning hex literal
- Running phase uses grey blinking instead of yellow

Args rendering + crash fixes:
- Args considered "complete" by JSON parseability, not just phase
- Coerce argsText to string to avoid runtime errors
- Fixed TDZ error from shadowed variable
- Ready phase only blinks once streaming finished

Behavioral fixes:
- Server-side tools don't show "Cancelled" after approvals
- Mixed server/client tools: server stays static during approval, blinks after
- Args remain visible once complete

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

Co-Authored-By: Letta <noreply@letta.com>
2026-02-04 23:39:00 -08:00
Charles Packer
48ccd8f220 feat: add background task notification system (#827)
Co-authored-by: Letta <noreply@letta.com>
2026-02-04 22:45:16 -08:00
jnjpng
84e9a6d744 feat: add /context command to show context window usage (#814) 2026-02-04 22:24:39 -08:00
jnjpng
0b5a4549a6 feat: add debug logging for silently caught errors (#809)
Co-authored-by: Letta <noreply@letta.com>
2026-02-03 17:47:22 -08:00
Charles Packer
b9eaaa1b5d refactor(cli): unify TUI and headless stream processing (#784)
Co-authored-by: Letta <noreply@letta.com>
2026-02-02 09:59:59 -08:00
Charles Packer
7297e334f0 fix(cli): prevent duplicate rendering of auto-approved file tools (#782)
Co-authored-by: Letta <noreply@letta.com>
2026-02-02 00:36:47 -08:00
Charles Packer
2e1bd1ce78 feat(cli): add trajectory stats tracking and completion summary (#773)
Co-authored-by: Letta <noreply@letta.com>
2026-02-01 16:37:30 -08:00
Charles Packer
dba41d760c fix(cli): handle malformed AskUserQuestion data from LLM (#770)
Co-authored-by: Letta <noreply@letta.com>
2026-01-31 23:24:06 -08:00
jnjpng
37a237ad0f feat: include compaction messages and handle new summary message types (#756) 2026-01-30 18:19:51 -08:00
cpacker
13b627e28a fix: USE_MAGICK build flag - use define instead of bun:bundle
The bun:bundle module only exists at bundle time, not when running source
directly (dev/tests). This caused CI failures with:
  error: Cannot find package 'bundle'

Fix: Use Bun.build's define option to set __USE_MAGICK__ as a compile-time
constant. At dev/test time it's undefined (defaults to false/sharp).
At build time it's set based on USE_MAGICK env var.

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

Co-Authored-By: Letta <noreply@letta.com>
2026-01-29 15:02:07 -08:00
Kainoa Kanter
66eeac5b59 feat: USE_MAGICK build env var to use magick variant of imageResize (#742) 2026-01-29 14:46:31 -08:00
jnjpng
af1f2df260 feat: render summarization/compact user message (#736) 2026-01-28 18:16:50 -08:00
Cameron
4794361b50 feat(hooks): capture reasoning and assistant messages in hooks (#719) 2026-01-28 16:28:23 -08:00
jnjpng
03db8545ad feat: add highlighting to user prompt messages (#714) 2026-01-28 14:35:19 -08:00
cthomas
edeb344ad9 fix: always populate user-agent (#708) 2026-01-27 15:02:01 -08:00