apps 0.0.1-beta.4 → 0.0.1-beta.40

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.
Files changed (171) hide show
  1. package/README.md +68 -44
  2. package/framework-reference.json +1 -1
  3. package/js/{chunk-QKHR7BMF.js → chunk-3MMG2H6M.js} +89 -53
  4. package/js/chunk-4TLZGG4B.js +729 -0
  5. package/js/chunk-6KABJTDO.js +255 -0
  6. package/js/{chunk-FDNTX5QJ.js → chunk-CQD3WSYH.js} +2 -2
  7. package/js/{chunk-EQB7JMAL.js → chunk-DHX2OI2X.js} +146 -31
  8. package/js/{chunk-EVJUVWN2.js → chunk-DKUEYTYD.js} +463 -218
  9. package/js/chunk-EM4UL26F.js +118 -0
  10. package/js/{chunk-WFSQXYUT.js → chunk-GHXRRFZA.js} +418 -52
  11. package/js/{chunk-5MQZEB6Y.js → chunk-KANDIVIH.js} +40 -12
  12. package/js/chunk-KAQD3DTI.js +16 -0
  13. package/js/chunk-KIM5HXNK.js +49 -0
  14. package/js/{chunk-FW5HBOIK.js → chunk-MXDKXAY4.js} +19117 -18309
  15. package/js/{chunk-2VPJHFOU.js → chunk-MYF7KWUB.js} +128 -24
  16. package/js/{chunk-T2LAZCAD.js → chunk-NKWWPJYX.js} +3 -3
  17. package/js/chunk-OD3KFKZD.js +1617 -0
  18. package/js/{chunk-3M2MEDNL.js → chunk-OTCLXFLL.js} +1337 -188
  19. package/js/chunk-P7MGDPFD.js +240 -0
  20. package/js/chunk-PDS2E2OZ.js +42 -0
  21. package/js/{chunk-ZCAMUXSG.js → chunk-PNVCCB4L.js} +432 -79
  22. package/js/{chunk-D47C7KG5.js → chunk-RIXVGVA6.js} +2 -2
  23. package/js/{chunk-6VRYO2BG.js → chunk-SALJXSS3.js} +779 -251
  24. package/js/{chunk-NQ3OMCA5.js → chunk-TT6OU4UG.js} +2 -2
  25. package/js/{chunk-YEJOQEII.js → chunk-UOZMSUJ2.js} +61 -9
  26. package/js/{chunk-G7ZIRKMK.js → chunk-VIU2XXA7.js} +228 -264
  27. package/js/{chunk-HDJH3RPR.js → chunk-VJQXXOQ3.js} +4 -4
  28. package/js/chunk-XDGUGB2A.js +156 -0
  29. package/js/{chunk-SATWJKN6.js → chunk-YQ35E7KS.js} +2 -2
  30. package/js/chunk-ZUKBIHMK.js +92 -0
  31. package/js/client.js +122 -88
  32. package/js/contracts.js +116 -25
  33. package/js/effect.js +19 -20
  34. package/js/{es-APDZKREY.js → es-DIULA3ZF.js} +62 -1659
  35. package/js/graphql.js +57 -55
  36. package/js/host.js +19 -20
  37. package/js/index.js +245 -212
  38. package/js/mcp/effect.js +23 -22
  39. package/js/mcp/stdio.js +34 -30
  40. package/js/mcp.js +104 -68
  41. package/js/openapi.js +4087 -1503
  42. package/js/react.js +2 -3
  43. package/js/skills/effect.js +6 -3
  44. package/js/skills.js +147 -65
  45. package/js/storage/facet.js +1 -540
  46. package/js/ui/auth/contracts.js +2 -2
  47. package/js/ui/auth.js +5 -5
  48. package/js/ui/contracts.js +5 -4
  49. package/js/ui/serving.js +8517 -214
  50. package/package.json +2 -3
  51. package/runtime.json +1 -1
  52. package/types/app-data/src/contracts/database.d.ts +33 -6
  53. package/types/apps/src/contracts/api-response-error.d.ts +4 -0
  54. package/types/apps/src/contracts/app.d.ts +7 -8
  55. package/types/apps/src/contracts/cache.d.ts +14 -0
  56. package/types/apps/src/contracts/context.d.ts +12 -11
  57. package/types/apps/src/contracts/elicitation.d.ts +6 -6
  58. package/types/apps/src/contracts/failure.d.ts +54 -0
  59. package/types/apps/src/contracts/graphql.d.ts +2 -1
  60. package/types/apps/src/contracts/host.d.ts +44 -17
  61. package/types/apps/src/contracts/live.d.ts +2 -0
  62. package/types/apps/src/contracts/mcp.d.ts +96 -10
  63. package/types/apps/src/contracts/network.d.ts +84 -0
  64. package/types/apps/src/contracts/openapi-compile.d.ts +32 -3
  65. package/types/apps/src/contracts/openapi.d.ts +45 -9
  66. package/types/apps/src/contracts/operations.d.ts +8 -9
  67. package/types/apps/src/contracts/protocol-version.d.ts +2 -2
  68. package/types/apps/src/contracts/protocols/1.d.ts +263 -74
  69. package/types/apps/src/contracts/protocols/10.d.ts +1450 -0
  70. package/types/apps/src/contracts/protocols/2.d.ts +66 -24
  71. package/types/apps/src/contracts/protocols/3.d.ts +715 -0
  72. package/types/apps/src/contracts/protocols/4.d.ts +1297 -0
  73. package/types/apps/src/contracts/protocols/5.d.ts +1174 -0
  74. package/types/apps/src/contracts/protocols/6.d.ts +1620 -0
  75. package/types/apps/src/contracts/protocols/7.d.ts +1784 -0
  76. package/types/apps/src/contracts/protocols/8.d.ts +1130 -0
  77. package/types/apps/src/contracts/protocols/9.d.ts +1106 -0
  78. package/types/apps/src/contracts/protocols/oauth.d.ts +89 -0
  79. package/types/apps/src/contracts/provider-error.d.ts +9 -0
  80. package/types/apps/src/contracts/provider.d.ts +115 -10
  81. package/types/apps/src/contracts/router.d.ts +59 -0
  82. package/types/apps/src/contracts/skills.d.ts +39 -9
  83. package/types/apps/src/contracts/sql.d.ts +58 -0
  84. package/types/apps/src/contracts/ui.d.ts +19 -1
  85. package/types/apps/src/contracts/workflows.d.ts +40 -3
  86. package/types/apps/src/facet.d.ts +4 -5
  87. package/types/apps/src/graphql.d.ts +1 -3
  88. package/types/apps/src/implementation/account-router.d.ts +12 -0
  89. package/types/apps/src/implementation/app.d.ts +5 -4
  90. package/types/apps/src/implementation/browser-scripts.gen.d.ts +6 -0
  91. package/types/apps/src/implementation/catalog-cache.d.ts +32 -5
  92. package/types/apps/src/implementation/elicitation.d.ts +9 -9
  93. package/types/apps/src/implementation/failure-detail.d.ts +47 -0
  94. package/types/apps/src/implementation/graphql-catalog.d.ts +4 -7
  95. package/types/apps/src/implementation/graphql.d.ts +4 -3
  96. package/types/apps/src/implementation/input-problems.d.ts +4 -1
  97. package/types/apps/src/implementation/live.d.ts +2 -2
  98. package/types/apps/src/implementation/mcp-call.d.ts +6 -5
  99. package/types/apps/src/implementation/mcp-catalog.d.ts +7 -8
  100. package/types/apps/src/implementation/mcp-client.d.ts +49 -25
  101. package/types/apps/src/implementation/mcp-stdio.d.ts +1 -1
  102. package/types/apps/src/implementation/mcp-tools.d.ts +2 -1
  103. package/types/apps/src/implementation/mcp.d.ts +52 -25
  104. package/types/apps/src/implementation/network.d.ts +16 -0
  105. package/types/apps/src/implementation/openapi-compile.d.ts +27 -6
  106. package/types/apps/src/implementation/openapi-document.d.ts +46 -19
  107. package/types/apps/src/implementation/openapi-names.d.ts +9 -4
  108. package/types/apps/src/implementation/openapi-request.d.ts +10 -2
  109. package/types/apps/src/implementation/openapi-source.d.ts +8 -6
  110. package/types/apps/src/implementation/openapi-upgrade.d.ts +4 -0
  111. package/types/apps/src/implementation/operations.d.ts +36 -3
  112. package/types/apps/src/implementation/optimistic.d.ts +1 -1
  113. package/types/apps/src/implementation/protocol-operations.d.ts +6 -4
  114. package/types/apps/src/implementation/provider-error.d.ts +28 -1
  115. package/types/apps/src/implementation/provider.d.ts +19 -5
  116. package/types/apps/src/implementation/query-commit.d.ts +1 -1
  117. package/types/apps/src/implementation/router-catalog.d.ts +223 -0
  118. package/types/apps/src/implementation/router.d.ts +68 -0
  119. package/types/apps/src/implementation/runtime-yield.d.ts +7 -0
  120. package/types/apps/src/implementation/schema.d.ts +86 -11
  121. package/types/apps/src/implementation/skills.d.ts +18 -24
  122. package/types/apps/src/implementation/sql.d.ts +66 -0
  123. package/types/apps/src/implementation/ui-account-notice.d.ts +9 -0
  124. package/types/apps/src/implementation/ui-auth.d.ts +1 -1
  125. package/types/apps/src/implementation/ui-client.d.ts +2 -2
  126. package/types/apps/src/implementation/ui-document.d.ts +5 -0
  127. package/types/apps/src/implementation/ui-errors.d.ts +1 -1
  128. package/types/apps/src/implementation/ui-serving.d.ts +11 -5
  129. package/types/apps/src/implementation/ui-watch.d.ts +1 -1
  130. package/types/apps/src/implementation/upstream-error.d.ts +7 -0
  131. package/types/apps/src/implementation/webhooks.d.ts +1 -1
  132. package/types/apps/src/implementation/workflow-context.d.ts +11 -3
  133. package/types/apps/src/index.d.ts +30 -13
  134. package/types/apps/src/mcp-stdio.d.ts +2 -5
  135. package/types/apps/src/mcp.d.ts +25 -5
  136. package/types/apps/src/openapi.d.ts +6 -6
  137. package/types/apps/src/react.d.ts +1 -1
  138. package/types/apps/src/skills.d.ts +10 -8
  139. package/types/telemetry/src/app-records.d.ts +42 -0
  140. package/types/telemetry/src/browser-operations.d.ts +6 -3
  141. package/types/telemetry/src/browser.d.ts +2 -2
  142. package/types/telemetry/src/config.d.ts +2 -2
  143. package/types/telemetry/src/layer.d.ts +2 -2
  144. package/types/telemetry/src/recorded-failure.d.ts +20 -0
  145. package/types/telemetry/src/relay.d.ts +2 -2
  146. package/types/telemetry/src/transport.d.ts +8 -1
  147. package/types/utils/src/api-error.d.ts +53 -0
  148. package/types/utils/src/recorded-message.d.ts +15 -0
  149. package/js/chunk-BMOIAIVR.js +0 -138
  150. package/js/chunk-DHUDODG5.js +0 -213
  151. package/js/chunk-FZJOYIZO.js +0 -19
  152. package/js/chunk-LGIYBDWA.js +0 -85
  153. package/js/chunk-M6ZRRIBI.js +0 -877
  154. package/js/chunk-PLCMJREA.js +0 -590
  155. package/js/chunk-PYUYJRSK.js +0 -93
  156. package/js/chunk-SWPD52J7.js +0 -35
  157. package/js/chunk-W7D7WVSY.js +0 -18
  158. package/js/chunk-Z5NMEGJN.js +0 -29
  159. package/js/chunk-ZJWDMTE3.js +0 -63
  160. package/types/app-data/src/implementation/cursor.d.ts +0 -10
  161. package/types/app-data/src/implementation/index-key.d.ts +0 -7
  162. package/types/app-data/src/implementation/promise.d.ts +0 -68
  163. package/types/app-data/src/implementation/range.d.ts +0 -8
  164. package/types/app-data/src/implementation/schema.d.ts +0 -33
  165. package/types/app-data/src/implementation/sqlite.d.ts +0 -11
  166. package/types/app-data/src/index.d.ts +0 -4
  167. package/types/apps/src/contracts/dynamic-tools.d.ts +0 -13
  168. package/types/apps/src/contracts/storage.d.ts +0 -68
  169. package/types/apps/src/implementation/account-operations.d.ts +0 -151
  170. package/types/apps/src/implementation/dynamic-tools.d.ts +0 -8
  171. package/types/apps/src/implementation/storage.d.ts +0 -13
