apps 0.0.1-beta.41 → 0.0.1-beta.42

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.
Files changed (51) hide show
  1. package/framework-reference.json +1 -1
  2. package/js/{chunk-AHGGO2VY.js → chunk-47BLLMRQ.js} +15 -14
  3. package/js/{chunk-ZUKBIHMK.js → chunk-4ZTVLEN6.js} +3 -3
  4. package/js/{chunk-JI3EP2GL.js → chunk-5GLC42LK.js} +35 -26
  5. package/js/{chunk-DKUEYTYD.js → chunk-74YVXBKY.js} +1 -1
  6. package/js/{chunk-RIXVGVA6.js → chunk-AQU56EPI.js} +9 -5
  7. package/js/{chunk-KAQD3DTI.js → chunk-EG72MSVK.js} +1 -1
  8. package/js/{chunk-TT6OU4UG.js → chunk-EJUK2NK5.js} +2 -2
  9. package/js/{chunk-EM4UL26F.js → chunk-EMHFXFTJ.js} +3 -3
  10. package/js/{chunk-YQ35E7KS.js → chunk-H2CJWXA3.js} +1 -1
  11. package/js/{chunk-MXDKXAY4.js → chunk-IFJU5SYQ.js} +10 -0
  12. package/js/{chunk-MJZYV7IO.js → chunk-ILYK7BQG.js} +3 -3
  13. package/js/{chunk-CQD3WSYH.js → chunk-IN2WIN7I.js} +2 -2
  14. package/js/{chunk-NKWWPJYX.js → chunk-JPEUKEV4.js} +1 -1
  15. package/js/{chunk-UOZMSUJ2.js → chunk-KBIKBWSS.js} +5 -3
  16. package/js/{chunk-WPBR4AWB.js → chunk-KGCTYL2S.js} +2 -2
  17. package/js/{chunk-VIU2XXA7.js → chunk-KSGYJV46.js} +2 -2
  18. package/js/{chunk-ADD6H64X.js → chunk-KTPKTBKZ.js} +9 -9
  19. package/js/{chunk-3MMG2H6M.js → chunk-LNSVJS2Q.js} +1 -1
  20. package/js/{chunk-6XGB4BAL.js → chunk-MSDGZ7FA.js} +9 -9
  21. package/js/{chunk-P7MGDPFD.js → chunk-MWKHKOTL.js} +2 -2
  22. package/js/{chunk-VJQXXOQ3.js → chunk-MZH4J2PO.js} +2 -2
  23. package/js/{chunk-OTCLXFLL.js → chunk-OBXHQNWC.js} +5 -5
  24. package/js/{chunk-FXWRE655.js → chunk-RIKH5H2X.js} +7 -7
  25. package/js/{chunk-KIM5HXNK.js → chunk-T65AFHU3.js} +3 -3
  26. package/js/{chunk-PNVCCB4L.js → chunk-VU6GQ2SH.js} +4 -4
  27. package/js/{chunk-JJSLEJ6T.js → chunk-XSD3RZFX.js} +5 -5
  28. package/js/{chunk-UTJIGUSS.js → chunk-Z3S2IVI3.js} +2 -2
  29. package/js/client.js +10 -10
  30. package/js/contracts.js +8 -8
  31. package/js/effect.js +19 -19
  32. package/js/graphql.js +21 -21
  33. package/js/host.js +19 -19
  34. package/js/index.js +12 -12
  35. package/js/mcp/effect.js +21 -21
  36. package/js/mcp/stdio.js +21 -21
  37. package/js/mcp.js +23 -23
  38. package/js/openapi.js +17 -17
  39. package/js/react.js +2 -2
  40. package/js/skills/effect.js +6 -6
  41. package/js/skills.js +50 -23
  42. package/js/ui/auth/contracts.js +2 -2
  43. package/js/ui/auth.js +5 -5
  44. package/js/ui/contracts.js +5 -5
  45. package/js/ui/serving.js +10 -10
  46. package/package.json +1 -1
  47. package/runtime.json +1 -1
  48. package/types/app-cache/src/index.d.ts +10 -1
  49. package/types/apps/src/contracts/cache.d.ts +6 -0
  50. package/types/apps/src/contracts/skills.d.ts +12 -5
  51. package/types/apps/src/implementation/catalog-cache.d.ts +12 -1
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeCache
3
- } from "./chunk-RIXVGVA6.js";
3
+ } from "./chunk-AQU56EPI.js";
4
4
  import {
5
5
  accountSecrets,
6
6
  boundFailureMessage,
@@ -11,30 +11,30 @@ import {
11
11
  parseSkillLoadFailed,
12
12
  readCatalog,
13
13
  routerSkills
14
- } from "./chunk-ADD6H64X.js";
14
+ } from "./chunk-KTPKTBKZ.js";
15
15
  import {
16
16
  appInvocationFetch
17
- } from "./chunk-KIM5HXNK.js";
17
+ } from "./chunk-T65AFHU3.js";
18
18
  import {
19
19
  folderSkillsEffect
20
- } from "./chunk-CQD3WSYH.js";
20
+ } from "./chunk-IN2WIN7I.js";
21
21
  import {
22
22
  ResponseStatusError,
23
23
  isApp,
24
24
  toEffectApp
25
- } from "./chunk-JJSLEJ6T.js";
25
+ } from "./chunk-XSD3RZFX.js";
26
26
  import {
27
27
  declaredOperations,
28
28
  fromPromise,
29
29
  locate,
30
30
  nativeOperation,
31
31
  toPromise
32
- } from "./chunk-MJZYV7IO.js";
32
+ } from "./chunk-ILYK7BQG.js";
33
33
  import {
34
34
  accountProviderError,
35
35
  httpProviderError,
36
36
  parseProviderError
37
- } from "./chunk-EM4UL26F.js";
37
+ } from "./chunk-EMHFXFTJ.js";
38
38
  import {
39
39
  AccountCheckResult,
40
40
  DeclaredProvider,
@@ -83,17 +83,17 @@ import {
83
83
  migrationsDirectory,
84
84
  reservedTablePrefix,
85
85
  workflowDurationMillis
86
- } from "./chunk-OTCLXFLL.js";
86
+ } from "./chunk-OBXHQNWC.js";
87
87
  import {
88
88
  CacheError
89
- } from "./chunk-P7MGDPFD.js";
89
+ } from "./chunk-MWKHKOTL.js";
90
90
  import {
91
91
  AppSkills,
92
92
  SkillFile
93
- } from "./chunk-UOZMSUJ2.js";
93
+ } from "./chunk-KBIKBWSS.js";
94
94
  import {
95
95
  captureTelemetry
96
- } from "./chunk-PNVCCB4L.js";
96
+ } from "./chunk-VU6GQ2SH.js";
97
97
  import {
98
98
  allowedValues,
99
99
  decoderOf,
@@ -107,11 +107,11 @@ import {
107
107
  missingKeyText,
108
108
  objectShape,
109
109
  unionShape
110
- } from "./chunk-WPBR4AWB.js";
110
+ } from "./chunk-KGCTYL2S.js";
111
111
  import {
112
112
  JsonObject,
113
113
  JsonValue
114
- } from "./chunk-YQ35E7KS.js";
114
+ } from "./chunk-H2CJWXA3.js";
115
115
  import {
116
116
  Base64_exports,
117
117
  Cause_exports,
@@ -124,7 +124,7 @@ import {
124
124
  SchemaIssue_exports,
125
125
  Schema_exports,
126
126
  Stream_exports
127
- } from "./chunk-MXDKXAY4.js";
127
+ } from "./chunk-IFJU5SYQ.js";
128
128
 
