@letta-ai/letta-agent-sdk 0.8.66 → 0.8.67
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.
- package/dist/client-entry.js +8 -1
- package/dist/client-entry.js.map +3 -3
- package/dist/index.js +9 -2
- package/dist/index.js.map +4 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -9795,6 +9795,13 @@ class AppServerClient {
|
|
|
9795
9795
|
predicate: (message) => message.type === "subagent_message_response"
|
|
9796
9796
|
});
|
|
9797
9797
|
}
|
|
9798
|
+
readSubagentEvents(command, options = {}) {
|
|
9799
|
+
const requestId = command.request_id ?? this.nextRequestId("read-subagent-events");
|
|
9800
|
+
return this.request({ ...command, type: "read_subagent_events", request_id: requestId }, {
|
|
9801
|
+
...options,
|
|
9802
|
+
predicate: (message) => message.type === "read_subagent_events_response" && message.request_id === requestId
|
|
9803
|
+
});
|
|
9804
|
+
}
|
|
9798
9805
|
stopSubagent(command, options = {}) {
|
|
9799
9806
|
return this.request({
|
|
9800
9807
|
...command,
|
|
@@ -34995,7 +35002,7 @@ class StreamableHTTPClientTransport {
|
|
|
34995
35002
|
}
|
|
34996
35003
|
var DEFAULT_CLIENT_INFO = {
|
|
34997
35004
|
name: "letta-code",
|
|
34998
|
-
version: "0.34.
|
|
35005
|
+
version: "0.34.38"
|
|
34999
35006
|
};
|
|
35000
35007
|
async function connectMcpServer(config2, options = {}) {
|
|
35001
35008
|
let client = new Client(options.clientInfo ?? DEFAULT_CLIENT_INFO);
|
|
@@ -36023,4 +36030,4 @@ export {
|
|
|
36023
36030
|
CloudManagedSandboxExpiredError
|
|
36024
36031
|
};
|
|
36025
36032
|
|
|
36026
|
-
//# debugId=
|
|
36033
|
+
//# debugId=C8E2F6B93C8F552D64756E2164756E21
|