@@ -12,10 +12,45 @@
12
12
  import { Schema } from "effect";
13
13
  import { OpenapiResponseError } from "../api-response-error.js";
14
14
  import { ElicitationFailed } from "../elicitation.js";
15
- import { McpError } from "../mcp.js";
16
- import { ProviderError } from "../provider-error.js";
17
- import { SkillLoadFailed } from "../skills.js";
18
- import { WorkflowFailure } from "../workflows.js";
15
+ declare const ProviderError_base: Schema.Class<ProviderError, Schema.TaggedStruct<"ProviderError", {
16
+ readonly reason: Schema.Literals<readonly ["unauthorized", "forbidden", "rate_limited", "unavailable", "rejected"]>;
17
+ readonly status: Schema.optional<Schema.Int>;
18
+ readonly accountId: Schema.optional<Schema.brand<Schema.String, "acc">>;
19
+ }>, import("effect/Cause").YieldableError>;
20
+ /** Protocol 1's provider failure, as released: a reason, an HTTP status and the account used. */
21
+ export declare class ProviderError extends ProviderError_base {
22
+ }
23
+ declare const McpError_base: Schema.Class<McpError, Schema.TaggedStruct<"McpError", {
24
+ readonly phase: Schema.Literals<readonly ["connect", "discover", "call", "schema", "transport"]>;
25
+ readonly reason: Schema.Literals<readonly ["request", "unauthorized", "invalid_response", "timeout", "invalid_input"]>;
26
+ readonly status: Schema.optional<Schema.Number>;
27
+ }>, import("effect/Cause").YieldableError>;
28
+ /** Protocol 1's MCP failure, as released: a phase, a reason and an HTTP status. */
29
+ export declare class McpError extends McpError_base {
30
+ }
31
+ declare const SkillLoadFailed_base: Schema.Class<SkillLoadFailed, Schema.TaggedStruct<"SkillLoadFailed", {
32
+ readonly reason: Schema.Literals<readonly ["source", "request", "rate_limited", "document", "limit", "changed", "encoding"]>;
33
+ readonly message: Schema.optional<Schema.String>;
34
+ readonly status: Schema.optional<Schema.Int>;
35
+ }>, import("effect/Cause").YieldableError>;
36
+ /** Protocols 1 to 8's skill loader failure, as released: a reason, a message and an HTTP status. */
37
+ export declare class SkillLoadFailed extends SkillLoadFailed_base {
38
+ }
39
+ declare const WorkflowFailure_base: Schema.Class<WorkflowFailure, Schema.TaggedStruct<"WorkflowFailure", {
40
+ readonly reason: Schema.Literals<readonly ["unavailable", "not_found", "input", "output", "operation", "approval", "credentials", "terminated", "execution", "conflict", "engine"]>;
41
+ readonly retryable: Schema.Boolean;
42
+ }>, import("effect/Cause").YieldableError>;
43
+ /** Protocol 1's workflow failure: a reason code only, as released. */
44
+ export declare class WorkflowFailure extends WorkflowFailure_base {
45
+ }
46
+ /** Protocol 1's workflow step reply, carrying its own failure. */
47
+ export declare const WorkflowRpcResult: Schema.Union<readonly [Schema.Struct<{
48
+ readonly ok: Schema.Literal<true>;
49
+ readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
50
+ }>, Schema.Struct<{
51
+ readonly ok: Schema.Literal<false>;
52
+ readonly error: typeof WorkflowFailure;
53
+ }>]>;
19
54
  /** Serializable auth methods shared with SDK hosts; protocol configuration has one schema. */
