apps 0.0.1-beta.126 → 0.0.1-beta.127

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 (46) hide show
  1. package/framework-reference.json +1 -1
  2. package/js/{chunk-7TDDMSZI.js → chunk-2XVGONUX.js} +6 -6
  3. package/js/{chunk-V3HWVVFZ.js → chunk-3CDTMIVU.js} +3 -3
  4. package/js/{chunk-7ASLJHSD.js → chunk-3II7MIAQ.js} +6 -6
  5. package/js/{chunk-3KNB4HRA.js → chunk-53GRY7ZE.js} +3 -3
  6. package/js/{chunk-7ZYZWLXS.js → chunk-5CMAHXQD.js} +60 -61
  7. package/js/{chunk-VXBCDIWD.js → chunk-5H5IO2NZ.js} +778 -213
  8. package/js/{chunk-2AI3RZXP.js → chunk-5WCWPY23.js} +10 -10
  9. package/js/{chunk-MJUHAHDG.js → chunk-67DM7ASO.js} +2 -2
  10. package/js/{chunk-QUFLMMTG.js → chunk-DJNOADLI.js} +182 -61
  11. package/js/{chunk-KJW5IPM4.js → chunk-FXJUHTFE.js} +1 -1
  12. package/js/{chunk-VEQDEM6J.js → chunk-J3CZECVS.js} +13 -13
  13. package/js/{chunk-SO33LZ7J.js → chunk-KKKUQPWD.js} +2 -2
  14. package/js/{chunk-CCJUTN55.js → chunk-LC6YCEVL.js} +1 -1
  15. package/js/chunk-N7HXZNBD.js +161 -0
  16. package/js/{chunk-5TYZML5C.js → chunk-NGL6EJL6.js} +1775 -626
  17. package/js/{chunk-2EEUUSL7.js → chunk-NMSQJSBM.js} +308 -331
  18. package/js/{chunk-TTMRK64V.js → chunk-O46YT2VS.js} +2 -2
  19. package/js/{chunk-5LGG5YSE.js → chunk-PZBT2QO5.js} +2 -2
  20. package/js/{chunk-U2GHFWX2.js → chunk-QYHUNAWH.js} +7415 -3500
  21. package/js/{chunk-EPZ3P7IX.js → chunk-SA7FJGUX.js} +2 -2
  22. package/js/{chunk-LOHZM4RK.js → chunk-UJWZMRV6.js} +5 -5
  23. package/js/{chunk-MVAS3VFK.js → chunk-V2TAC4IJ.js} +8 -8
  24. package/js/{chunk-NCOPALJZ.js → chunk-WE4FZOSH.js} +1 -1
  25. package/js/{chunk-GWAA3COO.js → chunk-ZU2ECYYF.js} +4 -4
  26. package/js/{chunk-55QLA7T7.js → chunk-ZU77L7HU.js} +6 -6
  27. package/js/client.js +10 -10
  28. package/js/contracts.js +7 -7
  29. package/js/effect.js +18 -18
  30. package/js/graphql.js +20 -20
  31. package/js/host.js +18 -18
  32. package/js/index.js +13 -13
  33. package/js/mcp/effect.js +19 -19
  34. package/js/mcp.js +21 -21
  35. package/js/openapi.js +16 -16
  36. package/js/react.js +2 -2
  37. package/js/skills/effect.js +6 -6
  38. package/js/skills.js +15 -15
  39. package/js/ui/auth/contracts.js +2 -2
  40. package/js/ui/auth.js +5 -5
  41. package/js/ui/contracts.js +5 -5
  42. package/js/ui/serving.js +10 -10
  43. package/package.json +2 -2
  44. package/runtime.json +1 -1
  45. package/types/telemetry/src/layer.d.ts +1 -1
  46. package/js/chunk-EAPSQBFN.js +0 -75
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  appInvocationFetch
3
- } from "./chunk-V3HWVVFZ.js";
3
+ } from "./chunk-3CDTMIVU.js";
4
4
  import {
5
5
  fromPromise,
6
6
  method,
7
7
  toPromise
8
- } from "./chunk-GWAA3COO.js";
8
+ } from "./chunk-ZU2ECYYF.js";
9
9
  import {
10
10
  CacheAcquired,
11
11
  CacheEntry,
12
12
  CacheError,
13
13
  cacheLimits,
14
14
  scopedSlots
15
- } from "./chunk-7ZYZWLXS.js";
15
+ } from "./chunk-5CMAHXQD.js";
16
16
  import {
17
17
  decoderOf
18
- } from "./chunk-5LGG5YSE.js";
18
+ } from "./chunk-PZBT2QO5.js";
19
19
  import {
20
20
  captureTelemetry,
21
21
  owned,
22
22
  ownedBy
23
- } from "./chunk-2EEUUSL7.js";
23
+ } from "./chunk-NMSQJSBM.js";
24
24
  import {
25
25
  Clock_exports,
26
26
  Duration_exports,
27
27
  Effect_exports,
28
28
  Exit_exports,
29
29
  Schema_exports
30
- } from "./chunk-U2GHFWX2.js";
30
+ } from "./chunk-QYHUNAWH.js";
31
31
 
