apps 0.0.1-beta.124 → 0.0.1-beta.126
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/framework-reference.json +1 -1
- package/js/{chunk-RR44Z4RU.js → chunk-2AI3RZXP.js} +5 -5
- package/js/{chunk-5IWCEMLY.js → chunk-55QLA7T7.js} +4 -4
- package/js/{chunk-DA6RXOMJ.js → chunk-5LGG5YSE.js} +10 -3
- package/js/{chunk-AUZGGAPP.js → chunk-7ASLJHSD.js} +4 -4
- package/js/{chunk-KY4KYPUZ.js → chunk-7TDDMSZI.js} +4 -4
- package/js/{chunk-573E3S2U.js → chunk-7ZYZWLXS.js} +80 -0
- package/js/{chunk-C23S3WPT.js → chunk-GWAA3COO.js} +1 -1
- package/js/{chunk-3OADIFKV.js → chunk-LOHZM4RK.js} +3 -3
- package/js/{chunk-OLUDW4HL.js → chunk-MVAS3VFK.js} +4 -4
- package/js/{chunk-UPICNVJO.js → chunk-TTMRK64V.js} +2 -2
- package/js/{chunk-CL3K7BJD.js → chunk-V3HWVVFZ.js} +1 -1
- package/js/{chunk-GU25DFBC.js → chunk-VEQDEM6J.js} +37 -14
- package/js/client.js +66 -9
- package/js/contracts.js +7 -1
- package/js/effect.js +9 -9
- package/js/graphql.js +11 -11
- package/js/host.js +9 -9
- package/js/index.js +12 -9
- package/js/mcp/effect.js +10 -10
- package/js/mcp.js +12 -12
- package/js/openapi.js +7 -7
- package/js/skills.js +6 -6
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/apps/src/contracts/help-text.d.ts +31 -0
- package/types/apps/src/contracts/host.d.ts +36 -0
- package/types/apps/src/contracts/protocols/current.d.ts +244 -0
- package/types/apps/src/contracts/provider.d.ts +4 -0
- package/types/apps/src/implementation/elicitation.d.ts +4 -4
- package/types/apps/src/implementation/help-text.d.ts +5 -0
- package/types/apps/src/implementation/mcp-client.d.ts +2 -2
- package/types/apps/src/implementation/mcp.d.ts +2 -2
- package/types/apps/src/implementation/provider.d.ts +2 -1
- package/types/apps/src/implementation/router-catalog.d.ts +4 -4
- package/types/apps/src/implementation/schema.d.ts +17 -6
- package/types/apps/src/index.d.ts +20 -5
package/js/graphql.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catalogCache,
|
|
3
3
|
catalogScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-55QLA7T7.js";
|
|
5
5
|
import {
|
|
6
6
|
protocolOperations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TTMRK64V.js";
|
|
8
8
|
import "./chunk-BCSNKUAC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-VEQDEM6J.js";
|
|
10
10
|
import {
|
|
11
11
|
cacheKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7TDDMSZI.js";
|
|
13
13
|
import {
|
|
14
14
|
GraphqlError,
|
|
15
15
|
GraphqlIntrospection,
|
|
@@ -20,33 +20,33 @@ import {
|
|
|
20
20
|
maxGraphqlStatedErrors,
|
|
21
21
|
maxGraphqlStatedExtensions,
|
|
22
22
|
maxGraphqlStatedFieldLength
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MVAS3VFK.js";
|
|
24
24
|
import {
|
|
25
25
|
failOnNetworkRefusal
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-V3HWVVFZ.js";
|
|
27
27
|
import "./chunk-SO33LZ7J.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-7ASLJHSD.js";
|
|
29
29
|
import {
|
|
30
30
|
nativeOperation,
|
|
31
31
|
routerDeclaration
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LOHZM4RK.js";
|
|
33
33
|
import {
|
|
34
34
|
accountProviderError,
|
|
35
35
|
boundStated,
|
|
36
36
|
graphqlProviderError,
|
|
37
37
|
httpProviderError
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-GWAA3COO.js";
|
|
39
39
|
import {
|
|
40
40
|
FailureFieldName,
|
|
41
41
|
NetworkRefused,
|
|
42
42
|
ProviderError,
|
|
43
43
|
defaultOpenapiErrorLimits,
|
|
44
44
|
maxUpstreamMessageLength
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-7ZYZWLXS.js";
|
|
46
46
|
import "./chunk-EPZ3P7IX.js";
|
|
47
47
|
import {
|
|
48
48
|
jsonSchemaDecoder
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-5LGG5YSE.js";
|
|
50
50
|
import {
|
|
51
51
|
owned
|
|
52
52
|
} from "./chunk-2EEUUSL7.js";
|
package/js/host.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAppHandler
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-VEQDEM6J.js";
|
|
4
|
+
import "./chunk-7TDDMSZI.js";
|
|
5
|
+
import "./chunk-MVAS3VFK.js";
|
|
6
|
+
import "./chunk-V3HWVVFZ.js";
|
|
7
7
|
import "./chunk-SO33LZ7J.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-7ASLJHSD.js";
|
|
9
|
+
import "./chunk-LOHZM4RK.js";
|
|
10
|
+
import "./chunk-GWAA3COO.js";
|
|
11
11
|
import {
|
|
12
12
|
CacheCommand,
|
|
13
13
|
CacheError,
|
|
@@ -25,9 +25,9 @@ import {
|
|
|
25
25
|
WorkflowRun,
|
|
26
26
|
WorkflowRunId,
|
|
27
27
|
WorkflowRunPage
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-7ZYZWLXS.js";
|
|
29
29
|
import "./chunk-EPZ3P7IX.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-5LGG5YSE.js";
|
|
31
31
|
import {
|
|
32
32
|
collectTelemetry,
|
|
33
33
|
withRemoteSpan
|
package/js/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
query,
|
|
12
12
|
t,
|
|
13
13
|
workflow
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7ASLJHSD.js";
|
|
15
15
|
import {
|
|
16
16
|
accountRouter,
|
|
17
17
|
dynamicRouter,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolAnnotations,
|
|
24
24
|
withApproval,
|
|
25
25
|
withApprovals
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LOHZM4RK.js";
|
|
27
27
|
import {
|
|
28
28
|
fromPromise
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GWAA3COO.js";
|
|
30
30
|
import {
|
|
31
31
|
CacheError,
|
|
32
32
|
CalendarSchedule,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
ScheduleTiming,
|
|
44
44
|
SecretsMethod,
|
|
45
45
|
WorkflowFailure
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-7ZYZWLXS.js";
|
|
47
47
|
import "./chunk-EPZ3P7IX.js";
|
|
48
48
|
import {
|
|
49
49
|
array,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
record,
|
|
64
64
|
string,
|
|
65
65
|
wrap
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-5LGG5YSE.js";
|
|
67
67
|
import "./chunk-2EEUUSL7.js";
|
|
68
68
|
import "./chunk-EAPSQBFN.js";
|
|
69
69
|
import "./chunk-CCJUTN55.js";
|
|
@@ -98,13 +98,14 @@ var oauth2Form = (config) => {
|
|
|
98
98
|
if (clientCredentials(config)) return discovers ? discoveredMachine : declaredMachine;
|
|
99
99
|
return discovers ? discovered : declared;
|
|
100
100
|
};
|
|
101
|
-
var oauth2 = (config, response, exposure, request) => parseDeclaration(OAuth2Config, config, "oauth2()", oauth2Form).pipe(
|
|
101
|
+
var oauth2 = (config, response, exposure, request, clientGuide) => parseDeclaration(OAuth2Config, config, "oauth2()", oauth2Form).pipe(
|
|
102
102
|
Effect_exports.map(
|
|
103
103
|
(config2) => new OAuth2Method({
|
|
104
104
|
config: config2,
|
|
105
105
|
response,
|
|
106
106
|
...exposure === void 0 ? {} : { exposure },
|
|
107
|
-
...request === void 0 ? {} : { request }
|
|
107
|
+
...request === void 0 ? {} : { request },
|
|
108
|
+
...clientGuide === void 0 ? {} : { clientGuide }
|
|
108
109
|
})
|
|
109
110
|
)
|
|
110
111
|
);
|
|
@@ -182,6 +183,7 @@ var placementsOf = (method, schema, request) => request === void 0 ? {} : {
|
|
|
182
183
|
var OAuth2AccessToken2 = wrap(OAuth2AccessToken, false);
|
|
183
184
|
var secrets2 = (options) => secrets({
|
|
184
185
|
label: options.label,
|
|
186
|
+
...options.guide === void 0 ? {} : { guide: options.guide },
|
|
185
187
|
fields: accountDecoder(options.fields),
|
|
186
188
|
...exposureOf(options.fields),
|
|
187
189
|
// SAFETY: the callback receives references named by the schema's own keys.
|
|
@@ -192,14 +194,15 @@ var secrets2 = (options) => secrets({
|
|
|
192
194
|
)
|
|
193
195
|
});
|
|
194
196
|
function oauth22(options) {
|
|
195
|
-
const { response = OAuth2AccessToken2, request, ...config } = options;
|
|
197
|
+
const { response = OAuth2AccessToken2, request, clientGuide, ...config } = options;
|
|
196
198
|
return Effect_exports.runSync(
|
|
197
199
|
oauth2(
|
|
198
200
|
config,
|
|
199
201
|
accountDecoder(response),
|
|
200
202
|
exposureOf(response).exposure,
|
|
201
203
|
// SAFETY: the callback receives references named by the response projection's own keys.
|
|
202
|
-
placementsOf("OAuth", response, request).request
|
|
204
|
+
placementsOf("OAuth", response, request).request,
|
|
205
|
+
clientGuide
|
|
203
206
|
)
|
|
204
207
|
);
|
|
205
208
|
}
|
package/js/mcp/effect.js
CHANGED
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
mcpClientEffect,
|
|
3
3
|
mcpHealthEffect,
|
|
4
4
|
mcpToolsEffect
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-2AI3RZXP.js";
|
|
6
6
|
import "../chunk-BCSNKUAC.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-VEQDEM6J.js";
|
|
8
|
+
import "../chunk-7TDDMSZI.js";
|
|
9
|
+
import "../chunk-MVAS3VFK.js";
|
|
10
|
+
import "../chunk-V3HWVVFZ.js";
|
|
11
11
|
import "../chunk-SO33LZ7J.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-7ASLJHSD.js";
|
|
13
|
+
import "../chunk-LOHZM4RK.js";
|
|
14
|
+
import "../chunk-GWAA3COO.js";
|
|
15
|
+
import "../chunk-7ZYZWLXS.js";
|
|
16
16
|
import "../chunk-EPZ3P7IX.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-5LGG5YSE.js";
|
|
18
18
|
import "../chunk-2EEUUSL7.js";
|
|
19
19
|
import "../chunk-EAPSQBFN.js";
|
|
20
20
|
import "../chunk-CCJUTN55.js";
|
package/js/mcp.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catalogCache,
|
|
3
3
|
catalogScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-55QLA7T7.js";
|
|
5
5
|
import {
|
|
6
6
|
protocolOperations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TTMRK64V.js";
|
|
8
8
|
import {
|
|
9
9
|
adaptMcpTool,
|
|
10
10
|
mcpClientEffect,
|
|
11
11
|
mcpHealthEffect
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2AI3RZXP.js";
|
|
13
13
|
import "./chunk-BCSNKUAC.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-VEQDEM6J.js";
|
|
15
15
|
import {
|
|
16
16
|
cacheKey
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7TDDMSZI.js";
|
|
18
18
|
import {
|
|
19
19
|
operationDescription
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-MVAS3VFK.js";
|
|
21
|
+
import "./chunk-V3HWVVFZ.js";
|
|
22
22
|
import "./chunk-SO33LZ7J.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-7ASLJHSD.js";
|
|
24
24
|
import {
|
|
25
25
|
nativeOperation,
|
|
26
26
|
routerDeclaration
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LOHZM4RK.js";
|
|
28
28
|
import {
|
|
29
29
|
fromPromise,
|
|
30
30
|
method
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GWAA3COO.js";
|
|
32
32
|
import {
|
|
33
33
|
McpCredentialsUnverified,
|
|
34
34
|
McpError,
|
|
35
35
|
McpServerHeader,
|
|
36
36
|
McpToolMetadata,
|
|
37
37
|
McpToolsOptions
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-7ZYZWLXS.js";
|
|
39
39
|
import "./chunk-EPZ3P7IX.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-5LGG5YSE.js";
|
|
41
41
|
import "./chunk-2EEUUSL7.js";
|
|
42
42
|
import "./chunk-EAPSQBFN.js";
|
|
43
43
|
import "./chunk-CCJUTN55.js";
|
package/js/openapi.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
protocolOperations,
|
|
10
10
|
protocolRouter
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TTMRK64V.js";
|
|
12
12
|
import {
|
|
13
13
|
OpenapiCompileError,
|
|
14
14
|
OpenapiCompileErrorCode,
|
|
@@ -29,15 +29,15 @@ import {
|
|
|
29
29
|
isOpenapiTextMedia,
|
|
30
30
|
openapiBinaryResultSchema,
|
|
31
31
|
openapiMediaKind
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MVAS3VFK.js";
|
|
33
33
|
import {
|
|
34
34
|
failOnNetworkRefusal
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-V3HWVVFZ.js";
|
|
36
36
|
import "./chunk-SO33LZ7J.js";
|
|
37
37
|
import {
|
|
38
38
|
nativeOperation,
|
|
39
39
|
routerDeclaration
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LOHZM4RK.js";
|
|
41
41
|
import {
|
|
42
42
|
accountProviderError,
|
|
43
43
|
bodyUpstreamError,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
providerErrorDetail,
|
|
48
48
|
statedUpstream,
|
|
49
49
|
toPromise
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-GWAA3COO.js";
|
|
51
51
|
import {
|
|
52
52
|
ApiErrorRecovery,
|
|
53
53
|
ApiErrorResponse,
|
|
@@ -58,14 +58,14 @@ import {
|
|
|
58
58
|
RouterMeta,
|
|
59
59
|
cacheLimits,
|
|
60
60
|
defaultOpenapiErrorLimits
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-7ZYZWLXS.js";
|
|
62
62
|
import "./chunk-EPZ3P7IX.js";
|
|
63
63
|
import {
|
|
64
64
|
jsonSchema,
|
|
65
65
|
lazyJsonSchemaDecoder,
|
|
66
66
|
once,
|
|
67
67
|
wrap
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-5LGG5YSE.js";
|
|
69
69
|
import {
|
|
70
70
|
owned
|
|
71
71
|
} from "./chunk-2EEUUSL7.js";
|
package/js/skills.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catalogCache,
|
|
3
3
|
catalogScope
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-55QLA7T7.js";
|
|
5
|
+
import "./chunk-7TDDMSZI.js";
|
|
6
6
|
import {
|
|
7
7
|
failOnNetworkRefusal
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V3HWVVFZ.js";
|
|
9
9
|
import {
|
|
10
10
|
folderSkillsEffect,
|
|
11
11
|
skillFromFiles
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
httpProviderError,
|
|
17
17
|
method,
|
|
18
18
|
toPromise
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GWAA3COO.js";
|
|
20
20
|
import {
|
|
21
21
|
NetworkRefused,
|
|
22
22
|
ProviderError,
|
|
23
23
|
networkRefusalStatus
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7ZYZWLXS.js";
|
|
25
25
|
import {
|
|
26
26
|
AppSkillMetadata,
|
|
27
27
|
AppSkillSource,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from "./chunk-EPZ3P7IX.js";
|
|
35
35
|
import {
|
|
36
36
|
wrap
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-5LGG5YSE.js";
|
|
38
38
|
import "./chunk-2EEUUSL7.js";
|
|
39
39
|
import {
|
|
40
40
|
FetchHttpClient_exports
|