20
55
  export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
21
56
  readonly type: Schema.Literal<"secrets">;
@@ -28,10 +63,15 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
28
63
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
29
64
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
30
65
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
66
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
67
+ readonly path: Schema.String;
68
+ }>>;
31
69
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
32
70
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
33
71
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
34
72
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
73
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
74
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
35
75
  readonly type: Schema.Literal<"oauth2">;
36
76
  }>, Schema.Struct<{
37
77
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -41,32 +81,41 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
41
81
  readonly scopes: Schema.$Array<Schema.String>;
42
82
  readonly issuer: Schema.optionalKey<Schema.String>;
43
83
  readonly discover: Schema.optionalKey<Schema.Never>;
84
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
85
+ readonly path: Schema.String;
86
+ }>>;
44
87
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
45
88
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
46
89
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
47
90
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
91
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
92
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
48
93
  readonly type: Schema.Literal<"oauth2">;
49
94
  }>, Schema.Struct<{
50
95
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
96
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
97
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
98
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
99
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
51
100
  readonly grant: Schema.Literal<"client_credentials">;
52
101
  readonly discover: Schema.String;
53
102
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
54
103
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
55
104
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
56
105
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
57
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
58
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
59
106
  readonly type: Schema.Literal<"oauth2">;
60
107
  }>, Schema.Struct<{
61
108
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
62
- readonly grant: Schema.Literal<"client_credentials">;
63
- readonly tokenUrl: Schema.String;
64
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
65
- readonly scopes: Schema.$Array<Schema.String>;
66
109
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
67
110
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
68
111
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
69
112
  readonly discover: Schema.optionalKey<Schema.Never>;
113
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
114
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
115
+ readonly grant: Schema.Literal<"client_credentials">;
116
+ readonly tokenUrl: Schema.String;
117
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
118
+ readonly scopes: Schema.$Array<Schema.String>;
70
119
  readonly type: Schema.Literal<"oauth2">;
71
120
  }>]>;
