@letta-ai/letta-code 0.28.16 → 0.28.17
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/LICENSE +5 -5
- package/assets/tutor-profile.png +0 -0
- package/dist/agent-presets.js +58 -18
- package/dist/agent-presets.js.map +5 -5
- package/dist/types/agent/create-agent-request.d.ts.map +1 -1
- package/dist/types/agent/model-catalog.d.ts +22 -320
- package/dist/types/agent/model-catalog.d.ts.map +1 -1
- package/dist/types/agent/personality-presets.d.ts +13 -0
- package/dist/types/agent/personality-presets.d.ts.map +1 -1
- package/dist/types/agent-presets.d.ts +1 -1
- package/dist/types/agent-presets.d.ts.map +1 -1
- package/letta.js +5958 -4113
- package/package.json +3 -1
- package/scripts/source-file-size-baseline.json +5 -5
|
@@ -6,330 +6,32 @@
|
|
|
6
6
|
* provider/backend modules. CLI code should keep importing from
|
|
7
7
|
* `@/agent/model`, which re-exports this module.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
context_window: number;
|
|
18
|
-
max_output_tokens: number;
|
|
19
|
-
parallel_tool_calls: boolean;
|
|
20
|
-
reasoning_effort?: undefined;
|
|
21
|
-
verbosity?: undefined;
|
|
22
|
-
enable_reasoner?: undefined;
|
|
23
|
-
max_reasoning_tokens?: undefined;
|
|
24
|
-
temperature?: undefined;
|
|
25
|
-
};
|
|
26
|
-
isFeatured: boolean;
|
|
27
|
-
shortLabel?: undefined;
|
|
28
|
-
} | {
|
|
29
|
-
id: string;
|
|
30
|
-
handle: string;
|
|
31
|
-
label: string;
|
|
32
|
-
description: string;
|
|
33
|
-
free: boolean;
|
|
34
|
-
updateArgs: {
|
|
35
|
-
context_window: number;
|
|
36
|
-
max_output_tokens: number;
|
|
37
|
-
parallel_tool_calls: boolean;
|
|
38
|
-
reasoning_effort?: undefined;
|
|
39
|
-
verbosity?: undefined;
|
|
40
|
-
enable_reasoner?: undefined;
|
|
41
|
-
max_reasoning_tokens?: undefined;
|
|
42
|
-
temperature?: undefined;
|
|
43
|
-
};
|
|
44
|
-
isFeatured: boolean;
|
|
45
|
-
isDefault?: undefined;
|
|
46
|
-
shortLabel?: undefined;
|
|
47
|
-
} | {
|
|
48
|
-
id: string;
|
|
49
|
-
handle: string;
|
|
50
|
-
label: string;
|
|
51
|
-
description: string;
|
|
52
|
-
updateArgs: {
|
|
53
|
-
reasoning_effort: string;
|
|
54
|
-
verbosity: string;
|
|
55
|
-
context_window: number;
|
|
56
|
-
max_output_tokens: number;
|
|
57
|
-
parallel_tool_calls: boolean;
|
|
58
|
-
enable_reasoner?: undefined;
|
|
59
|
-
max_reasoning_tokens?: undefined;
|
|
60
|
-
temperature?: undefined;
|
|
61
|
-
};
|
|
62
|
-
isDefault?: undefined;
|
|
63
|
-
free?: undefined;
|
|
64
|
-
isFeatured?: undefined;
|
|
65
|
-
shortLabel?: undefined;
|
|
66
|
-
} | {
|
|
67
|
-
id: string;
|
|
68
|
-
handle: string;
|
|
69
|
-
label: string;
|
|
70
|
-
description: string;
|
|
71
|
-
isFeatured: boolean;
|
|
72
|
-
updateArgs: {
|
|
73
|
-
reasoning_effort: string;
|
|
74
|
-
verbosity: string;
|
|
75
|
-
context_window: number;
|
|
76
|
-
max_output_tokens: number;
|
|
77
|
-
parallel_tool_calls: boolean;
|
|
78
|
-
enable_reasoner?: undefined;
|
|
79
|
-
max_reasoning_tokens?: undefined;
|
|
80
|
-
temperature?: undefined;
|
|
81
|
-
};
|
|
82
|
-
isDefault?: undefined;
|
|
83
|
-
free?: undefined;
|
|
84
|
-
shortLabel?: undefined;
|
|
85
|
-
} | {
|
|
86
|
-
id: string;
|
|
87
|
-
handle: string;
|
|
88
|
-
label: string;
|
|
89
|
-
description: string;
|
|
90
|
-
isFeatured: boolean;
|
|
91
|
-
updateArgs: {
|
|
92
|
-
context_window: number;
|
|
93
|
-
max_output_tokens: number;
|
|
94
|
-
enable_reasoner: boolean;
|
|
95
|
-
reasoning_effort: string;
|
|
96
|
-
parallel_tool_calls: boolean;
|
|
97
|
-
verbosity?: undefined;
|
|
98
|
-
max_reasoning_tokens?: undefined;
|
|
99
|
-
temperature?: undefined;
|
|
100
|
-
};
|
|
101
|
-
isDefault?: undefined;
|
|
102
|
-
free?: undefined;
|
|
103
|
-
shortLabel?: undefined;
|
|
104
|
-
} | {
|
|
105
|
-
id: string;
|
|
106
|
-
handle: string;
|
|
107
|
-
label: string;
|
|
108
|
-
description: string;
|
|
109
|
-
updateArgs: {
|
|
110
|
-
context_window: number;
|
|
111
|
-
max_output_tokens: number;
|
|
112
|
-
enable_reasoner: boolean;
|
|
113
|
-
reasoning_effort: string;
|
|
114
|
-
max_reasoning_tokens: number;
|
|
115
|
-
parallel_tool_calls: boolean;
|
|
116
|
-
verbosity?: undefined;
|
|
117
|
-
temperature?: undefined;
|
|
118
|
-
};
|
|
119
|
-
isDefault?: undefined;
|
|
120
|
-
free?: undefined;
|
|
121
|
-
isFeatured?: undefined;
|
|
122
|
-
shortLabel?: undefined;
|
|
123
|
-
} | {
|
|
124
|
-
id: string;
|
|
125
|
-
handle: string;
|
|
126
|
-
label: string;
|
|
127
|
-
description: string;
|
|
128
|
-
updateArgs: {
|
|
129
|
-
context_window: number;
|
|
130
|
-
max_output_tokens: number;
|
|
131
|
-
enable_reasoner: boolean;
|
|
132
|
-
reasoning_effort: string;
|
|
133
|
-
parallel_tool_calls: boolean;
|
|
134
|
-
verbosity?: undefined;
|
|
135
|
-
max_reasoning_tokens?: undefined;
|
|
136
|
-
temperature?: undefined;
|
|
137
|
-
};
|
|
138
|
-
isDefault?: undefined;
|
|
139
|
-
free?: undefined;
|
|
140
|
-
isFeatured?: undefined;
|
|
141
|
-
shortLabel?: undefined;
|
|
142
|
-
} | {
|
|
143
|
-
id: string;
|
|
144
|
-
handle: string;
|
|
145
|
-
label: string;
|
|
146
|
-
shortLabel: string;
|
|
147
|
-
description: string;
|
|
148
|
-
updateArgs: {
|
|
149
|
-
context_window: number;
|
|
150
|
-
max_output_tokens: number;
|
|
151
|
-
max_reasoning_tokens: number;
|
|
152
|
-
parallel_tool_calls: boolean;
|
|
153
|
-
reasoning_effort?: undefined;
|
|
154
|
-
verbosity?: undefined;
|
|
155
|
-
enable_reasoner?: undefined;
|
|
156
|
-
temperature?: undefined;
|
|
157
|
-
};
|
|
158
|
-
isDefault?: undefined;
|
|
159
|
-
free?: undefined;
|
|
160
|
-
isFeatured?: undefined;
|
|
161
|
-
} | {
|
|
162
|
-
id: string;
|
|
163
|
-
handle: string;
|
|
164
|
-
label: string;
|
|
165
|
-
shortLabel: string;
|
|
166
|
-
description: string;
|
|
167
|
-
updateArgs: {
|
|
168
|
-
context_window: number;
|
|
169
|
-
max_output_tokens: number;
|
|
170
|
-
reasoning_effort: string;
|
|
171
|
-
enable_reasoner: boolean;
|
|
172
|
-
parallel_tool_calls: boolean;
|
|
173
|
-
verbosity?: undefined;
|
|
174
|
-
max_reasoning_tokens?: undefined;
|
|
175
|
-
temperature?: undefined;
|
|
176
|
-
};
|
|
177
|
-
isDefault?: undefined;
|
|
178
|
-
free?: undefined;
|
|
179
|
-
isFeatured?: undefined;
|
|
180
|
-
} | {
|
|
181
|
-
id: string;
|
|
182
|
-
handle: string;
|
|
183
|
-
label: string;
|
|
184
|
-
description: string;
|
|
185
|
-
updateArgs: {
|
|
186
|
-
context_window: number;
|
|
187
|
-
max_output_tokens: number;
|
|
188
|
-
parallel_tool_calls: boolean;
|
|
189
|
-
reasoning_effort?: undefined;
|
|
190
|
-
verbosity?: undefined;
|
|
191
|
-
enable_reasoner?: undefined;
|
|
192
|
-
max_reasoning_tokens?: undefined;
|
|
193
|
-
temperature?: undefined;
|
|
194
|
-
};
|
|
195
|
-
isDefault?: undefined;
|
|
196
|
-
free?: undefined;
|
|
197
|
-
isFeatured?: undefined;
|
|
198
|
-
shortLabel?: undefined;
|
|
199
|
-
} | {
|
|
200
|
-
id: string;
|
|
201
|
-
handle: string;
|
|
202
|
-
label: string;
|
|
203
|
-
description: string;
|
|
204
|
-
updateArgs: {
|
|
205
|
-
reasoning_effort: string;
|
|
206
|
-
verbosity: string;
|
|
207
|
-
context_window: number;
|
|
208
|
-
max_output_tokens: null;
|
|
209
|
-
parallel_tool_calls: boolean;
|
|
210
|
-
enable_reasoner?: undefined;
|
|
211
|
-
max_reasoning_tokens?: undefined;
|
|
212
|
-
temperature?: undefined;
|
|
213
|
-
};
|
|
214
|
-
isDefault?: undefined;
|
|
215
|
-
free?: undefined;
|
|
216
|
-
isFeatured?: undefined;
|
|
217
|
-
shortLabel?: undefined;
|
|
218
|
-
} | {
|
|
219
|
-
id: string;
|
|
220
|
-
handle: string;
|
|
221
|
-
label: string;
|
|
222
|
-
description: string;
|
|
223
|
-
isFeatured: boolean;
|
|
224
|
-
updateArgs: {
|
|
225
|
-
context_window: number;
|
|
226
|
-
max_output_tokens: number;
|
|
227
|
-
parallel_tool_calls: boolean;
|
|
228
|
-
reasoning_effort?: undefined;
|
|
229
|
-
verbosity?: undefined;
|
|
230
|
-
enable_reasoner?: undefined;
|
|
231
|
-
max_reasoning_tokens?: undefined;
|
|
232
|
-
temperature?: undefined;
|
|
233
|
-
};
|
|
234
|
-
isDefault?: undefined;
|
|
235
|
-
free?: undefined;
|
|
236
|
-
shortLabel?: undefined;
|
|
237
|
-
} | {
|
|
238
|
-
id: string;
|
|
239
|
-
handle: string;
|
|
240
|
-
label: string;
|
|
241
|
-
description: string;
|
|
242
|
-
isFeatured: boolean;
|
|
243
|
-
updateArgs: {
|
|
244
|
-
context_window: number;
|
|
245
|
-
parallel_tool_calls: boolean;
|
|
246
|
-
max_output_tokens?: undefined;
|
|
247
|
-
reasoning_effort?: undefined;
|
|
248
|
-
verbosity?: undefined;
|
|
249
|
-
enable_reasoner?: undefined;
|
|
250
|
-
max_reasoning_tokens?: undefined;
|
|
251
|
-
temperature?: undefined;
|
|
252
|
-
};
|
|
253
|
-
isDefault?: undefined;
|
|
254
|
-
free?: undefined;
|
|
255
|
-
shortLabel?: undefined;
|
|
256
|
-
} | {
|
|
257
|
-
id: string;
|
|
258
|
-
handle: string;
|
|
259
|
-
label: string;
|
|
260
|
-
description: string;
|
|
261
|
-
free: boolean;
|
|
262
|
-
updateArgs: {
|
|
263
|
-
context_window: number;
|
|
264
|
-
max_output_tokens: number;
|
|
265
|
-
parallel_tool_calls: boolean;
|
|
266
|
-
reasoning_effort?: undefined;
|
|
267
|
-
verbosity?: undefined;
|
|
268
|
-
enable_reasoner?: undefined;
|
|
269
|
-
max_reasoning_tokens?: undefined;
|
|
270
|
-
temperature?: undefined;
|
|
271
|
-
};
|
|
272
|
-
isDefault?: undefined;
|
|
273
|
-
isFeatured?: undefined;
|
|
274
|
-
shortLabel?: undefined;
|
|
275
|
-
} | {
|
|
276
|
-
id: string;
|
|
277
|
-
handle: string;
|
|
278
|
-
label: string;
|
|
279
|
-
description: string;
|
|
280
|
-
updateArgs: {
|
|
281
|
-
context_window: number;
|
|
282
|
-
parallel_tool_calls: boolean;
|
|
283
|
-
max_output_tokens?: undefined;
|
|
284
|
-
reasoning_effort?: undefined;
|
|
285
|
-
verbosity?: undefined;
|
|
286
|
-
enable_reasoner?: undefined;
|
|
287
|
-
max_reasoning_tokens?: undefined;
|
|
288
|
-
temperature?: undefined;
|
|
289
|
-
};
|
|
290
|
-
isDefault?: undefined;
|
|
291
|
-
free?: undefined;
|
|
292
|
-
isFeatured?: undefined;
|
|
293
|
-
shortLabel?: undefined;
|
|
294
|
-
} | {
|
|
295
|
-
id: string;
|
|
296
|
-
handle: string;
|
|
297
|
-
label: string;
|
|
298
|
-
description: string;
|
|
299
|
-
isFeatured: boolean;
|
|
300
|
-
updateArgs: {
|
|
301
|
-
context_window: number;
|
|
302
|
-
temperature: number;
|
|
303
|
-
parallel_tool_calls: boolean;
|
|
304
|
-
max_output_tokens?: undefined;
|
|
305
|
-
reasoning_effort?: undefined;
|
|
306
|
-
verbosity?: undefined;
|
|
307
|
-
enable_reasoner?: undefined;
|
|
308
|
-
max_reasoning_tokens?: undefined;
|
|
309
|
-
};
|
|
310
|
-
isDefault?: undefined;
|
|
311
|
-
free?: undefined;
|
|
312
|
-
shortLabel?: undefined;
|
|
313
|
-
} | {
|
|
9
|
+
/**
|
|
10
|
+
* A curated model catalog entry in the bundled models.json shape.
|
|
11
|
+
*
|
|
12
|
+
* The same shape is produced by the cloud catalog endpoint
|
|
13
|
+
* (GET /v1/models/catalog, mapped in `@/agent/remote-model-catalog`), so the
|
|
14
|
+
* bundled snapshot and live remote data are interchangeable.
|
|
15
|
+
*/
|
|
16
|
+
export interface CatalogModel {
|
|
314
17
|
id: string;
|
|
315
18
|
handle: string;
|
|
316
19
|
label: string;
|
|
317
20
|
description: string;
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
})[];
|
|
21
|
+
shortLabel?: string;
|
|
22
|
+
isDefault?: boolean;
|
|
23
|
+
isFeatured?: boolean;
|
|
24
|
+
free?: boolean;
|
|
25
|
+
updateArgs?: Record<string, unknown>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The live model catalog. Seeded from the bundled models.json snapshot at
|
|
29
|
+
* module load; on cloud (API) backends the array contents are refreshed in
|
|
30
|
+
* place from GET /v1/models/catalog (see `@/agent/remote-model-catalog`), so
|
|
31
|
+
* consumers that read at call time pick up live data without going async.
|
|
32
|
+
* Do not capture long-lived copies of the array contents.
|
|
33
|
+
*/
|
|
34
|
+
export declare const models: CatalogModel[];
|
|
333
35
|
/**
|
|
334
36
|
* Browser-safe presentation metadata for a curated Letta Code model preset.
|
|
335
37
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-catalog.d.ts","sourceRoot":"","sources":["../../../src/agent/model-catalog.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"model-catalog.d.ts","sourceRoot":"","sources":["../../../src/agent/model-catalog.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,EAAE,YAAY,EAAsB,CAAC;AAExD;;;;;;;;GAQG;AACH,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACzD;AAED;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,SAAS,WAAW,EAAW,CAAC;AAE5D;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAcnE;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAaxC"}
|
|
@@ -7,16 +7,28 @@
|
|
|
7
7
|
* creation payloads. Filesystem application of personalities lives in
|
|
8
8
|
* `personality.ts`.
|
|
9
9
|
*/
|
|
10
|
+
export type PersonalityAssetId = "tutor-profile";
|
|
11
|
+
export interface PersonalityDefaultMemoryFile {
|
|
12
|
+
path: string;
|
|
13
|
+
assetId: PersonalityAssetId;
|
|
14
|
+
commitMessage: string;
|
|
15
|
+
}
|
|
10
16
|
export interface PersonalityOption {
|
|
11
17
|
id: "blank" | "kawaii" | "codex" | "claude" | "linus" | "memo" | "tutorial";
|
|
12
18
|
label: string;
|
|
13
19
|
description: string;
|
|
14
20
|
/** Model ID from models.json to use when no explicit model is provided. */
|
|
15
21
|
defaultModel?: string;
|
|
22
|
+
/** Binary files seeded into MemFS after the initial checkout. */
|
|
23
|
+
defaultMemoryFiles?: readonly PersonalityDefaultMemoryFile[];
|
|
16
24
|
}
|
|
17
25
|
export declare const PERSONALITY_OPTIONS: PersonalityOption[];
|
|
18
26
|
export type PersonalityId = PersonalityOption["id"];
|
|
19
27
|
export type PersonalityEnvironment = "cloud" | "local";
|
|
28
|
+
export declare const PERSONALITY_TAG_PREFIX = "personality:";
|
|
29
|
+
export declare function buildPersonalityTag(personalityId: PersonalityId): string;
|
|
30
|
+
export declare function getPersonalityCreationTags(personalityId: PersonalityId): string[];
|
|
31
|
+
export declare function resolvePersonalityIdFromTags(tags: readonly string[] | null | undefined): PersonalityId | null;
|
|
20
32
|
export declare const DEFAULT_CREATE_AGENT_PERSONALITIES: readonly ["memo", "tutorial", "blank", "linus", "kawaii"];
|
|
21
33
|
export type DefaultCreateAgentPersonalityId = (typeof DEFAULT_CREATE_AGENT_PERSONALITIES)[number];
|
|
22
34
|
export interface PersonalityBlockDefinition {
|
|
@@ -31,6 +43,7 @@ export declare function normalizeComparableContent(content: string): string;
|
|
|
31
43
|
export declare function serializeFrontmatter(frontmatter: Record<string, string>): string;
|
|
32
44
|
export declare function buildDefaultMemoryFile(templatePromptAssetName: string, body: string, description?: string): string;
|
|
33
45
|
export declare function getPersonalityOption(personalityId: PersonalityId): PersonalityOption;
|
|
46
|
+
export declare function getPersonalityDefaultMemoryFiles(personalityId: PersonalityId): readonly PersonalityDefaultMemoryFile[];
|
|
34
47
|
export declare function resolvePersonalityId(input: string): PersonalityId | null;
|
|
35
48
|
export declare function getPersonalityContent(personalityId: PersonalityId): string;
|
|
36
49
|
export declare function getDefaultHumanContent(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"personality-presets.d.ts","sourceRoot":"","sources":["../../../src/agent/personality-presets.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"personality-presets.d.ts","sourceRoot":"","sources":["../../../src/agent/personality-presets.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAEjD,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,kBAAkB,CAAC;IAC5B,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,WAAW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1B"}
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
export { type BuildCreatedAgentTagsOptions, buildCreatedAgentTags, GIT_MEMORY_ENABLED_TAG, LETTA_CODE_ORIGIN_TAG, LETTA_CODE_SUBAGENT_TAG, ONBOARDING_ORIGIN_TAG, } from "./agent/agent-tags";
|
|
13
13
|
export { buildCreateAgentRequestForPersonality, type CreateAgentRequestForPersonality, DEFAULT_CREATED_AGENT_BASE_TOOLS, LETTA_CODE_AGENT_TYPE, } from "./agent/create-agent-request";
|
|
14
14
|
export { MODEL_PRESETS, type ModelPreset, } from "./agent/model-catalog";
|
|
15
|
-
export { DEFAULT_CREATE_AGENT_PERSONALITIES, type DefaultCreateAgentPersonalityId, getPersonalityOption, PERSONALITY_OPTIONS, type PersonalityId, type PersonalityMemoryBlock, type PersonalityOption, resolvePersonalityId, } from "./agent/personality-presets";
|
|
15
|
+
export { buildPersonalityTag, DEFAULT_CREATE_AGENT_PERSONALITIES, type DefaultCreateAgentPersonalityId, getPersonalityCreationTags, getPersonalityDefaultMemoryFiles, getPersonalityOption, PERSONALITY_OPTIONS, PERSONALITY_TAG_PREFIX, type PersonalityAssetId, type PersonalityDefaultMemoryFile, type PersonalityId, type PersonalityMemoryBlock, type PersonalityOption, resolvePersonalityId, resolvePersonalityIdFromTags, } from "./agent/personality-presets";
|
|
16
16
|
export { buildSystemPrompt, type MemoryPromptMode, } from "./agent/prompt-assets";
|
|
17
17
|
//# sourceMappingURL=agent-presets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-presets.d.ts","sourceRoot":"","sources":["../../src/agent-presets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,KAAK,4BAA4B,EACjC,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,qCAAqC,EACrC,KAAK,gCAAgC,EACrC,gCAAgC,EAChC,qBAAqB,GACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,aAAa,EACb,KAAK,WAAW,GACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,kCAAkC,EAClC,KAAK,+BAA+B,EACpC,oBAAoB,EACpB,mBAAmB,EACnB,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"agent-presets.d.ts","sourceRoot":"","sources":["../../src/agent-presets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,KAAK,4BAA4B,EACjC,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,qCAAqC,EACrC,KAAK,gCAAgC,EACrC,gCAAgC,EAChC,qBAAqB,GACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,aAAa,EACb,KAAK,WAAW,GACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,mBAAmB,EACnB,kCAAkC,EAClC,KAAK,+BAA+B,EACpC,0BAA0B,EAC1B,gCAAgC,EAChC,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,EACjB,KAAK,gBAAgB,GACtB,MAAM,uBAAuB,CAAC"}
|