32
32
  // ../app-cache/src/index.ts
33
33
  var canonical = (value) => {
@@ -5,14 +5,14 @@ import {
5
5
  networkRefusalHeader,
6
6
  networkRefusalStatus,
7
7
  supportedFetchOptions
8
- } from "./chunk-7ZYZWLXS.js";
8
+ } from "./chunk-5CMAHXQD.js";
9
9
  import {
10
10
  invocationFetch
11
- } from "./chunk-2EEUUSL7.js";
11
+ } from "./chunk-NMSQJSBM.js";
12
12
  import {
13
13
  Effect_exports,
14
14
  Schema_exports
15
- } from "./chunk-U2GHFWX2.js";
15
+ } from "./chunk-QYHUNAWH.js";
16
16
 
17
17
  // src/implementation/network.ts
18
18
  var refusalHeader = (status, header) => status === networkRefusalStatus && header !== null && header !== void 0 ? header : void 0;
@@ -2,11 +2,11 @@ import {
2
2
  declaredOperations,
3
3
  nativeOperation,
4
4
  nativeRouter
5
- } from "./chunk-LOHZM4RK.js";
5
+ } from "./chunk-UJWZMRV6.js";
6
6
  import {
7
7
  fromPromise,
8
8
  method
9
- } from "./chunk-GWAA3COO.js";
9
+ } from "./chunk-ZU2ECYYF.js";
10
10
  import {
11
11
  EmittedEvent,
12
12
  EventName,
@@ -17,21 +17,21 @@ import {
17
17
  normalizePlacements,
18
18
  placementFields,
19
19
  renderPlacement
20
- } from "./chunk-7ZYZWLXS.js";
20
+ } from "./chunk-5CMAHXQD.js";
21
21
  import {
22
22
  decoderOf,
23
23
  isSchema,
24
24
  jsonSchemaDocument,
25
25
  schemaArgument
26
- } from "./chunk-5LGG5YSE.js";
26
+ } from "./chunk-PZBT2QO5.js";
27
27
  import {
28
28
  JsonValue
29
- } from "./chunk-NCOPALJZ.js";
29
+ } from "./chunk-WE4FZOSH.js";
30
30
  import {
31
31
  Effect_exports,
32
32
  Result_exports,
33
33
  Schema_exports
34
- } from "./chunk-U2GHFWX2.js";
34
+ } from "./chunk-QYHUNAWH.js";
35
35
 
36
36
  // src/contracts/http.ts
37
37
  var ResponseStatusError = class extends Schema_exports.TaggedError()(
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  JsonValue,
3
3
  withLegacyKeys
4
- } from "./chunk-NCOPALJZ.js";
4
+ } from "./chunk-WE4FZOSH.js";
5
5
  import {
6
6
  HttpApiEndpoint_exports,
7
7
  HttpApiGroup_exports,
8
8
  HttpApiSchema_exports,
9
9
  HttpApi_exports
10
- } from "./chunk-VXBCDIWD.js";
10
+ } from "./chunk-5H5IO2NZ.js";
11
11
  import {
12
12
  Schema_exports
13
- } from "./chunk-U2GHFWX2.js";
13
+ } from "./chunk-QYHUNAWH.js";
14
14
 