129
129
  // src/implementation/elicitation.ts
130
130
  var prepareElicitation = (input) => Effect_exports.gen(function* () {
@@ -967,6 +967,7 @@ var authorCache = (host, accounts, signal, deadline) => {
967
967
  schema: decoderOf(options.schema),
968
968
  freshFor: options.freshFor,
969
969
  ...options.staleFor === void 0 ? {} : { staleFor: options.staleFor },
970
+ ...options.stale === void 0 ? {} : { stale: options.stale },
970
971
  load: Effect_exports.acquireUseRelease(
971
972
  Effect_exports.sync(() => new AbortController()),
972
973
  (controller) => appInvocationFetch(controller.signal).pipe(
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  JsonValue
3
- } from "./chunk-YQ35E7KS.js";
3
+ } from "./chunk-H2CJWXA3.js";
4
4
  import {
5
5
  HttpApiEndpoint_exports,
6
6
  HttpApiGroup_exports,
7
7
  HttpApiSchema_exports,
8
8
  HttpApi_exports
9
- } from "./chunk-VIU2XXA7.js";
9
+ } from "./chunk-KSGYJV46.js";
10
10
  import {
11
11
  Schema_exports
12
- } from "./chunk-MXDKXAY4.js";
12
+ } from "./chunk-IFJU5SYQ.js";
13
13
 
14
14
  // src/contracts/ui.ts
15
15
  var UiContext = Schema_exports.Struct({
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  CacheError
3
- } from "./chunk-P7MGDPFD.js";
3
+ } from "./chunk-MWKHKOTL.js";
4
4
  import {
5
5
  wrap
6
- } from "./chunk-WPBR4AWB.js";
6
+ } from "./chunk-KGCTYL2S.js";
7
7
  import {
8
8
  JsonObject
9
- } from "./chunk-YQ35E7KS.js";
9
+ } from "./chunk-H2CJWXA3.js";
10
10
  import {
11
11
  Duration_exports,
12
12
  Effect_exports,
13
13
  Schema_exports
14
- } from "./chunk-MXDKXAY4.js";
14
+ } from "./chunk-IFJU5SYQ.js";
15
15
 
