apps 0.0.1-beta.135 → 0.0.1-beta.138
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-IMTTIZID.js → chunk-DXAVGW7B.js} +1 -1
- package/js/{chunk-YYLI5HVR.js → chunk-E2R4JVK3.js} +2 -2
- package/js/{chunk-5SSWQNLR.js → chunk-GGDUOJT5.js} +2 -2
- package/js/{chunk-KVZRGT5A.js → chunk-IW5S6WEE.js} +2 -2
- package/js/{chunk-XNDA3277.js → chunk-IZUYCUH5.js} +4 -4
- package/js/{chunk-3PIXIKHR.js → chunk-JH3MOQZR.js} +24 -10
- package/js/{chunk-PZQCBLMC.js → chunk-RBSXSRPU.js} +1 -1
- package/js/{chunk-36COQXTI.js → chunk-T2PEBOBK.js} +2 -2
- package/js/{chunk-AYXVIAPV.js → chunk-W4WVDYQU.js} +3 -3
- package/js/{chunk-JYH7YLV7.js → chunk-YF7TYPDS.js} +1 -1
- package/js/{chunk-YRAKYZJP.js → chunk-ZL56WYWO.js} +7 -7
- package/js/client.js +109 -16
- package/js/effect.js +8 -8
- package/js/graphql.js +10 -10
- package/js/host.js +8 -8
- package/js/index.js +4 -4
- package/js/mcp/effect.js +9 -9
- package/js/mcp.js +11 -11
- package/js/openapi.js +6 -6
- package/js/skills.js +5 -5
- package/js/ui/serving.js +1 -1
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/telemetry/src/keepalive.d.ts +21 -4
- package/types/telemetry/src/transport.d.ts +5 -3
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
PartialListing,
|
|
6
6
|
joinPath,
|
|
7
7
|
mergeMeta
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DXAVGW7B.js";
|
|
9
9
|
import {
|
|
10
10
|
isShortenedStated,
|
|
11
11
|
parseProviderError,
|
|
12
12
|
providerError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RBSXSRPU.js";
|
|
14
14
|
import {
|
|
15
15
|
ApiErrorResponse,
|
|
16
16
|
CacheError,
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
declaredOperations,
|
|
3
3
|
nativeOperation,
|
|
4
4
|
nativeRouter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DXAVGW7B.js";
|
|
6
6
|
import {
|
|
7
7
|
fromPromise,
|
|
8
8
|
method
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RBSXSRPU.js";
|
|
10
10
|
import {
|
|
11
11
|
EmittedEvent,
|
|
12
12
|
EventName,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fixedRouter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E2R4JVK3.js";
|
|
4
4
|
import {
|
|
5
5
|
nativeOperation,
|
|
6
6
|
operationDeclaration,
|
|
7
7
|
routerDeclaration
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DXAVGW7B.js";
|
|
9
9
|
|
|
10
10
|
// src/implementation/protocol-operations.ts
|
|
11
11
|
var protocolOperations = (operations, kinds = {}) => {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prepareElicitation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZL56WYWO.js";
|
|
4
4
|
import {
|
|
5
5
|
failOnNetworkRefusal
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YF7TYPDS.js";
|
|
7
7
|
import {
|
|
8
8
|
accountProviderError,
|
|
9
9
|
bodyUpstreamError,
|
|
10
10
|
fromPromise,
|
|
11
11
|
httpProviderError,
|
|
12
12
|
providerErrorDetail
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RBSXSRPU.js";
|
|
14
14
|
import {
|
|
15
15
|
ElicitationFailed,
|
|
16
16
|
McpCredentialsUnverified,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
captureTelemetry,
|
|
39
39
|
owned
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-JH3MOQZR.js";
|
|
41
41
|
import {
|
|
42
42
|
FetchHttpClient_exports
|
|
43
43
|
} from "./chunk-I6QAWNUM.js";
|
|
@@ -49,7 +49,6 @@ import {
|
|
|
49
49
|
Predicate_exports,
|
|
50
50
|
Record2 as Record,
|
|
51
51
|
Redacted_exports,
|
|
52
|
-
Schedule_exports,
|
|
53
52
|
Schema_exports,
|
|
54
53
|
Scope,
|
|
55
54
|
Scope_exports,
|
|
@@ -1050,14 +1049,28 @@ var retryDelay = (error) => Effect_exports.gen(function* () {
|
|
|
1050
1049
|
if (Number.isNaN(date)) return Duration_exports.seconds(5);
|
|
1051
1050
|
return Duration_exports.millis(Math.max(date - (yield* Clock_exports.currentTimeMillis), 1));
|
|
1052
1051
|
});
|
|
1052
|
+
var retries = 3;
|
|
1053
|
+
var exportBudget = Duration_exports.seconds(27);
|
|
1053
1054
|
var retryTelemetryExport = (client) => client.pipe(
|
|
1054
|
-
HttpClient_exports.
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1055
|
+
HttpClient_exports.transformResponse(
|
|
1056
|
+
(response) => Effect_exports.flatMap(Clock_exports.currentTimeMillis, (started) => {
|
|
1057
|
+
const attemptMs = Duration_exports.toMillis(Duration_exports.fromInputUnsafe(telemetryRequestTimeout));
|
|
1058
|
+
const deadline = started + Duration_exports.toMillis(exportBudget);
|
|
1059
|
+
const attempt = (made) => response.pipe(
|
|
1060
|
+
Effect_exports.catchIf(
|
|
1061
|
+
(error) => made < retries && HttpClient_exports.isTransientError(error),
|
|
1062
|
+
(error) => Effect_exports.gen(function* () {
|
|
1063
|
+
const wanted = Duration_exports.toMillis(yield* retryDelay(error));
|
|
1064
|
+
const left = deadline - (yield* Clock_exports.currentTimeMillis) - attemptMs;
|
|
1065
|
+
if (left < 0) return yield* Effect_exports.fail(error);
|
|
1066
|
+
yield* Effect_exports.sleep(Duration_exports.millis(Math.min(wanted, left)));
|
|
1067
|
+
return yield* attempt(made + 1);
|
|
1068
|
+
})
|
|
1069
|
+
)
|
|
1070
|
+
);
|
|
1071
|
+
return attempt(0);
|
|
1072
|
+
})
|
|
1073
|
+
)
|
|
1061
1074
|
);
|
|
1062
1075
|
|
|
1063
1076
|
// ../telemetry/src/recorded-failure.ts
|
|
@@ -2832,7 +2845,7 @@ var forwarder = Effect_exports.gen(function* () {
|
|
|
2832
2845
|
const take = () => {
|
|
2833
2846
|
let size = 0;
|
|
2834
2847
|
let count2 = 0;
|
|
2835
|
-
while (count2 < pending.length && (count2 === 0 || size + pending[count2].size <=
|
|
2848
|
+
while (count2 < pending.length && (count2 === 0 || size + pending[count2].size <= exportBudget2))
|
|
2836
2849
|
size += pending[count2++].size;
|
|
2837
2850
|
queued -= size;
|
|
2838
2851
|
return pending.splice(0, count2);
|
|
@@ -2897,7 +2910,7 @@ var makeTelemetryForwarder = Effect_exports.flatMap(
|
|
|
2897
2910
|
)
|
|
2898
2911
|
);
|
|
2899
2912
|
var queueBudget = 8 * 1048576;
|
|
2900
|
-
var
|
|
2913
|
+
var exportBudget2 = 4 * 1048576;
|
|
2901
2914
|
var payloadBytes = 262144;
|
|
2902
2915
|
var encoder = new TextEncoder();
|
|
2903
2916
|
var Payload = Schema_exports.String.check(
|
|
@@ -3156,6 +3169,7 @@ export {
|
|
|
3156
3169
|
withRemoteSpan,
|
|
3157
3170
|
invocationFetch,
|
|
3158
3171
|
collectTelemetry,
|
|
3172
|
+
TraceContext,
|
|
3159
3173
|
externalTrace,
|
|
3160
3174
|
traceLinks,
|
|
3161
3175
|
pendingSpan
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getWithReads
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W4WVDYQU.js";
|
|
4
4
|
import {
|
|
5
5
|
fromPromise,
|
|
6
6
|
method,
|
|
7
7
|
toPromise
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RBSXSRPU.js";
|
|
9
9
|
import {
|
|
10
10
|
CacheError
|
|
11
11
|
} from "./chunk-7MPPHKRW.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
appInvocationFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YF7TYPDS.js";
|
|
4
4
|
import {
|
|
5
5
|
fromPromise,
|
|
6
6
|
method,
|
|
7
7
|
toPromise
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RBSXSRPU.js";
|
|
9
9
|
import {
|
|
10
10
|
CacheAcquired,
|
|
11
11
|
CacheEntry,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
captureTelemetry,
|
|
21
21
|
owned,
|
|
22
22
|
ownedBy
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JH3MOQZR.js";
|
|
24
24
|
import {
|
|
25
25
|
Clock_exports,
|
|
26
26
|
Duration_exports,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
authorCache,
|
|
3
3
|
unavailableCache
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-W4WVDYQU.js";
|
|
5
5
|
import {
|
|
6
6
|
accountSecrets,
|
|
7
7
|
boundFailureMessage,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
parseSkillLoadFailed,
|
|
13
13
|
readCatalog,
|
|
14
14
|
routerSkills
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-E2R4JVK3.js";
|
|
16
16
|
import {
|
|
17
17
|
appInvocationFetch
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YF7TYPDS.js";
|
|
19
19
|
import {
|
|
20
20
|
folderSkillsEffect
|
|
21
21
|
} from "./chunk-34RH47V5.js";
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
makeEmitter,
|
|
27
27
|
toEffectApp,
|
|
28
28
|
withPlacements
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GGDUOJT5.js";
|
|
30
30
|
import {
|
|
31
31
|
declaredOperations,
|
|
32
32
|
locate,
|
|
33
33
|
nativeOperation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DXAVGW7B.js";
|
|
35
35
|
import {
|
|
36
36
|
accountProviderError,
|
|
37
37
|
appCode,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
httpProviderError,
|
|
40
40
|
parseProviderError,
|
|
41
41
|
toPromise
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-RBSXSRPU.js";
|
|
43
43
|
import {
|
|
44
44
|
AccountCheckResult,
|
|
45
45
|
DeclaredProvider,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
makeOwnershipAccounting,
|
|
119
119
|
measuredSpan,
|
|
120
120
|
owned
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-JH3MOQZR.js";
|
|
122
122
|
import {
|
|
123
123
|
JsonObject,
|
|
124
124
|
JsonValue
|
package/js/client.js
CHANGED
|
@@ -15,11 +15,12 @@ import {
|
|
|
15
15
|
} from "./chunk-WXHRUWNT.js";
|
|
16
16
|
import {
|
|
17
17
|
OtlpExporter_exports,
|
|
18
|
+
TraceContext,
|
|
18
19
|
externalTrace,
|
|
19
20
|
pendingSpan,
|
|
20
21
|
telemetryLayer,
|
|
21
22
|
traceLinks
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JH3MOQZR.js";
|
|
23
24
|
import {
|
|
24
25
|
FetchHttpClient_exports
|
|
25
26
|
} from "./chunk-I6QAWNUM.js";
|
|
@@ -448,12 +449,57 @@ var observeBrowserPerformance = Effect_exports.gen(function* () {
|
|
|
448
449
|
};
|
|
449
450
|
});
|
|
450
451
|
|
|
452
|
+
// ../utils/src/random-uuid.ts
|
|
453
|
+
var randomUuid = () => Array.from(crypto.getRandomValues(new Uint8Array(16)), (byte, index) => {
|
|
454
|
+
const value = index === 6 ? byte & 15 | 64 : index === 8 ? byte & 63 | 128 : byte;
|
|
455
|
+
const separator = [4, 6, 8, 10].includes(index) ? "-" : "";
|
|
456
|
+
return separator + value.toString(16).padStart(2, "0");
|
|
457
|
+
}).join("");
|
|
458
|
+
|
|
459
|
+
// ../telemetry/src/browser-operations.ts
|
|
460
|
+
var pageIds = /* @__PURE__ */ new WeakMap();
|
|
461
|
+
var browserPageId = () => {
|
|
462
|
+
if (typeof document === "undefined") return void 0;
|
|
463
|
+
const existing = pageIds.get(document);
|
|
464
|
+
if (existing !== void 0) return existing;
|
|
465
|
+
const created = randomUuid();
|
|
466
|
+
pageIds.set(document, created);
|
|
467
|
+
return created;
|
|
468
|
+
};
|
|
469
|
+
var BrowserOperationFailure = Schema_exports.Struct({
|
|
470
|
+
error_type: Schema_exports.Literals([
|
|
471
|
+
"BrowserDecodeFailed",
|
|
472
|
+
"BrowserConnectionFailed",
|
|
473
|
+
"BrowserTransportFailed",
|
|
474
|
+
"BrowserOperationFailed"
|
|
475
|
+
]),
|
|
476
|
+
trace_id: TraceContext.fields.traceId,
|
|
477
|
+
span_id: TraceContext.fields.spanId,
|
|
478
|
+
page_id: Schema_exports.String
|
|
479
|
+
});
|
|
480
|
+
var ResponseTrace = Context_exports.Reference("telemetry/ResponseTrace", {
|
|
481
|
+
defaultValue: () => void 0
|
|
482
|
+
});
|
|
483
|
+
|
|
451
484
|
// ../telemetry/src/keepalive.ts
|
|
452
485
|
var quota = 65536;
|
|
453
486
|
var inFlight = 0;
|
|
487
|
+
var resendListener;
|
|
488
|
+
var earlyResends = [];
|
|
489
|
+
var recordResend = (sender, outcome) => {
|
|
490
|
+
if (resendListener !== void 0) resendListener(sender, outcome);
|
|
491
|
+
else if (earlyResends.length < 50) earlyResends.push([sender, outcome]);
|
|
492
|
+
};
|
|
493
|
+
var onKeepaliveResend = (listener) => {
|
|
494
|
+
resendListener = listener;
|
|
495
|
+
for (const [sender, outcome] of earlyResends.splice(0)) listener(sender, outcome);
|
|
496
|
+
return () => {
|
|
497
|
+
if (resendListener === listener) resendListener = void 0;
|
|
498
|
+
};
|
|
499
|
+
};
|
|
454
500
|
var pageFetch = globalThis.fetch.bind(globalThis);
|
|
455
501
|
var keepaliveRoom = () => quota - inFlight;
|
|
456
|
-
var countedFetch = (send, input, init, keepaliveBytes) => {
|
|
502
|
+
var countedFetch = (sender, send, input, init, keepaliveBytes) => {
|
|
457
503
|
const counted = keepaliveBytes === false ? 0 : keepaliveBytes;
|
|
458
504
|
inFlight += counted;
|
|
459
505
|
let released = false;
|
|
@@ -469,12 +515,18 @@ var countedFetch = (send, input, init, keepaliveBytes) => {
|
|
|
469
515
|
release();
|
|
470
516
|
throw cause;
|
|
471
517
|
}
|
|
472
|
-
if (counted === 0)
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
518
|
+
if (counted === 0) release();
|
|
519
|
+
else response.then((answered) => answered.clone().arrayBuffer()).then(release, release);
|
|
520
|
+
if (keepaliveBytes === false) return response;
|
|
521
|
+
return response.catch((cause) => {
|
|
522
|
+
if (!(cause instanceof TypeError)) throw cause;
|
|
523
|
+
const resent = send(input, { ...init, keepalive: false });
|
|
524
|
+
resent.then(
|
|
525
|
+
() => recordResend(sender, "resent"),
|
|
526
|
+
() => recordResend(sender, "resend-failed")
|
|
527
|
+
);
|
|
528
|
+
return resent;
|
|
529
|
+
});
|
|
478
530
|
};
|
|
479
531
|
var encoder = new TextEncoder();
|
|
480
532
|
|
|
@@ -510,7 +562,7 @@ var splitTraces = (body, limit) => {
|
|
|
510
562
|
return low === 0 ? void 0 : [part(low, true), part(low, false)];
|
|
511
563
|
};
|
|
512
564
|
var exportFetch = (page) => {
|
|
513
|
-
const send = (input, init, body, keepalive) => countedFetch(fetch, input, { ...init, body }, keepalive);
|
|
565
|
+
const send = (input, init, body, keepalive) => countedFetch("exports", fetch, input, { ...init, body }, keepalive);
|
|
514
566
|
return (input, init) => {
|
|
515
567
|
const body = requestBytes(init?.body);
|
|
516
568
|
if (body === void 0) return fetch(input, init);
|
|
@@ -526,18 +578,36 @@ var exportFetch = (page) => {
|
|
|
526
578
|
]).then(([rest2, head2]) => head2.ok ? rest2 : head2);
|
|
527
579
|
};
|
|
528
580
|
};
|
|
581
|
+
var carryExportResends = (pending) => Layer_exports.effect(Tracer_exports.Tracer)(
|
|
582
|
+
Tracer_exports.Tracer.pipe(
|
|
583
|
+
Effect_exports.map((tracer) => ({
|
|
584
|
+
...tracer,
|
|
585
|
+
span: (options) => {
|
|
586
|
+
const span = tracer.span(options);
|
|
587
|
+
if (pending.resent > 0)
|
|
588
|
+
span.attribute("executor.keepalive.export_resends", pending.resent);
|
|
589
|
+
if (pending.failed > 0)
|
|
590
|
+
span.attribute("executor.keepalive.export_resend_failures", pending.failed);
|
|
591
|
+
pending.resent = 0;
|
|
592
|
+
pending.failed = 0;
|
|
593
|
+
return span;
|
|
594
|
+
}
|
|
595
|
+
}))
|
|
596
|
+
)
|
|
597
|
+
);
|
|
529
598
|
var browserTelemetryLayer = (settings) => Layer_exports.unwrap(
|
|
530
599
|
settings.pipe(
|
|
531
600
|
Effect_exports.map((config) => {
|
|
532
601
|
const page = { leaving: false };
|
|
602
|
+
const exportResends = { resent: 0, failed: 0 };
|
|
533
603
|
return Layer_exports.effect(
|
|
534
604
|
BrowserTelemetry,
|
|
535
605
|
Effect_exports.gen(function* () {
|
|
536
606
|
const flusher = yield* OtlpExporter_exports.Flusher;
|
|
537
607
|
const run = yield* FiberSet_exports.makeRuntime();
|
|
538
608
|
let navigation;
|
|
539
|
-
const
|
|
540
|
-
const flush =
|
|
609
|
+
const performance2 = yield* observeBrowserPerformance;
|
|
610
|
+
const flush = performance2.flush.pipe(
|
|
541
611
|
Effect_exports.andThen(flusher.flush),
|
|
542
612
|
Effect_exports.timeoutOption("2 seconds"),
|
|
543
613
|
Effect_exports.asVoid
|
|
@@ -555,17 +625,35 @@ var browserTelemetryLayer = (settings) => Layer_exports.unwrap(
|
|
|
555
625
|
if (navigation !== void 0 && document.visibilityState === "hidden")
|
|
556
626
|
navigation.hidden = true;
|
|
557
627
|
run(
|
|
558
|
-
document.visibilityState === "hidden" ?
|
|
628
|
+
document.visibilityState === "hidden" ? performance2.pause.pipe(Effect_exports.andThen(flush)) : performance2.resume
|
|
559
629
|
);
|
|
560
630
|
};
|
|
561
631
|
const onHide = () => {
|
|
562
632
|
page.leaving = true;
|
|
563
|
-
run(
|
|
633
|
+
run(performance2.hide.pipe(Effect_exports.andThen(flush)));
|
|
564
634
|
};
|
|
565
635
|
const onShow = (event) => {
|
|
566
636
|
page.leaving = false;
|
|
567
|
-
if (event.persisted) run(
|
|
637
|
+
if (event.persisted) run(performance2.restore);
|
|
568
638
|
};
|
|
639
|
+
const stopResends = onKeepaliveResend((sender, outcome) => {
|
|
640
|
+
if (sender === "exports") {
|
|
641
|
+
if (outcome === "resent") exportResends.resent++;
|
|
642
|
+
else exportResends.failed++;
|
|
643
|
+
return;
|
|
644
|
+
}
|
|
645
|
+
const attributes = {
|
|
646
|
+
"executor.keepalive.sender": sender,
|
|
647
|
+
"executor.keepalive.outcome": outcome,
|
|
648
|
+
"executor.page.id": browserPageId() ?? ""
|
|
649
|
+
};
|
|
650
|
+
run(
|
|
651
|
+
Effect_exports.logInfo("ui.keepalive.resend").pipe(
|
|
652
|
+
Effect_exports.annotateLogs(attributes),
|
|
653
|
+
Effect_exports.withSpan("ui.keepalive.resend", { root: true, attributes })
|
|
654
|
+
)
|
|
655
|
+
);
|
|
656
|
+
});
|
|
569
657
|
window.addEventListener("error", onError);
|
|
570
658
|
window.addEventListener("unhandledrejection", onRejection);
|
|
571
659
|
window.addEventListener("pagehide", onHide);
|
|
@@ -578,6 +666,7 @@ var browserTelemetryLayer = (settings) => Layer_exports.unwrap(
|
|
|
578
666
|
window.removeEventListener("pagehide", onHide);
|
|
579
667
|
window.removeEventListener("pageshow", onShow);
|
|
580
668
|
document.removeEventListener("visibilitychange", onHidden);
|
|
669
|
+
stopResends();
|
|
581
670
|
})
|
|
582
671
|
);
|
|
583
672
|
return {
|
|
@@ -613,13 +702,17 @@ var browserTelemetryLayer = (settings) => Layer_exports.unwrap(
|
|
|
613
702
|
);
|
|
614
703
|
}).pipe(
|
|
615
704
|
Effect_exports.andThen(
|
|
616
|
-
event.type === "end" ? Effect_exports.void :
|
|
705
|
+
event.type === "end" ? Effect_exports.void : performance2.navigation(event.path)
|
|
617
706
|
)
|
|
618
707
|
)
|
|
619
708
|
};
|
|
620
709
|
})
|
|
621
710
|
).pipe(
|
|
622
|
-
Layer_exports.provideMerge(
|
|
711
|
+
Layer_exports.provideMerge(
|
|
712
|
+
carryExportResends(exportResends).pipe(
|
|
713
|
+
Layer_exports.provideMerge(telemetryLayer(config, "process", Logger_exports.consoleJson))
|
|
714
|
+
)
|
|
715
|
+
),
|
|
623
716
|
Layer_exports.provide(
|
|
624
717
|
Layer_exports.mergeAll(
|
|
625
718
|
Layer_exports.succeed(FetchHttpClient_exports.RequestInit, { credentials: "same-origin" }),
|
package/js/effect.js
CHANGED
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
ApprovalDecision,
|
|
4
4
|
createAppHandler,
|
|
5
5
|
prepareElicitation
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-ZL56WYWO.js";
|
|
7
|
+
import "./chunk-W4WVDYQU.js";
|
|
8
|
+
import "./chunk-E2R4JVK3.js";
|
|
9
|
+
import "./chunk-YF7TYPDS.js";
|
|
10
10
|
import "./chunk-34RH47V5.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-GGDUOJT5.js";
|
|
12
|
+
import "./chunk-DXAVGW7B.js";
|
|
13
|
+
import "./chunk-RBSXSRPU.js";
|
|
14
14
|
import {
|
|
15
15
|
ToolAnnotations
|
|
16
16
|
} from "./chunk-7MPPHKRW.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
jsonSchemaDecoder,
|
|
22
22
|
wrap
|
|
23
23
|
} from "./chunk-WXHRUWNT.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-JH3MOQZR.js";
|
|
25
25
|
import "./chunk-I6QAWNUM.js";
|
|
26
26
|
import "./chunk-LSOHA2RH.js";
|
|
27
27
|
import {
|
package/js/graphql.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
catalogCache,
|
|
3
3
|
catalogScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-T2PEBOBK.js";
|
|
5
5
|
import {
|
|
6
6
|
protocolOperations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IW5S6WEE.js";
|
|
8
8
|
import "./chunk-BCSNKUAC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ZL56WYWO.js";
|
|
10
10
|
import {
|
|
11
11
|
cacheKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-W4WVDYQU.js";
|
|
13
13
|
import {
|
|
14
14
|
GraphqlError,
|
|
15
15
|
GraphqlIntrospection,
|
|
@@ -20,22 +20,22 @@ import {
|
|
|
20
20
|
maxGraphqlStatedErrors,
|
|
21
21
|
maxGraphqlStatedExtensions,
|
|
22
22
|
maxGraphqlStatedFieldLength
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-E2R4JVK3.js";
|
|
24
24
|
import {
|
|
25
25
|
failOnNetworkRefusal
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YF7TYPDS.js";
|
|
27
27
|
import "./chunk-34RH47V5.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GGDUOJT5.js";
|
|
29
29
|
import {
|
|
30
30
|
nativeOperation,
|
|
31
31
|
routerDeclaration
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-DXAVGW7B.js";
|
|
33
33
|
import {
|
|
34
34
|
accountProviderError,
|
|
35
35
|
boundStated,
|
|
36
36
|
graphqlProviderError,
|
|
37
37
|
httpProviderError
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-RBSXSRPU.js";
|
|
39
39
|
import {
|
|
40
40
|
FailureFieldName,
|
|
41
41
|
NetworkRefused,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
} from "./chunk-WXHRUWNT.js";
|
|
50
50
|
import {
|
|
51
51
|
owned
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-JH3MOQZR.js";
|
|
53
53
|
import {
|
|
54
54
|
FetchHttpClient_exports
|
|
55
55
|
} from "./chunk-I6QAWNUM.js";
|
package/js/host.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAppHandler
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ZL56WYWO.js";
|
|
4
|
+
import "./chunk-W4WVDYQU.js";
|
|
5
|
+
import "./chunk-E2R4JVK3.js";
|
|
6
|
+
import "./chunk-YF7TYPDS.js";
|
|
7
7
|
import "./chunk-34RH47V5.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-GGDUOJT5.js";
|
|
9
|
+
import "./chunk-DXAVGW7B.js";
|
|
10
|
+
import "./chunk-RBSXSRPU.js";
|
|
11
11
|
import {
|
|
12
12
|
CacheCommand,
|
|
13
13
|
CacheError,
|
|
@@ -31,7 +31,7 @@ import "./chunk-WXHRUWNT.js";
|
|
|
31
31
|
import {
|
|
32
32
|
collectTelemetry,
|
|
33
33
|
withRemoteSpan
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JH3MOQZR.js";
|
|
35
35
|
import "./chunk-I6QAWNUM.js";
|
|
36
36
|
import "./chunk-LSOHA2RH.js";
|
|
37
37
|
import "./chunk-H2K7OZ47.js";
|
package/js/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
query,
|
|
12
12
|
t,
|
|
13
13
|
workflow
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GGDUOJT5.js";
|
|
15
15
|
import {
|
|
16
16
|
accountRouter,
|
|
17
17
|
dynamicRouter,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolAnnotations,
|
|
24
24
|
withApproval,
|
|
25
25
|
withApprovals
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DXAVGW7B.js";
|
|
27
27
|
import {
|
|
28
28
|
fromPromise
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RBSXSRPU.js";
|
|
30
30
|
import {
|
|
31
31
|
CacheError,
|
|
32
32
|
CalendarSchedule,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
string,
|
|
65
65
|
wrap
|
|
66
66
|
} from "./chunk-WXHRUWNT.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-JH3MOQZR.js";
|
|
68
68
|
import "./chunk-I6QAWNUM.js";
|
|
69
69
|
import "./chunk-LSOHA2RH.js";
|
|
70
70
|
import {
|
package/js/mcp/effect.js
CHANGED
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
mcpClientEffect,
|
|
3
3
|
mcpHealthEffect,
|
|
4
4
|
mcpToolsEffect
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-IZUYCUH5.js";
|
|
6
6
|
import "../chunk-BCSNKUAC.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ZL56WYWO.js";
|
|
8
|
+
import "../chunk-W4WVDYQU.js";
|
|
9
|
+
import "../chunk-E2R4JVK3.js";
|
|
10
|
+
import "../chunk-YF7TYPDS.js";
|
|
11
11
|
import "../chunk-34RH47V5.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-GGDUOJT5.js";
|
|
13
|
+
import "../chunk-DXAVGW7B.js";
|
|
14
|
+
import "../chunk-RBSXSRPU.js";
|
|
15
15
|
import "../chunk-7MPPHKRW.js";
|
|
16
16
|
import "../chunk-QTX7OUFH.js";
|
|
17
17
|
import "../chunk-WXHRUWNT.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-JH3MOQZR.js";
|
|
19
19
|
import "../chunk-I6QAWNUM.js";
|
|
20
20
|
import "../chunk-LSOHA2RH.js";
|
|
21
21
|
import "../chunk-H2K7OZ47.js";
|