15
15
  // src/contracts/ui.ts
16
16
  var UiContextFields = Schema_exports.Struct({
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  AppSkillName,
3
3
  AppSkills
4
- } from "./chunk-EPZ3P7IX.js";
4
+ } from "./chunk-SA7FJGUX.js";
5
5
  import {
6
6
  RecordedMessage
7
- } from "./chunk-CCJUTN55.js";
7
+ } from "./chunk-LC6YCEVL.js";
8
8
  import {
9
9
  AccountId,
10
10
  HttpUrl,
11
- JsonObject as JsonObject2,
11
+ JsonObject,
12
12
  JsonValue,
13
13
  withLegacyKeys
14
- } from "./chunk-NCOPALJZ.js";
14
+ } from "./chunk-WE4FZOSH.js";
15
15
  import {
16
16
  Any,
17
17
  ArraySchema,
@@ -25,11 +25,9 @@ import {
25
25
  Error2,
26
26
  Finite,
27
27
  Int,
28
- Json,
29
- JsonObject,
30
28
  Literal,
31
29
  Literals,
32
- Never,
30
+ Never2 as Never,
33
31
  Opaque,
34
32
  Record,
35
33
  Result_exports,
@@ -39,7 +37,7 @@ import {
39
37
  StructWithRest,
40
38
  TemplateLiteral,
41
39
  Uint8ArrayFromBase64,
42
- Union,
40
+ Union2 as Union,
43
41
  Unknown,
44
42
  Void,
45
43
  add,
@@ -47,14 +45,14 @@ import {
47
45
  constTrue,
48
46
  declare,
49
47
  decode,
50
- decodeTo,
48
+ decodeTo2 as decodeTo,
51
49
  empty,
52
50
  flatMap,
53
51
  fromUndefinedOr,
54
52
  isBetween,
55
53
  isSchema,
56
54
  isStream,
57
- make2 as make,
55
+ make3 as make,
58
56
  merge,
59
57
  optional,
60
58
  optionalKey,
@@ -67,7 +65,7 @@ import {
67
65
  transformOptional,
68
66
  withConstructorDefault,
69
67
  withDefault
70
- } from "./chunk-U2GHFWX2.js";
68
+ } from "./chunk-QYHUNAWH.js";
71
69
 
72
70
  // src/contracts/failure.ts
73
71
  var maxFailureMessageLength = 2048;
@@ -330,8 +328,8 @@ var WorkflowValue = JsonValue.check(
330
328
  var HostedWorkflow = Schema_exports.Struct({
331
329
  name: WorkflowName,
332
330
  description: Schema_exports.optionalKey(Schema_exports.String),
333
- inputSchema: JsonObject2,
334
- outputSchema: Schema_exports.optionalKey(JsonObject2)
331
+ inputSchema: JsonObject,
332
+ outputSchema: Schema_exports.optionalKey(JsonObject)
335
333
  });
336
334
  var runFields = {
337
335
  id: WorkflowRunId,
@@ -599,7 +597,7 @@ var reservedTablePrefix = "_executor_";
599
597
  var migrationsDirectory = "migrations";
600
598
  var sqlBindingsLimit = 100;
601
599
 
602
- // ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/rpc/RpcSchema.js
600
+ // ../../node_modules/.bun/effect@4.1.4/node_modules/effect/dist/rpc/RpcSchema.js
603
601
  var StreamSchemaTypeId = "~effect/rpc/RpcSchema/StreamSchema";
604
602
  var schema = /* @__PURE__ */ declare(isStream);
605
603
  function Stream(success, error) {
@@ -610,7 +608,7 @@ function Stream(success, error) {
610
608
  });
611
609
  }
612
610
 
613
- // ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/rpc/Rpc.js
611
+ // ../../node_modules/.bun/effect@4.1.4/node_modules/effect/dist/rpc/Rpc.js
614
612
  var TypeId = "~effect/rpc/Rpc";
615
613
  var Proto = {
616
614
  [TypeId]: TypeId,
@@ -728,7 +726,7 @@ var make2 = (tag2, options) => {
728
726
  });
729
727
  };
730
728
 
731
- // ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/ai/McpSchema.js
729
+ // ../../node_modules/.bun/effect@4.1.4/node_modules/effect/dist/ai/McpSchema.js
732
730
  var optionalWithDefault = (schema2, defaultValue) => {
733
731
  const effect = sync(defaultValue);
734
732
  return optionalKey(schema2).pipe(decode({
@@ -740,6 +738,7 @@ var optional2 = (schema2) => optionalKey(schema2).pipe(decodeTo(toType(optional(
740
738
  decode: passthrough(),
741
739
  encode: transformOptional(flatMap(fromUndefinedOr))
742
740
  }));
741
+ var UnknownObject = /* @__PURE__ */ Record(String, Unknown);
743
742
  var RequestId = /* @__PURE__ */ Union([String, Finite]);
744
743
  var ProgressToken = /* @__PURE__ */ Union([String, Finite]);
745
744
  var RequestMeta = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
@@ -752,7 +751,7 @@ var RequestMeta = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct
752
751
  * notifications.
753
752
  */
754
753
  progressToken: /* @__PURE__ */ optional2(ProgressToken)
755
- }), [JsonObject]))
754
+ }), [UnknownObject]))
756
755
  }))) {
757
756
  };