72
121
  /** Serializable declaration of a provider's named authentication methods. */
@@ -83,10 +132,15 @@ export declare const DeclaredProvider: Schema.Struct<{
83
132
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
84
133
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
85
134
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
135
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
136
+ readonly path: Schema.String;
137
+ }>>;
86
138
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
87
139
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
88
140
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
89
141
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
142
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
143
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
90
144
  readonly type: Schema.Literal<"oauth2">;
91
145
  }>, Schema.Struct<{
92
146
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -96,32 +150,41 @@ export declare const DeclaredProvider: Schema.Struct<{
96
150
  readonly scopes: Schema.$Array<Schema.String>;
97
151
  readonly issuer: Schema.optionalKey<Schema.String>;
98
152
  readonly discover: Schema.optionalKey<Schema.Never>;
153
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
154
+ readonly path: Schema.String;
155
+ }>>;
99
156
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
100
157
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
101
158
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
102
159
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
160
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
161
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
103
162
  readonly type: Schema.Literal<"oauth2">;
104
163
  }>, Schema.Struct<{
105
164
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
165
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
166
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
167
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
168
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
106
169
  readonly grant: Schema.Literal<"client_credentials">;
107
170
  readonly discover: Schema.String;
108
171
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
109
172
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
110
173
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
111
174
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
112
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
113
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
114
175
  readonly type: Schema.Literal<"oauth2">;
115
176
  }>, Schema.Struct<{
116
177
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
117
- readonly grant: Schema.Literal<"client_credentials">;
118
- readonly tokenUrl: Schema.String;
119
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
120
- readonly scopes: Schema.$Array<Schema.String>;
121
178
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
122
179
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
123
180
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
124
181
  readonly discover: Schema.optionalKey<Schema.Never>;
182
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
183
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
184
+ readonly grant: Schema.Literal<"client_credentials">;
185
+ readonly tokenUrl: Schema.String;
186
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
187
+ readonly scopes: Schema.$Array<Schema.String>;
125
188
  readonly type: Schema.Literal<"oauth2">;
126
189
  }>]>>;
127
190
  }>;
@@ -165,10 +228,15 @@ export declare const DeclaredRequirements: Schema.Struct<{
165
228
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
166
229
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
167
230
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
231
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
232
+ readonly path: Schema.String;
233
+ }>>;
168
234
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
169
235
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
170
236
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
171
237
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
238
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
239
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
172
240
  readonly type: Schema.Literal<"oauth2">;
