apps 0.0.1-beta.38 → 0.0.1-beta.39
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-DWMEIU2L.js → chunk-27TDXHRX.js} +2 -2
- package/js/{chunk-NROBHRTG.js → chunk-5NIEOXRZ.js} +1 -1
- package/js/{chunk-RJCWJNCH.js → chunk-LVWX4UWK.js} +3 -3
- package/js/{chunk-5P2WQRRM.js → chunk-PCV73KVK.js} +25 -2
- package/js/{chunk-Q4QZDB2F.js → chunk-SDHD6J37.js} +1 -1
- package/js/client.js +1 -1
- package/js/effect.js +3 -3
- package/js/graphql.js +3 -3
- package/js/host.js +3 -3
- package/js/mcp/effect.js +5 -5
- package/js/mcp/stdio.js +4 -4
- package/js/mcp.js +5 -5
- package/js/openapi.js +2 -2
- package/js/skills.js +2 -2
- package/js/ui/serving.js +1 -1
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/telemetry/src/transport.d.ts +8 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { Context, Layer } from "effect";
|
|
2
|
-
import { HttpClient } from "effect/http";
|
|
2
|
+
import { HttpClient, HttpClientError } from "effect/http";
|
|
3
3
|
/** Local collector discovery can resolve its destination when an export runs. */
|
|
4
4
|
export declare const CurrentTelemetryClient: Context.Reference<HttpClient.HttpClient | undefined>;
|
|
5
5
|
/** Telemetry consumers inspect status and headers; release response I/O inside each export scope. */
|
|
6
6
|
export declare const telemetryHttpClient: Layer.Layer<HttpClient.HttpClient, never, never>;
|
|
7
|
+
/**
|
|
8
|
+
* Resend an export the collector refused for now, as OTLP requires and Effect's own
|
|
9
|
+
* exporters do: lost connections, 429 and 5xx overload, at most three more times. A
|
|
10
|
+
* collector shedding load answers 429 or 503 with Retry-After, which sets the wait. A
|
|
11
|
+
* wait longer than the caller's budget ends with the budget, without sending again.
|
|
12
|
+
*/
|
|
13
|
+
export declare const retryTelemetryExport: (client: HttpClient.HttpClient) => HttpClient.HttpClient.With<HttpClientError.HttpClientError, never>;
|