@letta-ai/letta-code 0.34.42 → 0.34.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/mcp-client.js +2 -2
  2. package/dist/mcp-client.js.map +1 -1
  3. package/dist/mcp-oauth.js +2 -2
  4. package/dist/mcp-oauth.js.map +1 -1
  5. package/dist/types/tools/impl/claude-stream-session.d.ts +2 -2
  6. package/dist/types/tools/impl/claude-stream-session.d.ts.map +1 -1
  7. package/dist/types/tools/impl/codex-app-server.d.ts +2 -0
  8. package/dist/types/tools/impl/codex-app-server.d.ts.map +1 -1
  9. package/dist/types/tools/impl/exec-command.d.ts +2 -0
  10. package/dist/types/tools/impl/exec-command.d.ts.map +1 -1
  11. package/dist/types/tools/impl/external-coding-agent-task.d.ts +2 -0
  12. package/dist/types/tools/impl/external-coding-agent-task.d.ts.map +1 -1
  13. package/dist/types/tools/impl/external-coding-agent.d.ts +2 -1
  14. package/dist/types/tools/impl/external-coding-agent.d.ts.map +1 -1
  15. package/dist/types/tools/impl/external-fork-context.d.ts.map +1 -1
  16. package/dist/types/tools/impl/external-llm-trace-launch.d.ts +19 -0
  17. package/dist/types/tools/impl/external-llm-trace-launch.d.ts.map +1 -0
  18. package/dist/types/tools/impl/external-llm-trace-payload.d.ts +14 -0
  19. package/dist/types/tools/impl/external-llm-trace-payload.d.ts.map +1 -0
  20. package/dist/types/tools/impl/external-llm-trace-proxy.d.ts +41 -0
  21. package/dist/types/tools/impl/external-llm-trace-proxy.d.ts.map +1 -0
  22. package/dist/types/tools/impl/external-llm-trace-session.d.ts +20 -0
  23. package/dist/types/tools/impl/external-llm-trace-session.d.ts.map +1 -0
  24. package/dist/types/tools/impl/send-agent-message.d.ts.map +1 -1
  25. package/dist/types/tools/impl/shell-runner.d.ts +1 -0
  26. package/dist/types/tools/impl/shell-runner.d.ts.map +1 -1
  27. package/dist/types/tools/impl/task-agent-selection.d.ts +9 -0
  28. package/dist/types/tools/impl/task-agent-selection.d.ts.map +1 -1
  29. package/dist/types/tools/impl/task.d.ts +1 -0
  30. package/dist/types/tools/impl/task.d.ts.map +1 -1
  31. package/dist/types/tools/impl/watch-pr.d.ts.map +1 -1
  32. package/dist/types/tools/task-tool-assets.d.ts +0 -5
  33. package/dist/types/tools/task-tool-assets.d.ts.map +1 -1
  34. package/dist/types/websocket/listener/input-disposition.d.ts +1 -0
  35. package/dist/types/websocket/listener/input-disposition.d.ts.map +1 -1
  36. package/docs/external-agent-traces.md +31 -0
  37. package/letta.js +1882 -1161
  38. package/npm-shrinkwrap.json +75 -75
  39. package/package.json +2 -2
  40. package/vendor/AGENTS.md +12 -0
  41. package/skills/messaging-agents/SKILL.md +0 -221
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.34.42",
3
+ "version": "0.34.44",
4
4
  "lockfileVersion": 3,
5
5
  "packages": {
6
6
  "node_modules/@alcalzone/ansi-tokenize": {
@@ -61,9 +61,9 @@
61
61
  }
62
62
  },
63
63
  "node_modules/@aws-sdk/core": {
64
- "version": "3.980.0",
65
- "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.980.0.tgz",
66
- "integrity": "sha512-2RVSP/SsPS8HSPPzIPWNYFnSmlOdxx8VDlt5gDOuMaq9UiIi35pUyo6ZEuJcysjVCu0L8Lv5dJevLLpEkyF0/Q==",
64
+ "version": "3.980.1",
65
+ "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.980.1.tgz",
66
+ "integrity": "sha512-W7jDWUPucezIUjFZpr8MudQQtz/m6yPMyAFrOyyQcHjuF4UrZdcCdP8eV1js06U9sH3dxp0AbhN+s9uHwQyXzQ==",
67
67
  "license": "Apache-2.0",
68
68
  "dependencies": {
69
69
  "@aws-sdk/types": "^3.975.0",
@@ -80,12 +80,12 @@
80
80
  }
81
81
  },