16
16
  // src/implementation/catalog-cache.ts
17
17
  var catalogScope = (options, credential, invalid) => {
@@ -45,8 +45,37 @@ var catalogCache = (options) => Effect_exports.gen(function* () {
45
45
  const staleFor = options.staleFor ?? "1 day";
46
46
  const retention = Duration_exports.toMillis(Duration_exports.fromInputUnsafe(freshFor)) + Duration_exports.toMillis(Duration_exports.fromInputUnsafe(staleFor)) + 3e5;
47
47
  const local = yield* Effect_exports.cached(options.load());
48
+ const pages = (cache2, revision, kind, count, decoder) => Effect_exports.gen(function* () {
49
+ const batches = yield* Effect_exports.forEach(
50
+ Array.from({ length: Math.ceil(count / 4) }, (_, batch) => batch * 4),
51
+ (offset) => invoke(
52
+ () => cache2.readMany(
53
+ Array.from(
54
+ { length: Math.min(4, count - offset) },
55
+ (_, index) => part(revision, kind, offset + index)
56
+ ),
57
+ schema(Schema_exports.Array(decoder))
58
+ )
59
+ ),
60
+ { concurrency: "unbounded" }
61
+ );
62
+ const values = [];
63
+ for (const page of batches.flat()) {
64
+ if (page === void 0) return yield* new CacheError({ reason: "unavailable" });
65
+ values.push(...page);
66
+ }
67
+ return values;
68
+ });
69
+ const kept = (cache2) => invoke(() => cache2.read(key, schema(Manifest))).pipe(
70
+ Effect_exports.map(
71
+ (manifest) => manifest === void 0 ? void 0 : {
72
+ header: manifest.header,
73
+ tools: pages(cache2, manifest.revision, "page", manifest.pages, options.schema)
74
+ }
75
+ )
76
+ );
48
77
  const refresh = (context) => Effect_exports.gen(function* () {
49
- const { tools, header } = yield* options.load(context);
78
+ const { tools, header } = yield* options.load(context, kept(context.cache));
50
79
  const digest = yield* invoke(
51
80
  () => crypto.subtle.digest(
52
81
  "SHA-256",
@@ -130,6 +159,7 @@ var catalogCache = (options) => Effect_exports.gen(function* () {
130
159
  schema: schema(Manifest),
131
160
  freshFor,
132
161
  staleFor,
162
+ ...options.stale === void 0 ? {} : { stale: options.stale },
133
163
  load: (context) => Effect_exports.runPromise(refresh(context), { signal: context.signal })
134
164
  };
135
165
  let reading;
@@ -142,27 +172,6 @@ var catalogCache = (options) => Effect_exports.gen(function* () {
142
172
  if (cache === void 0) yield* local;
143
173
  else yield* invoke(() => cache.revalidate(getOptions));
144
174
  }
145
- const pages = (cache2, revision, kind, count, decoder) => Effect_exports.gen(function* () {
146
- const batches = yield* Effect_exports.forEach(
147
- Array.from({ length: Math.ceil(count / 4) }, (_, batch) => batch * 4),
148
- (offset) => invoke(
149
- () => cache2.readMany(
150
- Array.from(
151
- { length: Math.min(4, count - offset) },
152
- (_, index) => part(revision, kind, offset + index)
153
- ),
154
- schema(Schema_exports.Array(decoder))
155
- )
156
- ),
157
- { concurrency: "unbounded" }
158
- );
159
- const values = [];
160
- for (const page of batches.flat()) {
161
- if (page === void 0) return yield* new CacheError({ reason: "unavailable" });
162
- values.push(...page);
163
- }
164
- return values;
165
- });
166
175
  const metadata = () => Effect_exports.gen(function* () {
167
176
  if (cache === void 0) return (yield* local).tools;
168
177
  const manifest = yield* current();
@@ -162,7 +162,7 @@ import {
162
162
  void_2,
163
163
  whileLoop,
164
164
  zipRight
165
- } from "./chunk-MXDKXAY4.js";
165
+ } from "./chunk-IFJU5SYQ.js";
166
166
  import {
167
167
  __export
168
168
  } from "./chunk-CZ7CSFO4.js";
@@ -3,14 +3,14 @@ import {
3
3
  CacheEntry,
4
4
  CacheError,
5
5
  cacheLimits
6
- } from "./chunk-P7MGDPFD.js";
6
+ } from "./chunk-MWKHKOTL.js";
7
7
  import {
8
8
  Clock_exports,
9
9
  Duration_exports,
10
10
  Effect_exports,
11
11
  Exit_exports,
12
12
  Schema_exports
13
- } from "./chunk-MXDKXAY4.js";
13
+ } from "./chunk-IFJU5SYQ.js";
14
14
 
15
15
  // ../app-cache/src/index.ts
16
16
  var canonical = (value) => {
@@ -111,13 +111,14 @@ var makeCache = (host, background, scope = "shared", deadline) => {
111
111
  yield* Effect_exports.annotateCurrentSpan("cache.result", "fresh");
112
112
  return yield* decode(entry.value);
113
113
  }
114
- if (!refresh && entry !== null && now < entry.staleUntil) {
114
+ const kept = !refresh && entry !== null && now < entry.staleUntil;
115
+ if (kept && options.stale !== "revalidate") {
115
116
  yield* Effect_exports.annotateCurrentSpan("cache.result", "stale");
116
117
  if (lease !== null) yield* background(load(lease).pipe(Effect_exports.asVoid));
117
118
  return yield* decode(entry.value);
118
119
  }
119
120
  if (lease !== null) {
120
- yield* Effect_exports.annotateCurrentSpan("cache.result", "miss");
121
+ yield* Effect_exports.annotateCurrentSpan("cache.result", kept ? "revalidated" : "miss");
121
122
  return yield* load(lease);
122
123
  }
123
124
  if (now >= waitUntil) {
@@ -159,7 +160,10 @@ var makeCache = (host, background, scope = "shared", deadline) => {
159
160
  Effect_exports.flatMap((key2) => transport({ operation: "invalidate", key: key2 })),
160
161
  Effect_exports.asVoid
161
162
  ),
162
- /** Read fresh data, refresh stale data in the background, or wait for the lease owner. */
163
+ /**
164
+ * Read fresh data, refresh stale data in the background (or first, with `stale: "revalidate"`),
165
+ * or wait for the lease owner.
166
+ */
163
167
  get: (options) => get(options, false),
164
168
  /** Force one awaited refresh without removing the retained value. Concurrent refreshes share a load. */
165
169
  revalidate: (options) => get(options, true)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Predicate_exports
3
- } from "./chunk-MXDKXAY4.js";
3
+ } from "./chunk-IFJU5SYQ.js";
4
4
 
5
5
  // ../utils/src/recorded-message.ts
6
6
  var RecordedMessage = /* @__PURE__ */ Symbol.for("@executor-js/utils/RecordedMessage");
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  appSignInCallbackPath
3
- } from "./chunk-NKWWPJYX.js";
3
+ } from "./chunk-JPEUKEV4.js";
4
4
  import {
5
5
  HttpServerResponse_exports
6
- } from "./chunk-3MMG2H6M.js";
6
+ } from "./chunk-LNSVJS2Q.js";
7
7
 
8
8
  // src/implementation/ui-auth.ts
9
9
  var appPrivateHeaders = {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  ProviderError,
3
3
  maxUpstreamMessageLength
4
- } from "./chunk-P7MGDPFD.js";
4
+ } from "./chunk-MWKHKOTL.js";
5
5
  import {
6
6
  AccountId
7
- } from "./chunk-YQ35E7KS.js";
7
+ } from "./chunk-H2CJWXA3.js";
8
8
  import {
9
9
  Option_exports,
10
10
  Schema_exports
11
- } from "./chunk-MXDKXAY4.js";
11
+ } from "./chunk-IFJU5SYQ.js";
12
12
 
13
13
  // src/implementation/upstream-error.ts
14
14
  var ErrorToken = Schema_exports.String.check(Schema_exports.isPattern(/^[A-Za-z0-9._-]{1,128}$/u));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Schema_exports
3
- } from "./chunk-MXDKXAY4.js";
3
+ } from "./chunk-IFJU5SYQ.js";
4
4
 
5
5
  // src/contracts/schema.ts
6
6
  var JsonValue = Schema_exports.Json;
@@ -3345,6 +3345,15 @@ __export(Tracer_exports, {
3345
3345
  nativeTracer: () => nativeTracer
3346
3346
  });
3347
3347
 
3348
+ // ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/encoding/Hex.js
3349
+ var Hex_exports = {};
3350
+ __export(Hex_exports, {
3351
+ decode: () => decode,
3352
+ decodeString: () => decodeString,
3353
+ encode: () => encode,
3354
+ random: () => random2
3355
+ });
3356
+
3348
3357
  // ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/Data.js
3349
3358
  var Data_exports = {};
3350
3359
  __export(Data_exports, {
@@ -30786,6 +30795,7 @@ export {
30786
30795
  TaggedError2 as TaggedError,
30787
30796
  Data_exports,
30788
30797
  random2 as random,
30798
+ Hex_exports,
30789
30799
  make7 as make,
30790
30800
  externalSpan,
30791
30801
  DisablePropagation,
@@ -3,15 +3,15 @@ import {
3
3
  RouterKey,
4
4
  RouterMeta,
5
5
  reservedRouterKeys
6
- } from "./chunk-OTCLXFLL.js";
6
+ } from "./chunk-OBXHQNWC.js";
7
7
  import {
8
8
  decoderOf,
9
9
  schemaArgument
10
- } from "./chunk-WPBR4AWB.js";
10
+ } from "./chunk-KGCTYL2S.js";
11
11
  import {
12
12
  Effect_exports,
13
13
  Schema_exports
14
- } from "./chunk-MXDKXAY4.js";
14
+ } from "./chunk-IFJU5SYQ.js";
15
15
 
16
16
  // src/implementation/authoring.ts
17
17
  var NativeCallback = /* @__PURE__ */ Symbol("apps.NativeCallback");
@@ -5,11 +5,11 @@ import {
5
5
  SkillDefinitionInvalid,
6
6
  SkillFile,
7
7
  SkillFilePath
8
- } from "./chunk-UOZMSUJ2.js";
8
+ } from "./chunk-KBIKBWSS.js";
9
9
  import {
10
10
  Effect_exports,
11
11
  Schema_exports
12
- } from "./chunk-MXDKXAY4.js";
12
+ } from "./chunk-IFJU5SYQ.js";
13
13
 