758
757
  var ResultMeta = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
@@ -760,7 +759,7 @@ var ResultMeta = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct(
760
759
  * This result property is reserved by the protocol to allow clients and
761
760
  * servers to attach additional metadata to their responses.
762
761
  */
763
- _meta: /* @__PURE__ */ optional2(JsonObject)
762
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
764
763
  }))) {
765
764
  };
766
765
  var NotificationMeta = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
@@ -768,7 +767,7 @@ var NotificationMeta = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ S
768
767
  * This parameter name is reserved by MCP to allow clients and servers to
769
768
  * attach additional metadata to their notifications.
770
769
  */
771
- _meta: /* @__PURE__ */ optional2(JsonObject)
770
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
772
771
  }))) {
773
772
  };
774
773
  var Cursor = String;
@@ -854,7 +853,7 @@ var ClientCapabilities = class extends (/* @__PURE__ */ Class("@effect/ai/McpSch
854
853
  * Optional extensions capabilities advertised by the client.
855
854
  * Keys are extension identifiers following <vendor-prefix>/<extension-name> (e.g. "io.modelcontextprotocol/ui").
856
855
  */
857
- extensions: /* @__PURE__ */ optional2(/* @__PURE__ */ Record(/* @__PURE__ */ TemplateLiteral([String, "/", String]), Json)),
856
+ extensions: /* @__PURE__ */ optional2(/* @__PURE__ */ Record(/* @__PURE__ */ TemplateLiteral([String, "/", String]), Unknown)),
858
857
  /**
859
858
  * Present if the client supports listing roots.
860
859
  */
@@ -901,7 +900,7 @@ var ServerCapabilities = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */
901
900
  * Optional extensions capabilities advertised by the server.
902
901
  * Keys are extension identifiers following <vendor-prefix>/<extension-name> (e.g. "io.modelcontextprotocol/ui").
903
902
  */
904
- extensions: /* @__PURE__ */ optional2(/* @__PURE__ */ Record(/* @__PURE__ */ TemplateLiteral([String, "/", String]), Json)),
903
+ extensions: /* @__PURE__ */ optional2(/* @__PURE__ */ Record(/* @__PURE__ */ TemplateLiteral([String, "/", String]), Unknown)),
905
904
  /**
906
905
  * Present if the server supports sending log messages to the client.
907
906
  */
@@ -1129,7 +1128,7 @@ var Resource = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchema/Resour
1129
1128
  * This parameter name is reserved by MCP to allow clients and servers to
1130
1129
  * attach additional metadata to resources.
1131
1130
  */
1132
- _meta: /* @__PURE__ */ optional2(JsonObject)
1131
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1133
1132
  })) {
1134
1133
  };