82
82
  "node_modules/@aws-sdk/credential-provider-env": {
83
- "version": "3.972.81",
84
- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.81.tgz",
85
- "integrity": "sha512-VD+EVZ9UHNZhSm4KtakXZAPzgfOw4mRx66dAXNUtHcdJUisbsE7kpi1PRZFMquvuqVfx52fCDBgJgYyOFT/4hQ==",
83
+ "version": "3.972.82",
84
+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.82.tgz",
85
+ "integrity": "sha512-sAfysgoFWKg/CJvufYM7lhvMUfJpTsuwjCLzp843Vtw8NlQh2PW9/+upUFrsoQK46pJcv3u1a+st7qJ4jfSODw==",
86
86
  "license": "Apache-2.0",
87
87
  "dependencies": {
88
- "@aws-sdk/core": "^3.980.0",
88
+ "@aws-sdk/core": "^3.980.1",
89
89
  "@aws-sdk/types": "^3.975.0",
90
90
  "@smithy/core": "^3.38.0",
91
91
  "@smithy/types": "^4.19.0",
@@ -96,12 +96,12 @@
96
96
  }
97
97
  },
98
98
  "node_modules/@aws-sdk/credential-provider-http": {
99
- "version": "3.972.83",
100
- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.83.tgz",
101
- "integrity": "sha512-NsLT02HXcWAQAgpuDJznoJDPIDH/Hh2LiQVlYc+1bVGsksEUZuYCMKa1E1L5qvzc5LLTphp7BP9LYVIhf+MbQA==",
99
+ "version": "3.972.84",
100
+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.84.tgz",
101
+ "integrity": "sha512-6xFe7tGPZedfak01TLUxuExU2Xhqw0VtoVvcS/+1OLjPB8If5vulTpCaR0TKTA/J6sAhTOjZHb6+4R1e1KRMKg==",
102
102
  "license": "Apache-2.0",
103
103
  "dependencies": {
104
- "@aws-sdk/core": "^3.980.0",
104
+ "@aws-sdk/core": "^3.980.1",
105
105
  "@aws-sdk/types": "^3.975.0",
106
106
  "@smithy/core": "^3.38.0",
107
107
  "@smithy/fetch-http-handler": "^5.8.0",
@@ -128,19 +128,19 @@
128
128
  }
129
129
  },
130
130
  "node_modules/@aws-sdk/credential-provider-ini": {
131
- "version": "3.973.26",
132
- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.26.tgz",
133
- "integrity": "sha512-vRydnN8wPqh5APe5R+/y4/UOts7QQQQP1UTczJq3fLcLzkQblbkYpLn+Srr8w9S/gzXU1pbiPKTv479unRawAA==",
131
+ "version": "3.973.27",
132
+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.27.tgz",
133
+ "integrity": "sha512-geyao3+s46HIo8C0vyLz7cQ1qaOM1H6wrP/nNWTr5SoR4r97qlWrubi+a7Sg128KmvRZIFbwXTvkbKawBeysqg==",
134
134
  "license": "Apache-2.0",
135
135
  "dependencies": {
136
- "@aws-sdk/core": "^3.980.0",
137
- "@aws-sdk/credential-provider-env": "^3.972.81",
138
- "@aws-sdk/credential-provider-http": "^3.972.83",
139
- "@aws-sdk/credential-provider-login": "^3.972.88",
140
- "@aws-sdk/credential-provider-process": "^3.972.81",
141
- "@aws-sdk/credential-provider-sso": "^3.973.25",
142
- "@aws-sdk/credential-provider-web-identity": "^3.972.87",
143
- "@aws-sdk/nested-clients": "^3.998.0",
136
+ "@aws-sdk/core": "^3.980.1",
137
+ "@aws-sdk/credential-provider-env": "^3.972.82",
138
+ "@aws-sdk/credential-provider-http": "^3.972.84",
139
+ "@aws-sdk/credential-provider-login": "^3.972.89",
140
+ "@aws-sdk/credential-provider-process": "^3.972.82",
141
+ "@aws-sdk/credential-provider-sso": "^3.973.26",
142
+ "@aws-sdk/credential-provider-web-identity": "^3.972.88",
143
+ "@aws-sdk/nested-clients": "^3.998.1",
144
144
  "@aws-sdk/types": "^3.975.0",
145
145
  "@smithy/core": "^3.38.0",
146
146
  "@smithy/credential-provider-imds": "^4.5.2",
@@ -152,13 +152,13 @@
152
152
  }
153
153
  },