14
14
  // src/implementation/skill-files.ts
15
15
  var skillFromFiles = (input, source = {}) => Effect_exports.gen(function* () {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Schema_exports
3
- } from "./chunk-MXDKXAY4.js";
3
+ } from "./chunk-IFJU5SYQ.js";
4
4
 
5
5
  // src/contracts/ui-auth.ts
6
6
  var AppSignInId = Schema_exports.String.check(Schema_exports.isPattern(/^[a-f0-9]{64}$/u)).pipe(
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  RecordedMessage
3
- } from "./chunk-KAQD3DTI.js";
3
+ } from "./chunk-EG72MSVK.js";
4
4
  import {
5
5
  SchemaGetter_exports,
6
6
  Schema_exports
7
- } from "./chunk-MXDKXAY4.js";
7
+ } from "./chunk-IFJU5SYQ.js";
8
8
 
9
9
  // ../utils/src/api-error.ts
10
10
  var MessageField = Schema_exports.String.pipe(
@@ -138,7 +138,9 @@ var skillLoadLimits = {
138
138
  files: 1e3,
139
139
  fileBytes: 2e6,
140
140
  totalBytes: 2e7,
141
- concurrency: 8
141
+ concurrency: 8,
142
+ /** The request that checks whether a kept catalog's publication changed. */
143
+ checkMillis: 5e3
142
144
  };
143
145
 
144
146
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  JsonObject,
3
3
  ValidationError
4
- } from "./chunk-YQ35E7KS.js";
4
+ } from "./chunk-H2CJWXA3.js";
5
5
  import {
6
6
  Cause_exports,
7
7
  Effect_exports,
@@ -10,7 +10,7 @@ import {
10
10
  SchemaIssue_exports,
11
11
  SchemaParser_exports,
12
12
  Schema_exports
13
- } from "./chunk-MXDKXAY4.js";
13
+ } from "./chunk-IFJU5SYQ.js";
14
14
 