173
241
  }>, Schema.Struct<{
174
242
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -178,32 +246,41 @@ export declare const DeclaredRequirements: Schema.Struct<{
178
246
  readonly scopes: Schema.$Array<Schema.String>;
179
247
  readonly issuer: Schema.optionalKey<Schema.String>;
180
248
  readonly discover: Schema.optionalKey<Schema.Never>;
249
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
250
+ readonly path: Schema.String;
251
+ }>>;
181
252
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
182
253
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
183
254
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
184
255
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
256
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
257
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
185
258
  readonly type: Schema.Literal<"oauth2">;
186
259
  }>, Schema.Struct<{
187
260
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
261
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
262
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
263
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
264
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
188
265
  readonly grant: Schema.Literal<"client_credentials">;
189
266
  readonly discover: Schema.String;
190
267
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
191
268
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
192
269
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
193
270
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
194
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
195
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
196
271
  readonly type: Schema.Literal<"oauth2">;
197
272
  }>, Schema.Struct<{
198
273
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
199
- readonly grant: Schema.Literal<"client_credentials">;
200
- readonly tokenUrl: Schema.String;
201
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
202
- readonly scopes: Schema.$Array<Schema.String>;
203
274
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
204
275
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
205
276
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
206
277
  readonly discover: Schema.optionalKey<Schema.Never>;
278
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
279
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
280
+ readonly grant: Schema.Literal<"client_credentials">;
281
+ readonly tokenUrl: Schema.String;
282
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
283
+ readonly scopes: Schema.$Array<Schema.String>;
207
284
  readonly type: Schema.Literal<"oauth2">;
208
285
  }>]>>;
209
286
  }>;
@@ -228,10 +305,15 @@ export declare const ResolvedAccount: Schema.Struct<{
228
305
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
229
306
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
230
307
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
308
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
309
+ readonly path: Schema.String;
310
+ }>>;
231
311
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
232
312
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
233
313
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
234
314
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
315
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
316
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
235
317
  readonly type: Schema.Literal<"oauth2">;
236
318
  }>, Schema.Struct<{
237
319
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -241,32 +323,41 @@ export declare const ResolvedAccount: Schema.Struct<{
241
323
  readonly scopes: Schema.$Array<Schema.String>;
242
324
  readonly issuer: Schema.optionalKey<Schema.String>;
243
325
  readonly discover: Schema.optionalKey<Schema.Never>;
326
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
327
+ readonly path: Schema.String;
328
+ }>>;
244
329
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
245
330
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
246
331
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
247
332
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
333
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
334
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
248
335
  readonly type: Schema.Literal<"oauth2">;
249
336
  }>, Schema.Struct<{
250
337
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
338
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
339
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
340
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
341
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
251
342
  readonly grant: Schema.Literal<"client_credentials">;
252
343
  readonly discover: Schema.String;
253
344
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
254
345
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
255
346
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
256
347
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
257
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
258
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
259
348
  readonly type: Schema.Literal<"oauth2">;
260
349
  }>, Schema.Struct<{
261
350
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
262
- readonly grant: Schema.Literal<"client_credentials">;
263
- readonly tokenUrl: Schema.String;
264
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
265
- readonly scopes: Schema.$Array<Schema.String>;
266
351
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
267
352
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
268
353
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
269
354
  readonly discover: Schema.optionalKey<Schema.Never>;
355
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
356
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
357
+ readonly grant: Schema.Literal<"client_credentials">;
358
+ readonly tokenUrl: Schema.String;
359
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
360
+ readonly scopes: Schema.$Array<Schema.String>;
270
361
  readonly type: Schema.Literal<"oauth2">;
271
362
  }>]>>;
272
363
  }>;
@@ -296,10 +387,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
296
387
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
297
388
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
298
389
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
390
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
391
+ readonly path: Schema.String;
392
+ }>>;
299
393
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
300
394
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
301
395
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
302
396
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
397
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
398
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
303
399
  readonly type: Schema.Literal<"oauth2">;
304
400
  }>, Schema.Struct<{
305
401
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -309,32 +405,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
309
405
  readonly scopes: Schema.$Array<Schema.String>;
310
406
  readonly issuer: Schema.optionalKey<Schema.String>;
311
407
  readonly discover: Schema.optionalKey<Schema.Never>;
408
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
409
+ readonly path: Schema.String;
410
+ }>>;
312
411
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
313
412
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
314
413
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
315
414
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
415
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
416
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
316
417
  readonly type: Schema.Literal<"oauth2">;
317
418
  }>, Schema.Struct<{
318
419
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
420
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
421
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
422
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
423
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
319
424
  readonly grant: Schema.Literal<"client_credentials">;
320
425
  readonly discover: Schema.String;
321
426
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
322
427
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
323
428
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
324
429
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
325
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
326
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
327
430
  readonly type: Schema.Literal<"oauth2">;
328
431
  }>, Schema.Struct<{
329
432
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
330
- readonly grant: Schema.Literal<"client_credentials">;
331
- readonly tokenUrl: Schema.String;
332
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
333
- readonly scopes: Schema.$Array<Schema.String>;
334
433
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
335
434
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
336
435
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
337
436
  readonly discover: Schema.optionalKey<Schema.Never>;
437
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
438
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
439
+ readonly grant: Schema.Literal<"client_credentials">;
440
+ readonly tokenUrl: Schema.String;
441
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
442
+ readonly scopes: Schema.$Array<Schema.String>;
338
443
  readonly type: Schema.Literal<"oauth2">;
339
444
  }>]>>;
