apps 0.0.1-beta.0 → 0.0.1-beta.2
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 +97 -4
- package/framework-reference.json +1 -1
- package/js/browser-XIPJGLH2.js +65 -0
- package/js/{chunk-SBKHUC5L.js → chunk-4LPG6RCH.js} +2 -2
- package/js/chunk-5MQZEB6Y.js +172 -0
- package/js/{chunk-7JXHF5IF.js → chunk-BMOIAIVR.js} +1 -1
- package/js/chunk-CZ7CSFO4.js +39 -0
- package/js/chunk-D47C7KG5.js +172 -0
- package/js/{chunk-YDR4CPJA.js → chunk-EVJUVWN2.js} +8 -8
- package/js/chunk-FDNTX5QJ.js +78 -0
- package/js/{chunk-2OTCEKL2.js → chunk-FW5HBOIK.js} +2352 -1493
- package/js/{chunk-EP6AEUZO.js → chunk-FZJOYIZO.js} +1 -1
- package/js/{chunk-VFUZI3NY.js → chunk-HDJH3RPR.js} +4 -4
- package/js/{chunk-WIDTG42X.js → chunk-HDTGZWP2.js} +79 -26
- package/js/{chunk-Q2FD5IBM.js → chunk-J7O55ZV7.js} +298 -37
- package/js/{chunk-X3YBZCJW.js → chunk-JN55AYQH.js} +8 -41
- package/js/chunk-LGIYBDWA.js +85 -0
- package/js/{chunk-D6BKYP2L.js → chunk-M6ZRRIBI.js} +4 -4
- package/js/{chunk-HP7E42X6.js → chunk-MYYEW3RA.js} +767 -249
- package/js/{chunk-3ANFZFCV.js → chunk-OHRT55C4.js} +15 -15
- package/js/{chunk-R6JMJSVT.js → chunk-PLCMJREA.js} +2 -2
- package/js/{chunk-C24KEZXR.js → chunk-PYUYJRSK.js} +36 -2
- package/js/{chunk-W7Q5EOTS.js → chunk-QKHR7BMF.js} +32 -32
- package/js/{chunk-KWTCHVLT.js → chunk-RN2MXB4R.js} +47 -51
- package/js/{chunk-36DNRFZQ.js → chunk-SATWJKN6.js} +1 -1
- package/js/chunk-SWPD52J7.js +35 -0
- package/js/{chunk-BKVL7XAJ.js → chunk-TE4KO4HI.js} +1 -1
- package/js/chunk-UVL56Z6E.js +6641 -0
- package/js/chunk-W7D7WVSY.js +18 -0
- package/js/{chunk-BPEFS4YF.js → chunk-WFSQXYUT.js} +109 -17
- package/js/chunk-YEJOQEII.js +104 -0
- package/js/{chunk-LOKGDT6B.js → chunk-Z5NMEGJN.js} +5 -4
- package/js/{chunk-OWD2YICM.js → chunk-ZCAMUXSG.js} +116 -87
- package/js/chunk-ZJWDMTE3.js +63 -0
- package/js/client.js +11 -11
- package/js/contracts.js +88 -25
- package/js/effect.js +21 -15
- package/js/es-APDZKREY.js +40968 -0
- package/js/graphql.js +224 -121
- package/js/host.js +76 -19
- package/js/index.js +193 -51
- package/js/mcp/effect.js +25 -17
- package/js/mcp/stdio.js +23 -17
- package/js/mcp.js +110 -24
- package/js/openapi.js +3045 -105
- package/js/operations/approval.js +1 -1
- package/js/react.js +4 -4
- package/js/skills/effect.js +11 -0
- package/js/skills.js +894 -0
- package/js/storage/facet.js +7 -7
- package/js/ui/auth/contracts.js +6 -6
- package/js/ui/auth.js +8 -8
- package/js/ui/contracts.js +5 -5
- package/js/ui/serving.js +12 -12
- package/package.json +9 -1
- package/runtime.json +1 -1
- package/types/app-cache/src/contracts/cache.d.ts +119 -0
- package/types/app-cache/src/index.d.ts +93 -0
- package/types/apps/src/contracts/api-response-error.d.ts +43 -0
- package/types/apps/src/contracts/app.d.ts +11 -0
- package/types/apps/src/contracts/cache.d.ts +44 -0
- package/types/apps/src/contracts/dynamic-skills.d.ts +10 -0
- package/types/apps/src/contracts/dynamic-tools.d.ts +13 -0
- package/types/apps/src/contracts/graphql.d.ts +18 -1
- package/types/apps/src/contracts/host.d.ts +54 -525
- package/types/apps/src/contracts/mcp.d.ts +3 -1
- package/types/apps/src/contracts/openapi-compile.d.ts +11 -0
- package/types/apps/src/contracts/openapi-document.d.ts +53 -0
- package/types/apps/src/contracts/openapi.d.ts +156 -30
- package/types/apps/src/contracts/protocol-version.d.ts +6 -0
- package/types/apps/src/contracts/protocols/1.d.ts +1575 -0
- package/types/apps/src/contracts/provider-error.d.ts +15 -0
- package/types/apps/src/contracts/provider.d.ts +18 -1
- package/types/apps/src/contracts/skills.d.ts +122 -0
- package/types/apps/src/contracts/swagger-client.d.ts +29 -0
- package/types/apps/src/graphql.d.ts +6 -6
- package/types/apps/src/host.d.ts +1 -0
- package/types/apps/src/implementation/account-operations.d.ts +122 -3
- package/types/apps/src/implementation/app.d.ts +1 -1
- package/types/apps/src/implementation/cache-session.d.ts +7 -0
- package/types/apps/src/implementation/cache.d.ts +8 -0
- package/types/apps/src/implementation/catalog-cache.d.ts +29 -0
- package/types/apps/src/implementation/dynamic-skills.d.ts +7 -0
- package/types/apps/src/implementation/dynamic-tools.d.ts +8 -0
- package/types/apps/src/implementation/elicitation.d.ts +12 -12
- package/types/apps/src/implementation/git.d.ts +25 -0
- package/types/apps/src/implementation/graphql-catalog.d.ts +10 -0
- package/types/apps/src/implementation/graphql.d.ts +81 -3
- package/types/apps/src/implementation/inflate.d.ts +16 -0
- package/types/apps/src/implementation/input-problems.d.ts +3 -0
- package/types/apps/src/implementation/mcp-call.d.ts +3 -2
- package/types/apps/src/implementation/mcp-catalog.d.ts +12 -0
- package/types/apps/src/implementation/mcp-client.d.ts +9 -8
- package/types/apps/src/implementation/mcp-stdio.d.ts +1 -1
- package/types/apps/src/implementation/mcp-tools.d.ts +6 -3
- package/types/apps/src/implementation/mcp.d.ts +39 -2
- package/types/apps/src/implementation/openapi-compile.d.ts +119 -0
- package/types/apps/src/implementation/openapi-document.d.ts +51 -0
- package/types/apps/src/implementation/openapi-names.d.ts +18 -0
- package/types/apps/src/implementation/openapi-request.d.ts +10 -4
- package/types/apps/src/implementation/openapi-source.d.ts +40 -0
- package/types/apps/src/implementation/openapi.d.ts +39 -3
- package/types/apps/src/implementation/provider-error.d.ts +10 -0
- package/types/apps/src/implementation/schema.d.ts +6 -5
- package/types/apps/src/implementation/skill-files.d.ts +10 -0
- package/types/apps/src/implementation/skills.d.ts +43 -0
- package/types/apps/src/implementation/swagger-client.d.ts +28 -0
- package/types/apps/src/index.d.ts +7 -0
- package/types/apps/src/mcp.d.ts +5 -5
- package/types/apps/src/openapi.d.ts +3 -1
- package/types/apps/src/skills.d.ts +75 -0
- package/types/telemetry/src/config.d.ts +2 -0
- package/js/chunk-22WRQZT7.js +0 -389
- package/js/chunk-MLKGABMK.js +0 -9
package/js/contracts.js
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ApprovalElicitation,
|
|
3
|
+
ApprovalResponse,
|
|
4
|
+
CalendarSchedule,
|
|
2
5
|
DeclaredAuthMethod,
|
|
3
6
|
DeclaredProvider,
|
|
4
7
|
DeclaredRequirements,
|
|
8
|
+
ElicitationFailed,
|
|
9
|
+
ElicitationLimits,
|
|
10
|
+
ElicitationReply,
|
|
11
|
+
ElicitationResponse,
|
|
12
|
+
FormElicitation,
|
|
5
13
|
HostAccountsInvalid,
|
|
6
14
|
HostCallError,
|
|
7
15
|
HostDataError,
|
|
@@ -10,6 +18,7 @@ import {
|
|
|
10
18
|
HostEvaluationFailed,
|
|
11
19
|
HostInputInvalid,
|
|
12
20
|
HostInspectError,
|
|
21
|
+
HostInvocation,
|
|
13
22
|
HostOperationFailed,
|
|
14
23
|
HostOperationNotFound,
|
|
15
24
|
HostOutputInvalid,
|
|
@@ -22,38 +31,32 @@ import {
|
|
|
22
31
|
HostToolNotFound,
|
|
23
32
|
HostToolPolicyFailed,
|
|
24
33
|
HostedTool,
|
|
34
|
+
HostedToolSummary,
|
|
25
35
|
HostedWebhook,
|
|
36
|
+
HostedWorkflow,
|
|
37
|
+
InputProblem,
|
|
38
|
+
Interval,
|
|
39
|
+
InvocationDeadline,
|
|
26
40
|
ManualWebhookDescriptor,
|
|
27
41
|
ManualWebhookSetup,
|
|
28
42
|
McpClientLimits,
|
|
43
|
+
McpError,
|
|
44
|
+
NonRetryableError,
|
|
45
|
+
OAuthClientAuth,
|
|
46
|
+
OAuthSecretClientAuth,
|
|
47
|
+
OperationSchedule,
|
|
29
48
|
OperationToolPrefixes,
|
|
30
49
|
ResolvedAccount,
|
|
31
50
|
ResolvedAccounts,
|
|
51
|
+
ScheduleTiming,
|
|
52
|
+
SkillCatalogResponse,
|
|
53
|
+
SkillSources,
|
|
32
54
|
ToolResultObservation,
|
|
33
55
|
TrustedToolApproval,
|
|
34
56
|
WebhookCommand,
|
|
35
57
|
WebhookRequestData,
|
|
36
58
|
WebhookResponseData,
|
|
37
59
|
WebhookTransportLimits,
|
|
38
|
-
defaultMcpClientLimits,
|
|
39
|
-
defaultWebhookTransportLimits
|
|
40
|
-
} from "./chunk-22WRQZT7.js";
|
|
41
|
-
import {
|
|
42
|
-
ApprovalElicitation,
|
|
43
|
-
ApprovalResponse,
|
|
44
|
-
CalendarSchedule,
|
|
45
|
-
ElicitationFailed,
|
|
46
|
-
ElicitationLimits,
|
|
47
|
-
ElicitationReply,
|
|
48
|
-
ElicitationResponse,
|
|
49
|
-
FormElicitation,
|
|
50
|
-
HostedWorkflow,
|
|
51
|
-
Interval,
|
|
52
|
-
NonRetryableError,
|
|
53
|
-
OAuthClientAuth,
|
|
54
|
-
OAuthSecretClientAuth,
|
|
55
|
-
OperationSchedule,
|
|
56
|
-
ScheduleTiming,
|
|
57
60
|
WorkflowCommand,
|
|
58
61
|
WorkflowControlCommand,
|
|
59
62
|
WorkflowDuration,
|
|
@@ -69,23 +72,59 @@ import {
|
|
|
69
72
|
WorkflowValue,
|
|
70
73
|
approvalElicitation,
|
|
71
74
|
defaultElicitationLimits,
|
|
75
|
+
defaultMcpClientLimits,
|
|
76
|
+
defaultWebhookTransportLimits,
|
|
77
|
+
frameworkProtocol,
|
|
78
|
+
indexCommand,
|
|
79
|
+
inspectCommand,
|
|
80
|
+
maxInputProblems,
|
|
72
81
|
minimumIntervalMilliseconds,
|
|
82
|
+
protocol1,
|
|
83
|
+
selectTools,
|
|
84
|
+
skillCatalog,
|
|
85
|
+
skillsCommand,
|
|
73
86
|
workflowDurationMillis
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import "./chunk-
|
|
87
|
+
} from "./chunk-MYYEW3RA.js";
|
|
88
|
+
import "./chunk-BMOIAIVR.js";
|
|
89
|
+
import "./chunk-LGIYBDWA.js";
|
|
90
|
+
import {
|
|
91
|
+
AppSkillMetadata,
|
|
92
|
+
AppSkillName,
|
|
93
|
+
AppSkillSource,
|
|
94
|
+
AppSkills,
|
|
95
|
+
SkillDefinitionInvalid,
|
|
96
|
+
SkillFile,
|
|
97
|
+
SkillFilePath,
|
|
98
|
+
SkillLoadFailed,
|
|
99
|
+
SkillServiceName,
|
|
100
|
+
skillFormatLimits,
|
|
101
|
+
skillLoadLimits
|
|
102
|
+
} from "./chunk-YEJOQEII.js";
|
|
103
|
+
import {
|
|
104
|
+
ApiErrorResponse,
|
|
105
|
+
OpenapiResponseError
|
|
106
|
+
} from "./chunk-SWPD52J7.js";
|
|
107
|
+
import {
|
|
108
|
+
ProviderError
|
|
109
|
+
} from "./chunk-W7D7WVSY.js";
|
|
76
110
|
import {
|
|
77
111
|
AppStorageError,
|
|
78
112
|
AppStorageUnavailable,
|
|
79
113
|
StorageName
|
|
80
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-FZJOYIZO.js";
|
|
81
115
|
import {
|
|
82
116
|
AccountId,
|
|
83
117
|
HttpUrl
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
118
|
+
} from "./chunk-SATWJKN6.js";
|
|
119
|
+
import "./chunk-FW5HBOIK.js";
|
|
120
|
+
import "./chunk-CZ7CSFO4.js";
|
|
87
121
|
export {
|
|
88
122
|
AccountId,
|
|
123
|
+
ApiErrorResponse,
|
|
124
|
+
AppSkillMetadata,
|
|
125
|
+
AppSkillName,
|
|
126
|
+
AppSkillSource,
|
|
127
|
+
AppSkills,
|
|
89
128
|
AppStorageError,
|
|
90
129
|
AppStorageUnavailable,
|
|
91
130
|
ApprovalElicitation,
|
|
@@ -107,6 +146,7 @@ export {
|
|
|
107
146
|
HostEvaluationFailed,
|
|
108
147
|
HostInputInvalid,
|
|
109
148
|
HostInspectError,
|
|
149
|
+
HostInvocation,
|
|
110
150
|
HostOperationFailed,
|
|
111
151
|
HostOperationNotFound,
|
|
112
152
|
HostOutputInvalid,
|
|
@@ -119,21 +159,34 @@ export {
|
|
|
119
159
|
HostToolNotFound,
|
|
120
160
|
HostToolPolicyFailed,
|
|
121
161
|
HostedTool,
|
|
162
|
+
HostedToolSummary,
|
|
122
163
|
HostedWebhook,
|
|
123
164
|
HostedWorkflow,
|
|
124
165
|
HttpUrl,
|
|
166
|
+
InputProblem,
|
|
125
167
|
Interval,
|
|
168
|
+
InvocationDeadline,
|
|
126
169
|
ManualWebhookDescriptor,
|
|
127
170
|
ManualWebhookSetup,
|
|
128
171
|
McpClientLimits,
|
|
172
|
+
McpError,
|
|
129
173
|
NonRetryableError,
|
|
130
174
|
OAuthClientAuth,
|
|
131
175
|
OAuthSecretClientAuth,
|
|
176
|
+
OpenapiResponseError,
|
|
132
177
|
OperationSchedule,
|
|
133
178
|
OperationToolPrefixes,
|
|
179
|
+
ProviderError,
|
|
134
180
|
ResolvedAccount,
|
|
135
181
|
ResolvedAccounts,
|
|
136
182
|
ScheduleTiming,
|
|
183
|
+
SkillCatalogResponse,
|
|
184
|
+
SkillDefinitionInvalid,
|
|
185
|
+
SkillFile,
|
|
186
|
+
SkillFilePath,
|
|
187
|
+
SkillLoadFailed,
|
|
188
|
+
SkillServiceName,
|
|
189
|
+
SkillSources,
|
|
137
190
|
StorageName,
|
|
138
191
|
ToolResultObservation,
|
|
139
192
|
TrustedToolApproval,
|
|
@@ -158,6 +211,16 @@ export {
|
|
|
158
211
|
defaultElicitationLimits,
|
|
159
212
|
defaultMcpClientLimits,
|
|
160
213
|
defaultWebhookTransportLimits,
|
|
214
|
+
frameworkProtocol,
|
|
215
|
+
indexCommand,
|
|
216
|
+
inspectCommand,
|
|
217
|
+
maxInputProblems,
|
|
161
218
|
minimumIntervalMilliseconds,
|
|
219
|
+
protocol1,
|
|
220
|
+
selectTools,
|
|
221
|
+
skillCatalog,
|
|
222
|
+
skillFormatLimits,
|
|
223
|
+
skillLoadLimits,
|
|
224
|
+
skillsCommand,
|
|
162
225
|
workflowDurationMillis
|
|
163
226
|
};
|
package/js/effect.js
CHANGED
|
@@ -3,32 +3,38 @@ import {
|
|
|
3
3
|
ApprovalDecision,
|
|
4
4
|
createAppHandler,
|
|
5
5
|
prepareElicitation
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-J7O55ZV7.js";
|
|
7
|
+
import "./chunk-D47C7KG5.js";
|
|
8
|
+
import "./chunk-FDNTX5QJ.js";
|
|
9
|
+
import "./chunk-JN55AYQH.js";
|
|
10
|
+
import "./chunk-PLCMJREA.js";
|
|
11
|
+
import "./chunk-PYUYJRSK.js";
|
|
12
|
+
import "./chunk-ZJWDMTE3.js";
|
|
10
13
|
import {
|
|
11
14
|
ToolAnnotations
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-MYYEW3RA.js";
|
|
16
|
+
import "./chunk-BMOIAIVR.js";
|
|
17
|
+
import "./chunk-LGIYBDWA.js";
|
|
18
|
+
import "./chunk-YEJOQEII.js";
|
|
19
|
+
import "./chunk-SWPD52J7.js";
|
|
20
|
+
import "./chunk-W7D7WVSY.js";
|
|
21
|
+
import "./chunk-ZCAMUXSG.js";
|
|
22
|
+
import "./chunk-HDJH3RPR.js";
|
|
23
|
+
import "./chunk-QKHR7BMF.js";
|
|
18
24
|
import {
|
|
19
25
|
compileJsonSchemaDecoder,
|
|
20
26
|
decoderOf,
|
|
21
27
|
jsonSchemaDecoder,
|
|
22
28
|
wrap
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-WFSQXYUT.js";
|
|
30
|
+
import "./chunk-FZJOYIZO.js";
|
|
25
31
|
import {
|
|
26
32
|
HttpUrl,
|
|
27
33
|
JsonObject,
|
|
28
34
|
ValidationError
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-SATWJKN6.js";
|
|
36
|
+
import "./chunk-FW5HBOIK.js";
|
|
37
|
+
import "./chunk-CZ7CSFO4.js";
|
|
32
38
|
export {
|
|
33
39
|
ApprovalDecision,
|
|
34
40
|
HttpUrl,
|