Skip to content

Commit efda746

Browse files
author
linyuan.yang
committed
支持 sse
1 parent 30930d5 commit efda746

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

packages/sbot.commons/src/settings.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,14 @@ export interface McpBuiltin {
126126
description?: string
127127
}
128128

129+
export enum McpTransport {
130+
Http = 'http',
131+
Sse = 'sse',
132+
Stdio = 'stdio',
133+
}
134+
129135
export interface McpEntry {
130-
type: string
136+
type: McpTransport
131137
url?: string
132138
headers?: Record<string, string>
133139
command?: string

0 commit comments

Comments
 (0)