fix: align session filters and Hopper verification

This commit is contained in:
N0zoM1z0
2026-07-20 17:33:25 +08:00
parent a2089a4067
commit d7d6bdf474
34 changed files with 196 additions and 103 deletions
+14 -10
View File
@@ -17,17 +17,21 @@ export interface ToolExample {
readonly input: Readonly<Record<string, JsonValue>>;
}
/** Canonical adapter families responsible for public MCP tools. */
export const TOOL_KINDS = [
"official-proxy",
"enhanced",
"native-provider",
"artifact-provider",
"managed-provider",
"browser-provider",
"electron-provider",
"application",
"session",
] as const;
/** Adapter family responsible for implementing a public MCP tool. */
type ToolKind =
| "official-proxy"
| "enhanced"
| "native-provider"
| "artifact-provider"
| "managed-provider"
| "browser-provider"
| "electron-provider"
| "application"
| "session";
export type ToolKind = (typeof TOOL_KINDS)[number];
/** Single source of truth for a public MCP tool. */
export interface ToolContract<Name extends string = string> {