- ) : (
-
-
- Select a tool from the list to view its details and run it
-
-
- )}
-
-
-
- );
-};
-
-export default ToolsTab;
diff --git a/client/src/components/ui/alert.tsx b/client/src/components/ui/alert.tsx
deleted file mode 100644
index 5afd41d..0000000
--- a/client/src/components/ui/alert.tsx
+++ /dev/null
@@ -1,59 +0,0 @@
-import * as React from "react"
-import { cva, type VariantProps } from "class-variance-authority"
-
-import { cn } from "@/lib/utils"
-
-const alertVariants = cva(
- "relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
- {
- variants: {
- variant: {
- default: "bg-background text-foreground",
- destructive:
- "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive",
- },
- },
- defaultVariants: {
- variant: "default",
- },
- }
-)
-
-const Alert = React.forwardRef<
- HTMLDivElement,
- React.HTMLAttributes & VariantProps
->(({ className, variant, ...props }, ref) => (
-
-))
-Alert.displayName = "Alert"
-
-const AlertTitle = React.forwardRef<
- HTMLParagraphElement,
- React.HTMLAttributes
->(({ className, ...props }, ref) => (
-
-))
-AlertTitle.displayName = "AlertTitle"
-
-const AlertDescription = React.forwardRef<
- HTMLParagraphElement,
- React.HTMLAttributes
->(({ className, ...props }, ref) => (
-
-))
-AlertDescription.displayName = "AlertDescription"
-
-export { Alert, AlertTitle, AlertDescription }
diff --git a/client/src/components/ui/button.tsx b/client/src/components/ui/button.tsx
deleted file mode 100644
index 0270f64..0000000
--- a/client/src/components/ui/button.tsx
+++ /dev/null
@@ -1,57 +0,0 @@
-import * as React from "react"
-import { Slot } from "@radix-ui/react-slot"
-import { cva, type VariantProps } from "class-variance-authority"
-
-import { cn } from "@/lib/utils"
-
-const buttonVariants = cva(
- "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
- {
- variants: {
- variant: {
- default:
- "bg-primary text-primary-foreground shadow hover:bg-primary/90",
- destructive:
- "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
- outline:
- "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
- secondary:
- "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
- ghost: "hover:bg-accent hover:text-accent-foreground",
- link: "text-primary underline-offset-4 hover:underline",
- },
- size: {
- default: "h-9 px-4 py-2",
- sm: "h-8 rounded-md px-3 text-xs",
- lg: "h-10 rounded-md px-8",
- icon: "h-9 w-9",
- },
- },
- defaultVariants: {
- variant: "default",
- size: "default",
- },
- }
-)
-
-export interface ButtonProps
- extends React.ButtonHTMLAttributes,
- VariantProps {
- asChild?: boolean
-}
-
-const Button = React.forwardRef(
- ({ className, variant, size, asChild = false, ...props }, ref) => {
- const Comp = asChild ? Slot : "button"
- return (
-
- )
- }
-)
-Button.displayName = "Button"
-
-export { Button, buttonVariants }
diff --git a/client/src/components/ui/input.tsx b/client/src/components/ui/input.tsx
deleted file mode 100644
index 5af26b2..0000000
--- a/client/src/components/ui/input.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import * as React from "react"
-
-import { cn } from "@/lib/utils"
-
-export interface InputProps
- extends React.InputHTMLAttributes {}
-
-const Input = React.forwardRef(
- ({ className, type, ...props }, ref) => {
- return (
-
- )
- }
-)
-Input.displayName = "Input"
-
-export { Input }
diff --git a/client/src/components/ui/label.tsx b/client/src/components/ui/label.tsx
deleted file mode 100644
index 683faa7..0000000
--- a/client/src/components/ui/label.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import * as React from "react"
-import * as LabelPrimitive from "@radix-ui/react-label"
-import { cva, type VariantProps } from "class-variance-authority"
-
-import { cn } from "@/lib/utils"
-
-const labelVariants = cva(
- "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
-)
-
-const Label = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef &
- VariantProps
->(({ className, ...props }, ref) => (
-
-))
-Label.displayName = LabelPrimitive.Root.displayName
-
-export { Label }
diff --git a/client/src/components/ui/select.tsx b/client/src/components/ui/select.tsx
deleted file mode 100644
index cdfb8ce..0000000
--- a/client/src/components/ui/select.tsx
+++ /dev/null
@@ -1,162 +0,0 @@
-import * as React from "react"
-import {
- CaretSortIcon,
- CheckIcon,
- ChevronDownIcon,
- ChevronUpIcon,
-} from "@radix-ui/react-icons"
-import * as SelectPrimitive from "@radix-ui/react-select"
-
-import { cn } from "@/lib/utils"
-
-const Select = SelectPrimitive.Root
-
-const SelectGroup = SelectPrimitive.Group
-
-const SelectValue = SelectPrimitive.Value
-
-const SelectTrigger = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, children, ...props }, ref) => (
- span]:line-clamp-1",
- className
- )}
- {...props}
- >
- {children}
-
-
-
-
-))
-SelectTrigger.displayName = SelectPrimitive.Trigger.displayName
-
-const SelectScrollUpButton = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-
-
-))
-SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName
-
-const SelectScrollDownButton = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-
-
-))
-SelectScrollDownButton.displayName =
- SelectPrimitive.ScrollDownButton.displayName
-
-const SelectContent = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, children, position = "popper", ...props }, ref) => (
-
-
-
-
- {children}
-
-
-
-
-))
-SelectContent.displayName = SelectPrimitive.Content.displayName
-
-const SelectLabel = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-SelectLabel.displayName = SelectPrimitive.Label.displayName
-
-const SelectItem = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, children, ...props }, ref) => (
-
-
-
-
-
-
- {children}
-
-))
-SelectItem.displayName = SelectPrimitive.Item.displayName
-
-const SelectSeparator = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-SelectSeparator.displayName = SelectPrimitive.Separator.displayName
-
-export {
- Select,
- SelectGroup,
- SelectValue,
- SelectTrigger,
- SelectContent,
- SelectLabel,
- SelectItem,
- SelectSeparator,
- SelectScrollUpButton,
- SelectScrollDownButton,
-}
diff --git a/client/src/components/ui/tabs.tsx b/client/src/components/ui/tabs.tsx
deleted file mode 100644
index 85d83be..0000000
--- a/client/src/components/ui/tabs.tsx
+++ /dev/null
@@ -1,53 +0,0 @@
-import * as React from "react"
-import * as TabsPrimitive from "@radix-ui/react-tabs"
-
-import { cn } from "@/lib/utils"
-
-const Tabs = TabsPrimitive.Root
-
-const TabsList = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-TabsList.displayName = TabsPrimitive.List.displayName
-
-const TabsTrigger = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-TabsTrigger.displayName = TabsPrimitive.Trigger.displayName
-
-const TabsContent = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-TabsContent.displayName = TabsPrimitive.Content.displayName
-
-export { Tabs, TabsList, TabsTrigger, TabsContent }
diff --git a/client/src/components/ui/textarea.tsx b/client/src/components/ui/textarea.tsx
deleted file mode 100644
index d1258e4..0000000
--- a/client/src/components/ui/textarea.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import * as React from "react"
-
-import { cn } from "@/lib/utils"
-
-export interface TextareaProps
- extends React.TextareaHTMLAttributes {}
-
-const Textarea = React.forwardRef(
- ({ className, ...props }, ref) => {
- return (
-
- )
- }
-)
-Textarea.displayName = "Textarea"
-
-export { Textarea }
diff --git a/client/src/index.css b/client/src/index.css
deleted file mode 100644
index 9983868..0000000
--- a/client/src/index.css
+++ /dev/null
@@ -1,136 +0,0 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
-
-:root {
- font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
- line-height: 1.5;
- font-weight: 400;
-
- color-scheme: light dark;
- color: rgba(255, 255, 255, 0.87);
- background-color: #242424;
-
- font-synthesis: none;
- text-rendering: optimizeLegibility;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-a {
- font-weight: 500;
- color: #646cff;
- text-decoration: inherit;
-}
-a:hover {
- color: #535bf2;
-}
-
-body {
- margin: 0;
- place-items: center;
- min-width: 320px;
- min-height: 100vh;
-}
-
-h1 {
- font-size: 3.2em;
- line-height: 1.1;
-}
-
-button {
- border-radius: 8px;
- border: 1px solid transparent;
- padding: 0.6em 1.2em;
- font-size: 1em;
- font-weight: 500;
- font-family: inherit;
- background-color: #1a1a1a;
- cursor: pointer;
- transition: border-color 0.25s;
-}
-button:hover {
- border-color: #646cff;
-}
-button:focus,
-button:focus-visible {
- outline: 4px auto -webkit-focus-ring-color;
-}
-
-@media (prefers-color-scheme: light) {
- :root {
- color: #213547;
- background-color: #ffffff;
- }
- a:hover {
- color: #747bff;
- }
- button {
- background-color: #f9f9f9;
- }
-}
-
-@layer base {
- :root {
- --background: 0 0% 100%;
- --foreground: 222.2 84% 4.9%;
- --card: 0 0% 100%;
- --card-foreground: 222.2 84% 4.9%;
- --popover: 0 0% 100%;
- --popover-foreground: 222.2 84% 4.9%;
- --primary: 222.2 47.4% 11.2%;
- --primary-foreground: 210 40% 98%;
- --secondary: 210 40% 96.1%;
- --secondary-foreground: 222.2 47.4% 11.2%;
- --muted: 210 40% 96.1%;
- --muted-foreground: 215.4 16.3% 46.9%;
- --accent: 210 40% 96.1%;
- --accent-foreground: 222.2 47.4% 11.2%;
- --destructive: 0 84.2% 60.2%;
- --destructive-foreground: 210 40% 98%;
- --border: 214.3 31.8% 91.4%;
- --input: 214.3 31.8% 91.4%;
- --ring: 222.2 84% 4.9%;
- --chart-1: 12 76% 61%;
- --chart-2: 173 58% 39%;
- --chart-3: 197 37% 24%;
- --chart-4: 43 74% 66%;
- --chart-5: 27 87% 67%;
- --radius: 0.5rem;
- }
- .dark {
- --background: 222.2 84% 4.9%;
- --foreground: 210 40% 98%;
- --card: 222.2 84% 4.9%;
- --card-foreground: 210 40% 98%;
- --popover: 222.2 84% 4.9%;
- --popover-foreground: 210 40% 98%;
- --primary: 210 40% 98%;
- --primary-foreground: 222.2 47.4% 11.2%;
- --secondary: 217.2 32.6% 17.5%;
- --secondary-foreground: 210 40% 98%;
- --muted: 217.2 32.6% 17.5%;
- --muted-foreground: 215 20.2% 65.1%;
- --accent: 217.2 32.6% 17.5%;
- --accent-foreground: 210 40% 98%;
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 210 40% 98%;
- --border: 217.2 32.6% 17.5%;
- --input: 217.2 32.6% 17.5%;
- --ring: 212.7 26.8% 83.9%;
- --chart-1: 220 70% 50%;
- --chart-2: 160 60% 45%;
- --chart-3: 30 80% 55%;
- --chart-4: 280 65% 60%;
- --chart-5: 340 75% 55%;
- }
-}
-
-@layer base {
- * {
- @apply border-border;
- }
- body {
- @apply bg-background text-foreground;
- }
-}
diff --git a/client/src/lib/utils.ts b/client/src/lib/utils.ts
deleted file mode 100644
index bd0c391..0000000
--- a/client/src/lib/utils.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { clsx, type ClassValue } from "clsx"
-import { twMerge } from "tailwind-merge"
-
-export function cn(...inputs: ClassValue[]) {
- return twMerge(clsx(inputs))
-}
diff --git a/client/src/main.tsx b/client/src/main.tsx
deleted file mode 100644
index ef474bf..0000000
--- a/client/src/main.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-import { StrictMode } from "react";
-import { createRoot } from "react-dom/client";
-import App from "./App.tsx";
-import "./index.css";
-
-createRoot(document.getElementById("root")!).render(
-
-
- ,
-);
diff --git a/client/src/vite-env.d.ts b/client/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe..0000000
--- a/client/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-///
diff --git a/client/tailwind.config.js b/client/tailwind.config.js
deleted file mode 100644
index 66dd4b7..0000000
--- a/client/tailwind.config.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/** @type {import('tailwindcss').Config} */
-export default {
- darkMode: ["class"],
- content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
- theme: {
- extend: {
- borderRadius: {
- lg: "var(--radius)",
- md: "calc(var(--radius) - 2px)",
- sm: "calc(var(--radius) - 4px)",
- },
- colors: {
- background: "hsl(var(--background))",
- foreground: "hsl(var(--foreground))",
- card: {
- DEFAULT: "hsl(var(--card))",
- foreground: "hsl(var(--card-foreground))",
- },
- popover: {
- DEFAULT: "hsl(var(--popover))",
- foreground: "hsl(var(--popover-foreground))",
- },
- primary: {
- DEFAULT: "hsl(var(--primary))",
- foreground: "hsl(var(--primary-foreground))",
- },
- secondary: {
- DEFAULT: "hsl(var(--secondary))",
- foreground: "hsl(var(--secondary-foreground))",
- },
- muted: {
- DEFAULT: "hsl(var(--muted))",
- foreground: "hsl(var(--muted-foreground))",
- },
- accent: {
- DEFAULT: "hsl(var(--accent))",
- foreground: "hsl(var(--accent-foreground))",
- },
- destructive: {
- DEFAULT: "hsl(var(--destructive))",
- foreground: "hsl(var(--destructive-foreground))",
- },
- border: "hsl(var(--border))",
- input: "hsl(var(--input))",
- ring: "hsl(var(--ring))",
- chart: {
- 1: "hsl(var(--chart-1))",
- 2: "hsl(var(--chart-2))",
- 3: "hsl(var(--chart-3))",
- 4: "hsl(var(--chart-4))",
- 5: "hsl(var(--chart-5))",
- },
- },
- },
- },
- plugins: [require("tailwindcss-animate")],
-};
diff --git a/client/tsconfig.app.json b/client/tsconfig.app.json
deleted file mode 100644
index c20b1ea..0000000
--- a/client/tsconfig.app.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "compilerOptions": {
- "baseUrl": ".",
- "paths": {
- "@/*": [
- "./src/*"
- ]
- },
-
- "target": "ES2020",
- "useDefineForClassFields": true,
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
- "module": "ESNext",
- "skipLibCheck": true,
-
- /* Bundler mode */
- "moduleResolution": "bundler",
- "allowImportingTsExtensions": true,
- "isolatedModules": true,
- "moduleDetection": "force",
- "noEmit": true,
- "jsx": "react-jsx",
-
- /* Linting */
- "strict": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "noFallthroughCasesInSwitch": true
- },
- "include": ["src"]
-}
diff --git a/client/tsconfig.json b/client/tsconfig.json
deleted file mode 100644
index fec8c8e..0000000
--- a/client/tsconfig.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "files": [],
- "references": [
- { "path": "./tsconfig.app.json" },
- { "path": "./tsconfig.node.json" }
- ],
- "compilerOptions": {
- "baseUrl": ".",
- "paths": {
- "@/*": ["./src/*"]
- }
- }
-}
diff --git a/client/tsconfig.node.json b/client/tsconfig.node.json
deleted file mode 100644
index 0d3d714..0000000
--- a/client/tsconfig.node.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "compilerOptions": {
- "target": "ES2022",
- "lib": ["ES2023"],
- "module": "ESNext",
- "skipLibCheck": true,
-
- /* Bundler mode */
- "moduleResolution": "bundler",
- "allowImportingTsExtensions": true,
- "isolatedModules": true,
- "moduleDetection": "force",
- "noEmit": true,
-
- /* Linting */
- "strict": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "noFallthroughCasesInSwitch": true
- },
- "include": ["vite.config.ts"]
-}
diff --git a/client/tsconfig.node.tsbuildinfo b/client/tsconfig.node.tsbuildinfo
deleted file mode 100644
index 98ef2f9..0000000
--- a/client/tsconfig.node.tsbuildinfo
+++ /dev/null
@@ -1 +0,0 @@
-{"root":["./vite.config.ts"],"version":"5.6.2"}
\ No newline at end of file
diff --git a/client/vite.config.ts b/client/vite.config.ts
deleted file mode 100644
index 89ca765..0000000
--- a/client/vite.config.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import path from "path";
-import { defineConfig } from "vite";
-import react from "@vitejs/plugin-react";
-
-// https://vitejs.dev/config/
-export default defineConfig({
- plugins: [react()],
- resolve: {
- alias: {
- "@": path.resolve(__dirname, "./src"),
- },
- },
-});
diff --git a/packages/mcp-typescript/dist/cli.d.ts b/dist/cli.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/cli.d.ts
rename to dist/cli.d.ts
diff --git a/packages/mcp-typescript/dist/cli.d.ts.map b/dist/cli.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/cli.d.ts.map
rename to dist/cli.d.ts.map
diff --git a/packages/mcp-typescript/dist/cli.js b/dist/cli.js
similarity index 100%
rename from packages/mcp-typescript/dist/cli.js
rename to dist/cli.js
diff --git a/packages/mcp-typescript/dist/cli.js.map b/dist/cli.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/cli.js.map
rename to dist/cli.js.map
diff --git a/packages/mcp-typescript/dist/client/index.d.ts b/dist/client/index.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/client/index.d.ts
rename to dist/client/index.d.ts
diff --git a/packages/mcp-typescript/dist/client/index.d.ts.map b/dist/client/index.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/client/index.d.ts.map
rename to dist/client/index.d.ts.map
diff --git a/packages/mcp-typescript/dist/client/index.js b/dist/client/index.js
similarity index 100%
rename from packages/mcp-typescript/dist/client/index.js
rename to dist/client/index.js
diff --git a/packages/mcp-typescript/dist/client/index.js.map b/dist/client/index.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/client/index.js.map
rename to dist/client/index.js.map
diff --git a/packages/mcp-typescript/dist/client/sse.d.ts b/dist/client/sse.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/client/sse.d.ts
rename to dist/client/sse.d.ts
diff --git a/packages/mcp-typescript/dist/client/sse.d.ts.map b/dist/client/sse.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/client/sse.d.ts.map
rename to dist/client/sse.d.ts.map
diff --git a/packages/mcp-typescript/dist/client/sse.js b/dist/client/sse.js
similarity index 100%
rename from packages/mcp-typescript/dist/client/sse.js
rename to dist/client/sse.js
diff --git a/packages/mcp-typescript/dist/client/sse.js.map b/dist/client/sse.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/client/sse.js.map
rename to dist/client/sse.js.map
diff --git a/packages/mcp-typescript/dist/client/stdio.d.ts b/dist/client/stdio.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/client/stdio.d.ts
rename to dist/client/stdio.d.ts
diff --git a/packages/mcp-typescript/dist/client/stdio.d.ts.map b/dist/client/stdio.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/client/stdio.d.ts.map
rename to dist/client/stdio.d.ts.map
diff --git a/packages/mcp-typescript/dist/client/stdio.js b/dist/client/stdio.js
similarity index 100%
rename from packages/mcp-typescript/dist/client/stdio.js
rename to dist/client/stdio.js
diff --git a/packages/mcp-typescript/dist/client/stdio.js.map b/dist/client/stdio.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/client/stdio.js.map
rename to dist/client/stdio.js.map
diff --git a/packages/mcp-typescript/dist/client/stdio.test.d.ts b/dist/client/stdio.test.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/client/stdio.test.d.ts
rename to dist/client/stdio.test.d.ts
diff --git a/packages/mcp-typescript/dist/client/stdio.test.d.ts.map b/dist/client/stdio.test.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/client/stdio.test.d.ts.map
rename to dist/client/stdio.test.d.ts.map
diff --git a/packages/mcp-typescript/dist/client/stdio.test.js b/dist/client/stdio.test.js
similarity index 100%
rename from packages/mcp-typescript/dist/client/stdio.test.js
rename to dist/client/stdio.test.js
diff --git a/packages/mcp-typescript/dist/client/stdio.test.js.map b/dist/client/stdio.test.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/client/stdio.test.js.map
rename to dist/client/stdio.test.js.map
diff --git a/packages/mcp-typescript/dist/client/websocket.d.ts b/dist/client/websocket.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/client/websocket.d.ts
rename to dist/client/websocket.d.ts
diff --git a/packages/mcp-typescript/dist/client/websocket.d.ts.map b/dist/client/websocket.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/client/websocket.d.ts.map
rename to dist/client/websocket.d.ts.map
diff --git a/packages/mcp-typescript/dist/client/websocket.js b/dist/client/websocket.js
similarity index 100%
rename from packages/mcp-typescript/dist/client/websocket.js
rename to dist/client/websocket.js
diff --git a/packages/mcp-typescript/dist/client/websocket.js.map b/dist/client/websocket.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/client/websocket.js.map
rename to dist/client/websocket.js.map
diff --git a/packages/mcp-typescript/dist/server/index.d.ts b/dist/server/index.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/server/index.d.ts
rename to dist/server/index.d.ts
diff --git a/packages/mcp-typescript/dist/server/index.d.ts.map b/dist/server/index.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/server/index.d.ts.map
rename to dist/server/index.d.ts.map
diff --git a/packages/mcp-typescript/dist/server/index.js b/dist/server/index.js
similarity index 100%
rename from packages/mcp-typescript/dist/server/index.js
rename to dist/server/index.js
diff --git a/packages/mcp-typescript/dist/server/index.js.map b/dist/server/index.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/server/index.js.map
rename to dist/server/index.js.map
diff --git a/packages/mcp-typescript/dist/server/sse.d.ts b/dist/server/sse.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/server/sse.d.ts
rename to dist/server/sse.d.ts
diff --git a/packages/mcp-typescript/dist/server/sse.d.ts.map b/dist/server/sse.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/server/sse.d.ts.map
rename to dist/server/sse.d.ts.map
diff --git a/packages/mcp-typescript/dist/server/sse.js b/dist/server/sse.js
similarity index 100%
rename from packages/mcp-typescript/dist/server/sse.js
rename to dist/server/sse.js
diff --git a/packages/mcp-typescript/dist/server/sse.js.map b/dist/server/sse.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/server/sse.js.map
rename to dist/server/sse.js.map
diff --git a/packages/mcp-typescript/dist/server/stdio.d.ts b/dist/server/stdio.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/server/stdio.d.ts
rename to dist/server/stdio.d.ts
diff --git a/packages/mcp-typescript/dist/server/stdio.d.ts.map b/dist/server/stdio.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/server/stdio.d.ts.map
rename to dist/server/stdio.d.ts.map
diff --git a/packages/mcp-typescript/dist/server/stdio.js b/dist/server/stdio.js
similarity index 100%
rename from packages/mcp-typescript/dist/server/stdio.js
rename to dist/server/stdio.js
diff --git a/packages/mcp-typescript/dist/server/stdio.js.map b/dist/server/stdio.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/server/stdio.js.map
rename to dist/server/stdio.js.map
diff --git a/packages/mcp-typescript/dist/server/stdio.test.d.ts b/dist/server/stdio.test.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/server/stdio.test.d.ts
rename to dist/server/stdio.test.d.ts
diff --git a/packages/mcp-typescript/dist/server/stdio.test.d.ts.map b/dist/server/stdio.test.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/server/stdio.test.d.ts.map
rename to dist/server/stdio.test.d.ts.map
diff --git a/packages/mcp-typescript/dist/server/stdio.test.js b/dist/server/stdio.test.js
similarity index 100%
rename from packages/mcp-typescript/dist/server/stdio.test.js
rename to dist/server/stdio.test.js
diff --git a/packages/mcp-typescript/dist/server/stdio.test.js.map b/dist/server/stdio.test.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/server/stdio.test.js.map
rename to dist/server/stdio.test.js.map
diff --git a/packages/mcp-typescript/dist/shared/protocol.d.ts b/dist/shared/protocol.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/shared/protocol.d.ts
rename to dist/shared/protocol.d.ts
diff --git a/packages/mcp-typescript/dist/shared/protocol.d.ts.map b/dist/shared/protocol.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/shared/protocol.d.ts.map
rename to dist/shared/protocol.d.ts.map
diff --git a/packages/mcp-typescript/dist/shared/protocol.js b/dist/shared/protocol.js
similarity index 100%
rename from packages/mcp-typescript/dist/shared/protocol.js
rename to dist/shared/protocol.js
diff --git a/packages/mcp-typescript/dist/shared/protocol.js.map b/dist/shared/protocol.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/shared/protocol.js.map
rename to dist/shared/protocol.js.map
diff --git a/packages/mcp-typescript/dist/shared/stdio.d.ts b/dist/shared/stdio.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/shared/stdio.d.ts
rename to dist/shared/stdio.d.ts
diff --git a/packages/mcp-typescript/dist/shared/stdio.d.ts.map b/dist/shared/stdio.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/shared/stdio.d.ts.map
rename to dist/shared/stdio.d.ts.map
diff --git a/packages/mcp-typescript/dist/shared/stdio.js b/dist/shared/stdio.js
similarity index 100%
rename from packages/mcp-typescript/dist/shared/stdio.js
rename to dist/shared/stdio.js
diff --git a/packages/mcp-typescript/dist/shared/stdio.js.map b/dist/shared/stdio.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/shared/stdio.js.map
rename to dist/shared/stdio.js.map
diff --git a/packages/mcp-typescript/dist/shared/stdio.test.d.ts b/dist/shared/stdio.test.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/shared/stdio.test.d.ts
rename to dist/shared/stdio.test.d.ts
diff --git a/packages/mcp-typescript/dist/shared/stdio.test.d.ts.map b/dist/shared/stdio.test.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/shared/stdio.test.d.ts.map
rename to dist/shared/stdio.test.d.ts.map
diff --git a/packages/mcp-typescript/dist/shared/stdio.test.js b/dist/shared/stdio.test.js
similarity index 100%
rename from packages/mcp-typescript/dist/shared/stdio.test.js
rename to dist/shared/stdio.test.js
diff --git a/packages/mcp-typescript/dist/shared/stdio.test.js.map b/dist/shared/stdio.test.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/shared/stdio.test.js.map
rename to dist/shared/stdio.test.js.map
diff --git a/packages/mcp-typescript/dist/shared/transport.d.ts b/dist/shared/transport.d.ts
similarity index 100%
rename from packages/mcp-typescript/dist/shared/transport.d.ts
rename to dist/shared/transport.d.ts
diff --git a/packages/mcp-typescript/dist/shared/transport.d.ts.map b/dist/shared/transport.d.ts.map
similarity index 100%
rename from packages/mcp-typescript/dist/shared/transport.d.ts.map
rename to dist/shared/transport.d.ts.map
diff --git a/packages/mcp-typescript/dist/shared/transport.js b/dist/shared/transport.js
similarity index 100%
rename from packages/mcp-typescript/dist/shared/transport.js
rename to dist/shared/transport.js
diff --git a/packages/mcp-typescript/dist/shared/transport.js.map b/dist/shared/transport.js.map
similarity index 100%
rename from packages/mcp-typescript/dist/shared/transport.js.map
rename to dist/shared/transport.js.map
diff --git a/packages/mcp-typescript/dist/types.d.ts b/dist/types.d.ts
similarity index 69%
rename from packages/mcp-typescript/dist/types.d.ts
rename to dist/types.d.ts
index b590a63..3493780 100644
--- a/packages/mcp-typescript/dist/types.d.ts
+++ b/dist/types.d.ts
@@ -816,7 +816,24 @@ export declare const InitializeRequestSchema: z.ZodObject>>;
}, {
method: z.ZodLiteral<"initialize">;
- params: z.ZodObject<{
+ params: z.ZodObject>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
/**
* The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well.
*/
@@ -847,27 +864,103 @@ export declare const InitializeRequestSchema: z.ZodObject;
- }, "strip", z.ZodTypeAny, {
- protocolVersion: string | number;
- capabilities: {
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well.
+ */
+ protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
+ capabilities: z.ZodObject<{
+ /**
+ * Experimental, non-standard capabilities that the client supports.
+ */
+ experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
+ /**
+ * Present if the client supports sampling from an LLM.
+ */
+ sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
+ }, "strip", z.ZodTypeAny, {
experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
- };
- clientInfo: {
- name: string;
- version: string;
- };
- }, {
- protocolVersion: string | number;
- capabilities: {
+ }, {
experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
- };
- clientInfo: {
+ }>;
+ clientInfo: z.ZodObject<{
+ name: z.ZodString;
+ version: z.ZodString;
+ }, "strip", z.ZodTypeAny, {
name: string;
version: string;
- };
- }>;
+ }, {
+ name: string;
+ version: string;
+ }>;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well.
+ */
+ protocolVersion: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
+ capabilities: z.ZodObject<{
+ /**
+ * Experimental, non-standard capabilities that the client supports.
+ */
+ experimental: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
+ /**
+ * Present if the client supports sampling from an LLM.
+ */
+ sampling: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
+ }, "strip", z.ZodTypeAny, {
+ experimental?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
+ sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
+ }, {
+ experimental?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
+ sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
+ }>;
+ clientInfo: z.ZodObject<{
+ name: z.ZodString;
+ version: z.ZodString;
+ }, "strip", z.ZodTypeAny, {
+ name: string;
+ version: string;
+ }, {
+ name: string;
+ version: string;
+ }>;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, "strip", z.ZodTypeAny, {
params: {
protocolVersion: string | number;
@@ -879,6 +972,14 @@ export declare const InitializeRequestSchema: z.ZodObject>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "initialize";
}, {
@@ -892,6 +993,14 @@ export declare const InitializeRequestSchema: z.ZodObject>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "initialize";
}>;
@@ -1670,27 +1779,27 @@ export declare const ProgressNotificationSchema: z.ZodObject;
+ progressToken: z.ZodOptional>;
}>, "strip", z.ZodTypeAny, {
- progressToken: string | number;
progress: number;
+ progressToken?: string | number | undefined;
total?: number | undefined;
}, {
- progressToken: string | number;
progress: number;
+ progressToken?: string | number | undefined;
total?: number | undefined;
}>;
}>, "strip", z.ZodTypeAny, {
params: {
- progressToken: string | number;
progress: number;
+ progressToken?: string | number | undefined;
total?: number | undefined;
};
method: "notifications/progress";
}, {
params: {
- progressToken: string | number;
progress: number;
+ progressToken?: string | number | undefined;
total?: number | undefined;
};
method: "notifications/progress";
@@ -1750,27 +1859,102 @@ export declare const PaginatedRequestSchema: z.ZodObject>>;
}, z.ZodTypeAny, "passthrough">>>;
}, {
- params: z.ZodOptional>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
/**
* An opaque token representing the current pagination position.
* If provided, the server should return results starting after this cursor.
*/
cursor: z.ZodOptional;
- }, "strip", z.ZodTypeAny, {
- cursor?: string | undefined;
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
}, {
- cursor?: string | undefined;
- }>>;
+ /**
+ * An opaque token representing the current pagination position.
+ * If provided, the server should return results starting after this cursor.
+ */
+ cursor: z.ZodOptional;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * An opaque token representing the current pagination position.
+ * If provided, the server should return results starting after this cursor.
+ */
+ cursor: z.ZodOptional;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, "strip", z.ZodTypeAny, {
- method: string;
- params?: {
+ params: {
+ _meta?: z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
cursor?: string | undefined;
- } | undefined;
+ } & {
+ [k: string]: unknown;
+ };
+ method: string;
}, {
- method: string;
- params?: {
+ params: {
+ _meta?: z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
cursor?: string | undefined;
- } | undefined;
+ } & {
+ [k: string]: unknown;
+ };
+ method: string;
}>;
export declare const PaginatedResultSchema: z.ZodObject>>;
}, z.ZodTypeAny, "passthrough">>>;
}, {
- params: z.ZodOptional>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
/**
* An opaque token representing the current pagination position.
* If provided, the server should return results starting after this cursor.
*/
cursor: z.ZodOptional;
- }, "strip", z.ZodTypeAny, {
- cursor?: string | undefined;
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
}, {
- cursor?: string | undefined;
- }>>;
+ /**
+ * An opaque token representing the current pagination position.
+ * If provided, the server should return results starting after this cursor.
+ */
+ cursor: z.ZodOptional;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * An opaque token representing the current pagination position.
+ * If provided, the server should return results starting after this cursor.
+ */
+ cursor: z.ZodOptional;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, {
method: z.ZodLiteral<"resources/list">;
}>, "strip", z.ZodTypeAny, {
- method: "resources/list";
- params?: {
+ params: {
+ _meta?: z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
cursor?: string | undefined;
- } | undefined;
+ } & {
+ [k: string]: unknown;
+ };
+ method: "resources/list";
}, {
- method: "resources/list";
- params?: {
+ params: {
+ _meta?: z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
cursor?: string | undefined;
- } | undefined;
+ } & {
+ [k: string]: unknown;
+ };
+ method: "resources/list";
}>;
/**
* The server's response to a resources/list request from the client.
@@ -2217,29 +2476,104 @@ export declare const ListResourceTemplatesRequestSchema: z.ZodObject>>;
}, z.ZodTypeAny, "passthrough">>>;
}, {
- params: z.ZodOptional>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
/**
* An opaque token representing the current pagination position.
* If provided, the server should return results starting after this cursor.
*/
cursor: z.ZodOptional;
- }, "strip", z.ZodTypeAny, {
- cursor?: string | undefined;
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
}, {
- cursor?: string | undefined;
- }>>;
+ /**
+ * An opaque token representing the current pagination position.
+ * If provided, the server should return results starting after this cursor.
+ */
+ cursor: z.ZodOptional;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * An opaque token representing the current pagination position.
+ * If provided, the server should return results starting after this cursor.
+ */
+ cursor: z.ZodOptional;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, {
method: z.ZodLiteral<"resources/templates/list">;
}>, "strip", z.ZodTypeAny, {
- method: "resources/templates/list";
- params?: {
+ params: {
+ _meta?: z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
cursor?: string | undefined;
- } | undefined;
+ } & {
+ [k: string]: unknown;
+ };
+ method: "resources/templates/list";
}, {
- method: "resources/templates/list";
- params?: {
+ params: {
+ _meta?: z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
cursor?: string | undefined;
- } | undefined;
+ } & {
+ [k: string]: unknown;
+ };
+ method: "resources/templates/list";
}>;
/**
* The server's response to a resources/templates/list request from the client.
@@ -2436,24 +2770,97 @@ export declare const ReadResourceRequestSchema: z.ZodObject>>;
}, {
method: z.ZodLiteral<"resources/read">;
- params: z.ZodObject<{
+ params: z.ZodObject>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
/**
* The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it.
*/
uri: z.ZodEffects;
- }, "strip", z.ZodTypeAny, {
- uri: URL;
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
}, {
- uri: string;
- }>;
+ /**
+ * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it.
+ */
+ uri: z.ZodEffects;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it.
+ */
+ uri: z.ZodEffects;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, "strip", z.ZodTypeAny, {
params: {
uri: URL;
+ _meta?: z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "resources/read";
}, {
params: {
uri: string;
+ _meta?: z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "resources/read";
}>;
@@ -2713,24 +3120,97 @@ export declare const SubscribeRequestSchema: z.ZodObject>>;
}, {
method: z.ZodLiteral<"resources/subscribe">;
- params: z.ZodObject<{
+ params: z.ZodObject>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
/**
* The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it.
*/
uri: z.ZodEffects;
- }, "strip", z.ZodTypeAny, {
- uri: URL;
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
}, {
- uri: string;
- }>;
+ /**
+ * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it.
+ */
+ uri: z.ZodEffects;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it.
+ */
+ uri: z.ZodEffects;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, "strip", z.ZodTypeAny, {
params: {
uri: URL;
+ _meta?: z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "resources/subscribe";
}, {
params: {
uri: string;
+ _meta?: z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "resources/subscribe";
}>;
@@ -2793,24 +3273,97 @@ export declare const UnsubscribeRequestSchema: z.ZodObject>>;
}, {
method: z.ZodLiteral<"resources/unsubscribe">;
- params: z.ZodObject<{
+ params: z.ZodObject>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
/**
* The URI of the resource to unsubscribe from.
*/
uri: z.ZodEffects;
- }, "strip", z.ZodTypeAny, {
- uri: URL;
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
}, {
- uri: string;
- }>;
+ /**
+ * The URI of the resource to unsubscribe from.
+ */
+ uri: z.ZodEffects;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * The URI of the resource to unsubscribe from.
+ */
+ uri: z.ZodEffects;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, "strip", z.ZodTypeAny, {
params: {
uri: URL;
+ _meta?: z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "resources/unsubscribe";
}, {
params: {
uri: string;
+ _meta?: z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "resources/unsubscribe";
}>;
@@ -2995,29 +3548,104 @@ export declare const ListPromptsRequestSchema: z.ZodObject>>;
}, z.ZodTypeAny, "passthrough">>>;
}, {
- params: z.ZodOptional>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
/**
* An opaque token representing the current pagination position.
* If provided, the server should return results starting after this cursor.
*/
cursor: z.ZodOptional;
- }, "strip", z.ZodTypeAny, {
- cursor?: string | undefined;
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
}, {
- cursor?: string | undefined;
- }>>;
+ /**
+ * An opaque token representing the current pagination position.
+ * If provided, the server should return results starting after this cursor.
+ */
+ cursor: z.ZodOptional;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * An opaque token representing the current pagination position.
+ * If provided, the server should return results starting after this cursor.
+ */
+ cursor: z.ZodOptional;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, {
method: z.ZodLiteral<"prompts/list">;
}>, "strip", z.ZodTypeAny, {
- method: "prompts/list";
- params?: {
+ params: {
+ _meta?: z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
cursor?: string | undefined;
- } | undefined;
+ } & {
+ [k: string]: unknown;
+ };
+ method: "prompts/list";
}, {
- method: "prompts/list";
- params?: {
+ params: {
+ _meta?: z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
cursor?: string | undefined;
- } | undefined;
+ } & {
+ [k: string]: unknown;
+ };
+ method: "prompts/list";
}>;
/**
* The server's response to a prompts/list request from the client.
@@ -3271,7 +3899,24 @@ export declare const GetPromptRequestSchema: z.ZodObject>>;
}, {
method: z.ZodLiteral<"prompts/get">;
- params: z.ZodObject<{
+ params: z.ZodObject>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
/**
* The name of the prompt or prompt template.
*/
@@ -3280,23 +3925,85 @@ export declare const GetPromptRequestSchema: z.ZodObject>;
- }, "strip", z.ZodTypeAny, {
- name: string;
- arguments?: Record | undefined;
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
}, {
- name: string;
- arguments?: Record | undefined;
- }>;
+ /**
+ * The name of the prompt or prompt template.
+ */
+ name: z.ZodString;
+ /**
+ * Arguments to use for templating the prompt.
+ */
+ arguments: z.ZodOptional>;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * The name of the prompt or prompt template.
+ */
+ name: z.ZodString;
+ /**
+ * Arguments to use for templating the prompt.
+ */
+ arguments: z.ZodOptional>;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, "strip", z.ZodTypeAny, {
params: {
name: string;
+ _meta?: z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
arguments?: Record | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "prompts/get";
}, {
params: {
name: string;
+ _meta?: z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
arguments?: Record | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "prompts/get";
}>;
@@ -3634,29 +4341,104 @@ export declare const ListToolsRequestSchema: z.ZodObject>>;
}, z.ZodTypeAny, "passthrough">>>;
}, {
- params: z.ZodOptional>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
/**
* An opaque token representing the current pagination position.
* If provided, the server should return results starting after this cursor.
*/
cursor: z.ZodOptional;
- }, "strip", z.ZodTypeAny, {
- cursor?: string | undefined;
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
}, {
- cursor?: string | undefined;
- }>>;
+ /**
+ * An opaque token representing the current pagination position.
+ * If provided, the server should return results starting after this cursor.
+ */
+ cursor: z.ZodOptional;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * An opaque token representing the current pagination position.
+ * If provided, the server should return results starting after this cursor.
+ */
+ cursor: z.ZodOptional;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, {
method: z.ZodLiteral<"tools/list">;
}>, "strip", z.ZodTypeAny, {
- method: "tools/list";
- params?: {
+ params: {
+ _meta?: z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
cursor?: string | undefined;
- } | undefined;
+ } & {
+ [k: string]: unknown;
+ };
+ method: "tools/list";
}, {
- method: "tools/list";
- params?: {
+ params: {
+ _meta?: z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
cursor?: string | undefined;
- } | undefined;
+ } & {
+ [k: string]: unknown;
+ };
+ method: "tools/list";
}>;
/**
* The server's response to a tools/list request from the client.
@@ -3893,26 +4675,93 @@ export declare const CallToolRequestSchema: z.ZodObject>>;
}, {
method: z.ZodLiteral<"tools/call">;
- params: z.ZodObject<{
+ params: z.ZodObject>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
name: z.ZodString;
arguments: z.ZodOptional>;
- }, "strip", z.ZodTypeAny, {
- name: string;
- arguments?: Record | undefined;
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
}, {
- name: string;
- arguments?: Record | undefined;
- }>;
+ name: z.ZodString;
+ arguments: z.ZodOptional>;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ name: z.ZodString;
+ arguments: z.ZodOptional>;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, "strip", z.ZodTypeAny, {
params: {
name: string;
+ _meta?: z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
arguments?: Record | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "tools/call";
}, {
params: {
name: string;
+ _meta?: z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
arguments?: Record | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "tools/call";
}>;
@@ -4019,24 +4868,97 @@ export declare const SetLevelRequestSchema: z.ZodObject>>;
}, {
method: z.ZodLiteral<"logging/setLevel">;
- params: z.ZodObject<{
+ params: z.ZodObject>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
/**
* The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message.
*/
level: z.ZodEnum<["debug", "info", "warning", "error"]>;
- }, "strip", z.ZodTypeAny, {
- level: "error" | "debug" | "info" | "warning";
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
}, {
- level: "error" | "debug" | "info" | "warning";
- }>;
+ /**
+ * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message.
+ */
+ level: z.ZodEnum<["debug", "info", "warning", "error"]>;
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
+ /**
+ * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message.
+ */
+ level: z.ZodEnum<["debug", "info", "warning", "error"]>;
+ }>, z.ZodTypeAny, "passthrough">>;
}>, "strip", z.ZodTypeAny, {
params: {
level: "error" | "debug" | "info" | "warning";
+ _meta?: z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "logging/setLevel";
}, {
params: {
level: "error" | "debug" | "info" | "warning";
+ _meta?: z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough"> | undefined;
+ } & {
+ [k: string]: unknown;
};
method: "logging/setLevel";
}>;
@@ -4159,7 +5081,24 @@ export declare const CreateMessageRequestSchema: z.ZodObject>>;
}, {
method: z.ZodLiteral<"sampling/createMessage">;
- params: z.ZodObject<{
+ params: z.ZodObject>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">>>;
+ }, {
messages: z.ZodArray;
content: z.ZodUnion<[z.ZodObject<{
@@ -4232,26 +5171,58 @@ export declare const CreateMessageRequestSchema: z.ZodObject, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
- }, "strip", z.ZodTypeAny, {
- messages: {
- role: "user" | "assistant";
- content: {
- type: "text";
- text: string;
- } | {
- type: "image";
- data: string;
- mimeType: string;
- };
- }[];
- maxTokens: number;
- systemPrompt?: string | undefined;
- includeContext?: "none" | "thisServer" | "allServers" | undefined;
- temperature?: number | undefined;
- stopSequences?: string[] | undefined;
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType>;
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional>;
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
+ /**
+ * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
+ */
+ progressToken: z.ZodOptional