1135
1134
  var ResourceTemplate = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchema/ResourceTemplate")({
@@ -1168,7 +1167,7 @@ var ResourceTemplate = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchem
1168
1167
  /**
1169
1168
  * Optional additional metadata for the client.
1170
1169
  */
1171
- _meta: /* @__PURE__ */ optional2(JsonObject)
1170
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1172
1171
  })) {
1173
1172
  };
1174
1173
  var ResourceContents = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
@@ -1183,7 +1182,7 @@ var ResourceContents = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ S
1183
1182
  /**
1184
1183
  * Optional additional metadata for the client.
1185
1184
  */
1186
- _meta: /* @__PURE__ */ optional2(JsonObject)
1185
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1187
1186
  }))) {
1188
1187
  };
1189
1188
  var TextResourceContents = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
@@ -1301,7 +1300,7 @@ var Prompt = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchema/Prompt")
1301
1300
  * Icons that clients can display for this prompt.
1302
1301
  */
1303
1302
  icons: /* @__PURE__ */ optional2(/* @__PURE__ */ ArraySchema(Icon)),
1304
- _meta: /* @__PURE__ */ optional2(JsonObject)
1303
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1305
1304
  })) {
1306
1305
  };
1307
1306
  var TextContent = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
@@ -1314,7 +1313,7 @@ var TextContent = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct
1314
1313
  * Optional annotations for the client.
1315
1314
  */
1316
1315
  annotations: /* @__PURE__ */ optional2(Annotations),
1317
- _meta: /* @__PURE__ */ optional2(JsonObject)
1316
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1318
1317
  }))) {
1319
1318
  };
1320
1319
  var ImageContent = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
@@ -1332,7 +1331,7 @@ var ImageContent = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struc
1332
1331
  * Optional annotations for the client.
1333
1332
  */
1334
1333
  annotations: /* @__PURE__ */ optional2(Annotations),
1335
- _meta: /* @__PURE__ */ optional2(JsonObject)
1334
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1336
1335
  }))) {
1337
1336
  };
1338
1337
  var AudioContent = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
@@ -1350,7 +1349,7 @@ var AudioContent = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struc
1350
1349
  * Optional annotations for the client.
1351
1350
  */
1352
1351
  annotations: /* @__PURE__ */ optional2(Annotations),
1353
- _meta: /* @__PURE__ */ optional2(JsonObject)
1352
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1354
1353
  }))) {
1355
1354
  };
1356
1355
  var EmbeddedResource = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
@@ -1360,7 +1359,7 @@ var EmbeddedResource = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ S
1360
1359
  * Optional annotations for the client.
1361
1360
  */
1362
1361
  annotations: /* @__PURE__ */ optional2(Annotations),
1363
- _meta: /* @__PURE__ */ optional2(JsonObject)
1362
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1364
1363
  }))) {
1365
1364
  };
1366
1365
  var ResourceLink = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
@@ -1447,10 +1446,10 @@ var ToolAnnotations = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ St
1447
1446
  };
1448
1447
  var ToolJson = /* @__PURE__ */ StructWithRest(/* @__PURE__ */ Struct({
1449
1448
  type: /* @__PURE__ */ Literal("object"),
1450
- properties: /* @__PURE__ */ optional2(/* @__PURE__ */ Record(String, JsonObject)),
1449
+ properties: /* @__PURE__ */ optional2(/* @__PURE__ */ Record(String, /* @__PURE__ */ Union([UnknownObject, Boolean]))),
1451
1450
  required: /* @__PURE__ */ optional2(/* @__PURE__ */ ArraySchema(String))
1452
- }), [JsonObject]);
1453
- var ToolOutputJson = JsonObject;
1451
+ }), [UnknownObject]);
1452
+ var ToolOutputJson = UnknownObject;
1454
1453
  var Tool = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchema/Tool")({
