Skip to content

Commit 0e7c9cd

Browse files
committed
patch
1 parent 0d508e4 commit 0e7c9cd

3 files changed

Lines changed: 16 additions & 5 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agent-swarm-kit",
3-
"version": "1.1.150",
3+
"version": "1.1.151",
44
"description": "A TypeScript library for building orchestrated framework-agnostic multi-agent AI systems",
55
"author": {
66
"name": "Petr Tripolsky",

src/cli/dumpOutlineResult.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,19 @@ import beginContext from "../utils/beginContext";
1919
*/
2020
export const dumpOutlineResult = beginContext(
2121
async (result: IOutlineResult, outputDir = "./dump/outline") => {
22-
if (!result.isValid) {
23-
return;
22+
23+
{
24+
if (!result) {
25+
return;
26+
}
27+
28+
if (result.isValid === false) {
29+
return;
30+
}
31+
32+
if (!result.resultId) {
33+
return;
34+
}
2435
}
2536

2637
// Extract system messages and system reminders from existing data

0 commit comments

Comments
 (0)