Skip to content

Commit 012cb31

Browse files
committed
Thank GOD! the response format isn't so insane now... yeah I have to update to it (a third time now) but I like it better
1 parent 13002b8 commit 012cb31

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/integration/run-command.test.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ describe("runCommand", () => {
99
// that's fine and to be expected... tests still pass...
1010
// TODO setup a way to bypass the error output for tests, unless troubleshooting the test
1111

12+
// TODO! update to latest format for responses, which makes way more sense to me:
13+
// https://modelcontextprotocol.io/specification/2025-06-18/basic/index
14+
//
15+
// jsonrpc: "2.0";
16+
// id: string | number;
17+
// result?: {
18+
// [key: string]: unknown;
19+
// }
20+
// error?: {
21+
// code: number;
22+
// message: string;
23+
// data?: unknown;
24+
// }
25+
//
26+
1227
describe("when command is successful", () => {
1328
const request = runCommand({
1429
command: "cat",

0 commit comments

Comments
 (0)