1455
1454
  /**
1456
1455
  * The name of the tool.
@@ -1485,7 +1484,7 @@ var Tool = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchema/Tool")({
1485
1484
  * This parameter name is reserved by MCP to allow clients and servers to
1486
1485
  * attach additional metadata to resources.
1487
1486
  */
1488
- _meta: /* @__PURE__ */ optional2(JsonObject)
1487
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1489
1488
  })) {
1490
1489
  };
1491
1490
  var ListToolsResult = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchema/ListToolsResult")({
@@ -1499,7 +1498,7 @@ var CallToolResult = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchema/
1499
1498
  /**
1500
1499
  * An optional JSON value containing the structured result of the tool call.
1501
1500
  */
1502
- structuredContent: /* @__PURE__ */ optional2(Json),
1501
+ structuredContent: /* @__PURE__ */ optional2(Unknown),
1503
1502
  /**
1504
1503
  * Whether the tool call ended in an error.
1505
1504
  *
@@ -1566,7 +1565,7 @@ var ToolUseContent = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchema/
1566
1565
  * Arguments supplied to the tool.
1567
1566
  */
1568
1567
  input: /* @__PURE__ */ Record(String, Unknown),
1569
- _meta: /* @__PURE__ */ optional2(JsonObject)
1568
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1570
1569
  })) {
1571
1570
  };
1572
1571
  var ToolResultContent = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchema/ToolResultContent")({
@@ -1582,19 +1581,19 @@ var ToolResultContent = class extends (/* @__PURE__ */ Class("@effect/ai/McpSche
1582
1581
  /**
1583
1582
  * Optional structured result returned by the tool.
1584
1583
  */
1585
- structuredContent: /* @__PURE__ */ optional2(Json),
1584
+ structuredContent: /* @__PURE__ */ optional2(Unknown),
1586
1585
  /**
1587
1586
  * Whether tool execution ended in an error.
1588
1587
  */
1589
1588
  isError: /* @__PURE__ */ optional2(Boolean),
1590
- _meta: /* @__PURE__ */ optional2(JsonObject)
1589
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1591
1590
  })) {
1592
1591
  };
1593
1592
  var SamplingMessageContentBlock = /* @__PURE__ */ Union([TextContent, ImageContent, AudioContent, ToolUseContent, ToolResultContent]);
1594
1593
  var SamplingMessage = class extends (/* @__PURE__ */ Opaque()(/* @__PURE__ */ Struct({
1595
1594
  role: Role,
1596
1595
  content: /* @__PURE__ */ Union([SamplingMessageContentBlock, /* @__PURE__ */ ArraySchema(SamplingMessageContentBlock)]),
1597
- _meta: /* @__PURE__ */ optional2(JsonObject)
1596
+ _meta: /* @__PURE__ */ optional2(UnknownObject)
1598
1597
  }))) {
1599
1598
  };
1600
1599
  var ToolChoice = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchema/ToolChoice")({
