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.
Files changed (72) hide show
  1. package/check-publish.mjs +0 -1
  2. package/framework-reference.json +1 -1
  3. package/js/{chunk-I6QAWNUM.js → chunk-2OGVSUNI.js} +2 -2
  4. package/js/{chunk-RIOLCZAV.js → chunk-455CCO6Q.js} +9 -17
  5. package/js/{chunk-W2C3IOZJ.js → chunk-5MEOL2SG.js} +32 -29
  6. package/js/{chunk-PQKQIH3T.js → chunk-6NRWFVK2.js} +10 -31
  7. package/js/{chunk-WZ36P57R.js → chunk-6OWHQINS.js} +11 -16
  8. package/js/{chunk-LSOHA2RH.js → chunk-6XBOKQ4E.js} +1 -1
  9. package/js/{chunk-H2K7OZ47.js → chunk-7A4ZSEM3.js} +1 -1
  10. package/js/{chunk-QTX7OUFH.js → chunk-A6FRLRCN.js} +2 -3
  11. package/js/{chunk-ZQVWMEH6.js → chunk-AFEMXP3F.js} +6 -7
  12. package/js/{chunk-Z5O7ON6S.js → chunk-B2PSDMZP.js} +2 -2
  13. package/js/{chunk-Q7PE4PLU.js → chunk-B4JN2A6F.js} +3 -3
  14. package/js/{chunk-VX36SA7Y.js → chunk-BHSWVS3Q.js} +1 -1
  15. package/js/{chunk-APPCHQHK.js → chunk-BU3UOD2T.js} +4 -4
  16. package/js/{chunk-HMYAZUNZ.js → chunk-EXL6F456.js} +6 -4
  17. package/js/{chunk-6QZVXLF2.js → chunk-INQON4A2.js} +2 -2
  18. package/js/{chunk-MB6L5YZE.js → chunk-IWLFLMIL.js} +1 -1
  19. package/js/{chunk-EKXBHVMR.js → chunk-JLHRRTRH.js} +8 -15
  20. package/js/{chunk-YFSOSNF3.js → chunk-NXEGROI6.js} +116 -116
  21. package/js/{chunk-ICIVU5SQ.js → chunk-OFSXKKD6.js} +27 -42
  22. package/js/{chunk-63DHI5Y4.js → chunk-QDF7PQAD.js} +6 -8
  23. package/js/{chunk-YVN2AMAU.js → chunk-QLUWYCOT.js} +2 -2
  24. package/js/{chunk-JH3MOQZR.js → chunk-T4MICYGT.js} +10 -51
  25. package/js/{chunk-OBT33ZDK.js → chunk-TMYRAFMC.js} +3 -3
  26. package/js/{chunk-2XDCAXAR.js → chunk-W6V5OIHB.js} +1 -1
  27. package/js/{chunk-34RH47V5.js → chunk-XR7KZNKD.js} +2 -2
  28. package/js/client.js +10 -15
  29. package/js/contracts.js +9 -7
  30. package/js/effect.js +18 -18
  31. package/js/graphql.js +20 -22
  32. package/js/host.js +18 -20
  33. package/js/index.js +14 -19
  34. package/js/mcp/effect.js +19 -19
  35. package/js/mcp.js +21 -21
  36. package/js/openapi.js +18 -25
  37. package/js/react.js +2 -2
  38. package/js/skills/effect.js +6 -6
  39. package/js/skills.js +21 -27
  40. package/js/ui/auth/contracts.js +2 -2
  41. package/js/ui/auth.js +5 -5
  42. package/js/ui/contracts.js +5 -5
  43. package/js/ui/serving.js +10 -10
  44. package/package.json +1 -1
  45. package/runtime.json +1 -1
  46. package/types/app-cache/src/index.d.ts +1 -40
  47. package/types/app-data/src/contracts/database.d.ts +0 -21
  48. package/types/apps/src/contracts/host.d.ts +6 -0
  49. package/types/telemetry/src/app-records.d.ts +0 -24
  50. package/types/telemetry/src/browser-operations.d.ts +0 -8
  51. package/types/telemetry/src/browser-performance.d.ts +0 -2
  52. package/types/telemetry/src/browser-request-timing.d.ts +0 -1
  53. package/types/telemetry/src/browser.d.ts +0 -10
  54. package/types/telemetry/src/config.d.ts +0 -8
  55. package/types/telemetry/src/context.d.ts +0 -6
  56. package/types/telemetry/src/index.d.ts +0 -1
  57. package/types/telemetry/src/keepalive.d.ts +0 -44
  58. package/types/telemetry/src/layer.d.ts +0 -8
  59. package/types/telemetry/src/measurements.d.ts +0 -8
  60. package/types/telemetry/src/ownership.d.ts +0 -45
  61. package/types/telemetry/src/pending-span.d.ts +0 -2
  62. package/types/telemetry/src/recorded-failure.d.ts +0 -26
  63. package/types/telemetry/src/relay.d.ts +0 -29
  64. package/types/telemetry/src/span-attributes.d.ts +0 -38
  65. package/types/telemetry/src/trace-context.d.ts +0 -6
  66. package/types/telemetry/src/transport.d.ts +0 -10
  67. package/types/utils/src/api-error.d.ts +0 -22
  68. package/types/utils/src/connection-failure.d.ts +0 -10
  69. package/types/utils/src/random-uuid.d.ts +0 -5
  70. package/types/utils/src/recorded-message.d.ts +0 -15
  71. package/types/utils/src/schema-definitions.d.ts +0 -6
  72. package/types/utils/src/user-facing-error.d.ts +0 -19