15
15
  // ../../node_modules/.bun/@cfworker+json-schema@4.1.1/node_modules/@cfworker/json-schema/dist/esm/deep-compare-strict.js
16
16
  function deepCompareStrict(a, b) {
@@ -19,7 +19,7 @@ import {
19
19
  text,
20
20
  uint8Array,
21
21
  urlParams
22
- } from "./chunk-3MMG2H6M.js";
22
+ } from "./chunk-LNSVJS2Q.js";
23
23
  import {
24
24
  Cause,
25
25
  Defect,
@@ -114,7 +114,7 @@ import {
114
114
  transformEffect,
115
115
  transformPull,
116
116
  void_2 as void_
117
- } from "./chunk-MXDKXAY4.js";
117
+ } from "./chunk-IFJU5SYQ.js";
118
118
  import {
119
119
  __export
120
120
  } from "./chunk-CZ7CSFO4.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  skillFromFiles
3
- } from "./chunk-CQD3WSYH.js";
3
+ } from "./chunk-IN2WIN7I.js";
4
4
  import {
5
5
  joinPath,
6
6
  mergeMeta
7
- } from "./chunk-MJZYV7IO.js";
7
+ } from "./chunk-ILYK7BQG.js";
8
8
  import {
9
9
  isShortenedUpstream,
10
10
  parseProviderError,
11
11
  providerError
12
- } from "./chunk-EM4UL26F.js";
12
+ } from "./chunk-EMHFXFTJ.js";
13
13
  import {
14
14
  ApiErrorResponse,
15
15
  HostDeclarationInvalid,
@@ -21,7 +21,7 @@ import {
21
21
  McpError,
22
22
  McpError2,
23
23
  SkillLoadFailed as SkillLoadFailed2
24
- } from "./chunk-OTCLXFLL.js";
24
+ } from "./chunk-OBXHQNWC.js";
25
25
  import {
26
26
  CacheError,
27
27
  FailureCode,
@@ -32,19 +32,19 @@ import {
32
32
  maxFailureFields,
33
33
  maxFailureMessageLength,
34
34
  maxUpstreamMessageLength
35
- } from "./chunk-P7MGDPFD.js";
35
+ } from "./chunk-MWKHKOTL.js";
36
36
  import {
37
37
  SkillLoadFailed,
38
38
  skillFormatLimits
39
- } from "./chunk-UOZMSUJ2.js";
39
+ } from "./chunk-KBIKBWSS.js";
40
40
  import {
41
41
  jsonSchemaDocument
42
- } from "./chunk-WPBR4AWB.js";
42
+ } from "./chunk-KGCTYL2S.js";
43
43
  import {
44
44
  AccountId,
45
45
  HttpUrl,
46
46
  JsonObject
47
- } from "./chunk-YQ35E7KS.js";
47
+ } from "./chunk-H2CJWXA3.js";
48
48
  import {
49
49
  Cause_exports,
50
50
  Effect_exports,
@@ -54,7 +54,7 @@ import {
54
54
  Redacted_exports,
55
55
  Result_exports,
56
56
  Schema_exports
57
- } from "./chunk-MXDKXAY4.js";
57
+ } from "./chunk-IFJU5SYQ.js";
58
58
 
