apps 0.0.1-beta.34 → 0.0.1-beta.35

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 (78) hide show
  1. package/framework-reference.json +1 -1
  2. package/js/{chunk-PUBNIORL.js → chunk-5CQMUXW7.js} +2 -2
  3. package/js/{chunk-DSUKW6KJ.js → chunk-5KNA2Z5I.js} +13 -11
  4. package/js/{chunk-UMCMZFXW.js → chunk-73AV3JVU.js} +1 -1
  5. package/js/{chunk-6ZJ2H6P4.js → chunk-A4O72Z3A.js} +298 -190
  6. package/js/{chunk-FBBXFFFJ.js → chunk-BI45HZWM.js} +2 -2
  7. package/js/{chunk-DXGWKNTQ.js → chunk-BI6R577B.js} +2 -2
  8. package/js/{chunk-IU6OK5G2.js → chunk-ENJCQWVF.js} +3 -3
  9. package/js/{chunk-OX233L7N.js → chunk-FFTALB6S.js} +2 -2
  10. package/js/{chunk-DASNNAP4.js → chunk-HDAQBRT5.js} +391 -14
  11. package/js/{chunk-HW3DPBZR.js → chunk-I7CNZ4CM.js} +1 -1
  12. package/js/{chunk-QKVZGWGZ.js → chunk-IA3VSGR4.js} +7 -7
  13. package/js/{chunk-EXGKN554.js → chunk-IJQ5LE74.js} +9805 -9254
  14. package/js/{chunk-5JVNM3CQ.js → chunk-IU7CCCUC.js} +12 -12
  15. package/js/{chunk-Q7Q5JTRW.js → chunk-JU7F4PRK.js} +2 -2
  16. package/js/{chunk-QZD2RZ4S.js → chunk-KBXQOJYW.js} +8 -8
  17. package/js/{chunk-CJY5X26R.js → chunk-KOOJUMLR.js} +86 -50
  18. package/js/{chunk-ETLILMHY.js → chunk-KZFV3WCJ.js} +21 -19
  19. package/js/{chunk-MYH3QZ4L.js → chunk-LUROQKFP.js} +9 -9
  20. package/js/{chunk-ZOY7PDMI.js → chunk-NHCFIWN5.js} +1 -1
  21. package/js/chunk-NHUHTWAF.js +0 -0
  22. package/js/{chunk-QYM4STZW.js → chunk-PHO7HXTC.js} +149 -353
  23. package/js/{chunk-O3OAFU7Q.js → chunk-POOIHRPF.js} +2 -2
  24. package/js/{chunk-AUFVX4KM.js → chunk-RSNZDT4L.js} +2 -2
  25. package/js/{chunk-EPUWF4ZG.js → chunk-SRB2WDU7.js} +3 -3
  26. package/js/{chunk-MFHUR5SB.js → chunk-TADLIUEU.js} +4 -4
  27. package/js/{chunk-5OM6HBNU.js → chunk-UWOIEJ56.js} +18 -18
  28. package/js/chunk-V5DWGYRK.js +268 -0
  29. package/js/{chunk-QUEPZ67T.js → chunk-VBVOPW4U.js} +3 -3
  30. package/js/{chunk-GZ4UHXRT.js → chunk-WDBUOIWV.js} +3 -3
  31. package/js/{chunk-6KG4DZD7.js → chunk-Y3XN4X4Q.js} +1 -1
  32. package/js/{chunk-UKMIHP2G.js → chunk-YW333DH3.js} +4 -4
  33. package/js/{chunk-O4QOPXQT.js → chunk-YYK6GEMC.js} +11 -11
  34. package/js/client.js +12 -11
  35. package/js/contracts.js +10 -9
  36. package/js/effect.js +23 -21
  37. package/js/graphql.js +25 -23
  38. package/js/host.js +23 -21
  39. package/js/index.js +16 -14
  40. package/js/mcp/effect.js +25 -23
  41. package/js/mcp/stdio.js +25 -23
  42. package/js/mcp.js +27 -25
  43. package/js/openapi.js +22 -21
  44. package/js/react.js +3 -3
  45. package/js/skills/effect.js +6 -5
  46. package/js/skills.js +18 -16
  47. package/js/storage/facet.js +19 -345
  48. package/js/ui/auth/contracts.js +2 -2
  49. package/js/ui/auth.js +5 -5
  50. package/js/ui/contracts.js +6 -5
  51. package/js/ui/serving.js +10 -9
  52. package/package.json +3 -3
  53. package/runtime.json +1 -1
  54. package/types/app-data/src/implementation/sqlite.d.ts +1 -1
  55. package/types/apps/src/contracts/elicitation.d.ts +6 -6
  56. package/types/apps/src/contracts/protocols/1.d.ts +4 -4
  57. package/types/apps/src/contracts/protocols/2.d.ts +4 -4
  58. package/types/apps/src/contracts/protocols/3.d.ts +4 -4
  59. package/types/apps/src/contracts/protocols/4.d.ts +4 -4
  60. package/types/apps/src/contracts/protocols/5.d.ts +4 -4
  61. package/types/apps/src/contracts/protocols/6.d.ts +4 -4
  62. package/types/apps/src/contracts/protocols/7.d.ts +4 -4
  63. package/types/apps/src/contracts/protocols/8.d.ts +4 -4
  64. package/types/apps/src/contracts/ui.d.ts +1 -1
  65. package/types/apps/src/implementation/live.d.ts +2 -2
  66. package/types/apps/src/implementation/network.d.ts +1 -1
  67. package/types/apps/src/implementation/optimistic.d.ts +1 -1
  68. package/types/apps/src/implementation/query-commit.d.ts +1 -1
  69. package/types/apps/src/implementation/ui-auth.d.ts +1 -1
  70. package/types/apps/src/implementation/ui-client.d.ts +1 -1
  71. package/types/apps/src/implementation/ui-serving.d.ts +1 -1
  72. package/types/apps/src/react.d.ts +1 -1
  73. package/types/telemetry/src/browser-operations.d.ts +1 -1
  74. package/types/telemetry/src/browser.d.ts +2 -2
  75. package/types/telemetry/src/layer.d.ts +2 -2
  76. package/types/telemetry/src/relay.d.ts +2 -2
  77. package/types/telemetry/src/transport.d.ts +1 -1
  78. package/types/utils/src/api-error.d.ts +1 -1
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  fixedRouter
3
- } from "./chunk-O4QOPXQT.js";
3
+ } from "./chunk-YYK6GEMC.js";
4
4
  import {
5
5
  nativeOperation,
6
6
  operationDeclaration,
7
7
  routerDeclaration
8
- } from "./chunk-QUEPZ67T.js";
8
+ } from "./chunk-VBVOPW4U.js";
9
9
 
