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.
- package/esm/cli/templates/manifest.d.ts +405 -405
- package/esm/cli/templates/manifest.js +454 -454
- package/esm/deno.d.ts +1 -0
- package/esm/deno.js +5 -4
- package/esm/extensions/ext-sandbox-shell-tools/src/index.d.ts.map +1 -1
- package/esm/extensions/ext-sandbox-shell-tools/src/index.js +3 -1
- package/esm/src/agent/runtime/provider-tool-compat.d.ts.map +1 -1
- package/esm/src/agent/runtime/provider-tool-compat.js +39 -2
- package/esm/src/agent/runtime/text-generation-runtime-message-converter.d.ts.map +1 -1
- package/esm/src/agent/runtime/text-generation-runtime-message-converter.js +15 -0
- package/esm/src/server/dev-ui/manifest.d.ts +17 -17
- package/esm/src/server/dev-ui/manifest.js +17 -17
- package/esm/src/tool/remote-mcp.js +3 -3
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/package.json +1 -1
- package/src/cli/templates/manifest.js +454 -454
- package/src/deno.js +5 -4
- package/src/extensions/ext-sandbox-shell-tools/src/index.ts +3 -1
- package/src/src/agent/runtime/provider-tool-compat.ts +48 -2
- package/src/src/agent/runtime/text-generation-runtime-message-converter.ts +18 -0
- package/src/src/server/dev-ui/manifest.js +17 -17
- package/src/src/tool/remote-mcp.ts +4 -4
- package/src/src/utils/version-constant.ts +1 -1
|
@@ -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.
|
|
1
|
+
export declare const VERSION = "0.1.538";
|
|
2
2
|
//# sourceMappingURL=version-constant.d.ts.map
|