feat(skill-mcp): add scope field to connection types
This commit is contained in:
@@ -3,6 +3,7 @@ import type { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdi
|
|||||||
import type { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
|
import type { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
|
||||||
import type { ClaudeCodeMcpServer } from "../claude-code-mcp-loader/types"
|
import type { ClaudeCodeMcpServer } from "../claude-code-mcp-loader/types"
|
||||||
import type { McpOAuthProvider } from "../mcp-oauth/provider"
|
import type { McpOAuthProvider } from "../mcp-oauth/provider"
|
||||||
|
import type { SkillScope } from "../opencode-skill-loader/types"
|
||||||
|
|
||||||
export type SkillMcpConfig = Record<string, ClaudeCodeMcpServer>
|
export type SkillMcpConfig = Record<string, ClaudeCodeMcpServer>
|
||||||
|
|
||||||
@@ -10,6 +11,7 @@ export interface SkillMcpClientInfo {
|
|||||||
serverName: string
|
serverName: string
|
||||||
skillName: string
|
skillName: string
|
||||||
sessionID: string
|
sessionID: string
|
||||||
|
scope?: SkillScope
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SkillMcpServerContext {
|
export interface SkillMcpServerContext {
|
||||||
|
|||||||
Reference in New Issue
Block a user