feat: add optional instructions field to server _oninitialize

This commit is contained in:
Kalvin Chau 2025-01-13 09:09:05 -08:00
commit 54472d2ae1

View file

@ -38,6 +38,7 @@ test("should accept latest protocol version", async () => {
name: "test server",
version: "1.0",
},
instructions: "Test instructions",
});
sendPromiseResolve(undefined);
}
@ -57,6 +58,7 @@ test("should accept latest protocol version", async () => {
tools: {},
logging: {},
},
instructions: "Test instructions",
},
);