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.
- package/check-publish.mjs +0 -1
- package/framework-reference.json +1 -1
- package/js/{chunk-I6QAWNUM.js → chunk-2OGVSUNI.js} +2 -2
- package/js/{chunk-RIOLCZAV.js → chunk-455CCO6Q.js} +9 -17
- package/js/{chunk-W2C3IOZJ.js → chunk-5MEOL2SG.js} +32 -29
- package/js/{chunk-PQKQIH3T.js → chunk-6NRWFVK2.js} +10 -31
- package/js/{chunk-WZ36P57R.js → chunk-6OWHQINS.js} +11 -16
- package/js/{chunk-LSOHA2RH.js → chunk-6XBOKQ4E.js} +1 -1
- package/js/{chunk-H2K7OZ47.js → chunk-7A4ZSEM3.js} +1 -1
- package/js/{chunk-QTX7OUFH.js → chunk-A6FRLRCN.js} +2 -3
- package/js/{chunk-ZQVWMEH6.js → chunk-AFEMXP3F.js} +6 -7
- package/js/{chunk-Z5O7ON6S.js → chunk-B2PSDMZP.js} +2 -2
- package/js/{chunk-Q7PE4PLU.js → chunk-B4JN2A6F.js} +3 -3
- package/js/{chunk-VX36SA7Y.js → chunk-BHSWVS3Q.js} +1 -1
- package/js/{chunk-APPCHQHK.js → chunk-BU3UOD2T.js} +4 -4
- package/js/{chunk-HMYAZUNZ.js → chunk-EXL6F456.js} +6 -4
- package/js/{chunk-6QZVXLF2.js → chunk-INQON4A2.js} +2 -2
- package/js/{chunk-MB6L5YZE.js → chunk-IWLFLMIL.js} +1 -1
- package/js/{chunk-EKXBHVMR.js → chunk-JLHRRTRH.js} +8 -15
- package/js/{chunk-YFSOSNF3.js → chunk-NXEGROI6.js} +116 -116
- package/js/{chunk-ICIVU5SQ.js → chunk-OFSXKKD6.js} +27 -42
- package/js/{chunk-63DHI5Y4.js → chunk-QDF7PQAD.js} +6 -8
- package/js/{chunk-YVN2AMAU.js → chunk-QLUWYCOT.js} +2 -2
- package/js/{chunk-JH3MOQZR.js → chunk-T4MICYGT.js} +10 -51
- package/js/{chunk-OBT33ZDK.js → chunk-TMYRAFMC.js} +3 -3
- package/js/{chunk-2XDCAXAR.js → chunk-W6V5OIHB.js} +1 -1
- package/js/{chunk-34RH47V5.js → chunk-XR7KZNKD.js} +2 -2
- package/js/client.js +10 -15
- package/js/contracts.js +9 -7
- package/js/effect.js +18 -18
- package/js/graphql.js +20 -22
- package/js/host.js +18 -20
- package/js/index.js +14 -19
- package/js/mcp/effect.js +19 -19
- package/js/mcp.js +21 -21
- package/js/openapi.js +18 -25
- package/js/react.js +2 -2
- package/js/skills/effect.js +6 -6
- package/js/skills.js +21 -27
- package/js/ui/auth/contracts.js +2 -2
- package/js/ui/auth.js +5 -5
- package/js/ui/contracts.js +5 -5
- package/js/ui/serving.js +10 -10
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/app-cache/src/index.d.ts +1 -40
- package/types/app-data/src/contracts/database.d.ts +0 -21
- package/types/apps/src/contracts/host.d.ts +6 -0
- package/types/telemetry/src/app-records.d.ts +0 -24
- package/types/telemetry/src/browser-operations.d.ts +0 -8
- package/types/telemetry/src/browser-performance.d.ts +0 -2
- package/types/telemetry/src/browser-request-timing.d.ts +0 -1
- package/types/telemetry/src/browser.d.ts +0 -10
- package/types/telemetry/src/config.d.ts +0 -8
- package/types/telemetry/src/context.d.ts +0 -6
- package/types/telemetry/src/index.d.ts +0 -1
- package/types/telemetry/src/keepalive.d.ts +0 -44
- package/types/telemetry/src/layer.d.ts +0 -8
- package/types/telemetry/src/measurements.d.ts +0 -8
- package/types/telemetry/src/ownership.d.ts +0 -45
- package/types/telemetry/src/pending-span.d.ts +0 -2
- package/types/telemetry/src/recorded-failure.d.ts +0 -26
- package/types/telemetry/src/relay.d.ts +0 -29
- package/types/telemetry/src/span-attributes.d.ts +0 -38
- package/types/telemetry/src/trace-context.d.ts +0 -6
- package/types/telemetry/src/transport.d.ts +0 -10
- package/types/utils/src/api-error.d.ts +0 -22
- package/types/utils/src/connection-failure.d.ts +0 -10
- package/types/utils/src/random-uuid.d.ts +0 -5
- package/types/utils/src/recorded-message.d.ts +0 -15
- package/types/utils/src/schema-definitions.d.ts +0 -6
- 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-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-AFEMXP3F.js";
|
|
5
|
+
import "./chunk-6NRWFVK2.js";
|
|
6
6
|
import {
|
|
7
7
|
failOnNetworkRefusal
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-B4JN2A6F.js";
|
|
9
9
|
import {
|
|
10
10
|
folderSkillsEffect,
|
|
11
11
|
skillFromFiles
|
|
12
|
-
} from "./chunk-
|
|
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-
|
|
19
|
+
} from "./chunk-BU3UOD2T.js";
|
|
20
20
|
import {
|
|
21
21
|
NetworkRefused,
|
|
22
22
|
ProviderError,
|
|
23
23
|
networkRefusalStatus
|
|
24
|
-
} from "./chunk-
|
|
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-
|
|
34
|
+
} from "./chunk-A6FRLRCN.js";
|
|
35
35
|
import {
|
|
36
36
|
wrap
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-JLHRRTRH.js";
|
|
38
|
+
import "./chunk-T4MICYGT.js";
|
|
39
39
|
import {
|
|
40
40
|
FetchHttpClient_exports
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
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(
|
package/js/ui/auth/contracts.js
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
AppSignInFailure,
|
|
6
6
|
AppSignInId,
|
|
7
7
|
appSignInCallbackPath
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
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-
|
|
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-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
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,
|
package/js/ui/contracts.js
CHANGED
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
UiSnapshot,
|
|
8
8
|
UiUnauthorized,
|
|
9
9
|
UiVersionChanged
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
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-
|
|
4
|
-
import "../chunk-
|
|
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-
|
|
9
|
+
} from "../chunk-TMYRAFMC.js";
|
|
10
10
|
import {
|
|
11
11
|
CurrentTelemetryConfig
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
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-
|
|
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-
|
|
26
|
+
} from "../chunk-NXEGROI6.js";
|
|
27
27
|
import "../chunk-CZ7CSFO4.js";
|
|
28
28
|
|
|
29
29
|
// src/implementation/browser-scripts.gen.ts
|