154
154
  "node_modules/@aws-sdk/credential-provider-login": {
155
- "version": "3.972.88",
156
- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.88.tgz",
157
- "integrity": "sha512-J8IcBpuFj3j3RImHq/dVO5HtnUbFgvzg7JQvzLt5A42VmzLLgPLM+CUWN68jpIMdIPayu1bb1T+mJjDv9Sq1aA==",
155
+ "version": "3.972.89",
156
+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.89.tgz",
157
+ "integrity": "sha512-5kcIZkMMs6eYvU6psqZkmeWsS3EGES53S6xUJFCC6eoJak3BQCCaF8yLU1bN6LTAOr2a9RWw+m1XBGen7Jcq+Q==",
158
158
  "license": "Apache-2.0",
159
159
  "dependencies": {
160
- "@aws-sdk/core": "^3.980.0",
161
- "@aws-sdk/nested-clients": "^3.998.0",
160
+ "@aws-sdk/core": "^3.980.1",
161
+ "@aws-sdk/nested-clients": "^3.998.1",
162
162
  "@aws-sdk/types": "^3.975.0",
163
163
  "@smithy/core": "^3.38.0",
164
164
  "@smithy/types": "^4.19.0",
@@ -169,17 +169,17 @@
169
169
  }
170
170
  },
171
171
  "node_modules/@aws-sdk/credential-provider-node": {
172
- "version": "3.972.93",
173
- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.93.tgz",
174
- "integrity": "sha512-f5Grg1sgckk11ojxZ7NUYG1ZCOvcNhuuPngKWVxOKGuZokj8eOmo/75+GyR6qAQx4wAGytglZ53r4a3UPleAPQ==",
172
+ "version": "3.972.94",
173
+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.94.tgz",
174
+ "integrity": "sha512-qZzjRq45j0S0rI4XjHKGL63gGSFGPDYRe18Crp7l4Zk3Yr6PG4PjIixZEtsGIliOjtZ/h+ATExgjE54JQJeZMQ==",
175
175
  "license": "Apache-2.0",
176
176
  "dependencies": {
177
- "@aws-sdk/credential-provider-env": "^3.972.81",
178
- "@aws-sdk/credential-provider-http": "^3.972.83",
179
- "@aws-sdk/credential-provider-ini": "^3.973.26",
180
- "@aws-sdk/credential-provider-process": "^3.972.81",
181
- "@aws-sdk/credential-provider-sso": "^3.973.25",
182
- "@aws-sdk/credential-provider-web-identity": "^3.972.87",
177
+ "@aws-sdk/credential-provider-env": "^3.972.82",
178
+ "@aws-sdk/credential-provider-http": "^3.972.84",
179
+ "@aws-sdk/credential-provider-ini": "^3.973.27",
180
+ "@aws-sdk/credential-provider-process": "^3.972.82",
181
+ "@aws-sdk/credential-provider-sso": "^3.973.26",
182
+ "@aws-sdk/credential-provider-web-identity": "^3.972.88",
183
183
  "@aws-sdk/types": "^3.975.0",
184
184
  "@smithy/core": "^3.38.0",
185
185
  "@smithy/credential-provider-imds": "^4.5.2",
@@ -191,12 +191,12 @@
191
191
  }
192
192
  },
193
193
  "node_modules/@aws-sdk/credential-provider-process": {
194
- "version": "3.972.81",
195
- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.81.tgz",
196
- "integrity": "sha512-6NBoFaNJbHB0YjcKW4WfrYIDmaMjtwbxlRreAf3MnXkD9WJX8XYu62pa78M0AQGgEt2TJmcNxqL3btAAjV67bA==",
194
+ "version": "3.972.82",
195
+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.82.tgz",
196
+ "integrity": "sha512-VsFOXU7gYDWqYwRis7Rif3CrE+c7xMNxp0L3XqGPuvF6JO2K93FYjhLlEphW5uEMpHEXkOOutZ5USGErgfKaog==",
197
197
  "license": "Apache-2.0",
198
198
  "dependencies": {
199
- "@aws-sdk/core": "^3.980.0",
199
+ "@aws-sdk/core": "^3.980.1",
200
200
  "@aws-sdk/types": "^3.975.0",
201
201
  "@smithy/core": "^3.38.0",
202
202
  "@smithy/types": "^4.19.0",
@@ -207,14 +207,14 @@
207
207
  }
208
208
  },
