apps 0.0.1-beta.142 → 0.0.1-beta.144
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/check-publish.mjs +0 -1
- package/framework-reference.json +1 -1
- package/js/{chunk-I6QAWNUM.js → chunk-2OGVSUNI.js} +2 -2
- package/js/{chunk-RIOLCZAV.js → chunk-455CCO6Q.js} +9 -17
- package/js/{chunk-W2C3IOZJ.js → chunk-5MEOL2SG.js} +32 -29
- package/js/{chunk-PQKQIH3T.js → chunk-6NRWFVK2.js} +10 -31
- package/js/{chunk-WZ36P57R.js → chunk-6OWHQINS.js} +11 -16
- package/js/{chunk-LSOHA2RH.js → chunk-6XBOKQ4E.js} +1 -1
- package/js/{chunk-H2K7OZ47.js → chunk-7A4ZSEM3.js} +1 -1
- package/js/{chunk-QTX7OUFH.js → chunk-A6FRLRCN.js} +2 -3
- package/js/{chunk-ZQVWMEH6.js → chunk-AFEMXP3F.js} +6 -7
- package/js/{chunk-Z5O7ON6S.js → chunk-B2PSDMZP.js} +2 -2
- package/js/{chunk-Q7PE4PLU.js → chunk-B4JN2A6F.js} +3 -3
- package/js/{chunk-VX36SA7Y.js → chunk-BHSWVS3Q.js} +1 -1
- package/js/{chunk-APPCHQHK.js → chunk-BU3UOD2T.js} +4 -4
- package/js/{chunk-HMYAZUNZ.js → chunk-EXL6F456.js} +6 -4
- package/js/{chunk-6QZVXLF2.js → chunk-INQON4A2.js} +2 -2
- package/js/{chunk-MB6L5YZE.js → chunk-IWLFLMIL.js} +1 -1
- package/js/{chunk-EKXBHVMR.js → chunk-JLHRRTRH.js} +8 -15
- package/js/{chunk-YFSOSNF3.js → chunk-NXEGROI6.js} +116 -116
- package/js/{chunk-ICIVU5SQ.js → chunk-OFSXKKD6.js} +27 -42
- package/js/{chunk-63DHI5Y4.js → chunk-QDF7PQAD.js} +6 -8
- package/js/{chunk-YVN2AMAU.js → chunk-QLUWYCOT.js} +2 -2
- package/js/{chunk-JH3MOQZR.js → chunk-T4MICYGT.js} +10 -51
- package/js/{chunk-OBT33ZDK.js → chunk-TMYRAFMC.js} +3 -3
- package/js/{chunk-2XDCAXAR.js → chunk-W6V5OIHB.js} +1 -1
- package/js/{chunk-34RH47V5.js → chunk-XR7KZNKD.js} +2 -2
- package/js/client.js +10 -15
- package/js/contracts.js +9 -7
- package/js/effect.js +18 -18
- package/js/graphql.js +20 -22
- package/js/host.js +18 -20
- package/js/index.js +14 -19
- package/js/mcp/effect.js +19 -19
- package/js/mcp.js +21 -21
- package/js/openapi.js +18 -25
- package/js/react.js +2 -2
- package/js/skills/effect.js +6 -6
- package/js/skills.js +21 -27
- package/js/ui/auth/contracts.js +2 -2
- package/js/ui/auth.js +5 -5
- package/js/ui/contracts.js +5 -5
- package/js/ui/serving.js +10 -10
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/app-cache/src/index.d.ts +1 -40
- package/types/app-data/src/contracts/database.d.ts +0 -21
- package/types/apps/src/contracts/host.d.ts +6 -0
- package/types/telemetry/src/app-records.d.ts +0 -24
- package/types/telemetry/src/browser-operations.d.ts +0 -8
- package/types/telemetry/src/browser-performance.d.ts +0 -2
- package/types/telemetry/src/browser-request-timing.d.ts +0 -1
- package/types/telemetry/src/browser.d.ts +0 -10
- package/types/telemetry/src/config.d.ts +0 -8
- package/types/telemetry/src/context.d.ts +0 -6
- package/types/telemetry/src/index.d.ts +0 -1
- package/types/telemetry/src/keepalive.d.ts +0 -44
- package/types/telemetry/src/layer.d.ts +0 -8
- package/types/telemetry/src/measurements.d.ts +0 -8
- package/types/telemetry/src/ownership.d.ts +0 -45
- package/types/telemetry/src/pending-span.d.ts +0 -2
- package/types/telemetry/src/recorded-failure.d.ts +0 -26
- package/types/telemetry/src/relay.d.ts +0 -29
- package/types/telemetry/src/span-attributes.d.ts +0 -38
- package/types/telemetry/src/trace-context.d.ts +0 -6
- package/types/telemetry/src/transport.d.ts +0 -10
- package/types/utils/src/api-error.d.ts +0 -22
- package/types/utils/src/connection-failure.d.ts +0 -10
- package/types/utils/src/random-uuid.d.ts +0 -5
- package/types/utils/src/recorded-message.d.ts +0 -15
- package/types/utils/src/schema-definitions.d.ts +0 -6
- package/types/utils/src/user-facing-error.d.ts +0 -19
package/js/effect.js
CHANGED
|
@@ -3,35 +3,35 @@ 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-
|
|
13
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OFSXKKD6.js";
|
|
7
|
+
import "./chunk-6NRWFVK2.js";
|
|
8
|
+
import "./chunk-6OWHQINS.js";
|
|
9
|
+
import "./chunk-B4JN2A6F.js";
|
|
10
|
+
import "./chunk-XR7KZNKD.js";
|
|
11
|
+
import "./chunk-QDF7PQAD.js";
|
|
12
|
+
import "./chunk-455CCO6Q.js";
|
|
13
|
+
import "./chunk-BU3UOD2T.js";
|
|
14
14
|
import {
|
|
15
15
|
ToolAnnotations
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-EXL6F456.js";
|
|
17
|
+
import "./chunk-A6FRLRCN.js";
|
|
18
18
|
import {
|
|
19
19
|
compileJsonSchemaDecoder,
|
|
20
20
|
decoderOf,
|
|
21
21
|
jsonSchemaDecoder,
|
|
22
22
|
wrap
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-JLHRRTRH.js";
|
|
24
|
+
import "./chunk-T4MICYGT.js";
|
|
25
|
+
import "./chunk-2OGVSUNI.js";
|
|
26
|
+
import "./chunk-6XBOKQ4E.js";
|
|
27
27
|
import {
|
|
28
28
|
HttpUrl,
|
|
29
29
|
JsonObject,
|
|
30
30
|
ValidationError
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-7A4ZSEM3.js";
|
|
32
|
+
import "./chunk-QLUWYCOT.js";
|
|
33
|
+
import "./chunk-IWLFLMIL.js";
|
|
34
|
+
import "./chunk-NXEGROI6.js";
|
|
35
35
|
import "./chunk-CZ7CSFO4.js";
|
|
36
36
|
export {
|
|
37
37
|
ApprovalDecision,
|
package/js/graphql.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catalogCache,
|
|
3
3
|
catalogScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AFEMXP3F.js";
|
|
5
5
|
import {
|
|
6
6
|
protocolOperations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B2PSDMZP.js";
|
|
8
8
|
import "./chunk-BCSNKUAC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-OFSXKKD6.js";
|
|
10
10
|
import {
|
|
11
11
|
cacheKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6NRWFVK2.js";
|
|
13
13
|
import {
|
|
14
14
|
GraphqlError,
|
|
15
15
|
GraphqlIntrospection,
|
|
@@ -20,48 +20,48 @@ import {
|
|
|
20
20
|
maxGraphqlStatedErrors,
|
|
21
21
|
maxGraphqlStatedExtensions,
|
|
22
22
|
maxGraphqlStatedFieldLength
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6OWHQINS.js";
|
|
24
24
|
import {
|
|
25
25
|
failOnNetworkRefusal
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-B4JN2A6F.js";
|
|
27
|
+
import "./chunk-XR7KZNKD.js";
|
|
28
|
+
import "./chunk-QDF7PQAD.js";
|
|
29
29
|
import {
|
|
30
30
|
nativeOperation,
|
|
31
31
|
routerDeclaration
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-455CCO6Q.js";
|
|
33
33
|
import {
|
|
34
34
|
accountProviderError,
|
|
35
35
|
boundStated,
|
|
36
36
|
graphqlProviderError,
|
|
37
37
|
httpProviderError
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-BU3UOD2T.js";
|
|
39
39
|
import {
|
|
40
40
|
FailureFieldName,
|
|
41
41
|
NetworkRefused,
|
|
42
42
|
ProviderError,
|
|
43
43
|
defaultOpenapiErrorLimits,
|
|
44
44
|
maxUpstreamMessageLength
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-EXL6F456.js";
|
|
46
|
+
import "./chunk-A6FRLRCN.js";
|
|
47
47
|
import {
|
|
48
48
|
jsonSchemaDecoder
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-JLHRRTRH.js";
|
|
50
50
|
import {
|
|
51
51
|
owned
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-T4MICYGT.js";
|
|
53
53
|
import {
|
|
54
54
|
FetchHttpClient_exports
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-2OGVSUNI.js";
|
|
56
|
+
import "./chunk-6XBOKQ4E.js";
|
|
57
57
|
import {
|
|
58
58
|
JsonObject
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-7A4ZSEM3.js";
|
|
60
|
+
import "./chunk-QLUWYCOT.js";
|
|
61
61
|
import {
|
|
62
62
|
HttpClientRequest_exports,
|
|
63
63
|
HttpClient_exports
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-IWLFLMIL.js";
|
|
65
65
|
import {
|
|
66
66
|
Effect_exports,
|
|
67
67
|
Option_exports,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
Result_exports,
|
|
71
71
|
Schema_exports,
|
|
72
72
|
Stream_exports
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-NXEGROI6.js";
|
|
74
74
|
import "./chunk-CZ7CSFO4.js";
|
|
75
75
|
|
|
76
76
|
// src/implementation/graphql.ts
|
|
@@ -271,7 +271,6 @@ var graphqlClientEffect = (input) => Effect_exports.gen(function* () {
|
|
|
271
271
|
const client = yield* HttpClient_exports.HttpClient;
|
|
272
272
|
const response = yield* HttpClient_exports.withScope(client).execute(
|
|
273
273
|
HttpClientRequest_exports.post(url.href).pipe(
|
|
274
|
-
// GitHub requires this header; Workers do not supply one by default.
|
|
275
274
|
HttpClientRequest_exports.setHeader("user-agent", "Executor"),
|
|
276
275
|
HttpClientRequest_exports.setHeaders(Redacted_exports.value(headers)),
|
|
277
276
|
HttpClientRequest_exports.bodyJsonUnsafe({ query, variables })
|
|
@@ -498,7 +497,6 @@ var graphqlCatalog = (options, kinds) => Effect_exports.gen(function* () {
|
|
|
498
497
|
name: tool.name,
|
|
499
498
|
description: tool.description,
|
|
500
499
|
readOnly: kindOf(tool) === "query",
|
|
501
|
-
// The app's `kinds`, or the GraphQL operation type Executor sends.
|
|
502
500
|
kindConfirmed: true
|
|
503
501
|
});
|
|
504
502
|
const describe = (tool) => ({
|
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-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-OFSXKKD6.js";
|
|
4
|
+
import "./chunk-6NRWFVK2.js";
|
|
5
|
+
import "./chunk-6OWHQINS.js";
|
|
6
|
+
import "./chunk-B4JN2A6F.js";
|
|
7
|
+
import "./chunk-XR7KZNKD.js";
|
|
8
|
+
import "./chunk-QDF7PQAD.js";
|
|
9
|
+
import "./chunk-455CCO6Q.js";
|
|
10
|
+
import "./chunk-BU3UOD2T.js";
|
|
11
11
|
import {
|
|
12
12
|
CacheCommand,
|
|
13
13
|
CacheError,
|
|
@@ -25,18 +25,18 @@ import {
|
|
|
25
25
|
WorkflowRun,
|
|
26
26
|
WorkflowRunId,
|
|
27
27
|
WorkflowRunPage
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-EXL6F456.js";
|
|
29
|
+
import "./chunk-A6FRLRCN.js";
|
|
30
|
+
import "./chunk-JLHRRTRH.js";
|
|
31
31
|
import {
|
|
32
32
|
collectTelemetry,
|
|
33
33
|
withRemoteSpan
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-T4MICYGT.js";
|
|
35
|
+
import "./chunk-2OGVSUNI.js";
|
|
36
|
+
import "./chunk-6XBOKQ4E.js";
|
|
37
|
+
import "./chunk-7A4ZSEM3.js";
|
|
38
|
+
import "./chunk-QLUWYCOT.js";
|
|
39
|
+
import "./chunk-IWLFLMIL.js";
|
|
40
40
|
import {
|
|
41
41
|
Cause_exports,
|
|
42
42
|
Clock_exports,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
Redacted_exports,
|
|
46
46
|
Scheduler_exports,
|
|
47
47
|
Schema_exports
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-NXEGROI6.js";
|
|
49
49
|
import "./chunk-CZ7CSFO4.js";
|
|
50
50
|
|
|
51
51
|
// src/implementation/cache-session.ts
|
|
@@ -270,8 +270,6 @@ var createIsolatedAppHandler = (app) => {
|
|
|
270
270
|
}),
|
|
271
271
|
{
|
|
272
272
|
signal: request.signal,
|
|
273
|
-
// workerd delivers timers in order. A scheduler timer outside a transaction
|
|
274
|
-
// can block timers inside its closed input gate; microtasks avoid that queue.
|
|
275
273
|
scheduler: new Scheduler_exports.MixedScheduler("sync")
|
|
276
274
|
}
|
|
277
275
|
);
|
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-QDF7PQAD.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-455CCO6Q.js";
|
|
27
27
|
import {
|
|
28
28
|
fromPromise
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BU3UOD2T.js";
|
|
30
30
|
import {
|
|
31
31
|
CacheError,
|
|
32
32
|
CalendarSchedule,
|
|
@@ -43,8 +43,8 @@ import {
|
|
|
43
43
|
ScheduleTiming,
|
|
44
44
|
SecretsMethod,
|
|
45
45
|
WorkflowFailure
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-EXL6F456.js";
|
|
47
|
+
import "./chunk-A6FRLRCN.js";
|
|
48
48
|
import {
|
|
49
49
|
array,
|
|
50
50
|
boolean,
|
|
@@ -63,21 +63,21 @@ import {
|
|
|
63
63
|
record,
|
|
64
64
|
string,
|
|
65
65
|
wrap
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-JLHRRTRH.js";
|
|
67
|
+
import "./chunk-T4MICYGT.js";
|
|
68
|
+
import "./chunk-2OGVSUNI.js";
|
|
69
|
+
import "./chunk-6XBOKQ4E.js";
|
|
70
70
|
import {
|
|
71
71
|
DeclarationInvalid,
|
|
72
72
|
JsonValue,
|
|
73
73
|
ValidationError
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
74
|
+
} from "./chunk-7A4ZSEM3.js";
|
|
75
|
+
import "./chunk-QLUWYCOT.js";
|
|
76
|
+
import "./chunk-IWLFLMIL.js";
|
|
77
77
|
import {
|
|
78
78
|
Effect_exports,
|
|
79
79
|
Schema_exports
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-NXEGROI6.js";
|
|
81
81
|
import "./chunk-CZ7CSFO4.js";
|
|
82
82
|
|
|
83
83
|
// src/implementation/http.ts
|
|
@@ -163,10 +163,7 @@ var appCron = (calendar, operation, input) => declaration("app", cronTiming(cale
|
|
|
163
163
|
|
|
164
164
|
// src/index.ts
|
|
165
165
|
var isFields = (value) => typeof value === "object" && value !== null && Object.values(value).every(isSchema);
|
|
166
|
-
var accountDecoder = (schema) => (
|
|
167
|
-
// SAFETY: the brand exists only in types; secret values are strings at runtime.
|
|
168
|
-
decoderOf(schema)
|
|
169
|
-
);
|
|
166
|
+
var accountDecoder = (schema) => decoderOf(schema);
|
|
170
167
|
var exposureOf = (schema) => {
|
|
171
168
|
const marked = "fields" in schema && isFields(schema.fields) ? fieldExposure(schema.fields) : {};
|
|
172
169
|
return Object.keys(marked).length === 0 ? {} : { exposure: marked };
|
|
@@ -186,7 +183,6 @@ var secrets2 = (options) => secrets({
|
|
|
186
183
|
...options.guide === void 0 ? {} : { guide: options.guide },
|
|
187
184
|
fields: accountDecoder(options.fields),
|
|
188
185
|
...exposureOf(options.fields),
|
|
189
|
-
// SAFETY: the callback receives references named by the schema's own keys.
|
|
190
186
|
...placementsOf(
|
|
191
187
|
`"${options.label}"`,
|
|
192
188
|
options.fields,
|
|
@@ -200,7 +196,6 @@ function oauth22(options) {
|
|
|
200
196
|
config,
|
|
201
197
|
accountDecoder(response),
|
|
202
198
|
exposureOf(response).exposure,
|
|
203
|
-
// SAFETY: the callback receives references named by the response projection's own keys.
|
|
204
199
|
placementsOf("OAuth", response, request).request,
|
|
205
200
|
clientGuide
|
|
206
201
|
)
|
package/js/mcp/effect.js
CHANGED
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
mcpClientEffect,
|
|
3
3
|
mcpHealthEffect,
|
|
4
4
|
mcpToolsEffect
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-5MEOL2SG.js";
|
|
6
6
|
import "../chunk-BCSNKUAC.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-OFSXKKD6.js";
|
|
8
|
+
import "../chunk-6NRWFVK2.js";
|
|
9
|
+
import "../chunk-6OWHQINS.js";
|
|
10
|
+
import "../chunk-B4JN2A6F.js";
|
|
11
|
+
import "../chunk-XR7KZNKD.js";
|
|
12
|
+
import "../chunk-QDF7PQAD.js";
|
|
13
|
+
import "../chunk-455CCO6Q.js";
|
|
14
|
+
import "../chunk-BU3UOD2T.js";
|
|
15
|
+
import "../chunk-EXL6F456.js";
|
|
16
|
+
import "../chunk-A6FRLRCN.js";
|
|
17
|
+
import "../chunk-JLHRRTRH.js";
|
|
18
|
+
import "../chunk-T4MICYGT.js";
|
|
19
|
+
import "../chunk-2OGVSUNI.js";
|
|
20
|
+
import "../chunk-6XBOKQ4E.js";
|
|
21
|
+
import "../chunk-7A4ZSEM3.js";
|
|
22
|
+
import "../chunk-QLUWYCOT.js";
|
|
23
|
+
import "../chunk-IWLFLMIL.js";
|
|
24
|
+
import "../chunk-NXEGROI6.js";
|
|
25
25
|
import "../chunk-CZ7CSFO4.js";
|
|
26
26
|
export {
|
|
27
27
|
mcpClientEffect,
|
package/js/mcp.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catalogCache,
|
|
3
3
|
catalogScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AFEMXP3F.js";
|
|
5
5
|
import {
|
|
6
6
|
protocolOperations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B2PSDMZP.js";
|
|
8
8
|
import {
|
|
9
9
|
adaptMcpTool,
|
|
10
10
|
mcpClientEffect,
|
|
11
11
|
mcpHealthEffect
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5MEOL2SG.js";
|
|
13
13
|
import "./chunk-BCSNKUAC.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-OFSXKKD6.js";
|
|
15
15
|
import {
|
|
16
16
|
cacheKey
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6NRWFVK2.js";
|
|
18
18
|
import {
|
|
19
19
|
operationDescription
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-6OWHQINS.js";
|
|
21
|
+
import "./chunk-B4JN2A6F.js";
|
|
22
|
+
import "./chunk-XR7KZNKD.js";
|
|
23
|
+
import "./chunk-QDF7PQAD.js";
|
|
24
24
|
import {
|
|
25
25
|
nativeOperation,
|
|
26
26
|
routerDeclaration
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-455CCO6Q.js";
|
|
28
28
|
import {
|
|
29
29
|
fromPromise,
|
|
30
30
|
method
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BU3UOD2T.js";
|
|
32
32
|
import {
|
|
33
33
|
McpCredentialsUnverified,
|
|
34
34
|
McpError,
|
|
35
35
|
McpServerHeader,
|
|
36
36
|
McpToolMetadata,
|
|
37
37
|
McpToolsOptions
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-EXL6F456.js";
|
|
39
|
+
import "./chunk-A6FRLRCN.js";
|
|
40
|
+
import "./chunk-JLHRRTRH.js";
|
|
41
|
+
import "./chunk-T4MICYGT.js";
|
|
42
|
+
import "./chunk-2OGVSUNI.js";
|
|
43
|
+
import "./chunk-6XBOKQ4E.js";
|
|
44
|
+
import "./chunk-7A4ZSEM3.js";
|
|
45
|
+
import "./chunk-QLUWYCOT.js";
|
|
46
|
+
import "./chunk-IWLFLMIL.js";
|
|
47
47
|
import {
|
|
48
48
|
Effect_exports,
|
|
49
49
|
Schema_exports
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-NXEGROI6.js";
|
|
51
51
|
import "./chunk-CZ7CSFO4.js";
|
|
52
52
|
|
|
53
53
|
// src/implementation/mcp-catalog.ts
|
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-B2PSDMZP.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-6OWHQINS.js";
|
|
33
33
|
import {
|
|
34
34
|
failOnNetworkRefusal
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-B4JN2A6F.js";
|
|
36
|
+
import "./chunk-XR7KZNKD.js";
|
|
37
37
|
import {
|
|
38
38
|
nativeOperation,
|
|
39
39
|
routerDeclaration
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-455CCO6Q.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-BU3UOD2T.js";
|
|
51
51
|
import {
|
|
52
52
|
ApiErrorRecovery,
|
|
53
53
|
ApiErrorResponse,
|
|
@@ -58,29 +58,29 @@ import {
|
|
|
58
58
|
RouterMeta,
|
|
59
59
|
cacheLimits,
|
|
60
60
|
defaultOpenapiErrorLimits
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-EXL6F456.js";
|
|
62
|
+
import "./chunk-A6FRLRCN.js";
|
|
63
63
|
import {
|
|
64
64
|
jsonSchema,
|
|
65
65
|
lazyJsonSchemaDecoder,
|
|
66
66
|
once,
|
|
67
67
|
wrap
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-JLHRRTRH.js";
|
|
69
69
|
import {
|
|
70
70
|
owned
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-T4MICYGT.js";
|
|
72
72
|
import {
|
|
73
73
|
FetchHttpClient_exports
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import "./chunk-
|
|
74
|
+
} from "./chunk-2OGVSUNI.js";
|
|
75
|
+
import "./chunk-6XBOKQ4E.js";
|
|
76
76
|
import {
|
|
77
77
|
JsonObject
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import "./chunk-
|
|
78
|
+
} from "./chunk-7A4ZSEM3.js";
|
|
79
|
+
import "./chunk-QLUWYCOT.js";
|
|
80
80
|
import {
|
|
81
81
|
HttpClientRequest_exports,
|
|
82
82
|
HttpClient_exports
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-IWLFLMIL.js";
|
|
84
84
|
import {
|
|
85
85
|
Base64_exports,
|
|
86
86
|
Clock_exports,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
SchemaIssue_exports,
|
|
96
96
|
Schema_exports,
|
|
97
97
|
Stream_exports
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-NXEGROI6.js";
|
|
99
99
|
import "./chunk-CZ7CSFO4.js";
|
|
100
100
|
|
|
101
101
|
// src/implementation/swagger-client.ts
|
|
@@ -1963,8 +1963,7 @@ var segments = (path) => (path.split(/[?#]/)[0] ?? path).split("/").map((segment
|
|
|
1963
1963
|
var resourceSegments = (path) => segments(path).filter(
|
|
1964
1964
|
(segment) => !version.test(segment) && segment.toLowerCase() !== "api" && !(segment.startsWith("{") && segment.endsWith("}")) && camel(segment) !== ""
|
|
1965
1965
|
);
|
|
1966
|
-
var groupOf = (input) => camel(input.tag ?? "") || camel(resourceSegments(input.path)[0] ?? "") ||
|
|
1967
|
-
"root";
|
|
1966
|
+
var groupOf = (input) => camel(input.tag ?? "") || camel(resourceSegments(input.path)[0] ?? "") || "root";
|
|
1968
1967
|
var fallbackLeaf = (input, group) => {
|
|
1969
1968
|
const resources = resourceSegments(input.path).map(camel);
|
|
1970
1969
|
const others = resources.filter((segment) => segment !== group);
|
|
@@ -2791,7 +2790,6 @@ var compileOpenApiDocument = (entry, inputDocument, options = {}) => {
|
|
|
2791
2790
|
fallback
|
|
2792
2791
|
};
|
|
2793
2792
|
},
|
|
2794
|
-
// Expected failures stay typed; anything else is a defect in the importer, not the definition.
|
|
2795
2793
|
catch: (error) => error instanceof OpenapiCompileError ? Exit_exports.fail(error) : Schema_exports.isSchemaError(error) ? Exit_exports.fail(
|
|
2796
2794
|
new OpenapiCompileError({
|
|
2797
2795
|
code: "invalid_document",
|
|
@@ -5567,10 +5565,7 @@ var download = (url, context) => Effect_exports.gen(function* () {
|
|
|
5567
5565
|
});
|
|
5568
5566
|
var sourceDocument = (options, context) => Effect_exports.gen(function* () {
|
|
5569
5567
|
return patchOpenapi(
|
|
5570
|
-
"url" in options.source ? yield* download(options.source.url, context) : (
|
|
5571
|
-
// A copy the compilation can own, as a tree.
|
|
5572
|
-
Schema_exports.decodeUnknownSync(JsonObject)(JSON.parse(JSON.stringify(options.source.document)))
|
|
5573
|
-
),
|
|
5568
|
+
"url" in options.source ? yield* download(options.source.url, context) : Schema_exports.decodeUnknownSync(JsonObject)(JSON.parse(JSON.stringify(options.source.document))),
|
|
5574
5569
|
options.patches
|
|
5575
5570
|
);
|
|
5576
5571
|
});
|
|
@@ -5912,7 +5907,6 @@ var liveOpenapiRouter = (options) => {
|
|
|
5912
5907
|
name: operation.name,
|
|
5913
5908
|
description: operation.description,
|
|
5914
5909
|
readOnly: readOnly(operation),
|
|
5915
|
-
// The app's `kinds`, or the HTTP method Executor sends.
|
|
5916
5910
|
kindConfirmed: true,
|
|
5917
5911
|
...operation.tags === void 0 ? {} : { tags: operation.tags }
|
|
5918
5912
|
});
|
|
@@ -6056,7 +6050,6 @@ var openapiRouter = (options, kinds = {}) => Effect_exports.runPromise(
|
|
|
6056
6050
|
var openapiOperationNames = (document) => Effect_exports.runPromise(
|
|
6057
6051
|
Effect_exports.suspend(
|
|
6058
6052
|
() => compiledOperationNames(
|
|
6059
|
-
// A copy the reader can own, as a tree.
|
|
6060
6053
|
Schema_exports.decodeUnknownSync(JsonObject)(JSON.parse(JSON.stringify(document)))
|
|
6061
6054
|
)
|
|
6062
6055
|
)
|
package/js/react.js
CHANGED
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
AsyncResult_exports,
|
|
3
3
|
AtomRegistry_exports,
|
|
4
4
|
queryCommitted
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W6V5OIHB.js";
|
|
6
6
|
import {
|
|
7
7
|
Option_exports
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NXEGROI6.js";
|
|
9
9
|
import "./chunk-CZ7CSFO4.js";
|
|
10
10
|
|
|
11
11
|
// src/react.ts
|
package/js/skills/effect.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
folderSkillsEffect,
|
|
3
3
|
skillFromFiles
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-XR7KZNKD.js";
|
|
5
|
+
import "../chunk-A6FRLRCN.js";
|
|
6
|
+
import "../chunk-6XBOKQ4E.js";
|
|
7
|
+
import "../chunk-QLUWYCOT.js";
|
|
8
|
+
import "../chunk-IWLFLMIL.js";
|
|
9
|
+
import "../chunk-NXEGROI6.js";
|
|
10
10
|
import "../chunk-CZ7CSFO4.js";
|
|
11
11
|
export {
|
|
12
12
|
folderSkillsEffect,
|