@nextclaw/ncp-react 0.4.29 → 0.4.30
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 +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -154,7 +154,7 @@ function useNcpAgentRuntime({ sessionId, client, manager }) {
|
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
const abort = async () => {
|
|
157
|
-
if (!
|
|
157
|
+
if (!sessionId) return;
|
|
158
158
|
await client.abort({ sessionId });
|
|
159
159
|
};
|
|
160
160
|
const streamRun = async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/ncp-react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.30",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "React bindings for building NCP-based agent applications.",
|
|
6
6
|
"type": "module",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@nextclaw/ncp": "0.5.
|
|
19
|
-
"@nextclaw/ncp-toolkit": "0.5.
|
|
18
|
+
"@nextclaw/ncp": "0.5.10",
|
|
19
|
+
"@nextclaw/ncp-toolkit": "0.5.15"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": "^18.0.0 || ^19.0.0"
|