209
209
  "node_modules/@aws-sdk/credential-provider-sso": {
210
- "version": "3.973.25",
211
- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.25.tgz",
212
- "integrity": "sha512-p1fNaa3as6S2L0wrWqe1cEz1r4iGQa7GbW23KJE3rJy+ZZxhPr6pr9cyCAJ7fAnzoMELvQGZZAuv/rG1ogRuOQ==",
210
+ "version": "3.973.26",
211
+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.26.tgz",
212
+ "integrity": "sha512-IIrqv0iFNwO8Cd5EigbwILsnsvmprCAw5/BPfRvP/EiLQtBfv3PI9KpyUj2+qsJhYcpmKad+ugaS0+izle8OqQ==",
213
213
  "license": "Apache-2.0",
214
214
  "dependencies": {
215
- "@aws-sdk/core": "^3.980.0",
216
- "@aws-sdk/nested-clients": "^3.998.0",
217
- "@aws-sdk/token-providers": "3.1162.0",
215
+ "@aws-sdk/core": "^3.980.1",
216
+ "@aws-sdk/nested-clients": "^3.998.1",
217
+ "@aws-sdk/token-providers": "3.1164.0",
218
218
  "@aws-sdk/types": "^3.975.0",
219
219
  "@smithy/core": "^3.38.0",
220
220
  "@smithy/types": "^4.19.0",
@@ -225,13 +225,13 @@
225
225
  }
226
226
  },
227
227
  "node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers": {
228
- "version": "3.1162.0",
229
- "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1162.0.tgz",
230
- "integrity": "sha512-vOD6Ac0M43LtXaPu+/+wUMQCd27zIpKt/Le/a645qhx7T1MZeEK71PDhtIHGHgnQjGyNSfC6Z5RNud/hQb3veg==",
228
+ "version": "3.1164.0",
229
+ "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1164.0.tgz",
230
+ "integrity": "sha512-9LPRWfev5QZH1EnNn9O/Y++iCRpfxrJs4EIsJuOAKYZ0DY/kZ3aOx0qWzmN1OUOd8JlUk6Mjy1tJ8b7ul5tuVw==",
231
231
  "license": "Apache-2.0",
232
232
  "dependencies": {
233
- "@aws-sdk/core": "^3.980.0",
234
- "@aws-sdk/nested-clients": "^3.998.0",
233
+ "@aws-sdk/core": "^3.980.1",
234
+ "@aws-sdk/nested-clients": "^3.998.1",
235
235
  "@aws-sdk/types": "^3.975.0",
236
236
  "@smithy/core": "^3.38.0",
237
237
  "@smithy/types": "^4.19.0",
@@ -242,13 +242,13 @@
242
242
  }
243
243
  },
244
244
  "node_modules/@aws-sdk/credential-provider-web-identity": {
245
- "version": "3.972.87",
246
- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.87.tgz",
247
- "integrity": "sha512-O2P6CUfMP2qi8vgYB6UHYj/NYTEAAdTr2geEVdVchr3JBofK4Q6W917FiVr2sleA72R59YAXMEhrpzPwkX/xdA==",
245
+ "version": "3.972.88",
246
+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.88.tgz",
247
+ "integrity": "sha512-RmeE04naP7gWzux9l1vqNQPzuo2OkH0Ca9WDtX5Zf4NERoBLeWZNU2g1ka7aJ4Fc9fqBxBLtGL89vYEfFP1LHw==",
248
248
  "license": "Apache-2.0",
249
249
  "dependencies": {
250
- "@aws-sdk/core": "^3.980.0",
251
- "@aws-sdk/nested-clients": "^3.998.0",
250
+ "@aws-sdk/core": "^3.980.1",
251
+ "@aws-sdk/nested-clients": "^3.998.1",
252
252
  "@aws-sdk/types": "^3.975.0",
253
253
  "@smithy/core": "^3.38.0",
254
254
  "@smithy/types": "^4.19.0",
@@ -289,12 +289,12 @@
289
289
  }
290
290
  },