340
445
  }>;
@@ -360,10 +465,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
360
465
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
361
466
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
362
467
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
468
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
469
+ readonly path: Schema.String;
470
+ }>>;
363
471
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
364
472
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
365
473
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
366
474
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
475
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
476
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
367
477
  readonly type: Schema.Literal<"oauth2">;
368
478
  }>, Schema.Struct<{
369
479
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -373,32 +483,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
373
483
  readonly scopes: Schema.$Array<Schema.String>;
374
484
  readonly issuer: Schema.optionalKey<Schema.String>;
375
485
  readonly discover: Schema.optionalKey<Schema.Never>;
486
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
487
+ readonly path: Schema.String;
488
+ }>>;
376
489
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
377
490
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
378
491
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
379
492
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
493
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
494
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
380
495
  readonly type: Schema.Literal<"oauth2">;
381
496
  }>, Schema.Struct<{
382
497
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
498
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
499
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
500
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
501
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
383
502
  readonly grant: Schema.Literal<"client_credentials">;
384
503
  readonly discover: Schema.String;
385
504
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
386
505
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
387
506
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
388
507
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
389
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
390
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
391
508
  readonly type: Schema.Literal<"oauth2">;
392
509
  }>, Schema.Struct<{
393
510
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
394
- readonly grant: Schema.Literal<"client_credentials">;
395
- readonly tokenUrl: Schema.String;
396
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
397
- readonly scopes: Schema.$Array<Schema.String>;
398
511
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
399
512
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
400
513
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
401
514
  readonly discover: Schema.optionalKey<Schema.Never>;
515
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
516
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
517
+ readonly grant: Schema.Literal<"client_credentials">;
518
+ readonly tokenUrl: Schema.String;
519
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
520
+ readonly scopes: Schema.$Array<Schema.String>;
402
521
  readonly type: Schema.Literal<"oauth2">;
403
522
  }>]>>;
404
523
  }>;
@@ -814,10 +933,15 @@ export declare const HostInvocation: Schema.Struct<{
814
933
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
815
934
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
816
935
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
936
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
937
+ readonly path: Schema.String;
938
+ }>>;
817
939
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
818
940
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
819
941
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
820
942
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
943
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
944
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
821
945
  readonly type: Schema.Literal<"oauth2">;
822
946
  }>, Schema.Struct<{
823
947
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -827,32 +951,41 @@ export declare const HostInvocation: Schema.Struct<{
827
951
  readonly scopes: Schema.$Array<Schema.String>;
828
952
  readonly issuer: Schema.optionalKey<Schema.String>;
829
953
  readonly discover: Schema.optionalKey<Schema.Never>;
954
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
955
+ readonly path: Schema.String;
956
+ }>>;
830
957
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
831
958
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
832
959
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
833
960
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
961
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
962
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
834
963
  readonly type: Schema.Literal<"oauth2">;
835
964
  }>, Schema.Struct<{
836
965
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
966
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
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"]>>;
837
970
  readonly grant: Schema.Literal<"client_credentials">;
838
971
  readonly discover: Schema.String;
839
972
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
840
973
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
841
974
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
842
975
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
843
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
844
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
845
976
  readonly type: Schema.Literal<"oauth2">;
846
977
  }>, Schema.Struct<{
847
978
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
848
- readonly grant: Schema.Literal<"client_credentials">;
849
- readonly tokenUrl: Schema.String;
850
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
851
- readonly scopes: Schema.$Array<Schema.String>;
852
979
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
853
980
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
854
981
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
855
982
  readonly discover: Schema.optionalKey<Schema.Never>;
983
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
984
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
985
+ readonly grant: Schema.Literal<"client_credentials">;
986
+ readonly tokenUrl: Schema.String;
987
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
988
+ readonly scopes: Schema.$Array<Schema.String>;
856
989
  readonly type: Schema.Literal<"oauth2">;
857
990
  }>]>>;
858
991
  }>;
@@ -878,10 +1011,15 @@ export declare const HostInvocation: Schema.Struct<{
878
1011
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
879
1012
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
880
1013
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1014
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1015
+ readonly path: Schema.String;
1016
+ }>>;
881
1017
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
882
1018
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
883
1019
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
884
1020
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1021
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1022
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
885
1023
  readonly type: Schema.Literal<"oauth2">;
