veryfront 0.1.536 → 0.1.538

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.
@@ -188,12 +188,12 @@ function normalizeCallToolResult(result) {
188
188
  const rawContent = result.content;
189
189
  if (Array.isArray(rawContent)) {
190
190
  const text = joinCallToolText(rawContent.filter((item) => isRecord(item)));
191
- if (hasToolExecutionErrorMarker(result)) {
192
- return parseJsonText(text) ?? { error: "tool_error", message: text };
193
- }
194
191
  if ("structuredContent" in result) {
195
192
  return result.structuredContent;
196
193
  }
194
+ if (hasToolExecutionErrorMarker(result)) {
195
+ return parseJsonText(text) ?? { error: "tool_error", message: text };
196
+ }
197
197
  return parseJsonText(text) ?? text;
198
198
  }
199
199
  if ("structuredContent" in result) {
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.536";
1
+ export declare const VERSION = "0.1.538";
2
2
  //# sourceMappingURL=version-constant.d.ts.map
@@ -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.538";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veryfront",
3
- "version": "0.1.536",
3
+ "version": "0.1.538",
4
4
  "description": "The simplest way to build AI-powered apps",
5
5
  "keywords": [
6
6
  "react",