291
291
  "node_modules/@aws-sdk/middleware-websocket": {
292
- "version": "3.972.63",
293
- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-websocket/-/middleware-websocket-3.972.63.tgz",
294
- "integrity": "sha512-fgY5UA9oeQYwxR5MyhIHUs9wGrXJGXLK71MQck1z3ArEb/GvQ0TmZm/RPs+cIbcaoKtIGqMb2u8AZ1rGFKYzKg==",
292
+ "version": "3.972.64",
293
+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-websocket/-/middleware-websocket-3.972.64.tgz",
294
+ "integrity": "sha512-qhsyjMHfYZ+G7ejfs/Sq5P/ZUCi9SPVN/UpgeYxWvVa3WVjuFXPHTSKSxgXhLuRAUUcamFYEVUM7iQ4EPqtyig==",
295
295
  "license": "Apache-2.0",
296
296
  "dependencies": {
297
- "@aws-sdk/core": "^3.980.0",
297
+ "@aws-sdk/core": "^3.980.1",
298
298
  "@aws-sdk/types": "^3.975.0",
299
299
  "@smithy/core": "^3.38.0",
300
300
  "@smithy/fetch-http-handler": "^5.8.0",
@@ -307,12 +307,12 @@
307
307
  }
308
308
  },
309
309
  "node_modules/@aws-sdk/nested-clients": {
310
- "version": "3.998.0",
311
- "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.998.0.tgz",
312
- "integrity": "sha512-aOD1oQVWG6UjOOEdp0MsrWE93vG8pPbvtymmeNtglGxAARplh1wzhHs4npqtY5JN5GBSrTaLbn1hQQ3W2Lk8ow==",
310
+ "version": "3.998.1",
311
+ "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.998.1.tgz",
312
+ "integrity": "sha512-KPw5W6LN3waUskfDCRXRcyBEHAev5PVlMOjMq74OIivFYbgPvq39QeFege7IOFPncO425/AQK0qxdfaoeGejYQ==",
313
313
  "license": "Apache-2.0",
314
314
  "dependencies": {
315
- "@aws-sdk/core": "^3.980.0",
315
+ "@aws-sdk/core": "^3.980.1",
316
316
  "@aws-sdk/signature-v4-multi-region": "^3.996.51",
317
317
  "@aws-sdk/types": "^3.975.0",
318
318
  "@smithy/core": "^3.38.0",
@@ -3016,9 +3016,9 @@
3016
3016
  }
3017
3017
  },
3018
3018
  "node_modules/cron-parser": {
3019
- "version": "5.10.3",
3020
- "resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-5.10.3.tgz",
3021
- "integrity": "sha512-Fwlmlgiyoj5e7XDCy5T3ueFd3imgt714k7xjAzhkOBUrUgQxWtsjS7kWSEN3efDX34bebxBJAmPoCSisHvjlpw==",
3019
+ "version": "5.10.4",
3020
+ "resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-5.10.4.tgz",
3021
+ "integrity": "sha512-TagNqYzoV/C7Ty7VAQjrQg+57WsEOuQEUh0tWT5Dc+l/GOuoAdWVIzFU0CqYdQswqdjUalrdmOvaMtQhErYZTA==",
3022
3022
  "license": "MIT",
3023
3023
  "dependencies": {
3024
3024
  "luxon": "^3.7.2"
@@ -3247,9 +3247,9 @@
3247
3247
  }
3248
3248
  },
3249
3249
  "node_modules/es-toolkit": {
3250
- "version": "1.53.1",
3251
- "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.53.1.tgz",
3252
- "integrity": "sha512-VhMc6IXmexu8iYFfL2aaAww6IvJTdHlqBLruLoEUs33YD4IcP5DdZcLOybMsMmmLsiy1c8PsiLsrM0DdIuuRUA==",
3250
+ "version": "1.53.2",
3251
+ "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.53.2.tgz",
3252
+ "integrity": "sha512-iUqZ+NlwH4jUgRmXZUxFBsV/9762TQEa1O4IXLFBmDEjVHScBytKuseX23I0+v9ShZ5MYxEx6WKNzm6IPnex8g==",
3253
3253
  "license": "MIT",
3254
3254
  "workspaces": [
3255
3255
  "docs",
@@ -5509,9 +5509,9 @@
5509
5509
  }
5510
5510
  },