886
1024
  }>, Schema.Struct<{
887
1025
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -891,32 +1029,41 @@ export declare const HostInvocation: Schema.Struct<{
891
1029
  readonly scopes: Schema.$Array<Schema.String>;
892
1030
  readonly issuer: Schema.optionalKey<Schema.String>;
893
1031
  readonly discover: Schema.optionalKey<Schema.Never>;
1032
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1033
+ readonly path: Schema.String;
1034
+ }>>;
894
1035
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
895
1036
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
896
1037
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
897
1038
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1039
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1040
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
898
1041
  readonly type: Schema.Literal<"oauth2">;
899
1042
  }>, Schema.Struct<{
900
1043
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1044
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1045
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1046
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1047
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
901
1048
  readonly grant: Schema.Literal<"client_credentials">;
902
1049
  readonly discover: Schema.String;
903
1050
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
904
1051
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
905
1052
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
906
1053
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
907
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
908
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
909
1054
  readonly type: Schema.Literal<"oauth2">;
910
1055
  }>, Schema.Struct<{
911
1056
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
912
- readonly grant: Schema.Literal<"client_credentials">;
913
- readonly tokenUrl: Schema.String;
914
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
915
- readonly scopes: Schema.$Array<Schema.String>;
916
1057
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
917
1058
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
918
1059
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
919
1060
  readonly discover: Schema.optionalKey<Schema.Never>;
1061
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1062
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1063
+ readonly grant: Schema.Literal<"client_credentials">;
1064
+ readonly tokenUrl: Schema.String;
1065
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1066
+ readonly scopes: Schema.$Array<Schema.String>;
920
1067
  readonly type: Schema.Literal<"oauth2">;
921
1068
  }>]>>;
922
1069
  }>;
@@ -1051,10 +1198,15 @@ export declare const protocol1: {
1051
1198
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1052
1199
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1053
1200
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1201
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1202
+ readonly path: Schema.String;
1203
+ }>>;
1054
1204
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1055
1205
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1056
1206
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1057
1207
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1208
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1209
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1058
1210
  readonly type: Schema.Literal<"oauth2">;
1059
1211
  }>, Schema.Struct<{
1060
1212
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -1064,32 +1216,41 @@ export declare const protocol1: {
1064
1216
  readonly scopes: Schema.$Array<Schema.String>;
1065
1217
  readonly issuer: Schema.optionalKey<Schema.String>;
1066
1218
  readonly discover: Schema.optionalKey<Schema.Never>;
1219
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1220
+ readonly path: Schema.String;
1221
+ }>>;
1067
1222
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1068
1223
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1069
1224
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1070
1225
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1226
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1227
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1071
1228
  readonly type: Schema.Literal<"oauth2">;
1072
1229
  }>, Schema.Struct<{
1073
1230
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1231
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1232
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1233
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1234
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1074
1235
  readonly grant: Schema.Literal<"client_credentials">;
1075
1236
  readonly discover: Schema.String;
1076
1237
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1077
1238
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1078
1239
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1079
1240
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1080
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1081
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1082
1241
  readonly type: Schema.Literal<"oauth2">;
1083
1242
  }>, Schema.Struct<{
1084
1243
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1085
- readonly grant: Schema.Literal<"client_credentials">;
1086
- readonly tokenUrl: Schema.String;
1087
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
1088
- readonly scopes: Schema.$Array<Schema.String>;
1089
1244
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1090
1245
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1091
1246
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1092
1247
  readonly discover: Schema.optionalKey<Schema.Never>;
1248
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1249
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1250
+ readonly grant: Schema.Literal<"client_credentials">;
1251
+ readonly tokenUrl: Schema.String;
1252
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1253
+ readonly scopes: Schema.$Array<Schema.String>;
1093
1254
  readonly type: Schema.Literal<"oauth2">;
1094
1255
  }>]>>;
1095
1256
  }>;
@@ -1115,10 +1276,15 @@ export declare const protocol1: {
1115
1276
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1116
1277
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1117
1278
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1279
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1280
+ readonly path: Schema.String;
1281
+ }>>;
1118
1282
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1119
1283
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1120
1284
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1121
1285
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1286
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1287
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1122
1288
  readonly type: Schema.Literal<"oauth2">;
1123
1289
  }>, Schema.Struct<{
1124
1290
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -1128,32 +1294,41 @@ export declare const protocol1: {
1128
1294
  readonly scopes: Schema.$Array<Schema.String>;
1129
1295
  readonly issuer: Schema.optionalKey<Schema.String>;
1130
1296
  readonly discover: Schema.optionalKey<Schema.Never>;
1297
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1298
+ readonly path: Schema.String;
1299
+ }>>;
1131
1300
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1132
1301
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1133
1302
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1134
1303
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1304
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1305
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1135
1306
  readonly type: Schema.Literal<"oauth2">;
1136
1307
  }>, Schema.Struct<{
1137
1308
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1309
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1310
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1311
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1312
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1138
1313
  readonly grant: Schema.Literal<"client_credentials">;
1139
1314
  readonly discover: Schema.String;
1140
1315
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1141
1316
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1142
1317
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1143
1318
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1144
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1145
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1146
1319
  readonly type: Schema.Literal<"oauth2">;
1147
1320
  }>, Schema.Struct<{
1148
1321
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1149
- readonly grant: Schema.Literal<"client_credentials">;
1150
- readonly tokenUrl: Schema.String;
1151
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
1152
- readonly scopes: Schema.$Array<Schema.String>;
1153
1322
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1154
1323
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1155
1324
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1156
1325
  readonly discover: Schema.optionalKey<Schema.Never>;
1326
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1327
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1328
+ readonly grant: Schema.Literal<"client_credentials">;
1329
+ readonly tokenUrl: Schema.String;
1330
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1331
+ readonly scopes: Schema.$Array<Schema.String>;
1157
1332
  readonly type: Schema.Literal<"oauth2">;
1158
1333
  }>]>>;
