@nextclaw/ncp-toolkit 0.5.8 → 0.5.10
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.js +4 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -343,7 +343,8 @@ var DefaultNcpAgentConversationStateManager = class {
|
|
|
343
343
|
toolName: existingPart.toolName,
|
|
344
344
|
state: "result",
|
|
345
345
|
args: existingPart.args,
|
|
346
|
-
result: payload.content
|
|
346
|
+
result: payload.content,
|
|
347
|
+
resultContentItems: payload.contentItems
|
|
347
348
|
};
|
|
348
349
|
return upsertToolInvocationPart(targetMessage.parts, mergedPart);
|
|
349
350
|
})) {
|
|
@@ -353,7 +354,8 @@ var DefaultNcpAgentConversationStateManager = class {
|
|
|
353
354
|
toolCallId: payload.toolCallId,
|
|
354
355
|
toolName: "unknown",
|
|
355
356
|
state: "result",
|
|
356
|
-
result: payload.content
|
|
357
|
+
result: payload.content,
|
|
358
|
+
resultContentItems: payload.contentItems
|
|
357
359
|
});
|
|
358
360
|
this.replaceStreamingMessage({
|
|
359
361
|
...fallbackMessage,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/ncp-toolkit",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Toolkit implementations built on top of the NextClaw Communication Protocol.",
|
|
6
6
|
"type": "module",
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@nextclaw/ncp": "0.5.
|
|
18
|
+
"@nextclaw/ncp": "0.5.5"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "^20.17.6",
|
|
22
22
|
"prettier": "^3.3.3",
|
|
23
23
|
"typescript": "^5.6.3",
|
|
24
24
|
"vitest": "^4.1.2",
|
|
25
|
-
"@nextclaw/ncp-agent-runtime": "0.3.
|
|
25
|
+
"@nextclaw/ncp-agent-runtime": "0.3.15"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsdown src/index.ts --dts --clean --target es2022 --no-fixedExtension",
|