59
59
  // src/contracts/openapi.ts
60
60
  var OpenapiErrorResponse = Schema_exports.Struct({
@@ -211,7 +211,7 @@ import {
211
211
  withFiber,
212
212
  withParentSpan,
213
213
  zero2 as zero
214
- } from "./chunk-MXDKXAY4.js";
214
+ } from "./chunk-IFJU5SYQ.js";
215
215
  import {
216
216
  __export
217
217
  } from "./chunk-CZ7CSFO4.js";
@@ -3,16 +3,16 @@ import {
3
3
  answeredError,
4
4
  mcpClient,
5
5
  mcpJsonSchemaValidator
6
- } from "./chunk-FXWRE655.js";
6
+ } from "./chunk-RIKH5H2X.js";
7
7
  import {
8
8
  failOnNetworkRefusal
9
- } from "./chunk-KIM5HXNK.js";
9
+ } from "./chunk-T65AFHU3.js";
10
10
  import {
11
11
  accountProviderError,
12
12
  bodyUpstreamError,
13
13
  httpProviderError,
14
14
  providerErrorDetail
15
- } from "./chunk-EM4UL26F.js";
15
+ } from "./chunk-EMHFXFTJ.js";
16
16
  import {
17
17
  McpCredentialsUnverified,
18
18
  McpError,
@@ -20,21 +20,21 @@ import {
20
20
  McpToolsOptions,
21
21
  defaultMcpClientLimits,
22
22
  mcpHealthReserveMs
23
- } from "./chunk-OTCLXFLL.js";
23
+ } from "./chunk-OBXHQNWC.js";
24
24
  import {
25
25
  NetworkRefused,
26
26
  ProviderError
27
- } from "./chunk-P7MGDPFD.js";
27
+ } from "./chunk-MWKHKOTL.js";
28
28
  import {
29
29
  captureTelemetry
30
- } from "./chunk-PNVCCB4L.js";
30
+ } from "./chunk-VU6GQ2SH.js";
31
31
  import {
32
32
  FetchHttpClient_exports
33
- } from "./chunk-VJQXXOQ3.js";
33
+ } from "./chunk-MZH4J2PO.js";
34
34
  import {
35
35
  HttpClientRequest_exports,
36
36
  HttpClient_exports
37
- } from "./chunk-3MMG2H6M.js";
37
+ } from "./chunk-LNSVJS2Q.js";
38
38
  import {
39
39
  Clock_exports,
40
40
  Deferred_exports,
@@ -46,7 +46,7 @@ import {
46
46
  Ref_exports,
47
47
  Schema_exports,
48
48
  Stream_exports
49
- } from "./chunk-MXDKXAY4.js";
49
+ } from "./chunk-IFJU5SYQ.js";
50
50
 
