apps 0.0.1-beta.0 → 0.0.1-beta.2
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/README.md +97 -4
- package/framework-reference.json +1 -1
- package/js/browser-XIPJGLH2.js +65 -0
- package/js/{chunk-SBKHUC5L.js → chunk-4LPG6RCH.js} +2 -2
- package/js/chunk-5MQZEB6Y.js +172 -0
- package/js/{chunk-7JXHF5IF.js → chunk-BMOIAIVR.js} +1 -1
- package/js/chunk-CZ7CSFO4.js +39 -0
- package/js/chunk-D47C7KG5.js +172 -0
- package/js/{chunk-YDR4CPJA.js → chunk-EVJUVWN2.js} +8 -8
- package/js/chunk-FDNTX5QJ.js +78 -0
- package/js/{chunk-2OTCEKL2.js → chunk-FW5HBOIK.js} +2352 -1493
- package/js/{chunk-EP6AEUZO.js → chunk-FZJOYIZO.js} +1 -1
- package/js/{chunk-VFUZI3NY.js → chunk-HDJH3RPR.js} +4 -4
- package/js/{chunk-WIDTG42X.js → chunk-HDTGZWP2.js} +79 -26
- package/js/{chunk-Q2FD5IBM.js → chunk-J7O55ZV7.js} +298 -37
- package/js/{chunk-X3YBZCJW.js → chunk-JN55AYQH.js} +8 -41
- package/js/chunk-LGIYBDWA.js +85 -0
- package/js/{chunk-D6BKYP2L.js → chunk-M6ZRRIBI.js} +4 -4
- package/js/{chunk-HP7E42X6.js → chunk-MYYEW3RA.js} +767 -249
- package/js/{chunk-3ANFZFCV.js → chunk-OHRT55C4.js} +15 -15
- package/js/{chunk-R6JMJSVT.js → chunk-PLCMJREA.js} +2 -2
- package/js/{chunk-C24KEZXR.js → chunk-PYUYJRSK.js} +36 -2
- package/js/{chunk-W7Q5EOTS.js → chunk-QKHR7BMF.js} +32 -32
- package/js/{chunk-KWTCHVLT.js → chunk-RN2MXB4R.js} +47 -51
- package/js/{chunk-36DNRFZQ.js → chunk-SATWJKN6.js} +1 -1
- package/js/chunk-SWPD52J7.js +35 -0
- package/js/{chunk-BKVL7XAJ.js → chunk-TE4KO4HI.js} +1 -1
- package/js/chunk-UVL56Z6E.js +6641 -0
- package/js/chunk-W7D7WVSY.js +18 -0
- package/js/{chunk-BPEFS4YF.js → chunk-WFSQXYUT.js} +109 -17
- package/js/chunk-YEJOQEII.js +104 -0
- package/js/{chunk-LOKGDT6B.js → chunk-Z5NMEGJN.js} +5 -4
- package/js/{chunk-OWD2YICM.js → chunk-ZCAMUXSG.js} +116 -87
- package/js/chunk-ZJWDMTE3.js +63 -0
- package/js/client.js +11 -11
- package/js/contracts.js +88 -25
- package/js/effect.js +21 -15
- package/js/es-APDZKREY.js +40968 -0
- package/js/graphql.js +224 -121
- package/js/host.js +76 -19
- package/js/index.js +193 -51
- package/js/mcp/effect.js +25 -17
- package/js/mcp/stdio.js +23 -17
- package/js/mcp.js +110 -24
- package/js/openapi.js +3045 -105
- package/js/operations/approval.js +1 -1
- package/js/react.js +4 -4
- package/js/skills/effect.js +11 -0
- package/js/skills.js +894 -0
- package/js/storage/facet.js +7 -7
- package/js/ui/auth/contracts.js +6 -6
- package/js/ui/auth.js +8 -8
- package/js/ui/contracts.js +5 -5
- package/js/ui/serving.js +12 -12
- package/package.json +9 -1
- package/runtime.json +1 -1
- package/types/app-cache/src/contracts/cache.d.ts +119 -0
- package/types/app-cache/src/index.d.ts +93 -0
- package/types/apps/src/contracts/api-response-error.d.ts +43 -0
- package/types/apps/src/contracts/app.d.ts +11 -0
- package/types/apps/src/contracts/cache.d.ts +44 -0
- package/types/apps/src/contracts/dynamic-skills.d.ts +10 -0
- package/types/apps/src/contracts/dynamic-tools.d.ts +13 -0
- package/types/apps/src/contracts/graphql.d.ts +18 -1
- package/types/apps/src/contracts/host.d.ts +54 -525
- package/types/apps/src/contracts/mcp.d.ts +3 -1
- package/types/apps/src/contracts/openapi-compile.d.ts +11 -0
- package/types/apps/src/contracts/openapi-document.d.ts +53 -0
- package/types/apps/src/contracts/openapi.d.ts +156 -30
- package/types/apps/src/contracts/protocol-version.d.ts +6 -0
- package/types/apps/src/contracts/protocols/1.d.ts +1575 -0
- package/types/apps/src/contracts/provider-error.d.ts +15 -0
- package/types/apps/src/contracts/provider.d.ts +18 -1
- package/types/apps/src/contracts/skills.d.ts +122 -0
- package/types/apps/src/contracts/swagger-client.d.ts +29 -0
- package/types/apps/src/graphql.d.ts +6 -6
- package/types/apps/src/host.d.ts +1 -0
- package/types/apps/src/implementation/account-operations.d.ts +122 -3
- package/types/apps/src/implementation/app.d.ts +1 -1
- package/types/apps/src/implementation/cache-session.d.ts +7 -0
- package/types/apps/src/implementation/cache.d.ts +8 -0
- package/types/apps/src/implementation/catalog-cache.d.ts +29 -0
- package/types/apps/src/implementation/dynamic-skills.d.ts +7 -0
- package/types/apps/src/implementation/dynamic-tools.d.ts +8 -0
- package/types/apps/src/implementation/elicitation.d.ts +12 -12
- package/types/apps/src/implementation/git.d.ts +25 -0
- package/types/apps/src/implementation/graphql-catalog.d.ts +10 -0
- package/types/apps/src/implementation/graphql.d.ts +81 -3
- package/types/apps/src/implementation/inflate.d.ts +16 -0
- package/types/apps/src/implementation/input-problems.d.ts +3 -0
- package/types/apps/src/implementation/mcp-call.d.ts +3 -2
- package/types/apps/src/implementation/mcp-catalog.d.ts +12 -0
- package/types/apps/src/implementation/mcp-client.d.ts +9 -8
- package/types/apps/src/implementation/mcp-stdio.d.ts +1 -1
- package/types/apps/src/implementation/mcp-tools.d.ts +6 -3
- package/types/apps/src/implementation/mcp.d.ts +39 -2
- package/types/apps/src/implementation/openapi-compile.d.ts +119 -0
- package/types/apps/src/implementation/openapi-document.d.ts +51 -0
- package/types/apps/src/implementation/openapi-names.d.ts +18 -0
- package/types/apps/src/implementation/openapi-request.d.ts +10 -4
- package/types/apps/src/implementation/openapi-source.d.ts +40 -0
- package/types/apps/src/implementation/openapi.d.ts +39 -3
- package/types/apps/src/implementation/provider-error.d.ts +10 -0
- package/types/apps/src/implementation/schema.d.ts +6 -5
- package/types/apps/src/implementation/skill-files.d.ts +10 -0
- package/types/apps/src/implementation/skills.d.ts +43 -0
- package/types/apps/src/implementation/swagger-client.d.ts +28 -0
- package/types/apps/src/index.d.ts +7 -0
- package/types/apps/src/mcp.d.ts +5 -5
- package/types/apps/src/openapi.d.ts +3 -1
- package/types/apps/src/skills.d.ts +75 -0
- package/types/telemetry/src/config.d.ts +2 -0
- package/js/chunk-22WRQZT7.js +0 -389
- package/js/chunk-MLKGABMK.js +0 -9
package/js/storage/facet.js
CHANGED
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
layer,
|
|
5
5
|
make as make3,
|
|
6
6
|
makeCompilerSqlite
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-M6ZRRIBI.js";
|
|
8
8
|
import {
|
|
9
9
|
makeSqliteDatabase
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-PLCMJREA.js";
|
|
11
|
+
import "../chunk-BMOIAIVR.js";
|
|
12
12
|
import {
|
|
13
13
|
Defect,
|
|
14
14
|
Effect_exports,
|
|
@@ -57,10 +57,10 @@ import {
|
|
|
57
57
|
uninterruptibleMask,
|
|
58
58
|
void_,
|
|
59
59
|
withFiber
|
|
60
|
-
} from "../chunk-
|
|
61
|
-
import "../chunk-
|
|
60
|
+
} from "../chunk-FW5HBOIK.js";
|
|
61
|
+
import "../chunk-CZ7CSFO4.js";
|
|
62
62
|
|
|
63
|
-
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@
|
|
63
|
+
// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect+effect@c7d1ffff31a3e2ae0b0b+a654a55b752bdb24/node_modules/effect/dist/unstable/sql/SqlError.js
|
|
64
64
|
var TypeId = "~effect/sql/SqlError";
|
|
65
65
|
var ReasonTypeId = "~effect/sql/SqlError/Reason";
|
|
66
66
|
var ReasonFields = {
|
|
@@ -390,7 +390,7 @@ var classifySqliteError = (cause, {
|
|
|
390
390
|
return new UnknownError(props);
|
|
391
391
|
};
|
|
392
392
|
|
|
393
|
-
// ../../node_modules/.bun/@effect+sql-sqlite-do@https+++pkg.pr.new+Effect-TS+effect+@effect+sql-sqlite-do@
|
|
393
|
+
// ../../node_modules/.bun/@effect+sql-sqlite-do@https+++pkg.pr.new+Effect-TS+effect+@effect+sql-sqlite-do@c7d1f+993bf1acf30d9933+e4138e778cda3d8b/node_modules/@effect/sql-sqlite-do/dist/SqliteClient.js
|
|
394
394
|
var ATTR_DB_SYSTEM_NAME = "db.system.name";
|
|
395
395
|
var classifyError = (cause, message, operation) => classifySqliteError(cause, {
|
|
396
396
|
message,
|
package/js/ui/auth/contracts.js
CHANGED
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
AppSignInCallback,
|
|
5
5
|
AppSignInCode,
|
|
6
6
|
AppSignInId
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-4LPG6RCH.js";
|
|
8
|
+
import "../../chunk-OHRT55C4.js";
|
|
9
|
+
import "../../chunk-QKHR7BMF.js";
|
|
10
|
+
import "../../chunk-SATWJKN6.js";
|
|
11
|
+
import "../../chunk-FW5HBOIK.js";
|
|
12
|
+
import "../../chunk-CZ7CSFO4.js";
|
|
13
13
|
export {
|
|
14
14
|
AppReturnPath,
|
|
15
15
|
AppSignInApi,
|
package/js/ui/auth.js
CHANGED
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
appPrivateHeaders,
|
|
3
3
|
appSignInPage,
|
|
4
4
|
appSignInScript
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-TE4KO4HI.js";
|
|
6
6
|
import {
|
|
7
7
|
AppReturnPath,
|
|
8
8
|
AppSignInApi,
|
|
9
9
|
AppSignInCallback,
|
|
10
10
|
AppSignInCode,
|
|
11
11
|
AppSignInId
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-4LPG6RCH.js";
|
|
13
|
+
import "../chunk-OHRT55C4.js";
|
|
14
|
+
import "../chunk-HDJH3RPR.js";
|
|
15
|
+
import "../chunk-QKHR7BMF.js";
|
|
16
|
+
import "../chunk-SATWJKN6.js";
|
|
17
|
+
import "../chunk-FW5HBOIK.js";
|
|
18
|
+
import "../chunk-CZ7CSFO4.js";
|
|
19
19
|
export {
|
|
20
20
|
AppReturnPath,
|
|
21
21
|
AppSignInApi,
|
package/js/ui/contracts.js
CHANGED
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
UiOperation,
|
|
8
8
|
UiSnapshot,
|
|
9
9
|
UiUnauthorized
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-OHRT55C4.js";
|
|
11
|
+
import "../chunk-QKHR7BMF.js";
|
|
12
|
+
import "../chunk-SATWJKN6.js";
|
|
13
|
+
import "../chunk-FW5HBOIK.js";
|
|
14
|
+
import "../chunk-CZ7CSFO4.js";
|
|
15
15
|
export {
|
|
16
16
|
AppUiApi,
|
|
17
17
|
UiContext,
|
package/js/ui/serving.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
appPrivateHeaders
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-TE4KO4HI.js";
|
|
4
4
|
import {
|
|
5
5
|
UiForbidden
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-OHRT55C4.js";
|
|
7
7
|
import {
|
|
8
8
|
CurrentTelemetryConfig
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-ZCAMUXSG.js";
|
|
10
|
+
import "../chunk-HDJH3RPR.js";
|
|
11
11
|
import {
|
|
12
12
|
HttpServerRequest_exports,
|
|
13
13
|
HttpServerResponse_exports
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-QKHR7BMF.js";
|
|
15
|
+
import "../chunk-SATWJKN6.js";
|
|
16
16
|
import {
|
|
17
17
|
Effect_exports
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-FW5HBOIK.js";
|
|
19
|
+
import "../chunk-CZ7CSFO4.js";
|
|
20
20
|
|
|
21
21
|
// src/implementation/ui-errors.ts
|
|
22
22
|
var installAppFailureUI = () => {
|
|
23
|
-
let
|
|
23
|
+
let activeDialog;
|
|
24
24
|
let windowStart = Date.now(), reports = 0, dropped = 0;
|
|
25
25
|
const recent = /* @__PURE__ */ new Map();
|
|
26
26
|
const extension = /^(?:chrome|moz|safari-web)-extension:/;
|
|
@@ -75,11 +75,11 @@ var installAppFailureUI = () => {
|
|
|
75
75
|
let status;
|
|
76
76
|
let deliveryMessage = "Sending error report\u2026";
|
|
77
77
|
const show = () => {
|
|
78
|
-
if (
|
|
79
|
-
dialogOpen = true;
|
|
78
|
+
if (activeDialog?.open) return;
|
|
80
79
|
const host = document.createElement("div");
|
|
81
80
|
const root = host.attachShadow({ mode: "open" });
|
|
82
81
|
const dialog = document.createElement("dialog");
|
|
82
|
+
activeDialog = dialog;
|
|
83
83
|
dialog.setAttribute("aria-labelledby", "executor-failure-title");
|
|
84
84
|
const title = document.createElement("h2");
|
|
85
85
|
title.id = "executor-failure-title";
|
|
@@ -112,7 +112,7 @@ Diagnostic ID: ${traceId}`;
|
|
|
112
112
|
close.textContent = "Close";
|
|
113
113
|
close.addEventListener("click", () => dialog.close());
|
|
114
114
|
dialog.addEventListener("close", () => {
|
|
115
|
-
|
|
115
|
+
if (activeDialog === dialog) activeDialog = void 0;
|
|
116
116
|
host.remove();
|
|
117
117
|
});
|
|
118
118
|
dialog.append(title, message, warning, disclosure, status, reload, close);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apps",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.2",
|
|
4
4
|
"description": "TypeScript apps with typed tools, accounts, storage, and UI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -73,6 +73,14 @@
|
|
|
73
73
|
"types": "./types/apps/src/facet.d.ts",
|
|
74
74
|
"import": "./js/storage/facet.js"
|
|
75
75
|
},
|
|
76
|
+
"./skills": {
|
|
77
|
+
"types": "./types/apps/src/skills.d.ts",
|
|
78
|
+
"import": "./js/skills.js"
|
|
79
|
+
},
|
|
80
|
+
"./skills/effect": {
|
|
81
|
+
"types": "./types/apps/src/implementation/skill-files.d.ts",
|
|
82
|
+
"import": "./js/skills/effect.js"
|
|
83
|
+
},
|
|
76
84
|
"./package.json": "./package.json",
|
|
77
85
|
"./runtime.json": "./runtime.json",
|
|
78
86
|
"./framework-reference.json": "./framework-reference.json"
|