@letta-ai/letta-client 1.0.0-alpha.6 → 1.0.0
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/CHANGELOG.md +271 -0
- package/LICENSE +1 -1
- package/README.md +46 -46
- package/client.d.mts +82 -80
- package/client.d.mts.map +1 -1
- package/client.d.ts +82 -80
- package/client.d.ts.map +1 -1
- package/client.js +110 -104
- package/client.js.map +1 -1
- package/client.mjs +108 -102
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts +2 -2
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts +2 -2
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts +2 -2
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts +2 -2
- package/core/error.d.ts.map +1 -1
- package/core/error.js +4 -4
- package/core/error.js.map +1 -1
- package/core/error.mjs +2 -2
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts +96 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +96 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +199 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +191 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +3 -3
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts +3 -3
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js.map +1 -1
- package/core/resource.mjs.map +1 -1
- package/core/streaming.d.mts +33 -0
- package/core/streaming.d.mts.map +1 -0
- package/core/streaming.d.ts +33 -0
- package/core/streaming.d.ts.map +1 -0
- package/core/streaming.js +276 -0
- package/core/streaming.js.map +1 -0
- package/core/streaming.mjs +271 -0
- package/core/streaming.mjs.map +1 -0
- package/index.d.mts +4 -3
- package/index.d.mts.map +1 -1
- package/index.d.ts +4 -3
- package/index.d.ts.map +1 -1
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/index.mjs +4 -3
- package/index.mjs.map +1 -1
- package/internal/decoders/line.d.mts +17 -0
- package/internal/decoders/line.d.mts.map +1 -0
- package/internal/decoders/line.d.ts +17 -0
- package/internal/decoders/line.d.ts.map +1 -0
- package/internal/decoders/line.js +113 -0
- package/internal/decoders/line.js.map +1 -0
- package/internal/decoders/line.mjs +108 -0
- package/internal/decoders/line.mjs.map +1 -0
- package/internal/parse.d.mts +2 -2
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts +2 -2
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +10 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +10 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +2 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +2 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/shims.js +1 -1
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/internal/uploads.d.mts +4 -4
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts +4 -4
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.js +2 -2
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +3 -3
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts +3 -3
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +3 -3
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.js +1 -1
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +2 -2
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/values.js +5 -5
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +6 -6
- package/internal/utils/values.mjs.map +1 -1
- package/package.json +23 -3
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resources/access-tokens.d.mts +105 -0
- package/resources/access-tokens.d.mts.map +1 -0
- package/resources/access-tokens.d.ts +105 -0
- package/resources/access-tokens.d.ts.map +1 -0
- package/resources/access-tokens.js +30 -0
- package/resources/access-tokens.js.map +1 -0
- package/resources/access-tokens.mjs +26 -0
- package/resources/access-tokens.mjs.map +1 -0
- package/resources/agents/agents.d.mts +770 -346
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +770 -346
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js +26 -90
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs +28 -92
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/agents/archives.d.mts +31 -0
- package/resources/agents/archives.d.mts.map +1 -0
- package/resources/agents/archives.d.ts +31 -0
- package/resources/agents/archives.d.ts.map +1 -0
- package/resources/agents/archives.js +24 -0
- package/resources/agents/archives.js.map +1 -0
- package/resources/agents/archives.mjs +20 -0
- package/resources/agents/archives.mjs.map +1 -0
- package/resources/agents/blocks.d.mts +268 -0
- package/resources/agents/blocks.d.mts.map +1 -0
- package/resources/agents/blocks.d.ts +268 -0
- package/resources/agents/blocks.d.ts.map +1 -0
- package/resources/agents/blocks.js +48 -0
- package/resources/agents/blocks.js.map +1 -0
- package/resources/agents/blocks.mjs +44 -0
- package/resources/agents/blocks.mjs.map +1 -0
- package/resources/agents/files.d.mts +49 -63
- package/resources/agents/files.d.mts.map +1 -1
- package/resources/agents/files.d.ts +49 -63
- package/resources/agents/files.d.ts.map +1 -1
- package/resources/agents/files.js +6 -2
- package/resources/agents/files.js.map +1 -1
- package/resources/agents/files.mjs +6 -2
- package/resources/agents/files.mjs.map +1 -1
- package/resources/agents/folders.d.mts +68 -6
- package/resources/agents/folders.d.mts.map +1 -1
- package/resources/agents/folders.d.ts +68 -6
- package/resources/agents/folders.d.ts.map +1 -1
- package/resources/agents/folders.js +6 -2
- package/resources/agents/folders.js.map +1 -1
- package/resources/agents/folders.mjs +6 -2
- package/resources/agents/folders.mjs.map +1 -1
- package/resources/agents/groups.d.mts +22 -0
- package/resources/agents/groups.d.mts.map +1 -0
- package/resources/agents/groups.d.ts +22 -0
- package/resources/agents/groups.d.ts.map +1 -0
- package/resources/agents/groups.js +20 -0
- package/resources/agents/groups.js.map +1 -0
- package/resources/agents/groups.mjs +16 -0
- package/resources/agents/groups.mjs.map +1 -0
- package/resources/agents/identities.d.mts +31 -0
- package/resources/agents/identities.d.mts.map +1 -0
- package/resources/agents/identities.d.ts +31 -0
- package/resources/agents/identities.d.ts.map +1 -0
- package/resources/agents/identities.js +24 -0
- package/resources/agents/identities.js.map +1 -0
- package/resources/agents/identities.mjs +20 -0
- package/resources/agents/identities.mjs.map +1 -0
- package/resources/agents/index.d.mts +9 -8
- package/resources/agents/index.d.mts.map +1 -1
- package/resources/agents/index.d.ts +9 -8
- package/resources/agents/index.d.ts.map +1 -1
- package/resources/agents/index.js +9 -7
- package/resources/agents/index.js.map +1 -1
- package/resources/agents/index.mjs +4 -3
- package/resources/agents/index.mjs.map +1 -1
- package/resources/agents/messages.d.mts +782 -490
- package/resources/agents/messages.d.mts.map +1 -1
- package/resources/agents/messages.d.ts +782 -490
- package/resources/agents/messages.d.ts.map +1 -1
- package/resources/agents/messages.js +33 -35
- package/resources/agents/messages.js.map +1 -1
- package/resources/agents/messages.mjs +33 -35
- package/resources/agents/messages.mjs.map +1 -1
- package/resources/agents/tools.d.mts +30 -13
- package/resources/agents/tools.d.mts.map +1 -1
- package/resources/agents/tools.d.ts +30 -13
- package/resources/agents/tools.d.ts.map +1 -1
- package/resources/agents/tools.js +15 -7
- package/resources/agents/tools.js.map +1 -1
- package/resources/agents/tools.mjs +15 -7
- package/resources/agents/tools.mjs.map +1 -1
- package/resources/archives/archives.d.mts +115 -0
- package/resources/archives/archives.d.mts.map +1 -0
- package/resources/archives/archives.d.ts +115 -0
- package/resources/archives/archives.d.ts.map +1 -0
- package/resources/archives/archives.js +50 -0
- package/resources/archives/archives.js.map +1 -0
- package/resources/archives/archives.mjs +45 -0
- package/resources/archives/archives.mjs.map +1 -0
- package/resources/archives/index.d.mts +3 -0
- package/resources/archives/index.d.mts.map +1 -0
- package/resources/archives/index.d.ts +3 -0
- package/resources/archives/index.d.ts.map +1 -0
- package/resources/archives/index.js +9 -0
- package/resources/archives/index.js.map +1 -0
- package/resources/archives/index.mjs +4 -0
- package/resources/archives/index.mjs.map +1 -0
- package/resources/archives/passages.d.mts +113 -0
- package/resources/archives/passages.d.mts.map +1 -0
- package/resources/archives/passages.d.ts +113 -0
- package/resources/archives/passages.d.ts.map +1 -0
- package/resources/archives/passages.js +32 -0
- package/resources/archives/passages.js.map +1 -0
- package/resources/archives/passages.mjs +28 -0
- package/resources/archives/passages.mjs.map +1 -0
- package/resources/archives.d.mts +1 -105
- package/resources/archives.d.mts.map +1 -1
- package/resources/archives.d.ts +1 -105
- package/resources/archives.d.ts.map +1 -1
- package/resources/archives.js +2 -18
- package/resources/archives.js.map +1 -1
- package/resources/archives.mjs +1 -16
- package/resources/archives.mjs.map +1 -1
- package/resources/batches/batches.d.mts +211 -0
- package/resources/batches/batches.d.mts.map +1 -0
- package/resources/batches/batches.d.ts +211 -0
- package/resources/batches/batches.d.ts.map +1 -0
- package/resources/batches/batches.js +46 -0
- package/resources/batches/batches.js.map +1 -0
- package/resources/batches/batches.mjs +41 -0
- package/resources/batches/batches.mjs.map +1 -0
- package/resources/batches/index.d.mts +3 -0
- package/resources/batches/index.d.mts.map +1 -0
- package/resources/batches/index.d.ts +3 -0
- package/resources/batches/index.d.ts.map +1 -0
- package/resources/batches/index.js.map +1 -0
- package/resources/batches/index.mjs.map +1 -0
- package/resources/batches/messages.d.mts +22 -0
- package/resources/batches/messages.d.mts.map +1 -0
- package/resources/batches/messages.d.ts +22 -0
- package/resources/batches/messages.d.ts.map +1 -0
- package/resources/batches/messages.js +17 -0
- package/resources/batches/messages.js.map +1 -0
- package/resources/batches/messages.mjs +13 -0
- package/resources/batches/messages.mjs.map +1 -0
- package/resources/batches.d.mts +2 -0
- package/resources/batches.d.mts.map +1 -0
- package/resources/batches.d.ts +2 -0
- package/resources/batches.d.ts.map +1 -0
- package/resources/batches.js +6 -0
- package/resources/batches.js.map +1 -0
- package/resources/batches.mjs +3 -0
- package/resources/batches.mjs.map +1 -0
- package/resources/blocks/agents.d.mts +31 -0
- package/resources/blocks/agents.d.mts.map +1 -0
- package/resources/blocks/agents.d.ts +31 -0
- package/resources/blocks/agents.d.ts.map +1 -0
- package/resources/blocks/agents.js +21 -0
- package/resources/blocks/agents.js.map +1 -0
- package/resources/blocks/agents.mjs +17 -0
- package/resources/blocks/agents.mjs.map +1 -0
- package/resources/blocks/blocks.d.mts +356 -0
- package/resources/blocks/blocks.d.mts.map +1 -0
- package/resources/blocks/blocks.d.ts +356 -0
- package/resources/blocks/blocks.d.ts.map +1 -0
- package/resources/blocks/blocks.js +49 -0
- package/resources/blocks/blocks.js.map +1 -0
- package/resources/blocks/blocks.mjs +44 -0
- package/resources/blocks/blocks.mjs.map +1 -0
- package/resources/blocks/index.d.mts +3 -0
- package/resources/blocks/index.d.mts.map +1 -0
- package/resources/blocks/index.d.ts +3 -0
- package/resources/blocks/index.d.ts.map +1 -0
- package/resources/blocks/index.js +9 -0
- package/resources/blocks/index.js.map +1 -0
- package/resources/blocks/index.mjs +4 -0
- package/resources/blocks/index.mjs.map +1 -0
- package/resources/blocks.d.mts +1 -329
- package/resources/blocks.d.mts.map +1 -1
- package/resources/blocks.d.ts +1 -329
- package/resources/blocks.d.ts.map +1 -1
- package/resources/blocks.js +2 -49
- package/resources/blocks.js.map +1 -1
- package/resources/blocks.mjs +1 -47
- package/resources/blocks.mjs.map +1 -1
- package/resources/folders/agents.d.mts +39 -0
- package/resources/folders/agents.d.mts.map +1 -0
- package/resources/folders/agents.d.ts +39 -0
- package/resources/folders/agents.d.ts.map +1 -0
- package/resources/folders/agents.js +16 -0
- package/resources/folders/agents.js.map +1 -0
- package/resources/folders/agents.mjs +12 -0
- package/resources/folders/agents.mjs.map +1 -0
- package/resources/folders/files.d.mts +194 -0
- package/resources/folders/files.d.mts.map +1 -0
- package/resources/folders/files.d.ts +194 -0
- package/resources/folders/files.d.ts.map +1 -0
- package/resources/folders/files.js +39 -0
- package/resources/folders/files.js.map +1 -0
- package/resources/folders/files.mjs +35 -0
- package/resources/folders/files.mjs.map +1 -0
- package/resources/folders/folders.d.mts +150 -0
- package/resources/folders/folders.d.mts.map +1 -0
- package/resources/folders/folders.d.ts +150 -0
- package/resources/folders/folders.d.ts.map +1 -0
- package/resources/folders/folders.js +53 -0
- package/resources/folders/folders.js.map +1 -0
- package/resources/folders/folders.mjs +48 -0
- package/resources/folders/folders.mjs.map +1 -0
- package/resources/folders/index.d.mts +4 -0
- package/resources/folders/index.d.mts.map +1 -0
- package/resources/folders/index.d.ts +4 -0
- package/resources/folders/index.d.ts.map +1 -0
- package/resources/folders/index.js +11 -0
- package/resources/folders/index.js.map +1 -0
- package/resources/folders/index.mjs +5 -0
- package/resources/folders/index.mjs.map +1 -0
- package/resources/folders.d.mts +1 -319
- package/resources/folders.d.mts.map +1 -1
- package/resources/folders.d.ts +1 -319
- package/resources/folders.d.ts.map +1 -1
- package/resources/folders.js +2 -103
- package/resources/folders.js.map +1 -1
- package/resources/folders.mjs +1 -101
- package/resources/folders.mjs.map +1 -1
- package/resources/groups/groups.d.mts +17 -72
- package/resources/groups/groups.d.mts.map +1 -1
- package/resources/groups/groups.d.ts +17 -72
- package/resources/groups/groups.d.ts.map +1 -1
- package/resources/groups/groups.js +6 -34
- package/resources/groups/groups.js.map +1 -1
- package/resources/groups/groups.mjs +6 -34
- package/resources/groups/groups.mjs.map +1 -1
- package/resources/groups/index.d.mts +2 -2
- package/resources/groups/index.d.mts.map +1 -1
- package/resources/groups/index.d.ts +2 -2
- package/resources/groups/index.d.ts.map +1 -1
- package/resources/groups/index.js.map +1 -1
- package/resources/groups/index.mjs.map +1 -1
- package/resources/groups/messages.d.mts +168 -87
- package/resources/groups/messages.d.mts.map +1 -1
- package/resources/groups/messages.d.ts +168 -87
- package/resources/groups/messages.d.ts.map +1 -1
- package/resources/groups/messages.js +22 -8
- package/resources/groups/messages.js.map +1 -1
- package/resources/groups/messages.mjs +22 -8
- package/resources/groups/messages.mjs.map +1 -1
- package/resources/identities/agents.d.mts +23 -0
- package/resources/identities/agents.d.mts.map +1 -0
- package/resources/identities/agents.d.ts +23 -0
- package/resources/identities/agents.d.ts.map +1 -0
- package/resources/identities/agents.js +17 -0
- package/resources/identities/agents.js.map +1 -0
- package/resources/identities/agents.mjs +13 -0
- package/resources/identities/agents.mjs.map +1 -0
- package/resources/identities/blocks.d.mts +18 -0
- package/resources/identities/blocks.d.mts.map +1 -0
- package/resources/identities/blocks.d.ts +18 -0
- package/resources/identities/blocks.d.ts.map +1 -0
- package/resources/identities/blocks.js +17 -0
- package/resources/identities/blocks.js.map +1 -0
- package/resources/identities/blocks.mjs +13 -0
- package/resources/identities/blocks.mjs.map +1 -0
- package/resources/identities/identities.d.mts +200 -0
- package/resources/identities/identities.d.mts.map +1 -0
- package/resources/identities/identities.d.ts +200 -0
- package/resources/identities/identities.d.ts.map +1 -0
- package/resources/identities/identities.js +63 -0
- package/resources/identities/identities.js.map +1 -0
- package/resources/identities/identities.mjs +58 -0
- package/resources/identities/identities.mjs.map +1 -0
- package/resources/identities/index.d.mts +5 -0
- package/resources/identities/index.d.mts.map +1 -0
- package/resources/identities/index.d.ts +5 -0
- package/resources/identities/index.d.ts.map +1 -0
- package/resources/identities/index.js +13 -0
- package/resources/identities/index.js.map +1 -0
- package/resources/identities/index.mjs +6 -0
- package/resources/identities/index.mjs.map +1 -0
- package/resources/identities/properties.d.mts +18 -0
- package/resources/identities/properties.d.mts.map +1 -0
- package/resources/identities/properties.d.ts +18 -0
- package/resources/identities/properties.d.ts.map +1 -0
- package/resources/identities/properties.js +17 -0
- package/resources/identities/properties.js.map +1 -0
- package/resources/identities/properties.mjs +13 -0
- package/resources/identities/properties.mjs.map +1 -0
- package/resources/identities.d.mts +1 -292
- package/resources/identities.d.mts.map +1 -1
- package/resources/identities.d.ts +1 -292
- package/resources/identities.d.ts.map +1 -1
- package/resources/identities.js +2 -84
- package/resources/identities.js.map +1 -1
- package/resources/identities.mjs +1 -82
- package/resources/identities.mjs.map +1 -1
- package/resources/index.d.mts +15 -22
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +15 -22
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +16 -32
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +12 -20
- package/resources/index.mjs.map +1 -1
- package/resources/mcp-servers/index.d.mts +3 -0
- package/resources/mcp-servers/index.d.mts.map +1 -0
- package/resources/mcp-servers/index.d.ts +3 -0
- package/resources/mcp-servers/index.d.ts.map +1 -0
- package/resources/mcp-servers/index.js +9 -0
- package/resources/mcp-servers/index.js.map +1 -0
- package/resources/mcp-servers/index.mjs +4 -0
- package/resources/mcp-servers/index.mjs.map +1 -0
- package/resources/mcp-servers/mcp-servers.d.mts +349 -0
- package/resources/mcp-servers/mcp-servers.d.mts.map +1 -0
- package/resources/mcp-servers/mcp-servers.d.ts +349 -0
- package/resources/mcp-servers/mcp-servers.d.ts.map +1 -0
- package/resources/mcp-servers/mcp-servers.js +69 -0
- package/resources/mcp-servers/mcp-servers.js.map +1 -0
- package/resources/mcp-servers/mcp-servers.mjs +64 -0
- package/resources/mcp-servers/mcp-servers.mjs.map +1 -0
- package/resources/mcp-servers/tools.d.mts +42 -0
- package/resources/mcp-servers/tools.d.mts.map +1 -0
- package/resources/mcp-servers/tools.d.ts +42 -0
- package/resources/mcp-servers/tools.d.ts.map +1 -0
- package/resources/mcp-servers/tools.js +36 -0
- package/resources/mcp-servers/tools.js.map +1 -0
- package/resources/mcp-servers/tools.mjs +32 -0
- package/resources/mcp-servers/tools.mjs.map +1 -0
- package/resources/mcp-servers.d.mts +2 -0
- package/resources/mcp-servers.d.mts.map +1 -0
- package/resources/mcp-servers.d.ts +2 -0
- package/resources/mcp-servers.d.ts.map +1 -0
- package/resources/mcp-servers.js +6 -0
- package/resources/mcp-servers.js.map +1 -0
- package/resources/mcp-servers.mjs +3 -0
- package/resources/mcp-servers.mjs.map +1 -0
- package/resources/models/embeddings.d.mts +20 -0
- package/resources/models/embeddings.d.mts.map +1 -0
- package/resources/models/embeddings.d.ts +20 -0
- package/resources/models/embeddings.d.ts.map +1 -0
- package/resources/models/embeddings.js +20 -0
- package/resources/models/embeddings.js.map +1 -0
- package/resources/models/embeddings.mjs +16 -0
- package/resources/models/embeddings.mjs.map +1 -0
- package/resources/models/index.d.mts +3 -0
- package/resources/models/index.d.mts.map +1 -0
- package/resources/models/index.d.ts +3 -0
- package/resources/models/index.d.ts.map +1 -0
- package/resources/models/index.js +9 -0
- package/resources/models/index.js.map +1 -0
- package/resources/models/index.mjs +4 -0
- package/resources/models/index.mjs.map +1 -0
- package/resources/models/models.d.mts +341 -0
- package/resources/models/models.d.mts.map +1 -0
- package/resources/models/models.d.ts +341 -0
- package/resources/models/models.d.ts.map +1 -0
- package/resources/models/models.js +28 -0
- package/resources/models/models.js.map +1 -0
- package/resources/models/models.mjs +23 -0
- package/resources/models/models.mjs.map +1 -0
- package/resources/models.d.mts +1 -159
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +1 -159
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +2 -26
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +1 -24
- package/resources/models.mjs.map +1 -1
- package/resources/runs/index.d.mts +5 -0
- package/resources/runs/index.d.mts.map +1 -0
- package/resources/runs/index.d.ts +5 -0
- package/resources/runs/index.d.ts.map +1 -0
- package/resources/runs/index.js +13 -0
- package/resources/runs/index.js.map +1 -0
- package/resources/runs/index.mjs +6 -0
- package/resources/runs/index.mjs.map +1 -0
- package/resources/runs/messages.d.mts +45 -0
- package/resources/runs/messages.d.mts.map +1 -0
- package/resources/runs/messages.d.ts +45 -0
- package/resources/runs/messages.d.ts.map +1 -0
- package/resources/runs/messages.js +30 -0
- package/resources/runs/messages.js.map +1 -0
- package/resources/runs/messages.mjs +26 -0
- package/resources/runs/messages.mjs.map +1 -0
- package/resources/runs/runs.d.mts +146 -0
- package/resources/runs/runs.d.mts.map +1 -0
- package/resources/runs/runs.d.ts +146 -0
- package/resources/runs/runs.d.ts.map +1 -0
- package/resources/runs/runs.js +39 -0
- package/resources/runs/runs.js.map +1 -0
- package/resources/runs/runs.mjs +34 -0
- package/resources/runs/runs.mjs.map +1 -0
- package/resources/runs/steps.d.mts +18 -0
- package/resources/runs/steps.d.mts.map +1 -0
- package/resources/runs/steps.d.ts +18 -0
- package/resources/runs/steps.d.ts.map +1 -0
- package/resources/runs/steps.js +20 -0
- package/resources/runs/steps.js.map +1 -0
- package/resources/runs/steps.mjs +16 -0
- package/resources/runs/steps.mjs.map +1 -0
- package/resources/runs/usage.d.mts +28 -0
- package/resources/runs/usage.d.mts.map +1 -0
- package/resources/runs/usage.d.ts +28 -0
- package/resources/runs/usage.d.ts.map +1 -0
- package/resources/runs/usage.js +16 -0
- package/resources/runs/usage.js.map +1 -0
- package/resources/runs/usage.mjs +12 -0
- package/resources/runs/usage.mjs.map +1 -0
- package/resources/runs.d.mts +1 -183
- package/resources/runs.d.mts.map +1 -1
- package/resources/runs.d.ts +1 -183
- package/resources/runs.d.ts.map +1 -1
- package/resources/runs.js +2 -69
- package/resources/runs.js.map +1 -1
- package/resources/runs.mjs +1 -67
- package/resources/runs.mjs.map +1 -1
- package/resources/steps/feedback.d.mts +24 -0
- package/resources/steps/feedback.d.mts.map +1 -0
- package/resources/steps/feedback.d.ts +24 -0
- package/resources/steps/feedback.d.ts.map +1 -0
- package/resources/steps/feedback.js +16 -0
- package/resources/steps/feedback.js.map +1 -0
- package/resources/steps/feedback.mjs +12 -0
- package/resources/steps/feedback.mjs.map +1 -0
- package/resources/steps/index.d.mts +6 -0
- package/resources/steps/index.d.mts.map +1 -0
- package/resources/steps/index.d.ts +6 -0
- package/resources/steps/index.d.ts.map +1 -0
- package/resources/steps/index.js +15 -0
- package/resources/steps/index.js.map +1 -0
- package/resources/steps/index.mjs +7 -0
- package/resources/steps/index.mjs.map +1 -0
- package/resources/steps/messages.d.mts +27 -0
- package/resources/steps/messages.d.mts.map +1 -0
- package/resources/steps/messages.d.ts +27 -0
- package/resources/steps/messages.d.ts.map +1 -0
- package/resources/steps/messages.js +20 -0
- package/resources/steps/messages.js.map +1 -0
- package/resources/steps/messages.mjs +16 -0
- package/resources/steps/messages.mjs.map +1 -0
- package/resources/steps/metrics.d.mts +63 -0
- package/resources/steps/metrics.d.mts.map +1 -0
- package/resources/steps/metrics.d.ts +63 -0
- package/resources/steps/metrics.d.ts.map +1 -0
- package/resources/steps/metrics.js +16 -0
- package/resources/steps/metrics.js.map +1 -0
- package/resources/steps/metrics.mjs +12 -0
- package/resources/steps/metrics.mjs.map +1 -0
- package/resources/steps/steps.d.mts +227 -0
- package/resources/steps/steps.d.mts.map +1 -0
- package/resources/steps/steps.d.ts +227 -0
- package/resources/steps/steps.d.ts.map +1 -0
- package/resources/steps/steps.js +43 -0
- package/resources/steps/steps.js.map +1 -0
- package/resources/steps/steps.mjs +38 -0
- package/resources/steps/steps.mjs.map +1 -0
- package/resources/steps/trace.d.mts +11 -0
- package/resources/steps/trace.d.mts.map +1 -0
- package/resources/steps/trace.d.ts +11 -0
- package/resources/steps/trace.d.ts.map +1 -0
- package/resources/steps/trace.js +16 -0
- package/resources/steps/trace.js.map +1 -0
- package/resources/steps/trace.mjs +12 -0
- package/resources/steps/trace.mjs.map +1 -0
- package/resources/steps.d.mts +1 -340
- package/resources/steps.d.mts.map +1 -1
- package/resources/steps.d.ts +1 -340
- package/resources/steps.d.ts.map +1 -1
- package/resources/steps.js +2 -51
- package/resources/steps.js.map +1 -1
- package/resources/steps.mjs +1 -49
- package/resources/steps.mjs.map +1 -1
- package/resources/templates/agents.d.mts +56 -0
- package/resources/templates/agents.d.mts.map +1 -0
- package/resources/templates/agents.d.ts +56 -0
- package/resources/templates/agents.d.ts.map +1 -0
- package/resources/templates/agents.js +21 -0
- package/resources/templates/agents.js.map +1 -0
- package/resources/templates/agents.mjs +17 -0
- package/resources/templates/agents.mjs.map +1 -0
- package/resources/templates/index.d.mts +3 -0
- package/resources/templates/index.d.mts.map +1 -0
- package/resources/templates/index.d.ts +3 -0
- package/resources/templates/index.d.ts.map +1 -0
- package/resources/templates/index.js +9 -0
- package/resources/templates/index.js.map +1 -0
- package/resources/templates/index.mjs +4 -0
- package/resources/templates/index.mjs.map +1 -0
- package/resources/templates/templates.d.mts +10 -0
- package/resources/templates/templates.d.mts.map +1 -0
- package/resources/templates/templates.d.ts +10 -0
- package/resources/templates/templates.d.ts.map +1 -0
- package/resources/templates/templates.js +17 -0
- package/resources/templates/templates.js.map +1 -0
- package/resources/templates/templates.mjs +12 -0
- package/resources/templates/templates.mjs.map +1 -0
- package/resources/templates.d.mts +1 -493
- package/resources/templates.d.mts.map +1 -1
- package/resources/templates.d.ts +1 -493
- package/resources/templates.d.ts.map +1 -1
- package/resources/templates.js +2 -81
- package/resources/templates.js.map +1 -1
- package/resources/templates.mjs +1 -79
- package/resources/templates.mjs.map +1 -1
- package/resources/tools.d.mts +437 -1
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +437 -1
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +49 -2
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +47 -1
- package/resources/tools.mjs.map +1 -1
- package/resources/top-level.d.mts +11 -0
- package/resources/top-level.d.mts.map +1 -0
- package/resources/top-level.d.ts +11 -0
- package/resources/top-level.d.ts.map +1 -0
- package/resources/top-level.js +4 -0
- package/resources/top-level.js.map +1 -0
- package/resources/top-level.mjs +3 -0
- package/resources/top-level.mjs.map +1 -0
- package/src/client.ts +370 -502
- package/src/core/api-promise.ts +4 -4
- package/src/core/error.ts +2 -2
- package/src/core/pagination.ts +334 -0
- package/src/core/resource.ts +3 -3
- package/src/core/streaming.ts +331 -0
- package/src/index.ts +4 -3
- package/src/internal/decoders/line.ts +135 -0
- package/src/internal/parse.ts +16 -2
- package/src/internal/request-options.ts +2 -0
- package/src/internal/shims.ts +1 -1
- package/src/internal/uploads.ts +5 -5
- package/src/internal/utils/base64.ts +3 -3
- package/src/internal/utils/log.ts +3 -3
- package/src/internal/utils/path.ts +2 -2
- package/src/internal/utils/values.ts +6 -6
- package/src/pagination.ts +2 -0
- package/src/resources/access-tokens.ts +163 -0
- package/src/resources/agents/agents.ts +1070 -578
- package/src/resources/agents/archives.ts +51 -0
- package/src/resources/agents/blocks.ts +372 -0
- package/src/resources/agents/files.ts +60 -73
- package/src/resources/agents/folders.ts +86 -6
- package/src/resources/agents/groups.ts +37 -0
- package/src/resources/agents/identities.ts +51 -0
- package/src/resources/agents/index.ts +58 -46
- package/src/resources/agents/messages.ts +1109 -667
- package/src/resources/agents/tools.ts +45 -19
- package/src/resources/archives/archives.ts +170 -0
- package/src/resources/archives/index.ts +17 -0
- package/src/resources/archives/passages.ts +150 -0
- package/src/resources/archives.ts +1 -138
- package/src/resources/batches/batches.ts +286 -0
- package/src/resources/batches/index.ts +11 -0
- package/src/resources/batches/messages.ts +38 -0
- package/src/resources/batches.ts +3 -0
- package/src/resources/blocks/agents.ts +55 -0
- package/src/resources/blocks/blocks.ts +458 -0
- package/src/resources/blocks/index.ts +13 -0
- package/src/resources/blocks.ts +1 -436
- package/src/resources/folders/agents.ts +55 -0
- package/src/resources/folders/files.ts +272 -0
- package/src/resources/folders/folders.ts +223 -0
- package/src/resources/folders/index.ts +21 -0
- package/src/resources/folders.ts +1 -460
- package/src/resources/groups/groups.ts +27 -116
- package/src/resources/groups/index.ts +5 -7
- package/src/resources/groups/messages.ts +238 -106
- package/src/resources/identities/agents.ts +47 -0
- package/src/resources/identities/blocks.ts +33 -0
- package/src/resources/identities/identities.ts +282 -0
- package/src/resources/identities/index.ts +17 -0
- package/src/resources/identities/properties.ts +30 -0
- package/src/resources/identities.ts +1 -432
- package/src/resources/index.ts +79 -169
- package/src/resources/mcp-servers/index.ts +25 -0
- package/src/resources/mcp-servers/mcp-servers.ts +460 -0
- package/src/resources/mcp-servers/tools.ts +69 -0
- package/src/resources/mcp-servers.ts +3 -0
- package/src/resources/models/embeddings.ts +26 -0
- package/src/resources/models/index.ts +14 -0
- package/src/resources/models/models.ts +534 -0
- package/src/resources/models.ts +1 -276
- package/src/resources/runs/index.ts +11 -0
- package/src/resources/runs/messages.ts +79 -0
- package/src/resources/runs/runs.ts +206 -0
- package/src/resources/runs/steps.ts +32 -0
- package/src/resources/runs/usage.ts +41 -0
- package/src/resources/runs.ts +1 -282
- package/src/resources/steps/feedback.ts +32 -0
- package/src/resources/steps/index.ts +12 -0
- package/src/resources/steps/messages.ts +57 -0
- package/src/resources/steps/metrics.ts +81 -0
- package/src/resources/steps/steps.ts +293 -0
- package/src/resources/steps/trace.ts +16 -0
- package/src/resources/steps.ts +1 -455
- package/src/resources/templates/agents.ts +80 -0
- package/src/resources/templates/index.ts +4 -0
- package/src/resources/templates/templates.ts +15 -0
- package/src/resources/templates.ts +1 -783
- package/src/resources/tools.ts +557 -1
- package/src/resources/top-level.ts +14 -0
- package/src/streaming.ts +2 -0
- package/src/version.ts +1 -1
- package/streaming.d.mts +2 -0
- package/streaming.d.mts.map +1 -0
- package/streaming.d.ts +2 -0
- package/streaming.d.ts.map +1 -0
- package/streaming.js +6 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +2 -0
- package/streaming.mjs.map +1 -0
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/-internal-templates/-internal-templates.d.mts +0 -324
- package/resources/-internal-templates/-internal-templates.d.mts.map +0 -1
- package/resources/-internal-templates/-internal-templates.d.ts +0 -324
- package/resources/-internal-templates/-internal-templates.d.ts.map +0 -1
- package/resources/-internal-templates/-internal-templates.js +0 -35
- package/resources/-internal-templates/-internal-templates.js.map +0 -1
- package/resources/-internal-templates/-internal-templates.mjs +0 -30
- package/resources/-internal-templates/-internal-templates.mjs.map +0 -1
- package/resources/-internal-templates/deployment.d.mts +0 -56
- package/resources/-internal-templates/deployment.d.mts.map +0 -1
- package/resources/-internal-templates/deployment.d.ts +0 -56
- package/resources/-internal-templates/deployment.d.ts.map +0 -1
- package/resources/-internal-templates/deployment.js +0 -24
- package/resources/-internal-templates/deployment.js.map +0 -1
- package/resources/-internal-templates/deployment.mjs +0 -20
- package/resources/-internal-templates/deployment.mjs.map +0 -1
- package/resources/-internal-templates/index.d.mts +0 -3
- package/resources/-internal-templates/index.d.mts.map +0 -1
- package/resources/-internal-templates/index.d.ts +0 -3
- package/resources/-internal-templates/index.d.ts.map +0 -1
- package/resources/-internal-templates/index.js +0 -9
- package/resources/-internal-templates/index.js.map +0 -1
- package/resources/-internal-templates/index.mjs +0 -4
- package/resources/-internal-templates/index.mjs.map +0 -1
- package/resources/-internal-templates.d.mts +0 -2
- package/resources/-internal-templates.d.mts.map +0 -1
- package/resources/-internal-templates.d.ts +0 -2
- package/resources/-internal-templates.d.ts.map +0 -1
- package/resources/-internal-templates.js +0 -6
- package/resources/-internal-templates.js.map +0 -1
- package/resources/-internal-templates.mjs +0 -3
- package/resources/-internal-templates.mjs.map +0 -1
- package/resources/agents/archival-memory.d.mts +0 -128
- package/resources/agents/archival-memory.d.mts.map +0 -1
- package/resources/agents/archival-memory.d.ts +0 -128
- package/resources/agents/archival-memory.d.ts.map +0 -1
- package/resources/agents/archival-memory.js +0 -41
- package/resources/agents/archival-memory.js.map +0 -1
- package/resources/agents/archival-memory.mjs +0 -37
- package/resources/agents/archival-memory.mjs.map +0 -1
- package/resources/agents/core-memory/blocks.d.mts +0 -256
- package/resources/agents/core-memory/blocks.d.mts.map +0 -1
- package/resources/agents/core-memory/blocks.d.ts +0 -256
- package/resources/agents/core-memory/blocks.d.ts.map +0 -1
- package/resources/agents/core-memory/blocks.js +0 -47
- package/resources/agents/core-memory/blocks.js.map +0 -1
- package/resources/agents/core-memory/blocks.mjs +0 -43
- package/resources/agents/core-memory/blocks.mjs.map +0 -1
- package/resources/agents/core-memory/core-memory.d.mts +0 -142
- package/resources/agents/core-memory/core-memory.d.mts.map +0 -1
- package/resources/agents/core-memory/core-memory.d.ts +0 -142
- package/resources/agents/core-memory/core-memory.d.ts.map +0 -1
- package/resources/agents/core-memory/core-memory.js +0 -31
- package/resources/agents/core-memory/core-memory.js.map +0 -1
- package/resources/agents/core-memory/core-memory.mjs +0 -26
- package/resources/agents/core-memory/core-memory.mjs.map +0 -1
- package/resources/agents/core-memory/index.d.mts +0 -3
- package/resources/agents/core-memory/index.d.mts.map +0 -1
- package/resources/agents/core-memory/index.d.ts +0 -3
- package/resources/agents/core-memory/index.d.ts.map +0 -1
- package/resources/agents/core-memory/index.js +0 -9
- package/resources/agents/core-memory/index.js.map +0 -1
- package/resources/agents/core-memory/index.mjs +0 -4
- package/resources/agents/core-memory/index.mjs.map +0 -1
- package/resources/agents/core-memory.d.mts +0 -2
- package/resources/agents/core-memory.d.mts.map +0 -1
- package/resources/agents/core-memory.d.ts +0 -2
- package/resources/agents/core-memory.d.ts.map +0 -1
- package/resources/agents/core-memory.js +0 -6
- package/resources/agents/core-memory.js.map +0 -1
- package/resources/agents/core-memory.mjs +0 -3
- package/resources/agents/core-memory.mjs.map +0 -1
- package/resources/agents/sources.d.mts +0 -30
- package/resources/agents/sources.d.mts.map +0 -1
- package/resources/agents/sources.d.ts +0 -30
- package/resources/agents/sources.d.ts.map +0 -1
- package/resources/agents/sources.js +0 -30
- package/resources/agents/sources.js.map +0 -1
- package/resources/agents/sources.mjs +0 -26
- package/resources/agents/sources.mjs.map +0 -1
- package/resources/client-side-access-tokens.d.mts +0 -105
- package/resources/client-side-access-tokens.d.mts.map +0 -1
- package/resources/client-side-access-tokens.d.ts +0 -105
- package/resources/client-side-access-tokens.d.ts.map +0 -1
- package/resources/client-side-access-tokens.js +0 -30
- package/resources/client-side-access-tokens.js.map +0 -1
- package/resources/client-side-access-tokens.mjs +0 -26
- package/resources/client-side-access-tokens.mjs.map +0 -1
- package/resources/embeddings.d.mts +0 -18
- package/resources/embeddings.d.mts.map +0 -1
- package/resources/embeddings.d.ts +0 -18
- package/resources/embeddings.d.ts.map +0 -1
- package/resources/embeddings.js +0 -24
- package/resources/embeddings.js.map +0 -1
- package/resources/embeddings.mjs +0 -20
- package/resources/embeddings.mjs.map +0 -1
- package/resources/health.d.mts +0 -20
- package/resources/health.d.mts.map +0 -1
- package/resources/health.d.ts +0 -20
- package/resources/health.d.ts.map +0 -1
- package/resources/health.js +0 -15
- package/resources/health.js.map +0 -1
- package/resources/health.mjs +0 -11
- package/resources/health.mjs.map +0 -1
- package/resources/jobs.d.mts +0 -165
- package/resources/jobs.d.mts.map +0 -1
- package/resources/jobs.d.ts +0 -165
- package/resources/jobs.d.ts.map +0 -1
- package/resources/jobs.js +0 -45
- package/resources/jobs.js.map +0 -1
- package/resources/jobs.mjs +0 -41
- package/resources/jobs.mjs.map +0 -1
- package/resources/messages/batches.d.mts +0 -212
- package/resources/messages/batches.d.mts.map +0 -1
- package/resources/messages/batches.d.ts +0 -212
- package/resources/messages/batches.d.ts.map +0 -1
- package/resources/messages/batches.js +0 -43
- package/resources/messages/batches.js.map +0 -1
- package/resources/messages/batches.mjs +0 -39
- package/resources/messages/batches.mjs.map +0 -1
- package/resources/messages/index.d.mts +0 -3
- package/resources/messages/index.d.mts.map +0 -1
- package/resources/messages/index.d.ts +0 -3
- package/resources/messages/index.d.ts.map +0 -1
- package/resources/messages/index.js.map +0 -1
- package/resources/messages/index.mjs.map +0 -1
- package/resources/messages/messages.d.mts +0 -10
- package/resources/messages/messages.d.mts.map +0 -1
- package/resources/messages/messages.d.ts +0 -10
- package/resources/messages/messages.d.ts.map +0 -1
- package/resources/messages/messages.js +0 -17
- package/resources/messages/messages.js.map +0 -1
- package/resources/messages/messages.mjs +0 -12
- package/resources/messages/messages.mjs.map +0 -1
- package/resources/messages.d.mts +0 -2
- package/resources/messages.d.mts.map +0 -1
- package/resources/messages.d.ts +0 -2
- package/resources/messages.d.ts.map +0 -1
- package/resources/messages.js +0 -6
- package/resources/messages.js.map +0 -1
- package/resources/messages.mjs +0 -3
- package/resources/messages.mjs.map +0 -1
- package/resources/projects.d.mts +0 -29
- package/resources/projects.d.mts.map +0 -1
- package/resources/projects.d.ts +0 -29
- package/resources/projects.d.ts.map +0 -1
- package/resources/projects.js +0 -15
- package/resources/projects.js.map +0 -1
- package/resources/projects.mjs +0 -11
- package/resources/projects.mjs.map +0 -1
- package/resources/providers.d.mts +0 -190
- package/resources/providers.d.mts.map +0 -1
- package/resources/providers.d.ts +0 -190
- package/resources/providers.d.ts.map +0 -1
- package/resources/providers.js +0 -46
- package/resources/providers.js.map +0 -1
- package/resources/providers.mjs +0 -42
- package/resources/providers.mjs.map +0 -1
- package/resources/sources/files.d.mts +0 -53
- package/resources/sources/files.d.mts.map +0 -1
- package/resources/sources/files.d.ts +0 -53
- package/resources/sources/files.d.ts.map +0 -1
- package/resources/sources/files.js +0 -27
- package/resources/sources/files.js.map +0 -1
- package/resources/sources/files.mjs +0 -23
- package/resources/sources/files.mjs.map +0 -1
- package/resources/sources/index.d.mts +0 -3
- package/resources/sources/index.d.mts.map +0 -1
- package/resources/sources/index.d.ts +0 -3
- package/resources/sources/index.d.ts.map +0 -1
- package/resources/sources/index.js +0 -9
- package/resources/sources/index.js.map +0 -1
- package/resources/sources/index.mjs +0 -4
- package/resources/sources/index.mjs.map +0 -1
- package/resources/sources/sources.d.mts +0 -530
- package/resources/sources/sources.d.mts.map +0 -1
- package/resources/sources/sources.d.ts +0 -530
- package/resources/sources/sources.d.ts.map +0 -1
- package/resources/sources/sources.js +0 -129
- package/resources/sources/sources.js.map +0 -1
- package/resources/sources/sources.mjs +0 -124
- package/resources/sources/sources.mjs.map +0 -1
- package/resources/sources.d.mts +0 -2
- package/resources/sources.d.mts.map +0 -1
- package/resources/sources.d.ts +0 -2
- package/resources/sources.d.ts.map +0 -1
- package/resources/sources.js +0 -6
- package/resources/sources.js.map +0 -1
- package/resources/sources.mjs +0 -3
- package/resources/sources.mjs.map +0 -1
- package/resources/telemetry.d.mts +0 -15
- package/resources/telemetry.d.mts.map +0 -1
- package/resources/telemetry.d.ts +0 -15
- package/resources/telemetry.d.ts.map +0 -1
- package/resources/telemetry.js +0 -20
- package/resources/telemetry.js.map +0 -1
- package/resources/telemetry.mjs +0 -16
- package/resources/telemetry.mjs.map +0 -1
- package/resources/tools/composio/apps.d.mts +0 -131
- package/resources/tools/composio/apps.d.mts.map +0 -1
- package/resources/tools/composio/apps.d.ts +0 -131
- package/resources/tools/composio/apps.d.ts.map +0 -1
- package/resources/tools/composio/apps.js +0 -22
- package/resources/tools/composio/apps.js.map +0 -1
- package/resources/tools/composio/apps.mjs +0 -18
- package/resources/tools/composio/apps.mjs.map +0 -1
- package/resources/tools/composio/composio.d.mts +0 -18
- package/resources/tools/composio/composio.d.mts.map +0 -1
- package/resources/tools/composio/composio.d.ts +0 -18
- package/resources/tools/composio/composio.d.ts.map +0 -1
- package/resources/tools/composio/composio.js +0 -25
- package/resources/tools/composio/composio.js.map +0 -1
- package/resources/tools/composio/composio.mjs +0 -20
- package/resources/tools/composio/composio.mjs.map +0 -1
- package/resources/tools/composio/index.d.mts +0 -3
- package/resources/tools/composio/index.d.mts.map +0 -1
- package/resources/tools/composio/index.d.ts +0 -3
- package/resources/tools/composio/index.d.ts.map +0 -1
- package/resources/tools/composio/index.js +0 -9
- package/resources/tools/composio/index.js.map +0 -1
- package/resources/tools/composio/index.mjs +0 -4
- package/resources/tools/composio/index.mjs.map +0 -1
- package/resources/tools/composio.d.mts +0 -2
- package/resources/tools/composio.d.mts.map +0 -1
- package/resources/tools/composio.d.ts +0 -2
- package/resources/tools/composio.d.ts.map +0 -1
- package/resources/tools/composio.js +0 -6
- package/resources/tools/composio.js.map +0 -1
- package/resources/tools/composio.mjs +0 -3
- package/resources/tools/composio.mjs.map +0 -1
- package/resources/tools/index.d.mts +0 -4
- package/resources/tools/index.d.mts.map +0 -1
- package/resources/tools/index.d.ts +0 -4
- package/resources/tools/index.d.ts.map +0 -1
- package/resources/tools/index.js +0 -11
- package/resources/tools/index.js.map +0 -1
- package/resources/tools/index.mjs +0 -5
- package/resources/tools/index.mjs.map +0 -1
- package/resources/tools/mcp/index.d.mts +0 -4
- package/resources/tools/mcp/index.d.mts.map +0 -1
- package/resources/tools/mcp/index.d.ts +0 -4
- package/resources/tools/mcp/index.d.ts.map +0 -1
- package/resources/tools/mcp/index.js +0 -11
- package/resources/tools/mcp/index.js.map +0 -1
- package/resources/tools/mcp/index.mjs +0 -5
- package/resources/tools/mcp/index.mjs.map +0 -1
- package/resources/tools/mcp/mcp.d.mts +0 -14
- package/resources/tools/mcp/mcp.d.mts.map +0 -1
- package/resources/tools/mcp/mcp.d.ts +0 -14
- package/resources/tools/mcp/mcp.d.ts.map +0 -1
- package/resources/tools/mcp/mcp.js +0 -21
- package/resources/tools/mcp/mcp.js.map +0 -1
- package/resources/tools/mcp/mcp.mjs +0 -16
- package/resources/tools/mcp/mcp.mjs.map +0 -1
- package/resources/tools/mcp/oauth.d.mts +0 -32
- package/resources/tools/mcp/oauth.d.mts.map +0 -1
- package/resources/tools/mcp/oauth.d.ts +0 -32
- package/resources/tools/mcp/oauth.d.ts.map +0 -1
- package/resources/tools/mcp/oauth.js +0 -16
- package/resources/tools/mcp/oauth.js.map +0 -1
- package/resources/tools/mcp/oauth.mjs +0 -12
- package/resources/tools/mcp/oauth.mjs.map +0 -1
- package/resources/tools/mcp/servers/index.d.mts +0 -3
- package/resources/tools/mcp/servers/index.d.mts.map +0 -1
- package/resources/tools/mcp/servers/index.d.ts +0 -3
- package/resources/tools/mcp/servers/index.d.ts.map +0 -1
- package/resources/tools/mcp/servers/index.js +0 -9
- package/resources/tools/mcp/servers/index.js.map +0 -1
- package/resources/tools/mcp/servers/index.mjs +0 -4
- package/resources/tools/mcp/servers/index.mjs.map +0 -1
- package/resources/tools/mcp/servers/servers.d.mts +0 -442
- package/resources/tools/mcp/servers/servers.d.mts.map +0 -1
- package/resources/tools/mcp/servers/servers.d.ts +0 -442
- package/resources/tools/mcp/servers/servers.d.ts.map +0 -1
- package/resources/tools/mcp/servers/servers.js +0 -80
- package/resources/tools/mcp/servers/servers.js.map +0 -1
- package/resources/tools/mcp/servers/servers.mjs +0 -75
- package/resources/tools/mcp/servers/servers.mjs.map +0 -1
- package/resources/tools/mcp/servers/tools.d.mts +0 -100
- package/resources/tools/mcp/servers/tools.d.mts.map +0 -1
- package/resources/tools/mcp/servers/tools.d.ts +0 -100
- package/resources/tools/mcp/servers/tools.d.ts.map +0 -1
- package/resources/tools/mcp/servers/tools.js +0 -27
- package/resources/tools/mcp/servers/tools.js.map +0 -1
- package/resources/tools/mcp/servers/tools.mjs +0 -23
- package/resources/tools/mcp/servers/tools.mjs.map +0 -1
- package/resources/tools/mcp/servers.d.mts +0 -2
- package/resources/tools/mcp/servers.d.mts.map +0 -1
- package/resources/tools/mcp/servers.d.ts +0 -2
- package/resources/tools/mcp/servers.d.ts.map +0 -1
- package/resources/tools/mcp/servers.js +0 -6
- package/resources/tools/mcp/servers.js.map +0 -1
- package/resources/tools/mcp/servers.mjs +0 -3
- package/resources/tools/mcp/servers.mjs.map +0 -1
- package/resources/tools/mcp.d.mts +0 -2
- package/resources/tools/mcp.d.mts.map +0 -1
- package/resources/tools/mcp.d.ts +0 -2
- package/resources/tools/mcp.d.ts.map +0 -1
- package/resources/tools/mcp.js +0 -6
- package/resources/tools/mcp.js.map +0 -1
- package/resources/tools/mcp.mjs +0 -3
- package/resources/tools/mcp.mjs.map +0 -1
- package/resources/tools/tools.d.mts +0 -515
- package/resources/tools/tools.d.mts.map +0 -1
- package/resources/tools/tools.d.ts +0 -515
- package/resources/tools/tools.d.ts.map +0 -1
- package/resources/tools/tools.js +0 -76
- package/resources/tools/tools.js.map +0 -1
- package/resources/tools/tools.mjs +0 -71
- package/resources/tools/tools.mjs.map +0 -1
- package/resources/voice-beta/chat.d.mts +0 -19
- package/resources/voice-beta/chat.d.mts.map +0 -1
- package/resources/voice-beta/chat.d.ts +0 -19
- package/resources/voice-beta/chat.d.ts.map +0 -1
- package/resources/voice-beta/chat.js +0 -17
- package/resources/voice-beta/chat.js.map +0 -1
- package/resources/voice-beta/chat.mjs +0 -13
- package/resources/voice-beta/chat.mjs.map +0 -1
- package/resources/voice-beta/index.d.mts +0 -3
- package/resources/voice-beta/index.d.mts.map +0 -1
- package/resources/voice-beta/index.d.ts +0 -3
- package/resources/voice-beta/index.d.ts.map +0 -1
- package/resources/voice-beta/index.js +0 -9
- package/resources/voice-beta/index.js.map +0 -1
- package/resources/voice-beta/index.mjs +0 -4
- package/resources/voice-beta/index.mjs.map +0 -1
- package/resources/voice-beta/voice-beta.d.mts +0 -10
- package/resources/voice-beta/voice-beta.d.mts.map +0 -1
- package/resources/voice-beta/voice-beta.d.ts +0 -10
- package/resources/voice-beta/voice-beta.d.ts.map +0 -1
- package/resources/voice-beta/voice-beta.js +0 -17
- package/resources/voice-beta/voice-beta.js.map +0 -1
- package/resources/voice-beta/voice-beta.mjs +0 -12
- package/resources/voice-beta/voice-beta.mjs.map +0 -1
- package/resources/voice-beta.d.mts +0 -2
- package/resources/voice-beta.d.mts.map +0 -1
- package/resources/voice-beta.d.ts +0 -2
- package/resources/voice-beta.d.ts.map +0 -1
- package/resources/voice-beta.js +0 -6
- package/resources/voice-beta.js.map +0 -1
- package/resources/voice-beta.mjs +0 -3
- package/resources/voice-beta.mjs.map +0 -1
- package/src/resources/-internal-templates/-internal-templates.ts +0 -441
- package/src/resources/-internal-templates/deployment.ts +0 -88
- package/src/resources/-internal-templates/index.ts +0 -14
- package/src/resources/-internal-templates.ts +0 -3
- package/src/resources/agents/archival-memory.ts +0 -192
- package/src/resources/agents/core-memory/blocks.ts +0 -341
- package/src/resources/agents/core-memory/core-memory.ts +0 -201
- package/src/resources/agents/core-memory/index.ts +0 -13
- package/src/resources/agents/core-memory.ts +0 -3
- package/src/resources/agents/sources.ts +0 -59
- package/src/resources/client-side-access-tokens.ts +0 -166
- package/src/resources/embeddings.ts +0 -39
- package/src/resources/health.ts +0 -27
- package/src/resources/jobs.ts +0 -219
- package/src/resources/messages/batches.ts +0 -283
- package/src/resources/messages/index.ts +0 -13
- package/src/resources/messages/messages.ts +0 -33
- package/src/resources/messages.ts +0 -3
- package/src/resources/projects.ts +0 -45
- package/src/resources/providers.ts +0 -261
- package/src/resources/sources/files.ts +0 -82
- package/src/resources/sources/index.ts +0 -26
- package/src/resources/sources/sources.ts +0 -702
- package/src/resources/sources.ts +0 -3
- package/src/resources/telemetry.ts +0 -20
- package/src/resources/tools/composio/apps.ts +0 -198
- package/src/resources/tools/composio/composio.ts +0 -31
- package/src/resources/tools/composio/index.ts +0 -4
- package/src/resources/tools/composio.ts +0 -3
- package/src/resources/tools/index.ts +0 -23
- package/src/resources/tools/mcp/index.ts +0 -24
- package/src/resources/tools/mcp/mcp.ts +0 -63
- package/src/resources/tools/mcp/oauth.ts +0 -50
- package/src/resources/tools/mcp/servers/index.ts +0 -23
- package/src/resources/tools/mcp/servers/servers.ts +0 -587
- package/src/resources/tools/mcp/servers/tools.ts +0 -130
- package/src/resources/tools/mcp/servers.ts +0 -3
- package/src/resources/tools/mcp.ts +0 -3
- package/src/resources/tools/tools.ts +0 -663
- package/src/resources/voice-beta/chat.ts +0 -33
- package/src/resources/voice-beta/index.ts +0 -4
- package/src/resources/voice-beta/voice-beta.ts +0 -19
- package/src/resources/voice-beta.ts +0 -3
- /package/resources/{messages → batches}/index.js +0 -0
- /package/resources/{messages → batches}/index.mjs +0 -0
|
@@ -1,38 +1,45 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import {
|
|
2
|
+
import * as AgentsAPI from "./agents.mjs";
|
|
3
|
+
import * as ToolsAPI from "../tools.mjs";
|
|
4
|
+
import * as ArchivesAPI from "./archives.mjs";
|
|
5
|
+
import { ArchiveAttachParams, ArchiveAttachResponse, ArchiveDetachParams, ArchiveDetachResponse, Archives } from "./archives.mjs";
|
|
6
|
+
import * as BlocksAPI from "./blocks.mjs";
|
|
7
|
+
import { Block, BlockAttachParams, BlockDetachParams, BlockListParams, BlockRetrieveParams, BlockUpdate, BlockUpdateParams, Blocks } from "./blocks.mjs";
|
|
6
8
|
import * as FilesAPI from "./files.mjs";
|
|
7
|
-
import { FileCloseAllResponse, FileCloseParams, FileCloseResponse, FileListParams, FileListResponse, FileOpenParams, FileOpenResponse, Files } from "./files.mjs";
|
|
9
|
+
import { FileCloseAllResponse, FileCloseParams, FileCloseResponse, FileListParams, FileListResponse, FileListResponsesNextFilesPage, FileOpenParams, FileOpenResponse, Files } from "./files.mjs";
|
|
8
10
|
import * as FoldersAPI from "./folders.mjs";
|
|
9
|
-
import { FolderAttachParams, FolderDetachParams, FolderListResponse, Folders } from "./folders.mjs";
|
|
11
|
+
import { FolderAttachParams, FolderDetachParams, FolderListParams, FolderListResponse, FolderListResponsesArrayPage, Folders } from "./folders.mjs";
|
|
12
|
+
import * as GroupsAPI from "./groups.mjs";
|
|
13
|
+
import { GroupListParams, Groups } from "./groups.mjs";
|
|
14
|
+
import * as IdentitiesAPI from "./identities.mjs";
|
|
15
|
+
import { Identities, IdentityAttachParams, IdentityAttachResponse, IdentityDetachParams, IdentityDetachResponse } from "./identities.mjs";
|
|
10
16
|
import * as MessagesAPI from "./messages.mjs";
|
|
11
|
-
import { ApprovalCreate, ApprovalRequestMessage, ApprovalResponseMessage, AssistantMessage, HiddenReasoningMessage, ImageContent, JobStatus, JobType, LettaAssistantMessageContentUnion,
|
|
12
|
-
import * as
|
|
13
|
-
import {
|
|
14
|
-
import * as
|
|
15
|
-
import
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
20
|
-
import { CoreMemory, CoreMemoryRetrieveVariablesResponse, Memory } from "./core-memory/core-memory.mjs";
|
|
17
|
+
import { ApprovalCreate, ApprovalRequestMessage, ApprovalResponseMessage, ApprovalReturn, AssistantMessage, EventMessage, HiddenReasoningMessage, ImageContent, InternalMessage, JobStatus, JobType, LettaAssistantMessageContentUnion, LettaRequest, LettaResponse, LettaStreamingRequest, LettaStreamingResponse, LettaUserMessageContentUnion, Message, MessageCancelParams, MessageCancelResponse, MessageCreateAsyncParams, MessageCreateParams, MessageCreateParamsNonStreaming, MessageCreateParamsStreaming, MessageListParams, MessageResetParams, MessageRole, MessageStreamParams, MessageType, Messages, MessagesArrayPage, OmittedReasoningContent, ReasoningContent, ReasoningMessage, RedactedReasoningContent, Run, SummaryMessage, SystemMessage, TextContent, ToolCall, ToolCallContent, ToolCallDelta, ToolCallMessage, ToolReturn, ToolReturnContent, UpdateAssistantMessage, UpdateReasoningMessage, UpdateSystemMessage, UpdateUserMessage, UserMessage } from "./messages.mjs";
|
|
18
|
+
import * as AgentsToolsAPI from "./tools.mjs";
|
|
19
|
+
import { ToolAttachParams, ToolDetachParams, ToolListParams, ToolUpdateApprovalParams, Tools } from "./tools.mjs";
|
|
20
|
+
import * as ArchivesArchivesAPI from "../archives/archives.mjs";
|
|
21
|
+
import * as BlocksBlocksAPI from "../blocks/blocks.mjs";
|
|
22
|
+
import * as GroupsGroupsAPI from "../groups/groups.mjs";
|
|
23
|
+
import * as IdentitiesIdentitiesAPI from "../identities/identities.mjs";
|
|
24
|
+
import * as ModelsAPI from "../models/models.mjs";
|
|
25
|
+
import * as RunsAPI from "../runs/runs.mjs";
|
|
21
26
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
27
|
+
import { ArrayPage, type ArrayPageParams, PagePromise } from "../../core/pagination.mjs";
|
|
22
28
|
import { type Uploadable } from "../../core/uploads.mjs";
|
|
23
29
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
24
30
|
export declare class Agents extends APIResource {
|
|
25
|
-
|
|
26
|
-
|
|
31
|
+
messages: MessagesAPI.Messages;
|
|
32
|
+
blocks: BlocksAPI.Blocks;
|
|
33
|
+
tools: AgentsToolsAPI.Tools;
|
|
27
34
|
folders: FoldersAPI.Folders;
|
|
28
35
|
files: FilesAPI.Files;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
36
|
+
groups: GroupsAPI.Groups;
|
|
37
|
+
archives: ArchivesAPI.Archives;
|
|
38
|
+
identities: IdentitiesAPI.Identities;
|
|
32
39
|
/**
|
|
33
40
|
* Create an agent.
|
|
34
41
|
*/
|
|
35
|
-
create(
|
|
42
|
+
create(body: AgentCreateParams, options?: RequestOptions): APIPromise<AgentState>;
|
|
36
43
|
/**
|
|
37
44
|
* Get the state of the agent.
|
|
38
45
|
*/
|
|
@@ -44,60 +51,23 @@ export declare class Agents extends APIResource {
|
|
|
44
51
|
/**
|
|
45
52
|
* Get a list of all agents.
|
|
46
53
|
*/
|
|
47
|
-
list(query?: AgentListParams | null | undefined, options?: RequestOptions):
|
|
54
|
+
list(query?: AgentListParams | null | undefined, options?: RequestOptions): PagePromise<AgentStatesArrayPage, AgentState>;
|
|
48
55
|
/**
|
|
49
56
|
* Delete an agent.
|
|
50
57
|
*/
|
|
51
58
|
delete(agentID: string, options?: RequestOptions): APIPromise<unknown>;
|
|
52
|
-
/**
|
|
53
|
-
* Get the total number of agents.
|
|
54
|
-
*/
|
|
55
|
-
count(options?: RequestOptions): APIPromise<AgentCountResponse>;
|
|
56
59
|
/**
|
|
57
60
|
* Export the serialized JSON representation of an agent, formatted with
|
|
58
61
|
* indentation.
|
|
59
|
-
*
|
|
60
|
-
* Supports two export formats:
|
|
61
|
-
*
|
|
62
|
-
* - Legacy format (use_legacy_format=true): Single agent with inline tools/blocks
|
|
63
|
-
* - New format (default): Multi-entity format with separate agents, tools, blocks,
|
|
64
|
-
* files, etc.
|
|
65
62
|
*/
|
|
66
|
-
|
|
63
|
+
exportFile(agentID: string, query?: AgentExportFileParams | null | undefined, options?: RequestOptions): APIPromise<string>;
|
|
67
64
|
/**
|
|
68
65
|
* Import a serialized agent file and recreate the agent(s) in the system. Returns
|
|
69
66
|
* the IDs of all imported agents.
|
|
70
67
|
*/
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Lists the groups for an agent
|
|
74
|
-
*/
|
|
75
|
-
listGroups(agentID: string, query?: AgentListGroupsParams | null | undefined, options?: RequestOptions): APIPromise<AgentListGroupsResponse>;
|
|
76
|
-
/**
|
|
77
|
-
* Migrate an agent to a new versioned agent template. This will only work for
|
|
78
|
-
* "classic" and non-multiagent agent templates.
|
|
79
|
-
*/
|
|
80
|
-
migrate(agentID: string, body: AgentMigrateParams, options?: RequestOptions): APIPromise<AgentMigrateResponse>;
|
|
81
|
-
/**
|
|
82
|
-
* Resets the messages for an agent
|
|
83
|
-
*/
|
|
84
|
-
resetMessages(agentID: string, params?: AgentResetMessagesParams | null | undefined, options?: RequestOptions): APIPromise<AgentState>;
|
|
85
|
-
/**
|
|
86
|
-
* Retrieve the context window of a specific agent.
|
|
87
|
-
*/
|
|
88
|
-
retrieveContext(agentID: string, options?: RequestOptions): APIPromise<AgentRetrieveContextResponse>;
|
|
89
|
-
/**
|
|
90
|
-
* Search deployed agents
|
|
91
|
-
*/
|
|
92
|
-
search(body?: AgentSearchParams | null | undefined, options?: RequestOptions): APIPromise<AgentSearchResponse>;
|
|
93
|
-
/**
|
|
94
|
-
* Summarize an agent's conversation history to a target message length.
|
|
95
|
-
*
|
|
96
|
-
* This endpoint summarizes the current message history for a given agent,
|
|
97
|
-
* truncating and compressing it down to the specified `max_message_length`.
|
|
98
|
-
*/
|
|
99
|
-
summarize(agentID: string, params: AgentSummarizeParams, options?: RequestOptions): APIPromise<void>;
|
|
68
|
+
importFile(params: AgentImportFileParams, options?: RequestOptions): APIPromise<AgentImportFileResponse>;
|
|
100
69
|
}
|
|
70
|
+
export type AgentStatesArrayPage = ArrayPage<AgentState>;
|
|
101
71
|
export interface AgentEnvironmentVariable {
|
|
102
72
|
/**
|
|
103
73
|
* The ID of the agent this environment variable belongs to.
|
|
@@ -135,21 +105,15 @@ export interface AgentEnvironmentVariable {
|
|
|
135
105
|
* The timestamp when the object was last updated.
|
|
136
106
|
*/
|
|
137
107
|
updated_at?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* Encrypted secret value (stored as encrypted string)
|
|
110
|
+
*/
|
|
111
|
+
value_enc?: string | null;
|
|
138
112
|
}
|
|
139
113
|
/**
|
|
140
114
|
* Representation of an agent's state. This is the state of the agent at a given
|
|
141
115
|
* time, and is persisted in the DB backend. The state has all the information
|
|
142
116
|
* needed to recreate a persisted agent.
|
|
143
|
-
*
|
|
144
|
-
* Parameters: id (str): The unique identifier of the agent. name (str): The name
|
|
145
|
-
* of the agent (must be unique to the user). created_at (datetime): The datetime
|
|
146
|
-
* the agent was created. message_ids (List[str]): The ids of the messages in the
|
|
147
|
-
* agent's in-context memory. memory (Memory): The in-context memory of the agent.
|
|
148
|
-
* tools (List[str]): The tools used by the agent. This includes any memory editing
|
|
149
|
-
* functions specified in `memory`. system (str): The system prompt used by the
|
|
150
|
-
* agent. llm_config (LLMConfig): The LLM configuration used by the agent.
|
|
151
|
-
* embedding_config (EmbeddingConfig): The embedding configuration used by the
|
|
152
|
-
* agent.
|
|
153
117
|
*/
|
|
154
118
|
export interface AgentState {
|
|
155
119
|
/**
|
|
@@ -161,25 +125,33 @@ export interface AgentState {
|
|
|
161
125
|
*/
|
|
162
126
|
agent_type: AgentType;
|
|
163
127
|
/**
|
|
164
|
-
* The
|
|
128
|
+
* The memory blocks used by the agent.
|
|
129
|
+
*/
|
|
130
|
+
blocks: Array<BlocksAPI.Block>;
|
|
131
|
+
/**
|
|
132
|
+
* @deprecated Deprecated: Use `embedding` field instead. The embedding
|
|
133
|
+
* configuration used by the agent.
|
|
165
134
|
*/
|
|
166
135
|
embedding_config: ModelsAPI.EmbeddingConfig;
|
|
167
136
|
/**
|
|
168
|
-
* The LLM configuration used by
|
|
137
|
+
* @deprecated Deprecated: Use `model` field instead. The LLM configuration used by
|
|
138
|
+
* the agent.
|
|
169
139
|
*/
|
|
170
140
|
llm_config: ModelsAPI.LlmConfig;
|
|
171
141
|
/**
|
|
172
|
-
* The in-context memory of the
|
|
142
|
+
* @deprecated Deprecated: Use `blocks` field instead. The in-context memory of the
|
|
143
|
+
* agent.
|
|
173
144
|
*/
|
|
174
|
-
memory:
|
|
145
|
+
memory: AgentState.Memory;
|
|
175
146
|
/**
|
|
176
147
|
* The name of the agent.
|
|
177
148
|
*/
|
|
178
149
|
name: string;
|
|
179
150
|
/**
|
|
180
|
-
* The sources used by the
|
|
151
|
+
* @deprecated Deprecated: Use `folders` field instead. The sources used by the
|
|
152
|
+
* agent.
|
|
181
153
|
*/
|
|
182
|
-
sources: Array<
|
|
154
|
+
sources: Array<AgentState.Source>;
|
|
183
155
|
/**
|
|
184
156
|
* The system prompt used by the agent.
|
|
185
157
|
*/
|
|
@@ -191,7 +163,7 @@ export interface AgentState {
|
|
|
191
163
|
/**
|
|
192
164
|
* The tools used by the agent.
|
|
193
165
|
*/
|
|
194
|
-
tools: Array<
|
|
166
|
+
tools: Array<ToolsAPI.Tool>;
|
|
195
167
|
/**
|
|
196
168
|
* The base template id of the agent.
|
|
197
169
|
*/
|
|
@@ -212,6 +184,10 @@ export interface AgentState {
|
|
|
212
184
|
* The description of the agent.
|
|
213
185
|
*/
|
|
214
186
|
description?: string | null;
|
|
187
|
+
/**
|
|
188
|
+
* The embedding model handle used by the agent (format: provider/model-name).
|
|
189
|
+
*/
|
|
190
|
+
embedding?: string | null;
|
|
215
191
|
/**
|
|
216
192
|
* If set to True, memory management will move to a background agent thread.
|
|
217
193
|
*/
|
|
@@ -225,7 +201,12 @@ export interface AgentState {
|
|
|
225
201
|
*/
|
|
226
202
|
hidden?: boolean | null;
|
|
227
203
|
/**
|
|
228
|
-
* The
|
|
204
|
+
* The identities associated with this agent.
|
|
205
|
+
*/
|
|
206
|
+
identities?: Array<IdentitiesIdentitiesAPI.Identity>;
|
|
207
|
+
/**
|
|
208
|
+
* @deprecated Deprecated: Use `identities` field instead. The ids of the
|
|
209
|
+
* identities associated with this agent.
|
|
229
210
|
*/
|
|
230
211
|
identity_ids?: Array<string>;
|
|
231
212
|
/**
|
|
@@ -236,10 +217,18 @@ export interface AgentState {
|
|
|
236
217
|
* The duration in milliseconds of the agent's last run.
|
|
237
218
|
*/
|
|
238
219
|
last_run_duration_ms?: number | null;
|
|
220
|
+
/**
|
|
221
|
+
* The stop reason from the agent's last run.
|
|
222
|
+
*/
|
|
223
|
+
last_stop_reason?: RunsAPI.StopReasonType | null;
|
|
239
224
|
/**
|
|
240
225
|
* The id of the user that made this object.
|
|
241
226
|
*/
|
|
242
227
|
last_updated_by_id?: string | null;
|
|
228
|
+
/**
|
|
229
|
+
* The multi-agent group that this agent manages
|
|
230
|
+
*/
|
|
231
|
+
managed_group?: GroupsGroupsAPI.Group | null;
|
|
243
232
|
/**
|
|
244
233
|
* Maximum number of files that can be open at once for this agent. Setting this
|
|
245
234
|
* too high may exceed the context window, which will break the agent.
|
|
@@ -262,9 +251,18 @@ export interface AgentState {
|
|
|
262
251
|
[key: string]: unknown;
|
|
263
252
|
} | null;
|
|
264
253
|
/**
|
|
265
|
-
* The
|
|
254
|
+
* The model handle used by the agent (format: provider/model-name).
|
|
255
|
+
*/
|
|
256
|
+
model?: string | null;
|
|
257
|
+
/**
|
|
258
|
+
* The model settings used by the agent.
|
|
259
|
+
*/
|
|
260
|
+
model_settings?: OpenAIModelSettings | AnthropicModelSettings | GoogleAIModelSettings | GoogleVertexModelSettings | AzureModelSettings | XaiModelSettings | GroqModelSettings | DeepseekModelSettings | TogetherModelSettings | BedrockModelSettings | null;
|
|
261
|
+
/**
|
|
262
|
+
* @deprecated Deprecated: Use `managed_group` field instead. The multi-agent group
|
|
263
|
+
* that this agent manages.
|
|
266
264
|
*/
|
|
267
|
-
multi_agent_group?:
|
|
265
|
+
multi_agent_group?: GroupsGroupsAPI.Group | null;
|
|
268
266
|
/**
|
|
269
267
|
* The per-file view window character limit for this agent. Setting this too high
|
|
270
268
|
* may exceed the context window, which will break the agent.
|
|
@@ -275,7 +273,7 @@ export interface AgentState {
|
|
|
275
273
|
*/
|
|
276
274
|
project_id?: string | null;
|
|
277
275
|
/**
|
|
278
|
-
* The response format used by the agent
|
|
276
|
+
* The response format used by the agent
|
|
279
277
|
*/
|
|
280
278
|
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
281
279
|
/**
|
|
@@ -303,10 +301,273 @@ export interface AgentState {
|
|
|
303
301
|
*/
|
|
304
302
|
updated_at?: string | null;
|
|
305
303
|
}
|
|
304
|
+
export declare namespace AgentState {
|
|
305
|
+
/**
|
|
306
|
+
* @deprecated Deprecated: Use `blocks` field instead. The in-context memory of the
|
|
307
|
+
* agent.
|
|
308
|
+
*/
|
|
309
|
+
interface Memory {
|
|
310
|
+
/**
|
|
311
|
+
* Memory blocks contained in the agent's in-context memory
|
|
312
|
+
*/
|
|
313
|
+
blocks: Array<BlocksAPI.Block>;
|
|
314
|
+
/**
|
|
315
|
+
* Agent type controlling prompt rendering.
|
|
316
|
+
*/
|
|
317
|
+
agent_type?: AgentsAPI.AgentType | (string & {}) | null;
|
|
318
|
+
/**
|
|
319
|
+
* Special blocks representing the agent's in-context memory of an attached file
|
|
320
|
+
*/
|
|
321
|
+
file_blocks?: Array<Memory.FileBlock>;
|
|
322
|
+
/**
|
|
323
|
+
* Deprecated. Ignored for performance.
|
|
324
|
+
*/
|
|
325
|
+
prompt_template?: string;
|
|
326
|
+
}
|
|
327
|
+
namespace Memory {
|
|
328
|
+
interface FileBlock {
|
|
329
|
+
/**
|
|
330
|
+
* Unique identifier of the file.
|
|
331
|
+
*/
|
|
332
|
+
file_id: string;
|
|
333
|
+
/**
|
|
334
|
+
* True if the agent currently has the file open.
|
|
335
|
+
*/
|
|
336
|
+
is_open: boolean;
|
|
337
|
+
/**
|
|
338
|
+
* @deprecated Deprecated: Use `folder_id` field instead. Unique identifier of the
|
|
339
|
+
* source.
|
|
340
|
+
*/
|
|
341
|
+
source_id: string;
|
|
342
|
+
/**
|
|
343
|
+
* Value of the block.
|
|
344
|
+
*/
|
|
345
|
+
value: string;
|
|
346
|
+
/**
|
|
347
|
+
* The human-friendly ID of the Block
|
|
348
|
+
*/
|
|
349
|
+
id?: string;
|
|
350
|
+
/**
|
|
351
|
+
* The base template id of the block.
|
|
352
|
+
*/
|
|
353
|
+
base_template_id?: string | null;
|
|
354
|
+
/**
|
|
355
|
+
* The id of the user that made this Block.
|
|
356
|
+
*/
|
|
357
|
+
created_by_id?: string | null;
|
|
358
|
+
/**
|
|
359
|
+
* The id of the deployment.
|
|
360
|
+
*/
|
|
361
|
+
deployment_id?: string | null;
|
|
362
|
+
/**
|
|
363
|
+
* Description of the block.
|
|
364
|
+
*/
|
|
365
|
+
description?: string | null;
|
|
366
|
+
/**
|
|
367
|
+
* The id of the entity within the template.
|
|
368
|
+
*/
|
|
369
|
+
entity_id?: string | null;
|
|
370
|
+
/**
|
|
371
|
+
* If set to True, the block will be hidden.
|
|
372
|
+
*/
|
|
373
|
+
hidden?: boolean | null;
|
|
374
|
+
/**
|
|
375
|
+
* Whether the block is a template (e.g. saved human/persona options).
|
|
376
|
+
*/
|
|
377
|
+
is_template?: boolean;
|
|
378
|
+
/**
|
|
379
|
+
* Label of the block (e.g. 'human', 'persona') in the context window.
|
|
380
|
+
*/
|
|
381
|
+
label?: string | null;
|
|
382
|
+
/**
|
|
383
|
+
* UTC timestamp of the agent’s most recent access to this file. Any operations
|
|
384
|
+
* from the open, close, or search tools will update this field.
|
|
385
|
+
*/
|
|
386
|
+
last_accessed_at?: string | null;
|
|
387
|
+
/**
|
|
388
|
+
* The id of the user that last updated this Block.
|
|
389
|
+
*/
|
|
390
|
+
last_updated_by_id?: string | null;
|
|
391
|
+
/**
|
|
392
|
+
* Character limit of the block.
|
|
393
|
+
*/
|
|
394
|
+
limit?: number;
|
|
395
|
+
/**
|
|
396
|
+
* Metadata of the block.
|
|
397
|
+
*/
|
|
398
|
+
metadata?: {
|
|
399
|
+
[key: string]: unknown;
|
|
400
|
+
} | null;
|
|
401
|
+
/**
|
|
402
|
+
* Preserve the block on template migration.
|
|
403
|
+
*/
|
|
404
|
+
preserve_on_migration?: boolean | null;
|
|
405
|
+
/**
|
|
406
|
+
* The associated project id.
|
|
407
|
+
*/
|
|
408
|
+
project_id?: string | null;
|
|
409
|
+
/**
|
|
410
|
+
* Whether the agent has read-only access to the block.
|
|
411
|
+
*/
|
|
412
|
+
read_only?: boolean;
|
|
413
|
+
/**
|
|
414
|
+
* The id of the template.
|
|
415
|
+
*/
|
|
416
|
+
template_id?: string | null;
|
|
417
|
+
/**
|
|
418
|
+
* Name of the block if it is a template.
|
|
419
|
+
*/
|
|
420
|
+
template_name?: string | null;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* (Deprecated: Use Folder) Representation of a source, which is a collection of
|
|
425
|
+
* files and passages.
|
|
426
|
+
*/
|
|
427
|
+
interface Source {
|
|
428
|
+
/**
|
|
429
|
+
* The human-friendly ID of the Source
|
|
430
|
+
*/
|
|
431
|
+
id: string;
|
|
432
|
+
/**
|
|
433
|
+
* The embedding configuration used by the source.
|
|
434
|
+
*/
|
|
435
|
+
embedding_config: ModelsAPI.EmbeddingConfig;
|
|
436
|
+
/**
|
|
437
|
+
* The name of the source.
|
|
438
|
+
*/
|
|
439
|
+
name: string;
|
|
440
|
+
/**
|
|
441
|
+
* The timestamp when the source was created.
|
|
442
|
+
*/
|
|
443
|
+
created_at?: string | null;
|
|
444
|
+
/**
|
|
445
|
+
* The id of the user that made this Tool.
|
|
446
|
+
*/
|
|
447
|
+
created_by_id?: string | null;
|
|
448
|
+
/**
|
|
449
|
+
* The description of the source.
|
|
450
|
+
*/
|
|
451
|
+
description?: string | null;
|
|
452
|
+
/**
|
|
453
|
+
* Instructions for how to use the source.
|
|
454
|
+
*/
|
|
455
|
+
instructions?: string | null;
|
|
456
|
+
/**
|
|
457
|
+
* The id of the user that made this Tool.
|
|
458
|
+
*/
|
|
459
|
+
last_updated_by_id?: string | null;
|
|
460
|
+
/**
|
|
461
|
+
* Metadata associated with the source.
|
|
462
|
+
*/
|
|
463
|
+
metadata?: {
|
|
464
|
+
[key: string]: unknown;
|
|
465
|
+
} | null;
|
|
466
|
+
/**
|
|
467
|
+
* The timestamp when the source was last updated.
|
|
468
|
+
*/
|
|
469
|
+
updated_at?: string | null;
|
|
470
|
+
/**
|
|
471
|
+
* The vector database provider used for this source's passages
|
|
472
|
+
*/
|
|
473
|
+
vector_db_provider?: ArchivesArchivesAPI.VectorDBProvider;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
306
476
|
/**
|
|
307
477
|
* Enum to represent the type of agent.
|
|
308
478
|
*/
|
|
309
|
-
export type AgentType = 'memgpt_agent' | 'memgpt_v2_agent' | 'react_agent' | 'workflow_agent' | 'split_thread_agent' | 'sleeptime_agent' | 'voice_convo_agent' | 'voice_sleeptime_agent';
|
|
479
|
+
export type AgentType = 'memgpt_agent' | 'memgpt_v2_agent' | 'letta_v1_agent' | 'react_agent' | 'workflow_agent' | 'split_thread_agent' | 'sleeptime_agent' | 'voice_convo_agent' | 'voice_sleeptime_agent';
|
|
480
|
+
export interface AnthropicModelSettings {
|
|
481
|
+
/**
|
|
482
|
+
* The maximum number of tokens the model can generate.
|
|
483
|
+
*/
|
|
484
|
+
max_output_tokens?: number;
|
|
485
|
+
/**
|
|
486
|
+
* Whether to enable parallel tool calling.
|
|
487
|
+
*/
|
|
488
|
+
parallel_tool_calls?: boolean;
|
|
489
|
+
/**
|
|
490
|
+
* The type of the provider.
|
|
491
|
+
*/
|
|
492
|
+
provider_type?: 'anthropic';
|
|
493
|
+
/**
|
|
494
|
+
* The temperature of the model.
|
|
495
|
+
*/
|
|
496
|
+
temperature?: number;
|
|
497
|
+
/**
|
|
498
|
+
* The thinking configuration for the model.
|
|
499
|
+
*/
|
|
500
|
+
thinking?: AnthropicModelSettings.Thinking;
|
|
501
|
+
/**
|
|
502
|
+
* Soft control for how verbose model output should be, used for GPT-5 models.
|
|
503
|
+
*/
|
|
504
|
+
verbosity?: 'low' | 'medium' | 'high' | null;
|
|
505
|
+
}
|
|
506
|
+
export declare namespace AnthropicModelSettings {
|
|
507
|
+
/**
|
|
508
|
+
* The thinking configuration for the model.
|
|
509
|
+
*/
|
|
510
|
+
interface Thinking {
|
|
511
|
+
/**
|
|
512
|
+
* The maximum number of tokens the model can use for extended thinking.
|
|
513
|
+
*/
|
|
514
|
+
budget_tokens?: number;
|
|
515
|
+
/**
|
|
516
|
+
* The type of thinking to use.
|
|
517
|
+
*/
|
|
518
|
+
type?: 'enabled' | 'disabled';
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* Azure OpenAI model configuration (OpenAI-compatible).
|
|
523
|
+
*/
|
|
524
|
+
export interface AzureModelSettings {
|
|
525
|
+
/**
|
|
526
|
+
* The maximum number of tokens the model can generate.
|
|
527
|
+
*/
|
|
528
|
+
max_output_tokens?: number;
|
|
529
|
+
/**
|
|
530
|
+
* Whether to enable parallel tool calling.
|
|
531
|
+
*/
|
|
532
|
+
parallel_tool_calls?: boolean;
|
|
533
|
+
/**
|
|
534
|
+
* The type of the provider.
|
|
535
|
+
*/
|
|
536
|
+
provider_type?: 'azure';
|
|
537
|
+
/**
|
|
538
|
+
* The response format for the model.
|
|
539
|
+
*/
|
|
540
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
541
|
+
/**
|
|
542
|
+
* The temperature of the model.
|
|
543
|
+
*/
|
|
544
|
+
temperature?: number;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* AWS Bedrock model configuration.
|
|
548
|
+
*/
|
|
549
|
+
export interface BedrockModelSettings {
|
|
550
|
+
/**
|
|
551
|
+
* The maximum number of tokens the model can generate.
|
|
552
|
+
*/
|
|
553
|
+
max_output_tokens?: number;
|
|
554
|
+
/**
|
|
555
|
+
* Whether to enable parallel tool calling.
|
|
556
|
+
*/
|
|
557
|
+
parallel_tool_calls?: boolean;
|
|
558
|
+
/**
|
|
559
|
+
* The type of the provider.
|
|
560
|
+
*/
|
|
561
|
+
provider_type?: 'bedrock';
|
|
562
|
+
/**
|
|
563
|
+
* The response format for the model.
|
|
564
|
+
*/
|
|
565
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
566
|
+
/**
|
|
567
|
+
* The temperature of the model.
|
|
568
|
+
*/
|
|
569
|
+
temperature?: number;
|
|
570
|
+
}
|
|
310
571
|
/**
|
|
311
572
|
* A ToolRule represents a tool that can be invoked by the agent.
|
|
312
573
|
*/
|
|
@@ -319,12 +580,39 @@ export interface ChildToolRule {
|
|
|
319
580
|
* The name of the tool. Must exist in the database for the user's organization.
|
|
320
581
|
*/
|
|
321
582
|
tool_name: string;
|
|
583
|
+
/**
|
|
584
|
+
* Optional list of typed child argument overrides. Each node must reference a
|
|
585
|
+
* child in 'children'.
|
|
586
|
+
*/
|
|
587
|
+
child_arg_nodes?: Array<ChildToolRule.ChildArgNode> | null;
|
|
322
588
|
/**
|
|
323
589
|
* Optional template string (ignored).
|
|
324
590
|
*/
|
|
325
591
|
prompt_template?: string | null;
|
|
326
592
|
type?: 'constrain_child_tools';
|
|
327
593
|
}
|
|
594
|
+
export declare namespace ChildToolRule {
|
|
595
|
+
/**
|
|
596
|
+
* Typed child override for prefilled arguments.
|
|
597
|
+
*
|
|
598
|
+
* When used in a ChildToolRule, if this child is selected next, its `args` will be
|
|
599
|
+
* applied as prefilled arguments (overriding overlapping LLM-provided values).
|
|
600
|
+
*/
|
|
601
|
+
interface ChildArgNode {
|
|
602
|
+
/**
|
|
603
|
+
* The name of the child tool to invoke next.
|
|
604
|
+
*/
|
|
605
|
+
name: string;
|
|
606
|
+
/**
|
|
607
|
+
* Optional prefilled arguments for this child tool. Keys must match the tool's
|
|
608
|
+
* parameter names and values must satisfy the tool's JSON schema. Supports partial
|
|
609
|
+
* prefill; non-overlapping parameters are left to the model.
|
|
610
|
+
*/
|
|
611
|
+
args?: {
|
|
612
|
+
[key: string]: unknown;
|
|
613
|
+
} | null;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
328
616
|
/**
|
|
329
617
|
* A ToolRule that conditionally maps to different child tools based on the output.
|
|
330
618
|
*/
|
|
@@ -368,6 +656,138 @@ export interface ContinueToolRule {
|
|
|
368
656
|
prompt_template?: string | null;
|
|
369
657
|
type?: 'continue_loop';
|
|
370
658
|
}
|
|
659
|
+
/**
|
|
660
|
+
* Deepseek model configuration (OpenAI-compatible).
|
|
661
|
+
*/
|
|
662
|
+
export interface DeepseekModelSettings {
|
|
663
|
+
/**
|
|
664
|
+
* The maximum number of tokens the model can generate.
|
|
665
|
+
*/
|
|
666
|
+
max_output_tokens?: number;
|
|
667
|
+
/**
|
|
668
|
+
* Whether to enable parallel tool calling.
|
|
669
|
+
*/
|
|
670
|
+
parallel_tool_calls?: boolean;
|
|
671
|
+
/**
|
|
672
|
+
* The type of the provider.
|
|
673
|
+
*/
|
|
674
|
+
provider_type?: 'deepseek';
|
|
675
|
+
/**
|
|
676
|
+
* The response format for the model.
|
|
677
|
+
*/
|
|
678
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
679
|
+
/**
|
|
680
|
+
* The temperature of the model.
|
|
681
|
+
*/
|
|
682
|
+
temperature?: number;
|
|
683
|
+
}
|
|
684
|
+
export interface GoogleAIModelSettings {
|
|
685
|
+
/**
|
|
686
|
+
* The maximum number of tokens the model can generate.
|
|
687
|
+
*/
|
|
688
|
+
max_output_tokens?: number;
|
|
689
|
+
/**
|
|
690
|
+
* Whether to enable parallel tool calling.
|
|
691
|
+
*/
|
|
692
|
+
parallel_tool_calls?: boolean;
|
|
693
|
+
/**
|
|
694
|
+
* The type of the provider.
|
|
695
|
+
*/
|
|
696
|
+
provider_type?: 'google_ai';
|
|
697
|
+
/**
|
|
698
|
+
* The response schema for the model.
|
|
699
|
+
*/
|
|
700
|
+
response_schema?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
701
|
+
/**
|
|
702
|
+
* The temperature of the model.
|
|
703
|
+
*/
|
|
704
|
+
temperature?: number;
|
|
705
|
+
/**
|
|
706
|
+
* The thinking configuration for the model.
|
|
707
|
+
*/
|
|
708
|
+
thinking_config?: GoogleAIModelSettings.ThinkingConfig;
|
|
709
|
+
}
|
|
710
|
+
export declare namespace GoogleAIModelSettings {
|
|
711
|
+
/**
|
|
712
|
+
* The thinking configuration for the model.
|
|
713
|
+
*/
|
|
714
|
+
interface ThinkingConfig {
|
|
715
|
+
/**
|
|
716
|
+
* Whether to include thoughts in the model's response.
|
|
717
|
+
*/
|
|
718
|
+
include_thoughts?: boolean;
|
|
719
|
+
/**
|
|
720
|
+
* The thinking budget for the model.
|
|
721
|
+
*/
|
|
722
|
+
thinking_budget?: number;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
export interface GoogleVertexModelSettings {
|
|
726
|
+
/**
|
|
727
|
+
* The maximum number of tokens the model can generate.
|
|
728
|
+
*/
|
|
729
|
+
max_output_tokens?: number;
|
|
730
|
+
/**
|
|
731
|
+
* Whether to enable parallel tool calling.
|
|
732
|
+
*/
|
|
733
|
+
parallel_tool_calls?: boolean;
|
|
734
|
+
/**
|
|
735
|
+
* The type of the provider.
|
|
736
|
+
*/
|
|
737
|
+
provider_type?: 'google_vertex';
|
|
738
|
+
/**
|
|
739
|
+
* The response schema for the model.
|
|
740
|
+
*/
|
|
741
|
+
response_schema?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
742
|
+
/**
|
|
743
|
+
* The temperature of the model.
|
|
744
|
+
*/
|
|
745
|
+
temperature?: number;
|
|
746
|
+
/**
|
|
747
|
+
* The thinking configuration for the model.
|
|
748
|
+
*/
|
|
749
|
+
thinking_config?: GoogleVertexModelSettings.ThinkingConfig;
|
|
750
|
+
}
|
|
751
|
+
export declare namespace GoogleVertexModelSettings {
|
|
752
|
+
/**
|
|
753
|
+
* The thinking configuration for the model.
|
|
754
|
+
*/
|
|
755
|
+
interface ThinkingConfig {
|
|
756
|
+
/**
|
|
757
|
+
* Whether to include thoughts in the model's response.
|
|
758
|
+
*/
|
|
759
|
+
include_thoughts?: boolean;
|
|
760
|
+
/**
|
|
761
|
+
* The thinking budget for the model.
|
|
762
|
+
*/
|
|
763
|
+
thinking_budget?: number;
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
/**
|
|
767
|
+
* Groq model configuration (OpenAI-compatible).
|
|
768
|
+
*/
|
|
769
|
+
export interface GroqModelSettings {
|
|
770
|
+
/**
|
|
771
|
+
* The maximum number of tokens the model can generate.
|
|
772
|
+
*/
|
|
773
|
+
max_output_tokens?: number;
|
|
774
|
+
/**
|
|
775
|
+
* Whether to enable parallel tool calling.
|
|
776
|
+
*/
|
|
777
|
+
parallel_tool_calls?: boolean;
|
|
778
|
+
/**
|
|
779
|
+
* The type of the provider.
|
|
780
|
+
*/
|
|
781
|
+
provider_type?: 'groq';
|
|
782
|
+
/**
|
|
783
|
+
* The response format for the model.
|
|
784
|
+
*/
|
|
785
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
786
|
+
/**
|
|
787
|
+
* The temperature of the model.
|
|
788
|
+
*/
|
|
789
|
+
temperature?: number;
|
|
790
|
+
}
|
|
371
791
|
/**
|
|
372
792
|
* Represents the initial tool rule configuration.
|
|
373
793
|
*/
|
|
@@ -376,6 +796,16 @@ export interface InitToolRule {
|
|
|
376
796
|
* The name of the tool. Must exist in the database for the user's organization.
|
|
377
797
|
*/
|
|
378
798
|
tool_name: string;
|
|
799
|
+
/**
|
|
800
|
+
* Optional prefilled arguments for this tool. When present, these values will
|
|
801
|
+
* override any LLM-provided arguments with the same keys during invocation. Keys
|
|
802
|
+
* must match the tool's parameter names and values must satisfy the tool's JSON
|
|
803
|
+
* schema. Supports partial prefill; non-overlapping parameters are left to the
|
|
804
|
+
* model.
|
|
805
|
+
*/
|
|
806
|
+
args?: {
|
|
807
|
+
[key: string]: unknown;
|
|
808
|
+
} | null;
|
|
379
809
|
/**
|
|
380
810
|
* Optional template string (ignored). Rendering uses fast built-in formatting for
|
|
381
811
|
* performance.
|
|
@@ -407,6 +837,9 @@ export interface JsonSchemaResponseFormat {
|
|
|
407
837
|
*/
|
|
408
838
|
type?: 'json_schema';
|
|
409
839
|
}
|
|
840
|
+
/**
|
|
841
|
+
* Sent via the Anthropic Messages API
|
|
842
|
+
*/
|
|
410
843
|
export type LettaMessageContentUnion = MessagesAPI.TextContent | MessagesAPI.ImageContent | MessagesAPI.ToolCallContent | MessagesAPI.ToolReturnContent | MessagesAPI.ReasoningContent | MessagesAPI.RedactedReasoningContent | MessagesAPI.OmittedReasoningContent;
|
|
411
844
|
/**
|
|
412
845
|
* Represents a tool rule configuration which constrains the total number of times
|
|
@@ -465,6 +898,43 @@ export interface MessageCreate {
|
|
|
465
898
|
*/
|
|
466
899
|
type?: 'message' | null;
|
|
467
900
|
}
|
|
901
|
+
export interface OpenAIModelSettings {
|
|
902
|
+
/**
|
|
903
|
+
* The maximum number of tokens the model can generate.
|
|
904
|
+
*/
|
|
905
|
+
max_output_tokens?: number;
|
|
906
|
+
/**
|
|
907
|
+
* Whether to enable parallel tool calling.
|
|
908
|
+
*/
|
|
909
|
+
parallel_tool_calls?: boolean;
|
|
910
|
+
/**
|
|
911
|
+
* The type of the provider.
|
|
912
|
+
*/
|
|
913
|
+
provider_type?: 'openai';
|
|
914
|
+
/**
|
|
915
|
+
* The reasoning configuration for the model.
|
|
916
|
+
*/
|
|
917
|
+
reasoning?: OpenAIModelSettings.Reasoning;
|
|
918
|
+
/**
|
|
919
|
+
* The response format for the model.
|
|
920
|
+
*/
|
|
921
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
922
|
+
/**
|
|
923
|
+
* The temperature of the model.
|
|
924
|
+
*/
|
|
925
|
+
temperature?: number;
|
|
926
|
+
}
|
|
927
|
+
export declare namespace OpenAIModelSettings {
|
|
928
|
+
/**
|
|
929
|
+
* The reasoning configuration for the model.
|
|
930
|
+
*/
|
|
931
|
+
interface Reasoning {
|
|
932
|
+
/**
|
|
933
|
+
* The reasoning effort to use when generating text reasoning models
|
|
934
|
+
*/
|
|
935
|
+
reasoning_effort?: 'none' | 'minimal' | 'low' | 'medium' | 'high';
|
|
936
|
+
}
|
|
937
|
+
}
|
|
468
938
|
/**
|
|
469
939
|
* A ToolRule that only allows a child tool to be called if the parent has been
|
|
470
940
|
* called.
|
|
@@ -539,333 +1009,303 @@ export interface TextResponseFormat {
|
|
|
539
1009
|
*/
|
|
540
1010
|
type?: 'text';
|
|
541
1011
|
}
|
|
542
|
-
export type AgentListResponse = Array<AgentState>;
|
|
543
|
-
export type AgentDeleteResponse = unknown;
|
|
544
|
-
export type AgentCountResponse = number;
|
|
545
|
-
export type AgentExportResponse = string;
|
|
546
|
-
/**
|
|
547
|
-
* Response model for imported agents
|
|
548
|
-
*/
|
|
549
|
-
export interface AgentImportResponse {
|
|
550
|
-
/**
|
|
551
|
-
* List of IDs of the imported agents
|
|
552
|
-
*/
|
|
553
|
-
agent_ids: Array<string>;
|
|
554
|
-
}
|
|
555
|
-
export type AgentListGroupsResponse = Array<GroupsAPI.Group>;
|
|
556
|
-
export interface AgentMigrateResponse {
|
|
557
|
-
success: true;
|
|
558
|
-
}
|
|
559
1012
|
/**
|
|
560
|
-
*
|
|
1013
|
+
* Together AI model configuration (OpenAI-compatible).
|
|
561
1014
|
*/
|
|
562
|
-
export interface
|
|
563
|
-
/**
|
|
564
|
-
* The current number of tokens in the context window.
|
|
565
|
-
*/
|
|
566
|
-
context_window_size_current: number;
|
|
567
|
-
/**
|
|
568
|
-
* The maximum amount of tokens the context window can hold.
|
|
569
|
-
*/
|
|
570
|
-
context_window_size_max: number;
|
|
571
|
-
/**
|
|
572
|
-
* The content of the core memory.
|
|
573
|
-
*/
|
|
574
|
-
core_memory: string;
|
|
575
|
-
/**
|
|
576
|
-
* The metadata summary of the external memory sources (archival + recall
|
|
577
|
-
* metadata).
|
|
578
|
-
*/
|
|
579
|
-
external_memory_summary: string;
|
|
1015
|
+
export interface TogetherModelSettings {
|
|
580
1016
|
/**
|
|
581
|
-
* The
|
|
1017
|
+
* The maximum number of tokens the model can generate.
|
|
582
1018
|
*/
|
|
583
|
-
|
|
1019
|
+
max_output_tokens?: number;
|
|
584
1020
|
/**
|
|
585
|
-
*
|
|
1021
|
+
* Whether to enable parallel tool calling.
|
|
586
1022
|
*/
|
|
587
|
-
|
|
1023
|
+
parallel_tool_calls?: boolean;
|
|
588
1024
|
/**
|
|
589
|
-
* The
|
|
1025
|
+
* The type of the provider.
|
|
590
1026
|
*/
|
|
591
|
-
|
|
1027
|
+
provider_type?: 'together';
|
|
592
1028
|
/**
|
|
593
|
-
* The
|
|
1029
|
+
* The response format for the model.
|
|
594
1030
|
*/
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* The number of messages in the recall memory.
|
|
598
|
-
*/
|
|
599
|
-
num_recall_memory: number;
|
|
600
|
-
/**
|
|
601
|
-
* The number of tokens in the core memory.
|
|
602
|
-
*/
|
|
603
|
-
num_tokens_core_memory: number;
|
|
1031
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
604
1032
|
/**
|
|
605
|
-
* The
|
|
606
|
-
* metadata).
|
|
1033
|
+
* The temperature of the model.
|
|
607
1034
|
*/
|
|
608
|
-
|
|
1035
|
+
temperature?: number;
|
|
1036
|
+
}
|
|
1037
|
+
/**
|
|
1038
|
+
* xAI model configuration (OpenAI-compatible).
|
|
1039
|
+
*/
|
|
1040
|
+
export interface XaiModelSettings {
|
|
609
1041
|
/**
|
|
610
|
-
* The number of tokens
|
|
1042
|
+
* The maximum number of tokens the model can generate.
|
|
611
1043
|
*/
|
|
612
|
-
|
|
1044
|
+
max_output_tokens?: number;
|
|
613
1045
|
/**
|
|
614
|
-
*
|
|
1046
|
+
* Whether to enable parallel tool calling.
|
|
615
1047
|
*/
|
|
616
|
-
|
|
1048
|
+
parallel_tool_calls?: boolean;
|
|
617
1049
|
/**
|
|
618
|
-
* The
|
|
1050
|
+
* The type of the provider.
|
|
619
1051
|
*/
|
|
620
|
-
|
|
1052
|
+
provider_type?: 'xai';
|
|
621
1053
|
/**
|
|
622
|
-
* The
|
|
1054
|
+
* The response format for the model.
|
|
623
1055
|
*/
|
|
624
|
-
|
|
1056
|
+
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
625
1057
|
/**
|
|
626
|
-
* The
|
|
1058
|
+
* The temperature of the model.
|
|
627
1059
|
*/
|
|
628
|
-
|
|
1060
|
+
temperature?: number;
|
|
1061
|
+
}
|
|
1062
|
+
export type AgentDeleteResponse = unknown;
|
|
1063
|
+
export type AgentExportFileResponse = string;
|
|
1064
|
+
/**
|
|
1065
|
+
* Response model for imported agents
|
|
1066
|
+
*/
|
|
1067
|
+
export interface AgentImportFileResponse {
|
|
629
1068
|
/**
|
|
630
|
-
*
|
|
1069
|
+
* List of IDs of the imported agents
|
|
631
1070
|
*/
|
|
632
|
-
|
|
633
|
-
}
|
|
634
|
-
export declare namespace AgentRetrieveContextResponse {
|
|
635
|
-
interface FunctionsDefinition {
|
|
636
|
-
function: FunctionsDefinition.Function;
|
|
637
|
-
type: 'function';
|
|
638
|
-
[k: string]: unknown;
|
|
639
|
-
}
|
|
640
|
-
namespace FunctionsDefinition {
|
|
641
|
-
interface Function {
|
|
642
|
-
name: string;
|
|
643
|
-
description?: string | null;
|
|
644
|
-
parameters?: {
|
|
645
|
-
[key: string]: unknown;
|
|
646
|
-
} | null;
|
|
647
|
-
strict?: boolean | null;
|
|
648
|
-
[k: string]: unknown;
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
export interface AgentSearchResponse {
|
|
653
|
-
agents: Array<AgentState>;
|
|
654
|
-
nextCursor?: string | null;
|
|
1071
|
+
agent_ids: Array<string>;
|
|
655
1072
|
}
|
|
656
1073
|
export interface AgentCreateParams {
|
|
657
1074
|
/**
|
|
658
|
-
*
|
|
1075
|
+
* The type of agent.
|
|
659
1076
|
*/
|
|
660
1077
|
agent_type?: AgentType;
|
|
661
1078
|
/**
|
|
662
|
-
*
|
|
1079
|
+
* @deprecated Deprecated: No longer used. The base template id of the agent.
|
|
663
1080
|
*/
|
|
664
1081
|
base_template_id?: string | null;
|
|
665
1082
|
/**
|
|
666
|
-
*
|
|
1083
|
+
* The ids of the blocks used by the agent.
|
|
667
1084
|
*/
|
|
668
1085
|
block_ids?: Array<string> | null;
|
|
669
1086
|
/**
|
|
670
|
-
*
|
|
1087
|
+
* The context window limit used by the agent.
|
|
671
1088
|
*/
|
|
672
1089
|
context_window_limit?: number | null;
|
|
673
1090
|
/**
|
|
674
|
-
*
|
|
1091
|
+
* The description of the agent.
|
|
675
1092
|
*/
|
|
676
1093
|
description?: string | null;
|
|
677
1094
|
/**
|
|
678
|
-
*
|
|
679
|
-
* the format provider/model-name.
|
|
1095
|
+
* The embedding model handle used by the agent (format: provider/model-name).
|
|
680
1096
|
*/
|
|
681
1097
|
embedding?: string | null;
|
|
682
1098
|
/**
|
|
683
|
-
*
|
|
1099
|
+
* @deprecated Deprecated: No longer used. The embedding chunk size used by the
|
|
1100
|
+
* agent.
|
|
684
1101
|
*/
|
|
685
1102
|
embedding_chunk_size?: number | null;
|
|
686
1103
|
/**
|
|
687
|
-
*
|
|
688
|
-
* parameters.
|
|
1104
|
+
* Configuration for embedding model connection and processing parameters.
|
|
689
1105
|
*/
|
|
690
1106
|
embedding_config?: ModelsAPI.EmbeddingConfig | null;
|
|
691
1107
|
/**
|
|
692
|
-
*
|
|
693
|
-
* model.
|
|
1108
|
+
* @deprecated Deprecated: Use `model` field to configure reasoning instead.
|
|
1109
|
+
* Whether to enable internal extended thinking step for a reasoner model.
|
|
694
1110
|
*/
|
|
695
1111
|
enable_reasoner?: boolean | null;
|
|
696
1112
|
/**
|
|
697
|
-
*
|
|
698
|
-
* thread.
|
|
1113
|
+
* If set to True, memory management will move to a background agent thread.
|
|
699
1114
|
*/
|
|
700
1115
|
enable_sleeptime?: boolean | null;
|
|
701
1116
|
/**
|
|
702
|
-
*
|
|
1117
|
+
* The ids of the folders used by the agent.
|
|
1118
|
+
*/
|
|
1119
|
+
folder_ids?: Array<string> | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* @deprecated Deprecated: please use the 'create agents from a template' endpoint
|
|
1122
|
+
* instead.
|
|
703
1123
|
*/
|
|
704
1124
|
from_template?: string | null;
|
|
705
1125
|
/**
|
|
706
|
-
*
|
|
1126
|
+
* @deprecated Deprecated: No longer used. If set to True, the agent will be
|
|
1127
|
+
* hidden.
|
|
707
1128
|
*/
|
|
708
1129
|
hidden?: boolean | null;
|
|
709
1130
|
/**
|
|
710
|
-
*
|
|
1131
|
+
* The ids of the identities associated with this agent.
|
|
711
1132
|
*/
|
|
712
1133
|
identity_ids?: Array<string> | null;
|
|
713
1134
|
/**
|
|
714
|
-
*
|
|
715
|
-
*
|
|
1135
|
+
* If true, attaches the Letta base tool rules (e.g. deny all tools not explicitly
|
|
1136
|
+
* allowed).
|
|
716
1137
|
*/
|
|
717
1138
|
include_base_tool_rules?: boolean | null;
|
|
718
1139
|
/**
|
|
719
|
-
*
|
|
720
|
-
* functions).
|
|
1140
|
+
* If true, attaches the Letta core tools (e.g. core_memory related functions).
|
|
721
1141
|
*/
|
|
722
1142
|
include_base_tools?: boolean;
|
|
723
1143
|
/**
|
|
724
|
-
*
|
|
1144
|
+
* @deprecated If true, automatically creates and attaches a default data source
|
|
725
1145
|
* for this agent.
|
|
726
1146
|
*/
|
|
727
1147
|
include_default_source?: boolean;
|
|
728
1148
|
/**
|
|
729
|
-
*
|
|
730
|
-
*
|
|
1149
|
+
* If true, attaches the Letta multi-agent tools (e.g. sending a message to another
|
|
1150
|
+
* agent).
|
|
731
1151
|
*/
|
|
732
1152
|
include_multi_agent_tools?: boolean;
|
|
733
1153
|
/**
|
|
734
|
-
*
|
|
1154
|
+
* The initial set of messages to put in the agent's in-context memory.
|
|
735
1155
|
*/
|
|
736
1156
|
initial_message_sequence?: Array<MessageCreate> | null;
|
|
737
1157
|
/**
|
|
738
|
-
*
|
|
739
|
-
*
|
|
1158
|
+
* Configuration for Language Model (LLM) connection and generation parameters.
|
|
1159
|
+
*
|
|
1160
|
+
* .. deprecated:: LLMConfig is deprecated and should not be used as an input or
|
|
1161
|
+
* return type in API calls. Use the schemas in letta.schemas.model (ModelSettings,
|
|
1162
|
+
* OpenAIModelSettings, etc.) instead. For conversion, use the \_to_model() method
|
|
1163
|
+
* or Model.\_from_llm_config() method.
|
|
740
1164
|
*/
|
|
741
1165
|
llm_config?: ModelsAPI.LlmConfig | null;
|
|
742
1166
|
/**
|
|
743
|
-
*
|
|
744
|
-
*
|
|
1167
|
+
* Maximum number of files that can be open at once for this agent. Setting this
|
|
1168
|
+
* too high may exceed the context window, which will break the agent.
|
|
745
1169
|
*/
|
|
746
1170
|
max_files_open?: number | null;
|
|
747
1171
|
/**
|
|
748
|
-
*
|
|
749
|
-
*
|
|
1172
|
+
* @deprecated Deprecated: Use `model` field to configure reasoning tokens instead.
|
|
1173
|
+
* The maximum number of tokens to generate for reasoning step.
|
|
750
1174
|
*/
|
|
751
1175
|
max_reasoning_tokens?: number | null;
|
|
752
1176
|
/**
|
|
753
|
-
*
|
|
754
|
-
*
|
|
1177
|
+
* @deprecated Deprecated: Use `model` field to configure max output tokens
|
|
1178
|
+
* instead. The maximum number of tokens to generate, including reasoning step.
|
|
755
1179
|
*/
|
|
756
1180
|
max_tokens?: number | null;
|
|
757
1181
|
/**
|
|
758
|
-
*
|
|
1182
|
+
* The blocks to create in the agent's in-context memory.
|
|
759
1183
|
*/
|
|
760
|
-
memory_blocks?: Array<
|
|
1184
|
+
memory_blocks?: Array<BlocksBlocksAPI.CreateBlock> | null;
|
|
761
1185
|
/**
|
|
762
|
-
*
|
|
1186
|
+
* @deprecated Deprecated: Only relevant for creating agents from a template. Use
|
|
1187
|
+
* the 'create agents from a template' endpoint instead.
|
|
763
1188
|
*/
|
|
764
1189
|
memory_variables?: {
|
|
765
1190
|
[key: string]: string;
|
|
766
1191
|
} | null;
|
|
767
1192
|
/**
|
|
768
|
-
*
|
|
769
|
-
*
|
|
770
|
-
*
|
|
1193
|
+
* If set to True, the agent will not remember previous messages (though the agent
|
|
1194
|
+
* will still retain state via core memory blocks and archival/recall memory). Not
|
|
1195
|
+
* recommended unless you have an advanced use case.
|
|
771
1196
|
*/
|
|
772
1197
|
message_buffer_autoclear?: boolean;
|
|
773
1198
|
/**
|
|
774
|
-
*
|
|
1199
|
+
* The metadata of the agent.
|
|
775
1200
|
*/
|
|
776
1201
|
metadata?: {
|
|
777
1202
|
[key: string]: unknown;
|
|
778
1203
|
} | null;
|
|
779
1204
|
/**
|
|
780
|
-
*
|
|
781
|
-
* format provider/model-name, as an alternative to specifying llm_config.
|
|
1205
|
+
* The model handle for the agent to use (format: provider/model-name).
|
|
782
1206
|
*/
|
|
783
1207
|
model?: string | null;
|
|
784
1208
|
/**
|
|
785
|
-
*
|
|
1209
|
+
* The model settings for the agent.
|
|
1210
|
+
*/
|
|
1211
|
+
model_settings?: OpenAIModelSettings | AnthropicModelSettings | GoogleAIModelSettings | GoogleVertexModelSettings | AzureModelSettings | XaiModelSettings | GroqModelSettings | DeepseekModelSettings | TogetherModelSettings | BedrockModelSettings | null;
|
|
1212
|
+
/**
|
|
1213
|
+
* The name of the agent.
|
|
786
1214
|
*/
|
|
787
1215
|
name?: string;
|
|
788
1216
|
/**
|
|
789
|
-
*
|
|
790
|
-
*
|
|
1217
|
+
* @deprecated Deprecated: Use `model` field to configure parallel tool calls
|
|
1218
|
+
* instead. If set to True, enables parallel tool calling.
|
|
1219
|
+
*/
|
|
1220
|
+
parallel_tool_calls?: boolean | null;
|
|
1221
|
+
/**
|
|
1222
|
+
* The per-file view window character limit for this agent. Setting this too high
|
|
1223
|
+
* may exceed the context window, which will break the agent.
|
|
791
1224
|
*/
|
|
792
1225
|
per_file_view_window_char_limit?: number | null;
|
|
793
1226
|
/**
|
|
794
|
-
* @deprecated
|
|
795
|
-
*
|
|
796
|
-
*
|
|
1227
|
+
* @deprecated Deprecated: Project should now be passed via the X-Project header
|
|
1228
|
+
* instead of in the request body. If using the SDK, this can be done via the
|
|
1229
|
+
* x_project parameter.
|
|
797
1230
|
*/
|
|
798
1231
|
project?: string | null;
|
|
799
1232
|
/**
|
|
800
|
-
*
|
|
1233
|
+
* @deprecated Deprecated: No longer used. The id of the project the agent belongs
|
|
1234
|
+
* to.
|
|
801
1235
|
*/
|
|
802
1236
|
project_id?: string | null;
|
|
803
1237
|
/**
|
|
804
|
-
*
|
|
1238
|
+
* @deprecated Deprecated: Use `model` field to configure reasoning instead.
|
|
1239
|
+
* Whether to enable reasoning for this agent.
|
|
805
1240
|
*/
|
|
806
1241
|
reasoning?: boolean | null;
|
|
807
1242
|
/**
|
|
808
|
-
*
|
|
1243
|
+
* The response format for the agent.
|
|
809
1244
|
*/
|
|
810
1245
|
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
811
1246
|
/**
|
|
812
|
-
*
|
|
1247
|
+
* The environment variables for tool execution specific to this agent.
|
|
813
1248
|
*/
|
|
814
1249
|
secrets?: {
|
|
815
1250
|
[key: string]: string;
|
|
816
1251
|
} | null;
|
|
817
1252
|
/**
|
|
818
|
-
*
|
|
1253
|
+
* @deprecated Deprecated: Use `folder_ids` field instead. The ids of the sources
|
|
1254
|
+
* used by the agent.
|
|
819
1255
|
*/
|
|
820
1256
|
source_ids?: Array<string> | null;
|
|
821
1257
|
/**
|
|
822
|
-
*
|
|
1258
|
+
* The system prompt used by the agent.
|
|
823
1259
|
*/
|
|
824
1260
|
system?: string | null;
|
|
825
1261
|
/**
|
|
826
|
-
*
|
|
1262
|
+
* The tags associated with the agent.
|
|
827
1263
|
*/
|
|
828
1264
|
tags?: Array<string> | null;
|
|
829
1265
|
/**
|
|
830
|
-
*
|
|
1266
|
+
* @deprecated Deprecated: No longer used.
|
|
831
1267
|
*/
|
|
832
1268
|
template?: boolean;
|
|
833
1269
|
/**
|
|
834
|
-
*
|
|
1270
|
+
* @deprecated Deprecated: No longer used. The id of the template the agent belongs
|
|
1271
|
+
* to.
|
|
835
1272
|
*/
|
|
836
1273
|
template_id?: string | null;
|
|
837
1274
|
/**
|
|
838
|
-
*
|
|
1275
|
+
* The timezone of the agent (IANA format).
|
|
839
1276
|
*/
|
|
840
1277
|
timezone?: string | null;
|
|
841
1278
|
/**
|
|
842
|
-
*
|
|
1279
|
+
* @deprecated Deprecated: Use `secrets` field instead. Environment variables for
|
|
1280
|
+
* tool execution.
|
|
843
1281
|
*/
|
|
844
1282
|
tool_exec_environment_variables?: {
|
|
845
1283
|
[key: string]: string;
|
|
846
1284
|
} | null;
|
|
847
1285
|
/**
|
|
848
|
-
*
|
|
1286
|
+
* The ids of the tools used by the agent.
|
|
849
1287
|
*/
|
|
850
1288
|
tool_ids?: Array<string> | null;
|
|
851
1289
|
/**
|
|
852
|
-
*
|
|
1290
|
+
* The tool rules governing the agent.
|
|
853
1291
|
*/
|
|
854
1292
|
tool_rules?: Array<ChildToolRule | InitToolRule | TerminalToolRule | ConditionalToolRule | ContinueToolRule | RequiredBeforeExitToolRule | MaxCountPerStepToolRule | ParentToolRule | RequiresApprovalToolRule> | null;
|
|
855
1293
|
/**
|
|
856
|
-
*
|
|
1294
|
+
* The tools used by the agent.
|
|
857
1295
|
*/
|
|
858
1296
|
tools?: Array<string> | null;
|
|
859
|
-
/**
|
|
860
|
-
* Header param: The project slug to associate with the agent (cloud only).
|
|
861
|
-
*/
|
|
862
|
-
'X-Project'?: string;
|
|
863
1297
|
}
|
|
864
1298
|
export interface AgentRetrieveParams {
|
|
1299
|
+
/**
|
|
1300
|
+
* Specify which relational fields to include in the response. No relationships are
|
|
1301
|
+
* included by default.
|
|
1302
|
+
*/
|
|
1303
|
+
include?: Array<'agent.blocks' | 'agent.identities' | 'agent.managed_group' | 'agent.secrets' | 'agent.sources' | 'agent.tags' | 'agent.tools'>;
|
|
865
1304
|
/**
|
|
866
1305
|
* Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include
|
|
867
1306
|
* in the response. If not provided, all relationships are loaded by default. Using
|
|
868
|
-
* this can optimize performance by reducing unnecessary joins.
|
|
1307
|
+
* this can optimize performance by reducing unnecessary joins.This is a legacy
|
|
1308
|
+
* parameter, and no longer supported after 1.0.0 SDK versions.
|
|
869
1309
|
*/
|
|
870
1310
|
include_relationships?: Array<string> | null;
|
|
871
1311
|
}
|
|
@@ -878,13 +1318,16 @@ export interface AgentUpdateParams {
|
|
|
878
1318
|
* The ids of the blocks used by the agent.
|
|
879
1319
|
*/
|
|
880
1320
|
block_ids?: Array<string> | null;
|
|
1321
|
+
/**
|
|
1322
|
+
* The context window limit used by the agent.
|
|
1323
|
+
*/
|
|
1324
|
+
context_window_limit?: number | null;
|
|
881
1325
|
/**
|
|
882
1326
|
* The description of the agent.
|
|
883
1327
|
*/
|
|
884
1328
|
description?: string | null;
|
|
885
1329
|
/**
|
|
886
|
-
* The embedding
|
|
887
|
-
* provider/model-name.
|
|
1330
|
+
* The embedding model handle used by the agent (format: provider/model-name).
|
|
888
1331
|
*/
|
|
889
1332
|
embedding?: string | null;
|
|
890
1333
|
/**
|
|
@@ -895,6 +1338,10 @@ export interface AgentUpdateParams {
|
|
|
895
1338
|
* If set to True, memory management will move to a background agent thread.
|
|
896
1339
|
*/
|
|
897
1340
|
enable_sleeptime?: boolean | null;
|
|
1341
|
+
/**
|
|
1342
|
+
* The ids of the folders used by the agent.
|
|
1343
|
+
*/
|
|
1344
|
+
folder_ids?: Array<string> | null;
|
|
898
1345
|
/**
|
|
899
1346
|
* If set to True, the agent will be hidden.
|
|
900
1347
|
*/
|
|
@@ -911,8 +1358,17 @@ export interface AgentUpdateParams {
|
|
|
911
1358
|
* The duration in milliseconds of the agent's last run.
|
|
912
1359
|
*/
|
|
913
1360
|
last_run_duration_ms?: number | null;
|
|
1361
|
+
/**
|
|
1362
|
+
* The stop reason from the agent's last run.
|
|
1363
|
+
*/
|
|
1364
|
+
last_stop_reason?: RunsAPI.StopReasonType | null;
|
|
914
1365
|
/**
|
|
915
1366
|
* Configuration for Language Model (LLM) connection and generation parameters.
|
|
1367
|
+
*
|
|
1368
|
+
* .. deprecated:: LLMConfig is deprecated and should not be used as an input or
|
|
1369
|
+
* return type in API calls. Use the schemas in letta.schemas.model (ModelSettings,
|
|
1370
|
+
* OpenAIModelSettings, etc.) instead. For conversion, use the \_to_model() method
|
|
1371
|
+
* or Model.\_from_llm_config() method.
|
|
916
1372
|
*/
|
|
917
1373
|
llm_config?: ModelsAPI.LlmConfig | null;
|
|
918
1374
|
/**
|
|
@@ -920,6 +1376,11 @@ export interface AgentUpdateParams {
|
|
|
920
1376
|
* too high may exceed the context window, which will break the agent.
|
|
921
1377
|
*/
|
|
922
1378
|
max_files_open?: number | null;
|
|
1379
|
+
/**
|
|
1380
|
+
* @deprecated Deprecated: Use `model` field to configure max output tokens
|
|
1381
|
+
* instead. The maximum number of tokens to generate, including reasoning step.
|
|
1382
|
+
*/
|
|
1383
|
+
max_tokens?: number | null;
|
|
923
1384
|
/**
|
|
924
1385
|
* If set to True, the agent will not remember previous messages (though the agent
|
|
925
1386
|
* will still retain state via core memory blocks and archival/recall memory). Not
|
|
@@ -937,14 +1398,22 @@ export interface AgentUpdateParams {
|
|
|
937
1398
|
[key: string]: unknown;
|
|
938
1399
|
} | null;
|
|
939
1400
|
/**
|
|
940
|
-
* The
|
|
941
|
-
* provider/model-name, as an alternative to specifying llm_config.
|
|
1401
|
+
* The model handle used by the agent (format: provider/model-name).
|
|
942
1402
|
*/
|
|
943
1403
|
model?: string | null;
|
|
1404
|
+
/**
|
|
1405
|
+
* The model settings for the agent.
|
|
1406
|
+
*/
|
|
1407
|
+
model_settings?: OpenAIModelSettings | AnthropicModelSettings | GoogleAIModelSettings | GoogleVertexModelSettings | AzureModelSettings | XaiModelSettings | GroqModelSettings | DeepseekModelSettings | TogetherModelSettings | BedrockModelSettings | null;
|
|
944
1408
|
/**
|
|
945
1409
|
* The name of the agent.
|
|
946
1410
|
*/
|
|
947
1411
|
name?: string | null;
|
|
1412
|
+
/**
|
|
1413
|
+
* @deprecated Deprecated: Use `model` field to configure parallel tool calls
|
|
1414
|
+
* instead. If set to True, enables parallel tool calling.
|
|
1415
|
+
*/
|
|
1416
|
+
parallel_tool_calls?: boolean | null;
|
|
948
1417
|
/**
|
|
949
1418
|
* The per-file view window character limit for this agent. Setting this too high
|
|
950
1419
|
* may exceed the context window, which will break the agent.
|
|
@@ -955,10 +1424,12 @@ export interface AgentUpdateParams {
|
|
|
955
1424
|
*/
|
|
956
1425
|
project_id?: string | null;
|
|
957
1426
|
/**
|
|
1427
|
+
* @deprecated Deprecated: Use `model` field to configure reasoning instead.
|
|
958
1428
|
* Whether to enable reasoning for this agent.
|
|
959
1429
|
*/
|
|
960
1430
|
reasoning?: boolean | null;
|
|
961
1431
|
/**
|
|
1432
|
+
* @deprecated Deprecated: Use `model` field to configure response format instead.
|
|
962
1433
|
* The response format for the agent.
|
|
963
1434
|
*/
|
|
964
1435
|
response_format?: TextResponseFormat | JsonSchemaResponseFormat | JsonObjectResponseFormat | null;
|
|
@@ -969,7 +1440,8 @@ export interface AgentUpdateParams {
|
|
|
969
1440
|
[key: string]: string;
|
|
970
1441
|
} | null;
|
|
971
1442
|
/**
|
|
972
|
-
* The ids of the sources
|
|
1443
|
+
* @deprecated Deprecated: Use `folder_ids` field instead. The ids of the sources
|
|
1444
|
+
* used by the agent.
|
|
973
1445
|
*/
|
|
974
1446
|
source_ids?: Array<string> | null;
|
|
975
1447
|
/**
|
|
@@ -1003,11 +1475,7 @@ export interface AgentUpdateParams {
|
|
|
1003
1475
|
*/
|
|
1004
1476
|
tool_rules?: Array<ChildToolRule | InitToolRule | TerminalToolRule | ConditionalToolRule | ContinueToolRule | RequiredBeforeExitToolRule | MaxCountPerStepToolRule | ParentToolRule | RequiresApprovalToolRule> | null;
|
|
1005
1477
|
}
|
|
1006
|
-
export interface AgentListParams {
|
|
1007
|
-
/**
|
|
1008
|
-
* Cursor for pagination
|
|
1009
|
-
*/
|
|
1010
|
-
after?: string | null;
|
|
1478
|
+
export interface AgentListParams extends ArrayPageParams {
|
|
1011
1479
|
/**
|
|
1012
1480
|
* @deprecated Whether to sort agents oldest to newest (True) or newest to oldest
|
|
1013
1481
|
* (False, default)
|
|
@@ -1017,10 +1485,6 @@ export interface AgentListParams {
|
|
|
1017
1485
|
* Search agents by base template ID
|
|
1018
1486
|
*/
|
|
1019
1487
|
base_template_id?: string | null;
|
|
1020
|
-
/**
|
|
1021
|
-
* Cursor for pagination
|
|
1022
|
-
*/
|
|
1023
|
-
before?: string | null;
|
|
1024
1488
|
/**
|
|
1025
1489
|
* Search agents by identifier keys
|
|
1026
1490
|
*/
|
|
@@ -1029,16 +1493,22 @@ export interface AgentListParams {
|
|
|
1029
1493
|
* Search agents by identity ID
|
|
1030
1494
|
*/
|
|
1031
1495
|
identity_id?: string | null;
|
|
1496
|
+
/**
|
|
1497
|
+
* Specify which relational fields to include in the response. No relationships are
|
|
1498
|
+
* included by default.
|
|
1499
|
+
*/
|
|
1500
|
+
include?: Array<'agent.blocks' | 'agent.identities' | 'agent.managed_group' | 'agent.secrets' | 'agent.sources' | 'agent.tags' | 'agent.tools'>;
|
|
1032
1501
|
/**
|
|
1033
1502
|
* Specify which relational fields (e.g., 'tools', 'sources', 'memory') to include
|
|
1034
1503
|
* in the response. If not provided, all relationships are loaded by default. Using
|
|
1035
|
-
* this can optimize performance by reducing unnecessary joins.
|
|
1504
|
+
* this can optimize performance by reducing unnecessary joins.This is a legacy
|
|
1505
|
+
* parameter, and no longer supported after 1.0.0 SDK versions.
|
|
1036
1506
|
*/
|
|
1037
1507
|
include_relationships?: Array<string> | null;
|
|
1038
1508
|
/**
|
|
1039
|
-
*
|
|
1509
|
+
* Filter agents by their last stop reason.
|
|
1040
1510
|
*/
|
|
1041
|
-
|
|
1511
|
+
last_stop_reason?: RunsAPI.StopReasonType | null;
|
|
1042
1512
|
/**
|
|
1043
1513
|
* If True, only returns agents that match ALL given tags. Otherwise, return agents
|
|
1044
1514
|
* that have ANY of the passed-in tags.
|
|
@@ -1048,15 +1518,6 @@ export interface AgentListParams {
|
|
|
1048
1518
|
* Name of the agent
|
|
1049
1519
|
*/
|
|
1050
1520
|
name?: string | null;
|
|
1051
|
-
/**
|
|
1052
|
-
* Sort order for agents by creation time. 'asc' for oldest first, 'desc' for
|
|
1053
|
-
* newest first
|
|
1054
|
-
*/
|
|
1055
|
-
order?: 'asc' | 'desc';
|
|
1056
|
-
/**
|
|
1057
|
-
* Field to sort by
|
|
1058
|
-
*/
|
|
1059
|
-
order_by?: 'created_at' | 'last_run_completion';
|
|
1060
1521
|
/**
|
|
1061
1522
|
* Search agents by project ID - this will default to your default project on cloud
|
|
1062
1523
|
*/
|
|
@@ -1079,30 +1540,44 @@ export interface AgentListParams {
|
|
|
1079
1540
|
*/
|
|
1080
1541
|
template_id?: string | null;
|
|
1081
1542
|
}
|
|
1082
|
-
export interface
|
|
1543
|
+
export interface AgentExportFileParams {
|
|
1544
|
+
/**
|
|
1545
|
+
* @deprecated
|
|
1546
|
+
*/
|
|
1083
1547
|
max_steps?: number;
|
|
1084
1548
|
/**
|
|
1085
|
-
* If
|
|
1086
|
-
* using the new multi-entity format
|
|
1549
|
+
* @deprecated If True, exports using the legacy single-agent 'v1' format with
|
|
1550
|
+
* inline tools/blocks. If False, exports using the new multi-entity 'v2' format,
|
|
1551
|
+
* with separate agents, tools, blocks, files, etc.
|
|
1087
1552
|
*/
|
|
1088
1553
|
use_legacy_format?: boolean;
|
|
1089
1554
|
}
|
|
1090
|
-
export interface
|
|
1555
|
+
export interface AgentImportFileParams {
|
|
1091
1556
|
/**
|
|
1092
1557
|
* Body param:
|
|
1093
1558
|
*/
|
|
1094
1559
|
file: Uploadable;
|
|
1095
1560
|
/**
|
|
1096
|
-
* Body param: If set to True, appends "\_copy" to the end of the agent
|
|
1561
|
+
* @deprecated Body param: If set to True, appends "\_copy" to the end of the agent
|
|
1562
|
+
* name.
|
|
1097
1563
|
*/
|
|
1098
1564
|
append_copy_suffix?: boolean;
|
|
1099
1565
|
/**
|
|
1100
|
-
* Body param:
|
|
1101
|
-
|
|
1566
|
+
* Body param: Embedding handle to override with.
|
|
1567
|
+
*/
|
|
1568
|
+
embedding?: string | null;
|
|
1569
|
+
/**
|
|
1570
|
+
* @deprecated Body param: Environment variables as a JSON string to pass to the
|
|
1571
|
+
* agent for tool execution. Use 'secrets' instead.
|
|
1102
1572
|
*/
|
|
1103
1573
|
env_vars_json?: string | null;
|
|
1104
1574
|
/**
|
|
1105
|
-
* Body param:
|
|
1575
|
+
* Body param: If provided, overrides the agent name with this value.
|
|
1576
|
+
*/
|
|
1577
|
+
name?: string | null;
|
|
1578
|
+
/**
|
|
1579
|
+
* @deprecated Body param: Override import with specific embedding handle. Use
|
|
1580
|
+
* 'embedding' instead.
|
|
1106
1581
|
*/
|
|
1107
1582
|
override_embedding_handle?: string | null;
|
|
1108
1583
|
/**
|
|
@@ -1112,9 +1587,19 @@ export interface AgentImportParams {
|
|
|
1112
1587
|
*/
|
|
1113
1588
|
override_existing_tools?: boolean;
|
|
1114
1589
|
/**
|
|
1115
|
-
* Body param:
|
|
1590
|
+
* @deprecated Body param: If provided, overrides the agent name with this value.
|
|
1591
|
+
* Use 'name' instead.
|
|
1592
|
+
*/
|
|
1593
|
+
override_name?: string | null;
|
|
1594
|
+
/**
|
|
1595
|
+
* @deprecated Body param: The project ID to associate the uploaded agent with.
|
|
1596
|
+
* This is now passed via headers.
|
|
1116
1597
|
*/
|
|
1117
1598
|
project_id?: string | null;
|
|
1599
|
+
/**
|
|
1600
|
+
* Body param: Secrets as a JSON string to pass to the agent for tool execution.
|
|
1601
|
+
*/
|
|
1602
|
+
secrets?: string | null;
|
|
1118
1603
|
/**
|
|
1119
1604
|
* Body param: If set to True, strips all messages from the agent before importing.
|
|
1120
1605
|
*/
|
|
@@ -1124,76 +1609,15 @@ export interface AgentImportParams {
|
|
|
1124
1609
|
*/
|
|
1125
1610
|
'x-override-embedding-model'?: string;
|
|
1126
1611
|
}
|
|
1127
|
-
export interface AgentListGroupsParams {
|
|
1128
|
-
/**
|
|
1129
|
-
* Manager type to filter groups by
|
|
1130
|
-
*/
|
|
1131
|
-
manager_type?: string | null;
|
|
1132
|
-
}
|
|
1133
|
-
export interface AgentMigrateParams {
|
|
1134
|
-
preserve_core_memories: boolean;
|
|
1135
|
-
to_template: string;
|
|
1136
|
-
/**
|
|
1137
|
-
* If true, preserves the existing agent's tool environment variables instead of
|
|
1138
|
-
* using the template's variables
|
|
1139
|
-
*/
|
|
1140
|
-
preserve_tool_variables?: boolean;
|
|
1141
|
-
}
|
|
1142
|
-
export interface AgentResetMessagesParams {
|
|
1143
|
-
/**
|
|
1144
|
-
* If true, adds the default initial messages after resetting.
|
|
1145
|
-
*/
|
|
1146
|
-
add_default_initial_messages?: boolean;
|
|
1147
|
-
}
|
|
1148
|
-
export interface AgentSearchParams {
|
|
1149
|
-
after?: string | null;
|
|
1150
|
-
ascending?: boolean;
|
|
1151
|
-
combinator?: 'AND';
|
|
1152
|
-
limit?: number;
|
|
1153
|
-
project_id?: string;
|
|
1154
|
-
search?: Array<AgentSearchParams.UnionMember0 | AgentSearchParams.UnionMember1 | AgentSearchParams.UnionMember2 | AgentSearchParams.UnionMember3 | AgentSearchParams.UnionMember4>;
|
|
1155
|
-
sortBy?: 'created_at' | 'last_run_completion';
|
|
1156
|
-
}
|
|
1157
|
-
export declare namespace AgentSearchParams {
|
|
1158
|
-
interface UnionMember0 {
|
|
1159
|
-
field: 'version';
|
|
1160
|
-
value: string;
|
|
1161
|
-
}
|
|
1162
|
-
interface UnionMember1 {
|
|
1163
|
-
field: 'name';
|
|
1164
|
-
operator: 'eq' | 'contains';
|
|
1165
|
-
value: string;
|
|
1166
|
-
}
|
|
1167
|
-
interface UnionMember2 {
|
|
1168
|
-
field: 'tags';
|
|
1169
|
-
operator: 'contains';
|
|
1170
|
-
value: Array<string>;
|
|
1171
|
-
}
|
|
1172
|
-
interface UnionMember3 {
|
|
1173
|
-
field: 'identity';
|
|
1174
|
-
operator: 'eq';
|
|
1175
|
-
value: string;
|
|
1176
|
-
}
|
|
1177
|
-
interface UnionMember4 {
|
|
1178
|
-
field: 'templateName';
|
|
1179
|
-
operator: 'eq';
|
|
1180
|
-
value: string;
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
export interface AgentSummarizeParams {
|
|
1184
|
-
/**
|
|
1185
|
-
* Maximum number of messages to retain after summarization.
|
|
1186
|
-
*/
|
|
1187
|
-
max_message_length: number;
|
|
1188
|
-
}
|
|
1189
1612
|
export declare namespace Agents {
|
|
1190
|
-
export { type AgentEnvironmentVariable as AgentEnvironmentVariable, type AgentState as AgentState, type AgentType as AgentType, type
|
|
1191
|
-
export {
|
|
1192
|
-
export {
|
|
1193
|
-
export {
|
|
1194
|
-
export {
|
|
1195
|
-
export {
|
|
1196
|
-
export {
|
|
1197
|
-
export {
|
|
1613
|
+
export { type AgentEnvironmentVariable as AgentEnvironmentVariable, type AgentState as AgentState, type AgentType as AgentType, type AnthropicModelSettings as AnthropicModelSettings, type AzureModelSettings as AzureModelSettings, type BedrockModelSettings as BedrockModelSettings, type ChildToolRule as ChildToolRule, type ConditionalToolRule as ConditionalToolRule, type ContinueToolRule as ContinueToolRule, type DeepseekModelSettings as DeepseekModelSettings, type GoogleAIModelSettings as GoogleAIModelSettings, type GoogleVertexModelSettings as GoogleVertexModelSettings, type GroqModelSettings as GroqModelSettings, type InitToolRule as InitToolRule, type JsonObjectResponseFormat as JsonObjectResponseFormat, type JsonSchemaResponseFormat as JsonSchemaResponseFormat, type LettaMessageContentUnion as LettaMessageContentUnion, type MaxCountPerStepToolRule as MaxCountPerStepToolRule, type MessageCreate as MessageCreate, type OpenAIModelSettings as OpenAIModelSettings, type ParentToolRule as ParentToolRule, type RequiredBeforeExitToolRule as RequiredBeforeExitToolRule, type RequiresApprovalToolRule as RequiresApprovalToolRule, type TerminalToolRule as TerminalToolRule, type TextResponseFormat as TextResponseFormat, type TogetherModelSettings as TogetherModelSettings, type XaiModelSettings as XaiModelSettings, type AgentDeleteResponse as AgentDeleteResponse, type AgentExportFileResponse as AgentExportFileResponse, type AgentImportFileResponse as AgentImportFileResponse, type AgentStatesArrayPage as AgentStatesArrayPage, type AgentCreateParams as AgentCreateParams, type AgentRetrieveParams as AgentRetrieveParams, type AgentUpdateParams as AgentUpdateParams, type AgentListParams as AgentListParams, type AgentExportFileParams as AgentExportFileParams, type AgentImportFileParams as AgentImportFileParams, };
|
|
1614
|
+
export { Messages as Messages, type ApprovalCreate as ApprovalCreate, type ApprovalRequestMessage as ApprovalRequestMessage, type ApprovalResponseMessage as ApprovalResponseMessage, type ApprovalReturn as ApprovalReturn, type AssistantMessage as AssistantMessage, type EventMessage as EventMessage, type HiddenReasoningMessage as HiddenReasoningMessage, type ImageContent as ImageContent, type InternalMessage as InternalMessage, type JobStatus as JobStatus, type JobType as JobType, type LettaAssistantMessageContentUnion as LettaAssistantMessageContentUnion, type LettaRequest as LettaRequest, type LettaResponse as LettaResponse, type LettaStreamingRequest as LettaStreamingRequest, type LettaStreamingResponse as LettaStreamingResponse, type LettaUserMessageContentUnion as LettaUserMessageContentUnion, type Message as Message, type MessageRole as MessageRole, type MessageType as MessageType, type OmittedReasoningContent as OmittedReasoningContent, type ReasoningContent as ReasoningContent, type ReasoningMessage as ReasoningMessage, type RedactedReasoningContent as RedactedReasoningContent, type Run as Run, type SummaryMessage as SummaryMessage, type SystemMessage as SystemMessage, type TextContent as TextContent, type ToolCall as ToolCall, type ToolCallContent as ToolCallContent, type ToolCallDelta as ToolCallDelta, type ToolCallMessage as ToolCallMessage, type ToolReturn as ToolReturn, type ToolReturnContent as ToolReturnContent, type UpdateAssistantMessage as UpdateAssistantMessage, type UpdateReasoningMessage as UpdateReasoningMessage, type UpdateSystemMessage as UpdateSystemMessage, type UpdateUserMessage as UpdateUserMessage, type UserMessage as UserMessage, type MessageCancelResponse as MessageCancelResponse, type MessagesArrayPage as MessagesArrayPage, type MessageCreateParams as MessageCreateParams, type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming as MessageCreateParamsStreaming, type MessageListParams as MessageListParams, type MessageCancelParams as MessageCancelParams, type MessageCreateAsyncParams as MessageCreateAsyncParams, type MessageResetParams as MessageResetParams, type MessageStreamParams as MessageStreamParams, };
|
|
1615
|
+
export { Blocks as Blocks, type Block as Block, type BlockUpdate as BlockUpdate, type BlockRetrieveParams as BlockRetrieveParams, type BlockUpdateParams as BlockUpdateParams, type BlockListParams as BlockListParams, type BlockAttachParams as BlockAttachParams, type BlockDetachParams as BlockDetachParams, };
|
|
1616
|
+
export { Tools as Tools, type ToolListParams as ToolListParams, type ToolAttachParams as ToolAttachParams, type ToolDetachParams as ToolDetachParams, type ToolUpdateApprovalParams as ToolUpdateApprovalParams, };
|
|
1617
|
+
export { Folders as Folders, type FolderListResponse as FolderListResponse, type FolderListResponsesArrayPage as FolderListResponsesArrayPage, type FolderListParams as FolderListParams, type FolderAttachParams as FolderAttachParams, type FolderDetachParams as FolderDetachParams, };
|
|
1618
|
+
export { Files as Files, type FileListResponse as FileListResponse, type FileCloseResponse as FileCloseResponse, type FileCloseAllResponse as FileCloseAllResponse, type FileOpenResponse as FileOpenResponse, type FileListResponsesNextFilesPage as FileListResponsesNextFilesPage, type FileListParams as FileListParams, type FileCloseParams as FileCloseParams, type FileOpenParams as FileOpenParams, };
|
|
1619
|
+
export { Groups as Groups, type GroupListParams as GroupListParams };
|
|
1620
|
+
export { Archives as Archives, type ArchiveAttachResponse as ArchiveAttachResponse, type ArchiveDetachResponse as ArchiveDetachResponse, type ArchiveAttachParams as ArchiveAttachParams, type ArchiveDetachParams as ArchiveDetachParams, };
|
|
1621
|
+
export { Identities as Identities, type IdentityAttachResponse as IdentityAttachResponse, type IdentityDetachResponse as IdentityDetachResponse, type IdentityAttachParams as IdentityAttachParams, type IdentityDetachParams as IdentityDetachParams, };
|
|
1198
1622
|
}
|
|
1199
1623
|
//# sourceMappingURL=agents.d.mts.map
|