apps 0.0.1-beta.34 → 0.0.1-beta.36
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/framework-reference.json +1 -1
- package/js/{chunk-OX233L7N.js → chunk-4U2VUDET.js} +2 -2
- package/js/{chunk-HW3DPBZR.js → chunk-556EWA6P.js} +3 -2
- package/js/{chunk-UMCMZFXW.js → chunk-73AV3JVU.js} +1 -1
- package/js/{chunk-QKVZGWGZ.js → chunk-A2NN45C7.js} +7 -7
- package/js/{chunk-6ZJ2H6P4.js → chunk-A4O72Z3A.js} +298 -190
- package/js/{chunk-FBBXFFFJ.js → chunk-BI45HZWM.js} +2 -2
- package/js/{chunk-DXGWKNTQ.js → chunk-BI6R577B.js} +2 -2
- package/js/{chunk-QUEPZ67T.js → chunk-BKJDZYK7.js} +3 -3
- package/js/{chunk-QZD2RZ4S.js → chunk-CZLCA2O4.js} +8 -8
- package/js/{chunk-IU6OK5G2.js → chunk-ENJCQWVF.js} +3 -3
- package/js/{chunk-DASNNAP4.js → chunk-HDAQBRT5.js} +391 -14
- package/js/{chunk-EXGKN554.js → chunk-IJQ5LE74.js} +9805 -9254
- package/js/{chunk-5JVNM3CQ.js → chunk-IU7CCCUC.js} +12 -12
- package/js/{chunk-Q7Q5JTRW.js → chunk-JU7F4PRK.js} +2 -2
- package/js/{chunk-CJY5X26R.js → chunk-KOOJUMLR.js} +86 -50
- package/js/{chunk-ETLILMHY.js → chunk-KZFV3WCJ.js} +21 -19
- package/js/{chunk-ZOY7PDMI.js → chunk-NHCFIWN5.js} +1 -1
- package/js/chunk-NHUHTWAF.js +0 -0
- package/js/{chunk-QYM4STZW.js → chunk-PHO7HXTC.js} +149 -353
- package/js/{chunk-O3OAFU7Q.js → chunk-POOIHRPF.js} +2 -2
- package/js/{chunk-AUFVX4KM.js → chunk-RSNZDT4L.js} +2 -2
- package/js/{chunk-EPUWF4ZG.js → chunk-SRB2WDU7.js} +3 -3
- package/js/{chunk-MFHUR5SB.js → chunk-TADLIUEU.js} +4 -4
- package/js/{chunk-5OM6HBNU.js → chunk-UBAKWXAJ.js} +20 -29
- package/js/chunk-V5DWGYRK.js +268 -0
- package/js/{chunk-MYH3QZ4L.js → chunk-WAGGHNWH.js} +23 -15
- package/js/{chunk-GZ4UHXRT.js → chunk-WDBUOIWV.js} +3 -3
- package/js/{chunk-PUBNIORL.js → chunk-WMVTBHGK.js} +2 -2
- package/js/{chunk-DSUKW6KJ.js → chunk-XEXUHXC3.js} +296 -174
- package/js/{chunk-6KG4DZD7.js → chunk-Y3XN4X4Q.js} +1 -1
- package/js/{chunk-UKMIHP2G.js → chunk-YW333DH3.js} +4 -4
- package/js/{chunk-O4QOPXQT.js → chunk-ZQWDOHEO.js} +31 -24
- package/js/client.js +12 -11
- package/js/contracts.js +14 -11
- package/js/effect.js +23 -21
- package/js/graphql.js +25 -23
- package/js/host.js +23 -21
- package/js/index.js +16 -14
- package/js/mcp/effect.js +25 -23
- package/js/mcp/stdio.js +25 -23
- package/js/mcp.js +27 -25
- package/js/openapi.js +22 -21
- package/js/react.js +3 -3
- package/js/skills/effect.js +6 -5
- package/js/skills.js +60 -45
- package/js/storage/facet.js +19 -345
- package/js/ui/auth/contracts.js +2 -2
- package/js/ui/auth.js +5 -5
- package/js/ui/contracts.js +6 -5
- package/js/ui/serving.js +10 -9
- package/package.json +3 -3
- package/runtime.json +1 -1
- package/types/app-data/src/implementation/sqlite.d.ts +1 -1
- package/types/apps/src/contracts/elicitation.d.ts +6 -6
- package/types/apps/src/contracts/host.d.ts +10 -6
- package/types/apps/src/contracts/mcp.d.ts +6 -1
- package/types/apps/src/contracts/openapi.d.ts +1 -1
- package/types/apps/src/contracts/protocol-version.d.ts +2 -2
- package/types/apps/src/contracts/protocols/1.d.ts +12 -5
- package/types/apps/src/contracts/protocols/2.d.ts +5 -5
- package/types/apps/src/contracts/protocols/3.d.ts +5 -6
- package/types/apps/src/contracts/protocols/4.d.ts +5 -6
- package/types/apps/src/contracts/protocols/5.d.ts +7 -7
- package/types/apps/src/contracts/protocols/6.d.ts +7 -7
- package/types/apps/src/contracts/protocols/7.d.ts +7 -7
- package/types/apps/src/contracts/protocols/8.d.ts +17 -6
- package/types/apps/src/contracts/protocols/9.d.ts +1106 -0
- package/types/apps/src/contracts/skills.d.ts +5 -0
- package/types/apps/src/contracts/ui.d.ts +1 -1
- package/types/apps/src/implementation/failure-detail.d.ts +4 -3
- package/types/apps/src/implementation/live.d.ts +2 -2
- package/types/apps/src/implementation/mcp-client.d.ts +1 -1
- package/types/apps/src/implementation/mcp.d.ts +1 -1
- package/types/apps/src/implementation/network.d.ts +1 -1
- package/types/apps/src/implementation/openapi-compile.d.ts +1 -1
- package/types/apps/src/implementation/optimistic.d.ts +1 -1
- package/types/apps/src/implementation/query-commit.d.ts +1 -1
- package/types/apps/src/implementation/router-catalog.d.ts +2 -3
- package/types/apps/src/implementation/skills.d.ts +8 -8
- package/types/apps/src/implementation/ui-auth.d.ts +1 -1
- package/types/apps/src/implementation/ui-client.d.ts +1 -1
- package/types/apps/src/implementation/ui-serving.d.ts +1 -1
- package/types/apps/src/react.d.ts +1 -1
- package/types/apps/src/skills.d.ts +2 -1
- package/types/telemetry/src/browser-operations.d.ts +1 -1
- package/types/telemetry/src/browser.d.ts +2 -2
- package/types/telemetry/src/layer.d.ts +2 -2
- package/types/telemetry/src/relay.d.ts +2 -2
- package/types/telemetry/src/transport.d.ts +1 -1
- package/types/utils/src/api-error.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FetchHttpClient_exports
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TADLIUEU.js";
|
|
4
4
|
import {
|
|
5
5
|
HttpBody_exports,
|
|
6
6
|
HttpClient,
|
|
@@ -16,9 +16,11 @@ import {
|
|
|
16
16
|
post,
|
|
17
17
|
retryTransient,
|
|
18
18
|
setBody,
|
|
19
|
+
tap,
|
|
20
|
+
tapError,
|
|
19
21
|
transformResponse,
|
|
20
22
|
uint8Array
|
|
21
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KOOJUMLR.js";
|
|
22
24
|
import {
|
|
23
25
|
Array as Array2,
|
|
24
26
|
Boolean2 as Boolean,
|
|
@@ -53,7 +55,7 @@ import {
|
|
|
53
55
|
UndefinedOr,
|
|
54
56
|
addDelay,
|
|
55
57
|
addFinalizer,
|
|
56
|
-
all,
|
|
58
|
+
all2 as all,
|
|
57
59
|
allocate,
|
|
58
60
|
andThen,
|
|
59
61
|
annotateLogs,
|
|
@@ -107,7 +109,7 @@ import {
|
|
|
107
109
|
prettyErrors,
|
|
108
110
|
provideMerge,
|
|
109
111
|
provideService,
|
|
110
|
-
|
|
112
|
+
random,
|
|
111
113
|
run2 as run,
|
|
112
114
|
runtime,
|
|
113
115
|
schema,
|
|
@@ -125,7 +127,7 @@ import {
|
|
|
125
127
|
withDefault2 as withDefault,
|
|
126
128
|
withTracerEnabled,
|
|
127
129
|
zero
|
|
128
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-IJQ5LE74.js";
|
|
129
131
|
import {
|
|
130
132
|
__export
|
|
131
133
|
} from "./chunk-CZ7CSFO4.js";
|
|
@@ -941,7 +943,7 @@ var spanAttributes = (clock, recordAll = false) => Layer_exports.effect(Tracer_e
|
|
|
941
943
|
);
|
|
942
944
|
var allowlistedSpans = spanAttributes();
|
|
943
945
|
|
|
944
|
-
// ../../node_modules/.bun/effect@
|
|
946
|
+
// ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/observability/OtlpLogger.js
|
|
945
947
|
var OtlpLogger_exports = {};
|
|
946
948
|
__export(OtlpLogger_exports, {
|
|
947
949
|
layer: () => layer2,
|
|
@@ -949,7 +951,7 @@ __export(OtlpLogger_exports, {
|
|
|
949
951
|
make: () => make6
|
|
950
952
|
});
|
|
951
953
|
|
|
952
|
-
// ../../node_modules/.bun/effect@
|
|
954
|
+
// ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/observability/internal/otlpEnv.js
|
|
953
955
|
var exporterList = (path) => Array2(String2, path).pipe(map3((_) => _.map((_2) => _2.toLowerCase().trim()).filter((_2) => _2 !== "")));
|
|
954
956
|
var headersRecord = (path) => Record(String2, StringFromUriComponent, path);
|
|
955
957
|
var headers = (signal) => headersRecord(`OTEL_EXPORTER_OTLP_${signal}_HEADERS`).pipe(orElse(() => headersRecord("OTEL_EXPORTER_OTLP_HEADERS")), withDefault(void 0));
|
|
@@ -960,7 +962,7 @@ var endpoint = (signal) => URL2(`OTEL_EXPORTER_OTLP_${signal}_ENDPOINT`).pipe(or
|
|
|
960
962
|
}))), withDefault(void 0));
|
|
961
963
|
var exporters = (signal) => exporterList(`OTEL_${signal}_EXPORTER`).pipe(withDefault([]));
|
|
962
964
|
|
|
963
|
-
// ../../node_modules/.bun/effect@
|
|
965
|
+
// ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/observability/OtlpExporter.js
|
|
964
966
|
var OtlpExporter_exports = {};
|
|
965
967
|
__export(OtlpExporter_exports, {
|
|
966
968
|
Flusher: () => Flusher,
|
|
@@ -1015,7 +1017,7 @@ var make4 = /* @__PURE__ */ fnUntraced(function* (options) {
|
|
|
1015
1017
|
const scope = get(services, Scope);
|
|
1016
1018
|
const exportInterval = max(fromInputUnsafe(options.exportInterval), zero);
|
|
1017
1019
|
let disabledUntil = void 0;
|
|
1018
|
-
const client =
|
|
1020
|
+
const client = get(services, HttpClient).pipe(tap((response) => ignore(response.arrayBuffer)), tapError((error) => error.response ? ignore(error.response.arrayBuffer) : void_), filterStatusOk, transformResponse(provideService(TracerPropagationEnabled, false)), retryTransient({
|
|
1019
1021
|
schedule: policy,
|
|
1020
1022
|
times: 3
|
|
1021
1023
|
}));
|
|
@@ -1072,7 +1074,7 @@ var make4 = /* @__PURE__ */ fnUntraced(function* (options) {
|
|
|
1072
1074
|
};
|
|
1073
1075
|
});
|
|
1074
1076
|
|
|
1075
|
-
// ../../node_modules/.bun/effect@
|
|
1077
|
+
// ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/observability/OtlpResource.js
|
|
1076
1078
|
var make5 = (options) => {
|
|
1077
1079
|
const resourceAttributes = options.attributes ? entriesToAttributes(Object.entries(options.attributes)) : [];
|
|
1078
1080
|
resourceAttributes.push({
|
|
@@ -1161,7 +1163,7 @@ var unknownToAttributeValue = (value) => {
|
|
|
1161
1163
|
}
|
|
1162
1164
|
};
|
|
1163
1165
|
|
|
1164
|
-
// ../../node_modules/.bun/effect@
|
|
1166
|
+
// ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/observability/OtlpSerialization.js
|
|
1165
1167
|
var OtlpSerialization_exports = {};
|
|
1166
1168
|
__export(OtlpSerialization_exports, {
|
|
1167
1169
|
OtlpSerialization: () => OtlpSerialization,
|
|
@@ -1169,7 +1171,7 @@ __export(OtlpSerialization_exports, {
|
|
|
1169
1171
|
layerProtobuf: () => layerProtobuf
|
|
1170
1172
|
});
|
|
1171
1173
|
|
|
1172
|
-
// ../../node_modules/.bun/effect@
|
|
1174
|
+
// ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/observability/internal/protobuf.js
|
|
1173
1175
|
var WireType2 = {
|
|
1174
1176
|
Varint: 0,
|
|
1175
1177
|
Fixed64: 1,
|
|
@@ -1238,7 +1240,7 @@ var messageField = (fieldNumber, message) => lengthDelimitedField(fieldNumber, m
|
|
|
1238
1240
|
var repeatedField = (fieldNumber, values, encode) => concat(...values.map((v) => messageField(fieldNumber, encode(v))));
|
|
1239
1241
|
var optionalStringField = (fieldNumber, value) => value !== void 0 && value !== "" ? stringField(fieldNumber, value) : new Uint8Array(0);
|
|
1240
1242
|
|
|
1241
|
-
// ../../node_modules/.bun/effect@
|
|
1243
|
+
// ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/observability/internal/otlpProtobuf.js
|
|
1242
1244
|
var encodeAnyValue = (value) => {
|
|
1243
1245
|
if (value.stringValue !== void 0 && value.stringValue !== null) {
|
|
1244
1246
|
return stringField(1, value.stringValue);
|
|
@@ -1293,7 +1295,7 @@ var encodeScopeLogs = (scopeLogs) => concat(messageField(1, encodeInstrumentatio
|
|
|
1293
1295
|
var encodeResourceLogs = (resourceLogs) => concat(messageField(1, encodeResource(resourceLogs.resource)), repeatedField(2, resourceLogs.scopeLogs, encodeScopeLogs), optionalStringField(3, resourceLogs.schemaUrl));
|
|
1294
1296
|
var encodeLogsData = (logsData) => repeatedField(1, logsData.resourceLogs, encodeResourceLogs);
|
|
1295
1297
|
|
|
1296
|
-
// ../../node_modules/.bun/effect@
|
|
1298
|
+
// ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/observability/OtlpSerialization.js
|
|
1297
1299
|
var OtlpSerialization = class extends (/* @__PURE__ */ Service()("effect/observability/OtlpSerialization")) {
|
|
1298
1300
|
};
|
|
1299
1301
|
var layerJson = /* @__PURE__ */ succeed(OtlpSerialization, {
|
|
@@ -1307,7 +1309,7 @@ var layerProtobuf = /* @__PURE__ */ succeed(OtlpSerialization, {
|
|
|
1307
1309
|
logs: (logs) => uint8Array(encodeLogsData(logs), "application/x-protobuf")
|
|
1308
1310
|
});
|
|
1309
1311
|
|
|
1310
|
-
// ../../node_modules/.bun/effect@
|
|
1312
|
+
// ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/observability/OtlpLogger.js
|
|
1311
1313
|
var make6 = /* @__PURE__ */ fnUntraced(function* (options) {
|
|
1312
1314
|
const serialization = yield* OtlpSerialization;
|
|
1313
1315
|
const otelResource = yield* fromConfig(options.resource);
|
|
@@ -1473,7 +1475,7 @@ var ESeverityNumber = {
|
|
|
1473
1475
|
SEVERITY_NUMBER_FATAL4: 24
|
|
1474
1476
|
};
|
|
1475
1477
|
|
|
1476
|
-
// ../../node_modules/.bun/effect@
|
|
1478
|
+
// ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/observability/OtlpMetrics.js
|
|
1477
1479
|
var OtlpMetrics_exports = {};
|
|
1478
1480
|
__export(OtlpMetrics_exports, {
|
|
1479
1481
|
layer: () => layer3,
|
|
@@ -1936,7 +1938,7 @@ var EAggregationTemporality = {
|
|
|
1936
1938
|
AGGREGATION_TEMPORALITY_CUMULATIVE: 2
|
|
1937
1939
|
};
|
|
1938
1940
|
|
|
1939
|
-
// ../../node_modules/.bun/effect@
|
|
1941
|
+
// ../../node_modules/.bun/effect@4.0.1/node_modules/effect/dist/observability/OtlpTracer.js
|
|
1940
1942
|
var OtlpTracer_exports = {};
|
|
1941
1943
|
__export(OtlpTracer_exports, {
|
|
1942
1944
|
layer: () => layer4,
|
|
@@ -2051,10 +2053,10 @@ var SpanImpl = class {
|
|
|
2051
2053
|
};
|
|
2052
2054
|
}
|
|
2053
2055
|
get traceId() {
|
|
2054
|
-
return this._traceId ??= isSome(this.parent) ? this.parent.value.traceId :
|
|
2056
|
+
return this._traceId ??= isSome(this.parent) ? this.parent.value.traceId : random(32);
|
|
2055
2057
|
}
|
|
2056
2058
|
get spanId() {
|
|
2057
|
-
return this._spanId ??=
|
|
2059
|
+
return this._spanId ??= random(16);
|
|
2058
2060
|
}
|
|
2059
2061
|
get attributes() {
|
|
2060
2062
|
return this._attributes ??= /* @__PURE__ */ new Map();
|
|
File without changes
|