@@ -1663,7 +1662,7 @@ var ModelPreferences = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchem
1663
1662
  var CreateMessageResult = class extends (/* @__PURE__ */ Class("@effect/ai/McpSchema/CreateMessageResult")({
1664
1663
  role: Role,
1665
1664
  content: /* @__PURE__ */ Union([SamplingMessageContentBlock, /* @__PURE__ */ ArraySchema(SamplingMessageContentBlock)]),
1666
- _meta: /* @__PURE__ */ optional2(JsonObject),
1665
+ _meta: /* @__PURE__ */ optional2(UnknownObject),
1667
1666
  /**
1668
1667
  * The name of the model that generated the message.
1669
1668
  */
@@ -1908,11 +1907,11 @@ var FormElicitation = Schema_exports.Struct({
1908
1907
  ...ElicitRequestFormParams.fields,
1909
1908
  mode: Schema_exports.Literal("form"),
1910
1909
  requestedSchema: Schema_exports.toEncoded(ElicitRequestFormParams.fields.requestedSchema),
1911
- _meta: Schema_exports.optional(JsonObject2)
1910
+ _meta: Schema_exports.optional(JsonObject)
1912
1911
  });
1913
1912
  var ElicitationResponse = Schema_exports.Union([
1914
- Schema_exports.Struct({ ...ElicitAcceptResult.fields, _meta: Schema_exports.optional(JsonObject2) }),
1915
- Schema_exports.Struct({ ...ElicitDeclineResult.fields, _meta: Schema_exports.optional(JsonObject2) })
1913
+ Schema_exports.Struct({ ...ElicitAcceptResult.fields, _meta: Schema_exports.optional(JsonObject) }),
1914
+ Schema_exports.Struct({ ...ElicitDeclineResult.fields, _meta: Schema_exports.optional(JsonObject) })
1916
1915
  ]);
1917
1916
  var ElicitationFailed = class extends Schema_exports.TaggedError()(
1918
1917
  "ElicitationFailed",
@@ -2102,19 +2101,19 @@ var McpHealthInput = Schema_exports.Struct({
2102
2101
  });
2103
2102
  var mcpHealthReserveMs = 2 * defaultMcpClientLimits.cleanupTimeoutMs + 250;
2104
2103
  var McpToolResult = Schema_exports.Struct({
2105
- content: Schema_exports.Array(JsonObject2),
2106
- structuredContent: Schema_exports.optionalKey(JsonObject2),
2104
+ content: Schema_exports.Array(JsonObject),
2105
+ structuredContent: Schema_exports.optionalKey(JsonObject),
2107
2106
  isError: Schema_exports.optionalKey(Schema_exports.Boolean),
2108
- _meta: Schema_exports.optionalKey(JsonObject2)
2107
+ _meta: Schema_exports.optionalKey(JsonObject)
2109
2108
  });
2110
2109
  var McpToolMetadata = Schema_exports.Struct({
2111
2110
  name: Schema_exports.String,
2112
2111
  title: Schema_exports.optional(Schema_exports.String),
2113
2112
  description: Schema_exports.optional(Schema_exports.String),
2114
- inputSchema: JsonObject2,
2115
- outputSchema: Schema_exports.optional(JsonObject2),
2113
+ inputSchema: JsonObject,
2114
+ outputSchema: Schema_exports.optional(JsonObject),
2116
2115
  annotations: Schema_exports.optional(ToolAnnotations2),
2117
- _meta: Schema_exports.optional(JsonObject2)
2116
+ _meta: Schema_exports.optional(JsonObject)
2118
2117
  });
2119
2118
  var McpServerHeader = Schema_exports.Struct({
2120
2119
  name: Schema_exports.optionalKey(Schema_exports.String),
@@ -2170,12 +2169,12 @@ var ManualWebhookSetup = Schema_exports.Struct({
2170
2169
  });
2171
2170
  var ManualWebhookDescriptor = Schema_exports.Struct({
2172
2171
  ...ManualWebhookSetup.fields,
2173
- stateSchema: JsonObject2
2172
+ stateSchema: JsonObject
2174
2173
  });
2175
2174
  var HostedWebhook = Schema_exports.Struct({
2176
2175
  name: Schema_exports.NonEmptyString,
2177
2176
  account: Schema_exports.NonEmptyString,
2178
- configSchema: JsonObject2,
2177
+ configSchema: JsonObject,
2179
2178
  setup: Schema_exports.optionalKey(ManualWebhookDescriptor)
2180
2179
  });
2181
2180
  var identity = {
@@ -2225,9 +2224,9 @@ var DeclaredEvent = Schema_exports.Struct({
2225
2224
  Schema_exports.isMaxLength(defaultEventLimits.maxDescriptionLength)
2226
2225
  ),
2227
2226
  /** An object of scalar fields. Subscribers may name any of them to narrow an event. */
2228
- filters: JsonObject2,
2227
+ filters: JsonObject,
2229
2228
  /** The shape of each occurrence's `data`. */
2230
- payload: JsonObject2
2229
+ payload: JsonObject
2231
2230
  });
2232
2231
  var DeclaredEvents = Schema_exports.Record(EventName, DeclaredEvent);
2233
2232
  var EmittedEvent = Schema_exports.Struct({
@@ -4645,35 +4644,35 @@ var DeclaredAuthMethod5 = Schema_exports.Union([
4645
4644
  * Setup help, not part of the provider; see `withoutHelp`. Bundles before it declare none.
4646
4645
  */
4647
4646
  guide: Schema_exports.optionalKey(Schema_exports.String),
4648
- fields: JsonObject2,
4647
+ fields: JsonObject,
4649
4648
  ...exposure3
4650
4649
  }),
4651
4650
  Schema_exports.Struct({
4652
4651
  type: Schema_exports.Literal("oauth2"),
4653
4652
  ...OAuth2Config.members[0].fields,
4654
4653
  ...clientGuide,
4655
- response: JsonObject2,
4654
+ response: JsonObject,
4656
4655
  ...exposure3
4657
4656
  }),
4658
4657
  Schema_exports.Struct({
4659
4658
  type: Schema_exports.Literal("oauth2"),
4660
4659
  ...OAuth2Config.members[1].fields,
4661
4660
  ...clientGuide,
4662
- response: JsonObject2,
4661
+ response: JsonObject,
4663
4662
  ...exposure3
4664
4663
  }),
4665
4664
  Schema_exports.Struct({
4666
4665
  type: Schema_exports.Literal("oauth2"),
4667
4666
  ...OAuth2Config.members[2].fields,
4668
4667
  ...clientGuide,
4669
- response: JsonObject2,
4668
+ response: JsonObject,
4670
4669
  ...exposure3
4671
4670
  }),
4672
4671
  Schema_exports.Struct({
4673
4672
  type: Schema_exports.Literal("oauth2"),
4674
4673
  ...OAuth2Config.members[3].fields,
4675
4674
  ...clientGuide,
4676
- response: JsonObject2,
4675
+ response: JsonObject,
4677
4676
  ...exposure3
4678
4677
  })
4679
4678
  ]);
@@ -4738,7 +4737,7 @@ var ResolvedAccount6 = Schema_exports.Struct({
4738
4737
  * send it since credential generations; `apps@0.0.1-beta.0` and `beta.1` ignore it.
4739
4738
  */
4740
4739
  generation: Schema_exports.optionalKey(Schema_exports.Int),
4741
- fields: JsonObject2
4740
+ fields: JsonObject
4742
4741
  });
4743
4742
  var ResolvedAccountSlots2 = Schema_exports.Record(
4744
4743
  Schema_exports.NonEmptyString,
@@ -4756,13 +4755,13 @@ var HostedTool4 = Schema_exports.Struct({
4756
4755
  router: Schema_exports.optionalKey(Schema_exports.NonEmptyString),
4757
4756
  tags: Schema_exports.optionalKey(Schema_exports.Array(Schema_exports.NonEmptyString)),
4758
4757
  description: Schema_exports.String,
4759
- inputSchema: JsonObject2,
4758
+ inputSchema: JsonObject,
4760
4759
  readOnly: Schema_exports.optionalKey(Schema_exports.Boolean),
4761
4760
  kindConfirmed: Schema_exports.optionalKey(Schema_exports.Boolean),
4762
4761
  title: Schema_exports.optionalKey(Schema_exports.String),
4763
- outputSchema: Schema_exports.optionalKey(JsonObject2),
4762
+ outputSchema: Schema_exports.optionalKey(JsonObject),
4764
4763
  annotations: Schema_exports.optionalKey(ToolAnnotations2),
4765
- _meta: Schema_exports.optionalKey(JsonObject2)
4764
+ _meta: Schema_exports.optionalKey(JsonObject)
4766
4765
  });
4767
4766
  var HostedToolSummary4 = HostedTool4.mapFields(
4768
4767
  ({ inputSchema: _input, outputSchema: _output, _meta, ...fields }) => fields