@opperai/agents 0.5.0 → 0.6.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 CHANGED
@@ -1655,7 +1655,7 @@ var mergeSchemaDefaults = (schema, value) => {
1655
1655
 
1656
1656
  // package.json
1657
1657
  var package_default = {
1658
- version: "0.5.0"};
1658
+ version: "0.6.0"};
1659
1659
 
1660
1660
  // src/utils/version.ts
1661
1661
  var SDK_NAME = "@opperai/agents";
@@ -2566,7 +2566,7 @@ The memory you write persists across all process() calls on this agent.`;
2566
2566
  };
2567
2567
  });
2568
2568
  const executionHistory = context.getLastNCycles(3).map((cycle) => {
2569
- const thought = typeof cycle.thought === "object" && cycle.thought !== null ? cycle.thought["reasoning"] || "" : String(cycle.thought || "");
2569
+ const thought = typeof cycle.thought === "object" && cycle.thought !== null ? cycle.thought.reasoning || "" : String(cycle.thought || "");
2570
2570
  const results = Array.isArray(cycle.results) ? cycle.results.map((r) => {
2571
2571
  const result = r;
2572
2572
  let actualOutput = result.output;