apps 0.0.1-beta.9 → 0.0.1-beta.91
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/README.md +56 -38
- package/framework-reference.json +1 -1
- package/js/chunk-3LEVTFD4.js +712 -0
- package/js/chunk-5FHWNLCI.js +88 -0
- package/js/{chunk-FL2QR3XW.js → chunk-5MDA7MKL.js} +338 -73
- package/js/chunk-6XQLA5NC.js +5047 -0
- package/js/{chunk-M3B3DE4K.js → chunk-74YVXBKY.js} +463 -218
- package/js/chunk-7PHHWYV4.js +335 -0
- package/js/chunk-DADXWWRZ.js +449 -0
- package/js/{chunk-27F7W2LG.js → chunk-DDHBUKXX.js} +18 -2
- package/js/{chunk-UK573G7W.js → chunk-EOPQ727L.js} +87 -51
- package/js/{chunk-5T57N25Q.js → chunk-GQ33QSNB.js} +583 -69
- package/js/{chunk-JU7VHODU.js → chunk-H72MEDMN.js} +65 -10
- package/js/chunk-I5C7FD5Z.js +171 -0
- package/js/{chunk-CDL5PM2Q.js → chunk-IFJU5SYQ.js} +19082 -18402
- package/js/{chunk-VFZKSM3T.js → chunk-JPEUKEV4.js} +3 -3
- package/js/{chunk-KUMBKVJD.js → chunk-KLYSEHUD.js} +2 -2
- package/js/{chunk-RFVIONFX.js → chunk-KUCCHNVY.js} +123 -44
- package/js/chunk-OD3KFKZD.js +1617 -0
- package/js/{chunk-57RKNWL2.js → chunk-PD6I2SDG.js} +4 -4
- package/js/{chunk-72JNVHPK.js → chunk-PYQLOLOC.js} +4 -3
- package/js/{chunk-ODEIDRGW.js → chunk-QWQM3CLH.js} +795 -176
- package/js/{chunk-IJX4CYZO.js → chunk-TUMGL2OC.js} +228 -264
- package/js/{chunk-IPI4MFSN.js → chunk-XBG7HHXC.js} +2 -2
- package/js/chunk-XPRZTLHD.js +1915 -0
- package/js/chunk-YNJ5CZMJ.js +93 -0
- package/js/chunk-YRGL4QEF.js +49 -0
- package/js/{chunk-Z5M2LQOZ.js → chunk-YWFUWTUJ.js} +113 -58
- package/js/client.js +142 -78
- package/js/contracts.js +142 -21
- package/js/effect.js +18 -19
- package/js/{es-APDZKREY.js → es-DIULA3ZF.js} +62 -1659
- package/js/graphql.js +49 -40
- package/js/host.js +85 -62
- package/js/index.js +165 -70
- package/js/mcp/effect.js +21 -21
- package/js/mcp.js +76 -56
- package/js/openapi.js +4189 -1411
- package/js/react.js +2 -3
- package/js/skills/effect.js +6 -3
- package/js/skills.js +208 -81
- package/js/storage/facet.js +1 -540
- package/js/ui/auth/contracts.js +2 -2
- package/js/ui/auth.js +5 -5
- package/js/ui/contracts.js +5 -4
- package/js/ui/serving.js +8605 -225
- package/package.json +3 -8
- package/runtime.json +1 -1
- package/types/app-cache/src/contracts/cache.d.ts +18 -0
- package/types/app-cache/src/index.d.ts +34 -2
- package/types/apps/src/contracts/api-response-error.d.ts +4 -0
- package/types/apps/src/contracts/app.d.ts +60 -11
- package/types/apps/src/contracts/cache.d.ts +20 -0
- package/types/apps/src/contracts/context.d.ts +60 -17
- package/types/apps/src/contracts/elicitation.d.ts +23 -7
- package/types/apps/src/contracts/events.d.ts +94 -0
- package/types/apps/src/contracts/failure.d.ts +30 -1
- package/types/apps/src/contracts/graphql.d.ts +2 -1
- package/types/apps/src/contracts/host.d.ts +1446 -17
- package/types/apps/src/contracts/icons.d.ts +28 -0
- package/types/apps/src/contracts/live.d.ts +2 -0
- package/types/apps/src/contracts/mcp.d.ts +81 -20
- package/types/apps/src/contracts/network.d.ts +120 -0
- package/types/apps/src/contracts/openapi-compile.d.ts +82 -3
- package/types/apps/src/contracts/openapi.d.ts +41 -9
- package/types/apps/src/contracts/operations.d.ts +14 -7
- package/types/apps/src/contracts/placement.d.ts +102 -0
- package/types/apps/src/contracts/protocol-version.d.ts +2 -2
- package/types/apps/src/contracts/protocols/1.d.ts +733 -81
- package/types/apps/src/contracts/protocols/10.d.ts +1450 -0
- package/types/apps/src/contracts/protocols/11.d.ts +1149 -0
- package/types/apps/src/contracts/protocols/12.d.ts +3310 -0
- package/types/apps/src/contracts/protocols/2.d.ts +69 -26
- package/types/apps/src/contracts/protocols/3.d.ts +133 -33
- package/types/apps/src/contracts/protocols/4.d.ts +122 -45
- package/types/apps/src/contracts/protocols/5.d.ts +157 -47
- package/types/apps/src/contracts/protocols/6.d.ts +1629 -0
- package/types/apps/src/contracts/protocols/7.d.ts +1785 -0
- package/types/apps/src/contracts/protocols/8.d.ts +1182 -0
- package/types/apps/src/contracts/protocols/9.d.ts +1104 -0
- package/types/apps/src/contracts/protocols/current.d.ts +6669 -0
- package/types/apps/src/contracts/protocols/oauth-6.d.ts +74 -0
- package/types/apps/src/contracts/protocols/oauth.d.ts +134 -0
- package/types/apps/src/contracts/provider-error.d.ts +9 -0
- package/types/apps/src/contracts/provider.d.ts +90 -6
- package/types/apps/src/contracts/schedules.d.ts +7 -1
- package/types/apps/src/contracts/schema.d.ts +21 -0
- package/types/apps/src/contracts/skills.d.ts +50 -13
- package/types/apps/src/contracts/sql.d.ts +63 -0
- package/types/apps/src/contracts/ui.d.ts +44 -14
- package/types/apps/src/contracts/webhooks.d.ts +24 -7
- package/types/apps/src/contracts/workflows.d.ts +19 -17
- package/types/apps/src/facet.d.ts +4 -5
- package/types/apps/src/host.d.ts +5 -0
- package/types/apps/src/implementation/account-router.d.ts +4 -3
- package/types/apps/src/implementation/app.d.ts +41 -14
- package/types/apps/src/implementation/authoring.d.ts +25 -5
- package/types/apps/src/implementation/browser-scripts.gen.d.ts +6 -0
- package/types/apps/src/implementation/cache.d.ts +29 -2
- package/types/apps/src/implementation/catalog-cache.d.ts +35 -4
- package/types/apps/src/implementation/elicitation.d.ts +18 -15
- package/types/apps/src/implementation/events.d.ts +64 -0
- package/types/apps/src/implementation/failure-detail.d.ts +28 -5
- package/types/apps/src/implementation/graphql-catalog.d.ts +3 -3
- package/types/apps/src/implementation/graphql.d.ts +4 -3
- package/types/apps/src/implementation/input-problems.d.ts +6 -2
- package/types/apps/src/implementation/invocation-timing.d.ts +18 -0
- package/types/apps/src/implementation/live.d.ts +2 -2
- package/types/apps/src/implementation/mcp-call.d.ts +6 -5
- package/types/apps/src/implementation/mcp-catalog.d.ts +6 -4
- package/types/apps/src/implementation/mcp-client.d.ts +17 -9
- package/types/apps/src/implementation/mcp-tools.d.ts +2 -1
- package/types/apps/src/implementation/mcp.d.ts +20 -9
- package/types/apps/src/implementation/network.d.ts +16 -0
- package/types/apps/src/implementation/openapi-compile.d.ts +28 -7
- package/types/apps/src/implementation/openapi-document.d.ts +46 -19
- package/types/apps/src/implementation/openapi-names.d.ts +9 -4
- package/types/apps/src/implementation/openapi-request.d.ts +10 -2
- package/types/apps/src/implementation/openapi-source.d.ts +23 -1
- package/types/apps/src/implementation/openapi-upgrade.d.ts +4 -0
- package/types/apps/src/implementation/operations.d.ts +57 -7
- package/types/apps/src/implementation/optimistic.d.ts +1 -1
- package/types/apps/src/implementation/placement.d.ts +60 -0
- package/types/apps/src/implementation/protocol-operations.d.ts +3 -0
- package/types/apps/src/implementation/provider-error.d.ts +28 -1
- package/types/apps/src/implementation/provider.d.ts +19 -4
- package/types/apps/src/implementation/query-commit.d.ts +1 -1
- package/types/apps/src/implementation/router-catalog.d.ts +20 -18
- package/types/apps/src/implementation/router.d.ts +24 -5
- package/types/apps/src/implementation/runtime-yield.d.ts +7 -0
- package/types/apps/src/implementation/schedules.d.ts +39 -8
- package/types/apps/src/implementation/schema.d.ts +98 -11
- package/types/apps/src/implementation/skills.d.ts +18 -24
- package/types/apps/src/implementation/sql.d.ts +71 -0
- package/types/apps/src/implementation/ui-account-notice.d.ts +9 -0
- package/types/apps/src/implementation/ui-auth.d.ts +1 -1
- package/types/apps/src/implementation/ui-client.d.ts +2 -2
- package/types/apps/src/implementation/ui-document.d.ts +5 -0
- package/types/apps/src/implementation/ui-errors.d.ts +1 -1
- package/types/apps/src/implementation/ui-serving.d.ts +26 -9
- package/types/apps/src/implementation/ui-watch.d.ts +1 -1
- package/types/apps/src/implementation/upstream-error.d.ts +7 -0
- package/types/apps/src/implementation/webhooks.d.ts +15 -6
- package/types/apps/src/implementation/workflow-context.d.ts +6 -2
- package/types/apps/src/implementation/workflows.d.ts +11 -4
- package/types/apps/src/index.d.ts +68 -19
- package/types/apps/src/mcp.d.ts +20 -1
- package/types/apps/src/openapi.d.ts +6 -1
- package/types/apps/src/react.d.ts +1 -1
- package/types/apps/src/skills.d.ts +10 -8
- package/types/apps/src/ui-serving.d.ts +1 -1
- package/types/telemetry/src/app-records.d.ts +42 -0
- package/types/telemetry/src/browser-operations.d.ts +2 -2
- package/types/telemetry/src/browser.d.ts +8 -3
- package/types/telemetry/src/config.d.ts +2 -2
- package/types/telemetry/src/index.d.ts +2 -1
- package/types/telemetry/src/layer.d.ts +10 -4
- package/types/telemetry/src/measurements.d.ts +1 -1
- package/types/telemetry/src/ownership.d.ts +60 -0
- package/types/telemetry/src/recorded-failure.d.ts +29 -0
- package/types/telemetry/src/relay.d.ts +16 -6
- package/types/telemetry/src/span-attributes.d.ts +17 -1
- package/types/telemetry/src/transport.d.ts +8 -1
- package/types/utils/src/api-error.d.ts +55 -0
- package/types/utils/src/connection-failure.d.ts +33 -0
- package/types/utils/src/recorded-message.d.ts +18 -0
- package/types/utils/src/user-facing-error.d.ts +83 -0
- package/js/chunk-7EK2JDX4.js +0 -299
- package/js/chunk-IKS2C5MQ.js +0 -224
- package/js/chunk-MKWZPDR6.js +0 -63
- package/js/chunk-N7YDVXYJ.js +0 -186
- package/js/chunk-NKLWZJLE.js +0 -172
- package/js/chunk-PJJ24GU7.js +0 -877
- package/js/chunk-PZB6T6KU.js +0 -19
- package/js/chunk-R3EV5FTO.js +0 -97
- package/js/chunk-SJFZCGXG.js +0 -1243
- package/js/chunk-WLE7WX2U.js +0 -2645
- package/js/chunk-YXQHV65J.js +0 -242
- package/js/chunk-ZQINWV4W.js +0 -630
- package/js/mcp/stdio.js +0 -128
- package/types/app-data/src/implementation/cursor.d.ts +0 -10
- package/types/app-data/src/implementation/index-key.d.ts +0 -7
- package/types/app-data/src/implementation/promise.d.ts +0 -68
- package/types/app-data/src/implementation/range.d.ts +0 -8
- package/types/app-data/src/implementation/schema.d.ts +0 -18
- package/types/app-data/src/implementation/sqlite.d.ts +0 -11
- package/types/app-data/src/index.d.ts +0 -4
- package/types/apps/src/contracts/storage.d.ts +0 -68
- package/types/apps/src/implementation/mcp-stdio.d.ts +0 -4
- package/types/apps/src/implementation/storage.d.ts +0 -15
- package/types/apps/src/mcp-stdio.d.ts +0 -5
|
@@ -3,18 +3,514 @@
|
|
|
3
3
|
*
|
|
4
4
|
* This protocol is released and frozen. Retained builds and published `apps` versions speak it,
|
|
5
5
|
* and every later host must keep running and rebuilding them unchanged. `bun run check` compares
|
|
6
|
-
* `protocol1` with `packages/apps/protocols/1.json` and fails on any difference
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* See notes/apps-publishing.md.
|
|
6
|
+
* `protocol1` with `packages/apps/protocols/1.json` and fails on any difference. The module imports
|
|
7
|
+
* only `effect` and the frozen OAuth sibling `./oauth.ts`, so no change elsewhere in the repository
|
|
8
|
+
* can alter it. Do not edit it to change the wire format: define the next protocol instead and
|
|
9
|
+
* give the host an adapter for this one. See notes/apps-publishing.md.
|
|
11
10
|
*/
|
|
12
11
|
import { Schema } from "effect";
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
import * as McpSchema from "effect/ai/McpSchema";
|
|
13
|
+
/** JSON values carried by remote protocols such as MCP. */
|
|
14
|
+
export declare const JsonValue: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
15
|
+
export type JsonValue = Schema.Json;
|
|
16
|
+
/** A JSON object, distinct from an authored value schema. */
|
|
17
|
+
export declare const JsonObject: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
18
|
+
export type JsonObject = typeof JsonObject.Type;
|
|
19
|
+
/** Stable saved account identity supplied by a host, unchanged across refreshes. */
|
|
20
|
+
export declare const AccountId: Schema.brand<Schema.String, "acc">;
|
|
21
|
+
/** Parsed saved account identity. */
|
|
22
|
+
export type AccountId = typeof AccountId.Type;
|
|
23
|
+
declare const CacheError_base: Schema.Class<CacheError, Schema.TaggedStruct<"CacheError", {
|
|
24
|
+
readonly reason: Schema.Literals<readonly ["unavailable", "storage", "invalid", "capacity", "timeout"]>;
|
|
25
|
+
}>, import("effect/Cause").YieldableError>;
|
|
26
|
+
/** Expected cache failures never include keys, values or upstream exception text. */
|
|
27
|
+
export declare class CacheError extends CacheError_base {
|
|
28
|
+
}
|
|
29
|
+
/** Stored values carry a version independent of their freshness clock. */
|
|
30
|
+
export declare const CacheEntry: Schema.Struct<{
|
|
31
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
32
|
+
readonly version: Schema.String;
|
|
33
|
+
readonly freshUntil: Schema.Finite;
|
|
34
|
+
readonly staleUntil: Schema.Finite;
|
|
35
|
+
}>;
|
|
36
|
+
/** Decoded cache value envelope. */
|
|
37
|
+
export type CacheEntry = typeof CacheEntry.Type;
|
|
38
|
+
/**
|
|
39
|
+
* Publication requires the lease acquired against the previously observed version.
|
|
40
|
+
* `acquire` reads one entry and claims its load in the same transaction, so a cache
|
|
41
|
+
* miss costs one round trip. `read` and `claim` remain for builds retained before it.
|
|
42
|
+
*/
|
|
43
|
+
export declare const CacheCommand: Schema.Union<readonly [Schema.Struct<{
|
|
44
|
+
readonly operation: Schema.Literal<"read">;
|
|
45
|
+
readonly keys: Schema.$Array<Schema.String>;
|
|
46
|
+
}>, Schema.Struct<{
|
|
47
|
+
readonly operation: Schema.Literal<"acquire">;
|
|
48
|
+
readonly key: Schema.String;
|
|
49
|
+
/** Claim even a fresh entry, as an explicit refresh does. */
|
|
50
|
+
readonly refresh: Schema.Boolean;
|
|
51
|
+
/** Claim only while the entry still has this version. Absent accepts the current one. */
|
|
52
|
+
readonly version: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
53
|
+
}>, Schema.Struct<{
|
|
54
|
+
readonly operation: Schema.Literal<"claim">;
|
|
55
|
+
readonly key: Schema.String;
|
|
56
|
+
readonly version: Schema.NullOr<Schema.String>;
|
|
57
|
+
}>, Schema.Struct<{
|
|
58
|
+
readonly operation: Schema.Literal<"publish">;
|
|
59
|
+
readonly key: Schema.String;
|
|
60
|
+
readonly lease: Schema.String;
|
|
61
|
+
readonly entry: Schema.Struct<{
|
|
62
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
63
|
+
readonly version: Schema.String;
|
|
64
|
+
readonly freshUntil: Schema.Finite;
|
|
65
|
+
readonly staleUntil: Schema.Finite;
|
|
66
|
+
}>;
|
|
67
|
+
}>, Schema.Struct<{
|
|
68
|
+
readonly operation: Schema.Literal<"release">;
|
|
69
|
+
readonly key: Schema.String;
|
|
70
|
+
readonly lease: Schema.String;
|
|
71
|
+
}>, Schema.Struct<{
|
|
72
|
+
readonly operation: Schema.Literal<"renew">;
|
|
73
|
+
readonly key: Schema.String;
|
|
74
|
+
readonly lease: Schema.String;
|
|
75
|
+
}>, Schema.Struct<{
|
|
76
|
+
readonly operation: Schema.Literal<"write">;
|
|
77
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
78
|
+
readonly key: Schema.String;
|
|
79
|
+
readonly entry: Schema.Struct<{
|
|
80
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
81
|
+
readonly version: Schema.String;
|
|
82
|
+
readonly freshUntil: Schema.Finite;
|
|
83
|
+
readonly staleUntil: Schema.Finite;
|
|
84
|
+
}>;
|
|
85
|
+
}>>;
|
|
86
|
+
}>, Schema.Struct<{
|
|
87
|
+
readonly operation: Schema.Literal<"invalidate">;
|
|
88
|
+
readonly key: Schema.String;
|
|
89
|
+
}>]>;
|
|
90
|
+
/** Parsed host command; namespaces cannot be selected by app code. */
|
|
91
|
+
export type CacheCommand = typeof CacheCommand.Type;
|
|
92
|
+
/** Safe protocol envelope used at process boundaries. */
|
|
93
|
+
export declare const CacheReply: Schema.Union<readonly [Schema.Struct<{
|
|
94
|
+
readonly ok: Schema.Literal<true>;
|
|
95
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
96
|
+
}>, Schema.Struct<{
|
|
97
|
+
readonly ok: Schema.Literal<false>;
|
|
98
|
+
readonly error: typeof CacheError;
|
|
99
|
+
}>]>;
|
|
100
|
+
/** Names have Lakebed's identifier shape and are always bound SQL values, never raw SQL. */
|
|
101
|
+
export declare const DataName: Schema.String;
|
|
102
|
+
/** Stored fields and index terms use finite scalar values; absent optional fields are represented by null in transport. */
|
|
103
|
+
export declare const Scalar: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean]>;
|
|
104
|
+
export type Scalar = typeof Scalar.Type;
|
|
105
|
+
export declare const Field: Schema.Struct<{
|
|
106
|
+
readonly kind: Schema.Literals<readonly ["string", "number", "boolean", "id", "userId"]>;
|
|
107
|
+
readonly optional: Schema.optional<Schema.Boolean>;
|
|
108
|
+
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean]>>;
|
|
109
|
+
readonly references: Schema.optional<Schema.String>;
|
|
110
|
+
}>;
|
|
111
|
+
export type Field = typeof Field.Type;
|
|
112
|
+
export declare const Index: Schema.Struct<{
|
|
113
|
+
readonly name: Schema.String;
|
|
114
|
+
readonly fields: Schema.NonEmptyArray<Schema.String>;
|
|
115
|
+
}>;
|
|
116
|
+
export declare const Table: Schema.Struct<{
|
|
117
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Struct<{
|
|
118
|
+
readonly kind: Schema.Literals<readonly ["string", "number", "boolean", "id", "userId"]>;
|
|
119
|
+
readonly optional: Schema.optional<Schema.Boolean>;
|
|
120
|
+
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean]>>;
|
|
121
|
+
readonly references: Schema.optional<Schema.String>;
|
|
122
|
+
}>>;
|
|
123
|
+
readonly indexes: Schema.$Array<Schema.Struct<{
|
|
124
|
+
readonly name: Schema.String;
|
|
125
|
+
readonly fields: Schema.NonEmptyArray<Schema.String>;
|
|
126
|
+
}>>;
|
|
127
|
+
}>;
|
|
128
|
+
export type Table = typeof Table.Type;
|
|
129
|
+
export declare const DatabaseSchema: Schema.$Record<Schema.String, Schema.Struct<{
|
|
130
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Struct<{
|
|
131
|
+
readonly kind: Schema.Literals<readonly ["string", "number", "boolean", "id", "userId"]>;
|
|
132
|
+
readonly optional: Schema.optional<Schema.Boolean>;
|
|
133
|
+
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean]>>;
|
|
134
|
+
readonly references: Schema.optional<Schema.String>;
|
|
135
|
+
}>>;
|
|
136
|
+
readonly indexes: Schema.$Array<Schema.Struct<{
|
|
137
|
+
readonly name: Schema.String;
|
|
138
|
+
readonly fields: Schema.NonEmptyArray<Schema.String>;
|
|
139
|
+
}>>;
|
|
140
|
+
}>>;
|
|
141
|
+
export type DatabaseSchema = typeof DatabaseSchema.Type;
|
|
142
|
+
/** Longest agent guidance an API error's recovery carries. */
|
|
143
|
+
export declare const maxApiErrorInstructionsLength = 4096;
|
|
144
|
+
/** Bounded recovery a declared API error published for its caller: a short next step and agent guidance. */
|
|
145
|
+
export declare const ApiErrorRecovery: Schema.Struct<{
|
|
146
|
+
readonly action: Schema.NonEmptyString;
|
|
147
|
+
readonly instructions: Schema.NonEmptyString;
|
|
148
|
+
}>;
|
|
149
|
+
/** Recovery copied from an error response body; extra keys are dropped on decode. */
|
|
150
|
+
export type ApiErrorRecovery = typeof ApiErrorRecovery.Type;
|
|
151
|
+
/** Longest message an API error response carries. */
|
|
152
|
+
export declare const maxApiErrorMessageLength = 4096;
|
|
153
|
+
/** Bounded public fields from a response matching its declared API error schema. */
|
|
154
|
+
export declare const ApiErrorResponse: Schema.Struct<{
|
|
155
|
+
readonly code: Schema.NonEmptyString;
|
|
156
|
+
readonly status: Schema.Int;
|
|
157
|
+
readonly message: Schema.NonEmptyString;
|
|
158
|
+
readonly recovery: Schema.optionalKey<Schema.Struct<{
|
|
159
|
+
readonly action: Schema.NonEmptyString;
|
|
160
|
+
readonly instructions: Schema.NonEmptyString;
|
|
161
|
+
}>>;
|
|
162
|
+
}>;
|
|
163
|
+
/** Safe projection of a response matching a declared API error schema. */
|
|
164
|
+
export type ApiErrorResponse = typeof ApiErrorResponse.Type;
|
|
165
|
+
declare const OpenapiResponseError_base: Schema.Class<OpenapiResponseError, Schema.TaggedStruct<"OpenapiResponseError", {
|
|
166
|
+
readonly code: Schema.NonEmptyString;
|
|
167
|
+
readonly status: Schema.Int;
|
|
168
|
+
readonly message: Schema.NonEmptyString;
|
|
169
|
+
readonly recovery: Schema.optionalKey<Schema.Struct<{
|
|
170
|
+
readonly action: Schema.NonEmptyString;
|
|
171
|
+
readonly instructions: Schema.NonEmptyString;
|
|
172
|
+
}>>;
|
|
173
|
+
}>, import("effect/Cause").YieldableError>;
|
|
174
|
+
/** A validated OpenAPI failure with its declared message or static schema explanation. */
|
|
175
|
+
export declare class OpenapiResponseError extends OpenapiResponseError_base {
|
|
176
|
+
}
|
|
177
|
+
/** Plain-data form request derived from the pinned MCP protocol schema. */
|
|
178
|
+
export declare const FormElicitation: Schema.Struct<{
|
|
179
|
+
readonly mode: Schema.Literal<"form">;
|
|
180
|
+
readonly requestedSchema: Schema.toEncoded<Schema.Struct<{
|
|
181
|
+
readonly $schema: Schema.decodeTo<Schema.toType<Schema.optional<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
182
|
+
readonly type: Schema.tag<"object">;
|
|
183
|
+
readonly properties: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Union<readonly [typeof McpSchema.LegacyTitledEnum, Schema.Union<readonly [typeof McpSchema.UntitledSingleSelectEnum, typeof McpSchema.TitledSingleSelectEnum]>, Schema.Union<readonly [typeof McpSchema.UntitledMultiSelectEnum, typeof McpSchema.TitledMultiSelectEnum]>]>, typeof McpSchema.ElicitationString, typeof McpSchema.ElicitationNumber, typeof McpSchema.ElicitationBoolean]>>;
|
|
184
|
+
readonly required: Schema.decodeTo<Schema.toType<Schema.optional<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
185
|
+
}>>;
|
|
186
|
+
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
187
|
+
readonly message: Schema.String;
|
|
188
|
+
}>;
|
|
189
|
+
export type FormElicitation = typeof FormElicitation.Type;
|
|
190
|
+
/** MCP accept/decline/cancel response, without imposing a client or transport on app code. */
|
|
191
|
+
export declare const ElicitationResponse: Schema.Union<readonly [Schema.Struct<{
|
|
192
|
+
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
193
|
+
readonly action: Schema.Literal<"accept">;
|
|
194
|
+
readonly content: Schema.decodeTo<Schema.toType<Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.$Array<Schema.String>]>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.$Array<Schema.String>]>>>, never, never>;
|
|
195
|
+
}>, Schema.Struct<{
|
|
196
|
+
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
197
|
+
readonly action: Schema.Literals<readonly ["cancel", "decline"]>;
|
|
198
|
+
}>]>;
|
|
199
|
+
export type ElicitationResponse = typeof ElicitationResponse.Type;
|
|
200
|
+
declare const ElicitationFailed_base: Schema.Class<ElicitationFailed, Schema.TaggedStruct<"ElicitationFailed", {
|
|
201
|
+
readonly reason: Schema.Literals<readonly ["unavailable", "transaction", "invalid-request", "invalid-response", "transport", "expired", "forbidden"]>;
|
|
202
|
+
}>, import("effect/Cause").YieldableError>;
|
|
203
|
+
/** A tool interaction could not be delivered or its request/response was invalid. No private payload is retained. */
|
|
204
|
+
export declare class ElicitationFailed extends ElicitationFailed_base {
|
|
205
|
+
}
|
|
206
|
+
/** Safe reply for a runtime that crosses an RPC boundary. */
|
|
207
|
+
export declare const ElicitationReply: Schema.Union<readonly [Schema.Struct<{
|
|
208
|
+
readonly ok: Schema.Literal<true>;
|
|
209
|
+
readonly response: Schema.Union<readonly [Schema.Struct<{
|
|
210
|
+
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
211
|
+
readonly action: Schema.Literal<"accept">;
|
|
212
|
+
readonly content: Schema.decodeTo<Schema.toType<Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.$Array<Schema.String>]>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.$Array<Schema.String>]>>>, never, never>;
|
|
213
|
+
}>, Schema.Struct<{
|
|
214
|
+
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
215
|
+
readonly action: Schema.Literals<readonly ["cancel", "decline"]>;
|
|
216
|
+
}>]>;
|
|
217
|
+
}>, Schema.Struct<{
|
|
218
|
+
readonly ok: Schema.Literal<false>;
|
|
219
|
+
readonly error: typeof ElicitationFailed;
|
|
220
|
+
}>]>;
|
|
221
|
+
export type ElicitationReply = typeof ElicitationReply.Type;
|
|
222
|
+
/** Invocation consent requests no additional fields; arguments are reviewed, never edited in the form. */
|
|
223
|
+
export declare const ApprovalElicitation: Schema.Struct<{
|
|
224
|
+
readonly requestedSchema: Schema.Struct<{
|
|
225
|
+
readonly type: Schema.Literal<"object">;
|
|
226
|
+
readonly properties: Schema.$Record<Schema.String, Schema.Never>;
|
|
227
|
+
}>;
|
|
228
|
+
readonly mode: Schema.Literal<"form">;
|
|
229
|
+
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
230
|
+
readonly message: Schema.String;
|
|
231
|
+
}>;
|
|
232
|
+
export type ApprovalElicitation = typeof ApprovalElicitation.Type;
|
|
233
|
+
/** Dispatch coalesces overdue ticks, so sub-minute intervals promise a cadence the runner cannot keep. */
|
|
234
|
+
export declare const minimumIntervalMilliseconds = 60000;
|
|
235
|
+
/** Calendar schedules use five cron fields and an explicit IANA time zone. */
|
|
236
|
+
export declare const CalendarSchedule: Schema.Struct<{
|
|
237
|
+
readonly expression: Schema.NonEmptyString;
|
|
238
|
+
readonly timezone: Schema.NonEmptyString;
|
|
239
|
+
}>;
|
|
240
|
+
/** Validated timing crosses all runtime and persistence boundaries as data. */
|
|
241
|
+
export declare const ScheduleTiming: Schema.Union<readonly [Schema.Struct<{
|
|
242
|
+
readonly kind: Schema.Literal<"interval">;
|
|
243
|
+
readonly milliseconds: Schema.Int;
|
|
244
|
+
}>, Schema.Struct<{
|
|
245
|
+
readonly kind: Schema.Literal<"cron">;
|
|
246
|
+
readonly calendar: Schema.Struct<{
|
|
247
|
+
readonly expression: Schema.NonEmptyString;
|
|
248
|
+
readonly timezone: Schema.NonEmptyString;
|
|
249
|
+
}>;
|
|
250
|
+
}>]>;
|
|
251
|
+
export type ScheduleTiming = typeof ScheduleTiming.Type;
|
|
252
|
+
/** A named trigger attached to the mutation it invokes, including schema-validated arguments. */
|
|
253
|
+
export declare const OperationSchedule: Schema.Struct<{
|
|
254
|
+
readonly name: Schema.NonEmptyString;
|
|
255
|
+
readonly timing: Schema.Union<readonly [Schema.Struct<{
|
|
256
|
+
readonly kind: Schema.Literal<"interval">;
|
|
257
|
+
readonly milliseconds: Schema.Int;
|
|
258
|
+
}>, Schema.Struct<{
|
|
259
|
+
readonly kind: Schema.Literal<"cron">;
|
|
260
|
+
readonly calendar: Schema.Struct<{
|
|
261
|
+
readonly expression: Schema.NonEmptyString;
|
|
262
|
+
readonly timezone: Schema.NonEmptyString;
|
|
263
|
+
}>;
|
|
264
|
+
}>]>;
|
|
265
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
266
|
+
}>;
|
|
267
|
+
export type OperationSchedule = typeof OperationSchedule.Type;
|
|
268
|
+
/** Canonical resource path within one skill. */
|
|
269
|
+
export declare const SkillFilePath: Schema.NonEmptyString;
|
|
270
|
+
/** UTF-8 text resource. Reading a resource never executes it. */
|
|
271
|
+
export declare const SkillFile: Schema.Struct<{
|
|
272
|
+
readonly path: Schema.NonEmptyString;
|
|
273
|
+
readonly content: Schema.String;
|
|
274
|
+
}>;
|
|
275
|
+
export type SkillFile = typeof SkillFile.Type;
|
|
276
|
+
/** Agent Skills format constraints, not Executor execution or storage budgets. */
|
|
277
|
+
export declare const skillFormatLimits: {
|
|
278
|
+
readonly nameCharacters: 64;
|
|
279
|
+
readonly descriptionCharacters: 1024;
|
|
280
|
+
readonly compatibilityCharacters: 500;
|
|
281
|
+
};
|
|
282
|
+
/** A lowercase alphanumeric skill directory name with single separating hyphens. */
|
|
283
|
+
export declare const AppSkillName: Schema.NonEmptyString;
|
|
284
|
+
/** Frontmatter is metadata only. In particular, allowed-tools never grants execution authority. */
|
|
285
|
+
export declare const AppSkillMetadata: Schema.Struct<{
|
|
286
|
+
readonly name: Schema.NonEmptyString;
|
|
287
|
+
readonly description: Schema.String;
|
|
288
|
+
readonly license: Schema.optionalKey<Schema.String>;
|
|
289
|
+
readonly compatibility: Schema.optionalKey<Schema.String>;
|
|
290
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
291
|
+
readonly "allowed-tools": Schema.optionalKey<Schema.String>;
|
|
292
|
+
}>;
|
|
293
|
+
export type AppSkillMetadata = typeof AppSkillMetadata.Type;
|
|
294
|
+
/** Files use paths relative to this skill directory; reading one never executes its contents. */
|
|
295
|
+
export declare const AppSkillSource: Schema.Struct<{
|
|
296
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
297
|
+
readonly path: Schema.NonEmptyString;
|
|
298
|
+
readonly content: Schema.String;
|
|
299
|
+
}>>;
|
|
300
|
+
readonly name: Schema.NonEmptyString;
|
|
301
|
+
readonly description: Schema.String;
|
|
302
|
+
readonly license: Schema.optionalKey<Schema.String>;
|
|
303
|
+
readonly compatibility: Schema.optionalKey<Schema.String>;
|
|
304
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
305
|
+
readonly "allowed-tools": Schema.optionalKey<Schema.String>;
|
|
306
|
+
}>;
|
|
307
|
+
export type AppSkillSource = typeof AppSkillSource.Type;
|
|
308
|
+
/** One evaluated catalog cannot contain ambiguous names. */
|
|
309
|
+
export declare const AppSkills: Schema.$Array<Schema.Struct<{
|
|
310
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
311
|
+
readonly path: Schema.NonEmptyString;
|
|
312
|
+
readonly content: Schema.String;
|
|
313
|
+
}>>;
|
|
314
|
+
readonly name: Schema.NonEmptyString;
|
|
315
|
+
readonly description: Schema.String;
|
|
316
|
+
readonly license: Schema.optionalKey<Schema.String>;
|
|
317
|
+
readonly compatibility: Schema.optionalKey<Schema.String>;
|
|
318
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
319
|
+
readonly "allowed-tools": Schema.optionalKey<Schema.String>;
|
|
320
|
+
}>>;
|
|
321
|
+
/** Advisory tool hints; neither the framework nor these declarations enforce access. */
|
|
322
|
+
export declare const ToolAnnotations: Schema.Struct<{
|
|
323
|
+
readonly title: Schema.optionalKey<Schema.String>;
|
|
324
|
+
readonly readOnlyHint: Schema.optionalKey<Schema.Boolean>;
|
|
325
|
+
readonly destructiveHint: Schema.optionalKey<Schema.Boolean>;
|
|
326
|
+
readonly idempotentHint: Schema.optionalKey<Schema.Boolean>;
|
|
327
|
+
readonly openWorldHint: Schema.optionalKey<Schema.Boolean>;
|
|
328
|
+
}>;
|
|
329
|
+
export type ToolAnnotations = typeof ToolAnnotations.Type;
|
|
330
|
+
/** Raw-byte ceiling shared by callback HTTP, app execution and the encoded host protocol. */
|
|
331
|
+
export declare const WebhookTransportLimits: Schema.Struct<{
|
|
332
|
+
readonly maxBodyBytes: Schema.Int;
|
|
333
|
+
}>;
|
|
334
|
+
export type WebhookTransportLimits = typeof WebhookTransportLimits.Type;
|
|
335
|
+
/** Requests and responses use the same existing transport bound. */
|
|
336
|
+
export declare const defaultWebhookTransportLimits: {
|
|
337
|
+
readonly maxBodyBytes: number;
|
|
338
|
+
};
|
|
339
|
+
/** Bounded callback transport. Headers and base64 bytes preserve the provider signature input. */
|
|
340
|
+
export declare const WebhookRequestData: Schema.Struct<{
|
|
341
|
+
readonly url: Schema.String;
|
|
342
|
+
readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]>;
|
|
343
|
+
readonly headers: Schema.$Record<Schema.String, Schema.String>;
|
|
344
|
+
readonly body: Schema.String;
|
|
345
|
+
}>;
|
|
346
|
+
/** Each command runs with a fresh factory and the subscription's saved account selections. */
|
|
347
|
+
export declare const WebhookCommand: Schema.Union<readonly [Schema.Struct<{
|
|
348
|
+
readonly operation: Schema.Literal<"webhooks">;
|
|
349
|
+
}>, Schema.Struct<{
|
|
350
|
+
readonly name: Schema.NonEmptyString;
|
|
351
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
352
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
353
|
+
readonly callbackUrl: Schema.String;
|
|
354
|
+
readonly secret: Schema.String;
|
|
355
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
356
|
+
readonly operation: Schema.Literal<"webhook-validate">;
|
|
357
|
+
}>, Schema.Struct<{
|
|
358
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
359
|
+
readonly name: Schema.NonEmptyString;
|
|
360
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
361
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
362
|
+
readonly callbackUrl: Schema.String;
|
|
363
|
+
readonly secret: Schema.String;
|
|
364
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
365
|
+
readonly operation: Schema.Literal<"webhook-complete">;
|
|
366
|
+
}>, Schema.Struct<{
|
|
367
|
+
readonly name: Schema.NonEmptyString;
|
|
368
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
369
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
370
|
+
readonly callbackUrl: Schema.String;
|
|
371
|
+
readonly secret: Schema.String;
|
|
372
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
373
|
+
readonly operation: Schema.Literal<"webhook-register">;
|
|
374
|
+
}>, Schema.Struct<{
|
|
375
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
376
|
+
readonly name: Schema.NonEmptyString;
|
|
377
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
378
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
379
|
+
readonly callbackUrl: Schema.String;
|
|
380
|
+
readonly secret: Schema.String;
|
|
381
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
382
|
+
readonly operation: Schema.Literal<"webhook-unregister">;
|
|
383
|
+
}>, Schema.Struct<{
|
|
384
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
385
|
+
readonly request: Schema.Struct<{
|
|
386
|
+
readonly url: Schema.String;
|
|
387
|
+
readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]>;
|
|
388
|
+
readonly headers: Schema.$Record<Schema.String, Schema.String>;
|
|
389
|
+
readonly body: Schema.String;
|
|
390
|
+
}>;
|
|
391
|
+
readonly name: Schema.NonEmptyString;
|
|
392
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
393
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
394
|
+
readonly callbackUrl: Schema.String;
|
|
395
|
+
readonly secret: Schema.String;
|
|
396
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
397
|
+
readonly operation: Schema.Literal<"webhook-handle">;
|
|
398
|
+
}>]>;
|
|
399
|
+
/** Parsed framework command; contains private host inputs and must not be logged. */
|
|
400
|
+
export type WebhookCommand = typeof WebhookCommand.Type;
|
|
401
|
+
/** Run identity is opaque and shared by author and SDK interfaces. */
|
|
402
|
+
export declare const WorkflowRunId: Schema.brand<Schema.NonEmptyString, "wfr">;
|
|
403
|
+
export type WorkflowRunId = typeof WorkflowRunId.Type;
|
|
404
|
+
/** Stable names identify declarations and replay steps. */
|
|
405
|
+
export declare const WorkflowName: Schema.NonEmptyString;
|
|
406
|
+
/** Convert portable duration syntax to milliseconds; invalid or overflowing values are rejected. */
|
|
407
|
+
export declare const workflowDurationMillis: (value: number | string) => number | undefined;
|
|
408
|
+
/** Numbers are milliseconds; strings use a quantity and full unit, such as "5 minutes". */
|
|
409
|
+
export declare const WorkflowDuration: Schema.Union<readonly [Schema.Finite, Schema.NonEmptyString]>;
|
|
410
|
+
export type WorkflowDuration = typeof WorkflowDuration.Type;
|
|
411
|
+
/** Author retry and timeout options are passed to the durable engine. */
|
|
412
|
+
export declare const WorkflowStepOptions: Schema.Struct<{
|
|
413
|
+
readonly retries: Schema.optionalKey<Schema.Struct<{
|
|
414
|
+
readonly limit: Schema.Int;
|
|
415
|
+
readonly delay: Schema.Union<readonly [Schema.Finite, Schema.NonEmptyString]>;
|
|
416
|
+
readonly backoff: Schema.optionalKey<Schema.Literals<readonly ["constant", "linear", "exponential"]>>;
|
|
417
|
+
}>>;
|
|
418
|
+
readonly timeout: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.NonEmptyString]>>;
|
|
419
|
+
}>;
|
|
420
|
+
export type WorkflowStepOptions = typeof WorkflowStepOptions.Type;
|
|
421
|
+
/** Step outputs must fit the engine's persisted JSON result limit. */
|
|
422
|
+
export declare const WorkflowValue: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
423
|
+
/** Private replay metadata is attached by the host, never accepted in author input. */
|
|
424
|
+
export declare const WorkflowReplay: Schema.Struct<{
|
|
425
|
+
readonly key: Schema.NonEmptyString;
|
|
426
|
+
readonly fingerprint: Schema.NonEmptyString;
|
|
427
|
+
}>;
|
|
428
|
+
export type WorkflowReplay = typeof WorkflowReplay.Type;
|
|
429
|
+
/** Portable discovery, input validation and execution commands. */
|
|
430
|
+
export declare const WorkflowCommand: Schema.Union<readonly [Schema.Struct<{
|
|
431
|
+
readonly operation: Schema.Literal<"workflows">;
|
|
432
|
+
}>, Schema.Struct<{
|
|
433
|
+
readonly operation: Schema.Literal<"workflow-validate">;
|
|
434
|
+
readonly name: Schema.NonEmptyString;
|
|
435
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
436
|
+
}>, Schema.Struct<{
|
|
437
|
+
readonly operation: Schema.Literal<"workflow-run">;
|
|
438
|
+
readonly name: Schema.NonEmptyString;
|
|
439
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
440
|
+
}>]>;
|
|
441
|
+
export type WorkflowCommand = typeof WorkflowCommand.Type;
|
|
442
|
+
/** Private invocation RPC protocol shared by the host and isolated app bundle. */
|
|
443
|
+
export declare const WorkflowRpcCommand: Schema.Union<readonly [Schema.Struct<{
|
|
444
|
+
readonly operation: Schema.Literal<"do">;
|
|
445
|
+
readonly name: Schema.NonEmptyString;
|
|
446
|
+
readonly options: Schema.Struct<{
|
|
447
|
+
readonly retries: Schema.optionalKey<Schema.Struct<{
|
|
448
|
+
readonly limit: Schema.Int;
|
|
449
|
+
readonly delay: Schema.Union<readonly [Schema.Finite, Schema.NonEmptyString]>;
|
|
450
|
+
readonly backoff: Schema.optionalKey<Schema.Literals<readonly ["constant", "linear", "exponential"]>>;
|
|
451
|
+
}>>;
|
|
452
|
+
readonly timeout: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.NonEmptyString]>>;
|
|
453
|
+
}>;
|
|
454
|
+
}>, Schema.Struct<{
|
|
455
|
+
readonly operation: Schema.Literal<"sleep">;
|
|
456
|
+
readonly name: Schema.NonEmptyString;
|
|
457
|
+
readonly duration: Schema.Union<readonly [Schema.Finite, Schema.NonEmptyString]>;
|
|
458
|
+
}>, Schema.Struct<{
|
|
459
|
+
readonly operation: Schema.Literal<"until">;
|
|
460
|
+
readonly name: Schema.NonEmptyString;
|
|
461
|
+
readonly timestamp: Schema.Finite;
|
|
462
|
+
}>, Schema.Struct<{
|
|
463
|
+
readonly operation: Schema.Literal<"context">;
|
|
464
|
+
}>, Schema.Struct<{
|
|
465
|
+
readonly operation: Schema.Literal<"invoke">;
|
|
466
|
+
readonly kind: Schema.Literals<readonly ["query", "mutation"]>;
|
|
467
|
+
readonly name: Schema.NonEmptyString;
|
|
468
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
469
|
+
readonly stepId: Schema.NonEmptyString;
|
|
470
|
+
readonly timeout: Schema.Finite;
|
|
471
|
+
}>]>;
|
|
472
|
+
/** Serializable requests do not contain an app ID; authority is captured in the supplied capability. */
|
|
473
|
+
export declare const WorkflowControlCommand: Schema.Union<readonly [Schema.Struct<{
|
|
474
|
+
readonly operation: Schema.Literal<"start">;
|
|
475
|
+
readonly workflow: Schema.NonEmptyString;
|
|
476
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
477
|
+
readonly key: Schema.optionalKey<Schema.NonEmptyString>;
|
|
478
|
+
}>, Schema.Struct<{
|
|
479
|
+
readonly operation: Schema.Literal<"get">;
|
|
480
|
+
readonly run: Schema.brand<Schema.NonEmptyString, "wfr">;
|
|
481
|
+
}>, Schema.Struct<{
|
|
482
|
+
readonly operation: Schema.Literal<"list">;
|
|
483
|
+
readonly workflow: Schema.optionalKey<Schema.NonEmptyString>;
|
|
484
|
+
readonly cursor: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "wfr">>;
|
|
485
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
486
|
+
}>, Schema.Struct<{
|
|
487
|
+
readonly operation: Schema.Literal<"terminate">;
|
|
488
|
+
readonly run: Schema.brand<Schema.NonEmptyString, "wfr">;
|
|
489
|
+
}>]>;
|
|
490
|
+
declare const ProviderError_base: Schema.Class<ProviderError, Schema.TaggedStruct<"ProviderError", {
|
|
491
|
+
readonly reason: Schema.Literals<readonly ["unauthorized", "forbidden", "rate_limited", "unavailable", "rejected"]>;
|
|
492
|
+
readonly status: Schema.optional<Schema.Int>;
|
|
493
|
+
readonly accountId: Schema.optional<Schema.brand<Schema.String, "acc">>;
|
|
494
|
+
}>, import("effect/Cause").YieldableError>;
|
|
495
|
+
/** Protocol 1's provider failure, as released: a reason, an HTTP status and the account used. */
|
|
496
|
+
export declare class ProviderError extends ProviderError_base {
|
|
497
|
+
}
|
|
498
|
+
declare const McpError_base: Schema.Class<McpError, Schema.TaggedStruct<"McpError", {
|
|
499
|
+
readonly phase: Schema.Literals<readonly ["connect", "discover", "call", "schema", "transport"]>;
|
|
500
|
+
readonly reason: Schema.Literals<readonly ["request", "unauthorized", "invalid_response", "timeout", "invalid_input"]>;
|
|
501
|
+
readonly status: Schema.optional<Schema.Number>;
|
|
502
|
+
}>, import("effect/Cause").YieldableError>;
|
|
503
|
+
/** Protocol 1's MCP failure, as released: a phase, a reason and an HTTP status. */
|
|
504
|
+
export declare class McpError extends McpError_base {
|
|
505
|
+
}
|
|
506
|
+
declare const SkillLoadFailed_base: Schema.Class<SkillLoadFailed, Schema.TaggedStruct<"SkillLoadFailed", {
|
|
507
|
+
readonly reason: Schema.Literals<readonly ["source", "request", "rate_limited", "document", "limit", "changed", "encoding"]>;
|
|
508
|
+
readonly message: Schema.optional<Schema.String>;
|
|
509
|
+
readonly status: Schema.optional<Schema.Int>;
|
|
510
|
+
}>, import("effect/Cause").YieldableError>;
|
|
511
|
+
/** Protocols 1 to 8's skill loader failure, as released: a reason, a message and an HTTP status. */
|
|
512
|
+
export declare class SkillLoadFailed extends SkillLoadFailed_base {
|
|
513
|
+
}
|
|
18
514
|
declare const WorkflowFailure_base: Schema.Class<WorkflowFailure, Schema.TaggedStruct<"WorkflowFailure", {
|
|
19
515
|
readonly reason: Schema.Literals<readonly ["unavailable", "not_found", "input", "output", "operation", "approval", "credentials", "terminated", "execution", "conflict", "engine"]>;
|
|
20
516
|
readonly retryable: Schema.Boolean;
|
|
@@ -42,10 +538,15 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
|
|
|
42
538
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
43
539
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
44
540
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
541
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
542
|
+
readonly path: Schema.String;
|
|
543
|
+
}>>;
|
|
45
544
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
46
545
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
47
546
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
48
547
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
548
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
549
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
49
550
|
readonly type: Schema.Literal<"oauth2">;
|
|
50
551
|
}>, Schema.Struct<{
|
|
51
552
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -55,32 +556,41 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
|
|
|
55
556
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
56
557
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
57
558
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
559
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
560
|
+
readonly path: Schema.String;
|
|
561
|
+
}>>;
|
|
58
562
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
59
563
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
60
564
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
61
565
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
566
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
567
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
62
568
|
readonly type: Schema.Literal<"oauth2">;
|
|
63
569
|
}>, Schema.Struct<{
|
|
64
570
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
571
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
572
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
573
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
574
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
65
575
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
66
576
|
readonly discover: Schema.String;
|
|
67
577
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
68
578
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
69
579
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
70
580
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
71
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
72
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
73
581
|
readonly type: Schema.Literal<"oauth2">;
|
|
74
582
|
}>, Schema.Struct<{
|
|
75
583
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
76
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
77
|
-
readonly tokenUrl: Schema.String;
|
|
78
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
79
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
80
584
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
81
585
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
82
586
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
83
587
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
588
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
589
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
590
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
591
|
+
readonly tokenUrl: Schema.String;
|
|
592
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
593
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
84
594
|
readonly type: Schema.Literal<"oauth2">;
|
|
85
595
|
}>]>;
|
|
86
596
|
/** Serializable declaration of a provider's named authentication methods. */
|
|
@@ -97,10 +607,15 @@ export declare const DeclaredProvider: Schema.Struct<{
|
|
|
97
607
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
98
608
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
99
609
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
610
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
611
|
+
readonly path: Schema.String;
|
|
612
|
+
}>>;
|
|
100
613
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
101
614
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
102
615
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
103
616
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
617
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
618
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
104
619
|
readonly type: Schema.Literal<"oauth2">;
|
|
105
620
|
}>, Schema.Struct<{
|
|
106
621
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -110,32 +625,41 @@ export declare const DeclaredProvider: Schema.Struct<{
|
|
|
110
625
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
111
626
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
112
627
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
628
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
629
|
+
readonly path: Schema.String;
|
|
630
|
+
}>>;
|
|
113
631
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
114
632
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
115
633
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
116
634
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
635
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
636
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
117
637
|
readonly type: Schema.Literal<"oauth2">;
|
|
118
638
|
}>, Schema.Struct<{
|
|
119
639
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
640
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
641
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
642
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
643
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
120
644
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
121
645
|
readonly discover: Schema.String;
|
|
122
646
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
123
647
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
124
648
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
125
649
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
126
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
127
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
128
650
|
readonly type: Schema.Literal<"oauth2">;
|
|
129
651
|
}>, Schema.Struct<{
|
|
130
652
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
131
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
132
|
-
readonly tokenUrl: Schema.String;
|
|
133
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
134
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
135
653
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
136
654
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
137
655
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
138
656
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
657
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
658
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
659
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
660
|
+
readonly tokenUrl: Schema.String;
|
|
661
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
662
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
139
663
|
readonly type: Schema.Literal<"oauth2">;
|
|
140
664
|
}>]>>;
|
|
141
665
|
}>;
|
|
@@ -179,10 +703,15 @@ export declare const DeclaredRequirements: Schema.Struct<{
|
|
|
179
703
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
180
704
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
181
705
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
706
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
707
|
+
readonly path: Schema.String;
|
|
708
|
+
}>>;
|
|
182
709
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
183
710
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
184
711
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
185
712
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
713
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
714
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
186
715
|
readonly type: Schema.Literal<"oauth2">;
|
|
187
716
|
}>, Schema.Struct<{
|
|
188
717
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -192,32 +721,41 @@ export declare const DeclaredRequirements: Schema.Struct<{
|
|
|
192
721
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
193
722
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
194
723
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
724
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
725
|
+
readonly path: Schema.String;
|
|
726
|
+
}>>;
|
|
195
727
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
196
728
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
197
729
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
198
730
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
731
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
732
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
199
733
|
readonly type: Schema.Literal<"oauth2">;
|
|
200
734
|
}>, Schema.Struct<{
|
|
201
735
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
736
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
737
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
738
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
739
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
202
740
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
203
741
|
readonly discover: Schema.String;
|
|
204
742
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
205
743
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
206
744
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
207
745
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
208
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
209
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
210
746
|
readonly type: Schema.Literal<"oauth2">;
|
|
211
747
|
}>, Schema.Struct<{
|
|
212
748
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
213
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
214
|
-
readonly tokenUrl: Schema.String;
|
|
215
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
216
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
217
749
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
218
750
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
219
751
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
220
752
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
753
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
754
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
755
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
756
|
+
readonly tokenUrl: Schema.String;
|
|
757
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
758
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
221
759
|
readonly type: Schema.Literal<"oauth2">;
|
|
222
760
|
}>]>>;
|
|
223
761
|
}>;
|
|
@@ -242,10 +780,15 @@ export declare const ResolvedAccount: Schema.Struct<{
|
|
|
242
780
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
243
781
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
244
782
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
783
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
784
|
+
readonly path: Schema.String;
|
|
785
|
+
}>>;
|
|
245
786
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
246
787
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
247
788
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
248
789
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
790
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
791
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
249
792
|
readonly type: Schema.Literal<"oauth2">;
|
|
250
793
|
}>, Schema.Struct<{
|
|
251
794
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -255,32 +798,41 @@ export declare const ResolvedAccount: Schema.Struct<{
|
|
|
255
798
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
256
799
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
257
800
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
801
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
802
|
+
readonly path: Schema.String;
|
|
803
|
+
}>>;
|
|
258
804
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
259
805
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
260
806
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
261
807
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
808
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
809
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
262
810
|
readonly type: Schema.Literal<"oauth2">;
|
|
263
811
|
}>, Schema.Struct<{
|
|
264
812
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
813
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
814
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
815
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
816
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
265
817
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
266
818
|
readonly discover: Schema.String;
|
|
267
819
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
268
820
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
269
821
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
270
822
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
271
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
272
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
273
823
|
readonly type: Schema.Literal<"oauth2">;
|
|
274
824
|
}>, Schema.Struct<{
|
|
275
825
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
276
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
277
|
-
readonly tokenUrl: Schema.String;
|
|
278
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
279
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
280
826
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
281
827
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
282
828
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
283
829
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
830
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
831
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
832
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
833
|
+
readonly tokenUrl: Schema.String;
|
|
834
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
835
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
284
836
|
readonly type: Schema.Literal<"oauth2">;
|
|
285
837
|
}>]>>;
|
|
286
838
|
}>;
|
|
@@ -310,10 +862,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
310
862
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
311
863
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
312
864
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
865
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
866
|
+
readonly path: Schema.String;
|
|
867
|
+
}>>;
|
|
313
868
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
314
869
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
315
870
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
316
871
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
872
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
873
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
317
874
|
readonly type: Schema.Literal<"oauth2">;
|
|
318
875
|
}>, Schema.Struct<{
|
|
319
876
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -323,32 +880,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
323
880
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
324
881
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
325
882
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
883
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
884
|
+
readonly path: Schema.String;
|
|
885
|
+
}>>;
|
|
326
886
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
327
887
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
328
888
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
329
889
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
890
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
891
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
330
892
|
readonly type: Schema.Literal<"oauth2">;
|
|
331
893
|
}>, Schema.Struct<{
|
|
332
894
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
895
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
896
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
897
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
898
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
333
899
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
334
900
|
readonly discover: Schema.String;
|
|
335
901
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
336
902
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
337
903
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
338
904
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
339
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
340
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
341
905
|
readonly type: Schema.Literal<"oauth2">;
|
|
342
906
|
}>, Schema.Struct<{
|
|
343
907
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
344
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
345
|
-
readonly tokenUrl: Schema.String;
|
|
346
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
347
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
348
908
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
349
909
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
350
910
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
351
911
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
912
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
913
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
914
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
915
|
+
readonly tokenUrl: Schema.String;
|
|
916
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
917
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
352
918
|
readonly type: Schema.Literal<"oauth2">;
|
|
353
919
|
}>]>>;
|
|
354
920
|
}>;
|
|
@@ -374,10 +940,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
374
940
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
375
941
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
376
942
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
943
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
944
|
+
readonly path: Schema.String;
|
|
945
|
+
}>>;
|
|
377
946
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
378
947
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
379
948
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
380
949
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
950
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
951
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
381
952
|
readonly type: Schema.Literal<"oauth2">;
|
|
382
953
|
}>, Schema.Struct<{
|
|
383
954
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -387,32 +958,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
387
958
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
388
959
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
389
960
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
961
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
962
|
+
readonly path: Schema.String;
|
|
963
|
+
}>>;
|
|
390
964
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
391
965
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
392
966
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
393
967
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
968
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
969
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
394
970
|
readonly type: Schema.Literal<"oauth2">;
|
|
395
971
|
}>, Schema.Struct<{
|
|
396
972
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
973
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
974
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
975
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
976
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
397
977
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
398
978
|
readonly discover: Schema.String;
|
|
399
979
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
400
980
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
401
981
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
402
982
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
403
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
404
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
405
983
|
readonly type: Schema.Literal<"oauth2">;
|
|
406
984
|
}>, Schema.Struct<{
|
|
407
985
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
408
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
409
|
-
readonly tokenUrl: Schema.String;
|
|
410
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
411
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
412
986
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
413
987
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
414
988
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
415
989
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
990
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
991
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
992
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
993
|
+
readonly tokenUrl: Schema.String;
|
|
994
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
995
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
416
996
|
readonly type: Schema.Literal<"oauth2">;
|
|
417
997
|
}>]>>;
|
|
418
998
|
}>;
|
|
@@ -828,10 +1408,15 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
828
1408
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
829
1409
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
830
1410
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1411
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1412
|
+
readonly path: Schema.String;
|
|
1413
|
+
}>>;
|
|
831
1414
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
832
1415
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
833
1416
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
834
1417
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1418
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1419
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
835
1420
|
readonly type: Schema.Literal<"oauth2">;
|
|
836
1421
|
}>, Schema.Struct<{
|
|
837
1422
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -841,32 +1426,41 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
841
1426
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
842
1427
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
843
1428
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1429
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1430
|
+
readonly path: Schema.String;
|
|
1431
|
+
}>>;
|
|
844
1432
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
845
1433
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
846
1434
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
847
1435
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1436
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1437
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
848
1438
|
readonly type: Schema.Literal<"oauth2">;
|
|
849
1439
|
}>, Schema.Struct<{
|
|
850
1440
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1441
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1442
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1443
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1444
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
851
1445
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
852
1446
|
readonly discover: Schema.String;
|
|
853
1447
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
854
1448
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
855
1449
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
856
1450
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
857
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
858
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
859
1451
|
readonly type: Schema.Literal<"oauth2">;
|
|
860
1452
|
}>, Schema.Struct<{
|
|
861
1453
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
862
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
863
|
-
readonly tokenUrl: Schema.String;
|
|
864
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
865
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
866
1454
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
867
1455
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
868
1456
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
869
1457
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1458
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1459
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1460
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1461
|
+
readonly tokenUrl: Schema.String;
|
|
1462
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1463
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
870
1464
|
readonly type: Schema.Literal<"oauth2">;
|
|
871
1465
|
}>]>>;
|
|
872
1466
|
}>;
|
|
@@ -892,10 +1486,15 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
892
1486
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
893
1487
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
894
1488
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1489
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1490
|
+
readonly path: Schema.String;
|
|
1491
|
+
}>>;
|
|
895
1492
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
896
1493
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
897
1494
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
898
1495
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1496
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1497
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
899
1498
|
readonly type: Schema.Literal<"oauth2">;
|
|
900
1499
|
}>, Schema.Struct<{
|
|
901
1500
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -905,32 +1504,41 @@ export declare const HostInvocation: Schema.Struct<{
|
|
|
905
1504
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
906
1505
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
907
1506
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1507
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1508
|
+
readonly path: Schema.String;
|
|
1509
|
+
}>>;
|
|
908
1510
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
909
1511
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
910
1512
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
911
1513
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1514
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1515
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
912
1516
|
readonly type: Schema.Literal<"oauth2">;
|
|
913
1517
|
}>, Schema.Struct<{
|
|
914
1518
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1519
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1520
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1521
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1522
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
915
1523
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
916
1524
|
readonly discover: Schema.String;
|
|
917
1525
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
918
1526
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
919
1527
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
920
1528
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
921
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
922
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
923
1529
|
readonly type: Schema.Literal<"oauth2">;
|
|
924
1530
|
}>, Schema.Struct<{
|
|
925
1531
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
926
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
927
|
-
readonly tokenUrl: Schema.String;
|
|
928
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
929
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
930
1532
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
931
1533
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
932
1534
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
933
1535
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1536
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1537
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1538
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1539
|
+
readonly tokenUrl: Schema.String;
|
|
1540
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1541
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
934
1542
|
readonly type: Schema.Literal<"oauth2">;
|
|
935
1543
|
}>]>>;
|
|
936
1544
|
}>;
|
|
@@ -1065,10 +1673,15 @@ export declare const protocol1: {
|
|
|
1065
1673
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1066
1674
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1067
1675
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1676
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1677
|
+
readonly path: Schema.String;
|
|
1678
|
+
}>>;
|
|
1068
1679
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1069
1680
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1070
1681
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1071
1682
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1683
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1684
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1072
1685
|
readonly type: Schema.Literal<"oauth2">;
|
|
1073
1686
|
}>, Schema.Struct<{
|
|
1074
1687
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -1078,32 +1691,41 @@ export declare const protocol1: {
|
|
|
1078
1691
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
1079
1692
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1080
1693
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1694
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1695
|
+
readonly path: Schema.String;
|
|
1696
|
+
}>>;
|
|
1081
1697
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1082
1698
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1083
1699
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1084
1700
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1701
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1702
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1085
1703
|
readonly type: Schema.Literal<"oauth2">;
|
|
1086
1704
|
}>, Schema.Struct<{
|
|
1087
1705
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1706
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1707
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1708
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1709
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1088
1710
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
1089
1711
|
readonly discover: Schema.String;
|
|
1090
1712
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1091
1713
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1092
1714
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1093
1715
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1094
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1095
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1096
1716
|
readonly type: Schema.Literal<"oauth2">;
|
|
1097
1717
|
}>, Schema.Struct<{
|
|
1098
1718
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1099
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
1100
|
-
readonly tokenUrl: Schema.String;
|
|
1101
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1102
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
1103
1719
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1104
1720
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1105
1721
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1106
1722
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1723
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1724
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1725
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1726
|
+
readonly tokenUrl: Schema.String;
|
|
1727
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1728
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1107
1729
|
readonly type: Schema.Literal<"oauth2">;
|
|
1108
1730
|
}>]>>;
|
|
1109
1731
|
}>;
|
|
@@ -1129,10 +1751,15 @@ export declare const protocol1: {
|
|
|
1129
1751
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1130
1752
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1131
1753
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1754
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1755
|
+
readonly path: Schema.String;
|
|
1756
|
+
}>>;
|
|
1132
1757
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1133
1758
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1134
1759
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1135
1760
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1761
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1762
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1136
1763
|
readonly type: Schema.Literal<"oauth2">;
|
|
1137
1764
|
}>, Schema.Struct<{
|
|
1138
1765
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -1142,32 +1769,41 @@ export declare const protocol1: {
|
|
|
1142
1769
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
1143
1770
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1144
1771
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1772
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1773
|
+
readonly path: Schema.String;
|
|
1774
|
+
}>>;
|
|
1145
1775
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1146
1776
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1147
1777
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1148
1778
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1779
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1780
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1149
1781
|
readonly type: Schema.Literal<"oauth2">;
|
|
1150
1782
|
}>, Schema.Struct<{
|
|
1151
1783
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1784
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1785
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1786
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1787
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1152
1788
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
1153
1789
|
readonly discover: Schema.String;
|
|
1154
1790
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1155
1791
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1156
1792
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1157
1793
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1158
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1159
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1160
1794
|
readonly type: Schema.Literal<"oauth2">;
|
|
1161
1795
|
}>, Schema.Struct<{
|
|
1162
1796
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1163
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
1164
|
-
readonly tokenUrl: Schema.String;
|
|
1165
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1166
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
1167
1797
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1168
1798
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1169
1799
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1170
1800
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1801
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1802
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1803
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1804
|
+
readonly tokenUrl: Schema.String;
|
|
1805
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1806
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1171
1807
|
readonly type: Schema.Literal<"oauth2">;
|
|
1172
1808
|
}>]>>;
|
|
1173
1809
|
}>;
|
|
@@ -1326,10 +1962,15 @@ export declare const protocol1: {
|
|
|
1326
1962
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1327
1963
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1328
1964
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1965
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1966
|
+
readonly path: Schema.String;
|
|
1967
|
+
}>>;
|
|
1329
1968
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1330
1969
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1331
1970
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1332
1971
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1972
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1973
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1333
1974
|
readonly type: Schema.Literal<"oauth2">;
|
|
1334
1975
|
}>, Schema.Struct<{
|
|
1335
1976
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -1339,32 +1980,41 @@ export declare const protocol1: {
|
|
|
1339
1980
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
1340
1981
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1341
1982
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1983
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1984
|
+
readonly path: Schema.String;
|
|
1985
|
+
}>>;
|
|
1342
1986
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1343
1987
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1344
1988
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1345
1989
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1990
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1991
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1346
1992
|
readonly type: Schema.Literal<"oauth2">;
|
|
1347
1993
|
}>, Schema.Struct<{
|
|
1348
1994
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1995
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1996
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1997
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1998
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1349
1999
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
1350
2000
|
readonly discover: Schema.String;
|
|
1351
2001
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1352
2002
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1353
2003
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1354
2004
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1355
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1356
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1357
2005
|
readonly type: Schema.Literal<"oauth2">;
|
|
1358
2006
|
}>, Schema.Struct<{
|
|
1359
2007
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1360
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
1361
|
-
readonly tokenUrl: Schema.String;
|
|
1362
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1363
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
1364
2008
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1365
2009
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1366
2010
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1367
2011
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
2012
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
2013
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
2014
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
2015
|
+
readonly tokenUrl: Schema.String;
|
|
2016
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
2017
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1368
2018
|
readonly type: Schema.Literal<"oauth2">;
|
|
1369
2019
|
}>]>>;
|
|
1370
2020
|
}>;
|
|
@@ -1457,10 +2107,10 @@ export declare const protocol1: {
|
|
|
1457
2107
|
readonly elicitationRequest: Schema.Struct<{
|
|
1458
2108
|
readonly mode: Schema.Literal<"form">;
|
|
1459
2109
|
readonly requestedSchema: Schema.toEncoded<Schema.Struct<{
|
|
1460
|
-
readonly $schema: Schema.decodeTo<Schema.optional<Schema.String
|
|
2110
|
+
readonly $schema: Schema.decodeTo<Schema.toType<Schema.optional<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1461
2111
|
readonly type: Schema.tag<"object">;
|
|
1462
|
-
readonly properties: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Union<readonly [typeof
|
|
1463
|
-
readonly required: Schema.decodeTo<Schema.optional<Schema.$Array<Schema.String
|
|
2112
|
+
readonly properties: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Union<readonly [typeof McpSchema.LegacyTitledEnum, Schema.Union<readonly [typeof McpSchema.UntitledSingleSelectEnum, typeof McpSchema.TitledSingleSelectEnum]>, Schema.Union<readonly [typeof McpSchema.UntitledMultiSelectEnum, typeof McpSchema.TitledMultiSelectEnum]>]>, typeof McpSchema.ElicitationString, typeof McpSchema.ElicitationNumber, typeof McpSchema.ElicitationBoolean]>>;
|
|
2113
|
+
readonly required: Schema.decodeTo<Schema.toType<Schema.optional<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
1464
2114
|
}>>;
|
|
1465
2115
|
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1466
2116
|
readonly message: Schema.String;
|
|
@@ -1470,7 +2120,7 @@ export declare const protocol1: {
|
|
|
1470
2120
|
readonly response: Schema.Union<readonly [Schema.Struct<{
|
|
1471
2121
|
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1472
2122
|
readonly action: Schema.Literal<"accept">;
|
|
1473
|
-
readonly content: Schema.decodeTo<Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.$Array<Schema.String>]
|
|
2123
|
+
readonly content: Schema.decodeTo<Schema.toType<Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.$Array<Schema.String>]>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.$Array<Schema.String>]>>>, never, never>;
|
|
1474
2124
|
}>, Schema.Struct<{
|
|
1475
2125
|
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1476
2126
|
readonly action: Schema.Literals<readonly ["cancel", "decline"]>;
|
|
@@ -1538,7 +2188,9 @@ export declare const protocol1: {
|
|
|
1538
2188
|
}>, Schema.Struct<{
|
|
1539
2189
|
readonly operation: Schema.Literal<"acquire">;
|
|
1540
2190
|
readonly key: Schema.String;
|
|
2191
|
+
/** Claim even a fresh entry, as an explicit refresh does. */
|
|
1541
2192
|
readonly refresh: Schema.Boolean;
|
|
2193
|
+
/** Claim only while the entry still has this version. Absent accepts the current one. */
|
|
1542
2194
|
readonly version: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1543
2195
|
}>, Schema.Struct<{
|
|
1544
2196
|
readonly operation: Schema.Literal<"claim">;
|
|
@@ -1582,7 +2234,7 @@ export declare const protocol1: {
|
|
|
1582
2234
|
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1583
2235
|
}>, Schema.Struct<{
|
|
1584
2236
|
readonly ok: Schema.Literal<false>;
|
|
1585
|
-
readonly error: typeof
|
|
2237
|
+
readonly error: typeof CacheError;
|
|
1586
2238
|
}>]>;
|
|
1587
2239
|
};
|
|
1588
2240
|
};
|