la-machina-engine 0.16.0 → 0.17.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/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -1
- package/dist/index.d.ts +39 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -8440,6 +8440,9 @@ ${lessons}`);
|
|
|
8440
8440
|
sections.push(options.base);
|
|
8441
8441
|
}
|
|
8442
8442
|
}
|
|
8443
|
+
if (options.platformAppend !== void 0 && options.platformAppend.length > 0) {
|
|
8444
|
+
sections.push(options.platformAppend);
|
|
8445
|
+
}
|
|
8443
8446
|
return sections.join("\n\n");
|
|
8444
8447
|
}
|
|
8445
8448
|
async function collectSkills(storage, skillsDir) {
|
|
@@ -11351,6 +11354,7 @@ var Engine = class {
|
|
|
11351
11354
|
let systemPrompt = await buildSystemPrompt({
|
|
11352
11355
|
...coordinatorBase !== void 0 ? { base: coordinatorBase } : {},
|
|
11353
11356
|
...options.systemPromptBase !== void 0 ? { staticBase: options.systemPromptBase } : {},
|
|
11357
|
+
...options.systemPromptAppend !== void 0 && options.systemPromptAppend.length > 0 ? { platformAppend: options.systemPromptAppend } : {},
|
|
11354
11358
|
memory,
|
|
11355
11359
|
storage,
|
|
11356
11360
|
// When an override was supplied, skip the legacy disk-scan path.
|
|
@@ -11555,6 +11559,7 @@ var Engine = class {
|
|
|
11555
11559
|
let systemPrompt = await buildSystemPrompt({
|
|
11556
11560
|
...coordinatorBase !== void 0 ? { base: coordinatorBase } : {},
|
|
11557
11561
|
...options.systemPromptBase !== void 0 ? { staticBase: options.systemPromptBase } : {},
|
|
11562
|
+
...options.systemPromptAppend !== void 0 && options.systemPromptAppend.length > 0 ? { platformAppend: options.systemPromptAppend } : {},
|
|
11558
11563
|
memory,
|
|
11559
11564
|
storage,
|
|
11560
11565
|
// When an override was supplied, skip the legacy disk-scan path.
|