1159
1334
  }>;
@@ -1312,10 +1487,15 @@ export declare const protocol1: {
1312
1487
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1313
1488
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1314
1489
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1490
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1491
+ readonly path: Schema.String;
1492
+ }>>;
1315
1493
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1316
1494
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1317
1495
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1318
1496
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1497
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1498
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1319
1499
  readonly type: Schema.Literal<"oauth2">;
1320
1500
  }>, Schema.Struct<{
1321
1501
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -1325,32 +1505,41 @@ export declare const protocol1: {
1325
1505
  readonly scopes: Schema.$Array<Schema.String>;
1326
1506
  readonly issuer: Schema.optionalKey<Schema.String>;
1327
1507
  readonly discover: Schema.optionalKey<Schema.Never>;
1508
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1509
+ readonly path: Schema.String;
1510
+ }>>;
1328
1511
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1329
1512
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1330
1513
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1331
1514
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1515
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1516
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1332
1517
  readonly type: Schema.Literal<"oauth2">;
1333
1518
  }>, Schema.Struct<{
1334
1519
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1520
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1521
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1522
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1523
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1335
1524
  readonly grant: Schema.Literal<"client_credentials">;
1336
1525
  readonly discover: Schema.String;
1337
1526
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1338
1527
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1339
1528
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1340
1529
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1341
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1342
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1343
1530
  readonly type: Schema.Literal<"oauth2">;
1344
1531
  }>, Schema.Struct<{
1345
1532
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1346
- readonly grant: Schema.Literal<"client_credentials">;
1347
- readonly tokenUrl: Schema.String;
1348
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
1349
- readonly scopes: Schema.$Array<Schema.String>;
1350
1533
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1351
1534
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1352
1535
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1353
1536
  readonly discover: Schema.optionalKey<Schema.Never>;
1537
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1538
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1539
+ readonly grant: Schema.Literal<"client_credentials">;
1540
+ readonly tokenUrl: Schema.String;
1541
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1542
+ readonly scopes: Schema.$Array<Schema.String>;
1354
1543
  readonly type: Schema.Literal<"oauth2">;
1355
1544
  }>]>>;
1356
1545
  }>;
@@ -1443,10 +1632,10 @@ export declare const protocol1: {
1443
1632
  readonly elicitationRequest: Schema.Struct<{
1444
1633
  readonly mode: Schema.Literal<"form">;
1445
1634
  readonly requestedSchema: Schema.toEncoded<Schema.Struct<{
1446
- readonly $schema: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optionalKey<Schema.String>, never, never>;
1635
+ readonly $schema: Schema.decodeTo<Schema.toType<Schema.optional<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
1447
1636
  readonly type: Schema.tag<"object">;
1448
- readonly properties: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Union<readonly [typeof import("effect/unstable/ai/McpSchema").LegacyTitledEnum, Schema.Union<readonly [typeof import("effect/unstable/ai/McpSchema").UntitledSingleSelectEnum, typeof import("effect/unstable/ai/McpSchema").TitledSingleSelectEnum]>, Schema.Union<readonly [typeof import("effect/unstable/ai/McpSchema").UntitledMultiSelectEnum, typeof import("effect/unstable/ai/McpSchema").TitledMultiSelectEnum]>]>, typeof import("effect/unstable/ai/McpSchema").ElicitationString, typeof import("effect/unstable/ai/McpSchema").ElicitationNumber, typeof import("effect/unstable/ai/McpSchema").ElicitationBoolean]>>;
1449
- readonly required: Schema.decodeTo<Schema.optional<Schema.$Array<Schema.String>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
1637
+ readonly properties: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Union<readonly [typeof import("effect/ai/McpSchema").LegacyTitledEnum, Schema.Union<readonly [typeof import("effect/ai/McpSchema").UntitledSingleSelectEnum, typeof import("effect/ai/McpSchema").TitledSingleSelectEnum]>, Schema.Union<readonly [typeof import("effect/ai/McpSchema").UntitledMultiSelectEnum, typeof import("effect/ai/McpSchema").TitledMultiSelectEnum]>]>, typeof import("effect/ai/McpSchema").ElicitationString, typeof import("effect/ai/McpSchema").ElicitationNumber, typeof import("effect/ai/McpSchema").ElicitationBoolean]>>;
1638
+ readonly required: Schema.decodeTo<Schema.toType<Schema.optional<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
1450
1639
  }>>;
1451
1640
  readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
1452
1641
  readonly message: Schema.String;
@@ -1456,7 +1645,7 @@ export declare const protocol1: {
1456
1645
  readonly response: Schema.Union<readonly [Schema.Struct<{
1457
1646
  readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
1458
1647
  readonly action: Schema.Literal<"accept">;
1459
- readonly content: Schema.decodeTo<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>;
1648
+ 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>;
1460
1649
  }>, Schema.Struct<{
1461
1650
  readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
1462
1651
  readonly action: Schema.Literals<readonly ["cancel", "decline"]>;