effect 4.0.0-beta.70 → 4.0.0-beta.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Array.d.ts +1483 -239
- package/dist/Array.d.ts.map +1 -1
- package/dist/Array.js +617 -164
- package/dist/Array.js.map +1 -1
- package/dist/BigDecimal.d.ts +646 -52
- package/dist/BigDecimal.d.ts.map +1 -1
- package/dist/BigDecimal.js +331 -28
- package/dist/BigDecimal.js.map +1 -1
- package/dist/BigInt.d.ts +474 -18
- package/dist/BigInt.d.ts.map +1 -1
- package/dist/BigInt.js +292 -14
- package/dist/BigInt.js.map +1 -1
- package/dist/Boolean.d.ts +239 -19
- package/dist/Boolean.d.ts.map +1 -1
- package/dist/Boolean.js +163 -13
- package/dist/Boolean.js.map +1 -1
- package/dist/Brand.d.ts +53 -8
- package/dist/Brand.d.ts.map +1 -1
- package/dist/Brand.js +82 -11
- package/dist/Brand.js.map +1 -1
- package/dist/Cache.d.ts +73 -12
- package/dist/Cache.d.ts.map +1 -1
- package/dist/Cache.js +53 -15
- package/dist/Cache.js.map +1 -1
- package/dist/Cause.d.ts +488 -200
- package/dist/Cause.d.ts.map +1 -1
- package/dist/Cause.js +349 -129
- package/dist/Cause.js.map +1 -1
- package/dist/Channel.d.ts +539 -158
- package/dist/Channel.d.ts.map +1 -1
- package/dist/Channel.js +222 -89
- package/dist/Channel.js.map +1 -1
- package/dist/ChannelSchema.d.ts +81 -6
- package/dist/ChannelSchema.d.ts.map +1 -1
- package/dist/ChannelSchema.js +45 -4
- package/dist/ChannelSchema.js.map +1 -1
- package/dist/Chunk.d.ts +179 -54
- package/dist/Chunk.d.ts.map +1 -1
- package/dist/Chunk.js +65 -22
- package/dist/Chunk.js.map +1 -1
- package/dist/Clock.d.ts +60 -3
- package/dist/Clock.d.ts.map +1 -1
- package/dist/Clock.js +31 -1
- package/dist/Clock.js.map +1 -1
- package/dist/Combiner.d.ts +21 -21
- package/dist/Combiner.d.ts.map +1 -1
- package/dist/Combiner.js +14 -18
- package/dist/Combiner.js.map +1 -1
- package/dist/Config.d.ts +135 -50
- package/dist/Config.d.ts.map +1 -1
- package/dist/Config.js +109 -37
- package/dist/Config.js.map +1 -1
- package/dist/ConfigProvider.d.ts +52 -29
- package/dist/ConfigProvider.d.ts.map +1 -1
- package/dist/ConfigProvider.js +21 -21
- package/dist/ConfigProvider.js.map +1 -1
- package/dist/Console.d.ts +32 -7
- package/dist/Console.d.ts.map +1 -1
- package/dist/Console.js +32 -7
- package/dist/Console.js.map +1 -1
- package/dist/Context.d.ts +503 -48
- package/dist/Context.d.ts.map +1 -1
- package/dist/Context.js +191 -17
- package/dist/Context.js.map +1 -1
- package/dist/Cron.d.ts +116 -6
- package/dist/Cron.d.ts.map +1 -1
- package/dist/Cron.js +92 -6
- package/dist/Cron.js.map +1 -1
- package/dist/Crypto.d.ts +30 -1
- package/dist/Crypto.d.ts.map +1 -1
- package/dist/Crypto.js +30 -1
- package/dist/Crypto.js.map +1 -1
- package/dist/Data.d.ts +92 -47
- package/dist/Data.d.ts.map +1 -1
- package/dist/Data.js +16 -12
- package/dist/Data.js.map +1 -1
- package/dist/DateTime.d.ts +313 -128
- package/dist/DateTime.d.ts.map +1 -1
- package/dist/DateTime.js +167 -68
- package/dist/DateTime.js.map +1 -1
- package/dist/Deferred.d.ts +345 -79
- package/dist/Deferred.d.ts.map +1 -1
- package/dist/Deferred.js +131 -12
- package/dist/Deferred.js.map +1 -1
- package/dist/Differ.d.ts +5 -0
- package/dist/Differ.d.ts.map +1 -1
- package/dist/Duration.d.ts +203 -50
- package/dist/Duration.d.ts.map +1 -1
- package/dist/Duration.js +112 -32
- package/dist/Duration.js.map +1 -1
- package/dist/Effect.d.ts +2006 -810
- package/dist/Effect.d.ts.map +1 -1
- package/dist/Effect.js +785 -350
- package/dist/Effect.js.map +1 -1
- package/dist/Effectable.d.ts +16 -2
- package/dist/Effectable.d.ts.map +1 -1
- package/dist/Effectable.js +16 -2
- package/dist/Effectable.js.map +1 -1
- package/dist/Encoding.d.ts +100 -8
- package/dist/Encoding.d.ts.map +1 -1
- package/dist/Encoding.js +141 -8
- package/dist/Encoding.js.map +1 -1
- package/dist/Equal.d.ts +10 -11
- package/dist/Equal.d.ts.map +1 -1
- package/dist/Equal.js +7 -8
- package/dist/Equal.js.map +1 -1
- package/dist/Equivalence.d.ts +46 -43
- package/dist/Equivalence.d.ts.map +1 -1
- package/dist/Equivalence.js +43 -35
- package/dist/Equivalence.js.map +1 -1
- package/dist/ErrorReporter.d.ts +135 -16
- package/dist/ErrorReporter.d.ts.map +1 -1
- package/dist/ErrorReporter.js +93 -12
- package/dist/ErrorReporter.js.map +1 -1
- package/dist/ExecutionPlan.d.ts +96 -26
- package/dist/ExecutionPlan.d.ts.map +1 -1
- package/dist/ExecutionPlan.js +28 -2
- package/dist/ExecutionPlan.js.map +1 -1
- package/dist/Exit.d.ts +149 -101
- package/dist/Exit.d.ts.map +1 -1
- package/dist/Exit.js +117 -80
- package/dist/Exit.js.map +1 -1
- package/dist/Fiber.d.ts +321 -72
- package/dist/Fiber.d.ts.map +1 -1
- package/dist/Fiber.js +152 -3
- package/dist/Fiber.js.map +1 -1
- package/dist/FiberHandle.d.ts +6 -6
- package/dist/FiberHandle.js +4 -4
- package/dist/FiberMap.d.ts +18 -18
- package/dist/FiberMap.js +8 -8
- package/dist/FiberSet.d.ts +21 -13
- package/dist/FiberSet.d.ts.map +1 -1
- package/dist/FiberSet.js +17 -9
- package/dist/FiberSet.js.map +1 -1
- package/dist/FileSystem.d.ts +79 -16
- package/dist/FileSystem.d.ts.map +1 -1
- package/dist/FileSystem.js +93 -33
- package/dist/FileSystem.js.map +1 -1
- package/dist/Filter.d.ts +221 -2
- package/dist/Filter.d.ts.map +1 -1
- package/dist/Filter.js +155 -2
- package/dist/Filter.js.map +1 -1
- package/dist/Formatter.d.ts +4 -6
- package/dist/Formatter.d.ts.map +1 -1
- package/dist/Formatter.js +3 -5
- package/dist/Formatter.js.map +1 -1
- package/dist/Function.d.ts +164 -18
- package/dist/Function.d.ts.map +1 -1
- package/dist/Function.js +116 -15
- package/dist/Function.js.map +1 -1
- package/dist/Graph.d.ts +297 -25
- package/dist/Graph.d.ts.map +1 -1
- package/dist/Graph.js +75 -12
- package/dist/Graph.js.map +1 -1
- package/dist/HKT.d.ts +59 -26
- package/dist/HKT.d.ts.map +1 -1
- package/dist/Hash.d.ts +95 -19
- package/dist/Hash.d.ts.map +1 -1
- package/dist/Hash.js +119 -17
- package/dist/Hash.js.map +1 -1
- package/dist/HashMap.d.ts +35 -37
- package/dist/HashMap.d.ts.map +1 -1
- package/dist/HashMap.js +13 -15
- package/dist/HashMap.js.map +1 -1
- package/dist/HashRing.d.ts +210 -9
- package/dist/HashRing.d.ts.map +1 -1
- package/dist/HashRing.js +95 -5
- package/dist/HashRing.js.map +1 -1
- package/dist/HashSet.d.ts +16 -16
- package/dist/HashSet.js +6 -6
- package/dist/Inspectable.d.ts +47 -4
- package/dist/Inspectable.d.ts.map +1 -1
- package/dist/Inspectable.js +74 -17
- package/dist/Inspectable.js.map +1 -1
- package/dist/Iterable.d.ts +261 -81
- package/dist/Iterable.d.ts.map +1 -1
- package/dist/Iterable.js +123 -43
- package/dist/Iterable.js.map +1 -1
- package/dist/JsonPatch.d.ts +34 -19
- package/dist/JsonPatch.d.ts.map +1 -1
- package/dist/JsonPatch.js +52 -44
- package/dist/JsonPatch.js.map +1 -1
- package/dist/JsonPointer.d.ts +5 -5
- package/dist/JsonPointer.js +5 -5
- package/dist/JsonSchema.d.ts +77 -33
- package/dist/JsonSchema.d.ts.map +1 -1
- package/dist/JsonSchema.js +45 -31
- package/dist/JsonSchema.js.map +1 -1
- package/dist/Latch.d.ts +158 -13
- package/dist/Latch.d.ts.map +1 -1
- package/dist/Latch.js +79 -4
- package/dist/Latch.js.map +1 -1
- package/dist/Layer.d.ts +297 -101
- package/dist/Layer.d.ts.map +1 -1
- package/dist/Layer.js +94 -36
- package/dist/Layer.js.map +1 -1
- package/dist/LayerMap.d.ts +9 -2
- package/dist/LayerMap.d.ts.map +1 -1
- package/dist/LayerMap.js +1 -2
- package/dist/LayerMap.js.map +1 -1
- package/dist/LogLevel.d.ts +96 -21
- package/dist/LogLevel.d.ts.map +1 -1
- package/dist/LogLevel.js +68 -9
- package/dist/LogLevel.js.map +1 -1
- package/dist/Logger.d.ts +21 -7
- package/dist/Logger.d.ts.map +1 -1
- package/dist/Logger.js +26 -13
- package/dist/Logger.js.map +1 -1
- package/dist/ManagedRuntime.d.ts +82 -10
- package/dist/ManagedRuntime.d.ts.map +1 -1
- package/dist/ManagedRuntime.js +33 -2
- package/dist/ManagedRuntime.js.map +1 -1
- package/dist/Match.d.ts +215 -42
- package/dist/Match.d.ts.map +1 -1
- package/dist/Match.js +242 -59
- package/dist/Match.js.map +1 -1
- package/dist/Metric.d.ts +68 -41
- package/dist/Metric.d.ts.map +1 -1
- package/dist/Metric.js +60 -33
- package/dist/Metric.js.map +1 -1
- package/dist/MutableHashMap.d.ts +285 -40
- package/dist/MutableHashMap.d.ts.map +1 -1
- package/dist/MutableHashMap.js +128 -7
- package/dist/MutableHashMap.js.map +1 -1
- package/dist/MutableHashSet.d.ts +111 -4
- package/dist/MutableHashSet.d.ts.map +1 -1
- package/dist/MutableHashSet.js +98 -39
- package/dist/MutableHashSet.js.map +1 -1
- package/dist/MutableList.d.ts +24 -6
- package/dist/MutableList.d.ts.map +1 -1
- package/dist/MutableList.js +23 -5
- package/dist/MutableList.js.map +1 -1
- package/dist/MutableRef.d.ts +141 -4
- package/dist/MutableRef.d.ts.map +1 -1
- package/dist/MutableRef.js +73 -2
- package/dist/MutableRef.js.map +1 -1
- package/dist/Newtype.d.ts +20 -11
- package/dist/Newtype.d.ts.map +1 -1
- package/dist/Newtype.js +6 -6
- package/dist/Newtype.js.map +1 -1
- package/dist/NonEmptyIterable.d.ts +22 -6
- package/dist/NonEmptyIterable.d.ts.map +1 -1
- package/dist/NonEmptyIterable.js +6 -1
- package/dist/NonEmptyIterable.js.map +1 -1
- package/dist/Number.d.ts +434 -17
- package/dist/Number.d.ts.map +1 -1
- package/dist/Number.js +268 -13
- package/dist/Number.js.map +1 -1
- package/dist/Optic.d.ts +26 -33
- package/dist/Optic.d.ts.map +1 -1
- package/dist/Optic.js +18 -25
- package/dist/Optic.js.map +1 -1
- package/dist/Option.d.ts +186 -150
- package/dist/Option.d.ts.map +1 -1
- package/dist/Option.js +75 -72
- package/dist/Option.js.map +1 -1
- package/dist/Order.d.ts +93 -120
- package/dist/Order.d.ts.map +1 -1
- package/dist/Order.js +149 -142
- package/dist/Order.js.map +1 -1
- package/dist/Ordering.d.ts +37 -5
- package/dist/Ordering.d.ts.map +1 -1
- package/dist/Ordering.js +22 -3
- package/dist/Ordering.js.map +1 -1
- package/dist/PartitionedSemaphore.d.ts +238 -15
- package/dist/PartitionedSemaphore.d.ts.map +1 -1
- package/dist/PartitionedSemaphore.js +106 -8
- package/dist/PartitionedSemaphore.js.map +1 -1
- package/dist/Path.d.ts +34 -6
- package/dist/Path.d.ts.map +1 -1
- package/dist/Path.js +19 -5
- package/dist/Path.js.map +1 -1
- package/dist/Pipeable.d.ts +29 -4
- package/dist/Pipeable.d.ts.map +1 -1
- package/dist/Pipeable.js +16 -4
- package/dist/Pipeable.js.map +1 -1
- package/dist/PlatformError.d.ts +53 -4
- package/dist/PlatformError.d.ts.map +1 -1
- package/dist/PlatformError.js +45 -4
- package/dist/PlatformError.js.map +1 -1
- package/dist/Pool.d.ts +140 -14
- package/dist/Pool.d.ts.map +1 -1
- package/dist/Pool.js +63 -8
- package/dist/Pool.js.map +1 -1
- package/dist/Predicate.d.ts +98 -168
- package/dist/Predicate.d.ts.map +1 -1
- package/dist/Predicate.js +109 -120
- package/dist/Predicate.js.map +1 -1
- package/dist/PrimaryKey.d.ts +75 -9
- package/dist/PrimaryKey.d.ts.map +1 -1
- package/dist/PrimaryKey.js +70 -9
- package/dist/PrimaryKey.js.map +1 -1
- package/dist/PubSub.d.ts +241 -66
- package/dist/PubSub.d.ts.map +1 -1
- package/dist/PubSub.js +187 -52
- package/dist/PubSub.js.map +1 -1
- package/dist/Pull.d.ts +148 -3
- package/dist/Pull.d.ts.map +1 -1
- package/dist/Pull.js +69 -2
- package/dist/Pull.js.map +1 -1
- package/dist/Queue.d.ts +167 -59
- package/dist/Queue.d.ts.map +1 -1
- package/dist/Queue.js +163 -55
- package/dist/Queue.js.map +1 -1
- package/dist/Random.d.ts +71 -16
- package/dist/Random.d.ts.map +1 -1
- package/dist/Random.js +35 -0
- package/dist/Random.js.map +1 -1
- package/dist/RcMap.d.ts +171 -9
- package/dist/RcMap.d.ts.map +1 -1
- package/dist/RcMap.js +49 -3
- package/dist/RcMap.js.map +1 -1
- package/dist/RcRef.d.ts +73 -18
- package/dist/RcRef.d.ts.map +1 -1
- package/dist/RcRef.js +23 -3
- package/dist/RcRef.js.map +1 -1
- package/dist/Record.d.ts +174 -53
- package/dist/Record.d.ts.map +1 -1
- package/dist/Record.js +128 -23
- package/dist/Record.js.map +1 -1
- package/dist/Redactable.d.ts +27 -23
- package/dist/Redactable.d.ts.map +1 -1
- package/dist/Redactable.js +22 -18
- package/dist/Redactable.js.map +1 -1
- package/dist/Redacted.d.ts +82 -4
- package/dist/Redacted.d.ts.map +1 -1
- package/dist/Redacted.js +64 -4
- package/dist/Redacted.js.map +1 -1
- package/dist/Reducer.d.ts +17 -7
- package/dist/Reducer.d.ts.map +1 -1
- package/dist/Reducer.js +2 -4
- package/dist/Reducer.js.map +1 -1
- package/dist/Ref.d.ts +168 -32
- package/dist/Ref.d.ts.map +1 -1
- package/dist/Ref.js +135 -30
- package/dist/Ref.js.map +1 -1
- package/dist/References.d.ts +226 -30
- package/dist/References.d.ts.map +1 -1
- package/dist/References.js +162 -23
- package/dist/References.js.map +1 -1
- package/dist/RegExp.d.ts +15 -2
- package/dist/RegExp.d.ts.map +1 -1
- package/dist/RegExp.js +49 -3
- package/dist/RegExp.js.map +1 -1
- package/dist/Request.d.ts +218 -35
- package/dist/Request.d.ts.map +1 -1
- package/dist/Request.js +57 -10
- package/dist/Request.js.map +1 -1
- package/dist/RequestResolver.d.ts +213 -29
- package/dist/RequestResolver.d.ts.map +1 -1
- package/dist/RequestResolver.js +99 -11
- package/dist/RequestResolver.js.map +1 -1
- package/dist/Resource.d.ts +62 -3
- package/dist/Resource.d.ts.map +1 -1
- package/dist/Resource.js +52 -3
- package/dist/Resource.js.map +1 -1
- package/dist/Result.d.ts +380 -57
- package/dist/Result.d.ts.map +1 -1
- package/dist/Result.js +176 -32
- package/dist/Result.js.map +1 -1
- package/dist/Runtime.d.ts +124 -14
- package/dist/Runtime.d.ts.map +1 -1
- package/dist/Runtime.js +150 -25
- package/dist/Runtime.js.map +1 -1
- package/dist/Schedule.d.ts +436 -115
- package/dist/Schedule.d.ts.map +1 -1
- package/dist/Schedule.js +344 -107
- package/dist/Schedule.js.map +1 -1
- package/dist/Scheduler.d.ts +53 -4
- package/dist/Scheduler.d.ts.map +1 -1
- package/dist/Scheduler.js +42 -3
- package/dist/Scheduler.js.map +1 -1
- package/dist/Schema.d.ts +934 -239
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +655 -217
- package/dist/Schema.js.map +1 -1
- package/dist/SchemaAST.d.ts +239 -28
- package/dist/SchemaAST.d.ts.map +1 -1
- package/dist/SchemaAST.js +239 -28
- package/dist/SchemaAST.js.map +1 -1
- package/dist/SchemaGetter.d.ts +127 -129
- package/dist/SchemaGetter.d.ts.map +1 -1
- package/dist/SchemaGetter.js +115 -117
- package/dist/SchemaGetter.js.map +1 -1
- package/dist/SchemaIssue.d.ts +45 -56
- package/dist/SchemaIssue.d.ts.map +1 -1
- package/dist/SchemaIssue.js +39 -50
- package/dist/SchemaIssue.js.map +1 -1
- package/dist/SchemaParser.d.ts +254 -15
- package/dist/SchemaParser.d.ts.map +1 -1
- package/dist/SchemaParser.js +295 -33
- package/dist/SchemaParser.js.map +1 -1
- package/dist/SchemaRepresentation.d.ts +106 -77
- package/dist/SchemaRepresentation.d.ts.map +1 -1
- package/dist/SchemaRepresentation.js +101 -71
- package/dist/SchemaRepresentation.js.map +1 -1
- package/dist/SchemaTransformation.d.ts +92 -56
- package/dist/SchemaTransformation.d.ts.map +1 -1
- package/dist/SchemaTransformation.js +86 -50
- package/dist/SchemaTransformation.js.map +1 -1
- package/dist/SchemaUtils.d.ts +9 -0
- package/dist/SchemaUtils.d.ts.map +1 -1
- package/dist/SchemaUtils.js +38 -11
- package/dist/SchemaUtils.js.map +1 -1
- package/dist/Scope.d.ts +127 -25
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +91 -21
- package/dist/Scope.js.map +1 -1
- package/dist/ScopedCache.d.ts +364 -19
- package/dist/ScopedCache.d.ts.map +1 -1
- package/dist/ScopedCache.js +155 -7
- package/dist/ScopedCache.js.map +1 -1
- package/dist/ScopedRef.d.ts +69 -7
- package/dist/ScopedRef.d.ts.map +1 -1
- package/dist/ScopedRef.js +49 -5
- package/dist/ScopedRef.js.map +1 -1
- package/dist/Semaphore.d.ts +348 -29
- package/dist/Semaphore.d.ts.map +1 -1
- package/dist/Semaphore.js +103 -8
- package/dist/Semaphore.js.map +1 -1
- package/dist/Sink.d.ts +343 -45
- package/dist/Sink.d.ts.map +1 -1
- package/dist/Sink.js +194 -26
- package/dist/Sink.js.map +1 -1
- package/dist/Stdio.d.ts +72 -17
- package/dist/Stdio.d.ts.map +1 -1
- package/dist/Stdio.js +62 -16
- package/dist/Stdio.js.map +1 -1
- package/dist/Stream.d.ts +774 -224
- package/dist/Stream.d.ts.map +1 -1
- package/dist/Stream.js +333 -91
- package/dist/Stream.js.map +1 -1
- package/dist/String.d.ts +219 -47
- package/dist/String.d.ts.map +1 -1
- package/dist/String.js +179 -29
- package/dist/String.js.map +1 -1
- package/dist/Struct.d.ts +54 -110
- package/dist/Struct.d.ts.map +1 -1
- package/dist/Struct.js +26 -42
- package/dist/Struct.js.map +1 -1
- package/dist/SubscriptionRef.d.ts +341 -105
- package/dist/SubscriptionRef.d.ts.map +1 -1
- package/dist/SubscriptionRef.js +162 -44
- package/dist/SubscriptionRef.js.map +1 -1
- package/dist/Symbol.d.ts +25 -7
- package/dist/Symbol.d.ts.map +1 -1
- package/dist/Symbol.js +25 -7
- package/dist/Symbol.js.map +1 -1
- package/dist/SynchronizedRef.d.ts +529 -29
- package/dist/SynchronizedRef.d.ts.map +1 -1
- package/dist/SynchronizedRef.js +193 -11
- package/dist/SynchronizedRef.js.map +1 -1
- package/dist/Take.d.ts +36 -13
- package/dist/Take.d.ts.map +1 -1
- package/dist/Take.js +5 -0
- package/dist/Take.js.map +1 -1
- package/dist/Terminal.d.ts +76 -20
- package/dist/Terminal.d.ts.map +1 -1
- package/dist/Terminal.js +41 -5
- package/dist/Terminal.js.map +1 -1
- package/dist/Tracer.d.ts +74 -7
- package/dist/Tracer.d.ts.map +1 -1
- package/dist/Tracer.js +74 -7
- package/dist/Tracer.js.map +1 -1
- package/dist/Trie.d.ts +67 -30
- package/dist/Trie.d.ts.map +1 -1
- package/dist/Trie.js +7 -7
- package/dist/Trie.js.map +1 -1
- package/dist/Tuple.d.ts +96 -108
- package/dist/Tuple.d.ts.map +1 -1
- package/dist/Tuple.js +42 -52
- package/dist/Tuple.js.map +1 -1
- package/dist/TxChunk.d.ts +42 -9
- package/dist/TxChunk.d.ts.map +1 -1
- package/dist/TxChunk.js +42 -9
- package/dist/TxChunk.js.map +1 -1
- package/dist/TxDeferred.d.ts +85 -2
- package/dist/TxDeferred.d.ts.map +1 -1
- package/dist/TxDeferred.js +56 -2
- package/dist/TxDeferred.js.map +1 -1
- package/dist/TxHashMap.d.ts +20 -20
- package/dist/TxHashMap.js +8 -8
- package/dist/TxHashSet.d.ts +14 -14
- package/dist/TxHashSet.js +6 -6
- package/dist/TxPriorityQueue.d.ts +43 -8
- package/dist/TxPriorityQueue.d.ts.map +1 -1
- package/dist/TxPriorityQueue.js +41 -6
- package/dist/TxPriorityQueue.js.map +1 -1
- package/dist/TxPubSub.d.ts +98 -8
- package/dist/TxPubSub.d.ts.map +1 -1
- package/dist/TxPubSub.js +70 -8
- package/dist/TxPubSub.js.map +1 -1
- package/dist/TxQueue.d.ts +58 -17
- package/dist/TxQueue.d.ts.map +1 -1
- package/dist/TxQueue.js +10 -10
- package/dist/TxQueue.js.map +1 -1
- package/dist/TxReentrantLock.d.ts +88 -16
- package/dist/TxReentrantLock.d.ts.map +1 -1
- package/dist/TxReentrantLock.js +78 -14
- package/dist/TxReentrantLock.js.map +1 -1
- package/dist/TxRef.d.ts +113 -8
- package/dist/TxRef.d.ts.map +1 -1
- package/dist/TxRef.js +82 -8
- package/dist/TxRef.js.map +1 -1
- package/dist/TxSemaphore.d.ts +173 -14
- package/dist/TxSemaphore.d.ts.map +1 -1
- package/dist/TxSemaphore.js +130 -14
- package/dist/TxSemaphore.js.map +1 -1
- package/dist/TxSubscriptionRef.d.ts +206 -3
- package/dist/TxSubscriptionRef.d.ts.map +1 -1
- package/dist/TxSubscriptionRef.js +111 -3
- package/dist/TxSubscriptionRef.js.map +1 -1
- package/dist/Types.d.ts +68 -13
- package/dist/Types.d.ts.map +1 -1
- package/dist/UndefinedOr.d.ts +171 -30
- package/dist/UndefinedOr.d.ts.map +1 -1
- package/dist/UndefinedOr.js +115 -30
- package/dist/UndefinedOr.js.map +1 -1
- package/dist/Unify.d.ts +130 -22
- package/dist/Unify.d.ts.map +1 -1
- package/dist/Unify.js +36 -12
- package/dist/Unify.js.map +1 -1
- package/dist/Utils.d.ts +21 -16
- package/dist/Utils.d.ts.map +1 -1
- package/dist/Utils.js +14 -6
- package/dist/Utils.js.map +1 -1
- package/dist/index.d.ts +0 -5205
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -5205
- package/dist/index.js.map +1 -1
- package/dist/internal/effect.js.map +1 -1
- package/dist/internal/request.js +3 -1
- package/dist/internal/request.js.map +1 -1
- package/dist/internal/schema/arbitrary.js +11 -1
- package/dist/internal/schema/arbitrary.js.map +1 -1
- package/dist/internal/schema/representation.js +21 -12
- package/dist/internal/schema/representation.js.map +1 -1
- package/dist/testing/TestConsole.d.ts +69 -0
- package/dist/testing/TestConsole.d.ts.map +1 -1
- package/dist/testing/TestConsole.js +73 -9
- package/dist/testing/TestConsole.js.map +1 -1
- package/dist/testing/TestSchema.d.ts +79 -30
- package/dist/testing/TestSchema.d.ts.map +1 -1
- package/dist/testing/TestSchema.js +69 -31
- package/dist/testing/TestSchema.js.map +1 -1
- package/dist/testing/index.d.ts +0 -107
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +0 -107
- package/dist/testing/index.js.map +1 -1
- package/dist/unstable/ai/AiError.d.ts +33 -5
- package/dist/unstable/ai/AiError.d.ts.map +1 -1
- package/dist/unstable/ai/AiError.js +33 -5
- package/dist/unstable/ai/AiError.js.map +1 -1
- package/dist/unstable/ai/AnthropicStructuredOutput.d.ts +9 -0
- package/dist/unstable/ai/AnthropicStructuredOutput.d.ts.map +1 -1
- package/dist/unstable/ai/AnthropicStructuredOutput.js +43 -11
- package/dist/unstable/ai/AnthropicStructuredOutput.js.map +1 -1
- package/dist/unstable/ai/Chat.d.ts +45 -6
- package/dist/unstable/ai/Chat.d.ts.map +1 -1
- package/dist/unstable/ai/Chat.js +73 -33
- package/dist/unstable/ai/Chat.js.map +1 -1
- package/dist/unstable/ai/EmbeddingModel.d.ts +104 -8
- package/dist/unstable/ai/EmbeddingModel.d.ts.map +1 -1
- package/dist/unstable/ai/EmbeddingModel.js +103 -7
- package/dist/unstable/ai/EmbeddingModel.js.map +1 -1
- package/dist/unstable/ai/IdGenerator.d.ts +8 -3
- package/dist/unstable/ai/IdGenerator.d.ts.map +1 -1
- package/dist/unstable/ai/IdGenerator.js +8 -3
- package/dist/unstable/ai/IdGenerator.js.map +1 -1
- package/dist/unstable/ai/LanguageModel.d.ts +51 -7
- package/dist/unstable/ai/LanguageModel.d.ts.map +1 -1
- package/dist/unstable/ai/LanguageModel.js +50 -6
- package/dist/unstable/ai/LanguageModel.js.map +1 -1
- package/dist/unstable/ai/McpSchema.d.ts +299 -169
- package/dist/unstable/ai/McpSchema.d.ts.map +1 -1
- package/dist/unstable/ai/McpSchema.js +278 -147
- package/dist/unstable/ai/McpSchema.js.map +1 -1
- package/dist/unstable/ai/McpServer.d.ts +108 -14
- package/dist/unstable/ai/McpServer.d.ts.map +1 -1
- package/dist/unstable/ai/McpServer.js +80 -10
- package/dist/unstable/ai/McpServer.js.map +1 -1
- package/dist/unstable/ai/Model.d.ts +35 -13
- package/dist/unstable/ai/Model.d.ts.map +1 -1
- package/dist/unstable/ai/Model.js +34 -12
- package/dist/unstable/ai/Model.js.map +1 -1
- package/dist/unstable/ai/OpenAiStructuredOutput.d.ts.map +1 -1
- package/dist/unstable/ai/OpenAiStructuredOutput.js +48 -1
- package/dist/unstable/ai/OpenAiStructuredOutput.js.map +1 -1
- package/dist/unstable/ai/Prompt.d.ts +24 -3
- package/dist/unstable/ai/Prompt.d.ts.map +1 -1
- package/dist/unstable/ai/Prompt.js +23 -2
- package/dist/unstable/ai/Prompt.js.map +1 -1
- package/dist/unstable/ai/Response.d.ts +71 -13
- package/dist/unstable/ai/Response.d.ts.map +1 -1
- package/dist/unstable/ai/Response.js +35 -1
- package/dist/unstable/ai/Response.js.map +1 -1
- package/dist/unstable/ai/ResponseIdTracker.d.ts +34 -12
- package/dist/unstable/ai/ResponseIdTracker.d.ts.map +1 -1
- package/dist/unstable/ai/ResponseIdTracker.js +33 -11
- package/dist/unstable/ai/ResponseIdTracker.js.map +1 -1
- package/dist/unstable/ai/Telemetry.d.ts +40 -27
- package/dist/unstable/ai/Telemetry.d.ts.map +1 -1
- package/dist/unstable/ai/Telemetry.js +34 -26
- package/dist/unstable/ai/Telemetry.js.map +1 -1
- package/dist/unstable/ai/Tokenizer.d.ts +41 -25
- package/dist/unstable/ai/Tokenizer.d.ts.map +1 -1
- package/dist/unstable/ai/Tokenizer.js +41 -25
- package/dist/unstable/ai/Tokenizer.js.map +1 -1
- package/dist/unstable/ai/Tool.d.ts +85 -24
- package/dist/unstable/ai/Tool.d.ts.map +1 -1
- package/dist/unstable/ai/Tool.js +84 -23
- package/dist/unstable/ai/Tool.js.map +1 -1
- package/dist/unstable/ai/Toolkit.d.ts +1 -1
- package/dist/unstable/ai/Toolkit.d.ts.map +1 -1
- package/dist/unstable/ai/Toolkit.js +1 -1
- package/dist/unstable/ai/Toolkit.js.map +1 -1
- package/dist/unstable/ai/index.d.ts +0 -560
- package/dist/unstable/ai/index.d.ts.map +1 -1
- package/dist/unstable/ai/index.js +0 -560
- package/dist/unstable/ai/index.js.map +1 -1
- package/dist/unstable/cli/Argument.js +1 -1
- package/dist/unstable/cli/Argument.js.map +1 -1
- package/dist/unstable/cli/CliError.d.ts +3 -3
- package/dist/unstable/cli/CliError.js +3 -3
- package/dist/unstable/cli/CliOutput.d.ts +1 -1
- package/dist/unstable/cli/Command.d.ts +136 -8
- package/dist/unstable/cli/Command.d.ts.map +1 -1
- package/dist/unstable/cli/Command.js +50 -4
- package/dist/unstable/cli/Command.js.map +1 -1
- package/dist/unstable/cli/Completions.d.ts +13 -0
- package/dist/unstable/cli/Completions.d.ts.map +1 -1
- package/dist/unstable/cli/Completions.js +41 -1
- package/dist/unstable/cli/Completions.js.map +1 -1
- package/dist/unstable/cli/Flag.d.ts +24 -12
- package/dist/unstable/cli/Flag.d.ts.map +1 -1
- package/dist/unstable/cli/Flag.js +18 -6
- package/dist/unstable/cli/Flag.js.map +1 -1
- package/dist/unstable/cli/GlobalFlag.d.ts +39 -8
- package/dist/unstable/cli/GlobalFlag.d.ts.map +1 -1
- package/dist/unstable/cli/GlobalFlag.js +39 -8
- package/dist/unstable/cli/GlobalFlag.js.map +1 -1
- package/dist/unstable/cli/Param.d.ts +128 -2
- package/dist/unstable/cli/Param.d.ts.map +1 -1
- package/dist/unstable/cli/Param.js +59 -7
- package/dist/unstable/cli/Param.js.map +1 -1
- package/dist/unstable/cli/Primitive.d.ts +3 -3
- package/dist/unstable/cli/Primitive.d.ts.map +1 -1
- package/dist/unstable/cli/Primitive.js +59 -10
- package/dist/unstable/cli/Primitive.js.map +1 -1
- package/dist/unstable/cli/Prompt.d.ts +37 -7
- package/dist/unstable/cli/Prompt.d.ts.map +1 -1
- package/dist/unstable/cli/Prompt.js +51 -9
- package/dist/unstable/cli/Prompt.js.map +1 -1
- package/dist/unstable/cli/index.d.ts +0 -220
- package/dist/unstable/cli/index.d.ts.map +1 -1
- package/dist/unstable/cli/index.js +0 -220
- package/dist/unstable/cli/index.js.map +1 -1
- package/dist/unstable/cli/internal/parser.js +1 -1
- package/dist/unstable/cluster/ClusterCron.d.ts +1 -1
- package/dist/unstable/cluster/ClusterError.d.ts +61 -22
- package/dist/unstable/cluster/ClusterError.d.ts.map +1 -1
- package/dist/unstable/cluster/ClusterError.js +61 -22
- package/dist/unstable/cluster/ClusterError.js.map +1 -1
- package/dist/unstable/cluster/ClusterMetrics.d.ts +58 -5
- package/dist/unstable/cluster/ClusterMetrics.d.ts.map +1 -1
- package/dist/unstable/cluster/ClusterMetrics.js +58 -5
- package/dist/unstable/cluster/ClusterMetrics.js.map +1 -1
- package/dist/unstable/cluster/ClusterSchema.d.ts +87 -26
- package/dist/unstable/cluster/ClusterSchema.d.ts.map +1 -1
- package/dist/unstable/cluster/ClusterSchema.js +87 -26
- package/dist/unstable/cluster/ClusterSchema.js.map +1 -1
- package/dist/unstable/cluster/ClusterWorkflowEngine.d.ts.map +1 -1
- package/dist/unstable/cluster/ClusterWorkflowEngine.js +49 -10
- package/dist/unstable/cluster/ClusterWorkflowEngine.js.map +1 -1
- package/dist/unstable/cluster/DeliverAt.d.ts +6 -1
- package/dist/unstable/cluster/DeliverAt.d.ts.map +1 -1
- package/dist/unstable/cluster/DeliverAt.js +6 -1
- package/dist/unstable/cluster/DeliverAt.js.map +1 -1
- package/dist/unstable/cluster/Entity.d.ts +33 -6
- package/dist/unstable/cluster/Entity.d.ts.map +1 -1
- package/dist/unstable/cluster/Entity.js +32 -5
- package/dist/unstable/cluster/Entity.js.map +1 -1
- package/dist/unstable/cluster/EntityAddress.d.ts +19 -0
- package/dist/unstable/cluster/EntityAddress.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityAddress.js +19 -0
- package/dist/unstable/cluster/EntityAddress.js.map +1 -1
- package/dist/unstable/cluster/EntityId.d.ts +44 -7
- package/dist/unstable/cluster/EntityId.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityId.js +44 -7
- package/dist/unstable/cluster/EntityId.js.map +1 -1
- package/dist/unstable/cluster/EntityResource.d.ts +5 -6
- package/dist/unstable/cluster/EntityResource.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityResource.js +4 -5
- package/dist/unstable/cluster/EntityResource.js.map +1 -1
- package/dist/unstable/cluster/EntityType.d.ts +19 -0
- package/dist/unstable/cluster/EntityType.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityType.js +19 -0
- package/dist/unstable/cluster/EntityType.js.map +1 -1
- package/dist/unstable/cluster/Envelope.d.ts +11 -11
- package/dist/unstable/cluster/Envelope.d.ts.map +1 -1
- package/dist/unstable/cluster/Envelope.js +11 -11
- package/dist/unstable/cluster/Envelope.js.map +1 -1
- package/dist/unstable/cluster/HttpRunner.d.ts +42 -22
- package/dist/unstable/cluster/HttpRunner.d.ts.map +1 -1
- package/dist/unstable/cluster/HttpRunner.js +42 -22
- package/dist/unstable/cluster/HttpRunner.js.map +1 -1
- package/dist/unstable/cluster/K8sHttpClient.d.ts +33 -14
- package/dist/unstable/cluster/K8sHttpClient.d.ts.map +1 -1
- package/dist/unstable/cluster/K8sHttpClient.js.map +1 -1
- package/dist/unstable/cluster/MachineId.d.ts +35 -9
- package/dist/unstable/cluster/MachineId.d.ts.map +1 -1
- package/dist/unstable/cluster/MachineId.js +35 -9
- package/dist/unstable/cluster/MachineId.js.map +1 -1
- package/dist/unstable/cluster/Message.d.ts +11 -11
- package/dist/unstable/cluster/Message.js +11 -11
- package/dist/unstable/cluster/MessageStorage.d.ts +38 -24
- package/dist/unstable/cluster/MessageStorage.d.ts.map +1 -1
- package/dist/unstable/cluster/MessageStorage.js +37 -23
- package/dist/unstable/cluster/MessageStorage.js.map +1 -1
- package/dist/unstable/cluster/Reply.d.ts +18 -8
- package/dist/unstable/cluster/Reply.d.ts.map +1 -1
- package/dist/unstable/cluster/Reply.js +18 -8
- package/dist/unstable/cluster/Reply.js.map +1 -1
- package/dist/unstable/cluster/Runner.d.ts +47 -14
- package/dist/unstable/cluster/Runner.d.ts.map +1 -1
- package/dist/unstable/cluster/Runner.js +47 -14
- package/dist/unstable/cluster/Runner.js.map +1 -1
- package/dist/unstable/cluster/RunnerAddress.d.ts +52 -10
- package/dist/unstable/cluster/RunnerAddress.d.ts.map +1 -1
- package/dist/unstable/cluster/RunnerAddress.js +52 -10
- package/dist/unstable/cluster/RunnerAddress.js.map +1 -1
- package/dist/unstable/cluster/RunnerHealth.d.ts +33 -16
- package/dist/unstable/cluster/RunnerHealth.d.ts.map +1 -1
- package/dist/unstable/cluster/RunnerHealth.js +33 -16
- package/dist/unstable/cluster/RunnerHealth.js.map +1 -1
- package/dist/unstable/cluster/RunnerServer.d.ts +19 -4
- package/dist/unstable/cluster/RunnerServer.d.ts.map +1 -1
- package/dist/unstable/cluster/RunnerServer.js +19 -4
- package/dist/unstable/cluster/RunnerServer.js.map +1 -1
- package/dist/unstable/cluster/Runners.d.ts +25 -1
- package/dist/unstable/cluster/Runners.d.ts.map +1 -1
- package/dist/unstable/cluster/Runners.js +24 -0
- package/dist/unstable/cluster/Runners.js.map +1 -1
- package/dist/unstable/cluster/ShardId.d.ts +24 -2
- package/dist/unstable/cluster/ShardId.d.ts.map +1 -1
- package/dist/unstable/cluster/ShardId.js +24 -2
- package/dist/unstable/cluster/ShardId.js.map +1 -1
- package/dist/unstable/cluster/Sharding.d.ts +27 -3
- package/dist/unstable/cluster/Sharding.d.ts.map +1 -1
- package/dist/unstable/cluster/Sharding.js +63 -20
- package/dist/unstable/cluster/Sharding.js.map +1 -1
- package/dist/unstable/cluster/ShardingConfig.d.ts +60 -16
- package/dist/unstable/cluster/ShardingConfig.d.ts.map +1 -1
- package/dist/unstable/cluster/ShardingConfig.js +61 -17
- package/dist/unstable/cluster/ShardingConfig.js.map +1 -1
- package/dist/unstable/cluster/ShardingRegistrationEvent.d.ts +27 -14
- package/dist/unstable/cluster/ShardingRegistrationEvent.d.ts.map +1 -1
- package/dist/unstable/cluster/ShardingRegistrationEvent.js +28 -15
- package/dist/unstable/cluster/ShardingRegistrationEvent.js.map +1 -1
- package/dist/unstable/cluster/SingleRunner.d.ts +26 -1
- package/dist/unstable/cluster/SingleRunner.d.ts.map +1 -1
- package/dist/unstable/cluster/SingleRunner.js +26 -1
- package/dist/unstable/cluster/SingleRunner.js.map +1 -1
- package/dist/unstable/cluster/Singleton.d.ts +51 -9
- package/dist/unstable/cluster/Singleton.d.ts.map +1 -1
- package/dist/unstable/cluster/Singleton.js +51 -9
- package/dist/unstable/cluster/Singleton.js.map +1 -1
- package/dist/unstable/cluster/SingletonAddress.d.ts +27 -13
- package/dist/unstable/cluster/SingletonAddress.d.ts.map +1 -1
- package/dist/unstable/cluster/SingletonAddress.js +27 -13
- package/dist/unstable/cluster/SingletonAddress.js.map +1 -1
- package/dist/unstable/cluster/Snowflake.d.ts +19 -5
- package/dist/unstable/cluster/Snowflake.d.ts.map +1 -1
- package/dist/unstable/cluster/Snowflake.js +19 -5
- package/dist/unstable/cluster/Snowflake.js.map +1 -1
- package/dist/unstable/cluster/SocketRunner.d.ts +27 -1
- package/dist/unstable/cluster/SocketRunner.d.ts.map +1 -1
- package/dist/unstable/cluster/SocketRunner.js +27 -1
- package/dist/unstable/cluster/SocketRunner.js.map +1 -1
- package/dist/unstable/cluster/SqlMessageStorage.d.ts +38 -0
- package/dist/unstable/cluster/SqlMessageStorage.d.ts.map +1 -1
- package/dist/unstable/cluster/SqlMessageStorage.js +73 -13
- package/dist/unstable/cluster/SqlMessageStorage.js.map +1 -1
- package/dist/unstable/cluster/SqlRunnerStorage.d.ts +20 -0
- package/dist/unstable/cluster/SqlRunnerStorage.d.ts.map +1 -1
- package/dist/unstable/cluster/SqlRunnerStorage.js +20 -0
- package/dist/unstable/cluster/SqlRunnerStorage.js.map +1 -1
- package/dist/unstable/cluster/TestRunner.d.ts +25 -14
- package/dist/unstable/cluster/TestRunner.d.ts.map +1 -1
- package/dist/unstable/cluster/TestRunner.js +25 -14
- package/dist/unstable/cluster/TestRunner.js.map +1 -1
- package/dist/unstable/cluster/index.d.ts +0 -790
- package/dist/unstable/cluster/index.d.ts.map +1 -1
- package/dist/unstable/cluster/index.js +0 -790
- package/dist/unstable/cluster/index.js.map +1 -1
- package/dist/unstable/devtools/DevTools.d.ts +41 -11
- package/dist/unstable/devtools/DevTools.d.ts.map +1 -1
- package/dist/unstable/devtools/DevTools.js +41 -11
- package/dist/unstable/devtools/DevTools.js.map +1 -1
- package/dist/unstable/devtools/DevToolsClient.d.ts +38 -0
- package/dist/unstable/devtools/DevToolsClient.d.ts.map +1 -1
- package/dist/unstable/devtools/DevToolsClient.js +68 -11
- package/dist/unstable/devtools/DevToolsClient.js.map +1 -1
- package/dist/unstable/devtools/DevToolsSchema.d.ts.map +1 -1
- package/dist/unstable/devtools/DevToolsSchema.js +24 -16
- package/dist/unstable/devtools/DevToolsSchema.js.map +1 -1
- package/dist/unstable/devtools/DevToolsServer.d.ts +20 -13
- package/dist/unstable/devtools/DevToolsServer.d.ts.map +1 -1
- package/dist/unstable/devtools/DevToolsServer.js +20 -13
- package/dist/unstable/devtools/DevToolsServer.js.map +1 -1
- package/dist/unstable/devtools/index.d.ts +0 -58
- package/dist/unstable/devtools/index.d.ts.map +1 -1
- package/dist/unstable/devtools/index.js +0 -58
- package/dist/unstable/devtools/index.js.map +1 -1
- package/dist/unstable/encoding/Msgpack.d.ts +2 -1
- package/dist/unstable/encoding/Msgpack.d.ts.map +1 -1
- package/dist/unstable/encoding/Msgpack.js +30 -14
- package/dist/unstable/encoding/Msgpack.js.map +1 -1
- package/dist/unstable/encoding/Ndjson.d.ts +28 -14
- package/dist/unstable/encoding/Ndjson.d.ts.map +1 -1
- package/dist/unstable/encoding/Ndjson.js +28 -14
- package/dist/unstable/encoding/Ndjson.js.map +1 -1
- package/dist/unstable/encoding/Sse.d.ts +38 -17
- package/dist/unstable/encoding/Sse.d.ts.map +1 -1
- package/dist/unstable/encoding/Sse.js +3 -3
- package/dist/unstable/encoding/Sse.js.map +1 -1
- package/dist/unstable/encoding/index.d.ts +0 -49
- package/dist/unstable/encoding/index.d.ts.map +1 -1
- package/dist/unstable/encoding/index.js +0 -49
- package/dist/unstable/encoding/index.js.map +1 -1
- package/dist/unstable/eventlog/Event.d.ts.map +1 -1
- package/dist/unstable/eventlog/Event.js +28 -13
- package/dist/unstable/eventlog/Event.js.map +1 -1
- package/dist/unstable/eventlog/EventGroup.d.ts +23 -15
- package/dist/unstable/eventlog/EventGroup.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventGroup.js +22 -14
- package/dist/unstable/eventlog/EventGroup.js.map +1 -1
- package/dist/unstable/eventlog/EventJournal.d.ts +7 -7
- package/dist/unstable/eventlog/EventJournal.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventJournal.js +36 -19
- package/dist/unstable/eventlog/EventJournal.js.map +1 -1
- package/dist/unstable/eventlog/EventLog.d.ts +63 -25
- package/dist/unstable/eventlog/EventLog.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLog.js +61 -23
- package/dist/unstable/eventlog/EventLog.js.map +1 -1
- package/dist/unstable/eventlog/EventLogEncryption.d.ts +8 -3
- package/dist/unstable/eventlog/EventLogEncryption.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogEncryption.js +8 -3
- package/dist/unstable/eventlog/EventLogEncryption.js.map +1 -1
- package/dist/unstable/eventlog/EventLogMessage.d.ts +49 -40
- package/dist/unstable/eventlog/EventLogMessage.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogMessage.js +28 -28
- package/dist/unstable/eventlog/EventLogMessage.js.map +1 -1
- package/dist/unstable/eventlog/EventLogRemote.d.ts +14 -4
- package/dist/unstable/eventlog/EventLogRemote.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogRemote.js +14 -4
- package/dist/unstable/eventlog/EventLogRemote.js.map +1 -1
- package/dist/unstable/eventlog/EventLogServer.d.ts +7 -2
- package/dist/unstable/eventlog/EventLogServer.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogServer.js +7 -2
- package/dist/unstable/eventlog/EventLogServer.js.map +1 -1
- package/dist/unstable/eventlog/EventLogServerEncrypted.d.ts +24 -2
- package/dist/unstable/eventlog/EventLogServerEncrypted.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogServerEncrypted.js +24 -2
- package/dist/unstable/eventlog/EventLogServerEncrypted.js.map +1 -1
- package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts +82 -7
- package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogServerUnencrypted.js +119 -22
- package/dist/unstable/eventlog/EventLogServerUnencrypted.js.map +1 -1
- package/dist/unstable/eventlog/EventLogSessionAuth.d.ts +33 -7
- package/dist/unstable/eventlog/EventLogSessionAuth.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogSessionAuth.js +68 -24
- package/dist/unstable/eventlog/EventLogSessionAuth.js.map +1 -1
- package/dist/unstable/eventlog/SqlEventJournal.d.ts +21 -0
- package/dist/unstable/eventlog/SqlEventJournal.d.ts.map +1 -1
- package/dist/unstable/eventlog/SqlEventJournal.js +50 -14
- package/dist/unstable/eventlog/SqlEventJournal.js.map +1 -1
- package/dist/unstable/eventlog/SqlEventLogServerEncrypted.d.ts +39 -15
- package/dist/unstable/eventlog/SqlEventLogServerEncrypted.d.ts.map +1 -1
- package/dist/unstable/eventlog/SqlEventLogServerEncrypted.js +39 -15
- package/dist/unstable/eventlog/SqlEventLogServerEncrypted.js.map +1 -1
- package/dist/unstable/eventlog/SqlEventLogServerUnencrypted.d.ts.map +1 -1
- package/dist/unstable/eventlog/SqlEventLogServerUnencrypted.js +30 -11
- package/dist/unstable/eventlog/SqlEventLogServerUnencrypted.js.map +1 -1
- package/dist/unstable/eventlog/index.d.ts +0 -240
- package/dist/unstable/eventlog/index.d.ts.map +1 -1
- package/dist/unstable/eventlog/index.js +0 -240
- package/dist/unstable/eventlog/index.js.map +1 -1
- package/dist/unstable/http/Cookies.d.ts +99 -52
- package/dist/unstable/http/Cookies.d.ts.map +1 -1
- package/dist/unstable/http/Cookies.js +77 -30
- package/dist/unstable/http/Cookies.js.map +1 -1
- package/dist/unstable/http/Etag.d.ts +43 -13
- package/dist/unstable/http/Etag.d.ts.map +1 -1
- package/dist/unstable/http/Etag.js +43 -13
- package/dist/unstable/http/Etag.js.map +1 -1
- package/dist/unstable/http/FetchHttpClient.d.ts +59 -17
- package/dist/unstable/http/FetchHttpClient.d.ts.map +1 -1
- package/dist/unstable/http/FetchHttpClient.js +59 -17
- package/dist/unstable/http/FetchHttpClient.js.map +1 -1
- package/dist/unstable/http/Headers.d.ts +60 -22
- package/dist/unstable/http/Headers.d.ts.map +1 -1
- package/dist/unstable/http/Headers.js +58 -20
- package/dist/unstable/http/Headers.js.map +1 -1
- package/dist/unstable/http/HttpBody.d.ts +6 -2
- package/dist/unstable/http/HttpBody.d.ts.map +1 -1
- package/dist/unstable/http/HttpBody.js +59 -15
- package/dist/unstable/http/HttpBody.js.map +1 -1
- package/dist/unstable/http/HttpClient.d.ts +66 -30
- package/dist/unstable/http/HttpClient.d.ts.map +1 -1
- package/dist/unstable/http/HttpClient.js +17 -7
- package/dist/unstable/http/HttpClient.js.map +1 -1
- package/dist/unstable/http/HttpClientError.d.ts +15 -14
- package/dist/unstable/http/HttpClientError.d.ts.map +1 -1
- package/dist/unstable/http/HttpClientError.js +39 -22
- package/dist/unstable/http/HttpClientError.js.map +1 -1
- package/dist/unstable/http/HttpClientRequest.d.ts +37 -16
- package/dist/unstable/http/HttpClientRequest.d.ts.map +1 -1
- package/dist/unstable/http/HttpClientRequest.js +37 -16
- package/dist/unstable/http/HttpClientRequest.js.map +1 -1
- package/dist/unstable/http/HttpClientResponse.d.ts +35 -16
- package/dist/unstable/http/HttpClientResponse.d.ts.map +1 -1
- package/dist/unstable/http/HttpClientResponse.js +33 -14
- package/dist/unstable/http/HttpClientResponse.js.map +1 -1
- package/dist/unstable/http/HttpEffect.d.ts +3 -3
- package/dist/unstable/http/HttpEffect.d.ts.map +1 -1
- package/dist/unstable/http/HttpEffect.js +3 -3
- package/dist/unstable/http/HttpEffect.js.map +1 -1
- package/dist/unstable/http/HttpMethod.d.ts +46 -20
- package/dist/unstable/http/HttpMethod.d.ts.map +1 -1
- package/dist/unstable/http/HttpMethod.js +46 -20
- package/dist/unstable/http/HttpMethod.js.map +1 -1
- package/dist/unstable/http/HttpRouter.d.ts +19 -14
- package/dist/unstable/http/HttpRouter.d.ts.map +1 -1
- package/dist/unstable/http/HttpRouter.js +54 -26
- package/dist/unstable/http/HttpRouter.js.map +1 -1
- package/dist/unstable/http/HttpServer.d.ts +34 -21
- package/dist/unstable/http/HttpServer.d.ts.map +1 -1
- package/dist/unstable/http/HttpServer.js +34 -21
- package/dist/unstable/http/HttpServer.js.map +1 -1
- package/dist/unstable/http/HttpServerError.d.ts +41 -28
- package/dist/unstable/http/HttpServerError.d.ts.map +1 -1
- package/dist/unstable/http/HttpServerError.js +39 -26
- package/dist/unstable/http/HttpServerError.js.map +1 -1
- package/dist/unstable/http/HttpServerRequest.d.ts +53 -21
- package/dist/unstable/http/HttpServerRequest.d.ts.map +1 -1
- package/dist/unstable/http/HttpServerRequest.js +20 -5
- package/dist/unstable/http/HttpServerRequest.js.map +1 -1
- package/dist/unstable/http/HttpServerRespondable.d.ts.map +1 -1
- package/dist/unstable/http/HttpServerRespondable.js +28 -14
- package/dist/unstable/http/HttpServerRespondable.js.map +1 -1
- package/dist/unstable/http/HttpServerResponse.d.ts +64 -42
- package/dist/unstable/http/HttpServerResponse.d.ts.map +1 -1
- package/dist/unstable/http/HttpServerResponse.js +48 -26
- package/dist/unstable/http/HttpServerResponse.js.map +1 -1
- package/dist/unstable/http/HttpStaticServer.d.ts +30 -13
- package/dist/unstable/http/HttpStaticServer.d.ts.map +1 -1
- package/dist/unstable/http/HttpStaticServer.js +29 -12
- package/dist/unstable/http/HttpStaticServer.js.map +1 -1
- package/dist/unstable/http/HttpTraceContext.d.ts +32 -19
- package/dist/unstable/http/HttpTraceContext.d.ts.map +1 -1
- package/dist/unstable/http/HttpTraceContext.js +32 -19
- package/dist/unstable/http/HttpTraceContext.js.map +1 -1
- package/dist/unstable/http/Multipart.d.ts +39 -19
- package/dist/unstable/http/Multipart.d.ts.map +1 -1
- package/dist/unstable/http/Multipart.js +39 -19
- package/dist/unstable/http/Multipart.js.map +1 -1
- package/dist/unstable/http/Template.d.ts +27 -14
- package/dist/unstable/http/Template.d.ts.map +1 -1
- package/dist/unstable/http/Template.js +25 -12
- package/dist/unstable/http/Template.js.map +1 -1
- package/dist/unstable/http/Url.d.ts +41 -28
- package/dist/unstable/http/Url.d.ts.map +1 -1
- package/dist/unstable/http/Url.js +32 -17
- package/dist/unstable/http/Url.js.map +1 -1
- package/dist/unstable/http/UrlParams.d.ts +43 -28
- package/dist/unstable/http/UrlParams.d.ts.map +1 -1
- package/dist/unstable/http/UrlParams.js +40 -25
- package/dist/unstable/http/UrlParams.js.map +1 -1
- package/dist/unstable/http/index.d.ts +0 -452
- package/dist/unstable/http/index.d.ts.map +1 -1
- package/dist/unstable/http/index.js +0 -452
- package/dist/unstable/http/index.js.map +1 -1
- package/dist/unstable/httpapi/HttpApi.d.ts +50 -26
- package/dist/unstable/httpapi/HttpApi.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApi.js +3 -3
- package/dist/unstable/httpapi/HttpApi.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiBuilder.d.ts +3 -3
- package/dist/unstable/httpapi/HttpApiBuilder.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiBuilder.js +39 -25
- package/dist/unstable/httpapi/HttpApiBuilder.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiClient.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiClient.js +28 -16
- package/dist/unstable/httpapi/HttpApiClient.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiEndpoint.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiEndpoint.js +51 -23
- package/dist/unstable/httpapi/HttpApiEndpoint.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiError.d.ts +2 -2
- package/dist/unstable/httpapi/HttpApiError.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiError.js +37 -17
- package/dist/unstable/httpapi/HttpApiError.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiGroup.d.ts +34 -23
- package/dist/unstable/httpapi/HttpApiGroup.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiGroup.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiMiddleware.d.ts +49 -25
- package/dist/unstable/httpapi/HttpApiMiddleware.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiMiddleware.js +49 -25
- package/dist/unstable/httpapi/HttpApiMiddleware.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiScalar.d.ts +4 -1
- package/dist/unstable/httpapi/HttpApiScalar.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiScalar.js +28 -16
- package/dist/unstable/httpapi/HttpApiScalar.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiSchema.d.ts +43 -43
- package/dist/unstable/httpapi/HttpApiSchema.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiSchema.js +42 -42
- package/dist/unstable/httpapi/HttpApiSchema.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiSecurity.d.ts +54 -24
- package/dist/unstable/httpapi/HttpApiSecurity.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiSecurity.js +54 -24
- package/dist/unstable/httpapi/HttpApiSecurity.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiSwagger.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiSwagger.js +28 -16
- package/dist/unstable/httpapi/HttpApiSwagger.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiTest.d.ts +1 -1
- package/dist/unstable/httpapi/HttpApiTest.js +1 -1
- package/dist/unstable/httpapi/OpenApi.d.ts +7 -1
- package/dist/unstable/httpapi/OpenApi.d.ts.map +1 -1
- package/dist/unstable/httpapi/OpenApi.js +45 -27
- package/dist/unstable/httpapi/OpenApi.js.map +1 -1
- package/dist/unstable/httpapi/index.d.ts +0 -311
- package/dist/unstable/httpapi/index.d.ts.map +1 -1
- package/dist/unstable/httpapi/index.js +0 -311
- package/dist/unstable/httpapi/index.js.map +1 -1
- package/dist/unstable/observability/Otlp.d.ts +31 -16
- package/dist/unstable/observability/Otlp.d.ts.map +1 -1
- package/dist/unstable/observability/Otlp.js.map +1 -1
- package/dist/unstable/observability/OtlpLogger.d.ts +1 -1
- package/dist/unstable/observability/OtlpLogger.d.ts.map +1 -1
- package/dist/unstable/observability/OtlpLogger.js +31 -15
- package/dist/unstable/observability/OtlpLogger.js.map +1 -1
- package/dist/unstable/observability/OtlpResource.d.ts.map +1 -1
- package/dist/unstable/observability/OtlpResource.js +33 -15
- package/dist/unstable/observability/OtlpResource.js.map +1 -1
- package/dist/unstable/observability/OtlpSerialization.d.ts +27 -16
- package/dist/unstable/observability/OtlpSerialization.d.ts.map +1 -1
- package/dist/unstable/observability/OtlpSerialization.js +27 -16
- package/dist/unstable/observability/OtlpSerialization.js.map +1 -1
- package/dist/unstable/observability/PrometheusMetrics.d.ts +3 -3
- package/dist/unstable/observability/PrometheusMetrics.js +3 -3
- package/dist/unstable/observability/index.d.ts +0 -183
- package/dist/unstable/observability/index.d.ts.map +1 -1
- package/dist/unstable/observability/index.js +0 -183
- package/dist/unstable/observability/index.js.map +1 -1
- package/dist/unstable/persistence/KeyValueStore.d.ts +12 -4
- package/dist/unstable/persistence/KeyValueStore.d.ts.map +1 -1
- package/dist/unstable/persistence/KeyValueStore.js +10 -2
- package/dist/unstable/persistence/KeyValueStore.js.map +1 -1
- package/dist/unstable/persistence/Persistable.d.ts +8 -3
- package/dist/unstable/persistence/Persistable.d.ts.map +1 -1
- package/dist/unstable/persistence/Persistable.js +8 -3
- package/dist/unstable/persistence/Persistable.js.map +1 -1
- package/dist/unstable/persistence/PersistedCache.d.ts +29 -16
- package/dist/unstable/persistence/PersistedCache.d.ts.map +1 -1
- package/dist/unstable/persistence/PersistedCache.js +27 -14
- package/dist/unstable/persistence/PersistedCache.js.map +1 -1
- package/dist/unstable/persistence/PersistedQueue.d.ts +10 -5
- package/dist/unstable/persistence/PersistedQueue.d.ts.map +1 -1
- package/dist/unstable/persistence/PersistedQueue.js +9 -4
- package/dist/unstable/persistence/PersistedQueue.js.map +1 -1
- package/dist/unstable/persistence/RateLimiter.d.ts +20 -10
- package/dist/unstable/persistence/RateLimiter.d.ts.map +1 -1
- package/dist/unstable/persistence/RateLimiter.js +19 -9
- package/dist/unstable/persistence/RateLimiter.js.map +1 -1
- package/dist/unstable/persistence/Redis.d.ts.map +1 -1
- package/dist/unstable/persistence/Redis.js +33 -15
- package/dist/unstable/persistence/Redis.js.map +1 -1
- package/dist/unstable/persistence/index.d.ts +0 -147
- package/dist/unstable/persistence/index.d.ts.map +1 -1
- package/dist/unstable/persistence/index.js +0 -147
- package/dist/unstable/persistence/index.js.map +1 -1
- package/dist/unstable/process/ChildProcess.d.ts +14 -14
- package/dist/unstable/process/ChildProcess.js +7 -7
- package/dist/unstable/process/ChildProcessSpawner.d.ts +17 -5
- package/dist/unstable/process/ChildProcessSpawner.d.ts.map +1 -1
- package/dist/unstable/process/ChildProcessSpawner.js +17 -5
- package/dist/unstable/process/ChildProcessSpawner.js.map +1 -1
- package/dist/unstable/process/index.d.ts +0 -45
- package/dist/unstable/process/index.d.ts.map +1 -1
- package/dist/unstable/process/index.js +0 -45
- package/dist/unstable/process/index.js.map +1 -1
- package/dist/unstable/reactivity/AsyncResult.d.ts +74 -22
- package/dist/unstable/reactivity/AsyncResult.d.ts.map +1 -1
- package/dist/unstable/reactivity/AsyncResult.js +52 -20
- package/dist/unstable/reactivity/AsyncResult.js.map +1 -1
- package/dist/unstable/reactivity/Atom.d.ts +81 -35
- package/dist/unstable/reactivity/Atom.d.ts.map +1 -1
- package/dist/unstable/reactivity/Atom.js +70 -32
- package/dist/unstable/reactivity/Atom.js.map +1 -1
- package/dist/unstable/reactivity/AtomRef.d.ts +32 -16
- package/dist/unstable/reactivity/AtomRef.d.ts.map +1 -1
- package/dist/unstable/reactivity/AtomRef.js +52 -25
- package/dist/unstable/reactivity/AtomRef.js.map +1 -1
- package/dist/unstable/reactivity/AtomRegistry.d.ts +81 -20
- package/dist/unstable/reactivity/AtomRegistry.d.ts.map +1 -1
- package/dist/unstable/reactivity/AtomRegistry.js +81 -20
- package/dist/unstable/reactivity/AtomRegistry.js.map +1 -1
- package/dist/unstable/reactivity/Hydration.d.ts +6 -1
- package/dist/unstable/reactivity/Hydration.d.ts.map +1 -1
- package/dist/unstable/reactivity/Hydration.js +37 -17
- package/dist/unstable/reactivity/Hydration.js.map +1 -1
- package/dist/unstable/reactivity/Reactivity.d.ts +44 -21
- package/dist/unstable/reactivity/Reactivity.d.ts.map +1 -1
- package/dist/unstable/reactivity/Reactivity.js +44 -21
- package/dist/unstable/reactivity/Reactivity.js.map +1 -1
- package/dist/unstable/reactivity/index.d.ts +0 -166
- package/dist/unstable/reactivity/index.d.ts.map +1 -1
- package/dist/unstable/reactivity/index.js +0 -166
- package/dist/unstable/reactivity/index.js.map +1 -1
- package/dist/unstable/rpc/Rpc.d.ts +47 -32
- package/dist/unstable/rpc/Rpc.d.ts.map +1 -1
- package/dist/unstable/rpc/Rpc.js +15 -11
- package/dist/unstable/rpc/Rpc.js.map +1 -1
- package/dist/unstable/rpc/RpcClient.d.ts +27 -12
- package/dist/unstable/rpc/RpcClient.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcClient.js +27 -12
- package/dist/unstable/rpc/RpcClient.js.map +1 -1
- package/dist/unstable/rpc/RpcClientError.d.ts +31 -17
- package/dist/unstable/rpc/RpcClientError.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcClientError.js +31 -17
- package/dist/unstable/rpc/RpcClientError.js.map +1 -1
- package/dist/unstable/rpc/RpcGroup.d.ts +29 -18
- package/dist/unstable/rpc/RpcGroup.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcGroup.js.map +1 -1
- package/dist/unstable/rpc/RpcMessage.d.ts +37 -19
- package/dist/unstable/rpc/RpcMessage.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcMessage.js +4 -4
- package/dist/unstable/rpc/RpcMessage.js.map +1 -1
- package/dist/unstable/rpc/RpcMiddleware.d.ts +31 -21
- package/dist/unstable/rpc/RpcMiddleware.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcMiddleware.js +31 -21
- package/dist/unstable/rpc/RpcMiddleware.js.map +1 -1
- package/dist/unstable/rpc/RpcSchema.d.ts +30 -20
- package/dist/unstable/rpc/RpcSchema.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcSchema.js +30 -20
- package/dist/unstable/rpc/RpcSchema.js.map +1 -1
- package/dist/unstable/rpc/RpcSerialization.d.ts +50 -33
- package/dist/unstable/rpc/RpcSerialization.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcSerialization.js +48 -31
- package/dist/unstable/rpc/RpcSerialization.js.map +1 -1
- package/dist/unstable/rpc/RpcServer.d.ts +22 -17
- package/dist/unstable/rpc/RpcServer.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcServer.js +22 -17
- package/dist/unstable/rpc/RpcServer.js.map +1 -1
- package/dist/unstable/rpc/RpcTest.d.ts +31 -15
- package/dist/unstable/rpc/RpcTest.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcTest.js +31 -15
- package/dist/unstable/rpc/RpcTest.js.map +1 -1
- package/dist/unstable/rpc/RpcWorker.d.ts +29 -14
- package/dist/unstable/rpc/RpcWorker.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcWorker.js.map +1 -1
- package/dist/unstable/rpc/index.d.ts +0 -272
- package/dist/unstable/rpc/index.d.ts.map +1 -1
- package/dist/unstable/rpc/index.js +0 -272
- package/dist/unstable/rpc/index.js.map +1 -1
- package/dist/unstable/schema/Model.d.ts +32 -33
- package/dist/unstable/schema/Model.d.ts.map +1 -1
- package/dist/unstable/schema/Model.js +25 -26
- package/dist/unstable/schema/Model.js.map +1 -1
- package/dist/unstable/schema/VariantSchema.d.ts +1 -1
- package/dist/unstable/schema/VariantSchema.js +1 -1
- package/dist/unstable/schema/index.d.ts +0 -37
- package/dist/unstable/schema/index.d.ts.map +1 -1
- package/dist/unstable/schema/index.js +0 -37
- package/dist/unstable/schema/index.js.map +1 -1
- package/dist/unstable/socket/Socket.d.ts +8 -2
- package/dist/unstable/socket/Socket.d.ts.map +1 -1
- package/dist/unstable/socket/Socket.js +8 -2
- package/dist/unstable/socket/Socket.js.map +1 -1
- package/dist/unstable/socket/SocketServer.d.ts +2 -2
- package/dist/unstable/socket/SocketServer.js +1 -1
- package/dist/unstable/socket/index.d.ts +0 -44
- package/dist/unstable/socket/index.d.ts.map +1 -1
- package/dist/unstable/socket/index.js +0 -44
- package/dist/unstable/socket/index.js.map +1 -1
- package/dist/unstable/sql/Migrator.d.ts.map +1 -1
- package/dist/unstable/sql/Migrator.js +39 -18
- package/dist/unstable/sql/Migrator.js.map +1 -1
- package/dist/unstable/sql/SqlClient.d.ts +7 -2
- package/dist/unstable/sql/SqlClient.d.ts.map +1 -1
- package/dist/unstable/sql/SqlClient.js +7 -2
- package/dist/unstable/sql/SqlClient.js.map +1 -1
- package/dist/unstable/sql/SqlConnection.d.ts +1 -1
- package/dist/unstable/sql/SqlConnection.js +1 -1
- package/dist/unstable/sql/SqlError.d.ts +2 -2
- package/dist/unstable/sql/SqlError.d.ts.map +1 -1
- package/dist/unstable/sql/SqlError.js +33 -17
- package/dist/unstable/sql/SqlError.js.map +1 -1
- package/dist/unstable/sql/SqlResolver.d.ts +3 -3
- package/dist/unstable/sql/SqlResolver.js +1 -1
- package/dist/unstable/sql/SqlSchema.d.ts +51 -21
- package/dist/unstable/sql/SqlSchema.d.ts.map +1 -1
- package/dist/unstable/sql/SqlSchema.js +51 -21
- package/dist/unstable/sql/SqlSchema.js.map +1 -1
- package/dist/unstable/sql/Statement.d.ts +1 -1
- package/dist/unstable/sql/Statement.d.ts.map +1 -1
- package/dist/unstable/sql/Statement.js +34 -14
- package/dist/unstable/sql/Statement.js.map +1 -1
- package/dist/unstable/sql/index.d.ts +0 -178
- package/dist/unstable/sql/index.d.ts.map +1 -1
- package/dist/unstable/sql/index.js +0 -178
- package/dist/unstable/sql/index.js.map +1 -1
- package/dist/unstable/workers/Transferable.d.ts +32 -21
- package/dist/unstable/workers/Transferable.d.ts.map +1 -1
- package/dist/unstable/workers/Transferable.js +32 -21
- package/dist/unstable/workers/Transferable.js.map +1 -1
- package/dist/unstable/workers/Worker.d.ts +37 -24
- package/dist/unstable/workers/Worker.d.ts.map +1 -1
- package/dist/unstable/workers/Worker.js +35 -22
- package/dist/unstable/workers/Worker.js.map +1 -1
- package/dist/unstable/workers/WorkerError.d.ts +1 -1
- package/dist/unstable/workers/WorkerError.d.ts.map +1 -1
- package/dist/unstable/workers/WorkerError.js +32 -16
- package/dist/unstable/workers/WorkerError.js.map +1 -1
- package/dist/unstable/workers/WorkerRunner.d.ts +31 -20
- package/dist/unstable/workers/WorkerRunner.d.ts.map +1 -1
- package/dist/unstable/workers/WorkerRunner.js +31 -20
- package/dist/unstable/workers/WorkerRunner.js.map +1 -1
- package/dist/unstable/workers/index.d.ts +0 -80
- package/dist/unstable/workers/index.d.ts.map +1 -1
- package/dist/unstable/workers/index.js +0 -80
- package/dist/unstable/workers/index.js.map +1 -1
- package/dist/unstable/workflow/DurableClock.d.ts +2 -2
- package/dist/unstable/workflow/DurableClock.d.ts.map +1 -1
- package/dist/unstable/workflow/DurableClock.js +25 -13
- package/dist/unstable/workflow/DurableClock.js.map +1 -1
- package/dist/unstable/workflow/DurableDeferred.d.ts +12 -12
- package/dist/unstable/workflow/DurableDeferred.js +7 -7
- package/dist/unstable/workflow/DurableQueue.d.ts +36 -18
- package/dist/unstable/workflow/DurableQueue.d.ts.map +1 -1
- package/dist/unstable/workflow/DurableQueue.js +36 -18
- package/dist/unstable/workflow/DurableQueue.js.map +1 -1
- package/dist/unstable/workflow/Workflow.d.ts +22 -23
- package/dist/unstable/workflow/Workflow.d.ts.map +1 -1
- package/dist/unstable/workflow/Workflow.js +17 -18
- package/dist/unstable/workflow/Workflow.js.map +1 -1
- package/dist/unstable/workflow/WorkflowEngine.d.ts +26 -8
- package/dist/unstable/workflow/WorkflowEngine.d.ts.map +1 -1
- package/dist/unstable/workflow/WorkflowEngine.js +25 -7
- package/dist/unstable/workflow/WorkflowEngine.js.map +1 -1
- package/dist/unstable/workflow/index.d.ts +0 -160
- package/dist/unstable/workflow/index.d.ts.map +1 -1
- package/dist/unstable/workflow/index.js +0 -160
- package/dist/unstable/workflow/index.js.map +1 -1
- package/package.json +1 -1
- package/src/Array.ts +1557 -312
- package/src/BigDecimal.ts +646 -52
- package/src/BigInt.ts +474 -18
- package/src/Boolean.ts +239 -19
- package/src/Brand.ts +102 -11
- package/src/Cache.ts +96 -24
- package/src/Cause.ts +488 -200
- package/src/Channel.ts +647 -191
- package/src/ChannelSchema.ts +99 -6
- package/src/Chunk.ts +187 -54
- package/src/Clock.ts +60 -3
- package/src/Combiner.ts +21 -21
- package/src/Config.ts +135 -50
- package/src/ConfigProvider.ts +52 -29
- package/src/Console.ts +32 -7
- package/src/Context.ts +516 -50
- package/src/Cron.ts +116 -6
- package/src/Crypto.ts +30 -1
- package/src/Data.ts +92 -47
- package/src/DateTime.ts +313 -128
- package/src/Deferred.ts +345 -79
- package/src/Differ.ts +5 -0
- package/src/Duration.ts +203 -50
- package/src/Effect.ts +2044 -816
- package/src/Effectable.ts +16 -2
- package/src/Encoding.ts +146 -9
- package/src/Equal.ts +10 -11
- package/src/Equivalence.ts +49 -46
- package/src/ErrorReporter.ts +135 -16
- package/src/ExecutionPlan.ts +96 -26
- package/src/Exit.ts +149 -101
- package/src/Fiber.ts +321 -72
- package/src/FiberHandle.ts +6 -6
- package/src/FiberMap.ts +20 -20
- package/src/FiberSet.ts +21 -13
- package/src/FileSystem.ts +119 -39
- package/src/Filter.ts +221 -2
- package/src/Formatter.ts +4 -6
- package/src/Function.ts +164 -18
- package/src/Graph.ts +297 -25
- package/src/HKT.ts +59 -26
- package/src/Hash.ts +143 -23
- package/src/HashMap.ts +35 -37
- package/src/HashRing.ts +210 -9
- package/src/HashSet.ts +16 -16
- package/src/Inspectable.ts +86 -17
- package/src/Iterable.ts +261 -81
- package/src/JsonPatch.ts +79 -56
- package/src/JsonPointer.ts +5 -5
- package/src/JsonSchema.ts +77 -33
- package/src/Latch.ts +164 -13
- package/src/Layer.ts +297 -101
- package/src/LayerMap.ts +9 -2
- package/src/LogLevel.ts +96 -21
- package/src/Logger.ts +31 -15
- package/src/ManagedRuntime.ts +82 -10
- package/src/Match.ts +250 -59
- package/src/Metric.ts +68 -41
- package/src/MutableHashMap.ts +381 -52
- package/src/MutableHashSet.ts +145 -41
- package/src/MutableList.ts +24 -6
- package/src/MutableRef.ts +141 -4
- package/src/Newtype.ts +20 -11
- package/src/NonEmptyIterable.ts +22 -6
- package/src/Number.ts +434 -17
- package/src/Optic.ts +26 -33
- package/src/Option.ts +186 -150
- package/src/Order.ts +163 -161
- package/src/Ordering.ts +37 -5
- package/src/PartitionedSemaphore.ts +238 -15
- package/src/Path.ts +34 -6
- package/src/Pipeable.ts +29 -4
- package/src/PlatformError.ts +53 -4
- package/src/Pool.ts +174 -32
- package/src/Predicate.ts +151 -196
- package/src/PrimaryKey.ts +75 -9
- package/src/PubSub.ts +241 -66
- package/src/Pull.ts +148 -3
- package/src/Queue.ts +167 -59
- package/src/Random.ts +71 -16
- package/src/RcMap.ts +171 -9
- package/src/RcRef.ts +73 -18
- package/src/Record.ts +174 -53
- package/src/Redactable.ts +27 -23
- package/src/Redacted.ts +82 -4
- package/src/Reducer.ts +17 -7
- package/src/Ref.ts +332 -54
- package/src/References.ts +226 -30
- package/src/RegExp.ts +49 -3
- package/src/Request.ts +218 -35
- package/src/RequestResolver.ts +268 -36
- package/src/Resource.ts +62 -3
- package/src/Result.ts +380 -57
- package/src/Runtime.ts +172 -32
- package/src/Schedule.ts +510 -145
- package/src/Scheduler.ts +53 -4
- package/src/Schema.ts +975 -264
- package/src/SchemaAST.ts +239 -28
- package/src/SchemaGetter.ts +127 -129
- package/src/SchemaIssue.ts +45 -56
- package/src/SchemaParser.ts +295 -33
- package/src/SchemaRepresentation.ts +106 -77
- package/src/SchemaTransformation.ts +92 -56
- package/src/SchemaUtils.ts +38 -11
- package/src/Scope.ts +127 -25
- package/src/ScopedCache.ts +418 -21
- package/src/ScopedRef.ts +69 -7
- package/src/Semaphore.ts +348 -29
- package/src/Sink.ts +343 -45
- package/src/Stdio.ts +72 -17
- package/src/Stream.ts +880 -242
- package/src/String.ts +221 -49
- package/src/Struct.ts +54 -110
- package/src/SubscriptionRef.ts +341 -105
- package/src/Symbol.ts +25 -7
- package/src/SynchronizedRef.ts +529 -29
- package/src/Take.ts +36 -13
- package/src/Terminal.ts +76 -20
- package/src/Tracer.ts +74 -7
- package/src/Trie.ts +67 -30
- package/src/Tuple.ts +96 -108
- package/src/TxChunk.ts +42 -9
- package/src/TxDeferred.ts +85 -2
- package/src/TxHashMap.ts +22 -22
- package/src/TxHashSet.ts +22 -22
- package/src/TxPriorityQueue.ts +43 -8
- package/src/TxPubSub.ts +98 -8
- package/src/TxQueue.ts +58 -17
- package/src/TxReentrantLock.ts +88 -16
- package/src/TxRef.ts +113 -8
- package/src/TxSemaphore.ts +173 -14
- package/src/TxSubscriptionRef.ts +206 -3
- package/src/Types.ts +68 -13
- package/src/UndefinedOr.ts +171 -30
- package/src/Unify.ts +130 -22
- package/src/Utils.ts +21 -16
- package/src/index.ts +0 -5205
- package/src/internal/effect.ts +59 -29
- package/src/internal/request.ts +3 -1
- package/src/internal/schema/arbitrary.ts +14 -1
- package/src/internal/schema/representation.ts +37 -14
- package/src/testing/TestConsole.ts +105 -9
- package/src/testing/TestSchema.ts +81 -31
- package/src/testing/index.ts +0 -107
- package/src/unstable/ai/AiError.ts +33 -5
- package/src/unstable/ai/AnthropicStructuredOutput.ts +43 -11
- package/src/unstable/ai/Chat.ts +82 -33
- package/src/unstable/ai/EmbeddingModel.ts +104 -8
- package/src/unstable/ai/IdGenerator.ts +8 -3
- package/src/unstable/ai/LanguageModel.ts +51 -7
- package/src/unstable/ai/McpSchema.ts +299 -169
- package/src/unstable/ai/McpServer.ts +108 -14
- package/src/unstable/ai/Model.ts +35 -13
- package/src/unstable/ai/OpenAiStructuredOutput.ts +48 -1
- package/src/unstable/ai/Prompt.ts +24 -3
- package/src/unstable/ai/Response.ts +71 -13
- package/src/unstable/ai/ResponseIdTracker.ts +34 -12
- package/src/unstable/ai/Telemetry.ts +40 -27
- package/src/unstable/ai/Tokenizer.ts +41 -25
- package/src/unstable/ai/Tool.ts +85 -24
- package/src/unstable/ai/Toolkit.ts +32 -4
- package/src/unstable/ai/index.ts +0 -560
- package/src/unstable/cli/Argument.ts +1 -1
- package/src/unstable/cli/CliError.ts +3 -3
- package/src/unstable/cli/CliOutput.ts +1 -1
- package/src/unstable/cli/Command.ts +136 -8
- package/src/unstable/cli/Completions.ts +41 -1
- package/src/unstable/cli/Flag.ts +24 -12
- package/src/unstable/cli/GlobalFlag.ts +39 -8
- package/src/unstable/cli/Param.ts +137 -11
- package/src/unstable/cli/Primitive.ts +59 -10
- package/src/unstable/cli/Prompt.ts +63 -14
- package/src/unstable/cli/index.ts +0 -220
- package/src/unstable/cli/internal/parser.ts +1 -1
- package/src/unstable/cluster/ClusterCron.ts +1 -1
- package/src/unstable/cluster/ClusterError.ts +61 -22
- package/src/unstable/cluster/ClusterMetrics.ts +58 -5
- package/src/unstable/cluster/ClusterSchema.ts +87 -26
- package/src/unstable/cluster/ClusterWorkflowEngine.ts +63 -11
- package/src/unstable/cluster/DeliverAt.ts +6 -1
- package/src/unstable/cluster/Entity.ts +33 -6
- package/src/unstable/cluster/EntityAddress.ts +19 -0
- package/src/unstable/cluster/EntityId.ts +44 -7
- package/src/unstable/cluster/EntityResource.ts +5 -6
- package/src/unstable/cluster/EntityType.ts +19 -0
- package/src/unstable/cluster/Envelope.ts +11 -11
- package/src/unstable/cluster/HttpRunner.ts +42 -22
- package/src/unstable/cluster/K8sHttpClient.ts +32 -13
- package/src/unstable/cluster/MachineId.ts +35 -9
- package/src/unstable/cluster/Message.ts +11 -11
- package/src/unstable/cluster/MessageStorage.ts +38 -24
- package/src/unstable/cluster/Reply.ts +18 -8
- package/src/unstable/cluster/Runner.ts +47 -14
- package/src/unstable/cluster/RunnerAddress.ts +52 -10
- package/src/unstable/cluster/RunnerHealth.ts +33 -16
- package/src/unstable/cluster/RunnerServer.ts +19 -4
- package/src/unstable/cluster/Runners.ts +25 -1
- package/src/unstable/cluster/ShardId.ts +24 -2
- package/src/unstable/cluster/Sharding.ts +63 -20
- package/src/unstable/cluster/ShardingConfig.ts +60 -16
- package/src/unstable/cluster/ShardingRegistrationEvent.ts +27 -14
- package/src/unstable/cluster/SingleRunner.ts +26 -1
- package/src/unstable/cluster/Singleton.ts +51 -9
- package/src/unstable/cluster/SingletonAddress.ts +27 -13
- package/src/unstable/cluster/Snowflake.ts +19 -5
- package/src/unstable/cluster/SocketRunner.ts +27 -1
- package/src/unstable/cluster/SqlMessageStorage.ts +73 -13
- package/src/unstable/cluster/SqlRunnerStorage.ts +20 -0
- package/src/unstable/cluster/TestRunner.ts +25 -14
- package/src/unstable/cluster/index.ts +0 -790
- package/src/unstable/devtools/DevTools.ts +41 -11
- package/src/unstable/devtools/DevToolsClient.ts +68 -11
- package/src/unstable/devtools/DevToolsSchema.ts +24 -16
- package/src/unstable/devtools/DevToolsServer.ts +18 -11
- package/src/unstable/devtools/index.ts +0 -58
- package/src/unstable/encoding/Msgpack.ts +30 -14
- package/src/unstable/encoding/Ndjson.ts +28 -14
- package/src/unstable/encoding/Sse.ts +38 -17
- package/src/unstable/encoding/index.ts +0 -49
- package/src/unstable/eventlog/Event.ts +30 -15
- package/src/unstable/eventlog/EventGroup.ts +23 -15
- package/src/unstable/eventlog/EventJournal.ts +38 -21
- package/src/unstable/eventlog/EventLog.ts +63 -25
- package/src/unstable/eventlog/EventLogEncryption.ts +8 -3
- package/src/unstable/eventlog/EventLogMessage.ts +49 -40
- package/src/unstable/eventlog/EventLogRemote.ts +14 -4
- package/src/unstable/eventlog/EventLogServer.ts +36 -17
- package/src/unstable/eventlog/EventLogServerEncrypted.ts +24 -2
- package/src/unstable/eventlog/EventLogServerUnencrypted.ts +119 -22
- package/src/unstable/eventlog/EventLogSessionAuth.ts +68 -24
- package/src/unstable/eventlog/SqlEventJournal.ts +50 -14
- package/src/unstable/eventlog/SqlEventLogServerEncrypted.ts +39 -15
- package/src/unstable/eventlog/SqlEventLogServerUnencrypted.ts +30 -11
- package/src/unstable/eventlog/index.ts +0 -240
- package/src/unstable/http/Cookies.ts +97 -50
- package/src/unstable/http/Etag.ts +43 -13
- package/src/unstable/http/FetchHttpClient.ts +59 -17
- package/src/unstable/http/Headers.ts +62 -24
- package/src/unstable/http/HttpBody.ts +59 -15
- package/src/unstable/http/HttpClient.ts +119 -33
- package/src/unstable/http/HttpClientError.ts +41 -24
- package/src/unstable/http/HttpClientRequest.ts +37 -16
- package/src/unstable/http/HttpClientResponse.ts +33 -14
- package/src/unstable/http/HttpEffect.ts +35 -18
- package/src/unstable/http/HttpMethod.ts +46 -20
- package/src/unstable/http/HttpRouter.ts +58 -30
- package/src/unstable/http/HttpServer.ts +34 -21
- package/src/unstable/http/HttpServerError.ts +41 -28
- package/src/unstable/http/HttpServerRequest.ts +51 -19
- package/src/unstable/http/HttpServerRespondable.ts +28 -14
- package/src/unstable/http/HttpServerResponse.ts +66 -44
- package/src/unstable/http/HttpStaticServer.ts +29 -12
- package/src/unstable/http/HttpTraceContext.ts +32 -19
- package/src/unstable/http/Multipart.ts +39 -19
- package/src/unstable/http/Template.ts +25 -12
- package/src/unstable/http/Url.ts +41 -28
- package/src/unstable/http/UrlParams.ts +43 -28
- package/src/unstable/http/index.ts +0 -452
- package/src/unstable/httpapi/HttpApi.ts +48 -24
- package/src/unstable/httpapi/HttpApiBuilder.ts +40 -26
- package/src/unstable/httpapi/HttpApiClient.ts +28 -16
- package/src/unstable/httpapi/HttpApiEndpoint.ts +51 -23
- package/src/unstable/httpapi/HttpApiError.ts +38 -18
- package/src/unstable/httpapi/HttpApiGroup.ts +34 -23
- package/src/unstable/httpapi/HttpApiMiddleware.ts +49 -25
- package/src/unstable/httpapi/HttpApiScalar.ts +32 -17
- package/src/unstable/httpapi/HttpApiSchema.ts +43 -43
- package/src/unstable/httpapi/HttpApiSecurity.ts +54 -24
- package/src/unstable/httpapi/HttpApiSwagger.ts +28 -16
- package/src/unstable/httpapi/HttpApiTest.ts +1 -1
- package/src/unstable/httpapi/OpenApi.ts +43 -25
- package/src/unstable/httpapi/index.ts +0 -311
- package/src/unstable/observability/Otlp.ts +31 -16
- package/src/unstable/observability/OtlpLogger.ts +31 -15
- package/src/unstable/observability/OtlpResource.ts +33 -15
- package/src/unstable/observability/OtlpSerialization.ts +25 -14
- package/src/unstable/observability/PrometheusMetrics.ts +3 -3
- package/src/unstable/observability/index.ts +0 -183
- package/src/unstable/persistence/KeyValueStore.ts +12 -4
- package/src/unstable/persistence/Persistable.ts +8 -3
- package/src/unstable/persistence/PersistedCache.ts +27 -14
- package/src/unstable/persistence/PersistedQueue.ts +10 -5
- package/src/unstable/persistence/RateLimiter.ts +20 -10
- package/src/unstable/persistence/Redis.ts +33 -15
- package/src/unstable/persistence/index.ts +0 -147
- package/src/unstable/process/ChildProcess.ts +14 -14
- package/src/unstable/process/ChildProcessSpawner.ts +17 -5
- package/src/unstable/process/index.ts +0 -45
- package/src/unstable/reactivity/AsyncResult.ts +96 -24
- package/src/unstable/reactivity/Atom.ts +89 -35
- package/src/unstable/reactivity/AtomRef.ts +58 -25
- package/src/unstable/reactivity/AtomRegistry.ts +79 -18
- package/src/unstable/reactivity/Hydration.ts +37 -17
- package/src/unstable/reactivity/Reactivity.ts +42 -19
- package/src/unstable/reactivity/index.ts +0 -166
- package/src/unstable/rpc/Rpc.ts +47 -32
- package/src/unstable/rpc/RpcClient.ts +58 -34
- package/src/unstable/rpc/RpcClientError.ts +29 -15
- package/src/unstable/rpc/RpcGroup.ts +28 -17
- package/src/unstable/rpc/RpcMessage.ts +37 -19
- package/src/unstable/rpc/RpcMiddleware.ts +31 -21
- package/src/unstable/rpc/RpcSchema.ts +30 -20
- package/src/unstable/rpc/RpcSerialization.ts +48 -31
- package/src/unstable/rpc/RpcServer.ts +53 -40
- package/src/unstable/rpc/RpcTest.ts +29 -13
- package/src/unstable/rpc/RpcWorker.ts +29 -14
- package/src/unstable/rpc/index.ts +0 -272
- package/src/unstable/schema/Model.ts +32 -33
- package/src/unstable/schema/VariantSchema.ts +1 -1
- package/src/unstable/schema/index.ts +0 -37
- package/src/unstable/socket/Socket.ts +8 -2
- package/src/unstable/socket/SocketServer.ts +2 -2
- package/src/unstable/socket/index.ts +0 -44
- package/src/unstable/sql/Migrator.ts +39 -18
- package/src/unstable/sql/SqlClient.ts +7 -2
- package/src/unstable/sql/SqlConnection.ts +1 -1
- package/src/unstable/sql/SqlError.ts +33 -17
- package/src/unstable/sql/SqlResolver.ts +3 -3
- package/src/unstable/sql/SqlSchema.ts +51 -21
- package/src/unstable/sql/Statement.ts +35 -15
- package/src/unstable/sql/index.ts +0 -178
- package/src/unstable/workers/Transferable.ts +32 -21
- package/src/unstable/workers/Worker.ts +35 -22
- package/src/unstable/workers/WorkerError.ts +35 -19
- package/src/unstable/workers/WorkerRunner.ts +29 -18
- package/src/unstable/workers/index.ts +0 -80
- package/src/unstable/workflow/DurableClock.ts +25 -13
- package/src/unstable/workflow/DurableDeferred.ts +12 -12
- package/src/unstable/workflow/DurableQueue.ts +34 -16
- package/src/unstable/workflow/Workflow.ts +22 -23
- package/src/unstable/workflow/WorkflowEngine.ts +26 -8
- package/src/unstable/workflow/index.ts +0 -160
|
@@ -78,9 +78,9 @@ export declare const optionalWithDefault: <S extends Schema.Top & Schema.Without
|
|
|
78
78
|
*/
|
|
79
79
|
export declare const optional: <S extends Schema.Top>(schema: S) => Schema.decodeTo<Schema.optional<S>, Schema.optionalKey<S>>;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* Schema for JSON-RPC request identifiers, allowing string or number ids.
|
|
82
82
|
*
|
|
83
|
-
* @category
|
|
83
|
+
* @category schemas
|
|
84
84
|
* @since 4.0.0
|
|
85
85
|
*/
|
|
86
86
|
export declare const RequestId: Schema.Union<[
|
|
@@ -88,17 +88,17 @@ export declare const RequestId: Schema.Union<[
|
|
|
88
88
|
typeof Schema.Number
|
|
89
89
|
]>;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* Type represented by the JSON-RPC request identifier schema.
|
|
92
92
|
*
|
|
93
|
-
* @category
|
|
93
|
+
* @category models
|
|
94
94
|
* @since 4.0.0
|
|
95
95
|
*/
|
|
96
96
|
export type RequestId = typeof RequestId.Type;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
99
|
-
* request.
|
|
98
|
+
* Schema for MCP progress tokens that associate progress notifications with the
|
|
99
|
+
* original request.
|
|
100
100
|
*
|
|
101
|
-
* @category
|
|
101
|
+
* @category schemas
|
|
102
102
|
* @since 4.0.0
|
|
103
103
|
*/
|
|
104
104
|
export declare const ProgressToken: Schema.Union<[
|
|
@@ -106,10 +106,9 @@ export declare const ProgressToken: Schema.Union<[
|
|
|
106
106
|
typeof Schema.Number
|
|
107
107
|
]>;
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
110
|
-
* request.
|
|
109
|
+
* Type represented by the MCP progress token schema.
|
|
111
110
|
*
|
|
112
|
-
* @category
|
|
111
|
+
* @category models
|
|
113
112
|
* @since 4.0.0
|
|
114
113
|
*/
|
|
115
114
|
export type ProgressToken = typeof ProgressToken.Type;
|
|
@@ -162,7 +161,7 @@ declare const RequestMeta_base: Schema.Opaque<RequestMeta, Schema.Struct<{
|
|
|
162
161
|
* Request metadata may include a progress token that asks the receiver to send
|
|
163
162
|
* out-of-band progress notifications for the request.
|
|
164
163
|
*
|
|
165
|
-
* @category
|
|
164
|
+
* @category schemas
|
|
166
165
|
* @since 4.0.0
|
|
167
166
|
*/
|
|
168
167
|
export declare class RequestMeta extends RequestMeta_base {
|
|
@@ -188,7 +187,7 @@ declare const ResultMeta_base: Schema.Opaque<ResultMeta, Schema.Struct<{
|
|
|
188
187
|
* The `_meta` field is reserved for protocol, extension, or implementation
|
|
189
188
|
* metadata attached to a result.
|
|
190
189
|
*
|
|
191
|
-
* @category
|
|
190
|
+
* @category schemas
|
|
192
191
|
* @since 4.0.0
|
|
193
192
|
*/
|
|
194
193
|
export declare class ResultMeta extends ResultMeta_base {
|
|
@@ -214,15 +213,15 @@ declare const NotificationMeta_base: Schema.Opaque<NotificationMeta, Schema.Stru
|
|
|
214
213
|
* The `_meta` field is reserved for protocol, extension, or implementation
|
|
215
214
|
* metadata attached to a notification.
|
|
216
215
|
*
|
|
217
|
-
* @category
|
|
216
|
+
* @category schemas
|
|
218
217
|
* @since 4.0.0
|
|
219
218
|
*/
|
|
220
219
|
export declare class NotificationMeta extends NotificationMeta_base {
|
|
221
220
|
}
|
|
222
221
|
/**
|
|
223
|
-
*
|
|
222
|
+
* Schema for opaque cursor tokens used in pagination.
|
|
224
223
|
*
|
|
225
|
-
* @category
|
|
224
|
+
* @category schemas
|
|
226
225
|
* @since 4.0.0
|
|
227
226
|
*/
|
|
228
227
|
export declare const Cursor: typeof Schema.String;
|
|
@@ -233,7 +232,7 @@ export declare const Cursor: typeof Schema.String;
|
|
|
233
232
|
*
|
|
234
233
|
* A cursor is an opaque string token used to continue paginated requests.
|
|
235
234
|
*
|
|
236
|
-
* @category
|
|
235
|
+
* @category models
|
|
237
236
|
* @since 4.0.0
|
|
238
237
|
*/
|
|
239
238
|
export type Cursor = typeof Cursor.Type;
|
|
@@ -296,7 +295,7 @@ declare const PaginatedRequestMeta_base: Schema.Opaque<PaginatedRequestMeta, Sch
|
|
|
296
295
|
* It includes the base request metadata fields plus an optional cursor
|
|
297
296
|
* indicating where the server should continue listing results.
|
|
298
297
|
*
|
|
299
|
-
* @category
|
|
298
|
+
* @category schemas
|
|
300
299
|
* @since 4.0.0
|
|
301
300
|
*/
|
|
302
301
|
export declare class PaginatedRequestMeta extends PaginatedRequestMeta_base {
|
|
@@ -332,15 +331,15 @@ declare const PaginatedResultMeta_base: Schema.Opaque<PaginatedResultMeta, Schem
|
|
|
332
331
|
* It includes the base result metadata fields plus an optional `nextCursor`,
|
|
333
332
|
* which indicates that more results may be available.
|
|
334
333
|
*
|
|
335
|
-
* @category
|
|
334
|
+
* @category schemas
|
|
336
335
|
* @since 4.0.0
|
|
337
336
|
*/
|
|
338
337
|
export declare class PaginatedResultMeta extends PaginatedResultMeta_base {
|
|
339
338
|
}
|
|
340
339
|
/**
|
|
341
|
-
*
|
|
340
|
+
* Schema for MCP conversation roles, allowing user and assistant.
|
|
342
341
|
*
|
|
343
|
-
* @category
|
|
342
|
+
* @category schemas
|
|
344
343
|
* @since 4.0.0
|
|
345
344
|
*/
|
|
346
345
|
export declare const Role: Schema.Literals<["user", "assistant"]>;
|
|
@@ -351,7 +350,7 @@ export declare const Role: Schema.Literals<["user", "assistant"]>;
|
|
|
351
350
|
*
|
|
352
351
|
* Valid roles are `"user"` and `"assistant"`.
|
|
353
352
|
*
|
|
354
|
-
* @category
|
|
353
|
+
* @category models
|
|
355
354
|
* @since 4.0.0
|
|
356
355
|
*/
|
|
357
356
|
export type Role = typeof Role.Type;
|
|
@@ -389,10 +388,14 @@ declare const Annotations_base: Schema.Opaque<Annotations, Schema.Struct<{
|
|
|
389
388
|
readonly priority: Schema.decodeTo<Schema.optional<Schema.Number>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
390
389
|
}>, keyof Schema.Top>;
|
|
391
390
|
/**
|
|
392
|
-
*
|
|
393
|
-
*
|
|
391
|
+
* Schema for optional client-facing annotations on MCP objects.
|
|
392
|
+
*
|
|
393
|
+
* **When to use**
|
|
394
394
|
*
|
|
395
|
-
*
|
|
395
|
+
* Use to describe intended audience and priority metadata for objects shown or
|
|
396
|
+
* processed by a client.
|
|
397
|
+
*
|
|
398
|
+
* @category schemas
|
|
396
399
|
* @since 4.0.0
|
|
397
400
|
*/
|
|
398
401
|
export declare class Annotations extends Annotations_base {
|
|
@@ -409,7 +412,7 @@ declare const Implementation_base: Schema.Opaque<Implementation, Schema.Struct<{
|
|
|
409
412
|
/**
|
|
410
413
|
* Describes the name and version of an MCP implementation.
|
|
411
414
|
*
|
|
412
|
-
* @category
|
|
415
|
+
* @category schemas
|
|
413
416
|
* @since 4.0.0
|
|
414
417
|
*/
|
|
415
418
|
export declare class Implementation extends Implementation_base {
|
|
@@ -448,11 +451,19 @@ declare const ClientCapabilities_base: Schema.Class<ClientCapabilities, Schema.S
|
|
|
448
451
|
readonly elicitation: Schema.decodeTo<Schema.optional<Schema.Struct<{}>>, Schema.optionalKey<Schema.Struct<{}>>, never, never>;
|
|
449
452
|
}>, {}>;
|
|
450
453
|
/**
|
|
451
|
-
*
|
|
452
|
-
*
|
|
453
|
-
*
|
|
454
|
+
* Describes capabilities advertised by an MCP client.
|
|
455
|
+
*
|
|
456
|
+
* **When to use**
|
|
457
|
+
*
|
|
458
|
+
* Use to describe which optional MCP features a client supports during
|
|
459
|
+
* initialization.
|
|
460
|
+
*
|
|
461
|
+
* **Details**
|
|
462
|
+
*
|
|
463
|
+
* Known capabilities are represented by this schema, but the capability set is
|
|
464
|
+
* open and clients may define additional capabilities.
|
|
454
465
|
*
|
|
455
|
-
* @category
|
|
466
|
+
* @category schemas
|
|
456
467
|
* @since 4.0.0
|
|
457
468
|
*/
|
|
458
469
|
export declare class ClientCapabilities extends ClientCapabilities_base {
|
|
@@ -595,11 +606,19 @@ declare const ServerCapabilities_base: Schema.Opaque<ServerCapabilities, Schema.
|
|
|
595
606
|
}>>, never, never>;
|
|
596
607
|
}>, keyof Schema.Top>;
|
|
597
608
|
/**
|
|
598
|
-
*
|
|
599
|
-
*
|
|
600
|
-
*
|
|
609
|
+
* Describes capabilities advertised by an MCP server.
|
|
610
|
+
*
|
|
611
|
+
* **When to use**
|
|
612
|
+
*
|
|
613
|
+
* Use to describe which optional MCP features a server supports during
|
|
614
|
+
* initialization.
|
|
615
|
+
*
|
|
616
|
+
* **Details**
|
|
617
|
+
*
|
|
618
|
+
* Known capabilities are represented by this schema, but the capability set is
|
|
619
|
+
* open and servers may define additional capabilities.
|
|
601
620
|
*
|
|
602
|
-
* @category
|
|
621
|
+
* @category schemas
|
|
603
622
|
* @since 4.0.0
|
|
604
623
|
*/
|
|
605
624
|
export declare class ServerCapabilities extends ServerCapabilities_base {
|
|
@@ -621,51 +640,74 @@ declare const McpErrorBase_base: Schema.Class<McpErrorBase, Schema.Struct<{
|
|
|
621
640
|
readonly data: Schema.decodeTo<Schema.optional<Schema.Any>, Schema.optionalKey<Schema.Any>, never, never>;
|
|
622
641
|
}>, {}>;
|
|
623
642
|
/**
|
|
624
|
-
*
|
|
643
|
+
* Schema for MCP and JSON-RPC error objects.
|
|
625
644
|
*
|
|
626
645
|
* **Details**
|
|
627
646
|
*
|
|
628
647
|
* It contains the numeric error `code`, a concise `message`, and optional
|
|
629
648
|
* sender-defined `data`.
|
|
630
649
|
*
|
|
631
|
-
* @category
|
|
650
|
+
* @category schemas
|
|
632
651
|
* @since 4.0.0
|
|
633
652
|
*/
|
|
634
653
|
export declare class McpErrorBase extends McpErrorBase_base {
|
|
635
654
|
}
|
|
636
655
|
/**
|
|
637
|
-
* JSON-RPC error code for requests that are not valid request objects.
|
|
656
|
+
* Represents the JSON-RPC error code for requests that are not valid request objects.
|
|
638
657
|
*
|
|
639
|
-
*
|
|
658
|
+
* **When to use**
|
|
659
|
+
*
|
|
660
|
+
* Use when you need the JSON-RPC error code for requests that are not valid
|
|
661
|
+
* request objects.
|
|
662
|
+
*
|
|
663
|
+
* @category constants
|
|
640
664
|
* @since 4.0.0
|
|
641
665
|
*/
|
|
642
666
|
export declare const INVALID_REQUEST_ERROR_CODE: -32600;
|
|
643
667
|
/**
|
|
644
|
-
* JSON-RPC error code for requests whose method does not exist or is not
|
|
668
|
+
* Represents the JSON-RPC error code for requests whose method does not exist or is not
|
|
645
669
|
* available.
|
|
646
670
|
*
|
|
647
|
-
*
|
|
671
|
+
* **When to use**
|
|
672
|
+
*
|
|
673
|
+
* Use when you need the JSON-RPC error code for requests whose method does not
|
|
674
|
+
* exist or is not available.
|
|
675
|
+
*
|
|
676
|
+
* @category constants
|
|
648
677
|
* @since 4.0.0
|
|
649
678
|
*/
|
|
650
679
|
export declare const METHOD_NOT_FOUND_ERROR_CODE: -32601;
|
|
651
680
|
/**
|
|
652
|
-
* JSON-RPC error code for invalid method parameters.
|
|
681
|
+
* Represents the JSON-RPC error code for invalid method parameters.
|
|
653
682
|
*
|
|
654
|
-
*
|
|
683
|
+
* **When to use**
|
|
684
|
+
*
|
|
685
|
+
* Use when you need the JSON-RPC error code for invalid method parameters.
|
|
686
|
+
*
|
|
687
|
+
* @category constants
|
|
655
688
|
* @since 4.0.0
|
|
656
689
|
*/
|
|
657
690
|
export declare const INVALID_PARAMS_ERROR_CODE: -32602;
|
|
658
691
|
/**
|
|
659
|
-
* JSON-RPC error code for internal server errors.
|
|
692
|
+
* Represents the JSON-RPC error code for internal server errors.
|
|
660
693
|
*
|
|
661
|
-
*
|
|
694
|
+
* **When to use**
|
|
695
|
+
*
|
|
696
|
+
* Use when you need the JSON-RPC error code for internal server errors.
|
|
697
|
+
*
|
|
698
|
+
* @category constants
|
|
662
699
|
* @since 4.0.0
|
|
663
700
|
*/
|
|
664
701
|
export declare const INTERNAL_ERROR_CODE: -32603;
|
|
665
702
|
/**
|
|
666
|
-
* JSON-RPC error code for invalid JSON that could not be parsed.
|
|
703
|
+
* Represents the JSON-RPC error code for invalid JSON that could not be parsed.
|
|
667
704
|
*
|
|
668
|
-
*
|
|
705
|
+
* **When to use**
|
|
706
|
+
*
|
|
707
|
+
* Use when you need the JSON-RPC error code for invalid JSON that could not be
|
|
708
|
+
* parsed.
|
|
709
|
+
*
|
|
710
|
+
* @category constants
|
|
669
711
|
* @since 4.0.0
|
|
670
712
|
*/
|
|
671
713
|
export declare const PARSE_ERROR_CODE: -32700;
|
|
@@ -684,8 +726,16 @@ declare const ParseError_base: Schema.Class<ParseError, Schema.Struct<{
|
|
|
684
726
|
readonly data: Schema.decodeTo<Schema.optional<Schema.Any>, Schema.optionalKey<Schema.Any>, never, never>;
|
|
685
727
|
}>, import("../../Cause.ts").YieldableError>;
|
|
686
728
|
/**
|
|
687
|
-
* MCP/JSON-RPC error for invalid JSON that could not be parsed.
|
|
688
|
-
*
|
|
729
|
+
* Represents an MCP/JSON-RPC error for invalid JSON that could not be parsed.
|
|
730
|
+
*
|
|
731
|
+
* **When to use**
|
|
732
|
+
*
|
|
733
|
+
* Use to report a JSON parse failure before a valid JSON-RPC request object is
|
|
734
|
+
* available.
|
|
735
|
+
*
|
|
736
|
+
* **Details**
|
|
737
|
+
*
|
|
738
|
+
* Uses the standard JSON-RPC parse error code `-32700`.
|
|
689
739
|
*
|
|
690
740
|
* @category errors
|
|
691
741
|
* @since 4.0.0
|
|
@@ -707,8 +757,16 @@ declare const InvalidRequest_base: Schema.Class<InvalidRequest, Schema.Struct<{
|
|
|
707
757
|
readonly data: Schema.decodeTo<Schema.optional<Schema.Any>, Schema.optionalKey<Schema.Any>, never, never>;
|
|
708
758
|
}>, import("../../Cause.ts").YieldableError>;
|
|
709
759
|
/**
|
|
710
|
-
* MCP/JSON-RPC error for a request object that is not valid.
|
|
711
|
-
*
|
|
760
|
+
* Represents an MCP/JSON-RPC error for a request object that is not valid.
|
|
761
|
+
*
|
|
762
|
+
* **When to use**
|
|
763
|
+
*
|
|
764
|
+
* Use to report a syntactically parsed JSON-RPC request that is not a valid
|
|
765
|
+
* request object.
|
|
766
|
+
*
|
|
767
|
+
* **Details**
|
|
768
|
+
*
|
|
769
|
+
* Uses the standard JSON-RPC invalid request code `-32600`.
|
|
712
770
|
*
|
|
713
771
|
* @category errors
|
|
714
772
|
* @since 4.0.0
|
|
@@ -730,8 +788,15 @@ declare const MethodNotFound_base: Schema.Class<MethodNotFound, Schema.Struct<{
|
|
|
730
788
|
readonly data: Schema.decodeTo<Schema.optional<Schema.Any>, Schema.optionalKey<Schema.Any>, never, never>;
|
|
731
789
|
}>, import("../../Cause.ts").YieldableError>;
|
|
732
790
|
/**
|
|
733
|
-
* MCP/JSON-RPC error for
|
|
734
|
-
*
|
|
791
|
+
* Represents an MCP/JSON-RPC error for an unavailable method.
|
|
792
|
+
*
|
|
793
|
+
* **When to use**
|
|
794
|
+
*
|
|
795
|
+
* Use to report a JSON-RPC method that does not exist or is not available.
|
|
796
|
+
*
|
|
797
|
+
* **Details**
|
|
798
|
+
*
|
|
799
|
+
* Uses the standard JSON-RPC method-not-found code `-32601`.
|
|
735
800
|
*
|
|
736
801
|
* @category errors
|
|
737
802
|
* @since 4.0.0
|
|
@@ -753,8 +818,16 @@ declare const InvalidParams_base: Schema.Class<InvalidParams, Schema.Struct<{
|
|
|
753
818
|
readonly data: Schema.decodeTo<Schema.optional<Schema.Any>, Schema.optionalKey<Schema.Any>, never, never>;
|
|
754
819
|
}>, import("../../Cause.ts").YieldableError>;
|
|
755
820
|
/**
|
|
756
|
-
* MCP/JSON-RPC error for invalid method parameters.
|
|
757
|
-
*
|
|
821
|
+
* Represents an MCP/JSON-RPC error for invalid method parameters.
|
|
822
|
+
*
|
|
823
|
+
* **When to use**
|
|
824
|
+
*
|
|
825
|
+
* Use to report a request whose method parameters do not match the method
|
|
826
|
+
* schema.
|
|
827
|
+
*
|
|
828
|
+
* **Details**
|
|
829
|
+
*
|
|
830
|
+
* Uses the standard JSON-RPC invalid params code `-32602`.
|
|
758
831
|
*
|
|
759
832
|
* @category errors
|
|
760
833
|
* @since 4.0.0
|
|
@@ -776,8 +849,16 @@ declare const InternalError_base: Schema.Class<InternalError, Schema.Struct<{
|
|
|
776
849
|
readonly data: Schema.decodeTo<Schema.optional<Schema.Any>, Schema.optionalKey<Schema.Any>, never, never>;
|
|
777
850
|
}>, import("../../Cause.ts").YieldableError>;
|
|
778
851
|
/**
|
|
779
|
-
* MCP/JSON-RPC error for unexpected internal server failures.
|
|
780
|
-
*
|
|
852
|
+
* Represents an MCP/JSON-RPC error for unexpected internal server failures.
|
|
853
|
+
*
|
|
854
|
+
* **When to use**
|
|
855
|
+
*
|
|
856
|
+
* Use to report an unexpected server-side failure while handling a valid
|
|
857
|
+
* request.
|
|
858
|
+
*
|
|
859
|
+
* **Details**
|
|
860
|
+
*
|
|
861
|
+
* Uses the standard JSON-RPC internal error code `-32603` and includes
|
|
781
862
|
* `InternalError.notImplemented` for unimplemented handlers.
|
|
782
863
|
*
|
|
783
864
|
* @category errors
|
|
@@ -796,9 +877,15 @@ export declare class InternalError extends InternalError_base {
|
|
|
796
877
|
export declare const McpError: Schema.Union<readonly [typeof ParseError, typeof InvalidRequest, typeof MethodNotFound, typeof InvalidParams, typeof InternalError, typeof McpErrorBase]>;
|
|
797
878
|
declare const Ping_base: Rpc.Rpc<"ping", Schema.UndefinedOr<typeof RequestMeta>, Schema.Struct<{}>, Schema.Union<readonly [typeof ParseError, typeof InvalidRequest, typeof MethodNotFound, typeof InvalidParams, typeof InternalError, typeof McpErrorBase]>, never, never>;
|
|
798
879
|
/**
|
|
799
|
-
*
|
|
800
|
-
*
|
|
801
|
-
*
|
|
880
|
+
* Represents an MCP ping request used to check whether the peer is still alive.
|
|
881
|
+
*
|
|
882
|
+
* **When to use**
|
|
883
|
+
*
|
|
884
|
+
* Use to implement client or server liveness checks.
|
|
885
|
+
*
|
|
886
|
+
* **Details**
|
|
887
|
+
*
|
|
888
|
+
* The receiver should respond promptly; otherwise the sender may disconnect.
|
|
802
889
|
*
|
|
803
890
|
* @category ping
|
|
804
891
|
* @since 4.0.0
|
|
@@ -851,8 +938,7 @@ declare const InitializeResult_base: Schema.Opaque<InitializeResult, Schema.Stru
|
|
|
851
938
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
852
939
|
}>, keyof Schema.Top>;
|
|
853
940
|
/**
|
|
854
|
-
*
|
|
855
|
-
* response.
|
|
941
|
+
* Schema for the server's response to an initialize request from the client.
|
|
856
942
|
*
|
|
857
943
|
* @category initialization
|
|
858
944
|
* @since 4.0.0
|
|
@@ -896,8 +982,8 @@ declare const Initialize_base: Rpc.Rpc<"initialize", Schema.Struct<{
|
|
|
896
982
|
}>>, never, never>;
|
|
897
983
|
}>, typeof InitializeResult, Schema.Union<readonly [typeof ParseError, typeof InvalidRequest, typeof MethodNotFound, typeof InvalidParams, typeof InternalError, typeof McpErrorBase]>, never, never>;
|
|
898
984
|
/**
|
|
899
|
-
*
|
|
900
|
-
*
|
|
985
|
+
* Sent from the client to the server when it first connects, asking it to begin
|
|
986
|
+
* initialization.
|
|
901
987
|
*
|
|
902
988
|
* @category initialization
|
|
903
989
|
* @since 4.0.0
|
|
@@ -906,8 +992,7 @@ export declare class Initialize extends Initialize_base {
|
|
|
906
992
|
}
|
|
907
993
|
declare const InitializedNotification_base: Rpc.Rpc<"notifications/initialized", Schema.UndefinedOr<typeof NotificationMeta>, Schema.Void, Schema.Never, never, never>;
|
|
908
994
|
/**
|
|
909
|
-
*
|
|
910
|
-
* has finished.
|
|
995
|
+
* Sent from the client to the server after initialization has finished.
|
|
911
996
|
*
|
|
912
997
|
* @category initialization
|
|
913
998
|
* @since 4.0.0
|
|
@@ -930,8 +1015,8 @@ declare const CancelledNotification_base: Rpc.Rpc<"notifications/cancelled", Sch
|
|
|
930
1015
|
_meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
931
1016
|
}>, Schema.Void, Schema.Never, never, never>;
|
|
932
1017
|
/**
|
|
933
|
-
*
|
|
934
|
-
*
|
|
1018
|
+
* Sent from either peer to cancel a previously issued request in the same
|
|
1019
|
+
* direction.
|
|
935
1020
|
*
|
|
936
1021
|
* **Details**
|
|
937
1022
|
*
|
|
@@ -965,8 +1050,7 @@ declare const ProgressNotification_base: Rpc.Rpc<"notifications/progress", Schem
|
|
|
965
1050
|
_meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
966
1051
|
}>, Schema.Void, Schema.Never, never, never>;
|
|
967
1052
|
/**
|
|
968
|
-
*
|
|
969
|
-
* for a long-running request.
|
|
1053
|
+
* Sent from either peer to report progress for a long-running request.
|
|
970
1054
|
*
|
|
971
1055
|
* @category progress
|
|
972
1056
|
* @since 4.0.0
|
|
@@ -1017,7 +1101,7 @@ declare const Resource_base: Schema.Class<Resource, Schema.Struct<{
|
|
|
1017
1101
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1018
1102
|
}>, {}>;
|
|
1019
1103
|
/**
|
|
1020
|
-
*
|
|
1104
|
+
* Schema for a known resource that the server is capable of reading.
|
|
1021
1105
|
*
|
|
1022
1106
|
* @category resources
|
|
1023
1107
|
* @since 4.0.0
|
|
@@ -1059,7 +1143,7 @@ declare const ResourceTemplate_base: Schema.Class<ResourceTemplate, Schema.Struc
|
|
|
1059
1143
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1060
1144
|
}>, {}>;
|
|
1061
1145
|
/**
|
|
1062
|
-
*
|
|
1146
|
+
* Schema for a template description of resources available on the server.
|
|
1063
1147
|
*
|
|
1064
1148
|
* @category resources
|
|
1065
1149
|
* @since 4.0.0
|
|
@@ -1094,7 +1178,7 @@ declare const ResourceContents_base: Schema.Opaque<ResourceContents, Schema.Stru
|
|
|
1094
1178
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1095
1179
|
}>, keyof Schema.Top>;
|
|
1096
1180
|
/**
|
|
1097
|
-
*
|
|
1181
|
+
* Schema for the contents of a specific resource or sub-resource.
|
|
1098
1182
|
*
|
|
1099
1183
|
* @category resources
|
|
1100
1184
|
* @since 4.0.0
|
|
@@ -1139,7 +1223,7 @@ declare const TextResourceContents_base: Schema.Opaque<TextResourceContents, Sch
|
|
|
1139
1223
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1140
1224
|
}>, keyof Schema.Top>;
|
|
1141
1225
|
/**
|
|
1142
|
-
*
|
|
1226
|
+
* Schema for text resource contents represented as a string.
|
|
1143
1227
|
*
|
|
1144
1228
|
* @category resources
|
|
1145
1229
|
* @since 4.0.0
|
|
@@ -1182,7 +1266,7 @@ declare const BlobResourceContents_base: Schema.Opaque<BlobResourceContents, Sch
|
|
|
1182
1266
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1183
1267
|
}>, keyof Schema.Top>;
|
|
1184
1268
|
/**
|
|
1185
|
-
*
|
|
1269
|
+
* Schema for binary resource contents represented as a `Uint8Array`.
|
|
1186
1270
|
*
|
|
1187
1271
|
* @category resources
|
|
1188
1272
|
* @since 4.0.0
|
|
@@ -1203,7 +1287,7 @@ declare const ListResourcesResult_base: Schema.Class<ListResourcesResult, Schema
|
|
|
1203
1287
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1204
1288
|
}>, {}>;
|
|
1205
1289
|
/**
|
|
1206
|
-
*
|
|
1290
|
+
* Schema for the server's response to a resources/list request from the client.
|
|
1207
1291
|
*
|
|
1208
1292
|
* @category resources
|
|
1209
1293
|
* @since 4.0.0
|
|
@@ -1233,7 +1317,8 @@ declare const ListResourceTemplatesResult_base: Schema.Class<ListResourceTemplat
|
|
|
1233
1317
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1234
1318
|
}>, {}>;
|
|
1235
1319
|
/**
|
|
1236
|
-
*
|
|
1320
|
+
* Schema for the server's response to a resources/templates/list request from
|
|
1321
|
+
* the client.
|
|
1237
1322
|
*
|
|
1238
1323
|
* @category resources
|
|
1239
1324
|
* @since 4.0.0
|
|
@@ -1265,7 +1350,7 @@ declare const ReadResourceResult_base: Schema.Opaque<ReadResourceResult, Schema.
|
|
|
1265
1350
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1266
1351
|
}>, keyof Schema.Top>;
|
|
1267
1352
|
/**
|
|
1268
|
-
*
|
|
1353
|
+
* Schema for the server's response to a resources/read request from the client.
|
|
1269
1354
|
*
|
|
1270
1355
|
* @category resources
|
|
1271
1356
|
* @since 4.0.0
|
|
@@ -1308,9 +1393,15 @@ export declare class ReadResource extends ReadResource_base {
|
|
|
1308
1393
|
}
|
|
1309
1394
|
declare const ResourceListChangedNotification_base: Rpc.Rpc<"notifications/resources/list_changed", Schema.UndefinedOr<typeof NotificationMeta>, Schema.Void, Schema.Never, never, never>;
|
|
1310
1395
|
/**
|
|
1311
|
-
*
|
|
1312
|
-
*
|
|
1313
|
-
*
|
|
1396
|
+
* Represents a notification that the server's resource list changed.
|
|
1397
|
+
*
|
|
1398
|
+
* **When to use**
|
|
1399
|
+
*
|
|
1400
|
+
* Use to notify clients that `resources/list` should be requested again.
|
|
1401
|
+
*
|
|
1402
|
+
* **Details**
|
|
1403
|
+
*
|
|
1404
|
+
* Servers may send this notification without a previous client subscription.
|
|
1314
1405
|
*
|
|
1315
1406
|
* @category resources
|
|
1316
1407
|
* @since 4.0.0
|
|
@@ -1396,7 +1487,7 @@ declare const ResourceUpdatedNotification_base: Rpc.Rpc<"notifications/resources
|
|
|
1396
1487
|
_meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1397
1488
|
}>, Schema.Void, Schema.Never, never, never>;
|
|
1398
1489
|
/**
|
|
1399
|
-
*
|
|
1490
|
+
* Sent from the server when a subscribed resource URI has changed.
|
|
1400
1491
|
*
|
|
1401
1492
|
* **Details**
|
|
1402
1493
|
*
|
|
@@ -1440,7 +1531,7 @@ declare const PromptArgument_base: Schema.Opaque<PromptArgument, Schema.Struct<{
|
|
|
1440
1531
|
/**
|
|
1441
1532
|
* Describes an argument that a prompt can accept.
|
|
1442
1533
|
*
|
|
1443
|
-
* @category
|
|
1534
|
+
* @category schemas
|
|
1444
1535
|
* @since 4.0.0
|
|
1445
1536
|
*/
|
|
1446
1537
|
export declare class PromptArgument extends PromptArgument_base {
|
|
@@ -1461,9 +1552,9 @@ declare const Prompt_base: Schema.Class<Prompt, Schema.Struct<{
|
|
|
1461
1552
|
readonly arguments: Schema.decodeTo<Schema.optional<Schema.$Array<typeof PromptArgument>>, Schema.optionalKey<Schema.$Array<typeof PromptArgument>>, never, never>;
|
|
1462
1553
|
}>, {}>;
|
|
1463
1554
|
/**
|
|
1464
|
-
*
|
|
1555
|
+
* Represents a prompt or prompt template that the server offers.
|
|
1465
1556
|
*
|
|
1466
|
-
* @category
|
|
1557
|
+
* @category schemas
|
|
1467
1558
|
* @since 4.0.0
|
|
1468
1559
|
*/
|
|
1469
1560
|
export declare class Prompt extends Prompt_base {
|
|
@@ -1490,9 +1581,9 @@ declare const TextContent_base: Schema.Opaque<TextContent, Schema.Struct<{
|
|
|
1490
1581
|
readonly annotations: Schema.decodeTo<Schema.optional<typeof Annotations>, Schema.optionalKey<typeof Annotations>, never, never>;
|
|
1491
1582
|
}>, keyof Schema.Top>;
|
|
1492
1583
|
/**
|
|
1493
|
-
*
|
|
1584
|
+
* Represents text content provided to or from an LLM.
|
|
1494
1585
|
*
|
|
1495
|
-
* @category
|
|
1586
|
+
* @category schemas
|
|
1496
1587
|
* @since 4.0.0
|
|
1497
1588
|
*/
|
|
1498
1589
|
export declare class TextContent extends TextContent_base {
|
|
@@ -1529,9 +1620,9 @@ declare const ImageContent_base: Schema.Opaque<ImageContent, Schema.Struct<{
|
|
|
1529
1620
|
readonly annotations: Schema.decodeTo<Schema.optional<typeof Annotations>, Schema.optionalKey<typeof Annotations>, never, never>;
|
|
1530
1621
|
}>, keyof Schema.Top>;
|
|
1531
1622
|
/**
|
|
1532
|
-
*
|
|
1623
|
+
* Represents image content provided to or from an LLM.
|
|
1533
1624
|
*
|
|
1534
|
-
* @category
|
|
1625
|
+
* @category schemas
|
|
1535
1626
|
* @since 4.0.0
|
|
1536
1627
|
*/
|
|
1537
1628
|
export declare class ImageContent extends ImageContent_base {
|
|
@@ -1568,9 +1659,9 @@ declare const AudioContent_base: Schema.Opaque<AudioContent, Schema.Struct<{
|
|
|
1568
1659
|
readonly annotations: Schema.decodeTo<Schema.optional<typeof Annotations>, Schema.optionalKey<typeof Annotations>, never, never>;
|
|
1569
1660
|
}>, keyof Schema.Top>;
|
|
1570
1661
|
/**
|
|
1571
|
-
*
|
|
1662
|
+
* Represents audio content provided to or from an LLM.
|
|
1572
1663
|
*
|
|
1573
|
-
* @category
|
|
1664
|
+
* @category schemas
|
|
1574
1665
|
* @since 4.0.0
|
|
1575
1666
|
*/
|
|
1576
1667
|
export declare class AudioContent extends AudioContent_base {
|
|
@@ -1591,14 +1682,14 @@ declare const EmbeddedResource_base: Schema.Opaque<EmbeddedResource, Schema.Stru
|
|
|
1591
1682
|
readonly annotations: Schema.decodeTo<Schema.optional<typeof Annotations>, Schema.optionalKey<typeof Annotations>, never, never>;
|
|
1592
1683
|
}>, keyof Schema.Top>;
|
|
1593
1684
|
/**
|
|
1594
|
-
*
|
|
1685
|
+
* Represents resource contents embedded into a prompt or tool call result.
|
|
1595
1686
|
*
|
|
1596
1687
|
* **Details**
|
|
1597
1688
|
*
|
|
1598
1689
|
* It is up to the client how best to render embedded resources for the benefit
|
|
1599
1690
|
* of the LLM and/or the user.
|
|
1600
1691
|
*
|
|
1601
|
-
* @category
|
|
1692
|
+
* @category schemas
|
|
1602
1693
|
* @since 4.0.0
|
|
1603
1694
|
*/
|
|
1604
1695
|
export declare class EmbeddedResource extends EmbeddedResource_base {
|
|
@@ -1691,24 +1782,23 @@ declare const ResourceLink_base: Schema.Opaque<ResourceLink, Schema.Struct<{
|
|
|
1691
1782
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1692
1783
|
}>, keyof Schema.Top>;
|
|
1693
1784
|
/**
|
|
1694
|
-
*
|
|
1695
|
-
* tool call result.
|
|
1785
|
+
* Represents a readable resource included in a prompt or tool call result.
|
|
1696
1786
|
*
|
|
1697
1787
|
* **Gotchas**
|
|
1698
1788
|
*
|
|
1699
1789
|
* Resource links returned by tools are not guaranteed to appear in the results
|
|
1700
1790
|
* of `resources/list` requests.
|
|
1701
1791
|
*
|
|
1702
|
-
* @category
|
|
1792
|
+
* @category schemas
|
|
1703
1793
|
* @since 4.0.0
|
|
1704
1794
|
*/
|
|
1705
1795
|
export declare class ResourceLink extends ResourceLink_base {
|
|
1706
1796
|
}
|
|
1707
1797
|
/**
|
|
1708
|
-
*
|
|
1709
|
-
* results
|
|
1798
|
+
* Schema for MCP content blocks that can appear in prompt messages or tool
|
|
1799
|
+
* results.
|
|
1710
1800
|
*
|
|
1711
|
-
* @category
|
|
1801
|
+
* @category schemas
|
|
1712
1802
|
* @since 4.0.0
|
|
1713
1803
|
*/
|
|
1714
1804
|
export declare const ContentBlock: Schema.Union<readonly [typeof TextContent, typeof ImageContent, typeof AudioContent, typeof EmbeddedResource, typeof ResourceLink]>;
|
|
@@ -1727,7 +1817,7 @@ declare const PromptMessage_base: Schema.Opaque<PromptMessage, Schema.Struct<{
|
|
|
1727
1817
|
* This is similar to `SamplingMessage`, but also supports the embedding of
|
|
1728
1818
|
* resources from the MCP server.
|
|
1729
1819
|
*
|
|
1730
|
-
* @category
|
|
1820
|
+
* @category schemas
|
|
1731
1821
|
* @since 4.0.0
|
|
1732
1822
|
*/
|
|
1733
1823
|
export declare class PromptMessage extends PromptMessage_base {
|
|
@@ -1746,9 +1836,9 @@ declare const ListPromptsResult_base: Schema.Class<ListPromptsResult, Schema.Str
|
|
|
1746
1836
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1747
1837
|
}>, {}>;
|
|
1748
1838
|
/**
|
|
1749
|
-
*
|
|
1839
|
+
* Represents the server response to a prompts/list request from the client.
|
|
1750
1840
|
*
|
|
1751
|
-
* @category
|
|
1841
|
+
* @category schemas
|
|
1752
1842
|
* @since 4.0.0
|
|
1753
1843
|
*/
|
|
1754
1844
|
export declare class ListPromptsResult extends ListPromptsResult_base {
|
|
@@ -1758,7 +1848,7 @@ declare const ListPrompts_base: Rpc.Rpc<"prompts/list", Schema.UndefinedOr<typeo
|
|
|
1758
1848
|
* Sent from the client to request a list of prompts and prompt templates the
|
|
1759
1849
|
* server has.
|
|
1760
1850
|
*
|
|
1761
|
-
* @category
|
|
1851
|
+
* @category protocols
|
|
1762
1852
|
* @since 4.0.0
|
|
1763
1853
|
*/
|
|
1764
1854
|
export declare class ListPrompts extends ListPrompts_base {
|
|
@@ -1776,9 +1866,9 @@ declare const GetPromptResult_base: Schema.Class<GetPromptResult, Schema.Struct<
|
|
|
1776
1866
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1777
1867
|
}>, {}>;
|
|
1778
1868
|
/**
|
|
1779
|
-
*
|
|
1869
|
+
* Represents the server response to a prompts/get request from the client.
|
|
1780
1870
|
*
|
|
1781
|
-
* @category
|
|
1871
|
+
* @category schemas
|
|
1782
1872
|
* @since 4.0.0
|
|
1783
1873
|
*/
|
|
1784
1874
|
export declare class GetPromptResult extends GetPromptResult_base {
|
|
@@ -1814,20 +1904,26 @@ declare const GetPrompt_base: Rpc.Rpc<"prompts/get", Schema.Struct<{
|
|
|
1814
1904
|
}>>, never, never>;
|
|
1815
1905
|
}>, typeof GetPromptResult, Schema.Union<readonly [typeof ParseError, typeof InvalidRequest, typeof MethodNotFound, typeof InvalidParams, typeof InternalError, typeof McpErrorBase]>, never, never>;
|
|
1816
1906
|
/**
|
|
1817
|
-
*
|
|
1907
|
+
* Sent from the client to get a prompt provided by the server.
|
|
1818
1908
|
*
|
|
1819
|
-
* @category
|
|
1909
|
+
* @category protocols
|
|
1820
1910
|
* @since 4.0.0
|
|
1821
1911
|
*/
|
|
1822
1912
|
export declare class GetPrompt extends GetPrompt_base {
|
|
1823
1913
|
}
|
|
1824
1914
|
declare const PromptListChangedNotification_base: Rpc.Rpc<"notifications/prompts/list_changed", Schema.UndefinedOr<typeof NotificationMeta>, Schema.Void, Schema.Never, never, never>;
|
|
1825
1915
|
/**
|
|
1826
|
-
*
|
|
1827
|
-
*
|
|
1828
|
-
*
|
|
1916
|
+
* Represents a notification that the server's prompt list changed.
|
|
1917
|
+
*
|
|
1918
|
+
* **When to use**
|
|
1919
|
+
*
|
|
1920
|
+
* Use to notify clients that `prompts/list` should be requested again.
|
|
1921
|
+
*
|
|
1922
|
+
* **Details**
|
|
1923
|
+
*
|
|
1924
|
+
* Servers may send this notification without a previous client subscription.
|
|
1829
1925
|
*
|
|
1830
|
-
* @category
|
|
1926
|
+
* @category protocols
|
|
1831
1927
|
* @since 4.0.0
|
|
1832
1928
|
*/
|
|
1833
1929
|
export declare class PromptListChangedNotification extends PromptListChangedNotification_base {
|
|
@@ -1910,7 +2006,7 @@ declare const ToolAnnotations_base: Schema.Opaque<ToolAnnotations, Schema.Struct
|
|
|
1910
2006
|
readonly openWorldHint: optionalWithDefault<Schema.Boolean>;
|
|
1911
2007
|
}>, keyof Schema.Top>;
|
|
1912
2008
|
/**
|
|
1913
|
-
*
|
|
2009
|
+
* Schema for additional properties describing a tool to clients.
|
|
1914
2010
|
*
|
|
1915
2011
|
* **Details**
|
|
1916
2012
|
*
|
|
@@ -1957,7 +2053,7 @@ declare const Tool_base: Schema.Class<Tool, Schema.Struct<{
|
|
|
1957
2053
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1958
2054
|
}>, {}>;
|
|
1959
2055
|
/**
|
|
1960
|
-
*
|
|
2056
|
+
* Schema for the definition of a tool the client can call.
|
|
1961
2057
|
*
|
|
1962
2058
|
* @category tools
|
|
1963
2059
|
* @since 4.0.0
|
|
@@ -1978,7 +2074,7 @@ declare const ListToolsResult_base: Schema.Class<ListToolsResult, Schema.Struct<
|
|
|
1978
2074
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
1979
2075
|
}>, {}>;
|
|
1980
2076
|
/**
|
|
1981
|
-
*
|
|
2077
|
+
* Schema for the server's response to a tools/list request from the client.
|
|
1982
2078
|
*
|
|
1983
2079
|
* @category tools
|
|
1984
2080
|
* @since 4.0.0
|
|
@@ -2010,7 +2106,7 @@ declare const CallToolResult_base: Schema.Class<CallToolResult, Schema.Struct<{
|
|
|
2010
2106
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
2011
2107
|
}>, {}>;
|
|
2012
2108
|
/**
|
|
2013
|
-
*
|
|
2109
|
+
* Schema for the server's response to a tool call.
|
|
2014
2110
|
*
|
|
2015
2111
|
* **Details**
|
|
2016
2112
|
*
|
|
@@ -2050,7 +2146,15 @@ declare const CallTool_base: Rpc.Rpc<"tools/call", Schema.Struct<{
|
|
|
2050
2146
|
}>>, never, never>;
|
|
2051
2147
|
}>, typeof CallToolResult, Schema.Union<readonly [typeof ParseError, typeof InvalidRequest, typeof MethodNotFound, typeof InvalidParams, typeof InternalError, typeof McpErrorBase]>, never, never>;
|
|
2052
2148
|
/**
|
|
2053
|
-
*
|
|
2149
|
+
* Represents a client request to invoke a tool provided by the server.
|
|
2150
|
+
*
|
|
2151
|
+
* **When to use**
|
|
2152
|
+
*
|
|
2153
|
+
* Use when a client already knows the tool name and wants the server to execute
|
|
2154
|
+
* it with argument values.
|
|
2155
|
+
*
|
|
2156
|
+
* @see {@link ListTools} for discovering available tools before calling one
|
|
2157
|
+
* @see {@link CallToolResult} for the successful tool-call result shape
|
|
2054
2158
|
*
|
|
2055
2159
|
* @category tools
|
|
2056
2160
|
* @since 4.0.0
|
|
@@ -2059,9 +2163,15 @@ export declare class CallTool extends CallTool_base {
|
|
|
2059
2163
|
}
|
|
2060
2164
|
declare const ToolListChangedNotification_base: Rpc.Rpc<"notifications/tools/list_changed", Schema.UndefinedOr<typeof NotificationMeta>, Schema.Void, Schema.Never, never, never>;
|
|
2061
2165
|
/**
|
|
2062
|
-
*
|
|
2063
|
-
*
|
|
2064
|
-
*
|
|
2166
|
+
* Represents a notification that the server's tool list changed.
|
|
2167
|
+
*
|
|
2168
|
+
* **When to use**
|
|
2169
|
+
*
|
|
2170
|
+
* Use to notify clients that `tools/list` should be requested again.
|
|
2171
|
+
*
|
|
2172
|
+
* **Details**
|
|
2173
|
+
*
|
|
2174
|
+
* Servers may send this notification without a previous client subscription.
|
|
2065
2175
|
*
|
|
2066
2176
|
* @category tools
|
|
2067
2177
|
* @since 4.0.0
|
|
@@ -2069,8 +2179,8 @@ declare const ToolListChangedNotification_base: Rpc.Rpc<"notifications/tools/lis
|
|
|
2069
2179
|
export declare class ToolListChangedNotification extends ToolListChangedNotification_base {
|
|
2070
2180
|
}
|
|
2071
2181
|
/**
|
|
2072
|
-
*
|
|
2073
|
-
* specified in RFC 5424 section 6.2.1:
|
|
2182
|
+
* Schema for log message severity levels, mapped to syslog message severities
|
|
2183
|
+
* as specified in RFC 5424 section 6.2.1:
|
|
2074
2184
|
* https://datatracker.ietf.org/doc/html/rfc5424#section-6.2.1.
|
|
2075
2185
|
*
|
|
2076
2186
|
* @category logging
|
|
@@ -2123,7 +2233,7 @@ declare const SetLevel_base: Rpc.Rpc<"logging/setLevel", Schema.Struct<{
|
|
|
2123
2233
|
}>>, never, never>;
|
|
2124
2234
|
}>, Schema.Void, Schema.Union<readonly [typeof ParseError, typeof InvalidRequest, typeof MethodNotFound, typeof InvalidParams, typeof InternalError, typeof McpErrorBase]>, never, never>;
|
|
2125
2235
|
/**
|
|
2126
|
-
*
|
|
2236
|
+
* Sent from the client to the server to enable or adjust logging.
|
|
2127
2237
|
*
|
|
2128
2238
|
* @category logging
|
|
2129
2239
|
* @since 4.0.0
|
|
@@ -2151,7 +2261,7 @@ declare const LoggingMessageNotification_base: Rpc.Rpc<"notifications/message",
|
|
|
2151
2261
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
2152
2262
|
}>, Schema.Void, Schema.Never, never, never>;
|
|
2153
2263
|
/**
|
|
2154
|
-
*
|
|
2264
|
+
* Sent from the server to the client carrying a log message.
|
|
2155
2265
|
*
|
|
2156
2266
|
* **Details**
|
|
2157
2267
|
*
|
|
@@ -2208,7 +2318,7 @@ declare const ModelHint_base: Schema.Opaque<ModelHint, Schema.Struct<{
|
|
|
2208
2318
|
readonly name: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2209
2319
|
}>, keyof Schema.Top>;
|
|
2210
2320
|
/**
|
|
2211
|
-
*
|
|
2321
|
+
* Schema for model selection hints.
|
|
2212
2322
|
*
|
|
2213
2323
|
* **Details**
|
|
2214
2324
|
*
|
|
@@ -2251,8 +2361,8 @@ declare const ModelPreferences_base: Schema.Class<ModelPreferences, Schema.Struc
|
|
|
2251
2361
|
readonly intelligencePriority: Schema.decodeTo<Schema.optional<Schema.Number>, Schema.optionalKey<Schema.Number>, never, never>;
|
|
2252
2362
|
}>, {}>;
|
|
2253
2363
|
/**
|
|
2254
|
-
*
|
|
2255
|
-
* sampling.
|
|
2364
|
+
* Schema for the server's model selection preferences requested of the client
|
|
2365
|
+
* during sampling.
|
|
2256
2366
|
*
|
|
2257
2367
|
* **Details**
|
|
2258
2368
|
*
|
|
@@ -2284,10 +2394,16 @@ declare const CreateMessageResult_base: Schema.Class<CreateMessageResult, Schema
|
|
|
2284
2394
|
readonly stopReason: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2285
2395
|
}>, {}>;
|
|
2286
2396
|
/**
|
|
2287
|
-
*
|
|
2288
|
-
*
|
|
2289
|
-
*
|
|
2290
|
-
*
|
|
2397
|
+
* Represents a client response to an MCP sampling request.
|
|
2398
|
+
*
|
|
2399
|
+
* **When to use**
|
|
2400
|
+
*
|
|
2401
|
+
* Use to return the message produced by client-side model sampling.
|
|
2402
|
+
*
|
|
2403
|
+
* **Details**
|
|
2404
|
+
*
|
|
2405
|
+
* The client should let the user inspect the sampled message before returning
|
|
2406
|
+
* it to the server.
|
|
2291
2407
|
*
|
|
2292
2408
|
* @category sampling
|
|
2293
2409
|
* @since 4.0.0
|
|
@@ -2325,10 +2441,17 @@ declare const CreateMessage_base: Rpc.Rpc<"sampling/createMessage", Schema.Struc
|
|
|
2325
2441
|
metadata: Schema.Any;
|
|
2326
2442
|
}>, typeof CreateMessageResult, Schema.Union<readonly [typeof ParseError, typeof InvalidRequest, typeof MethodNotFound, typeof InvalidParams, typeof InternalError, typeof McpErrorBase]>, never, never>;
|
|
2327
2443
|
/**
|
|
2328
|
-
*
|
|
2329
|
-
*
|
|
2330
|
-
*
|
|
2331
|
-
*
|
|
2444
|
+
* Represents a server request for the client to sample an LLM.
|
|
2445
|
+
*
|
|
2446
|
+
* **When to use**
|
|
2447
|
+
*
|
|
2448
|
+
* Use when an MCP server needs the client to perform model sampling on its
|
|
2449
|
+
* behalf.
|
|
2450
|
+
*
|
|
2451
|
+
* **Details**
|
|
2452
|
+
*
|
|
2453
|
+
* The client chooses the model and should ask the user to approve the sampling
|
|
2454
|
+
* request before it begins.
|
|
2332
2455
|
*
|
|
2333
2456
|
* @category sampling
|
|
2334
2457
|
* @since 4.0.0
|
|
@@ -2349,7 +2472,7 @@ declare const ResourceReference_base: Schema.Opaque<ResourceReference, Schema.St
|
|
|
2349
2472
|
readonly uri: Schema.String;
|
|
2350
2473
|
}>, keyof Schema.Top>;
|
|
2351
2474
|
/**
|
|
2352
|
-
*
|
|
2475
|
+
* Schema for a reference to a resource or resource template definition.
|
|
2353
2476
|
*
|
|
2354
2477
|
* @category autocomplete
|
|
2355
2478
|
* @since 4.0.0
|
|
@@ -2372,7 +2495,7 @@ declare const PromptReference_base: Schema.Opaque<PromptReference, Schema.Struct
|
|
|
2372
2495
|
readonly title: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optionalKey<Schema.String>, never, never>;
|
|
2373
2496
|
}>, keyof Schema.Top>;
|
|
2374
2497
|
/**
|
|
2375
|
-
*
|
|
2498
|
+
* Schema for a prompt reference used in autocomplete requests.
|
|
2376
2499
|
*
|
|
2377
2500
|
* @category autocomplete
|
|
2378
2501
|
* @since 4.0.0
|
|
@@ -2415,7 +2538,7 @@ declare const CompleteResult_base: Schema.Opaque<CompleteResult, Schema.Struct<{
|
|
|
2415
2538
|
}>;
|
|
2416
2539
|
}>, keyof Schema.Top>;
|
|
2417
2540
|
/**
|
|
2418
|
-
*
|
|
2541
|
+
* Schema for the server's response to a completion/complete request.
|
|
2419
2542
|
*
|
|
2420
2543
|
* @category autocomplete
|
|
2421
2544
|
* @since 4.0.0
|
|
@@ -2454,7 +2577,7 @@ declare const Complete_base: Rpc.Rpc<"completion/complete", Schema.Struct<{
|
|
|
2454
2577
|
}>>;
|
|
2455
2578
|
}>, typeof CompleteResult, Schema.Union<readonly [typeof ParseError, typeof InvalidRequest, typeof MethodNotFound, typeof InvalidParams, typeof InternalError, typeof McpErrorBase]>, never, never>;
|
|
2456
2579
|
/**
|
|
2457
|
-
*
|
|
2580
|
+
* Sent from the client to the server to ask for completion options.
|
|
2458
2581
|
*
|
|
2459
2582
|
* @category autocomplete
|
|
2460
2583
|
* @since 4.0.0
|
|
@@ -2487,9 +2610,11 @@ declare const ListRootsResult_base: Schema.Class<ListRootsResult, Schema.Struct<
|
|
|
2487
2610
|
readonly roots: Schema.$Array<typeof Root>;
|
|
2488
2611
|
}>, {}>;
|
|
2489
2612
|
/**
|
|
2490
|
-
*
|
|
2491
|
-
*
|
|
2492
|
-
*
|
|
2613
|
+
* Represents a client response containing the roots available to the server.
|
|
2614
|
+
*
|
|
2615
|
+
* **When to use**
|
|
2616
|
+
*
|
|
2617
|
+
* Use to return the directories or files that an MCP server may operate on.
|
|
2493
2618
|
*
|
|
2494
2619
|
* @category roots
|
|
2495
2620
|
* @since 4.0.0
|
|
@@ -2516,10 +2641,15 @@ export declare class ListRoots extends ListRoots_base {
|
|
|
2516
2641
|
}
|
|
2517
2642
|
declare const RootsListChangedNotification_base: Rpc.Rpc<"notifications/roots/list_changed", Schema.UndefinedOr<typeof NotificationMeta>, Schema.Void, Schema.Never, never, never>;
|
|
2518
2643
|
/**
|
|
2519
|
-
*
|
|
2520
|
-
*
|
|
2521
|
-
*
|
|
2522
|
-
*
|
|
2644
|
+
* Represents a notification that the client's root list changed.
|
|
2645
|
+
*
|
|
2646
|
+
* **When to use**
|
|
2647
|
+
*
|
|
2648
|
+
* Use to tell the server that it should request an updated roots list.
|
|
2649
|
+
*
|
|
2650
|
+
* **Details**
|
|
2651
|
+
*
|
|
2652
|
+
* Send this when the client adds, removes, or modifies a root.
|
|
2523
2653
|
*
|
|
2524
2654
|
* @category roots
|
|
2525
2655
|
* @since 4.0.0
|
|
@@ -2546,7 +2676,7 @@ declare const ElicitAcceptResult_base: Schema.Class<ElicitAcceptResult, Schema.S
|
|
|
2546
2676
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
2547
2677
|
}>, {}>;
|
|
2548
2678
|
/**
|
|
2549
|
-
*
|
|
2679
|
+
* Schema for an accepted client response to an elicitation request.
|
|
2550
2680
|
*
|
|
2551
2681
|
* @category elicitation
|
|
2552
2682
|
* @since 4.0.0
|
|
@@ -2568,7 +2698,7 @@ declare const ElicitDeclineResult_base: Schema.Class<ElicitDeclineResult, Schema
|
|
|
2568
2698
|
readonly _meta: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
2569
2699
|
}>, {}>;
|
|
2570
2700
|
/**
|
|
2571
|
-
*
|
|
2701
|
+
* Schema for a declined or canceled client response to an elicitation request.
|
|
2572
2702
|
*
|
|
2573
2703
|
* @category elicitation
|
|
2574
2704
|
* @since 4.0.0
|
|
@@ -2576,7 +2706,7 @@ declare const ElicitDeclineResult_base: Schema.Class<ElicitDeclineResult, Schema
|
|
|
2576
2706
|
export declare class ElicitDeclineResult extends ElicitDeclineResult_base {
|
|
2577
2707
|
}
|
|
2578
2708
|
/**
|
|
2579
|
-
*
|
|
2709
|
+
* Schema for every client response to an elicitation request.
|
|
2580
2710
|
*
|
|
2581
2711
|
* @category elicitation
|
|
2582
2712
|
* @since 4.0.0
|
|
@@ -2595,8 +2725,8 @@ declare const Elicit_base: Rpc.Rpc<"elicitation/create", Schema.Struct<{
|
|
|
2595
2725
|
requestedSchema: Schema.Any;
|
|
2596
2726
|
}>, Schema.Union<readonly [typeof ElicitAcceptResult, typeof ElicitDeclineResult]>, Schema.Union<readonly [typeof ParseError, typeof InvalidRequest, typeof MethodNotFound, typeof InvalidParams, typeof InternalError, typeof McpErrorBase]>, never, never>;
|
|
2597
2727
|
/**
|
|
2598
|
-
*
|
|
2599
|
-
*
|
|
2728
|
+
* Sent from the server asking the client to collect structured input from the
|
|
2729
|
+
* user.
|
|
2600
2730
|
*
|
|
2601
2731
|
* **Details**
|
|
2602
2732
|
*
|
|
@@ -2670,7 +2800,7 @@ export declare class McpServerClientMiddleware extends McpServerClientMiddleware
|
|
|
2670
2800
|
* Encoded JSON-RPC request message for an RPC in `Group`, including the request
|
|
2671
2801
|
* id, method, and encoded payload.
|
|
2672
2802
|
*
|
|
2673
|
-
* @category
|
|
2803
|
+
* @category protocols
|
|
2674
2804
|
* @since 4.0.0
|
|
2675
2805
|
*/
|
|
2676
2806
|
export type RequestEncoded<Group extends RpcGroup.Any> = RpcGroup.Rpcs<Group> extends infer Rpc ? Rpc extends Rpc.Rpc<infer _Tag, infer _Payload, infer _Success, infer _Error, infer _Middleware> ? {
|
|
@@ -2683,7 +2813,7 @@ export type RequestEncoded<Group extends RpcGroup.Any> = RpcGroup.Rpcs<Group> ex
|
|
|
2683
2813
|
* Encoded notification message for an RPC in `Group`, including the method and
|
|
2684
2814
|
* encoded payload without a request id.
|
|
2685
2815
|
*
|
|
2686
|
-
* @category
|
|
2816
|
+
* @category protocols
|
|
2687
2817
|
* @since 4.0.0
|
|
2688
2818
|
*/
|
|
2689
2819
|
export type NotificationEncoded<Group extends RpcGroup.Any> = RpcGroup.Rpcs<Group> extends infer Rpc ? Rpc extends Rpc.Rpc<infer _Tag, infer _Payload, infer _Success, infer _Error, infer _Middleware> ? {
|
|
@@ -2695,7 +2825,7 @@ export type NotificationEncoded<Group extends RpcGroup.Any> = RpcGroup.Rpcs<Grou
|
|
|
2695
2825
|
* Encoded success response for an RPC in `Group`, containing the original
|
|
2696
2826
|
* request id and encoded result.
|
|
2697
2827
|
*
|
|
2698
|
-
* @category
|
|
2828
|
+
* @category protocols
|
|
2699
2829
|
* @since 4.0.0
|
|
2700
2830
|
*/
|
|
2701
2831
|
export type SuccessEncoded<Group extends RpcGroup.Any> = RpcGroup.Rpcs<Group> extends infer Rpc ? Rpc extends Rpc.Rpc<infer _Tag, infer _Payload, infer _Success, infer _Error, infer _Middleware> ? {
|
|
@@ -2707,7 +2837,7 @@ export type SuccessEncoded<Group extends RpcGroup.Any> = RpcGroup.Rpcs<Group> ex
|
|
|
2707
2837
|
* Encoded failure response for an RPC in `Group`, containing the original
|
|
2708
2838
|
* request id and encoded error.
|
|
2709
2839
|
*
|
|
2710
|
-
* @category
|
|
2840
|
+
* @category protocols
|
|
2711
2841
|
* @since 4.0.0
|
|
2712
2842
|
*/
|
|
2713
2843
|
export type FailureEncoded<Group extends RpcGroup.Any> = RpcGroup.Rpcs<Group> extends infer Rpc ? Rpc extends Rpc.Rpc<infer _Tag, infer _Payload, infer _Success, infer _Error, infer _Middleware> ? {
|
|
@@ -2936,7 +3066,7 @@ declare const ClientRequestRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"ping", Schema.U
|
|
|
2936
3066
|
* completion, and ping requests, and installs `McpServerClientMiddleware` for
|
|
2937
3067
|
* handlers.
|
|
2938
3068
|
*
|
|
2939
|
-
* @category
|
|
3069
|
+
* @category protocols
|
|
2940
3070
|
* @since 4.0.0
|
|
2941
3071
|
*/
|
|
2942
3072
|
export declare class ClientRequestRpcs extends ClientRequestRpcs_base {
|
|
@@ -2944,7 +3074,7 @@ export declare class ClientRequestRpcs extends ClientRequestRpcs_base {
|
|
|
2944
3074
|
/**
|
|
2945
3075
|
* Encoded union of all client-to-server MCP request messages.
|
|
2946
3076
|
*
|
|
2947
|
-
* @category
|
|
3077
|
+
* @category protocols
|
|
2948
3078
|
* @since 4.0.0
|
|
2949
3079
|
*/
|
|
2950
3080
|
export type ClientRequestEncoded = RequestEncoded<typeof ClientRequestRpcs>;
|
|
@@ -2953,7 +3083,7 @@ declare const ClientNotificationRpcs_base: RpcGroup.RpcGroup<typeof InitializedN
|
|
|
2953
3083
|
* RPC group for notifications that MCP clients send to the server, such as
|
|
2954
3084
|
* cancellation, progress, initialization completion, and roots list changes.
|
|
2955
3085
|
*
|
|
2956
|
-
* @category
|
|
3086
|
+
* @category protocols
|
|
2957
3087
|
* @since 4.0.0
|
|
2958
3088
|
*/
|
|
2959
3089
|
export declare class ClientNotificationRpcs extends ClientNotificationRpcs_base {
|
|
@@ -2961,7 +3091,7 @@ export declare class ClientNotificationRpcs extends ClientNotificationRpcs_base
|
|
|
2961
3091
|
/**
|
|
2962
3092
|
* Encoded union of all client-to-server MCP notification messages.
|
|
2963
3093
|
*
|
|
2964
|
-
* @category
|
|
3094
|
+
* @category protocols
|
|
2965
3095
|
* @since 4.0.0
|
|
2966
3096
|
*/
|
|
2967
3097
|
export type ClientNotificationEncoded = NotificationEncoded<typeof ClientNotificationRpcs>;
|
|
@@ -3180,7 +3310,7 @@ declare const ClientRpcs_base: RpcGroup.RpcGroup<typeof InitializedNotification
|
|
|
3180
3310
|
/**
|
|
3181
3311
|
* RPC group combining all client-to-server MCP requests and notifications.
|
|
3182
3312
|
*
|
|
3183
|
-
* @category
|
|
3313
|
+
* @category protocols
|
|
3184
3314
|
* @since 4.0.0
|
|
3185
3315
|
*/
|
|
3186
3316
|
export declare class ClientRpcs extends ClientRpcs_base {
|
|
@@ -3188,14 +3318,14 @@ export declare class ClientRpcs extends ClientRpcs_base {
|
|
|
3188
3318
|
/**
|
|
3189
3319
|
* Encoded success response sent by a client for a server-initiated request.
|
|
3190
3320
|
*
|
|
3191
|
-
* @category
|
|
3321
|
+
* @category protocols
|
|
3192
3322
|
* @since 4.0.0
|
|
3193
3323
|
*/
|
|
3194
3324
|
export type ClientSuccessEncoded = SuccessEncoded<typeof ServerRequestRpcs>;
|
|
3195
3325
|
/**
|
|
3196
3326
|
* Encoded failure response sent by a client for a server-initiated request.
|
|
3197
3327
|
*
|
|
3198
|
-
* @category
|
|
3328
|
+
* @category protocols
|
|
3199
3329
|
* @since 4.0.0
|
|
3200
3330
|
*/
|
|
3201
3331
|
export type ClientFailureEncoded = FailureEncoded<typeof ServerRequestRpcs>;
|
|
@@ -3204,7 +3334,7 @@ declare const ServerRequestRpcs_base: RpcGroup.RpcGroup<typeof Ping | typeof Cre
|
|
|
3204
3334
|
* RPC group for requests that an MCP server can send to a client, including
|
|
3205
3335
|
* ping, sampling, roots listing, and elicitation.
|
|
3206
3336
|
*
|
|
3207
|
-
* @category
|
|
3337
|
+
* @category protocols
|
|
3208
3338
|
* @since 4.0.0
|
|
3209
3339
|
*/
|
|
3210
3340
|
export declare class ServerRequestRpcs extends ServerRequestRpcs_base {
|
|
@@ -3212,7 +3342,7 @@ export declare class ServerRequestRpcs extends ServerRequestRpcs_base {
|
|
|
3212
3342
|
/**
|
|
3213
3343
|
* Encoded union of all server-to-client MCP request messages.
|
|
3214
3344
|
*
|
|
3215
|
-
* @category
|
|
3345
|
+
* @category protocols
|
|
3216
3346
|
* @since 4.0.0
|
|
3217
3347
|
*/
|
|
3218
3348
|
export type ServerRequestEncoded = RequestEncoded<typeof ServerRequestRpcs>;
|
|
@@ -3222,7 +3352,7 @@ declare const ServerNotificationRpcs_base: RpcGroup.RpcGroup<typeof CancelledNot
|
|
|
3222
3352
|
* including cancellation, progress, logging, and list or resource update
|
|
3223
3353
|
* notifications.
|
|
3224
3354
|
*
|
|
3225
|
-
* @category
|
|
3355
|
+
* @category protocols
|
|
3226
3356
|
* @since 4.0.0
|
|
3227
3357
|
*/
|
|
3228
3358
|
export declare class ServerNotificationRpcs extends ServerNotificationRpcs_base {
|
|
@@ -3230,28 +3360,28 @@ export declare class ServerNotificationRpcs extends ServerNotificationRpcs_base
|
|
|
3230
3360
|
/**
|
|
3231
3361
|
* Encoded union of all server-to-client MCP notification messages.
|
|
3232
3362
|
*
|
|
3233
|
-
* @category
|
|
3363
|
+
* @category protocols
|
|
3234
3364
|
* @since 4.0.0
|
|
3235
3365
|
*/
|
|
3236
3366
|
export type ServerNotificationEncoded = NotificationEncoded<typeof ServerNotificationRpcs>;
|
|
3237
3367
|
/**
|
|
3238
3368
|
* Encoded success response sent by the server for a client-initiated request.
|
|
3239
3369
|
*
|
|
3240
|
-
* @category
|
|
3370
|
+
* @category protocols
|
|
3241
3371
|
* @since 4.0.0
|
|
3242
3372
|
*/
|
|
3243
3373
|
export type ServerSuccessEncoded = SuccessEncoded<typeof ClientRequestRpcs>;
|
|
3244
3374
|
/**
|
|
3245
3375
|
* Encoded failure response sent by the server for a client-initiated request.
|
|
3246
3376
|
*
|
|
3247
|
-
* @category
|
|
3377
|
+
* @category protocols
|
|
3248
3378
|
* @since 4.0.0
|
|
3249
3379
|
*/
|
|
3250
3380
|
export type ServerFailureEncoded = FailureEncoded<typeof ClientRequestRpcs>;
|
|
3251
3381
|
/**
|
|
3252
3382
|
* Encoded server response to a client request, either success or failure.
|
|
3253
3383
|
*
|
|
3254
|
-
* @category
|
|
3384
|
+
* @category protocols
|
|
3255
3385
|
* @since 4.0.0
|
|
3256
3386
|
*/
|
|
3257
3387
|
export type ServerResultEncoded = ServerSuccessEncoded | ServerFailureEncoded;
|
|
@@ -3259,7 +3389,7 @@ export type ServerResultEncoded = ServerSuccessEncoded | ServerFailureEncoded;
|
|
|
3259
3389
|
* Encoded MCP messages accepted from a client by the server protocol: client
|
|
3260
3390
|
* requests and client notifications.
|
|
3261
3391
|
*
|
|
3262
|
-
* @category
|
|
3392
|
+
* @category protocols
|
|
3263
3393
|
* @since 4.0.0
|
|
3264
3394
|
*/
|
|
3265
3395
|
export type FromClientEncoded = ClientRequestEncoded | ClientNotificationEncoded;
|
|
@@ -3267,7 +3397,7 @@ export type FromClientEncoded = ClientRequestEncoded | ClientNotificationEncoded
|
|
|
3267
3397
|
* Encoded MCP messages emitted by the server protocol to a client: server
|
|
3268
3398
|
* responses and server notifications.
|
|
3269
3399
|
*
|
|
3270
|
-
* @category
|
|
3400
|
+
* @category protocols
|
|
3271
3401
|
* @since 4.0.0
|
|
3272
3402
|
*/
|
|
3273
3403
|
export type FromServerEncoded = ServerResultEncoded | ServerNotificationEncoded;
|
|
@@ -3298,7 +3428,7 @@ export interface Param<Name extends string, S extends Schema.Top> extends Schema
|
|
|
3298
3428
|
readonly schema: S;
|
|
3299
3429
|
}
|
|
3300
3430
|
/**
|
|
3301
|
-
*
|
|
3431
|
+
* Creates a parameter for a resource URI template.
|
|
3302
3432
|
*
|
|
3303
3433
|
* @category parameters
|
|
3304
3434
|
* @since 4.0.0
|