apps 0.0.1-beta.1 → 0.0.1-beta.10
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 +65 -43
- package/framework-reference.json +1 -1
- package/js/browser-XIPJGLH2.js +65 -0
- package/js/{chunk-SATWJKN6.js → chunk-27F7W2LG.js} +1 -1
- package/js/{chunk-HDJH3RPR.js → chunk-57RKNWL2.js} +2 -2
- package/js/{chunk-2HHMABB6.js → chunk-5T57N25Q.js} +61 -13
- package/js/{chunk-6IIO4NPI.js → chunk-72JNVHPK.js} +21 -9
- package/js/{chunk-FW5HBOIK.js → chunk-CDL5PM2Q.js} +307 -169
- package/js/{chunk-X7SFGU4Q.js → chunk-CRDWFA74.js} +28 -9
- package/js/{chunk-G7IE6BKC.js → chunk-EPT3ZP52.js} +8 -8
- package/js/chunk-FL2QR3XW.js +507 -0
- package/js/{chunk-OHRT55C4.js → chunk-IJX4CYZO.js} +3 -6
- package/js/{chunk-ZTFQHGEB.js → chunk-IPI4MFSN.js} +3 -5
- package/js/{chunk-YEJOQEII.js → chunk-JU7VHODU.js} +1 -1
- package/js/chunk-KUMBKVJD.js +39 -0
- package/js/{chunk-EVJUVWN2.js → chunk-M3B3DE4K.js} +2 -2
- package/js/{chunk-ZJWDMTE3.js → chunk-MKWZPDR6.js} +3 -3
- package/js/{chunk-BMOIAIVR.js → chunk-N7YDVXYJ.js} +49 -1
- package/js/chunk-NKLWZJLE.js +172 -0
- package/js/{chunk-ZCAMUXSG.js → chunk-ODEIDRGW.js} +3 -4
- package/js/{chunk-M6ZRRIBI.js → chunk-PJJ24GU7.js} +1 -1
- package/js/{chunk-FZJOYIZO.js → chunk-PZB6T6KU.js} +1 -1
- package/js/chunk-R3EV5FTO.js +97 -0
- package/js/{chunk-6YBRWRK3.js → chunk-RFVIONFX.js} +43 -14
- package/js/{chunk-QKHR7BMF.js → chunk-UK573G7W.js} +1 -1
- package/js/{chunk-NCYXZN2G.js → chunk-UVL56Z6E.js} +390 -23
- package/js/{chunk-KOXMLKTM.js → chunk-V5KNQVCT.js} +308 -316
- package/js/{chunk-4LPG6RCH.js → chunk-VFZKSM3T.js} +5 -25
- package/js/{chunk-IHQ4ML7K.js → chunk-WLE7WX2U.js} +554 -102
- package/js/{chunk-RBAC33PQ.js → chunk-YXQHV65J.js} +58 -83
- package/js/chunk-Z5M2LQOZ.js +209 -0
- package/js/{chunk-PLCMJREA.js → chunk-ZQINWV4W.js} +60 -20
- package/js/client.js +10 -26
- package/js/contracts.js +70 -15
- package/js/effect.js +19 -19
- package/js/es-APDZKREY.js +40968 -0
- package/js/graphql.js +34 -39
- package/js/host.js +23 -23
- package/js/index.js +199 -195
- package/js/mcp/effect.js +21 -21
- package/js/mcp/stdio.js +25 -25
- package/js/mcp.js +60 -44
- package/js/openapi.js +826 -41682
- package/js/react.js +3 -3
- package/js/skills/effect.js +3 -4
- package/js/skills.js +53 -17
- package/js/storage/facet.js +4 -4
- package/js/ui/auth/contracts.js +8 -9
- package/js/ui/auth.js +16 -14
- package/js/ui/contracts.js +4 -4
- package/js/ui/serving.js +9 -8
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/app-cache/src/contracts/cache.d.ts +42 -2
- package/types/app-cache/src/index.d.ts +59 -1
- package/types/app-data/src/contracts/database.d.ts +33 -6
- package/types/app-data/src/implementation/schema.d.ts +2 -17
- package/types/apps/src/contracts/app.d.ts +7 -6
- package/types/apps/src/contracts/cache.d.ts +4 -1
- package/types/apps/src/contracts/failure.d.ts +25 -0
- package/types/apps/src/contracts/host.d.ts +34 -679
- package/types/apps/src/contracts/mcp.d.ts +16 -0
- package/types/apps/src/contracts/openapi.d.ts +11 -1
- package/types/apps/src/contracts/operations.d.ts +0 -5
- package/types/apps/src/contracts/protocol-version.d.ts +6 -0
- package/types/apps/src/contracts/protocols/1.d.ts +1589 -0
- package/types/apps/src/contracts/protocols/2.d.ts +668 -0
- package/types/apps/src/contracts/protocols/3.d.ts +676 -0
- package/types/apps/src/contracts/protocols/4.d.ts +1229 -0
- package/types/apps/src/contracts/protocols/5.d.ts +1090 -0
- package/types/apps/src/contracts/provider.d.ts +51 -5
- package/types/apps/src/contracts/router.d.ts +59 -0
- package/types/apps/src/contracts/skills.d.ts +17 -8
- package/types/apps/src/contracts/storage.d.ts +3 -3
- package/types/apps/src/contracts/ui-auth.d.ts +6 -14
- package/types/apps/src/contracts/workflows.d.ts +34 -3
- package/types/apps/src/graphql.d.ts +1 -3
- package/types/apps/src/implementation/account-router.d.ts +12 -0
- package/types/apps/src/implementation/app.d.ts +5 -4
- package/types/apps/src/implementation/cache.d.ts +3 -1
- package/types/apps/src/implementation/catalog-cache.d.ts +9 -2
- package/types/apps/src/implementation/elicitation.d.ts +1 -1
- package/types/apps/src/implementation/failure-detail.d.ts +25 -0
- package/types/apps/src/implementation/graphql-catalog.d.ts +1 -4
- package/types/apps/src/implementation/mcp-catalog.d.ts +1 -4
- package/types/apps/src/implementation/mcp-client.d.ts +35 -19
- package/types/apps/src/implementation/mcp.d.ts +35 -19
- package/types/apps/src/implementation/openapi-compile.d.ts +3 -2
- package/types/apps/src/implementation/openapi-document.d.ts +0 -2
- package/types/apps/src/implementation/openapi-names.d.ts +18 -0
- package/types/apps/src/implementation/openapi-request.d.ts +0 -1
- package/types/apps/src/implementation/openapi-source.d.ts +7 -7
- package/types/apps/src/implementation/operations.d.ts +26 -3
- package/types/apps/src/implementation/protocol-operations.d.ts +3 -4
- package/types/apps/src/implementation/provider.d.ts +9 -4
- package/types/apps/src/implementation/router-catalog.d.ts +225 -0
- package/types/apps/src/implementation/router.d.ts +59 -0
- package/types/apps/src/implementation/schema.d.ts +5 -6
- package/types/apps/src/implementation/storage.d.ts +5 -3
- package/types/apps/src/implementation/swagger-client.d.ts +28 -0
- package/types/apps/src/implementation/ui-auth.d.ts +11 -5
- package/types/apps/src/implementation/ui-serving.d.ts +4 -2
- package/types/apps/src/implementation/webhooks.d.ts +1 -1
- package/types/apps/src/implementation/workflow-context.d.ts +11 -3
- package/types/apps/src/index.d.ts +5 -4
- package/types/apps/src/mcp-stdio.d.ts +2 -5
- package/types/apps/src/mcp.d.ts +5 -4
- package/types/apps/src/openapi.d.ts +6 -6
- package/types/apps/src/skills.d.ts +6 -3
- package/types/apps/src/ui-auth.d.ts +2 -2
- package/types/telemetry/src/browser-operations.d.ts +5 -2
- package/js/chunk-PZ36XMXW.js +0 -93
- package/js/chunk-SWPD52J7.js +0 -35
- package/js/chunk-TE4KO4HI.js +0 -47
- package/js/chunk-W7D7WVSY.js +0 -18
- package/types/apps/src/contracts/dynamic-tools.d.ts +0 -13
- package/types/apps/src/implementation/account-operations.d.ts +0 -151
- package/types/apps/src/implementation/dynamic-tools.d.ts +0 -8
package/js/contracts.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AccountCheckCommand,
|
|
3
|
+
AccountCheckResult,
|
|
4
|
+
AccountInfo,
|
|
5
|
+
ApiErrorResponse,
|
|
2
6
|
ApprovalElicitation,
|
|
3
7
|
ApprovalResponse,
|
|
4
8
|
CalendarSchedule,
|
|
@@ -9,7 +13,13 @@ import {
|
|
|
9
13
|
ElicitationLimits,
|
|
10
14
|
ElicitationReply,
|
|
11
15
|
ElicitationResponse,
|
|
16
|
+
FailureCode,
|
|
17
|
+
FailureDetail,
|
|
18
|
+
FailureMessage,
|
|
19
|
+
FailureName,
|
|
20
|
+
FailureSource,
|
|
12
21
|
FormElicitation,
|
|
22
|
+
HostAccountCheckError,
|
|
13
23
|
HostAccountsInvalid,
|
|
14
24
|
HostCallError,
|
|
15
25
|
HostDataError,
|
|
@@ -18,6 +28,8 @@ import {
|
|
|
18
28
|
HostEvaluationFailed,
|
|
19
29
|
HostInputInvalid,
|
|
20
30
|
HostInspectError,
|
|
31
|
+
HostInvocation,
|
|
32
|
+
HostKindMismatch,
|
|
21
33
|
HostOperationFailed,
|
|
22
34
|
HostOperationNotFound,
|
|
23
35
|
HostOutputInvalid,
|
|
@@ -25,10 +37,14 @@ import {
|
|
|
25
37
|
HostRequestInvalid,
|
|
26
38
|
HostRequirementsError,
|
|
27
39
|
HostResponse,
|
|
40
|
+
HostRouterError,
|
|
28
41
|
HostToolApprovalRequired,
|
|
29
42
|
HostToolBlocked,
|
|
30
43
|
HostToolNotFound,
|
|
31
44
|
HostToolPolicyFailed,
|
|
45
|
+
HostedCatalog,
|
|
46
|
+
HostedCatalogSummary,
|
|
47
|
+
HostedRouter,
|
|
32
48
|
HostedTool,
|
|
33
49
|
HostedToolSummary,
|
|
34
50
|
HostedWebhook,
|
|
@@ -43,10 +59,13 @@ import {
|
|
|
43
59
|
NonRetryableError,
|
|
44
60
|
OAuthClientAuth,
|
|
45
61
|
OAuthSecretClientAuth,
|
|
62
|
+
OpenapiResponseError,
|
|
46
63
|
OperationSchedule,
|
|
47
|
-
OperationToolPrefixes,
|
|
48
64
|
ResolvedAccount,
|
|
49
65
|
ResolvedAccounts,
|
|
66
|
+
RouterIcon,
|
|
67
|
+
RouterKey,
|
|
68
|
+
RouterMeta,
|
|
50
69
|
ScheduleTiming,
|
|
51
70
|
SkillCatalogResponse,
|
|
52
71
|
SkillSources,
|
|
@@ -60,11 +79,13 @@ import {
|
|
|
60
79
|
WorkflowControlCommand,
|
|
61
80
|
WorkflowDuration,
|
|
62
81
|
WorkflowFailure,
|
|
82
|
+
WorkflowFailureDetail,
|
|
63
83
|
WorkflowName,
|
|
64
84
|
WorkflowReplay,
|
|
65
85
|
WorkflowRpcCommand,
|
|
66
86
|
WorkflowRpcResult,
|
|
67
87
|
WorkflowRun,
|
|
88
|
+
WorkflowRunFailure,
|
|
68
89
|
WorkflowRunId,
|
|
69
90
|
WorkflowRunPage,
|
|
70
91
|
WorkflowStepOptions,
|
|
@@ -73,16 +94,29 @@ import {
|
|
|
73
94
|
defaultElicitationLimits,
|
|
74
95
|
defaultMcpClientLimits,
|
|
75
96
|
defaultWebhookTransportLimits,
|
|
97
|
+
frameworkProtocol,
|
|
76
98
|
indexCommand,
|
|
77
99
|
inspectCommand,
|
|
100
|
+
maxFailureMessageLength,
|
|
78
101
|
maxInputProblems,
|
|
79
102
|
minimumIntervalMilliseconds,
|
|
103
|
+
protocol1,
|
|
104
|
+
protocol2,
|
|
105
|
+
protocol3,
|
|
106
|
+
protocol4,
|
|
107
|
+
protocol5,
|
|
80
108
|
selectTools,
|
|
81
109
|
skillCatalog,
|
|
82
110
|
skillsCommand,
|
|
83
111
|
workflowDurationMillis
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import
|
|
112
|
+
} from "./chunk-WLE7WX2U.js";
|
|
113
|
+
import {
|
|
114
|
+
DatabaseFieldReserved,
|
|
115
|
+
DatabaseLimitExceeded
|
|
116
|
+
} from "./chunk-N7YDVXYJ.js";
|
|
117
|
+
import {
|
|
118
|
+
ProviderError
|
|
119
|
+
} from "./chunk-R3EV5FTO.js";
|
|
86
120
|
import {
|
|
87
121
|
AppSkillMetadata,
|
|
88
122
|
AppSkillName,
|
|
@@ -95,27 +129,23 @@ import {
|
|
|
95
129
|
SkillServiceName,
|
|
96
130
|
skillFormatLimits,
|
|
97
131
|
skillLoadLimits
|
|
98
|
-
} from "./chunk-
|
|
99
|
-
import {
|
|
100
|
-
ApiErrorResponse,
|
|
101
|
-
OpenapiResponseError
|
|
102
|
-
} from "./chunk-SWPD52J7.js";
|
|
103
|
-
import {
|
|
104
|
-
ProviderError
|
|
105
|
-
} from "./chunk-W7D7WVSY.js";
|
|
132
|
+
} from "./chunk-JU7VHODU.js";
|
|
106
133
|
import {
|
|
107
134
|
AppStorageError,
|
|
108
135
|
AppStorageUnavailable,
|
|
109
136
|
StorageName
|
|
110
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-PZB6T6KU.js";
|
|
111
138
|
import {
|
|
112
139
|
AccountId,
|
|
113
140
|
HttpUrl
|
|
114
|
-
} from "./chunk-
|
|
115
|
-
import "./chunk-
|
|
141
|
+
} from "./chunk-27F7W2LG.js";
|
|
142
|
+
import "./chunk-CDL5PM2Q.js";
|
|
116
143
|
import "./chunk-CZ7CSFO4.js";
|
|
117
144
|
export {
|
|
145
|
+
AccountCheckCommand,
|
|
146
|
+
AccountCheckResult,
|
|
118
147
|
AccountId,
|
|
148
|
+
AccountInfo,
|
|
119
149
|
ApiErrorResponse,
|
|
120
150
|
AppSkillMetadata,
|
|
121
151
|
AppSkillName,
|
|
@@ -126,6 +156,8 @@ export {
|
|
|
126
156
|
ApprovalElicitation,
|
|
127
157
|
ApprovalResponse,
|
|
128
158
|
CalendarSchedule,
|
|
159
|
+
DatabaseFieldReserved,
|
|
160
|
+
DatabaseLimitExceeded,
|
|
129
161
|
DeclaredAuthMethod,
|
|
130
162
|
DeclaredProvider,
|
|
131
163
|
DeclaredRequirements,
|
|
@@ -133,7 +165,13 @@ export {
|
|
|
133
165
|
ElicitationLimits,
|
|
134
166
|
ElicitationReply,
|
|
135
167
|
ElicitationResponse,
|
|
168
|
+
FailureCode,
|
|
169
|
+
FailureDetail,
|
|
170
|
+
FailureMessage,
|
|
171
|
+
FailureName,
|
|
172
|
+
FailureSource,
|
|
136
173
|
FormElicitation,
|
|
174
|
+
HostAccountCheckError,
|
|
137
175
|
HostAccountsInvalid,
|
|
138
176
|
HostCallError,
|
|
139
177
|
HostDataError,
|
|
@@ -142,6 +180,8 @@ export {
|
|
|
142
180
|
HostEvaluationFailed,
|
|
143
181
|
HostInputInvalid,
|
|
144
182
|
HostInspectError,
|
|
183
|
+
HostInvocation,
|
|
184
|
+
HostKindMismatch,
|
|
145
185
|
HostOperationFailed,
|
|
146
186
|
HostOperationNotFound,
|
|
147
187
|
HostOutputInvalid,
|
|
@@ -149,10 +189,14 @@ export {
|
|
|
149
189
|
HostRequestInvalid,
|
|
150
190
|
HostRequirementsError,
|
|
151
191
|
HostResponse,
|
|
192
|
+
HostRouterError,
|
|
152
193
|
HostToolApprovalRequired,
|
|
153
194
|
HostToolBlocked,
|
|
154
195
|
HostToolNotFound,
|
|
155
196
|
HostToolPolicyFailed,
|
|
197
|
+
HostedCatalog,
|
|
198
|
+
HostedCatalogSummary,
|
|
199
|
+
HostedRouter,
|
|
156
200
|
HostedTool,
|
|
157
201
|
HostedToolSummary,
|
|
158
202
|
HostedWebhook,
|
|
@@ -170,10 +214,12 @@ export {
|
|
|
170
214
|
OAuthSecretClientAuth,
|
|
171
215
|
OpenapiResponseError,
|
|
172
216
|
OperationSchedule,
|
|
173
|
-
OperationToolPrefixes,
|
|
174
217
|
ProviderError,
|
|
175
218
|
ResolvedAccount,
|
|
176
219
|
ResolvedAccounts,
|
|
220
|
+
RouterIcon,
|
|
221
|
+
RouterKey,
|
|
222
|
+
RouterMeta,
|
|
177
223
|
ScheduleTiming,
|
|
178
224
|
SkillCatalogResponse,
|
|
179
225
|
SkillDefinitionInvalid,
|
|
@@ -193,11 +239,13 @@ export {
|
|
|
193
239
|
WorkflowControlCommand,
|
|
194
240
|
WorkflowDuration,
|
|
195
241
|
WorkflowFailure,
|
|
242
|
+
WorkflowFailureDetail,
|
|
196
243
|
WorkflowName,
|
|
197
244
|
WorkflowReplay,
|
|
198
245
|
WorkflowRpcCommand,
|
|
199
246
|
WorkflowRpcResult,
|
|
200
247
|
WorkflowRun,
|
|
248
|
+
WorkflowRunFailure,
|
|
201
249
|
WorkflowRunId,
|
|
202
250
|
WorkflowRunPage,
|
|
203
251
|
WorkflowStepOptions,
|
|
@@ -206,10 +254,17 @@ export {
|
|
|
206
254
|
defaultElicitationLimits,
|
|
207
255
|
defaultMcpClientLimits,
|
|
208
256
|
defaultWebhookTransportLimits,
|
|
257
|
+
frameworkProtocol,
|
|
209
258
|
indexCommand,
|
|
210
259
|
inspectCommand,
|
|
260
|
+
maxFailureMessageLength,
|
|
211
261
|
maxInputProblems,
|
|
212
262
|
minimumIntervalMilliseconds,
|
|
263
|
+
protocol1,
|
|
264
|
+
protocol2,
|
|
265
|
+
protocol3,
|
|
266
|
+
protocol4,
|
|
267
|
+
protocol5,
|
|
213
268
|
selectTools,
|
|
214
269
|
skillCatalog,
|
|
215
270
|
skillFormatLimits,
|
package/js/effect.js
CHANGED
|
@@ -3,36 +3,36 @@ import {
|
|
|
3
3
|
ApprovalDecision,
|
|
4
4
|
createAppHandler,
|
|
5
5
|
prepareElicitation
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-V5KNQVCT.js";
|
|
7
|
+
import "./chunk-NKLWZJLE.js";
|
|
8
|
+
import "./chunk-FL2QR3XW.js";
|
|
9
|
+
import "./chunk-IPI4MFSN.js";
|
|
10
|
+
import "./chunk-YXQHV65J.js";
|
|
11
|
+
import "./chunk-ZQINWV4W.js";
|
|
12
|
+
import "./chunk-Z5M2LQOZ.js";
|
|
13
|
+
import "./chunk-MKWZPDR6.js";
|
|
13
14
|
import {
|
|
14
15
|
ToolAnnotations
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-QKHR7BMF.js";
|
|
16
|
+
} from "./chunk-WLE7WX2U.js";
|
|
17
|
+
import "./chunk-N7YDVXYJ.js";
|
|
18
|
+
import "./chunk-R3EV5FTO.js";
|
|
19
|
+
import "./chunk-JU7VHODU.js";
|
|
20
|
+
import "./chunk-ODEIDRGW.js";
|
|
21
|
+
import "./chunk-57RKNWL2.js";
|
|
22
|
+
import "./chunk-UK573G7W.js";
|
|
23
23
|
import {
|
|
24
24
|
compileJsonSchemaDecoder,
|
|
25
25
|
decoderOf,
|
|
26
26
|
jsonSchemaDecoder,
|
|
27
27
|
wrap
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-5T57N25Q.js";
|
|
29
|
+
import "./chunk-PZB6T6KU.js";
|
|
30
30
|
import {
|
|
31
31
|
HttpUrl,
|
|
32
32
|
JsonObject,
|
|
33
33
|
ValidationError
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-27F7W2LG.js";
|
|
35
|
+
import "./chunk-CDL5PM2Q.js";
|
|
36
36
|
import "./chunk-CZ7CSFO4.js";
|
|
37
37
|
export {
|
|
38
38
|
ApprovalDecision,
|