veryfront 0.1.536 → 0.1.537

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.
@@ -278,14 +278,14 @@ function normalizeCallToolResult(result: unknown): unknown {
278
278
  rawContent.filter((item): item is JsonRpcCallToolContentItem => isRecord(item)),
279
279
  );
280
280
 
281
- if (hasToolExecutionErrorMarker(result)) {
282
- return parseJsonText(text) ?? { error: "tool_error", message: text };
283
- }
284
-
285
281
  if ("structuredContent" in result) {
286
282
  return result.structuredContent;
287
283
  }
288
284
 
285
+ if (hasToolExecutionErrorMarker(result)) {
286
+ return parseJsonText(text) ?? { error: "tool_error", message: text };
287
+ }
288
+
289
289
  return parseJsonText(text) ?? text;
290
290
  }
291
291
 
@@ -1,3 +1,3 @@
1
1
  // Keep in sync with deno.json version.
2
2
  // scripts/release.ts updates this constant during releases.
3
- export const VERSION = "0.1.536";
3
+ export const VERSION = "0.1.537";