apps 0.0.1-beta.80 → 0.0.1-beta.82
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-IUPDGBBF.js → chunk-4NFSABEA.js} +2 -2
- package/js/{chunk-PW4S2HP5.js → chunk-5WGONRKQ.js} +2 -2
- package/js/{chunk-Q5S3SWMO.js → chunk-HJG4RBYM.js} +2 -2
- package/js/{chunk-BIUWK47W.js → chunk-I6Q7ZPKJ.js} +1 -1
- package/js/{chunk-SNKDWIYL.js → chunk-OY47QPQY.js} +1 -1
- package/js/{chunk-OK4MIBPW.js → chunk-PL5KOEZD.js} +3 -3
- package/js/{chunk-C6P3YMHI.js → chunk-QWQM3CLH.js} +6 -6
- package/js/{chunk-EZCV4Q4R.js → chunk-TE25A7D6.js} +2 -2
- package/js/{chunk-ZYXY6JLH.js → chunk-W6XCQAXP.js} +1 -1
- package/js/{chunk-4IN2N5CY.js → chunk-WCGAO3X5.js} +4 -4
- package/js/{chunk-WFCOT6UW.js → chunk-YQUG4CES.js} +3 -3
- package/js/{chunk-CT3QZBWU.js → chunk-Z2SWTZCF.js} +7 -7
- package/js/client.js +1 -1
- 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 +10 -10
- package/js/mcp/stdio.js +10 -10
- package/js/mcp.js +12 -12
- 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/layer.d.ts +9 -3
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
/** Portable Effect exporters. The host owns scope and export lifetime. */
|
|
2
|
-
import { Layer, Logger } from "effect";
|
|
2
|
+
import { type Duration, Layer, Logger } from "effect";
|
|
3
3
|
import { type TelemetryConfig } from "./config.js";
|
|
4
|
-
/**
|
|
5
|
-
export
|
|
4
|
+
/** How long each signal's final flush may take when the scope closes. */
|
|
5
|
+
export type ShutdownTimeouts = Partial<Record<"traces" | "logs" | "metrics", Duration.Input>>;
|
|
6
|
+
/**
|
|
7
|
+
* Build one tracer per runtime. Event mode defers export until Worker scope finalization.
|
|
8
|
+
* A signal's final flush gets three seconds unless `shutdownTimeouts` names its own bound; only
|
|
9
|
+
* the host that owns a destination knows it answers faster.
|
|
10
|
+
*/
|
|
11
|
+
export declare const telemetryLayer: (config: TelemetryConfig, lifetime?: "process" | "event", logger?: Logger.Logger<unknown, void>, shutdownTimeouts?: ShutdownTimeouts) => Layer.Layer<import("effect/observability/OtlpExporter").Flusher, never, never>;
|
|
6
12
|
/** Node/local entry points resolve telemetry once and share it for their process lifetime. */
|
|
7
13
|
export declare const telemetryFromConfig: (service: string) => Layer.Layer<import("effect/observability/OtlpExporter").Flusher, import("effect/Schema").SchemaError | import("effect/Config").ConfigError, never>;
|