@nine-lab/nine-mu 0.1.255 β 0.1.257
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/package.json
CHANGED
|
@@ -44,7 +44,7 @@ export class NineChatManager {
|
|
|
44
44
|
|
|
45
45
|
//trace.log(this.#mcpClient);
|
|
46
46
|
|
|
47
|
-
this.#mcpClient.connect(transport, {timeout:
|
|
47
|
+
this.#mcpClient.connect(transport, {timeout: 3000000})
|
|
48
48
|
.then( async () => {
|
|
49
49
|
this.#updateStatus("β
MCP Connected");
|
|
50
50
|
|
|
@@ -68,7 +68,7 @@ export class NineChatManager {
|
|
|
68
68
|
data: z.any().optional()
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
|
-
|
|
71
|
+
//
|
|
72
72
|
this.#mcpClient.setNotificationHandler(
|
|
73
73
|
customNotificationSchema, // π κ»λ°κΈ° ν΅κ³Όμ© 컀μ€ν
μ€ν€λ§
|
|
74
74
|
(notification) => {
|
|
@@ -114,7 +114,7 @@ export class NineChatManager {
|
|
|
114
114
|
return this.#mcpClient.callTool(
|
|
115
115
|
{ name: toolName, arguments: args },
|
|
116
116
|
undefined, // νμ μ extra λ³μ μ리 (κΈ°λ³Έκ° undefined)
|
|
117
|
-
{ timeout:
|
|
117
|
+
{ timeout: 3000000 } // π‘ κ°λ³ μμ² νμμμμ 5λΆμΌλ‘ νμ₯
|
|
118
118
|
);
|
|
119
119
|
}
|
|
120
120
|
|