10
10
  // src/implementation/protocol-operations.ts
11
11
  var protocolOperations = (operations, kinds = {}) => {
@@ -2,7 +2,7 @@ import {
2
2
  DatabaseFieldReserved,
3
3
  DatabaseLimitExceeded,
4
4
  DatabaseSchema
5
- } from "./chunk-UMCMZFXW.js";
5
+ } from "./chunk-73AV3JVU.js";
6
6
  import {
7
7
  CacheCommand,
8
8
  CacheReply,
@@ -13,18 +13,18 @@ import {
13
13
  FailureSource,
14
14
  ProviderError,
15
15
  UpstreamError
16
- } from "./chunk-DXGWKNTQ.js";
16
+ } from "./chunk-BI6R577B.js";
17
17
  import {
18
18
  AppSkillName,
19
19
  AppSkills,
20
20
  SkillLoadFailed
21
- } from "./chunk-HW3DPBZR.js";
21
+ } from "./chunk-I7CNZ4CM.js";
22
22
  import {
23
23
  AccountId,
24
24
  HttpUrl,
25
25
  JsonObject as JsonObject2,
26
26
  JsonValue
27
- } from "./chunk-FBBXFFFJ.js";
27
+ } from "./chunk-BI45HZWM.js";
28
28
  import {
29
29
  Any,
30
30
  ArraySchema,
@@ -60,13 +60,13 @@ import {
60
60
  declare,
61
61
  decode,
62
62
  decodeTo,
63
- empty2 as empty,
63
+ empty,
64
64
  flatMap,
65
65
  fromUndefinedOr,
66
66
  isBetween,
67
67
  isSchema,
68
68
  isStream,
69
- make6 as make,
69
+ make4 as make,
70
70
  merge,
71
71
  optional,
72
72
  optionalKey,
@@ -75,10 +75,11 @@ import {
75
75
  symbol3 as symbol,
76
76
  sync2 as sync,
77
77
  tag,
78
+ toType,
78
79
  transformOptional,
79
80
  withConstructorDefault,
80
81
  withDefault
81
- } from "./chunk-EXGKN554.js";
82
+ } from "./chunk-IJQ5LE74.js";
82
83
 
83
84
  // src/contracts/router.ts
84
85
  var reservedRouterKeys = /* @__PURE__ */ new Set([
@@ -396,7 +397,7 @@ var WorkflowControlCommand = Schema_exports.Union([
396
397
  Schema_exports.Struct({ operation: Schema_exports.Literal("terminate"), run: WorkflowRunId })
397
398
  ]);
398
399
 
399
- // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/unstable/rpc/RpcSchema.js
400
+ // ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/rpc/RpcSchema.js
400
401
  var StreamSchemaTypeId = "~effect/rpc/RpcSchema/StreamSchema";
401
402
  var schema = /* @__PURE__ */ declare(isStream);
402
403
  function Stream(success, error) {
@@ -407,7 +408,7 @@ function Stream(success, error) {
407
408
  });
408
409
  }
409
410
 
410
- // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/unstable/rpc/Rpc.js
411
+ // ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/rpc/Rpc.js
411
412
  var TypeId = "~effect/rpc/Rpc";
412
413
  var Proto = {
413
414
  [TypeId]: TypeId,
@@ -525,7 +526,7 @@ var make2 = (tag2, options) => {
525
526
  });
526
527
  };
527
528
 
528
- // ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/unstable/ai/McpSchema.js
529
+ // ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/ai/McpSchema.js
529
530
  var optionalWithDefault = (schema2, defaultValue) => {
530
531
  const effect = sync(defaultValue);
531
532
  return optionalKey(schema2).pipe(decode({
@@ -533,7 +534,7 @@ var optionalWithDefault = (schema2, defaultValue) => {
533
534
  encode: passthrough()
534
535
  }), withConstructorDefault(effect));
535
536
  };
536
- var optional2 = (schema2) => optionalKey(schema2).pipe(decodeTo(optional(schema2), {
537
+ var optional2 = (schema2) => optionalKey(schema2).pipe(decodeTo(toType(optional(schema2)), {
537
538
  decode: passthrough(),
538
539
  encode: transformOptional(flatMap(fromUndefinedOr))
539
540
  }));
@@ -1536,6 +1537,7 @@ var CompleteResult = class _CompleteResult extends (/* @__PURE__ */ Opaque()(/*
1536
1537
  /**
1537
1538
  * Empty completion result used when a completion request has no values.
1538
1539
  *
1540
+ * @stability unstable
1539
1541
  * @since 4.0.0
1540
1542
  */
1541
1543
  static empty = /* @__PURE__ */ _CompleteResult.make({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Schema_exports
3
- } from "./chunk-EXGKN554.js";
3
+ } from "./chunk-IJQ5LE74.js";
4
4
 
5
5
  // ../app-data/src/contracts/database.ts
6
6
  var DataName = Schema_exports.String.check(