@tea-agent/loop-agent 0.16.1-beta.1 → 0.16.1-beta.2
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
CHANGED
|
@@ -243,11 +243,11 @@ export async function executeSingleSdkAttempt(options) {
|
|
|
243
243
|
thinking: modelConfig.thinking,
|
|
244
244
|
});
|
|
245
245
|
const unsubscribe = session.subscribe((event) => {
|
|
246
|
+
if (!shouldPersistSessionEvent(event))
|
|
247
|
+
return;
|
|
246
248
|
const line = serializeSessionEvent(event);
|
|
247
249
|
stdoutLines.push(line);
|
|
248
|
-
|
|
249
|
-
sessionEventAppender.append(line, event);
|
|
250
|
-
}
|
|
250
|
+
sessionEventAppender?.append(line, event);
|
|
251
251
|
});
|
|
252
252
|
const filePrefix = options.attachedFiles.map((file) => `@${file}`).join(' ');
|
|
253
253
|
const promptMessage = filePrefix
|