apps 0.0.1-beta.1 → 0.0.1-beta.100
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 +112 -72
- package/framework-reference.json +1 -1
- package/js/browser-XIPJGLH2.js +65 -0
- package/js/chunk-2CURR5Y7.js +264 -0
- package/js/chunk-2LSGC7XY.js +42 -0
- package/js/{chunk-YEJOQEII.js → chunk-4PIQKACY.js} +65 -10
- package/js/chunk-4UPC36ZL.js +5185 -0
- package/js/{chunk-4LPG6RCH.js → chunk-4X2UI4R2.js} +7 -27
- package/js/chunk-5C6RAGAS.js +335 -0
- package/js/chunk-62NVUKED.js +39 -0
- package/js/chunk-74H25C4X.js +95 -0
- package/js/chunk-7HG422GB.js +90 -0
- package/js/chunk-7STIP5CS.js +171 -0
- package/js/{chunk-QKHR7BMF.js → chunk-ACQXVKVQ.js} +87 -51
- package/js/{chunk-OHRT55C4.js → chunk-DILSCQPJ.js} +226 -265
- package/js/chunk-ILYCJ3HV.js +449 -0
- package/js/chunk-K6TSCYAO.js +712 -0
- package/js/{chunk-EVJUVWN2.js → chunk-KLSEU35Y.js} +463 -218
- package/js/chunk-OD3KFKZD.js +1617 -0
- package/js/chunk-OWN3DP2W.js +88 -0
- package/js/{chunk-ZTFQHGEB.js → chunk-PBGPES67.js} +3 -5
- package/js/chunk-QI66R4FP.js +786 -0
- package/js/chunk-RN4YB4JT.js +1922 -0
- package/js/{chunk-ZCAMUXSG.js → chunk-URKOTNDA.js} +795 -177
- package/js/{chunk-NCYXZN2G.js → chunk-UVL56Z6E.js} +390 -23
- package/js/{chunk-2HHMABB6.js → chunk-VAI3EVCS.js} +700 -78
- package/js/chunk-VCYWAA4N.js +49 -0
- package/js/{chunk-HDJH3RPR.js → chunk-YDW7DX3A.js} +4 -4
- package/js/chunk-YWVISRZD.js +268 -0
- package/js/{chunk-FW5HBOIK.js → chunk-ZKDXML77.js} +19272 -18299
- package/js/client.js +148 -100
- package/js/contracts.js +208 -24
- package/js/effect.js +18 -19
- package/js/es-DIULA3ZF.js +39371 -0
- package/js/graphql.js +62 -58
- package/js/host.js +83 -60
- package/js/index.js +381 -263
- package/js/mcp/effect.js +21 -21
- package/js/mcp.js +117 -74
- package/js/openapi.js +4613 -42691
- package/js/react.js +2 -3
- package/js/skills/effect.js +6 -4
- package/js/skills.js +233 -70
- package/js/storage/facet.js +1 -540
- package/js/ui/auth/contracts.js +8 -9
- package/js/ui/auth.js +16 -14
- package/js/ui/contracts.js +9 -8
- package/js/ui/serving.js +8609 -227
- package/package.json +3 -8
- package/runtime.json +1 -1
- package/types/app-cache/src/contracts/cache.d.ts +60 -2
- package/types/app-cache/src/index.d.ts +92 -2
- package/types/app-data/src/contracts/database.d.ts +33 -6
- package/types/apps/src/contracts/api-response-error.d.ts +4 -0
- package/types/apps/src/contracts/app.d.ts +63 -17
- package/types/apps/src/contracts/cache.d.ts +24 -1
- 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 +54 -0
- package/types/apps/src/contracts/graphql.d.ts +2 -1
- package/types/apps/src/contracts/host.d.ts +1325 -534
- 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 +97 -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-document.d.ts +1 -1
- package/types/apps/src/contracts/openapi.d.ts +51 -9
- package/types/apps/src/contracts/operations.d.ts +14 -12
- package/types/apps/src/contracts/placement.d.ts +102 -0
- package/types/apps/src/contracts/protocol-version.d.ts +6 -0
- package/types/apps/src/contracts/protocols/1.d.ts +2241 -0
- 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 +711 -0
- package/types/apps/src/contracts/protocols/3.d.ts +776 -0
- package/types/apps/src/contracts/protocols/4.d.ts +1306 -0
- package/types/apps/src/contracts/protocols/5.d.ts +1200 -0
- 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 +6857 -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 +140 -10
- package/types/apps/src/contracts/router.d.ts +59 -0
- 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/shared-catalog.d.ts +11 -0
- package/types/apps/src/contracts/skills.d.ts +60 -14
- package/types/apps/src/contracts/sql.d.ts +63 -0
- package/types/apps/src/contracts/ui-auth.d.ts +6 -14
- package/types/apps/src/contracts/ui.d.ts +70 -30
- package/types/apps/src/contracts/webhooks.d.ts +24 -7
- package/types/apps/src/contracts/workflows.d.ts +89 -36
- package/types/apps/src/facet.d.ts +4 -5
- package/types/apps/src/graphql.d.ts +1 -3
- package/types/apps/src/host.d.ts +5 -0
- package/types/apps/src/implementation/account-router.d.ts +13 -0
- package/types/apps/src/implementation/app.d.ts +44 -16
- 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 +32 -3
- package/types/apps/src/implementation/catalog-cache.d.ts +43 -5
- 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 +48 -0
- package/types/apps/src/implementation/graphql-catalog.d.ts +4 -7
- 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 +7 -8
- package/types/apps/src/implementation/mcp-client.d.ts +49 -25
- package/types/apps/src/implementation/mcp-tools.d.ts +2 -1
- package/types/apps/src/implementation/mcp.d.ts +52 -25
- package/types/apps/src/implementation/network.d.ts +16 -0
- package/types/apps/src/implementation/openapi-compile.d.ts +30 -8
- package/types/apps/src/implementation/openapi-document.d.ts +46 -21
- package/types/apps/src/implementation/openapi-names.d.ts +23 -0
- package/types/apps/src/implementation/openapi-request.d.ts +10 -3
- package/types/apps/src/implementation/openapi-source.d.ts +30 -8
- package/types/apps/src/implementation/openapi-upgrade.d.ts +4 -0
- package/types/apps/src/implementation/operations.d.ts +84 -10
- 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 +6 -4
- package/types/apps/src/implementation/provider-error.d.ts +28 -1
- package/types/apps/src/implementation/provider.d.ts +26 -6
- package/types/apps/src/implementation/query-commit.d.ts +1 -1
- package/types/apps/src/implementation/router-catalog.d.ts +227 -0
- package/types/apps/src/implementation/router.d.ts +78 -0
- 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 +111 -15
- 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/swagger-client.d.ts +28 -0
- package/types/apps/src/implementation/ui-account-notice.d.ts +9 -0
- package/types/apps/src/implementation/ui-auth.d.ts +12 -6
- package/types/apps/src/implementation/ui-client.d.ts +3 -3
- 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 +31 -12
- 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 +17 -5
- package/types/apps/src/implementation/workflows.d.ts +11 -4
- package/types/apps/src/index.d.ts +71 -21
- package/types/apps/src/mcp.d.ts +25 -5
- package/types/apps/src/openapi.d.ts +11 -6
- package/types/apps/src/react.d.ts +1 -1
- package/types/apps/src/skills.d.ts +13 -8
- package/types/apps/src/ui-auth.d.ts +2 -2
- 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 +7 -4
- 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/legacy-keys.d.ts +20 -0
- package/types/utils/src/recorded-message.d.ts +18 -0
- package/types/utils/src/schema-definitions.d.ts +13 -0
- package/types/utils/src/user-facing-error.d.ts +83 -0
- package/js/chunk-6IIO4NPI.js +0 -29
- package/js/chunk-6YBRWRK3.js +0 -160
- package/js/chunk-BMOIAIVR.js +0 -138
- package/js/chunk-FZJOYIZO.js +0 -19
- package/js/chunk-G7IE6BKC.js +0 -224
- package/js/chunk-IHQ4ML7K.js +0 -2193
- package/js/chunk-KOXMLKTM.js +0 -1288
- package/js/chunk-M6ZRRIBI.js +0 -877
- package/js/chunk-PLCMJREA.js +0 -590
- package/js/chunk-PZ36XMXW.js +0 -93
- package/js/chunk-RBAC33PQ.js +0 -267
- package/js/chunk-SATWJKN6.js +0 -34
- package/js/chunk-SWPD52J7.js +0 -35
- package/js/chunk-TE4KO4HI.js +0 -47
- package/js/chunk-W7D7WVSY.js +0 -18
- package/js/chunk-X7SFGU4Q.js +0 -280
- package/js/chunk-ZJWDMTE3.js +0 -63
- 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 -33
- 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/dynamic-tools.d.ts +0 -13
- package/types/apps/src/contracts/storage.d.ts +0 -68
- package/types/apps/src/implementation/account-operations.d.ts +0 -151
- package/types/apps/src/implementation/dynamic-tools.d.ts +0 -8
- package/types/apps/src/implementation/mcp-stdio.d.ts +0 -4
- package/types/apps/src/implementation/storage.d.ts +0 -13
- package/types/apps/src/mcp-stdio.d.ts +0 -8
|
@@ -1,242 +1,161 @@
|
|
|
1
1
|
export * from "./skills.js";
|
|
2
|
-
import {
|
|
2
|
+
import { type SkillFile } from "./skills.js";
|
|
3
3
|
import { ProviderError } from "./provider-error.js";
|
|
4
|
-
import { McpError } from "./mcp.js";
|
|
5
4
|
import { OpenapiResponseError } from "./api-response-error.js";
|
|
6
|
-
export { ApiErrorResponse, OpenapiResponseError } from "./api-response-error.js";
|
|
5
|
+
export { ApiErrorResponse, maxApiErrorInstructionsLength, maxApiErrorMessageLength, OpenapiResponseError, } from "./api-response-error.js";
|
|
7
6
|
export { ProviderError } from "./provider-error.js";
|
|
8
|
-
export {
|
|
7
|
+
export { FetchOptionUnsupported, NetworkRefusal, NetworkRefused, networkRefusalHeader, networkRefusalResponse, networkRefusalStatus, } from "./network.js";
|
|
9
8
|
import { WorkflowFailure, type WorkflowExecution, type WorkflowReplay, type WorkflowHostControls } from "./workflows.js";
|
|
10
9
|
export * from "./workflows.js";
|
|
10
|
+
export * from "./failure.js";
|
|
11
|
+
import { DatabaseFieldReserved, DatabaseLimitExceeded } from "../../../app-data/src/contracts/database.js";
|
|
12
|
+
export { DatabaseFieldReserved, DatabaseLimitExceeded } from "../../../app-data/src/contracts/database.js";
|
|
11
13
|
/** Portable framework dispatch contracts. Requests never carry account bindings. */
|
|
12
14
|
import { Context, Schema, type Effect, type Redacted } from "effect";
|
|
13
|
-
import type {
|
|
15
|
+
import type { AppSqlStorage } from "./sql.js";
|
|
14
16
|
import type { InvocationTelemetry } from "../../../telemetry/src/index.js";
|
|
15
|
-
export {
|
|
17
|
+
export { type AppSqlStorage, type Sql, type SqlCursor, type SqlReader, type SqlRow, type SqlValue, } from "./sql.js";
|
|
16
18
|
import { ElicitationFailed, type ElicitationHandler } from "./elicitation.js";
|
|
17
|
-
export { ElicitationLimits, defaultElicitationLimits, FormElicitation, ElicitationResponse, ElicitationReply, ElicitationFailed, type ElicitationHandler, ApprovalElicitation, ApprovalResponse, approvalElicitation, } from "./elicitation.js";
|
|
19
|
+
export { ElicitationLimits, defaultElicitationLimits, FormElicitation, ElicitationResponse, ElicitationReply, ElicitationFailed, type ElicitationHandler, ApprovalElicitation, ApprovalResponse, approvalElicitation, exactApprovalElicitation, } from "./elicitation.js";
|
|
18
20
|
export { McpClientLimits, defaultMcpClientLimits } from "./mcp.js";
|
|
19
21
|
export * from "./webhook-protocol.js";
|
|
22
|
+
export * from "./events.js";
|
|
23
|
+
export { AppIcon, AppIcons, appIconLimits } from "./icons.js";
|
|
24
|
+
export * from "./placement.js";
|
|
20
25
|
export { AccountId, HttpUrl } from "./schema.js";
|
|
21
|
-
export { OAuthClientAuth, OAuthSecretClientAuth } from "./provider.js";
|
|
22
|
-
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
readonly
|
|
59
|
-
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
60
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
61
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
62
|
-
readonly type: Schema.Literal<"oauth2">;
|
|
63
|
-
}>, Schema.Struct<{
|
|
64
|
-
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
65
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
66
|
-
readonly tokenUrl: Schema.String;
|
|
67
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
68
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
69
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
70
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
71
|
-
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
72
|
-
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
73
|
-
readonly type: Schema.Literal<"oauth2">;
|
|
74
|
-
}>]>;
|
|
75
|
-
/** Serializable declaration of a provider's named authentication methods. */
|
|
76
|
-
export declare const DeclaredProvider: Schema.Struct<{
|
|
77
|
-
readonly name: Schema.NonEmptyString;
|
|
78
|
-
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
79
|
-
readonly type: Schema.Literal<"secrets">;
|
|
80
|
-
readonly label: Schema.String;
|
|
81
|
-
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
82
|
-
}>, Schema.Struct<{
|
|
83
|
-
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
84
|
-
readonly discover: Schema.String;
|
|
85
|
-
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
86
|
-
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
87
|
-
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
88
|
-
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
89
|
-
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
90
|
-
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
91
|
-
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
92
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
93
|
-
readonly type: Schema.Literal<"oauth2">;
|
|
94
|
-
}>, Schema.Struct<{
|
|
95
|
-
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
96
|
-
readonly authorizationUrl: Schema.String;
|
|
97
|
-
readonly tokenUrl: Schema.String;
|
|
98
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
99
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
100
|
-
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
101
|
-
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
102
|
-
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
103
|
-
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
104
|
-
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
105
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
106
|
-
readonly type: Schema.Literal<"oauth2">;
|
|
107
|
-
}>, Schema.Struct<{
|
|
108
|
-
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
109
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
110
|
-
readonly discover: Schema.String;
|
|
111
|
-
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
112
|
-
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
113
|
-
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
114
|
-
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
115
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
116
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
117
|
-
readonly type: Schema.Literal<"oauth2">;
|
|
118
|
-
}>, Schema.Struct<{
|
|
119
|
-
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
120
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
121
|
-
readonly tokenUrl: Schema.String;
|
|
122
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
123
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
124
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
125
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
126
|
-
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
127
|
-
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
128
|
-
readonly type: Schema.Literal<"oauth2">;
|
|
129
|
-
}>]>>;
|
|
130
|
-
}>;
|
|
131
|
-
/** Credential-free provider declaration; content matching remains host policy. */
|
|
132
|
-
export type DeclaredProvider = typeof DeclaredProvider.Type;
|
|
133
|
-
/** Account slots available without binding accounts or evaluating the app factory. */
|
|
134
|
-
export declare const DeclaredRequirements: Schema.Struct<{
|
|
135
|
-
/** Protocol support of this retained framework build, not an author-declared requirement. */
|
|
136
|
-
readonly capabilities: Schema.optionalKey<Schema.Struct<{
|
|
137
|
-
readonly skills: Schema.Literal<true>;
|
|
138
|
-
/** Accepts inspect detail and tools. Earlier builds reject both as excess fields. */
|
|
139
|
-
readonly toolIndex: Schema.optionalKey<Schema.Literal<true>>;
|
|
140
|
-
/** Accepts skills sources and reports whether the catalog includes a live loader. */
|
|
141
|
-
readonly skillSources: Schema.optionalKey<Schema.Literal<true>>;
|
|
142
|
-
/** Accepts scheduled inspection. Earlier builds reject it as an excess field. */
|
|
143
|
-
readonly scheduledTools: Schema.optionalKey<Schema.Literal<true>>;
|
|
144
|
-
}>>;
|
|
145
|
-
readonly database: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
|
|
146
|
-
readonly fields: Schema.$Record<Schema.String, Schema.Struct<{
|
|
147
|
-
readonly kind: Schema.Literals<readonly ["string", "number", "boolean", "id", "userId"]>;
|
|
148
|
-
readonly optional: Schema.optional<Schema.Boolean>;
|
|
149
|
-
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean]>>;
|
|
150
|
-
readonly references: Schema.optional<Schema.String>;
|
|
151
|
-
}>>;
|
|
152
|
-
readonly indexes: Schema.$Array<Schema.Struct<{
|
|
153
|
-
readonly name: Schema.String;
|
|
154
|
-
readonly fields: Schema.NonEmptyArray<Schema.String>;
|
|
155
|
-
}>>;
|
|
156
|
-
}>>>;
|
|
157
|
-
readonly accounts: Schema.$Record<Schema.NonEmptyString, Schema.Struct<{
|
|
158
|
-
readonly definition: Schema.Struct<{
|
|
159
|
-
readonly name: Schema.NonEmptyString;
|
|
160
|
-
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
161
|
-
readonly type: Schema.Literal<"secrets">;
|
|
162
|
-
readonly label: Schema.String;
|
|
163
|
-
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
164
|
-
}>, Schema.Struct<{
|
|
165
|
-
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
166
|
-
readonly discover: Schema.String;
|
|
167
|
-
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
168
|
-
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
169
|
-
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
170
|
-
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
171
|
-
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
172
|
-
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
173
|
-
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
174
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
175
|
-
readonly type: Schema.Literal<"oauth2">;
|
|
176
|
-
}>, Schema.Struct<{
|
|
177
|
-
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
178
|
-
readonly authorizationUrl: Schema.String;
|
|
179
|
-
readonly tokenUrl: Schema.String;
|
|
180
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
181
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
182
|
-
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
183
|
-
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
184
|
-
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
185
|
-
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
186
|
-
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
187
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
188
|
-
readonly type: Schema.Literal<"oauth2">;
|
|
189
|
-
}>, Schema.Struct<{
|
|
190
|
-
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
191
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
192
|
-
readonly discover: Schema.String;
|
|
193
|
-
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
194
|
-
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
195
|
-
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
196
|
-
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
197
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
198
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
199
|
-
readonly type: Schema.Literal<"oauth2">;
|
|
200
|
-
}>, Schema.Struct<{
|
|
201
|
-
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
202
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
203
|
-
readonly tokenUrl: Schema.String;
|
|
204
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
205
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
206
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
207
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
208
|
-
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
209
|
-
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
210
|
-
readonly type: Schema.Literal<"oauth2">;
|
|
211
|
-
}>]>>;
|
|
212
|
-
}>;
|
|
213
|
-
readonly cardinality: Schema.Literals<readonly ["one", "many"]>;
|
|
214
|
-
}>>;
|
|
215
|
-
}>;
|
|
216
|
-
/** Parsed declared account requirements. */
|
|
217
|
-
export type DeclaredRequirements = typeof DeclaredRequirements.Type;
|
|
218
|
-
/** Host-resolved credentials for one stable saved account. Never a request DTO. */
|
|
219
|
-
export declare const ResolvedAccount: Schema.Struct<{
|
|
26
|
+
export { OAuthAuthorizationParams, OAuthClientAuth, OAuthSecretClientAuth, OAuthTokenRequestFormat, OAuthTokenResponse, reservedAuthorizationParams, type ReservedAuthorizationParam, } from "./provider.js";
|
|
27
|
+
/**
|
|
28
|
+
* The host protocol this framework speaks and its wire schemas, from `protocols/current.ts`. The
|
|
29
|
+
* released protocol modules are frozen records that host adapters read.
|
|
30
|
+
*/
|
|
31
|
+
export { frameworkProtocol } from "./protocol-version.js";
|
|
32
|
+
export { protocol1 } from "./protocols/1.js";
|
|
33
|
+
export { protocol2 } from "./protocols/2.js";
|
|
34
|
+
export { protocol3 } from "./protocols/3.js";
|
|
35
|
+
export { protocol4 } from "./protocols/4.js";
|
|
36
|
+
export { protocol5 } from "./protocols/5.js";
|
|
37
|
+
export { protocol6 } from "./protocols/6.js";
|
|
38
|
+
export { protocol7 } from "./protocols/7.js";
|
|
39
|
+
export { protocol8 } from "./protocols/8.js";
|
|
40
|
+
export { protocol9 } from "./protocols/9.js";
|
|
41
|
+
export { protocol10 } from "./protocols/10.js";
|
|
42
|
+
export { protocol11 } from "./protocols/11.js";
|
|
43
|
+
export { protocol12 } from "./protocols/12.js";
|
|
44
|
+
export { current as protocol13, AccountCheckCommand, CredentialHost, MigrateCommand, MigrateResult, } from "./protocols/current.js";
|
|
45
|
+
export { AccountCheckResult, AccountInfo } from "./provider.js";
|
|
46
|
+
import { HostAccountsInvalid, HostDeclarationInvalid, HostEvaluationFailed, HostInputInvalid, HostKindMismatch, HostOperationFailed, HostOperationNotFound, HostOutputInvalid, HostRequestInvalid, HostToolApprovalRequired, HostToolBlocked, HostToolNotFound, HostToolPolicyFailed, McpError, SkillLoadFailed, SkillSources, type InvocationDeadline, ResolvedAccounts, type SkillCatalogResponse, type TrustedToolApproval } from "./protocols/current.js";
|
|
47
|
+
export { DeclaredRequirements, HostRequest } from "./protocols/current.js";
|
|
48
|
+
/**
|
|
49
|
+
* The MCP and skill loader failures as they cross the host boundary. Apps throw the author-facing
|
|
50
|
+
* classes from `apps/mcp` and `apps/skills`.
|
|
51
|
+
*/
|
|
52
|
+
export { McpError, SkillLoadFailed } from "./protocols/current.js";
|
|
53
|
+
export { DeclaredAuthMethod, DeclaredProvider, DeclaredAccountSlot, DeclaredAccountSlots, ResolvedAccount, ResolvedAccounts, ResolvedAccountSlots, TrustedToolApproval, InvocationDeadline, HostedTool, HostedToolSummary, HostRouterError, HostedRouter, HostedCatalog, HostedCatalogSummary, HostedSharedCatalog, HostedSharedTool, SharedSchemaKey, SkillSources, SkillCatalogResponse, HostRequestInvalid, HostAccountsInvalid, HostDeclarationInvalid, HostEvaluationFailed, HostOperationNotFound, HostOperationFailed, HostToolNotFound, HostKindMismatch, InputProblem, maxInputProblems, HostInputInvalid, HostToolBlocked, HostToolApprovalRequired, HostToolPolicyFailed, HostOutputInvalid, HostError, HostResponse, HostInvocation, } from "./protocols/current.js";
|
|
54
|
+
/** Raw host inputs; the host boundary parses and redacts these immediately. */
|
|
55
|
+
export type ResolvedAccountsInput = typeof ResolvedAccounts.Encoded;
|
|
56
|
+
/**
|
|
57
|
+
* An account as the host sends it to the runner. `managed` marks a credential issued to the
|
|
58
|
+
* instance operator's own OAuth client: the runner seals every one of its strings, whatever the
|
|
59
|
+
* method exposes, so that only the operator's placement can send it. The runner removes the mark;
|
|
60
|
+
* a bundle reads a `ResolvedAccount`. Not part of any host protocol.
|
|
61
|
+
*/
|
|
62
|
+
export declare const HostAccount: Schema.Struct<{
|
|
63
|
+
readonly managed: Schema.optionalKey<Schema.Literal<true>>;
|
|
220
64
|
readonly id: Schema.brand<Schema.String, "acc">;
|
|
221
65
|
readonly provider: Schema.Struct<{
|
|
222
66
|
readonly name: Schema.NonEmptyString;
|
|
223
67
|
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
68
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
69
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
70
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
71
|
+
readonly in: Schema.Literal<"header">;
|
|
72
|
+
readonly name: Schema.String;
|
|
73
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
74
|
+
readonly field: Schema.NonEmptyString;
|
|
75
|
+
}>, Schema.Struct<{
|
|
76
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
77
|
+
readonly field: Schema.NonEmptyString;
|
|
78
|
+
}>]>>;
|
|
79
|
+
}>]>>;
|
|
80
|
+
}>, Schema.Struct<{
|
|
81
|
+
readonly in: Schema.Literal<"query">;
|
|
82
|
+
readonly name: Schema.NonEmptyString;
|
|
83
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
84
|
+
readonly field: Schema.NonEmptyString;
|
|
85
|
+
}>, Schema.Struct<{
|
|
86
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
87
|
+
readonly field: Schema.NonEmptyString;
|
|
88
|
+
}>]>>;
|
|
89
|
+
}>]>>;
|
|
90
|
+
}>]>>>;
|
|
224
91
|
readonly type: Schema.Literal<"secrets">;
|
|
225
92
|
readonly label: Schema.String;
|
|
226
93
|
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
227
94
|
}>, Schema.Struct<{
|
|
95
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
96
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
97
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
98
|
+
readonly in: Schema.Literal<"header">;
|
|
99
|
+
readonly name: Schema.String;
|
|
100
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
101
|
+
readonly field: Schema.NonEmptyString;
|
|
102
|
+
}>, Schema.Struct<{
|
|
103
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
104
|
+
readonly field: Schema.NonEmptyString;
|
|
105
|
+
}>]>>;
|
|
106
|
+
}>]>>;
|
|
107
|
+
}>, Schema.Struct<{
|
|
108
|
+
readonly in: Schema.Literal<"query">;
|
|
109
|
+
readonly name: Schema.NonEmptyString;
|
|
110
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
111
|
+
readonly field: Schema.NonEmptyString;
|
|
112
|
+
}>, Schema.Struct<{
|
|
113
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
114
|
+
readonly field: Schema.NonEmptyString;
|
|
115
|
+
}>]>>;
|
|
116
|
+
}>]>>;
|
|
117
|
+
}>]>>>;
|
|
228
118
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
229
119
|
readonly discover: Schema.String;
|
|
120
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
230
121
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
231
122
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
232
123
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
233
124
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
125
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
126
|
+
readonly path: Schema.String;
|
|
127
|
+
}>>;
|
|
234
128
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
235
129
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
236
130
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
237
131
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
132
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
133
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
238
134
|
readonly type: Schema.Literal<"oauth2">;
|
|
239
135
|
}>, Schema.Struct<{
|
|
136
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
137
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
138
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
139
|
+
readonly in: Schema.Literal<"header">;
|
|
140
|
+
readonly name: Schema.String;
|
|
141
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
142
|
+
readonly field: Schema.NonEmptyString;
|
|
143
|
+
}>, Schema.Struct<{
|
|
144
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
145
|
+
readonly field: Schema.NonEmptyString;
|
|
146
|
+
}>]>>;
|
|
147
|
+
}>]>>;
|
|
148
|
+
}>, Schema.Struct<{
|
|
149
|
+
readonly in: Schema.Literal<"query">;
|
|
150
|
+
readonly name: Schema.NonEmptyString;
|
|
151
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
152
|
+
readonly field: Schema.NonEmptyString;
|
|
153
|
+
}>, Schema.Struct<{
|
|
154
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
155
|
+
readonly field: Schema.NonEmptyString;
|
|
156
|
+
}>]>>;
|
|
157
|
+
}>]>>;
|
|
158
|
+
}>]>>>;
|
|
240
159
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
241
160
|
readonly authorizationUrl: Schema.String;
|
|
242
161
|
readonly tokenUrl: Schema.String;
|
|
@@ -244,62 +163,197 @@ export declare const ResolvedAccount: Schema.Struct<{
|
|
|
244
163
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
245
164
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
246
165
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
166
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
167
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
168
|
+
readonly path: Schema.String;
|
|
169
|
+
}>>;
|
|
247
170
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
248
171
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
249
172
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
250
173
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
174
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
175
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
251
176
|
readonly type: Schema.Literal<"oauth2">;
|
|
252
177
|
}>, Schema.Struct<{
|
|
178
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
179
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
180
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
181
|
+
readonly in: Schema.Literal<"header">;
|
|
182
|
+
readonly name: Schema.String;
|
|
183
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
184
|
+
readonly field: Schema.NonEmptyString;
|
|
185
|
+
}>, Schema.Struct<{
|
|
186
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
187
|
+
readonly field: Schema.NonEmptyString;
|
|
188
|
+
}>]>>;
|
|
189
|
+
}>]>>;
|
|
190
|
+
}>, Schema.Struct<{
|
|
191
|
+
readonly in: Schema.Literal<"query">;
|
|
192
|
+
readonly name: Schema.NonEmptyString;
|
|
193
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
194
|
+
readonly field: Schema.NonEmptyString;
|
|
195
|
+
}>, Schema.Struct<{
|
|
196
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
197
|
+
readonly field: Schema.NonEmptyString;
|
|
198
|
+
}>]>>;
|
|
199
|
+
}>]>>;
|
|
200
|
+
}>]>>>;
|
|
253
201
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
202
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
203
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
204
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
205
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
254
206
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
255
207
|
readonly discover: Schema.String;
|
|
208
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
256
209
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
257
210
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
258
211
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
259
212
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
260
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
261
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
262
213
|
readonly type: Schema.Literal<"oauth2">;
|
|
263
214
|
}>, Schema.Struct<{
|
|
215
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
216
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
217
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
218
|
+
readonly in: Schema.Literal<"header">;
|
|
219
|
+
readonly name: Schema.String;
|
|
220
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
221
|
+
readonly field: Schema.NonEmptyString;
|
|
222
|
+
}>, Schema.Struct<{
|
|
223
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
224
|
+
readonly field: Schema.NonEmptyString;
|
|
225
|
+
}>]>>;
|
|
226
|
+
}>]>>;
|
|
227
|
+
}>, Schema.Struct<{
|
|
228
|
+
readonly in: Schema.Literal<"query">;
|
|
229
|
+
readonly name: Schema.NonEmptyString;
|
|
230
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
231
|
+
readonly field: Schema.NonEmptyString;
|
|
232
|
+
}>, Schema.Struct<{
|
|
233
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
234
|
+
readonly field: Schema.NonEmptyString;
|
|
235
|
+
}>]>>;
|
|
236
|
+
}>]>>;
|
|
237
|
+
}>]>>>;
|
|
264
238
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
265
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
266
|
-
readonly tokenUrl: Schema.String;
|
|
267
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
268
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
269
239
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
270
240
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
271
241
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
272
242
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
243
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
244
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
245
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
246
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
247
|
+
readonly tokenUrl: Schema.String;
|
|
248
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
249
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
273
250
|
readonly type: Schema.Literal<"oauth2">;
|
|
274
251
|
}>]>>;
|
|
252
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
275
253
|
}>;
|
|
276
254
|
readonly method: Schema.NonEmptyString;
|
|
255
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
277
256
|
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
278
257
|
}>;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
258
|
+
export type HostAccount = typeof HostAccount.Type;
|
|
259
|
+
/** One scope's accounts as the host sends them to the runner; see `HostAccount`. */
|
|
260
|
+
export declare const HostAccountSlots: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
261
|
+
readonly managed: Schema.optionalKey<Schema.Literal<true>>;
|
|
283
262
|
readonly id: Schema.brand<Schema.String, "acc">;
|
|
284
263
|
readonly provider: Schema.Struct<{
|
|
285
264
|
readonly name: Schema.NonEmptyString;
|
|
286
265
|
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
266
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
267
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
268
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
269
|
+
readonly in: Schema.Literal<"header">;
|
|
270
|
+
readonly name: Schema.String;
|
|
271
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
272
|
+
readonly field: Schema.NonEmptyString;
|
|
273
|
+
}>, Schema.Struct<{
|
|
274
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
275
|
+
readonly field: Schema.NonEmptyString;
|
|
276
|
+
}>]>>;
|
|
277
|
+
}>]>>;
|
|
278
|
+
}>, Schema.Struct<{
|
|
279
|
+
readonly in: Schema.Literal<"query">;
|
|
280
|
+
readonly name: Schema.NonEmptyString;
|
|
281
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
282
|
+
readonly field: Schema.NonEmptyString;
|
|
283
|
+
}>, Schema.Struct<{
|
|
284
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
285
|
+
readonly field: Schema.NonEmptyString;
|
|
286
|
+
}>]>>;
|
|
287
|
+
}>]>>;
|
|
288
|
+
}>]>>>;
|
|
287
289
|
readonly type: Schema.Literal<"secrets">;
|
|
288
290
|
readonly label: Schema.String;
|
|
289
291
|
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
290
292
|
}>, Schema.Struct<{
|
|
293
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
294
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
295
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
296
|
+
readonly in: Schema.Literal<"header">;
|
|
297
|
+
readonly name: Schema.String;
|
|
298
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
299
|
+
readonly field: Schema.NonEmptyString;
|
|
300
|
+
}>, Schema.Struct<{
|
|
301
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
302
|
+
readonly field: Schema.NonEmptyString;
|
|
303
|
+
}>]>>;
|
|
304
|
+
}>]>>;
|
|
305
|
+
}>, Schema.Struct<{
|
|
306
|
+
readonly in: Schema.Literal<"query">;
|
|
307
|
+
readonly name: Schema.NonEmptyString;
|
|
308
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
309
|
+
readonly field: Schema.NonEmptyString;
|
|
310
|
+
}>, Schema.Struct<{
|
|
311
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
312
|
+
readonly field: Schema.NonEmptyString;
|
|
313
|
+
}>]>>;
|
|
314
|
+
}>]>>;
|
|
315
|
+
}>]>>>;
|
|
291
316
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
292
317
|
readonly discover: Schema.String;
|
|
318
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
293
319
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
294
320
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
295
321
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
296
322
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
323
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
324
|
+
readonly path: Schema.String;
|
|
325
|
+
}>>;
|
|
297
326
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
298
327
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
299
328
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
300
329
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
330
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
331
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
301
332
|
readonly type: Schema.Literal<"oauth2">;
|
|
302
333
|
}>, Schema.Struct<{
|
|
334
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
335
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
336
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
337
|
+
readonly in: Schema.Literal<"header">;
|
|
338
|
+
readonly name: Schema.String;
|
|
339
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
340
|
+
readonly field: Schema.NonEmptyString;
|
|
341
|
+
}>, Schema.Struct<{
|
|
342
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
343
|
+
readonly field: Schema.NonEmptyString;
|
|
344
|
+
}>]>>;
|
|
345
|
+
}>]>>;
|
|
346
|
+
}>, Schema.Struct<{
|
|
347
|
+
readonly in: Schema.Literal<"query">;
|
|
348
|
+
readonly name: Schema.NonEmptyString;
|
|
349
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
350
|
+
readonly field: Schema.NonEmptyString;
|
|
351
|
+
}>, Schema.Struct<{
|
|
352
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
353
|
+
readonly field: Schema.NonEmptyString;
|
|
354
|
+
}>]>>;
|
|
355
|
+
}>]>>;
|
|
356
|
+
}>]>>>;
|
|
303
357
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
304
358
|
readonly authorizationUrl: Schema.String;
|
|
305
359
|
readonly tokenUrl: Schema.String;
|
|
@@ -307,58 +361,194 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
307
361
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
308
362
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
309
363
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
364
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
365
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
366
|
+
readonly path: Schema.String;
|
|
367
|
+
}>>;
|
|
310
368
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
311
369
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
312
370
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
313
371
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
372
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
373
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
314
374
|
readonly type: Schema.Literal<"oauth2">;
|
|
315
375
|
}>, Schema.Struct<{
|
|
376
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
377
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
378
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
379
|
+
readonly in: Schema.Literal<"header">;
|
|
380
|
+
readonly name: Schema.String;
|
|
381
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
382
|
+
readonly field: Schema.NonEmptyString;
|
|
383
|
+
}>, Schema.Struct<{
|
|
384
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
385
|
+
readonly field: Schema.NonEmptyString;
|
|
386
|
+
}>]>>;
|
|
387
|
+
}>]>>;
|
|
388
|
+
}>, Schema.Struct<{
|
|
389
|
+
readonly in: Schema.Literal<"query">;
|
|
390
|
+
readonly name: Schema.NonEmptyString;
|
|
391
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
392
|
+
readonly field: Schema.NonEmptyString;
|
|
393
|
+
}>, Schema.Struct<{
|
|
394
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
395
|
+
readonly field: Schema.NonEmptyString;
|
|
396
|
+
}>]>>;
|
|
397
|
+
}>]>>;
|
|
398
|
+
}>]>>>;
|
|
316
399
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
400
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
401
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
402
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
403
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
317
404
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
318
405
|
readonly discover: Schema.String;
|
|
406
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
319
407
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
320
408
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
321
409
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
322
410
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
323
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
324
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
325
411
|
readonly type: Schema.Literal<"oauth2">;
|
|
326
412
|
}>, Schema.Struct<{
|
|
413
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
414
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
415
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
416
|
+
readonly in: Schema.Literal<"header">;
|
|
417
|
+
readonly name: Schema.String;
|
|
418
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
419
|
+
readonly field: Schema.NonEmptyString;
|
|
420
|
+
}>, Schema.Struct<{
|
|
421
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
422
|
+
readonly field: Schema.NonEmptyString;
|
|
423
|
+
}>]>>;
|
|
424
|
+
}>]>>;
|
|
425
|
+
}>, Schema.Struct<{
|
|
426
|
+
readonly in: Schema.Literal<"query">;
|
|
427
|
+
readonly name: Schema.NonEmptyString;
|
|
428
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
429
|
+
readonly field: Schema.NonEmptyString;
|
|
430
|
+
}>, Schema.Struct<{
|
|
431
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
432
|
+
readonly field: Schema.NonEmptyString;
|
|
433
|
+
}>]>>;
|
|
434
|
+
}>]>>;
|
|
435
|
+
}>]>>>;
|
|
327
436
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
328
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
329
|
-
readonly tokenUrl: Schema.String;
|
|
330
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
331
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
332
437
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
333
438
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
334
439
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
335
440
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
441
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
442
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
443
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
444
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
445
|
+
readonly tokenUrl: Schema.String;
|
|
446
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
447
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
336
448
|
readonly type: Schema.Literal<"oauth2">;
|
|
337
449
|
}>]>>;
|
|
450
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
338
451
|
}>;
|
|
339
452
|
readonly method: Schema.NonEmptyString;
|
|
453
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
340
454
|
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
341
455
|
}>, Schema.$Array<Schema.Struct<{
|
|
456
|
+
readonly managed: Schema.optionalKey<Schema.Literal<true>>;
|
|
342
457
|
readonly id: Schema.brand<Schema.String, "acc">;
|
|
343
458
|
readonly provider: Schema.Struct<{
|
|
344
459
|
readonly name: Schema.NonEmptyString;
|
|
345
460
|
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
461
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
462
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
463
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
464
|
+
readonly in: Schema.Literal<"header">;
|
|
465
|
+
readonly name: Schema.String;
|
|
466
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
467
|
+
readonly field: Schema.NonEmptyString;
|
|
468
|
+
}>, Schema.Struct<{
|
|
469
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
470
|
+
readonly field: Schema.NonEmptyString;
|
|
471
|
+
}>]>>;
|
|
472
|
+
}>]>>;
|
|
473
|
+
}>, Schema.Struct<{
|
|
474
|
+
readonly in: Schema.Literal<"query">;
|
|
475
|
+
readonly name: Schema.NonEmptyString;
|
|
476
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
477
|
+
readonly field: Schema.NonEmptyString;
|
|
478
|
+
}>, Schema.Struct<{
|
|
479
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
480
|
+
readonly field: Schema.NonEmptyString;
|
|
481
|
+
}>]>>;
|
|
482
|
+
}>]>>;
|
|
483
|
+
}>]>>>;
|
|
346
484
|
readonly type: Schema.Literal<"secrets">;
|
|
347
485
|
readonly label: Schema.String;
|
|
348
486
|
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
349
487
|
}>, Schema.Struct<{
|
|
488
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
489
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
490
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
491
|
+
readonly in: Schema.Literal<"header">;
|
|
492
|
+
readonly name: Schema.String;
|
|
493
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
494
|
+
readonly field: Schema.NonEmptyString;
|
|
495
|
+
}>, Schema.Struct<{
|
|
496
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
497
|
+
readonly field: Schema.NonEmptyString;
|
|
498
|
+
}>]>>;
|
|
499
|
+
}>]>>;
|
|
500
|
+
}>, Schema.Struct<{
|
|
501
|
+
readonly in: Schema.Literal<"query">;
|
|
502
|
+
readonly name: Schema.NonEmptyString;
|
|
503
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
504
|
+
readonly field: Schema.NonEmptyString;
|
|
505
|
+
}>, Schema.Struct<{
|
|
506
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
507
|
+
readonly field: Schema.NonEmptyString;
|
|
508
|
+
}>]>>;
|
|
509
|
+
}>]>>;
|
|
510
|
+
}>]>>>;
|
|
350
511
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
351
512
|
readonly discover: Schema.String;
|
|
513
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
352
514
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
353
515
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
354
516
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
355
517
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
518
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
519
|
+
readonly path: Schema.String;
|
|
520
|
+
}>>;
|
|
356
521
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
357
522
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
358
523
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
359
524
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
525
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
526
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
360
527
|
readonly type: Schema.Literal<"oauth2">;
|
|
361
528
|
}>, Schema.Struct<{
|
|
529
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
530
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
531
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
532
|
+
readonly in: Schema.Literal<"header">;
|
|
533
|
+
readonly name: Schema.String;
|
|
534
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
535
|
+
readonly field: Schema.NonEmptyString;
|
|
536
|
+
}>, Schema.Struct<{
|
|
537
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
538
|
+
readonly field: Schema.NonEmptyString;
|
|
539
|
+
}>]>>;
|
|
540
|
+
}>]>>;
|
|
541
|
+
}>, Schema.Struct<{
|
|
542
|
+
readonly in: Schema.Literal<"query">;
|
|
543
|
+
readonly name: Schema.NonEmptyString;
|
|
544
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
545
|
+
readonly field: Schema.NonEmptyString;
|
|
546
|
+
}>, Schema.Struct<{
|
|
547
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
548
|
+
readonly field: Schema.NonEmptyString;
|
|
549
|
+
}>]>>;
|
|
550
|
+
}>]>>;
|
|
551
|
+
}>]>>>;
|
|
362
552
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
363
553
|
readonly authorizationUrl: Schema.String;
|
|
364
554
|
readonly tokenUrl: Schema.String;
|
|
@@ -366,50 +556,893 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
|
|
|
366
556
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
367
557
|
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
368
558
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
559
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
560
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
561
|
+
readonly path: Schema.String;
|
|
562
|
+
}>>;
|
|
369
563
|
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
370
564
|
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
371
565
|
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
372
566
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
567
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
568
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
373
569
|
readonly type: Schema.Literal<"oauth2">;
|
|
374
570
|
}>, Schema.Struct<{
|
|
571
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
572
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
573
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
574
|
+
readonly in: Schema.Literal<"header">;
|
|
575
|
+
readonly name: Schema.String;
|
|
576
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
577
|
+
readonly field: Schema.NonEmptyString;
|
|
578
|
+
}>, Schema.Struct<{
|
|
579
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
580
|
+
readonly field: Schema.NonEmptyString;
|
|
581
|
+
}>]>>;
|
|
582
|
+
}>]>>;
|
|
583
|
+
}>, Schema.Struct<{
|
|
584
|
+
readonly in: Schema.Literal<"query">;
|
|
585
|
+
readonly name: Schema.NonEmptyString;
|
|
586
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
587
|
+
readonly field: Schema.NonEmptyString;
|
|
588
|
+
}>, Schema.Struct<{
|
|
589
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
590
|
+
readonly field: Schema.NonEmptyString;
|
|
591
|
+
}>]>>;
|
|
592
|
+
}>]>>;
|
|
593
|
+
}>]>>>;
|
|
375
594
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
595
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
596
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
597
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
598
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
376
599
|
readonly grant: Schema.Literal<"client_credentials">;
|
|
377
600
|
readonly discover: Schema.String;
|
|
601
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
378
602
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
379
603
|
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
380
604
|
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
381
605
|
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
382
|
-
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
383
|
-
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
384
606
|
readonly type: Schema.Literal<"oauth2">;
|
|
385
607
|
}>, Schema.Struct<{
|
|
608
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
609
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
610
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
611
|
+
readonly in: Schema.Literal<"header">;
|
|
612
|
+
readonly name: Schema.String;
|
|
613
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
614
|
+
readonly field: Schema.NonEmptyString;
|
|
615
|
+
}>, Schema.Struct<{
|
|
616
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
617
|
+
readonly field: Schema.NonEmptyString;
|
|
618
|
+
}>]>>;
|
|
619
|
+
}>]>>;
|
|
620
|
+
}>, Schema.Struct<{
|
|
621
|
+
readonly in: Schema.Literal<"query">;
|
|
622
|
+
readonly name: Schema.NonEmptyString;
|
|
623
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
624
|
+
readonly field: Schema.NonEmptyString;
|
|
625
|
+
}>, Schema.Struct<{
|
|
626
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
627
|
+
readonly field: Schema.NonEmptyString;
|
|
628
|
+
}>]>>;
|
|
629
|
+
}>]>>;
|
|
630
|
+
}>]>>>;
|
|
386
631
|
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
387
|
-
readonly grant: Schema.Literal<"client_credentials">;
|
|
388
|
-
readonly tokenUrl: Schema.String;
|
|
389
|
-
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
390
|
-
readonly scopes: Schema.$Array<Schema.String>;
|
|
391
632
|
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
392
633
|
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
393
634
|
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
394
635
|
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
636
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
637
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
638
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
639
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
640
|
+
readonly tokenUrl: Schema.String;
|
|
641
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
642
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
395
643
|
readonly type: Schema.Literal<"oauth2">;
|
|
396
644
|
}>]>>;
|
|
645
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
397
646
|
}>;
|
|
398
647
|
readonly method: Schema.NonEmptyString;
|
|
648
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
399
649
|
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
400
650
|
}>>]>>;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
export declare const
|
|
407
|
-
readonly
|
|
408
|
-
|
|
651
|
+
export type HostAccountSlots = typeof HostAccountSlots.Type;
|
|
652
|
+
/**
|
|
653
|
+
* An invocation's accounts by scope as the host sends them to the runner; see `HostAccount`.
|
|
654
|
+
* `user` is absent for work without a caller, as in `ResolvedAccounts`.
|
|
655
|
+
*/
|
|
656
|
+
export declare const HostAccounts: Schema.Struct<{
|
|
657
|
+
readonly app: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
658
|
+
readonly managed: Schema.optionalKey<Schema.Literal<true>>;
|
|
659
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
660
|
+
readonly provider: Schema.Struct<{
|
|
661
|
+
readonly name: Schema.NonEmptyString;
|
|
662
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
663
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
664
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
665
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
666
|
+
readonly in: Schema.Literal<"header">;
|
|
667
|
+
readonly name: Schema.String;
|
|
668
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
669
|
+
readonly field: Schema.NonEmptyString;
|
|
670
|
+
}>, Schema.Struct<{
|
|
671
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
672
|
+
readonly field: Schema.NonEmptyString;
|
|
673
|
+
}>]>>;
|
|
674
|
+
}>]>>;
|
|
675
|
+
}>, Schema.Struct<{
|
|
676
|
+
readonly in: Schema.Literal<"query">;
|
|
677
|
+
readonly name: Schema.NonEmptyString;
|
|
678
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
679
|
+
readonly field: Schema.NonEmptyString;
|
|
680
|
+
}>, Schema.Struct<{
|
|
681
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
682
|
+
readonly field: Schema.NonEmptyString;
|
|
683
|
+
}>]>>;
|
|
684
|
+
}>]>>;
|
|
685
|
+
}>]>>>;
|
|
686
|
+
readonly type: Schema.Literal<"secrets">;
|
|
687
|
+
readonly label: Schema.String;
|
|
688
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
689
|
+
}>, Schema.Struct<{
|
|
690
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
691
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
692
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
693
|
+
readonly in: Schema.Literal<"header">;
|
|
694
|
+
readonly name: Schema.String;
|
|
695
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
696
|
+
readonly field: Schema.NonEmptyString;
|
|
697
|
+
}>, Schema.Struct<{
|
|
698
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
699
|
+
readonly field: Schema.NonEmptyString;
|
|
700
|
+
}>]>>;
|
|
701
|
+
}>]>>;
|
|
702
|
+
}>, Schema.Struct<{
|
|
703
|
+
readonly in: Schema.Literal<"query">;
|
|
704
|
+
readonly name: Schema.NonEmptyString;
|
|
705
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
706
|
+
readonly field: Schema.NonEmptyString;
|
|
707
|
+
}>, Schema.Struct<{
|
|
708
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
709
|
+
readonly field: Schema.NonEmptyString;
|
|
710
|
+
}>]>>;
|
|
711
|
+
}>]>>;
|
|
712
|
+
}>]>>>;
|
|
713
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
714
|
+
readonly discover: Schema.String;
|
|
715
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
716
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
717
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
718
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
719
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
720
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
721
|
+
readonly path: Schema.String;
|
|
722
|
+
}>>;
|
|
723
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
724
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
725
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
726
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
727
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
728
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
729
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
730
|
+
}>, Schema.Struct<{
|
|
731
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
732
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
733
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
734
|
+
readonly in: Schema.Literal<"header">;
|
|
735
|
+
readonly name: Schema.String;
|
|
736
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
737
|
+
readonly field: Schema.NonEmptyString;
|
|
738
|
+
}>, Schema.Struct<{
|
|
739
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
740
|
+
readonly field: Schema.NonEmptyString;
|
|
741
|
+
}>]>>;
|
|
742
|
+
}>]>>;
|
|
743
|
+
}>, Schema.Struct<{
|
|
744
|
+
readonly in: Schema.Literal<"query">;
|
|
745
|
+
readonly name: Schema.NonEmptyString;
|
|
746
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
747
|
+
readonly field: Schema.NonEmptyString;
|
|
748
|
+
}>, Schema.Struct<{
|
|
749
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
750
|
+
readonly field: Schema.NonEmptyString;
|
|
751
|
+
}>]>>;
|
|
752
|
+
}>]>>;
|
|
753
|
+
}>]>>>;
|
|
754
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
755
|
+
readonly authorizationUrl: Schema.String;
|
|
756
|
+
readonly tokenUrl: Schema.String;
|
|
757
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
758
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
759
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
760
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
761
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
762
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
763
|
+
readonly path: Schema.String;
|
|
764
|
+
}>>;
|
|
765
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
766
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
767
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
768
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
769
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
770
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
771
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
772
|
+
}>, Schema.Struct<{
|
|
773
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
774
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
775
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
776
|
+
readonly in: Schema.Literal<"header">;
|
|
777
|
+
readonly name: Schema.String;
|
|
778
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
779
|
+
readonly field: Schema.NonEmptyString;
|
|
780
|
+
}>, Schema.Struct<{
|
|
781
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
782
|
+
readonly field: Schema.NonEmptyString;
|
|
783
|
+
}>]>>;
|
|
784
|
+
}>]>>;
|
|
785
|
+
}>, Schema.Struct<{
|
|
786
|
+
readonly in: Schema.Literal<"query">;
|
|
787
|
+
readonly name: Schema.NonEmptyString;
|
|
788
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
789
|
+
readonly field: Schema.NonEmptyString;
|
|
790
|
+
}>, Schema.Struct<{
|
|
791
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
792
|
+
readonly field: Schema.NonEmptyString;
|
|
793
|
+
}>]>>;
|
|
794
|
+
}>]>>;
|
|
795
|
+
}>]>>>;
|
|
796
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
797
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
798
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
799
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
800
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
801
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
802
|
+
readonly discover: Schema.String;
|
|
803
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
804
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
805
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
806
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
807
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
808
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
809
|
+
}>, Schema.Struct<{
|
|
810
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
811
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
812
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
813
|
+
readonly in: Schema.Literal<"header">;
|
|
814
|
+
readonly name: Schema.String;
|
|
815
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
816
|
+
readonly field: Schema.NonEmptyString;
|
|
817
|
+
}>, Schema.Struct<{
|
|
818
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
819
|
+
readonly field: Schema.NonEmptyString;
|
|
820
|
+
}>]>>;
|
|
821
|
+
}>]>>;
|
|
822
|
+
}>, Schema.Struct<{
|
|
823
|
+
readonly in: Schema.Literal<"query">;
|
|
824
|
+
readonly name: Schema.NonEmptyString;
|
|
825
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
826
|
+
readonly field: Schema.NonEmptyString;
|
|
827
|
+
}>, Schema.Struct<{
|
|
828
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
829
|
+
readonly field: Schema.NonEmptyString;
|
|
830
|
+
}>]>>;
|
|
831
|
+
}>]>>;
|
|
832
|
+
}>]>>>;
|
|
833
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
834
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
835
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
836
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
837
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
838
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
839
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
840
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
841
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
842
|
+
readonly tokenUrl: Schema.String;
|
|
843
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
844
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
845
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
846
|
+
}>]>>;
|
|
847
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
848
|
+
}>;
|
|
849
|
+
readonly method: Schema.NonEmptyString;
|
|
850
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
851
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
852
|
+
}>, Schema.$Array<Schema.Struct<{
|
|
853
|
+
readonly managed: Schema.optionalKey<Schema.Literal<true>>;
|
|
854
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
855
|
+
readonly provider: Schema.Struct<{
|
|
856
|
+
readonly name: Schema.NonEmptyString;
|
|
857
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
858
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
859
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
860
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
861
|
+
readonly in: Schema.Literal<"header">;
|
|
862
|
+
readonly name: Schema.String;
|
|
863
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
864
|
+
readonly field: Schema.NonEmptyString;
|
|
865
|
+
}>, Schema.Struct<{
|
|
866
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
867
|
+
readonly field: Schema.NonEmptyString;
|
|
868
|
+
}>]>>;
|
|
869
|
+
}>]>>;
|
|
870
|
+
}>, Schema.Struct<{
|
|
871
|
+
readonly in: Schema.Literal<"query">;
|
|
872
|
+
readonly name: Schema.NonEmptyString;
|
|
873
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
874
|
+
readonly field: Schema.NonEmptyString;
|
|
875
|
+
}>, Schema.Struct<{
|
|
876
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
877
|
+
readonly field: Schema.NonEmptyString;
|
|
878
|
+
}>]>>;
|
|
879
|
+
}>]>>;
|
|
880
|
+
}>]>>>;
|
|
881
|
+
readonly type: Schema.Literal<"secrets">;
|
|
882
|
+
readonly label: Schema.String;
|
|
883
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
884
|
+
}>, Schema.Struct<{
|
|
885
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
886
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
887
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
888
|
+
readonly in: Schema.Literal<"header">;
|
|
889
|
+
readonly name: Schema.String;
|
|
890
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
891
|
+
readonly field: Schema.NonEmptyString;
|
|
892
|
+
}>, Schema.Struct<{
|
|
893
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
894
|
+
readonly field: Schema.NonEmptyString;
|
|
895
|
+
}>]>>;
|
|
896
|
+
}>]>>;
|
|
897
|
+
}>, Schema.Struct<{
|
|
898
|
+
readonly in: Schema.Literal<"query">;
|
|
899
|
+
readonly name: Schema.NonEmptyString;
|
|
900
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
901
|
+
readonly field: Schema.NonEmptyString;
|
|
902
|
+
}>, Schema.Struct<{
|
|
903
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
904
|
+
readonly field: Schema.NonEmptyString;
|
|
905
|
+
}>]>>;
|
|
906
|
+
}>]>>;
|
|
907
|
+
}>]>>>;
|
|
908
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
909
|
+
readonly discover: Schema.String;
|
|
910
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
911
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
912
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
913
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
914
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
915
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
916
|
+
readonly path: Schema.String;
|
|
917
|
+
}>>;
|
|
918
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
919
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
920
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
921
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
922
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
923
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
924
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
925
|
+
}>, Schema.Struct<{
|
|
926
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
927
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
928
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
929
|
+
readonly in: Schema.Literal<"header">;
|
|
930
|
+
readonly name: Schema.String;
|
|
931
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
932
|
+
readonly field: Schema.NonEmptyString;
|
|
933
|
+
}>, Schema.Struct<{
|
|
934
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
935
|
+
readonly field: Schema.NonEmptyString;
|
|
936
|
+
}>]>>;
|
|
937
|
+
}>]>>;
|
|
938
|
+
}>, Schema.Struct<{
|
|
939
|
+
readonly in: Schema.Literal<"query">;
|
|
940
|
+
readonly name: Schema.NonEmptyString;
|
|
941
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
942
|
+
readonly field: Schema.NonEmptyString;
|
|
943
|
+
}>, Schema.Struct<{
|
|
944
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
945
|
+
readonly field: Schema.NonEmptyString;
|
|
946
|
+
}>]>>;
|
|
947
|
+
}>]>>;
|
|
948
|
+
}>]>>>;
|
|
949
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
950
|
+
readonly authorizationUrl: Schema.String;
|
|
951
|
+
readonly tokenUrl: Schema.String;
|
|
952
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
953
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
954
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
955
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
956
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
957
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
958
|
+
readonly path: Schema.String;
|
|
959
|
+
}>>;
|
|
960
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
961
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
962
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
963
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
964
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
965
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
966
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
967
|
+
}>, Schema.Struct<{
|
|
968
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
969
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
970
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
971
|
+
readonly in: Schema.Literal<"header">;
|
|
972
|
+
readonly name: Schema.String;
|
|
973
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
974
|
+
readonly field: Schema.NonEmptyString;
|
|
975
|
+
}>, Schema.Struct<{
|
|
976
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
977
|
+
readonly field: Schema.NonEmptyString;
|
|
978
|
+
}>]>>;
|
|
979
|
+
}>]>>;
|
|
980
|
+
}>, Schema.Struct<{
|
|
981
|
+
readonly in: Schema.Literal<"query">;
|
|
982
|
+
readonly name: Schema.NonEmptyString;
|
|
983
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
984
|
+
readonly field: Schema.NonEmptyString;
|
|
985
|
+
}>, Schema.Struct<{
|
|
986
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
987
|
+
readonly field: Schema.NonEmptyString;
|
|
988
|
+
}>]>>;
|
|
989
|
+
}>]>>;
|
|
990
|
+
}>]>>>;
|
|
991
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
992
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
993
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
994
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
995
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
996
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
997
|
+
readonly discover: Schema.String;
|
|
998
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
999
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1000
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1001
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1002
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1003
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1004
|
+
}>, Schema.Struct<{
|
|
1005
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1006
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1007
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1008
|
+
readonly in: Schema.Literal<"header">;
|
|
1009
|
+
readonly name: Schema.String;
|
|
1010
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1011
|
+
readonly field: Schema.NonEmptyString;
|
|
1012
|
+
}>, Schema.Struct<{
|
|
1013
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1014
|
+
readonly field: Schema.NonEmptyString;
|
|
1015
|
+
}>]>>;
|
|
1016
|
+
}>]>>;
|
|
1017
|
+
}>, Schema.Struct<{
|
|
1018
|
+
readonly in: Schema.Literal<"query">;
|
|
1019
|
+
readonly name: Schema.NonEmptyString;
|
|
1020
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1021
|
+
readonly field: Schema.NonEmptyString;
|
|
1022
|
+
}>, Schema.Struct<{
|
|
1023
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1024
|
+
readonly field: Schema.NonEmptyString;
|
|
1025
|
+
}>]>>;
|
|
1026
|
+
}>]>>;
|
|
1027
|
+
}>]>>>;
|
|
1028
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1029
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1030
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1031
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1032
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1033
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1034
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1035
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1036
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1037
|
+
readonly tokenUrl: Schema.String;
|
|
1038
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1039
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1040
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1041
|
+
}>]>>;
|
|
1042
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1043
|
+
}>;
|
|
1044
|
+
readonly method: Schema.NonEmptyString;
|
|
1045
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
1046
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1047
|
+
}>>]>>;
|
|
1048
|
+
readonly user: Schema.optionalKey<Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
1049
|
+
readonly managed: Schema.optionalKey<Schema.Literal<true>>;
|
|
1050
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
1051
|
+
readonly provider: Schema.Struct<{
|
|
1052
|
+
readonly name: Schema.NonEmptyString;
|
|
1053
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
1054
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1055
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1056
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1057
|
+
readonly in: Schema.Literal<"header">;
|
|
1058
|
+
readonly name: Schema.String;
|
|
1059
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1060
|
+
readonly field: Schema.NonEmptyString;
|
|
1061
|
+
}>, Schema.Struct<{
|
|
1062
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1063
|
+
readonly field: Schema.NonEmptyString;
|
|
1064
|
+
}>]>>;
|
|
1065
|
+
}>]>>;
|
|
1066
|
+
}>, Schema.Struct<{
|
|
1067
|
+
readonly in: Schema.Literal<"query">;
|
|
1068
|
+
readonly name: Schema.NonEmptyString;
|
|
1069
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1070
|
+
readonly field: Schema.NonEmptyString;
|
|
1071
|
+
}>, Schema.Struct<{
|
|
1072
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1073
|
+
readonly field: Schema.NonEmptyString;
|
|
1074
|
+
}>]>>;
|
|
1075
|
+
}>]>>;
|
|
1076
|
+
}>]>>>;
|
|
1077
|
+
readonly type: Schema.Literal<"secrets">;
|
|
1078
|
+
readonly label: Schema.String;
|
|
1079
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1080
|
+
}>, Schema.Struct<{
|
|
1081
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1082
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1083
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1084
|
+
readonly in: Schema.Literal<"header">;
|
|
1085
|
+
readonly name: Schema.String;
|
|
1086
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1087
|
+
readonly field: Schema.NonEmptyString;
|
|
1088
|
+
}>, Schema.Struct<{
|
|
1089
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1090
|
+
readonly field: Schema.NonEmptyString;
|
|
1091
|
+
}>]>>;
|
|
1092
|
+
}>]>>;
|
|
1093
|
+
}>, Schema.Struct<{
|
|
1094
|
+
readonly in: Schema.Literal<"query">;
|
|
1095
|
+
readonly name: Schema.NonEmptyString;
|
|
1096
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1097
|
+
readonly field: Schema.NonEmptyString;
|
|
1098
|
+
}>, Schema.Struct<{
|
|
1099
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1100
|
+
readonly field: Schema.NonEmptyString;
|
|
1101
|
+
}>]>>;
|
|
1102
|
+
}>]>>;
|
|
1103
|
+
}>]>>>;
|
|
1104
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1105
|
+
readonly discover: Schema.String;
|
|
1106
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
1107
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1108
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1109
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1110
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1111
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1112
|
+
readonly path: Schema.String;
|
|
1113
|
+
}>>;
|
|
1114
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1115
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1116
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1117
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1118
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1119
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1120
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1121
|
+
}>, Schema.Struct<{
|
|
1122
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1123
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1124
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1125
|
+
readonly in: Schema.Literal<"header">;
|
|
1126
|
+
readonly name: Schema.String;
|
|
1127
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1128
|
+
readonly field: Schema.NonEmptyString;
|
|
1129
|
+
}>, Schema.Struct<{
|
|
1130
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1131
|
+
readonly field: Schema.NonEmptyString;
|
|
1132
|
+
}>]>>;
|
|
1133
|
+
}>]>>;
|
|
1134
|
+
}>, Schema.Struct<{
|
|
1135
|
+
readonly in: Schema.Literal<"query">;
|
|
1136
|
+
readonly name: Schema.NonEmptyString;
|
|
1137
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1138
|
+
readonly field: Schema.NonEmptyString;
|
|
1139
|
+
}>, Schema.Struct<{
|
|
1140
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1141
|
+
readonly field: Schema.NonEmptyString;
|
|
1142
|
+
}>]>>;
|
|
1143
|
+
}>]>>;
|
|
1144
|
+
}>]>>>;
|
|
1145
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1146
|
+
readonly authorizationUrl: Schema.String;
|
|
1147
|
+
readonly tokenUrl: Schema.String;
|
|
1148
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1149
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1150
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1151
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1152
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1153
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1154
|
+
readonly path: Schema.String;
|
|
1155
|
+
}>>;
|
|
1156
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1157
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1158
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1159
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1160
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1161
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1162
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1163
|
+
}>, Schema.Struct<{
|
|
1164
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1165
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1166
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1167
|
+
readonly in: Schema.Literal<"header">;
|
|
1168
|
+
readonly name: Schema.String;
|
|
1169
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1170
|
+
readonly field: Schema.NonEmptyString;
|
|
1171
|
+
}>, Schema.Struct<{
|
|
1172
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1173
|
+
readonly field: Schema.NonEmptyString;
|
|
1174
|
+
}>]>>;
|
|
1175
|
+
}>]>>;
|
|
1176
|
+
}>, Schema.Struct<{
|
|
1177
|
+
readonly in: Schema.Literal<"query">;
|
|
1178
|
+
readonly name: Schema.NonEmptyString;
|
|
1179
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1180
|
+
readonly field: Schema.NonEmptyString;
|
|
1181
|
+
}>, Schema.Struct<{
|
|
1182
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1183
|
+
readonly field: Schema.NonEmptyString;
|
|
1184
|
+
}>]>>;
|
|
1185
|
+
}>]>>;
|
|
1186
|
+
}>]>>>;
|
|
1187
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1188
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1189
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1190
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1191
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1192
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1193
|
+
readonly discover: Schema.String;
|
|
1194
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
1195
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1196
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1197
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1198
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1199
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1200
|
+
}>, Schema.Struct<{
|
|
1201
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1202
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1203
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1204
|
+
readonly in: Schema.Literal<"header">;
|
|
1205
|
+
readonly name: Schema.String;
|
|
1206
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1207
|
+
readonly field: Schema.NonEmptyString;
|
|
1208
|
+
}>, Schema.Struct<{
|
|
1209
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1210
|
+
readonly field: Schema.NonEmptyString;
|
|
1211
|
+
}>]>>;
|
|
1212
|
+
}>]>>;
|
|
1213
|
+
}>, Schema.Struct<{
|
|
1214
|
+
readonly in: Schema.Literal<"query">;
|
|
1215
|
+
readonly name: Schema.NonEmptyString;
|
|
1216
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1217
|
+
readonly field: Schema.NonEmptyString;
|
|
1218
|
+
}>, Schema.Struct<{
|
|
1219
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1220
|
+
readonly field: Schema.NonEmptyString;
|
|
1221
|
+
}>]>>;
|
|
1222
|
+
}>]>>;
|
|
1223
|
+
}>]>>>;
|
|
1224
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1225
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1226
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1227
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1228
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1229
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1230
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1231
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1232
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1233
|
+
readonly tokenUrl: Schema.String;
|
|
1234
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1235
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1236
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1237
|
+
}>]>>;
|
|
1238
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1239
|
+
}>;
|
|
1240
|
+
readonly method: Schema.NonEmptyString;
|
|
1241
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
1242
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1243
|
+
}>, Schema.$Array<Schema.Struct<{
|
|
1244
|
+
readonly managed: Schema.optionalKey<Schema.Literal<true>>;
|
|
1245
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
1246
|
+
readonly provider: Schema.Struct<{
|
|
1247
|
+
readonly name: Schema.NonEmptyString;
|
|
1248
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
1249
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1250
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1251
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1252
|
+
readonly in: Schema.Literal<"header">;
|
|
1253
|
+
readonly name: Schema.String;
|
|
1254
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1255
|
+
readonly field: Schema.NonEmptyString;
|
|
1256
|
+
}>, Schema.Struct<{
|
|
1257
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1258
|
+
readonly field: Schema.NonEmptyString;
|
|
1259
|
+
}>]>>;
|
|
1260
|
+
}>]>>;
|
|
1261
|
+
}>, Schema.Struct<{
|
|
1262
|
+
readonly in: Schema.Literal<"query">;
|
|
1263
|
+
readonly name: Schema.NonEmptyString;
|
|
1264
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1265
|
+
readonly field: Schema.NonEmptyString;
|
|
1266
|
+
}>, Schema.Struct<{
|
|
1267
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1268
|
+
readonly field: Schema.NonEmptyString;
|
|
1269
|
+
}>]>>;
|
|
1270
|
+
}>]>>;
|
|
1271
|
+
}>]>>>;
|
|
1272
|
+
readonly type: Schema.Literal<"secrets">;
|
|
1273
|
+
readonly label: Schema.String;
|
|
1274
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1275
|
+
}>, Schema.Struct<{
|
|
1276
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1277
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1278
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1279
|
+
readonly in: Schema.Literal<"header">;
|
|
1280
|
+
readonly name: Schema.String;
|
|
1281
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1282
|
+
readonly field: Schema.NonEmptyString;
|
|
1283
|
+
}>, Schema.Struct<{
|
|
1284
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1285
|
+
readonly field: Schema.NonEmptyString;
|
|
1286
|
+
}>]>>;
|
|
1287
|
+
}>]>>;
|
|
1288
|
+
}>, Schema.Struct<{
|
|
1289
|
+
readonly in: Schema.Literal<"query">;
|
|
1290
|
+
readonly name: Schema.NonEmptyString;
|
|
1291
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1292
|
+
readonly field: Schema.NonEmptyString;
|
|
1293
|
+
}>, Schema.Struct<{
|
|
1294
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1295
|
+
readonly field: Schema.NonEmptyString;
|
|
1296
|
+
}>]>>;
|
|
1297
|
+
}>]>>;
|
|
1298
|
+
}>]>>>;
|
|
1299
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1300
|
+
readonly discover: Schema.String;
|
|
1301
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
1302
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1303
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1304
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1305
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1306
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1307
|
+
readonly path: Schema.String;
|
|
1308
|
+
}>>;
|
|
1309
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1310
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1311
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1312
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1313
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1314
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1315
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1316
|
+
}>, Schema.Struct<{
|
|
1317
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1318
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1319
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1320
|
+
readonly in: Schema.Literal<"header">;
|
|
1321
|
+
readonly name: Schema.String;
|
|
1322
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1323
|
+
readonly field: Schema.NonEmptyString;
|
|
1324
|
+
}>, Schema.Struct<{
|
|
1325
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1326
|
+
readonly field: Schema.NonEmptyString;
|
|
1327
|
+
}>]>>;
|
|
1328
|
+
}>]>>;
|
|
1329
|
+
}>, Schema.Struct<{
|
|
1330
|
+
readonly in: Schema.Literal<"query">;
|
|
1331
|
+
readonly name: Schema.NonEmptyString;
|
|
1332
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1333
|
+
readonly field: Schema.NonEmptyString;
|
|
1334
|
+
}>, Schema.Struct<{
|
|
1335
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1336
|
+
readonly field: Schema.NonEmptyString;
|
|
1337
|
+
}>]>>;
|
|
1338
|
+
}>]>>;
|
|
1339
|
+
}>]>>>;
|
|
1340
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1341
|
+
readonly authorizationUrl: Schema.String;
|
|
1342
|
+
readonly tokenUrl: Schema.String;
|
|
1343
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1344
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1345
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1346
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1347
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1348
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1349
|
+
readonly path: Schema.String;
|
|
1350
|
+
}>>;
|
|
1351
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1352
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1353
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1354
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1355
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1356
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1357
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1358
|
+
}>, Schema.Struct<{
|
|
1359
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1360
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1361
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1362
|
+
readonly in: Schema.Literal<"header">;
|
|
1363
|
+
readonly name: Schema.String;
|
|
1364
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1365
|
+
readonly field: Schema.NonEmptyString;
|
|
1366
|
+
}>, Schema.Struct<{
|
|
1367
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1368
|
+
readonly field: Schema.NonEmptyString;
|
|
1369
|
+
}>]>>;
|
|
1370
|
+
}>]>>;
|
|
1371
|
+
}>, Schema.Struct<{
|
|
1372
|
+
readonly in: Schema.Literal<"query">;
|
|
1373
|
+
readonly name: Schema.NonEmptyString;
|
|
1374
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1375
|
+
readonly field: Schema.NonEmptyString;
|
|
1376
|
+
}>, Schema.Struct<{
|
|
1377
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1378
|
+
readonly field: Schema.NonEmptyString;
|
|
1379
|
+
}>]>>;
|
|
1380
|
+
}>]>>;
|
|
1381
|
+
}>]>>>;
|
|
1382
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1383
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1384
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1385
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1386
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1387
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1388
|
+
readonly discover: Schema.String;
|
|
1389
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
1390
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1391
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1392
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1393
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1394
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1395
|
+
}>, Schema.Struct<{
|
|
1396
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1397
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1398
|
+
readonly request: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1399
|
+
readonly in: Schema.Literal<"header">;
|
|
1400
|
+
readonly name: Schema.String;
|
|
1401
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1402
|
+
readonly field: Schema.NonEmptyString;
|
|
1403
|
+
}>, Schema.Struct<{
|
|
1404
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1405
|
+
readonly field: Schema.NonEmptyString;
|
|
1406
|
+
}>]>>;
|
|
1407
|
+
}>]>>;
|
|
1408
|
+
}>, Schema.Struct<{
|
|
1409
|
+
readonly in: Schema.Literal<"query">;
|
|
1410
|
+
readonly name: Schema.NonEmptyString;
|
|
1411
|
+
readonly value: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1412
|
+
readonly field: Schema.NonEmptyString;
|
|
1413
|
+
}>, Schema.Struct<{
|
|
1414
|
+
readonly base64: Schema.$Array<Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
1415
|
+
readonly field: Schema.NonEmptyString;
|
|
1416
|
+
}>]>>;
|
|
1417
|
+
}>]>>;
|
|
1418
|
+
}>]>>>;
|
|
1419
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1420
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1421
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1422
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1423
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1424
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1425
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1426
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1427
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1428
|
+
readonly tokenUrl: Schema.String;
|
|
1429
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1430
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1431
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1432
|
+
}>]>>;
|
|
1433
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1434
|
+
}>;
|
|
1435
|
+
readonly method: Schema.NonEmptyString;
|
|
1436
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
1437
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1438
|
+
}>>]>>>;
|
|
409
1439
|
}>;
|
|
410
|
-
export type
|
|
411
|
-
/**
|
|
412
|
-
export declare const
|
|
1440
|
+
export type HostAccounts = typeof HostAccounts.Type;
|
|
1441
|
+
/** Each requirement's accounts across both scopes; requirement names are unique across them. */
|
|
1442
|
+
export declare const scopedSlots: <Slot>(accounts: {
|
|
1443
|
+
readonly app: Readonly<Record<string, Slot>>;
|
|
1444
|
+
readonly user?: Readonly<Record<string, Slot>>;
|
|
1445
|
+
}) => ReadonlyArray<readonly [string, Slot]>;
|
|
413
1446
|
/** Trusted invocation context, supplied separately from the Request. */
|
|
414
1447
|
export interface HostContext {
|
|
415
1448
|
/** Trusted host deadline; never accepted in public operation JSON. */
|
|
@@ -426,91 +1459,11 @@ export interface HostContext {
|
|
|
426
1459
|
/** Trusted in-process tracing capability; never decoded from a public request. */
|
|
427
1460
|
readonly telemetry?: InvocationTelemetry;
|
|
428
1461
|
readonly approval?: TrustedToolApproval;
|
|
429
|
-
|
|
430
|
-
readonly
|
|
1462
|
+
/** The data facet's SQLite storage, for apps that declare `sql`. Never exposed to app code. */
|
|
1463
|
+
readonly storage?: AppSqlStorage;
|
|
1464
|
+
/** The invocation's accounts as the host resolved them; see `HostAccount`. */
|
|
1465
|
+
readonly accounts: Redacted.Redacted<HostAccounts>;
|
|
431
1466
|
}
|
|
432
|
-
/** Serializable live tool metadata; executable callbacks never cross this boundary. */
|
|
433
|
-
export declare const HostedTool: Schema.Struct<{
|
|
434
|
-
readonly schedules: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
435
|
-
readonly name: Schema.NonEmptyString;
|
|
436
|
-
readonly timing: Schema.Union<readonly [Schema.Struct<{
|
|
437
|
-
readonly kind: Schema.Literal<"interval">;
|
|
438
|
-
readonly milliseconds: Schema.Int;
|
|
439
|
-
}>, Schema.Struct<{
|
|
440
|
-
readonly kind: Schema.Literal<"cron">;
|
|
441
|
-
readonly calendar: Schema.Struct<{
|
|
442
|
-
readonly expression: Schema.NonEmptyString;
|
|
443
|
-
readonly timezone: Schema.NonEmptyString;
|
|
444
|
-
}>;
|
|
445
|
-
}>]>;
|
|
446
|
-
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
447
|
-
}>>>;
|
|
448
|
-
readonly name: Schema.NonEmptyString;
|
|
449
|
-
readonly description: Schema.String;
|
|
450
|
-
readonly inputSchema: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
451
|
-
readonly readOnly: Schema.optionalKey<Schema.Boolean>;
|
|
452
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
453
|
-
readonly outputSchema: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
454
|
-
readonly annotations: Schema.optionalKey<Schema.Struct<{
|
|
455
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
456
|
-
readonly readOnlyHint: Schema.optionalKey<Schema.Boolean>;
|
|
457
|
-
readonly destructiveHint: Schema.optionalKey<Schema.Boolean>;
|
|
458
|
-
readonly idempotentHint: Schema.optionalKey<Schema.Boolean>;
|
|
459
|
-
readonly openWorldHint: Schema.optionalKey<Schema.Boolean>;
|
|
460
|
-
}>>;
|
|
461
|
-
readonly _meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
462
|
-
}>;
|
|
463
|
-
/** Parsed live tool description. */
|
|
464
|
-
export type HostedTool = typeof HostedTool.Type;
|
|
465
|
-
/** Catalog entry without schemas. Browsing lists these and reads one full tool on selection. */
|
|
466
|
-
export declare const HostedToolSummary: Schema.Struct<{
|
|
467
|
-
readonly schedules: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
468
|
-
readonly name: Schema.NonEmptyString;
|
|
469
|
-
readonly timing: Schema.Union<readonly [Schema.Struct<{
|
|
470
|
-
readonly kind: Schema.Literal<"interval">;
|
|
471
|
-
readonly milliseconds: Schema.Int;
|
|
472
|
-
}>, Schema.Struct<{
|
|
473
|
-
readonly kind: Schema.Literal<"cron">;
|
|
474
|
-
readonly calendar: Schema.Struct<{
|
|
475
|
-
readonly expression: Schema.NonEmptyString;
|
|
476
|
-
readonly timezone: Schema.NonEmptyString;
|
|
477
|
-
}>;
|
|
478
|
-
}>]>;
|
|
479
|
-
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
480
|
-
}>>>;
|
|
481
|
-
readonly name: Schema.NonEmptyString;
|
|
482
|
-
readonly description: Schema.String;
|
|
483
|
-
readonly readOnly: Schema.optionalKey<Schema.Boolean>;
|
|
484
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
485
|
-
readonly annotations: Schema.optionalKey<Schema.Struct<{
|
|
486
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
487
|
-
readonly readOnlyHint: Schema.optionalKey<Schema.Boolean>;
|
|
488
|
-
readonly destructiveHint: Schema.optionalKey<Schema.Boolean>;
|
|
489
|
-
readonly idempotentHint: Schema.optionalKey<Schema.Boolean>;
|
|
490
|
-
readonly openWorldHint: Schema.optionalKey<Schema.Boolean>;
|
|
491
|
-
}>>;
|
|
492
|
-
}>;
|
|
493
|
-
export type HostedToolSummary = typeof HostedToolSummary.Type;
|
|
494
|
-
/**
|
|
495
|
-
* A skill catalog and whether any of it came from `dynamicSkills`. Without a live loader the
|
|
496
|
-
* catalog is determined by the build and its evaluation inputs; with one it reflects a publisher.
|
|
497
|
-
*/
|
|
498
|
-
export declare const SkillSources: Schema.Struct<{
|
|
499
|
-
readonly skills: Schema.$Array<Schema.Struct<{
|
|
500
|
-
readonly files: Schema.$Array<Schema.Struct<{
|
|
501
|
-
readonly path: Schema.NonEmptyString;
|
|
502
|
-
readonly content: Schema.String;
|
|
503
|
-
}>>;
|
|
504
|
-
readonly name: Schema.NonEmptyString;
|
|
505
|
-
readonly description: Schema.String;
|
|
506
|
-
readonly license: Schema.optionalKey<Schema.String>;
|
|
507
|
-
readonly compatibility: Schema.optionalKey<Schema.String>;
|
|
508
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
509
|
-
readonly "allowed-tools": Schema.optionalKey<Schema.String>;
|
|
510
|
-
}>>;
|
|
511
|
-
readonly dynamic: Schema.Boolean;
|
|
512
|
-
}>;
|
|
513
|
-
export type SkillSources = typeof SkillSources.Type;
|
|
514
1467
|
/** Skill commands. Send sources only to builds that declare skillSources. */
|
|
515
1468
|
export declare const skillsCommand: (sources: boolean) => {
|
|
516
1469
|
readonly operation: "skills";
|
|
@@ -519,43 +1472,23 @@ export declare const skillsCommand: (sources: boolean) => {
|
|
|
519
1472
|
readonly operation: "skills";
|
|
520
1473
|
readonly sources?: never;
|
|
521
1474
|
};
|
|
522
|
-
/** Either response shape; `dynamic` is unknown for builds that predate skillSources. */
|
|
523
|
-
export declare const SkillCatalogResponse: Schema.Union<readonly [Schema.Struct<{
|
|
524
|
-
readonly skills: Schema.$Array<Schema.Struct<{
|
|
525
|
-
readonly files: Schema.$Array<Schema.Struct<{
|
|
526
|
-
readonly path: Schema.NonEmptyString;
|
|
527
|
-
readonly content: Schema.String;
|
|
528
|
-
}>>;
|
|
529
|
-
readonly name: Schema.NonEmptyString;
|
|
530
|
-
readonly description: Schema.String;
|
|
531
|
-
readonly license: Schema.optionalKey<Schema.String>;
|
|
532
|
-
readonly compatibility: Schema.optionalKey<Schema.String>;
|
|
533
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
534
|
-
readonly "allowed-tools": Schema.optionalKey<Schema.String>;
|
|
535
|
-
}>>;
|
|
536
|
-
readonly dynamic: Schema.Boolean;
|
|
537
|
-
}>, Schema.$Array<Schema.Struct<{
|
|
538
|
-
readonly files: Schema.$Array<Schema.Struct<{
|
|
539
|
-
readonly path: Schema.NonEmptyString;
|
|
540
|
-
readonly content: Schema.String;
|
|
541
|
-
}>>;
|
|
542
|
-
readonly name: Schema.NonEmptyString;
|
|
543
|
-
readonly description: Schema.String;
|
|
544
|
-
readonly license: Schema.optionalKey<Schema.String>;
|
|
545
|
-
readonly compatibility: Schema.optionalKey<Schema.String>;
|
|
546
|
-
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
547
|
-
readonly "allowed-tools": Schema.optionalKey<Schema.String>;
|
|
548
|
-
}>>]>;
|
|
549
1475
|
export interface SkillCatalog {
|
|
550
1476
|
readonly skills: SkillSources["skills"];
|
|
551
1477
|
readonly dynamic?: boolean;
|
|
1478
|
+
readonly cached?: boolean;
|
|
552
1479
|
}
|
|
553
1480
|
export declare const skillCatalog: (response: typeof SkillCatalogResponse.Type) => SkillCatalog;
|
|
554
1481
|
/**
|
|
555
|
-
* Inspection commands. Send detail or tools only to builds that declare toolIndex,
|
|
556
|
-
* and
|
|
1482
|
+
* Inspection commands. Send detail or tools only to builds that declare toolIndex, scheduled
|
|
1483
|
+
* only to builds that declare scheduledTools, and definitions only to builds that declare
|
|
1484
|
+
* sharedDefinitions: they answer it with a `HostedSharedCatalog`.
|
|
557
1485
|
*/
|
|
558
|
-
export declare const inspectCommand: (
|
|
1486
|
+
export declare const inspectCommand: (options: {
|
|
1487
|
+
readonly tools?: readonly string[] | undefined;
|
|
1488
|
+
readonly scheduled?: true | undefined;
|
|
1489
|
+
readonly definitions?: "shared" | undefined;
|
|
1490
|
+
}) => {
|
|
1491
|
+
definitions?: "shared";
|
|
559
1492
|
scheduled?: true;
|
|
560
1493
|
tools?: string[];
|
|
561
1494
|
operation: "inspect";
|
|
@@ -564,198 +1497,56 @@ export declare const indexCommand: {
|
|
|
564
1497
|
readonly operation: "inspect";
|
|
565
1498
|
readonly detail: "summary";
|
|
566
1499
|
};
|
|
1500
|
+
export { restoreSharedCatalog } from "./shared-catalog.js";
|
|
567
1501
|
/** Keep only the requested tools from an inspection that may have described every tool. */
|
|
568
1502
|
export declare const selectTools: (tools?: readonly string[]) => <A extends {
|
|
569
|
-
readonly
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
readonly name: Schema.NonEmptyString;
|
|
577
|
-
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
578
|
-
}>, Schema.Struct<{
|
|
579
|
-
readonly operation: Schema.Literal<"workflow-run">;
|
|
580
|
-
readonly name: Schema.NonEmptyString;
|
|
581
|
-
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
582
|
-
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
583
|
-
readonly operation: Schema.Literal<"webhooks">;
|
|
584
|
-
}>, Schema.Struct<{
|
|
585
|
-
readonly name: Schema.NonEmptyString;
|
|
586
|
-
readonly subscriptionId: Schema.NonEmptyString;
|
|
587
|
-
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
588
|
-
readonly callbackUrl: Schema.String;
|
|
589
|
-
readonly secret: Schema.String;
|
|
590
|
-
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
591
|
-
readonly operation: Schema.Literal<"webhook-validate">;
|
|
592
|
-
}>, Schema.Struct<{
|
|
593
|
-
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
594
|
-
readonly name: Schema.NonEmptyString;
|
|
595
|
-
readonly subscriptionId: Schema.NonEmptyString;
|
|
596
|
-
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
597
|
-
readonly callbackUrl: Schema.String;
|
|
598
|
-
readonly secret: Schema.String;
|
|
599
|
-
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
600
|
-
readonly operation: Schema.Literal<"webhook-complete">;
|
|
601
|
-
}>, Schema.Struct<{
|
|
602
|
-
readonly name: Schema.NonEmptyString;
|
|
603
|
-
readonly subscriptionId: Schema.NonEmptyString;
|
|
604
|
-
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
605
|
-
readonly callbackUrl: Schema.String;
|
|
606
|
-
readonly secret: Schema.String;
|
|
607
|
-
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
608
|
-
readonly operation: Schema.Literal<"webhook-register">;
|
|
609
|
-
}>, Schema.Struct<{
|
|
610
|
-
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
611
|
-
readonly name: Schema.NonEmptyString;
|
|
612
|
-
readonly subscriptionId: Schema.NonEmptyString;
|
|
613
|
-
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
614
|
-
readonly callbackUrl: Schema.String;
|
|
615
|
-
readonly secret: Schema.String;
|
|
616
|
-
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
617
|
-
readonly operation: Schema.Literal<"webhook-unregister">;
|
|
618
|
-
}>, Schema.Struct<{
|
|
619
|
-
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
620
|
-
readonly request: Schema.Struct<{
|
|
621
|
-
readonly url: Schema.String;
|
|
622
|
-
readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]>;
|
|
623
|
-
readonly headers: Schema.$Record<Schema.String, Schema.String>;
|
|
624
|
-
readonly body: Schema.String;
|
|
625
|
-
}>;
|
|
626
|
-
readonly name: Schema.NonEmptyString;
|
|
627
|
-
readonly subscriptionId: Schema.NonEmptyString;
|
|
628
|
-
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
629
|
-
readonly callbackUrl: Schema.String;
|
|
630
|
-
readonly secret: Schema.String;
|
|
631
|
-
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
632
|
-
readonly operation: Schema.Literal<"webhook-handle">;
|
|
633
|
-
}>]>, Schema.Struct<{
|
|
634
|
-
readonly operation: Schema.Literal<"requirements">;
|
|
635
|
-
}>, Schema.Struct<{
|
|
636
|
-
readonly operation: Schema.Literal<"inspect">;
|
|
637
|
-
/** Omit schemas. Only builds that declare the toolIndex capability accept this. */
|
|
638
|
-
readonly detail: Schema.optionalKey<Schema.Literal<"summary">>;
|
|
639
|
-
/** Describe only these tools. Only builds that declare the toolIndex capability accept this. */
|
|
640
|
-
readonly tools: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
641
|
-
/**
|
|
642
|
-
* Describe only declared operations that have schedules, without dynamic tool discovery.
|
|
643
|
-
* Only builds that declare the scheduledTools capability accept this.
|
|
644
|
-
*/
|
|
645
|
-
readonly scheduled: Schema.optionalKey<Schema.Literal<true>>;
|
|
646
|
-
}>, Schema.Struct<{
|
|
647
|
-
readonly operation: Schema.Literal<"skills">;
|
|
648
|
-
/** Answer with SkillSources. Only builds that declare the skillSources capability accept this. */
|
|
649
|
-
readonly sources: Schema.optionalKey<Schema.Literal<true>>;
|
|
650
|
-
}>, Schema.Struct<{
|
|
651
|
-
readonly operation: Schema.Literal<"query">;
|
|
652
|
-
readonly name: Schema.NonEmptyString;
|
|
653
|
-
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
654
|
-
}>, Schema.Struct<{
|
|
655
|
-
readonly operation: Schema.Literal<"mutate">;
|
|
656
|
-
readonly name: Schema.NonEmptyString;
|
|
657
|
-
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
658
|
-
}>, Schema.Struct<{
|
|
659
|
-
readonly operation: Schema.Literal<"call">;
|
|
660
|
-
readonly tool: Schema.NonEmptyString;
|
|
661
|
-
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
662
|
-
}>]>;
|
|
663
|
-
/** Parsed portable dispatch request. */
|
|
664
|
-
export type HostRequest = typeof HostRequest.Type;
|
|
665
|
-
declare const HostRequestInvalid_base: Schema.Class<HostRequestInvalid, Schema.TaggedStruct<"HostRequestInvalid", {}>, import("effect/Cause").YieldableError>;
|
|
666
|
-
/** The dispatch request did not match the protocol. */
|
|
667
|
-
export declare class HostRequestInvalid extends HostRequestInvalid_base {
|
|
668
|
-
}
|
|
669
|
-
declare const HostAccountsInvalid_base: Schema.Class<HostAccountsInvalid, Schema.TaggedStruct<"HostAccountsInvalid", {}>, import("effect/Cause").YieldableError>;
|
|
670
|
-
/** Host-supplied accounts did not satisfy the declared slots or native method schemas. */
|
|
671
|
-
export declare class HostAccountsInvalid extends HostAccountsInvalid_base {
|
|
672
|
-
}
|
|
673
|
-
declare const HostDeclarationInvalid_base: Schema.Class<HostDeclarationInvalid, Schema.TaggedStruct<"HostDeclarationInvalid", {}>, import("effect/Cause").YieldableError>;
|
|
674
|
-
/** The module or declared capability shape could not be hosted. */
|
|
675
|
-
export declare class HostDeclarationInvalid extends HostDeclarationInvalid_base {
|
|
676
|
-
}
|
|
677
|
-
declare const HostEvaluationFailed_base: Schema.Class<HostEvaluationFailed, Schema.TaggedStruct<"HostEvaluationFailed", {}>, import("effect/Cause").YieldableError>;
|
|
678
|
-
/** Fresh app evaluation failed before calling a tool. */
|
|
679
|
-
export declare class HostEvaluationFailed extends HostEvaluationFailed_base {
|
|
680
|
-
}
|
|
681
|
-
declare const HostOperationNotFound_base: Schema.Class<HostOperationNotFound, Schema.TaggedStruct<"HostOperationNotFound", {}>, import("effect/Cause").YieldableError>;
|
|
682
|
-
/** No query or mutation matched the requested name. */
|
|
683
|
-
export declare class HostOperationNotFound extends HostOperationNotFound_base {
|
|
684
|
-
}
|
|
685
|
-
declare const HostOperationFailed_base: Schema.Class<HostOperationFailed, Schema.TaggedStruct<"HostOperationFailed", {}>, import("effect/Cause").YieldableError>;
|
|
686
|
-
/** An app operation failed. Raw author failures remain private. */
|
|
687
|
-
export declare class HostOperationFailed extends HostOperationFailed_base {
|
|
688
|
-
}
|
|
689
|
-
declare const HostToolNotFound_base: Schema.Class<HostToolNotFound, Schema.TaggedStruct<"HostToolNotFound", {}>, import("effect/Cause").YieldableError>;
|
|
690
|
-
/** The freshly evaluated catalog did not contain the requested tool. */
|
|
691
|
-
export declare class HostToolNotFound extends HostToolNotFound_base {
|
|
692
|
-
}
|
|
693
|
-
/** One failing input location and its expected shape; never the supplied value. */
|
|
694
|
-
export declare const InputProblem: Schema.String;
|
|
695
|
-
/** Input decoding reports at most this many problems. */
|
|
696
|
-
export declare const maxInputProblems = 10;
|
|
697
|
-
declare const HostInputInvalid_base: Schema.Class<HostInputInvalid, Schema.TaggedStruct<"HostInputInvalid", {
|
|
698
|
-
readonly problems: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
699
|
-
}>, import("effect/Cause").YieldableError>;
|
|
700
|
-
/** Native input decoding failed; supplied values are omitted. Builds before problems were reported send none. */
|
|
701
|
-
export declare class HostInputInvalid extends HostInputInvalid_base {
|
|
702
|
-
}
|
|
703
|
-
declare const HostToolBlocked_base: Schema.Class<HostToolBlocked, Schema.TaggedStruct<"HostToolBlocked", {}>, import("effect/Cause").YieldableError>;
|
|
704
|
-
/** The tool's approval policy blocked this call before its tool body ran. */
|
|
705
|
-
export declare class HostToolBlocked extends HostToolBlocked_base {
|
|
706
|
-
}
|
|
707
|
-
declare const HostToolApprovalRequired_base: Schema.Class<HostToolApprovalRequired, Schema.TaggedStruct<"HostToolApprovalRequired", {
|
|
708
|
-
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
709
|
-
readonly elicitation: Schema.Struct<{
|
|
710
|
-
readonly requestedSchema: Schema.Struct<{
|
|
711
|
-
readonly type: Schema.Literal<"object">;
|
|
712
|
-
readonly properties: Schema.$Record<Schema.String, Schema.Never>;
|
|
713
|
-
}>;
|
|
714
|
-
readonly mode: Schema.Literal<"form">;
|
|
715
|
-
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
716
|
-
readonly message: Schema.String;
|
|
717
|
-
}>;
|
|
718
|
-
}>, import("effect/Cause").YieldableError>;
|
|
719
|
-
/** Policy elicitation plus decoded input. No tool body ran; the host owns delivery and resumption. */
|
|
720
|
-
export declare class HostToolApprovalRequired extends HostToolApprovalRequired_base {
|
|
721
|
-
}
|
|
722
|
-
declare const HostToolPolicyFailed_base: Schema.Class<HostToolPolicyFailed, Schema.TaggedStruct<"HostToolPolicyFailed", {}>, import("effect/Cause").YieldableError>;
|
|
723
|
-
/** The tool's approval policy failed or returned an invalid decision. Author failures remain private. */
|
|
724
|
-
export declare class HostToolPolicyFailed extends HostToolPolicyFailed_base {
|
|
725
|
-
}
|
|
726
|
-
declare const HostOutputInvalid_base: Schema.Class<HostOutputInvalid, Schema.TaggedStruct<"HostOutputInvalid", {}>, import("effect/Cause").YieldableError>;
|
|
727
|
-
/** A tool result was not JSON; the result is never included in the error. */
|
|
728
|
-
export declare class HostOutputInvalid extends HostOutputInvalid_base {
|
|
729
|
-
}
|
|
730
|
-
/** Declaration reads do not bind accounts or evaluate the app factory. */
|
|
731
|
-
export declare const HostRequirementsError: Schema.Union<readonly [typeof HostRequestInvalid, typeof HostDeclarationInvalid]>;
|
|
1503
|
+
readonly tools: readonly {
|
|
1504
|
+
readonly name: string;
|
|
1505
|
+
}[];
|
|
1506
|
+
}>(catalog: A) => A;
|
|
1507
|
+
/** Declaration reads do not bind accounts or evaluate the app factory. A named declaration
|
|
1508
|
+
* problem is reported so the deploy can explain it. */
|
|
1509
|
+
export declare const HostRequirementsError: Schema.Union<readonly [typeof HostRequestInvalid, typeof HostDeclarationInvalid, typeof DatabaseFieldReserved]>;
|
|
732
1510
|
/** Inspection can fail while binding accounts or evaluating the live definition. */
|
|
733
1511
|
export declare const HostInspectError: Schema.Union<readonly [typeof ProviderError, typeof McpError, typeof SkillLoadFailed, typeof HostRequestInvalid, typeof HostDeclarationInvalid, typeof HostAccountsInvalid, typeof HostEvaluationFailed]>;
|
|
734
1512
|
/** Tool invocation adds lookup, input, execution and output failures to inspection. */
|
|
735
|
-
export declare const HostCallError: Schema.Union<readonly [typeof OpenapiResponseError, typeof WorkflowFailure, Schema.Union<readonly [typeof ProviderError, typeof McpError, typeof SkillLoadFailed, typeof HostRequestInvalid, typeof HostDeclarationInvalid, typeof HostAccountsInvalid, typeof HostEvaluationFailed]>, typeof HostToolNotFound, typeof HostOperationNotFound, typeof HostOperationFailed, typeof HostInputInvalid, typeof HostOutputInvalid, typeof HostToolBlocked, typeof HostToolApprovalRequired, typeof HostToolPolicyFailed, typeof ElicitationFailed]>;
|
|
1513
|
+
export declare const HostCallError: Schema.Union<readonly [typeof OpenapiResponseError, typeof WorkflowFailure, Schema.Union<readonly [typeof ProviderError, typeof McpError, typeof SkillLoadFailed, typeof HostRequestInvalid, typeof HostDeclarationInvalid, typeof HostAccountsInvalid, typeof HostEvaluationFailed]>, typeof HostToolNotFound, typeof HostOperationNotFound, typeof HostKindMismatch, typeof HostOperationFailed, typeof DatabaseLimitExceeded, typeof HostInputInvalid, typeof HostOutputInvalid, typeof HostToolBlocked, typeof HostToolApprovalRequired, typeof HostToolPolicyFailed, typeof ElicitationFailed]>;
|
|
1514
|
+
/**
|
|
1515
|
+
* An account check binds one account and runs the provider's check without evaluating the app.
|
|
1516
|
+
* Timeouts arrive as WorkflowFailure from the shared deadline guard.
|
|
1517
|
+
*/
|
|
1518
|
+
export declare const HostAccountCheckError: Schema.Union<readonly [typeof ProviderError, typeof WorkflowFailure, typeof HostRequestInvalid, typeof HostDeclarationInvalid, typeof HostAccountsInvalid, typeof HostOperationNotFound, typeof HostOperationFailed, typeof HostOutputInvalid]>;
|
|
736
1519
|
/** Queries, mutations and agent calls use the same operation failures. */
|
|
737
|
-
export declare const HostDataError: Schema.Union<readonly [typeof OpenapiResponseError, typeof WorkflowFailure, Schema.Union<readonly [typeof ProviderError, typeof McpError, typeof SkillLoadFailed, typeof HostRequestInvalid, typeof HostDeclarationInvalid, typeof HostAccountsInvalid, typeof HostEvaluationFailed]>, typeof HostToolNotFound, typeof HostOperationNotFound, typeof HostOperationFailed, typeof HostInputInvalid, typeof HostOutputInvalid, typeof HostToolBlocked, typeof HostToolApprovalRequired, typeof HostToolPolicyFailed, typeof ElicitationFailed]>;
|
|
738
|
-
/** Safe error envelope; no author exception, source, account fields or stack is serialized. */
|
|
739
|
-
export declare const HostError: Schema.Union<readonly [typeof OpenapiResponseError, typeof ProviderError, typeof McpError, typeof SkillLoadFailed, typeof WorkflowFailure, typeof HostRequestInvalid, typeof HostAccountsInvalid, typeof HostDeclarationInvalid, typeof HostEvaluationFailed, typeof HostOperationNotFound, typeof HostOperationFailed, typeof HostToolNotFound, typeof HostInputInvalid, typeof HostOutputInvalid, typeof HostToolBlocked, typeof HostToolApprovalRequired, typeof HostToolPolicyFailed, typeof ElicitationFailed]>;
|
|
740
|
-
/** Expected host failures. */
|
|
741
|
-
export type HostError = typeof HostError.Type;
|
|
1520
|
+
export declare const HostDataError: Schema.Union<readonly [typeof OpenapiResponseError, typeof WorkflowFailure, Schema.Union<readonly [typeof ProviderError, typeof McpError, typeof SkillLoadFailed, typeof HostRequestInvalid, typeof HostDeclarationInvalid, typeof HostAccountsInvalid, typeof HostEvaluationFailed]>, typeof HostToolNotFound, typeof HostOperationNotFound, typeof HostKindMismatch, typeof HostOperationFailed, typeof DatabaseLimitExceeded, typeof HostInputInvalid, typeof HostOutputInvalid, typeof HostToolBlocked, typeof HostToolApprovalRequired, typeof HostToolPolicyFailed, typeof ElicitationFailed]>;
|
|
742
1521
|
/** Invocation-owned outcome sink. Framework adapters report semantic failures
|
|
743
1522
|
* independently of successful JSON transport; customer output is never inspected. */
|
|
744
1523
|
export declare const ToolResultObservation: Context.Reference<{
|
|
745
1524
|
readonly failed: () => void;
|
|
746
1525
|
}>;
|
|
747
|
-
/**
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
readonly
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
1526
|
+
/**
|
|
1527
|
+
* One tool invocation's own timing, on the isolate's clock: how long it ran, and how much of that
|
|
1528
|
+
* it waited on upstream providers, waited on elicitation answers and ran the app's authored code.
|
|
1529
|
+
* Each instant counts once, so the rest is Executor's own time. The isolated handler returns it
|
|
1530
|
+
* beside the result so the host can add the other isolates' parts.
|
|
1531
|
+
*/
|
|
1532
|
+
export declare const InvocationTiming: Schema.Struct<{
|
|
1533
|
+
readonly elapsedMs: Schema.Finite;
|
|
1534
|
+
readonly upstreamMs: Schema.Finite;
|
|
1535
|
+
readonly elicitationMs: Schema.Finite;
|
|
1536
|
+
readonly authoredMs: Schema.Finite;
|
|
1537
|
+
/** Waiting on another call that holds the lease to load a cache entry this call needs. */
|
|
1538
|
+
readonly leaseMs: Schema.optionalKey<Schema.Finite>;
|
|
1539
|
+
/**
|
|
1540
|
+
* How long background work, such as a stale cache entry's refresh, ran within the invocation.
|
|
1541
|
+
* It runs beside the invocation, so it is not part of the division above.
|
|
1542
|
+
*/
|
|
1543
|
+
readonly backgroundMs: Schema.optionalKey<Schema.Finite>;
|
|
1544
|
+
}>;
|
|
1545
|
+
export type InvocationTiming = typeof InvocationTiming.Type;
|
|
1546
|
+
/** Receives the invocation's timing once it is over; hosts that do not return it ignore it. */
|
|
1547
|
+
export declare const InvocationTimingSink: Context.Reference<(timing: InvocationTiming) => void>;
|
|
758
1548
|
/** Native handler; context comes from host authority, never from request content. */
|
|
759
1549
|
export type AppHandler = (request: Request, context: HostContext) => Effect.Effect<Response>;
|
|
760
|
-
export {
|
|
1550
|
+
export { type AppOperation, type OperationContext } from "./operations.js";
|
|
1551
|
+
export { RouterIcon, RouterKey, RouterMeta, type AppNode, type AppRouter, type DynamicRouter, } from "./router.js";
|
|
761
1552
|
export * from "./schedules.js";
|