apps 0.0.1-beta.86 → 0.0.1-beta.88
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-3ZHRJYP5.js → chunk-3K3VA76C.js} +2 -2
- package/js/{chunk-BLM5MCKC.js → chunk-6YMYQSTQ.js} +2 -2
- package/js/{chunk-3FHDX4KB.js → chunk-A3HPRNJC.js} +20 -1
- package/js/{chunk-CJ5F6UDG.js → chunk-EVTBFNHI.js} +10 -9
- package/js/{chunk-BKK5HKJL.js → chunk-EXARUCNH.js} +3 -3
- package/js/{chunk-LNNDKHO6.js → chunk-FIVMUILF.js} +8 -3
- package/js/{chunk-F52NGWRV.js → chunk-FVYCYTYL.js} +2 -2
- package/js/{chunk-HODA4JY6.js → chunk-Q4WQMUEO.js} +3 -3
- package/js/{chunk-WUPLD4VN.js → chunk-S22ADZID.js} +38 -1
- package/js/{chunk-YOGK42MH.js → chunk-XBHWCCNB.js} +1 -1
- package/js/client.js +1 -1
- package/js/contracts.js +7 -1
- package/js/effect.js +7 -7
- package/js/graphql.js +9 -9
- package/js/host.js +7 -7
- package/js/index.js +4 -4
- package/js/mcp/effect.js +8 -8
- package/js/mcp.js +10 -10
- package/js/openapi.js +5 -5
- package/js/skills.js +3 -3
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/apps/src/contracts/app.d.ts +2 -0
- package/types/apps/src/contracts/context.d.ts +6 -0
- package/types/apps/src/contracts/host.d.ts +1 -0
- package/types/apps/src/contracts/icons.d.ts +28 -0
- package/types/apps/src/contracts/protocols/current.d.ts +14 -0
- package/types/apps/src/implementation/router-catalog.d.ts +3 -3
- package/types/apps/src/index.d.ts +1 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fixedRouter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EXARUCNH.js";
|
|
4
4
|
import {
|
|
5
5
|
nativeOperation,
|
|
6
6
|
operationDeclaration,
|
|
7
7
|
routerDeclaration
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6YMYQSTQ.js";
|
|
9
9
|
|
|
10
10
|
// src/implementation/protocol-operations.ts
|
|
11
11
|
var protocolOperations = (operations, kinds = {}) => {
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
RouterKey,
|
|
7
7
|
RouterMeta,
|
|
8
8
|
reservedRouterKeys
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-S22ADZID.js";
|
|
10
10
|
import {
|
|
11
11
|
decoderOf,
|
|
12
12
|
schemaArgument
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A3HPRNJC.js";
|
|
14
14
|
import {
|
|
15
15
|
Effect_exports,
|
|
16
16
|
Schema_exports
|
|
@@ -62,6 +62,19 @@ function escapePointer(p) {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
// ../../node_modules/.bun/@cfworker+json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/dereference.js
|
|
65
|
+
var schemaKeyword = {
|
|
66
|
+
additionalItems: true,
|
|
67
|
+
unevaluatedItems: true,
|
|
68
|
+
items: true,
|
|
69
|
+
contains: true,
|
|
70
|
+
additionalProperties: true,
|
|
71
|
+
unevaluatedProperties: true,
|
|
72
|
+
propertyNames: true,
|
|
73
|
+
not: true,
|
|
74
|
+
if: true,
|
|
75
|
+
then: true,
|
|
76
|
+
else: true
|
|
77
|
+
};
|
|
65
78
|
var schemaArrayKeyword = {
|
|
66
79
|
prefixItems: true,
|
|
67
80
|
items: true,
|
|
@@ -175,8 +188,14 @@ function dereference(schema, lookup = /* @__PURE__ */ Object.create(null), baseU
|
|
|
175
188
|
for (let subKey in subSchema) {
|
|
176
189
|
dereference(subSchema[subKey], lookup, baseURI, `${keyBase}/${encodePointer(subKey)}`);
|
|
177
190
|
}
|
|
178
|
-
} else {
|
|
191
|
+
} else if (schemaKeyword[key]) {
|
|
179
192
|
dereference(subSchema, lookup, baseURI, keyBase);
|
|
193
|
+
} else if (key === "dependencies" && subSchema && typeof subSchema === "object") {
|
|
194
|
+
for (let subKey in subSchema) {
|
|
195
|
+
if (!Array.isArray(subSchema[subKey])) {
|
|
196
|
+
dereference(subSchema[subKey], lookup, baseURI, `${keyBase}/${encodePointer(subKey)}`);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
180
199
|
}
|
|
181
200
|
}
|
|
182
201
|
return lookup;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
authorCache,
|
|
3
3
|
unavailableCache
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XBHWCCNB.js";
|
|
5
5
|
import {
|
|
6
6
|
accountSecrets,
|
|
7
7
|
boundFailureMessage,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
parseSkillLoadFailed,
|
|
13
13
|
readCatalog,
|
|
14
14
|
routerSkills
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EXARUCNH.js";
|
|
16
16
|
import {
|
|
17
17
|
appInvocationFetch
|
|
18
18
|
} from "./chunk-I6Q7ZPKJ.js";
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
makeEmitter,
|
|
27
27
|
toEffectApp,
|
|
28
28
|
withPlacements
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FIVMUILF.js";
|
|
30
30
|
import {
|
|
31
31
|
declaredOperations,
|
|
32
32
|
locate,
|
|
33
33
|
nativeOperation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-6YMYQSTQ.js";
|
|
35
35
|
import {
|
|
36
36
|
accountProviderError,
|
|
37
37
|
appCode,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
reservedTablePrefix,
|
|
92
92
|
sqlBindingsLimit,
|
|
93
93
|
workflowDurationMillis
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-S22ADZID.js";
|
|
95
95
|
import {
|
|
96
96
|
AppSkills,
|
|
97
97
|
SkillFile
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
missingKeyText,
|
|
109
109
|
objectShape,
|
|
110
110
|
unionShape
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-A3HPRNJC.js";
|
|
112
112
|
import {
|
|
113
113
|
captureTelemetry,
|
|
114
114
|
makeOwnershipAccounting,
|
|
@@ -1153,7 +1153,7 @@ function providerDeclaration(provider) {
|
|
|
1153
1153
|
`Account provider "${provider.name}" has an invalid declaration`
|
|
1154
1154
|
);
|
|
1155
1155
|
}
|
|
1156
|
-
function requirements(slots, sql, events) {
|
|
1156
|
+
function requirements(slots, sql, events, icons) {
|
|
1157
1157
|
return Effect_exports.gen(function* () {
|
|
1158
1158
|
const accounts = /* @__PURE__ */ new Map();
|
|
1159
1159
|
for (const [slot, selection] of Object.entries(slots)) {
|
|
@@ -1173,7 +1173,8 @@ function requirements(slots, sql, events) {
|
|
|
1173
1173
|
() => declaredEvents(events),
|
|
1174
1174
|
"The app's event declarations are invalid"
|
|
1175
1175
|
)
|
|
1176
|
-
}
|
|
1176
|
+
},
|
|
1177
|
+
...icons === void 0 ? {} : { icons }
|
|
1177
1178
|
}).pipe(
|
|
1178
1179
|
Effect_exports.mapError(
|
|
1179
1180
|
(cause) => declarationInvalid("The app's account declarations are invalid", cause)
|
|
@@ -1293,7 +1294,7 @@ function dispatch(app, request, context, signal, emitted) {
|
|
|
1293
1294
|
const native = toEffectApp(app);
|
|
1294
1295
|
const secrets = accountSecrets(context.accounts);
|
|
1295
1296
|
const ownsSql = hasMigrations(context.files ?? []);
|
|
1296
|
-
const declared = yield* requirements(native.accounts, ownsSql, native.events);
|
|
1297
|
+
const declared = yield* requirements(native.accounts, ownsSql, native.events, native.icons);
|
|
1297
1298
|
if (request.operation === "requirements")
|
|
1298
1299
|
return yield* safe2(
|
|
1299
1300
|
() => Schema_exports.decodeUnknownEffect(JsonValue)(declared),
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
joinPath,
|
|
6
6
|
mergeMeta
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6YMYQSTQ.js";
|
|
8
8
|
import {
|
|
9
9
|
isShortenedUpstream,
|
|
10
10
|
parseProviderError,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
McpError,
|
|
22
22
|
McpError2,
|
|
23
23
|
SkillLoadFailed as SkillLoadFailed2
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-S22ADZID.js";
|
|
25
25
|
import {
|
|
26
26
|
CacheError,
|
|
27
27
|
FailureCode,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-H72MEDMN.js";
|
|
41
41
|
import {
|
|
42
42
|
jsonSchemaDocument
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-A3HPRNJC.js";
|
|
44
44
|
import {
|
|
45
45
|
AccountId,
|
|
46
46
|
HttpUrl,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
declaredOperations,
|
|
3
3
|
nativeOperation,
|
|
4
4
|
nativeRouter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6YMYQSTQ.js";
|
|
6
6
|
import {
|
|
7
7
|
fromPromise,
|
|
8
8
|
method
|
|
@@ -12,17 +12,18 @@ import {
|
|
|
12
12
|
EventName,
|
|
13
13
|
Placement,
|
|
14
14
|
ScheduleTiming,
|
|
15
|
+
appIconsProblem,
|
|
15
16
|
defaultEventLimits,
|
|
16
17
|
normalizePlacements,
|
|
17
18
|
placementFields,
|
|
18
19
|
renderPlacement
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-S22ADZID.js";
|
|
20
21
|
import {
|
|
21
22
|
decoderOf,
|
|
22
23
|
isSchema,
|
|
23
24
|
jsonSchemaDocument,
|
|
24
25
|
schemaArgument
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-A3HPRNJC.js";
|
|
26
27
|
import {
|
|
27
28
|
JsonValue
|
|
28
29
|
} from "./chunk-H2CJWXA3.js";
|
|
@@ -393,9 +394,13 @@ var defineApp = (requirements, definition) => {
|
|
|
393
394
|
return [name, native2];
|
|
394
395
|
})
|
|
395
396
|
);
|
|
397
|
+
const iconsProblem = requirements.icons === void 0 ? void 0 : appIconsProblem(requirements.icons);
|
|
398
|
+
if (iconsProblem !== void 0)
|
|
399
|
+
throw new TypeError(`The app's icons are invalid: ${iconsProblem}`);
|
|
396
400
|
const native = {
|
|
397
401
|
accounts: requirements.accounts,
|
|
398
402
|
...events === void 0 ? {} : { events },
|
|
403
|
+
...requirements.icons === void 0 || requirements.icons.length === 0 ? {} : { icons: requirements.icons },
|
|
399
404
|
evaluate: (context) => factory(context).pipe(Effect_exports.map((value2) => adaptDefinition(value2)))
|
|
400
405
|
};
|
|
401
406
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getWithReads
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XBHWCCNB.js";
|
|
4
4
|
import {
|
|
5
5
|
fromPromise,
|
|
6
6
|
method,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-Q4IZAUIF.js";
|
|
12
12
|
import {
|
|
13
13
|
wrap
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-A3HPRNJC.js";
|
|
15
15
|
import {
|
|
16
16
|
JsonObject
|
|
17
17
|
} from "./chunk-H2CJWXA3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prepareElicitation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EVTBFNHI.js";
|
|
4
4
|
import {
|
|
5
5
|
failOnNetworkRefusal
|
|
6
6
|
} from "./chunk-I6Q7ZPKJ.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
defaultMcpClientLimits,
|
|
27
27
|
mcpHealthReserveMs,
|
|
28
28
|
mcpSdkTimerCeilingMs
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-S22ADZID.js";
|
|
30
30
|
import {
|
|
31
31
|
NetworkRefused,
|
|
32
32
|
ProviderError
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
jsonSchemaDecoder,
|
|
36
36
|
nestJsonSchema,
|
|
37
37
|
preparedJsonSchemaDecoder
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-A3HPRNJC.js";
|
|
39
39
|
import {
|
|
40
40
|
captureTelemetry,
|
|
41
41
|
owned
|
|
@@ -2100,6 +2100,37 @@ var EmittedEvents = Schema_exports.Array(EmittedEvent).check(
|
|
|
2100
2100
|
Schema_exports.isMaxLength(defaultEventLimits.maxEventsPerInvocation)
|
|
2101
2101
|
);
|
|
2102
2102
|
|
|
2103
|
+
// src/contracts/icons.ts
|
|
2104
|
+
var appIconLimits = { icons: 8, characters: 32 * 1024 };
|
|
2105
|
+
var appIconSource = /^(?:data:image\/(?:svg\+xml|png|webp|jpeg);base64,[A-Za-z0-9+/]*={0,2}|https:\/\/\S+)$/u;
|
|
2106
|
+
var AppIcon = Schema_exports.Struct({
|
|
2107
|
+
...RouterIcon.fields,
|
|
2108
|
+
src: Schema_exports.String.check(
|
|
2109
|
+
Schema_exports.isPattern(appIconSource),
|
|
2110
|
+
Schema_exports.isMaxLength(appIconLimits.characters)
|
|
2111
|
+
)
|
|
2112
|
+
});
|
|
2113
|
+
var AppIcons = Schema_exports.Array(AppIcon).check(
|
|
2114
|
+
Schema_exports.isMaxLength(appIconLimits.icons),
|
|
2115
|
+
Schema_exports.makeFilter((icons) => JSON.stringify(icons).length <= appIconLimits.characters, {
|
|
2116
|
+
message: `An app's icons total at most ${appIconLimits.characters} characters`
|
|
2117
|
+
})
|
|
2118
|
+
);
|
|
2119
|
+
var appIconsProblem = (icons) => {
|
|
2120
|
+
if (!Array.isArray(icons)) return "icons must be an array of { src, mimeType?, sizes?, theme? }";
|
|
2121
|
+
if (icons.length > appIconLimits.icons)
|
|
2122
|
+
return `An app declares at most ${appIconLimits.icons} icons; this one declares ${icons.length}`;
|
|
2123
|
+
for (const [index, icon] of icons.entries()) {
|
|
2124
|
+
const src = typeof icon === "object" && icon !== null ? icon.src : void 0;
|
|
2125
|
+
if (typeof src !== "string" || !appIconSource.test(src))
|
|
2126
|
+
return `icons[${index}].src must be a base64 data:image/svg+xml, image/png, image/webp or image/jpeg URI, or an https: URL`;
|
|
2127
|
+
}
|
|
2128
|
+
const size = JSON.stringify(icons).length;
|
|
2129
|
+
if (size > appIconLimits.characters)
|
|
2130
|
+
return `An app's icons total at most 32 KiB; these take ${Math.ceil(size / 1024)} KiB`;
|
|
2131
|
+
return Schema_exports.is(AppIcons)(icons) ? void 0 : 'Each icon is { src, mimeType?: string, sizes?: string[], theme?: "light" | "dark" }';
|
|
2132
|
+
};
|
|
2133
|
+
|
|
2103
2134
|
// src/contracts/placement.ts
|
|
2104
2135
|
var PlacementField = Schema_exports.Struct({ field: Schema_exports.NonEmptyString });
|
|
2105
2136
|
var PlacementText = Schema_exports.Union([Schema_exports.String, PlacementField]);
|
|
@@ -4007,7 +4038,9 @@ var DeclaredRequirements6 = Schema_exports.Struct({
|
|
|
4007
4038
|
/** The build has SQL files in `migrations/` and owns a raw SQLite database. */
|
|
4008
4039
|
sql: Schema_exports.optionalKey(Schema_exports.Literal(true)),
|
|
4009
4040
|
/** The events the app declares, so a host lists them without evaluating the app. */
|
|
4010
|
-
events: Schema_exports.optionalKey(DeclaredEvents)
|
|
4041
|
+
events: Schema_exports.optionalKey(DeclaredEvents),
|
|
4042
|
+
/** The icons the app declares, so a host shows them without evaluating the app. */
|
|
4043
|
+
icons: Schema_exports.optionalKey(AppIcons)
|
|
4011
4044
|
});
|
|
4012
4045
|
var ResolvedAccount4 = Schema_exports.Struct({
|
|
4013
4046
|
id: AccountId,
|
|
@@ -4436,6 +4469,10 @@ export {
|
|
|
4436
4469
|
DeclaredEvents,
|
|
4437
4470
|
EmittedEvent,
|
|
4438
4471
|
EmittedEvents,
|
|
4472
|
+
appIconLimits,
|
|
4473
|
+
AppIcon,
|
|
4474
|
+
AppIcons,
|
|
4475
|
+
appIconsProblem,
|
|
4439
4476
|
frameworkProtocol,
|
|
4440
4477
|
protocol1,
|
|
4441
4478
|
protocol2,
|
package/js/client.js
CHANGED
package/js/contracts.js
CHANGED
|
@@ -3,6 +3,8 @@ import {
|
|
|
3
3
|
AccountCheckResult,
|
|
4
4
|
AccountInfo,
|
|
5
5
|
ApiErrorResponse,
|
|
6
|
+
AppIcon,
|
|
7
|
+
AppIcons,
|
|
6
8
|
ApprovalElicitation,
|
|
7
9
|
ApprovalResponse,
|
|
8
10
|
CalendarSchedule,
|
|
@@ -113,6 +115,7 @@ import {
|
|
|
113
115
|
WorkflowRunPage,
|
|
114
116
|
WorkflowStepOptions,
|
|
115
117
|
WorkflowValue,
|
|
118
|
+
appIconLimits,
|
|
116
119
|
approvalElicitation,
|
|
117
120
|
current,
|
|
118
121
|
defaultElicitationLimits,
|
|
@@ -146,7 +149,7 @@ import {
|
|
|
146
149
|
skillCatalog,
|
|
147
150
|
skillsCommand,
|
|
148
151
|
workflowDurationMillis
|
|
149
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-S22ADZID.js";
|
|
150
153
|
import {
|
|
151
154
|
FailureCode,
|
|
152
155
|
FailureDetail,
|
|
@@ -197,6 +200,8 @@ export {
|
|
|
197
200
|
AccountId,
|
|
198
201
|
AccountInfo,
|
|
199
202
|
ApiErrorResponse,
|
|
203
|
+
AppIcon,
|
|
204
|
+
AppIcons,
|
|
200
205
|
AppSkillMetadata,
|
|
201
206
|
AppSkillName,
|
|
202
207
|
AppSkillSource,
|
|
@@ -330,6 +335,7 @@ export {
|
|
|
330
335
|
WorkflowRunPage,
|
|
331
336
|
WorkflowStepOptions,
|
|
332
337
|
WorkflowValue,
|
|
338
|
+
appIconLimits,
|
|
333
339
|
approvalElicitation,
|
|
334
340
|
defaultElicitationLimits,
|
|
335
341
|
defaultEventLimits,
|
package/js/effect.js
CHANGED
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
ApprovalDecision,
|
|
4
4
|
createAppHandler,
|
|
5
5
|
prepareElicitation
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-EVTBFNHI.js";
|
|
7
|
+
import "./chunk-XBHWCCNB.js";
|
|
8
|
+
import "./chunk-EXARUCNH.js";
|
|
9
9
|
import "./chunk-I6Q7ZPKJ.js";
|
|
10
10
|
import "./chunk-XBG7HHXC.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-FIVMUILF.js";
|
|
12
|
+
import "./chunk-6YMYQSTQ.js";
|
|
13
13
|
import "./chunk-W6XCQAXP.js";
|
|
14
14
|
import {
|
|
15
15
|
ToolAnnotations
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-S22ADZID.js";
|
|
17
17
|
import "./chunk-Q4IZAUIF.js";
|
|
18
18
|
import "./chunk-H72MEDMN.js";
|
|
19
19
|
import {
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
decoderOf,
|
|
22
22
|
jsonSchemaDecoder,
|
|
23
23
|
wrap
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-A3HPRNJC.js";
|
|
25
25
|
import "./chunk-QWQM3CLH.js";
|
|
26
26
|
import "./chunk-PD6I2SDG.js";
|
|
27
27
|
import "./chunk-5FHWNLCI.js";
|
package/js/graphql.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catalogCache,
|
|
3
3
|
catalogScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FVYCYTYL.js";
|
|
5
5
|
import {
|
|
6
6
|
protocolOperations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3K3VA76C.js";
|
|
8
8
|
import "./chunk-BCSNKUAC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-EVTBFNHI.js";
|
|
10
10
|
import {
|
|
11
11
|
cacheKey
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-XBHWCCNB.js";
|
|
13
|
+
import "./chunk-EXARUCNH.js";
|
|
14
14
|
import {
|
|
15
15
|
failOnNetworkRefusal
|
|
16
16
|
} from "./chunk-I6Q7ZPKJ.js";
|
|
17
17
|
import "./chunk-XBG7HHXC.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-FIVMUILF.js";
|
|
19
19
|
import {
|
|
20
20
|
nativeOperation,
|
|
21
21
|
routerDeclaration
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6YMYQSTQ.js";
|
|
23
23
|
import {
|
|
24
24
|
accountProviderError,
|
|
25
25
|
graphqlProviderError,
|
|
26
26
|
httpProviderError
|
|
27
27
|
} from "./chunk-W6XCQAXP.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-S22ADZID.js";
|
|
29
29
|
import {
|
|
30
30
|
NetworkRefused,
|
|
31
31
|
ProviderError
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import "./chunk-H72MEDMN.js";
|
|
34
34
|
import {
|
|
35
35
|
jsonSchemaDecoder
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-A3HPRNJC.js";
|
|
37
37
|
import {
|
|
38
38
|
owned
|
|
39
39
|
} from "./chunk-QWQM3CLH.js";
|
package/js/host.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAppHandler
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-EVTBFNHI.js";
|
|
4
|
+
import "./chunk-XBHWCCNB.js";
|
|
5
|
+
import "./chunk-EXARUCNH.js";
|
|
6
6
|
import "./chunk-I6Q7ZPKJ.js";
|
|
7
7
|
import "./chunk-XBG7HHXC.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-FIVMUILF.js";
|
|
9
|
+
import "./chunk-6YMYQSTQ.js";
|
|
10
10
|
import "./chunk-W6XCQAXP.js";
|
|
11
11
|
import {
|
|
12
12
|
ElicitationFailed,
|
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
WorkflowRun,
|
|
23
23
|
WorkflowRunId,
|
|
24
24
|
WorkflowRunPage
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-S22ADZID.js";
|
|
26
26
|
import {
|
|
27
27
|
CacheCommand,
|
|
28
28
|
CacheError,
|
|
29
29
|
CacheReply
|
|
30
30
|
} from "./chunk-Q4IZAUIF.js";
|
|
31
31
|
import "./chunk-H72MEDMN.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-A3HPRNJC.js";
|
|
33
33
|
import {
|
|
34
34
|
collectTelemetry,
|
|
35
35
|
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-FIVMUILF.js";
|
|
15
15
|
import {
|
|
16
16
|
dynamicRouter,
|
|
17
17
|
mutation,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
toolAnnotations,
|
|
26
26
|
withApproval,
|
|
27
27
|
withApprovals
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6YMYQSTQ.js";
|
|
29
29
|
import {
|
|
30
30
|
accountProviderError,
|
|
31
31
|
fromPromise
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
ScheduleTiming,
|
|
45
45
|
SecretsMethod,
|
|
46
46
|
WorkflowFailure
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-S22ADZID.js";
|
|
48
48
|
import {
|
|
49
49
|
CacheError,
|
|
50
50
|
FetchOptionUnsupported,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
string,
|
|
74
74
|
withLazyJsonSchemaDocument,
|
|
75
75
|
wrap
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-A3HPRNJC.js";
|
|
77
77
|
import "./chunk-QWQM3CLH.js";
|
|
78
78
|
import "./chunk-PD6I2SDG.js";
|
|
79
79
|
import "./chunk-5FHWNLCI.js";
|
package/js/mcp/effect.js
CHANGED
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
mcpClientEffect,
|
|
3
3
|
mcpHealthEffect,
|
|
4
4
|
mcpToolsEffect
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-Q4WQMUEO.js";
|
|
6
6
|
import "../chunk-BCSNKUAC.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-EVTBFNHI.js";
|
|
8
|
+
import "../chunk-XBHWCCNB.js";
|
|
9
|
+
import "../chunk-EXARUCNH.js";
|
|
10
10
|
import "../chunk-I6Q7ZPKJ.js";
|
|
11
11
|
import "../chunk-XBG7HHXC.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-FIVMUILF.js";
|
|
13
|
+
import "../chunk-6YMYQSTQ.js";
|
|
14
14
|
import "../chunk-W6XCQAXP.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-S22ADZID.js";
|
|
16
16
|
import "../chunk-Q4IZAUIF.js";
|
|
17
17
|
import "../chunk-H72MEDMN.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-A3HPRNJC.js";
|
|
19
19
|
import "../chunk-QWQM3CLH.js";
|
|
20
20
|
import "../chunk-PD6I2SDG.js";
|
|
21
21
|
import "../chunk-5FHWNLCI.js";
|
package/js/mcp.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catalogCache,
|
|
3
3
|
catalogScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FVYCYTYL.js";
|
|
5
5
|
import {
|
|
6
6
|
protocolOperations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3K3VA76C.js";
|
|
8
8
|
import {
|
|
9
9
|
adaptMcpTool,
|
|
10
10
|
mcpClientEffect,
|
|
11
11
|
mcpHealthEffect
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Q4WQMUEO.js";
|
|
13
13
|
import "./chunk-BCSNKUAC.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-EVTBFNHI.js";
|
|
15
15
|
import {
|
|
16
16
|
cacheKey
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XBHWCCNB.js";
|
|
18
18
|
import {
|
|
19
19
|
operationDescription
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EXARUCNH.js";
|
|
21
21
|
import "./chunk-I6Q7ZPKJ.js";
|
|
22
22
|
import "./chunk-XBG7HHXC.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-FIVMUILF.js";
|
|
24
24
|
import {
|
|
25
25
|
nativeOperation,
|
|
26
26
|
routerDeclaration
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-6YMYQSTQ.js";
|
|
28
28
|
import {
|
|
29
29
|
fromPromise,
|
|
30
30
|
method
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
McpServerHeader,
|
|
36
36
|
McpToolMetadata,
|
|
37
37
|
McpToolsOptions
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-S22ADZID.js";
|
|
39
39
|
import "./chunk-Q4IZAUIF.js";
|
|
40
40
|
import "./chunk-H72MEDMN.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-A3HPRNJC.js";
|
|
42
42
|
import "./chunk-QWQM3CLH.js";
|
|
43
43
|
import "./chunk-PD6I2SDG.js";
|
|
44
44
|
import "./chunk-5FHWNLCI.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-3K3VA76C.js";
|
|
12
12
|
import {
|
|
13
13
|
OpenapiCompileError,
|
|
14
14
|
OpenapiCompileErrorCode,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
isOpenapiTextMedia,
|
|
30
30
|
openapiBinaryResultSchema,
|
|
31
31
|
openapiMediaKind
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-EXARUCNH.js";
|
|
33
33
|
import {
|
|
34
34
|
failOnNetworkRefusal
|
|
35
35
|
} from "./chunk-I6Q7ZPKJ.js";
|
|
@@ -37,7 +37,7 @@ import "./chunk-XBG7HHXC.js";
|
|
|
37
37
|
import {
|
|
38
38
|
nativeOperation,
|
|
39
39
|
routerDeclaration
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-6YMYQSTQ.js";
|
|
41
41
|
import {
|
|
42
42
|
accountProviderError,
|
|
43
43
|
bodyUpstreamError,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
OpenapiResponseError,
|
|
54
54
|
RouterMeta,
|
|
55
55
|
defaultOpenapiErrorLimits
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-S22ADZID.js";
|
|
57
57
|
import {
|
|
58
58
|
NetworkRefused,
|
|
59
59
|
ProviderError,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
lazyJsonSchemaDecoder,
|
|
66
66
|
once,
|
|
67
67
|
wrap
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-A3HPRNJC.js";
|
|
69
69
|
import {
|
|
70
70
|
owned
|
|
71
71
|
} from "./chunk-QWQM3CLH.js";
|
package/js/skills.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catalogCache,
|
|
3
3
|
catalogScope
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-FVYCYTYL.js";
|
|
5
|
+
import "./chunk-XBHWCCNB.js";
|
|
6
6
|
import {
|
|
7
7
|
failOnNetworkRefusal
|
|
8
8
|
} from "./chunk-I6Q7ZPKJ.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from "./chunk-H72MEDMN.js";
|
|
35
35
|
import {
|
|
36
36
|
wrap
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-A3HPRNJC.js";
|
|
38
38
|
import "./chunk-QWQM3CLH.js";
|
|
39
39
|
import {
|
|
40
40
|
FetchHttpClient_exports
|