51
51
  // src/implementation/mcp.ts
52
52
  import { UnauthorizedError } from "@modelcontextprotocol/sdk/client/auth.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AccountId
3
- } from "./chunk-YQ35E7KS.js";
3
+ } from "./chunk-H2CJWXA3.js";
4
4
  import {
5
5
  Schema_exports
6
- } from "./chunk-MXDKXAY4.js";
6
+ } from "./chunk-IFJU5SYQ.js";
7
7
 
8
8
  // src/contracts/failure.ts
9
9
  var maxFailureMessageLength = 2048;
@@ -4,7 +4,7 @@ import {
4
4
  fromWeb,
5
5
  layerMergedContext,
6
6
  make2 as make
7
- } from "./chunk-3MMG2H6M.js";
7
+ } from "./chunk-LNSVJS2Q.js";
8
8
  import {
9
9
  Reference,
10
10
  Service,
@@ -17,7 +17,7 @@ import {
17
17
  succeed4 as succeed,
18
18
  toReadableStreamEffect,
19
19
  tryPromise
20
- } from "./chunk-MXDKXAY4.js";
20
+ } from "./chunk-IFJU5SYQ.js";
21
21
  import {
22
22
  __export
23
23
  } from "./chunk-CZ7CSFO4.js";
@@ -8,20 +8,20 @@ import {
8
8
  FailureSource,
9
9
  ProviderError,
10
10
  UpstreamError
11
- } from "./chunk-P7MGDPFD.js";
11
+ } from "./chunk-MWKHKOTL.js";
12
12
  import {
13
13
  AppSkillName,
14
14
  AppSkills
15
- } from "./chunk-UOZMSUJ2.js";
15
+ } from "./chunk-KBIKBWSS.js";
16
16
  import {
17
17
  RecordedMessage
18
- } from "./chunk-KAQD3DTI.js";
18
+ } from "./chunk-EG72MSVK.js";
19
19
  import {
20
20
  AccountId,
21
21
  HttpUrl,
22
22
  JsonObject as JsonObject2,
23
23
  JsonValue
24
- } from "./chunk-YQ35E7KS.js";
24
+ } from "./chunk-H2CJWXA3.js";
25
25
  import {
26
26
  Any,
27
27
  ArraySchema,
@@ -76,7 +76,7 @@ import {
76
76
  transformOptional,
77
77
  withConstructorDefault,
78
78
  withDefault
79
- } from "./chunk-MXDKXAY4.js";
79
+ } from "./chunk-IFJU5SYQ.js";
80
80
 
81
81
  // src/contracts/api-response-error.ts
82
82
  var maxApiErrorInstructionsLength = 4096;