@peer-agent/runtime-core 0.1.0-beta.3 → 0.1.0-beta.5

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.
@@ -319,7 +319,7 @@ function assistantMessages(message) {
319
319
  });
320
320
  projected.push({
321
321
  role: 'tool',
322
- content: typeof segment.result === 'string' ? segment.result : String(segment.result ?? ''),
322
+ content: typeof segment.result === 'string' ? segment.result : segment.result == null ? '' : safeJson(segment.result),
323
323
  toolCallId: id,
324
324
  name,
325
325
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peer-agent/runtime-core",
3
- "version": "0.1.0-beta.3",
3
+ "version": "0.1.0-beta.5",
4
4
  "description": "Host-neutral capability, permission, projection, and Evidence primitives for Peer Agent runtimes.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  "LICENSE"
39
39
  ],
40
40
  "dependencies": {
41
- "@peer-agent/protocol": "0.1.0-beta.3"
41
+ "@peer-agent/protocol": "0.1.0-beta.5"
42
42
  },
43
43
  "devDependencies": {
44
44
  "typescript": "^5.9.3"