package/js/skills.js CHANGED
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  catalogCache,
3
3
  catalogScope
4
- } from "./chunk-ZQVWMEH6.js";
5
- import "./chunk-PQKQIH3T.js";
4
+ } from "./chunk-AFEMXP3F.js";
5
+ import "./chunk-6NRWFVK2.js";
6
6
  import {
7
7
  failOnNetworkRefusal
8
- } from "./chunk-Q7PE4PLU.js";
8
+ } from "./chunk-B4JN2A6F.js";
9
9
  import {
10
10
  folderSkillsEffect,
11
11
  skillFromFiles
12
- } from "./chunk-34RH47V5.js";
12
+ } from "./chunk-XR7KZNKD.js";
13
13
  import {
14
14
  accountProviderError,
15
15
  fromPromise,
16
16
  httpProviderError,
17
17
  method,
18
18
  toPromise
19
- } from "./chunk-APPCHQHK.js";
19
+ } from "./chunk-BU3UOD2T.js";
20
20
  import {
21
21
  NetworkRefused,
22
22
  ProviderError,
23
23
  networkRefusalStatus
24
- } from "./chunk-HMYAZUNZ.js";
24
+ } from "./chunk-EXL6F456.js";
25
25
  import {
26
26
  AppSkillMetadata,
27
27
  AppSkillSource,
@@ -31,21 +31,21 @@ import {
31
31
  SkillLoadFailed,
32
32
  SkillServiceName,
33
33
  skillLoadLimits
34
- } from "./chunk-QTX7OUFH.js";
34
+ } from "./chunk-A6FRLRCN.js";
35
35
  import {
36
36
  wrap
37
- } from "./chunk-EKXBHVMR.js";
38
- import "./chunk-JH3MOQZR.js";
37
+ } from "./chunk-JLHRRTRH.js";
38
+ import "./chunk-T4MICYGT.js";
39
39
  import {
40
40
  FetchHttpClient_exports
41
- } from "./chunk-I6QAWNUM.js";
42
- import "./chunk-LSOHA2RH.js";
43
- import "./chunk-H2K7OZ47.js";
44
- import "./chunk-YVN2AMAU.js";
41
+ } from "./chunk-2OGVSUNI.js";
42
+ import "./chunk-6XBOKQ4E.js";
43
+ import "./chunk-7A4ZSEM3.js";
44
+ import "./chunk-QLUWYCOT.js";
45
45
  import {
46
46
  HttpBody_exports,
47
47
  HttpClient_exports
48
- } from "./chunk-MB6L5YZE.js";
48
+ } from "./chunk-IWLFLMIL.js";
49
49
  import {
50
50
  Base64_exports,
51
51
  Effect_exports,
@@ -54,7 +54,7 @@ import {
54
54
  Result_exports,
55
55
  Schema_exports,
56
56
  Stream_exports
57
- } from "./chunk-YFSOSNF3.js";
57
+ } from "./chunk-NXEGROI6.js";
58
58
  import "./chunk-CZ7CSFO4.js";
59
59
 
60
60
  // src/implementation/inflate.ts
