Commit Graph

17 Commits

Author SHA1 Message Date
Charles Packer
17b7641f1e feat(sdk): add bootstrapState + listMessagesDirect + memfsStartup (#54)
Co-authored-by: Letta <noreply@letta.com>
2026-02-23 15:45:19 -08:00
Charles Packer
63317a234f feat: normalize stream_event contract + add live integration coverage (#52) 2026-02-22 22:44:00 -08:00
Cameron
bf2edbccc2 feat: expose error and retry messages to SDK consumers (#47) 2026-02-22 18:16:36 -08:00
Charles Packer
e90f79d1c9 test: add regression coverage for approval_request_message stream mapping (#49) 2026-02-22 18:11:15 -08:00
Cameron
e223ca1eda fix: handle approval_request_message as tool_call in stream (#38) 2026-02-22 17:58:38 -08:00
Charles Packer
39704aa8ea feat: add session listMessages + transport args hardening (#48)
Co-authored-by: Letta <noreply@letta.com>
2026-02-22 17:49:26 -08:00
Charles Packer
b6ffe5ea91 feat: expose skill source and sleeptime controls in SDK (#43) 2026-02-16 23:22:52 -08:00
Charles Packer
33db9641e7 feat: background pump (#34)
Co-authored-by: Jason Carreira <4029756+jasoncarreira@users.noreply.github.com>
2026-02-10 19:15:05 -08:00
Charles Packer
f61980e5f6 fix: align SDK permission-mode args with CLI behavior (#33) 2026-02-10 16:12:16 -08:00
Sarah Wooders
ee64be00ed Add custom tools support
Add custom tools support

- Add AgentTool, AgentToolResult, AnyAgentTool types
- Add tools option to SessionOptions
- Add tool-helpers.ts with jsonResult, readStringParam, etc.
- Implement tool registration via register_external_tools control request
- Handle execute_external_tool requests in stream()

🐾 Generated with [Letta Code](https://letta.com)
2026-02-10 11:30:18 -08:00
Cameron
b0b82a2a3d feat: expose stop_reason on SDKResultMessage (#30) 2026-02-10 10:13:56 -08:00
Cameron
2fff691f5b feat: add DEBUG_SDK diagnostic logging for session and transport layers (#29)
Co-authored-by: letta-code <248085862+letta-code@users.noreply.github.com>
Co-authored-by: Letta <noreply@letta.com>
2026-02-09 17:37:09 -08:00
Christina Tong
4cb8af7be8 feat: refactor options types for createAgent and createSession (#20) 2026-02-03 15:27:32 -08:00
Cameron
fa4a6340e7 feat: add image support to send() (#14)
Co-authored-by: Letta <noreply@letta.com>
2026-02-02 17:59:40 -08:00
Cameron
f245a2120b fix: check permissionMode in handleCanUseTool for bypassPermissions (#10)
Co-authored-by: Letta <noreply@letta.com>
Co-authored-by: letta-code <248085862+letta-code@users.noreply.github.com>
Co-authored-by: Cameron <cpfiffer@users.noreply.github.com>
2026-01-30 08:11:19 -08:00
Christina Tong
c4c5106797 fix: updatedInput support and clean up types (#6) 2026-01-28 12:28:48 -08:00
cpacker
ee7cc92724 Initial release of Letta Code SDK
Programmatic control of Letta Code CLI with persistent agent memory.

Features:
- createSession() / resumeSession() / prompt() API
- resumeConversation() for multi-threaded conversations
- Multi-turn conversations with memory
- Tool execution (Bash, Read, Edit, etc.)
- System prompt and memory configuration
- Permission callbacks (canUseTool)
- Message streaming with typed events

👾 Generated with [Letta Code](https://letta.com)
2026-01-27 00:30:09 -08:00