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)
41 lines
858 B
JSON
41 lines
858 B
JSON
{
|
|
"name": "@letta-ai/letta-code-sdk",
|
|
"version": "0.0.1",
|
|
"description": "SDK for programmatic control of Letta Code CLI",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "bun run build.ts",
|
|
"dev": "bun run build.ts --watch",
|
|
"check": "tsc --noEmit",
|
|
"test": "bun test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/letta-ai/letta-code-sdk"
|
|
},
|
|
"dependencies": {
|
|
"@letta-ai/letta-code": "latest"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"@types/node": "^22.0.0",
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"license": "Apache-2.0"
|
|
}
|