@@ -653,7 +653,6 @@ var reader = (transport) => Effect_exports.gen(function* () {
653
653
  headers,
654
654
  body: HttpBody_exports.uint8Array(request.body, request.headers?.["Content-Type"])
655
655
  })).pipe(
656
- // `ctx.fetch` rejects with a network refusal; any other failed request got no answer.
657
656
  Effect_exports.mapError(
658
657
  (error) => Schema_exports.is(NetworkRefused)(error.cause) ? refusal(error.cause) : failed("request")
659
658
  )
@@ -797,21 +796,16 @@ var cachedSkillDirectories = (cache, transport, options, commit) => fromPromise(
797
796
  key: ["apps/githubSkills/directories", 1, options.repo, commit, options.path ?? null],
798
797
  schema: wrap(SkillDirectories, false),
799
798
  freshFor: "7 days",
800
- // Executor's own loader: the app's cache runs it natively, so only its requests are upstream.
801
799
  load: toPromise(
802
- (context) => (
803
- // Keep the author's fetch and this read's token, as every other request in it does.
804
- reader({ fetch: transport.fetch, signal: context.signal }).pipe(
805
- Effect_exports.flatMap(
806
- (remote) => skillDirectories(
807
- githubRequests(remote, options.repo, options.token),
808
- commit,
809
- options.path
810
- )
800
+ (context) => reader({ fetch: transport.fetch, signal: context.signal }).pipe(
801
+ Effect_exports.flatMap(
802
+ (remote) => skillDirectories(
803
+ githubRequests(remote, options.repo, options.token),
804
+ commit,
805
+ options.path
811
806
  )
812
807
  )
813
808
  ),
814
- // A cache may call the loader as a Promise; its own signal cancels that load.
815
809
  (context) => context.signal
816
810
  )
817
811
  }).pipe(
@@ -5,8 +5,8 @@ import {
5
5
  AppSignInFailure,
6
6
  AppSignInId,
7
7
  appSignInCallbackPath
8
- } from "../../chunk-VX36SA7Y.js";
9
- import "../../chunk-YFSOSNF3.js";
8
+ } from "../../chunk-BHSWVS3Q.js";
9
+ import "../../chunk-NXEGROI6.js";
10
10
  import "../../chunk-CZ7CSFO4.js";
11
11
  export {
12
12
  AppReturnPath,
package/js/ui/auth.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  appRedirect,
4
4
  appSignInCallback,
5
5
  appSignInFailed
6
- } from "../chunk-6QZVXLF2.js";
6
+ } from "../chunk-INQON4A2.js";
7
7
  import {
8
8
  AppReturnPath,
9
9
  AppSignInCallback,
@@ -11,10 +11,10 @@ import {
11
11
  AppSignInFailure,
12
12
  AppSignInId,
13
13
  appSignInCallbackPath
14
- } from "../chunk-VX36SA7Y.js";
15
- import "../chunk-I6QAWNUM.js";
16
- import "../chunk-MB6L5YZE.js";
17
- import "../chunk-YFSOSNF3.js";
14
+ } from "../chunk-BHSWVS3Q.js";
15
+ import "../chunk-2OGVSUNI.js";
16
+ import "../chunk-IWLFLMIL.js";
17
+ import "../chunk-NXEGROI6.js";
18
18
  import "../chunk-CZ7CSFO4.js";
19
19
  export {
20
20
  AppReturnPath,
@@ -7,11 +7,11 @@ import {
7
7
  UiSnapshot,
8
8
  UiUnauthorized,
9
9
  UiVersionChanged
10
- } from "../chunk-OBT33ZDK.js";
11
- import "../chunk-H2K7OZ47.js";
12
- import "../chunk-YVN2AMAU.js";
13
- import "../chunk-MB6L5YZE.js";
14
- import "../chunk-YFSOSNF3.js";
10
+ } from "../chunk-TMYRAFMC.js";
11
+ import "../chunk-7A4ZSEM3.js";
12
+ import "../chunk-QLUWYCOT.js";
13
+ import "../chunk-IWLFLMIL.js";
14
+ import "../chunk-NXEGROI6.js";
15
15
  import "../chunk-CZ7CSFO4.js";
16
16
  export {
17
17
  AppUiApi,
package/js/ui/serving.js CHANGED
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  appPrivateHeaders
3
- } from "../chunk-6QZVXLF2.js";
4
- import "../chunk-VX36SA7Y.js";
3
+ } from "../chunk-INQON4A2.js";
4
+ import "../chunk-BHSWVS3Q.js";
5
5
  import {
6
6
  UiContext,
7
7
  UiFailed,
8
8
  UiForbidden
9
- } from "../chunk-OBT33ZDK.js";
9
+ } from "../chunk-TMYRAFMC.js";
10
10
  import {
11
11
  CurrentTelemetryConfig
12
- } from "../chunk-JH3MOQZR.js";
13
- import "../chunk-I6QAWNUM.js";
14
- import "../chunk-LSOHA2RH.js";
15
- import "../chunk-H2K7OZ47.js";
16
- import "../chunk-YVN2AMAU.js";
12
+ } from "../chunk-T4MICYGT.js";
13
+ import "../chunk-2OGVSUNI.js";
14
+ import "../chunk-6XBOKQ4E.js";
15
+ import "../chunk-7A4ZSEM3.js";
16
+ import "../chunk-QLUWYCOT.js";
17
17
  import {
18
18
  HttpServerRequest_exports,
19
19
  HttpServerResponse_exports
20
- } from "../chunk-MB6L5YZE.js";
20
+ } from "../chunk-IWLFLMIL.js";
21
21
  import {
22
22
  Effect_exports,
23
23
  Option_exports,
24
24
  Schema_exports,
25
25
  Stream_exports
26
- } from "../chunk-YFSOSNF3.js";
26
+ } from "../chunk-NXEGROI6.js";
27
27
  import "../chunk-CZ7CSFO4.js";
28
28
 
29
29
  // src/implementation/browser-scripts.gen.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apps",
3
- "version": "0.0.1-beta.142",
3
+ "version": "0.0.1-beta.144",
4
4
  "description": "TypeScript apps with typed tools, accounts, storage, and UI.",
5
5
  "type": "module",
6
6
  "sideEffects": false,