@letta-ai/letta-client 1.0.0-alpha.19 → 1.0.0-alpha.20
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 +14 -0
- package/README.md +15 -56
- package/client.d.mts +16 -16
- package/client.d.mts.map +1 -1
- package/client.d.ts +16 -16
- package/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/agents/agents.d.mts +139 -129
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +139 -129
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js +6 -6
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs +6 -6
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/agents/blocks.d.mts +21 -21
- package/resources/agents/blocks.d.mts.map +1 -1
- package/resources/agents/blocks.d.ts +21 -21
- package/resources/agents/blocks.d.ts.map +1 -1
- package/resources/agents/blocks.js +10 -10
- package/resources/agents/blocks.js.map +1 -1
- package/resources/agents/blocks.mjs +10 -10
- package/resources/agents/blocks.mjs.map +1 -1
- package/resources/agents/index.d.mts +3 -3
- package/resources/agents/index.d.mts.map +1 -1
- package/resources/agents/index.d.ts +3 -3
- package/resources/agents/index.d.ts.map +1 -1
- package/resources/agents/messages.d.mts +136 -136
- package/resources/agents/messages.d.mts.map +1 -1
- package/resources/agents/messages.d.ts +136 -136
- package/resources/agents/messages.d.ts.map +1 -1
- package/resources/agents/messages.js +21 -21
- package/resources/agents/messages.js.map +1 -1
- package/resources/agents/messages.mjs +21 -21
- package/resources/agents/messages.mjs.map +1 -1
- package/resources/archives/archives.d.mts +16 -12
- package/resources/archives/archives.d.mts.map +1 -1
- package/resources/archives/archives.d.ts +16 -12
- package/resources/archives/archives.d.ts.map +1 -1
- package/resources/archives/archives.js +6 -6
- package/resources/archives/archives.js.map +1 -1
- package/resources/archives/archives.mjs +6 -6
- package/resources/archives/archives.mjs.map +1 -1
- package/resources/archives/index.d.mts +1 -1
- package/resources/archives/index.d.mts.map +1 -1
- package/resources/archives/index.d.ts +1 -1
- package/resources/archives/index.d.ts.map +1 -1
- package/resources/blocks/blocks.d.mts +61 -61
- package/resources/blocks/blocks.d.mts.map +1 -1
- package/resources/blocks/blocks.d.ts +61 -61
- package/resources/blocks/blocks.d.ts.map +1 -1
- package/resources/blocks/blocks.js +6 -6
- package/resources/blocks/blocks.js.map +1 -1
- package/resources/blocks/blocks.mjs +6 -6
- package/resources/blocks/blocks.mjs.map +1 -1
- package/resources/blocks/index.d.mts +1 -1
- package/resources/blocks/index.d.mts.map +1 -1
- package/resources/blocks/index.d.ts +1 -1
- package/resources/blocks/index.d.ts.map +1 -1
- package/resources/folders/folders.d.mts +12 -12
- package/resources/folders/folders.d.mts.map +1 -1
- package/resources/folders/folders.d.ts +12 -12
- package/resources/folders/folders.d.ts.map +1 -1
- package/resources/folders/folders.js +6 -6
- package/resources/folders/folders.js.map +1 -1
- package/resources/folders/folders.mjs +6 -6
- package/resources/folders/folders.mjs.map +1 -1
- package/resources/folders/index.d.mts +1 -1
- package/resources/folders/index.d.mts.map +1 -1
- package/resources/folders/index.d.ts +1 -1
- package/resources/folders/index.d.ts.map +1 -1
- package/resources/groups/groups.d.mts +20 -20
- package/resources/groups/groups.d.mts.map +1 -1
- package/resources/groups/groups.d.ts +20 -20
- package/resources/groups/groups.d.ts.map +1 -1
- package/resources/groups/groups.js +6 -6
- package/resources/groups/groups.js.map +1 -1
- package/resources/groups/groups.mjs +6 -6
- 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/messages.d.mts +84 -84
- package/resources/groups/messages.d.mts.map +1 -1
- package/resources/groups/messages.d.ts +84 -84
- package/resources/groups/messages.d.ts.map +1 -1
- package/resources/groups/messages.js +15 -15
- package/resources/groups/messages.js.map +1 -1
- package/resources/groups/messages.mjs +15 -15
- package/resources/groups/messages.mjs.map +1 -1
- package/resources/identities/identities.d.mts +15 -15
- package/resources/identities/identities.d.mts.map +1 -1
- package/resources/identities/identities.d.ts +15 -15
- package/resources/identities/identities.d.ts.map +1 -1
- package/resources/identities/identities.js +6 -6
- package/resources/identities/identities.js.map +1 -1
- package/resources/identities/identities.mjs +6 -6
- package/resources/identities/identities.mjs.map +1 -1
- package/resources/identities/index.d.mts +1 -1
- package/resources/identities/index.d.mts.map +1 -1
- package/resources/identities/index.d.ts +1 -1
- package/resources/identities/index.d.ts.map +1 -1
- package/resources/index.d.mts +8 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/mcp-servers/index.d.mts +1 -1
- package/resources/mcp-servers/index.d.mts.map +1 -1
- package/resources/mcp-servers/index.d.ts +1 -1
- package/resources/mcp-servers/index.d.ts.map +1 -1
- package/resources/mcp-servers/mcp-servers.d.mts +10 -10
- package/resources/mcp-servers/mcp-servers.d.mts.map +1 -1
- package/resources/mcp-servers/mcp-servers.d.ts +10 -10
- package/resources/mcp-servers/mcp-servers.d.ts.map +1 -1
- package/resources/mcp-servers/mcp-servers.js +6 -6
- package/resources/mcp-servers/mcp-servers.js.map +1 -1
- package/resources/mcp-servers/mcp-servers.mjs +6 -6
- package/resources/mcp-servers/mcp-servers.mjs.map +1 -1
- package/resources/models/models.d.mts +5 -0
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +5 -0
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs.map +1 -1
- package/resources/tools.d.mts +36 -36
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +36 -36
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +6 -6
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +6 -6
- package/resources/tools.mjs.map +1 -1
- package/src/client.ts +18 -18
- package/src/resources/agents/agents.ts +187 -177
- package/src/resources/agents/blocks.ts +35 -35
- package/src/resources/agents/index.ts +9 -9
- package/src/resources/agents/messages.ts +200 -200
- package/src/resources/archives/archives.ts +22 -17
- package/src/resources/archives/index.ts +1 -1
- package/src/resources/blocks/blocks.ts +69 -69
- package/src/resources/blocks/index.ts +1 -1
- package/src/resources/folders/folders.ts +16 -16
- package/src/resources/folders/index.ts +1 -1
- package/src/resources/groups/groups.ts +33 -33
- package/src/resources/groups/index.ts +4 -4
- package/src/resources/groups/messages.ts +126 -126
- package/src/resources/identities/identities.ts +22 -22
- package/src/resources/identities/index.ts +1 -1
- package/src/resources/index.ts +9 -9
- package/src/resources/mcp-servers/index.ts +2 -2
- package/src/resources/mcp-servers/mcp-servers.ts +23 -23
- package/src/resources/models/models.ts +5 -0
- package/src/resources/tools.ts +46 -46
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.d.mts","sourceRoot":"","sources":["../../src/resources/agents/blocks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,KAAK,eAAe;OACpB,EAAE,uBAAuB,EAAE;OAC3B,EAAE,UAAU,EAAE;OACd,EAAa,KAAK,eAAe,EAAE,WAAW,EAAE;OAChD,EAAE,cAAc,EAAE;AAGzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CACN,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,aAAa,CAAC;IAK5C;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"blocks.d.mts","sourceRoot":"","sources":["../../src/resources/agents/blocks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,KAAK,eAAe;OAC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AQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IAE7C;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAEvC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,eAAgB,SAAQ,eAAe;CAAG;AAE3D,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH;AAED,OAAO,EAAE,KAAK,uBAAuB,EAAE,CAAC"}
|
|
@@ -10,6 +10,10 @@ export declare class Blocks extends APIResource {
|
|
|
10
10
|
* Retrieve a core memory block from an agent.
|
|
11
11
|
*/
|
|
12
12
|
retrieve(blockLabel: string, params: BlockRetrieveParams, options?: RequestOptions): APIPromise<BlocksBlocksAPI.BlockResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Updates a core memory block of an agent.
|
|
15
|
+
*/
|
|
16
|
+
update(blockLabel: string, params: BlockUpdateParams, options?: RequestOptions): APIPromise<BlocksBlocksAPI.BlockResponse>;
|
|
13
17
|
/**
|
|
14
18
|
* Retrieve the core memory blocks of a specific agent.
|
|
15
19
|
*/
|
|
@@ -22,10 +26,6 @@ export declare class Blocks extends APIResource {
|
|
|
22
26
|
* Detach a core memory block from an agent.
|
|
23
27
|
*/
|
|
24
28
|
detach(blockID: string, params: BlockDetachParams, options?: RequestOptions): APIPromise<AgentsAPI.AgentState>;
|
|
25
|
-
/**
|
|
26
|
-
* Updates a core memory block of an agent.
|
|
27
|
-
*/
|
|
28
|
-
modify(blockLabel: string, params: BlockModifyParams, options?: RequestOptions): APIPromise<BlocksBlocksAPI.BlockResponse>;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* A Block represents a reserved section of the LLM's context window.
|
|
@@ -109,7 +109,7 @@ export interface Block {
|
|
|
109
109
|
/**
|
|
110
110
|
* Update a block
|
|
111
111
|
*/
|
|
112
|
-
export interface
|
|
112
|
+
export interface BlockUpdate {
|
|
113
113
|
/**
|
|
114
114
|
* The base template id of the block.
|
|
115
115
|
*/
|
|
@@ -179,21 +179,7 @@ export interface BlockRetrieveParams {
|
|
|
179
179
|
*/
|
|
180
180
|
agent_id: string;
|
|
181
181
|
}
|
|
182
|
-
export interface
|
|
183
|
-
}
|
|
184
|
-
export interface BlockAttachParams {
|
|
185
|
-
/**
|
|
186
|
-
* The ID of the agent in the format 'agent-<uuid4>'
|
|
187
|
-
*/
|
|
188
|
-
agent_id: string;
|
|
189
|
-
}
|
|
190
|
-
export interface BlockDetachParams {
|
|
191
|
-
/**
|
|
192
|
-
* The ID of the agent in the format 'agent-<uuid4>'
|
|
193
|
-
*/
|
|
194
|
-
agent_id: string;
|
|
195
|
-
}
|
|
196
|
-
export interface BlockModifyParams {
|
|
182
|
+
export interface BlockUpdateParams {
|
|
197
183
|
/**
|
|
198
184
|
* Path param: The ID of the agent in the format 'agent-<uuid4>'
|
|
199
185
|
*/
|
|
@@ -261,8 +247,22 @@ export interface BlockModifyParams {
|
|
|
261
247
|
*/
|
|
262
248
|
value?: string | null;
|
|
263
249
|
}
|
|
250
|
+
export interface BlockListParams extends ArrayPageParams {
|
|
251
|
+
}
|
|
252
|
+
export interface BlockAttachParams {
|
|
253
|
+
/**
|
|
254
|
+
* The ID of the agent in the format 'agent-<uuid4>'
|
|
255
|
+
*/
|
|
256
|
+
agent_id: string;
|
|
257
|
+
}
|
|
258
|
+
export interface BlockDetachParams {
|
|
259
|
+
/**
|
|
260
|
+
* The ID of the agent in the format 'agent-<uuid4>'
|
|
261
|
+
*/
|
|
262
|
+
agent_id: string;
|
|
263
|
+
}
|
|
264
264
|
export declare namespace Blocks {
|
|
265
|
-
export { type Block as Block, type
|
|
265
|
+
export { 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, };
|
|
266
266
|
}
|
|
267
267
|
export { type BlockResponsesArrayPage };
|
|
268
268
|
//# sourceMappingURL=blocks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../src/resources/agents/blocks.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,KAAK,eAAe;OACpB,EAAE,uBAAuB,EAAE;OAC3B,EAAE,UAAU,EAAE;OACd,EAAa,KAAK,eAAe,EAAE,WAAW,EAAE;OAChD,EAAE,cAAc,EAAE;AAGzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CACN,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC,aAAa,CAAC;IAK5C;;OAEG;IACH,
|
|
1
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0, path_1.path) `/v1/agents/${agent_id}/core-memory/blocks/${blockLabel}`, options);
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* Updates a core memory block of an agent.
|
|
18
|
+
*/
|
|
19
|
+
update(blockLabel, params, options) {
|
|
20
|
+
const { agent_id, ...body } = params;
|
|
21
|
+
return this._client.patch((0, path_1.path) `/v1/agents/${agent_id}/core-memory/blocks/${blockLabel}`, {
|
|
22
|
+
body,
|
|
23
|
+
...options,
|
|
24
|
+
});
|
|
25
|
+
}
|
|
16
26
|
/**
|
|
17
27
|
* Retrieve the core memory blocks of a specific agent.
|
|
18
28
|
*/
|
|
@@ -33,16 +43,6 @@ class Blocks extends resource_1.APIResource {
|
|
|
33
43
|
const { agent_id } = params;
|
|
34
44
|
return this._client.patch((0, path_1.path) `/v1/agents/${agent_id}/core-memory/blocks/detach/${blockID}`, options);
|
|
35
45
|
}
|
|
36
|
-
/**
|
|
37
|
-
* Updates a core memory block of an agent.
|
|
38
|
-
*/
|
|
39
|
-
modify(blockLabel, params, options) {
|
|
40
|
-
const { agent_id, ...body } = params;
|
|
41
|
-
return this._client.patch((0, path_1.path) `/v1/agents/${agent_id}/core-memory/blocks/${blockLabel}`, {
|
|
42
|
-
body,
|
|
43
|
-
...options,
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
46
|
}
|
|
47
47
|
exports.Blocks = Blocks;
|
|
48
48
|
//# sourceMappingURL=blocks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.js","sourceRoot":"","sources":["../../src/resources/agents/blocks.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,yDAAqF;AAErF,uDAAiD;AAEjD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,QAAQ,CACN,UAAkB,EAClB,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAA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OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,cAAc,QAAQ,8BAA8B,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAe,EACf,MAAyB,EACzB,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,cAAc,QAAQ,8BAA8B,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;CACF;AAlED,wBAkEC"}
|
|
@@ -10,6 +10,16 @@ export class Blocks extends APIResource {
|
|
|
10
10
|
const { agent_id } = params;
|
|
11
11
|
return this._client.get(path `/v1/agents/${agent_id}/core-memory/blocks/${blockLabel}`, options);
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Updates a core memory block of an agent.
|
|
15
|
+
*/
|
|
16
|
+
update(blockLabel, params, options) {
|
|
17
|
+
const { agent_id, ...body } = params;
|
|
18
|
+
return this._client.patch(path `/v1/agents/${agent_id}/core-memory/blocks/${blockLabel}`, {
|
|
19
|
+
body,
|
|
20
|
+
...options,
|
|
21
|
+
});
|
|
22
|
+
}
|
|
13
23
|
/**
|
|
14
24
|
* Retrieve the core memory blocks of a specific agent.
|
|
15
25
|
*/
|
|
@@ -30,15 +40,5 @@ export class Blocks extends APIResource {
|
|
|
30
40
|
const { agent_id } = params;
|
|
31
41
|
return this._client.patch(path `/v1/agents/${agent_id}/core-memory/blocks/detach/${blockID}`, options);
|
|
32
42
|
}
|
|
33
|
-
/**
|
|
34
|
-
* Updates a core memory block of an agent.
|
|
35
|
-
*/
|
|
36
|
-
modify(blockLabel, params, options) {
|
|
37
|
-
const { agent_id, ...body } = params;
|
|
38
|
-
return this._client.patch(path `/v1/agents/${agent_id}/core-memory/blocks/${blockLabel}`, {
|
|
39
|
-
body,
|
|
40
|
-
...options,
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
43
|
}
|
|
44
44
|
//# sourceMappingURL=blocks.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.mjs","sourceRoot":"","sources":["../../src/resources/agents/blocks.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,SAAS,EAAqC;OAEhD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CACN,UAAkB,EAClB,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,cAAc,QAAQ,uBAAuB,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAClG,CAAC;IAED;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"blocks.mjs","sourceRoot":"","sources":["../../src/resources/agents/blocks.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,SAAS,EAAqC;OAEhD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CACN,UAAkB,EAClB,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,cAAc,QAAQ,uBAAuB,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAClG,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,MAAyB,EACzB,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,cAAc,QAAQ,uBAAuB,UAAU,EAAE,EAAE;YACvF,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,CACF,OAAe,EACf,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,cAAc,OAAO,qBAAqB,EAC9C,CAAA,SAAwC,CAAA,EACxC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAe,EACf,MAAyB,EACzB,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,cAAc,QAAQ,8BAA8B,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAe,EACf,MAAyB,EACzB,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,cAAc,QAAQ,8BAA8B,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;CACF"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Agents, type AgentEnvironmentVariable, type AgentState, type AgentType, type AnthropicModelSettings, type AzureModelSettings, type BedrockModelSettings, type ChildToolRule, type ConditionalToolRule, type ContinueToolRule, type DeepseekModelSettings, type GoogleAIModelSettings, type GoogleVertexModelSettings, type GroqModelSettings, type InitToolRule, type JsonObjectResponseFormat, type JsonSchemaResponseFormat, type LettaMessageContentUnion, type MaxCountPerStepToolRule, type MessageCreate, type OpenAIModelSettings, type ParentToolRule, type RequiredBeforeExitToolRule, type RequiresApprovalToolRule, type TerminalToolRule, type TextResponseFormat, type TogetherModelSettings, type XaiModelSettings, type AgentDeleteResponse, type AgentExportFileResponse, type AgentImportFileResponse, type AgentCreateParams, type AgentRetrieveParams, type
|
|
1
|
+
export { Agents, type AgentEnvironmentVariable, type AgentState, type AgentType, type AnthropicModelSettings, type AzureModelSettings, type BedrockModelSettings, type ChildToolRule, type ConditionalToolRule, type ContinueToolRule, type DeepseekModelSettings, type GoogleAIModelSettings, type GoogleVertexModelSettings, type GroqModelSettings, type InitToolRule, type JsonObjectResponseFormat, type JsonSchemaResponseFormat, type LettaMessageContentUnion, type MaxCountPerStepToolRule, type MessageCreate, type OpenAIModelSettings, type ParentToolRule, type RequiredBeforeExitToolRule, type RequiresApprovalToolRule, type TerminalToolRule, type TextResponseFormat, type TogetherModelSettings, type XaiModelSettings, type AgentDeleteResponse, type AgentExportFileResponse, type AgentImportFileResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentUpdateParams, type AgentListParams, type AgentExportFileParams, type AgentImportFileParams, type AgentStatesArrayPage, } from "./agents.mjs";
|
|
2
2
|
export { Archives, type ArchiveAttachResponse, type ArchiveDetachResponse, type ArchiveAttachParams, type ArchiveDetachParams, } from "./archives.mjs";
|
|
3
|
-
export { Blocks, type Block, type
|
|
3
|
+
export { Blocks, type Block, type BlockUpdate, type BlockRetrieveParams, type BlockUpdateParams, type BlockListParams, type BlockAttachParams, type BlockDetachParams, } from "./blocks.mjs";
|
|
4
4
|
export { Files, type FileListResponse, type FileCloseResponse, type FileCloseAllResponse, type FileOpenResponse, type FileListParams, type FileCloseParams, type FileOpenParams, type FileListResponsesNextFilesPage, } from "./files.mjs";
|
|
5
5
|
export { Folders, type FolderListResponse, type FolderListParams, type FolderAttachParams, type FolderDetachParams, type FolderListResponsesArrayPage, } from "./folders.mjs";
|
|
6
6
|
export { Groups, type GroupListParams } from "./groups.mjs";
|
|
7
7
|
export { Identities, type IdentityAttachResponse, type IdentityDetachResponse, type IdentityAttachParams, type IdentityDetachParams, } from "./identities.mjs";
|
|
8
|
-
export { Messages, type ApprovalCreate, type ApprovalRequestMessage, type ApprovalResponseMessage, type ApprovalReturn, type AssistantMessage, type EventMessage, type HiddenReasoningMessage, type ImageContent, type InternalMessage, type JobStatus, type JobType, type LettaAssistantMessageContentUnion, type LettaRequest, type LettaResponse, type LettaStreamingRequest, type LettaStreamingResponse, type LettaUserMessageContentUnion, type Message, type MessageRole, type MessageType, type OmittedReasoningContent, type ReasoningContent, type ReasoningMessage, type RedactedReasoningContent, type Run, type SummaryMessage, type SystemMessage, type TextContent, type ToolCall, type ToolCallContent, type ToolCallDelta, type ToolCallMessage, type ToolReturn, type ToolReturnContent, type UpdateAssistantMessage, type UpdateReasoningMessage, type UpdateSystemMessage, type UpdateUserMessage, type UserMessage, type
|
|
8
|
+
export { Messages, type ApprovalCreate, type ApprovalRequestMessage, type ApprovalResponseMessage, type ApprovalReturn, type AssistantMessage, type EventMessage, type HiddenReasoningMessage, type ImageContent, type InternalMessage, type JobStatus, type JobType, type LettaAssistantMessageContentUnion, type LettaRequest, type LettaResponse, type LettaStreamingRequest, type LettaStreamingResponse, type LettaUserMessageContentUnion, type Message, type MessageRole, type MessageType, type OmittedReasoningContent, type ReasoningContent, type ReasoningMessage, type RedactedReasoningContent, type Run, type SummaryMessage, type SystemMessage, type TextContent, type ToolCall, type ToolCallContent, type ToolCallDelta, type ToolCallMessage, type ToolReturn, type ToolReturnContent, type UpdateAssistantMessage, type UpdateReasoningMessage, type UpdateSystemMessage, type UpdateUserMessage, type UserMessage, type MessageUpdateResponse, type MessageCancelResponse, type MessageCreateParams, type MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming, type MessageUpdateParams, type MessageListParams, type MessageCancelParams, type MessageCreateAsyncParams, type MessageResetParams, type MessageStreamParams, type RunsArrayPage, type MessagesArrayPage, type InternalMessagesObjectPage, } from "./messages.mjs";
|
|
9
9
|
export { Tools, type ToolListParams, type ToolAttachParams, type ToolDetachParams, type ToolUpdateApprovalParams, } from "./tools.mjs";
|
|
10
10
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,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B,EAC5B,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,iCAAiC,EACtC,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,4BAA4B,EACjC,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,GAAG,EACR,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,GAChC;OACM,EACL,KAAK,EACL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,GAC9B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Agents, type AgentEnvironmentVariable, type AgentState, type AgentType, type AnthropicModelSettings, type AzureModelSettings, type BedrockModelSettings, type ChildToolRule, type ConditionalToolRule, type ContinueToolRule, type DeepseekModelSettings, type GoogleAIModelSettings, type GoogleVertexModelSettings, type GroqModelSettings, type InitToolRule, type JsonObjectResponseFormat, type JsonSchemaResponseFormat, type LettaMessageContentUnion, type MaxCountPerStepToolRule, type MessageCreate, type OpenAIModelSettings, type ParentToolRule, type RequiredBeforeExitToolRule, type RequiresApprovalToolRule, type TerminalToolRule, type TextResponseFormat, type TogetherModelSettings, type XaiModelSettings, type AgentDeleteResponse, type AgentExportFileResponse, type AgentImportFileResponse, type AgentCreateParams, type AgentRetrieveParams, type
|
|
1
|
+
export { Agents, type AgentEnvironmentVariable, type AgentState, type AgentType, type AnthropicModelSettings, type AzureModelSettings, type BedrockModelSettings, type ChildToolRule, type ConditionalToolRule, type ContinueToolRule, type DeepseekModelSettings, type GoogleAIModelSettings, type GoogleVertexModelSettings, type GroqModelSettings, type InitToolRule, type JsonObjectResponseFormat, type JsonSchemaResponseFormat, type LettaMessageContentUnion, type MaxCountPerStepToolRule, type MessageCreate, type OpenAIModelSettings, type ParentToolRule, type RequiredBeforeExitToolRule, type RequiresApprovalToolRule, type TerminalToolRule, type TextResponseFormat, type TogetherModelSettings, type XaiModelSettings, type AgentDeleteResponse, type AgentExportFileResponse, type AgentImportFileResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentUpdateParams, type AgentListParams, type AgentExportFileParams, type AgentImportFileParams, type AgentStatesArrayPage, } from "./agents.js";
|
|
2
2
|
export { Archives, type ArchiveAttachResponse, type ArchiveDetachResponse, type ArchiveAttachParams, type ArchiveDetachParams, } from "./archives.js";
|
|
3
|
-
export { Blocks, type Block, type
|
|
3
|
+
export { Blocks, type Block, type BlockUpdate, type BlockRetrieveParams, type BlockUpdateParams, type BlockListParams, type BlockAttachParams, type BlockDetachParams, } from "./blocks.js";
|
|
4
4
|
export { Files, type FileListResponse, type FileCloseResponse, type FileCloseAllResponse, type FileOpenResponse, type FileListParams, type FileCloseParams, type FileOpenParams, type FileListResponsesNextFilesPage, } from "./files.js";
|
|
5
5
|
export { Folders, type FolderListResponse, type FolderListParams, type FolderAttachParams, type FolderDetachParams, type FolderListResponsesArrayPage, } from "./folders.js";
|
|
6
6
|
export { Groups, type GroupListParams } from "./groups.js";
|
|
7
7
|
export { Identities, type IdentityAttachResponse, type IdentityDetachResponse, type IdentityAttachParams, type IdentityDetachParams, } from "./identities.js";
|
|
8
|
-
export { Messages, type ApprovalCreate, type ApprovalRequestMessage, type ApprovalResponseMessage, type ApprovalReturn, type AssistantMessage, type EventMessage, type HiddenReasoningMessage, type ImageContent, type InternalMessage, type JobStatus, type JobType, type LettaAssistantMessageContentUnion, type LettaRequest, type LettaResponse, type LettaStreamingRequest, type LettaStreamingResponse, type LettaUserMessageContentUnion, type Message, type MessageRole, type MessageType, type OmittedReasoningContent, type ReasoningContent, type ReasoningMessage, type RedactedReasoningContent, type Run, type SummaryMessage, type SystemMessage, type TextContent, type ToolCall, type ToolCallContent, type ToolCallDelta, type ToolCallMessage, type ToolReturn, type ToolReturnContent, type UpdateAssistantMessage, type UpdateReasoningMessage, type UpdateSystemMessage, type UpdateUserMessage, type UserMessage, type
|
|
8
|
+
export { Messages, type ApprovalCreate, type ApprovalRequestMessage, type ApprovalResponseMessage, type ApprovalReturn, type AssistantMessage, type EventMessage, type HiddenReasoningMessage, type ImageContent, type InternalMessage, type JobStatus, type JobType, type LettaAssistantMessageContentUnion, type LettaRequest, type LettaResponse, type LettaStreamingRequest, type LettaStreamingResponse, type LettaUserMessageContentUnion, type Message, type MessageRole, type MessageType, type OmittedReasoningContent, type ReasoningContent, type ReasoningMessage, type RedactedReasoningContent, type Run, type SummaryMessage, type SystemMessage, type TextContent, type ToolCall, type ToolCallContent, type ToolCallDelta, type ToolCallMessage, type ToolReturn, type ToolReturnContent, type UpdateAssistantMessage, type UpdateReasoningMessage, type UpdateSystemMessage, type UpdateUserMessage, type UserMessage, type MessageUpdateResponse, type MessageCancelResponse, type MessageCreateParams, type MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming, type MessageUpdateParams, type MessageListParams, type MessageCancelParams, type MessageCreateAsyncParams, type MessageResetParams, type MessageStreamParams, type RunsArrayPage, type MessagesArrayPage, type InternalMessagesObjectPage, } from "./messages.js";
|
|
9
9
|
export { Tools, type ToolListParams, type ToolAttachParams, type ToolDetachParams, type ToolUpdateApprovalParams, } from "./tools.js";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/agents/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EACf,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