@letta-ai/letta-code 0.7.4-next.3 → 0.7.4
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/letta.js +9 -2
- package/package.json +1 -1
package/letta.js
CHANGED
|
@@ -3233,7 +3233,7 @@ var package_default;
|
|
|
3233
3233
|
var init_package = __esm(() => {
|
|
3234
3234
|
package_default = {
|
|
3235
3235
|
name: "@letta-ai/letta-code",
|
|
3236
|
-
version: "0.7.4
|
|
3236
|
+
version: "0.7.4",
|
|
3237
3237
|
description: "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
|
|
3238
3238
|
type: "module",
|
|
3239
3239
|
bin: {
|
|
@@ -5630,6 +5630,7 @@ var init_letta_gemini = () => {};
|
|
|
5630
5630
|
var loaded_skills_default = `---
|
|
5631
5631
|
label: loaded_skills
|
|
5632
5632
|
description: A memory block to store the full instructions and capabilities from each loaded SKILL.md file in this block. Do not manually edit this block - use the Skill tool to load and unload skills.
|
|
5633
|
+
limit: 100000
|
|
5633
5634
|
---
|
|
5634
5635
|
|
|
5635
5636
|
[CURRENTLY EMPTY]
|
|
@@ -6132,6 +6133,12 @@ async function loadMemoryBlocksFromMdx() {
|
|
|
6132
6133
|
if (frontmatter.description) {
|
|
6133
6134
|
block.description = frontmatter.description;
|
|
6134
6135
|
}
|
|
6136
|
+
if (frontmatter.limit) {
|
|
6137
|
+
const limit2 = parseInt(frontmatter.limit, 10);
|
|
6138
|
+
if (!Number.isNaN(limit2) && limit2 > 0) {
|
|
6139
|
+
block.limit = limit2;
|
|
6140
|
+
}
|
|
6141
|
+
}
|
|
6135
6142
|
if (READ_ONLY_BLOCK_LABELS.includes(label)) {
|
|
6136
6143
|
block.read_only = true;
|
|
6137
6144
|
}
|
|
@@ -71599,4 +71606,4 @@ Error during initialization: ${message}`);
|
|
|
71599
71606
|
}
|
|
71600
71607
|
main();
|
|
71601
71608
|
|
|
71602
|
-
//# debugId=
|
|
71609
|
+
//# debugId=C61CAEB88F5B3A3364756E2164756E21
|