5511
5511
  "node_modules/vfile-message": {
5512
- "version": "4.0.3",
5513
- "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz",
5514
- "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==",
5512
+ "version": "4.0.4",
5513
+ "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.4.tgz",
5514
+ "integrity": "sha512-66ycRswIkNmHH9PHku7ADtv5RVwgIrOcuv3J8Svz6h4qgGRrKVa+9/neuKyJZUXyOpYwLTvS+whZ4R2urHHgQg==",
5515
5515
  "license": "MIT",
5516
5516
  "dependencies": {
5517
5517
  "@types/unist": "^3.0.0",
@@ -5656,7 +5656,7 @@
5656
5656
  },
5657
5657
  "": {
5658
5658
  "name": "@letta-ai/letta-code",
5659
- "version": "0.34.42",
5659
+ "version": "0.34.44",
5660
5660
  "dependencies": {
5661
5661
  "@cursor/sdk": "1.1.0",
5662
5662
  "@earendil-works/pi-ai": "^0.99.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.34.42",
3
+ "version": "0.34.44",
4
4
  "lettaStartupLogProtocol": 1,
5
5
  "lettaConfigDirProtocol": 1,
6
6
  "description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
@@ -278,7 +278,7 @@
278
278
  },
279
279
  "lettaLifecycleProtocol": 1,
280
280
  "lettaRuntimeGraphProtocol": 1,
281
- "lettaRuntimeGraphSha512": "sha512-as/Tt/szwM5xbE6Ed+71tbFySlLxLNVCv+4uzwp7mhDTJsWMNeNtnlB+GCMMJmpIcmz6XVDriHNDctZ63hgj+Q==",
281
+ "lettaRuntimeGraphSha512": "sha512-x6CZjpXvXckGCycYwdxVs0W3XTf6uzPH1il5cUWVWlNkC2w7naCOb53kNlJ0PC9/t6XHtxAPZhqhWJUlOKG2lg==",
282
282
  "patchedDependencies": {
283
283
  "@earendil-works/pi-ai@0.99.1": "patches/@earendil-works%2Fpi-ai@0.99.1.patch"
284
284
  }
@@ -0,0 +1,12 @@
1
+ # Vendored Ink Patches (Red Zone)
2
+
3
+ `vendor/ink/` and `vendor/ink-text-input/` contain patched Ink runtime
4
+ internals. `scripts/postinstall-patches.js` applies these at install time by
5
+ exact string match.
6
+
7
+ - Any PR touching `vendor/ink/build/*` or `scripts/postinstall-patches.js` is a
8
+ red zone: patches are fragile to Ink version bumps, semantically invisible to
9
+ normal review, and coordinated across multiple runtime files.
10
+ - Verify the exact matched strings still exist and the throw-on-missing guard is
11
+ preserved.
12
+ - After editing vendor files, must run build for changes to take effect.
@@ -1,221 +0,0 @@
1
- ---
2
- name: messaging-agents
3
- description: Send a message to another Letta agent, continue a thread with one, check on it, or reply to a message another agent sent you. Use when you need to ask, inform, or coordinate with another agent, or when a message from another agent arrives.
4
- ---
5
-
6
- # Messaging Agents
7
-
8
- ## What you are addressing
9
-
10
- An **agent** is a persistent identity: its memory and configuration are shared
11
- by all of its conversations. A **conversation** is one message thread on an
12
- agent. Address a conversation ID to continue a thread; address an agent ID to
13
- open a new thread with that agent. When your send identifies you as the sender,
14
- a new thread is created hidden so agent-to-agent traffic does not clutter the
15
- recipient's conversation list.
16
-
17
- ## Two backends
18
-
19
- Letta Code keeps agent state on one of two backends. The same CLI addresses
20
- agents on either; what differs is what happens after you send.
21
-
22
- **Cloud backend** (api.letta.com). Agent state lives in Cloud. Cloud can deliver
23
- messages to a *computer*: a machine running Letta Code connected to Cloud,
24
- or a Cloud sandbox. Because state and execution are
25
- separate, Cloud tracks which computers are online and where each conversation
26
- is active. That is why these exist only on this backend:
27
-
28
- - delivering your message to the harness already running the recipient's
29
- conversation, or to its saved destination (a computer or Cloud sandbox)
30
- when none is active;
31
- - a `computer` selector on sends and on the Agent tool;
32
- - teleporting a conversation (`letta teleport <computer>`): the same thread,
33
- with its history and memory, continues on a different computer. Files and
34
- working directories do not move with it.
35
-
36
- **Local backend.** Agent state lives in a store on this machine. There is no
37
- computer concept, so no `computer` selector and no teleport, and no Cloud
38
- service to deliver on your behalf: a send runs the recipient's turn inside the
39
- `letta -p` process you launched. Agent IDs on this backend start with
40
- `agent-local-`.
41
-
42
- "Local backend" describes where state is stored. It says nothing about which
43
- machine a Cloud-backed agent is executing on, and it is unrelated to subagents
44
- you launch with the Agent tool.
45
-
46
- ## How a send reaches the recipient
47
-
48
- For the Cloud CLI sends below, `letta -p` hands the message to Cloud for
49
- delivery when you pass `--conversation`, `--from-agent`, `--no-wait`, or
50
- `--computer`. These commands leave the recipient's execution settings unchanged.
51
- `SendAgentMessage` uses the same Cloud delivery endpoint.
52
-
53
- With only `--agent`, the CLI chooses the launch settings and normally creates a
54
- new conversation. It runs the turn in its own process or reuses an inherited
55
- Cloud listener. The listener path first applies those settings to the
56
- conversation, then submits its input through the same Cloud delivery endpoint.
57
- Supported local-backend CLI sends run the turn in the launched process.
58
-
59
- `--no-wait` is one of the flags that selects Cloud delivery. On that path,
60
- waiting and non-waiting sends use the same delivery mechanism, but differ in
61
- how you receive the answer and what reply instructions the recipient gets.
62
-
63
- The recipient learns who is asking only when the send identifies a sender:
64
- `--from-agent`, or for the Cloud messaging recipes below, the caller IDs from
65
- the agent's shell environment (`AGENT_ID`/`LETTA_AGENT_ID` and
66
- `CONVERSATION_ID`/`LETTA_CONVERSATION_ID`). `SendAgentMessage`
67
- always identifies you and your conversation. An identified send attaches a
68
- system reminder telling the recipient how to get its answer back to you. A
69
- `letta -p` with neither carries no sender or reply instructions; the recipient
70
- receives your text as user input, plus whatever context its harness normally
71
- adds.
72
-
73
- An explicit `--from-agent` different from the agent identified by your
74
- environment does not inherit the current conversation as its return address.
75
-
76
- ## Waiting or not
77
-
78
- - **Waiting send** (`letta -p` without `--no-wait`). The process normally returns
79
- the recipient's final message, in `result` with JSON output. When a sender is
80
- identified, the recipient is told to put its answer in that message. Works
81
- on either backend.
82
- - **Non-waiting send** (`SendAgentMessage`, or `letta -p --no-wait`). Returns
83
- a receipt once Cloud accepts the message. Ordinary assistant output is not
84
- forwarded. When a sender is identified, the reminder says so and, if a return
85
- conversation is supplied, asks the recipient to send an explicit reply there.
86
- That explicit reply becomes a new message in your conversation. Cloud backend
87
- only; acceptance does not guarantee a reply.
88
-
89
- A waiting send occupies the CLI process, not necessarily you. Run it in the
90
- background (your shell tool may already do this for long-running commands) and
91
- read its output when it finishes. That keeps you working, but it does not
92
- change the recipient's instructions: the answer still arrives as process
93
- output, not as a message to your conversation.
94
-
95
- For a managed child task with a completion notification, use the Agent tool on
96
- either backend. `SendAgentMessage` only sends input; it creates no task.
97
-
98
- ## Send and keep working (Cloud backend)
99
-
100
- ```typescript
101
- SendAgentMessage({ conversation_id: "conv-…", message: "…" }) // continue a thread
102
- SendAgentMessage({ agent_id: "agent-…", message: "…" }) // open a new hidden thread
103
- SendAgentMessage({ agent_id: "agent-…", conversation_id: "default", message: "…" }) // the agent's default thread
104
- ```
105
-
106
- Success means Cloud accepted the message (`status: "queued"`), not that the
107
- recipient has read it. Keep working; a reply sent to your return address
108
- arrives in your conversation.
109
- Omit `computer`: the conversation continues wherever it is active, and asking
110
- for a different computer is rejected rather than moving it.
111
-
112
- The CLI form behaves the same when run from your agent's environment, which
113
- supplies the return address; use it from scripts or when the tool is absent:
114
-
115
- ```bash
116
- letta -p --conversation <conversation-id> --no-wait --output-format json "message"
117
- letta -p --agent <agent-id> --no-wait --output-format json "message"
118
- ```
119
-
120
- ## Send and wait (either backend)
121
-
122
- ```bash
123
- letta -p --from-agent $LETTA_AGENT_ID --agent <agent-id> --output-format json "message"
124
- letta -p --from-agent $LETTA_AGENT_ID --conversation <conversation-id> --output-format json "follow-up"
125
- ```
126
-
127
- `result` normally holds the recipient's final message; `conversation_id` is
128
- the thread to continue. `--from-agent` names you and must be an agent on the
129
- same backend as the recipient.
130
-
131
- If your agent ID starts with `agent-local-`, add `--backend local` so the
132
- command uses the local store: `letta --backend local -p …`. The flag applies to
133
- that command only.
134
-
135
- For these Cloud messaging commands, stopping the wait does not cancel accepted
136
- work on the recipient's computer. On the local backend the recipient's turn
137
- runs inside the process you launched, so
138
- `--tools`, `--permission-mode`, and the working directory you give it apply to
139
- that turn.
140
-
141
- ## Replying to another agent
142
-
143
- When another agent identifies itself, its message arrives with a system
144
- reminder naming its agent ID and, when it had one, its conversation ID.
145
-
146
- - If the reminder says the sender will only see your final message: answer in
147
- your response. Nothing more is needed.
148
- - If the reminder asks for an explicit reply: use its return address with
149
- `SendAgentMessage({ agent_id, conversation_id, message })`, or
150
- `letta -p --agent <sender-agent-id> --conversation <sender-conversation-id> --no-wait "reply"`.
151
- Your ordinary output is not forwarded to the sender.
152
- - If it says no return conversation was supplied: your output is not forwarded
153
- and there is no thread to reply into. Answer as you normally would.
154
-
155
- A message without such a reminder carries no sender or reply instructions;
156
- respond to it as you would to any input.
157
-
158
- ## Checking on a conversation
159
-
160
- Recent messages are the quick progress check on either backend. This command
161
- requests recent messages and prints the returned messages oldest to newest (add
162
- `--backend local` in the same cases as for sends):
163
-
164
- ```bash
165
- letta messages list --conversation <conversation-id> --limit 10
166
- ```
167
-
168
- `letta messages status --conversation <id>` (Cloud only) reports whether the
169
- conversation is currently running. When `latest_super_run` is present, compare
170
- its `id` with the `super_run_id` on your receipt; a different ID belongs to a
171
- different send. Read the messages to see what was processed. Non-waiting
172
- receipts include ready-to-run `status_command` and `messages_command` values for the thread
173
- they went to. `letta messages transcript --conversation <id>` exports the
174
- thread; check `truncated` before treating it as complete.
175
- `letta messages --help` lists the options.
176
-
177
- ## Finding an agent
178
-
179
- ```bash
180
- letta agents list --query "name"
181
- letta messages search --query "topic" --all-agents # discovery; results include agent_id
182
- ```
183
-
184
- Load the `finding-agents` skill for more search options.
185
-
186
- ## Choosing a computer (Cloud backend)
187
-
188
- Only when a specific machine is required:
189
-
190
- ```bash
191
- letta computers list --online-only # connectionName and deviceId
192
- letta -p --agent <agent-id> --computer <name-or-device-id> --no-wait "message"
193
- letta -p --agent <agent-id> --computer cloud --no-wait "message" # its Cloud sandbox
194
- ```
195
-
196
- If the conversation is active on another computer the send is rejected; to
197
- move a conversation, teleport it (see the `working-across-computers` skill).
198
- An offline saved computer does not trigger a Cloud-sandbox fallback.
199
- `letta computers --help` covers the selectors.
200
-
201
- ## Gotchas
202
-
203
- - `SendAgentMessage`, `--no-wait`, `--computer`, and `messages status` fail on
204
- the local backend even when they are offered. Check your agent ID prefix.
205
- - For Cloud coordination, do not rely on `--agent` alone to select message
206
- delivery. Add `--from-agent $LETTA_AGENT_ID` to deliver and identify yourself;
207
- pass `--conversation <id>` to reach an existing thread.
208
- - The Cloud messaging recipes above reject execution flags (`--tools`,
209
- `--permission-mode`, `--model`, `--system`, and similar); the recipient keeps
210
- its own configuration. Those flags configure a launch when using the
211
- retained `--agent`-only path or local-backend execution.
212
- - `--conversation default` needs `--agent`; `default` is scoped to an agent.
213
- - A receipt means accepted, not delivered. If a send's outcome is unknown
214
- (`acceptance_unknown`, a timed-out wait), read the thread before resending.
215
-
216
- ## Related
217
-
218
- - `letta --help` and each subcommand's `--help` are the reference for flags;
219
- this skill explains the concepts and the common recipes.
220
- - `finding-agents`: locate agents by name, tags, or search.
221
- - `working-across-computers`: teleporting and moving files between computers.