@nextclaw/ncp-agent-runtime 0.3.0 → 0.3.2
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 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -762,6 +762,7 @@ var EchoNcpLLMApi = class {
|
|
|
762
762
|
|
|
763
763
|
// src/runtime.ts
|
|
764
764
|
import {
|
|
765
|
+
isHiddenNcpMessage,
|
|
765
766
|
NcpEventType as NcpEventType3
|
|
766
767
|
} from "@nextclaw/ncp";
|
|
767
768
|
|
|
@@ -1044,6 +1045,9 @@ var DefaultNcpAgentRuntime = class {
|
|
|
1044
1045
|
sessionMessages
|
|
1045
1046
|
});
|
|
1046
1047
|
for (const msg of input.messages) {
|
|
1048
|
+
if (isHiddenNcpMessage(msg)) {
|
|
1049
|
+
continue;
|
|
1050
|
+
}
|
|
1047
1051
|
const messageSent = {
|
|
1048
1052
|
type: NcpEventType3.MessageSent,
|
|
1049
1053
|
payload: { sessionId: input.sessionId, message: msg }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/ncp-agent-runtime",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Default agent runtime implementation built on NCP interfaces.",
|
|
6
6
|
"type": "module",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@nextclaw/ncp": "0.4.
|
|
18
|
+
"@nextclaw/ncp": "0.4.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/node": "^20.17.6",
|