A continuation of HomeBox the inventory and organization system built for the Home User
Add OpenTelemetry frontend integration with browser tracing, backend proxy, and composables
copilot-swe-agent[bot]5b190cf49528
diff --git a/frontend/composables/use-otel.ts b/frontend/composables/use-otel.tsnew file mode 100644index 00000000..c1866656--- /dev/null+++ b/frontend/composables/use-otel.ts@@ -0,0 +1,107 @@+/**+ * Composable for using OpenTelemetry tracing in Vue components.+ * Provides convenience methods for creating spans and tracking operations.+ */++import { withSpan, startSpan, getCurrentTraceContext, isOTelInitialized } from "~~/lib/otel";+import { SpanKind } from "@opentelemetry/api";+import type { Span } from "@opentelemetry/api";++export function useOTel() {+ const nuxtApp = useNuxtApp();+ const isEnabled = computed(() => nuxtApp.$otelEnabled || false);++ /**+ * Execute an async function within a traced span.+ * The span will automatically be ended when the function completes.+ */+ async function traced<T>(+ name: string,+ fn: (span: Span) => Promise<T> | T,+ options?: {+ kind?: SpanKind;+ attributes?: Record<string, string | number | boolean>;+ }+ ): Promise<T> {+ if (!isEnabled.value) {+ // If OTel is disabled, just run the function+ return fn({} as Span);+ }+ return withSpan(name, fn, options);+ }++ /**+ * Start a manual span. Remember to call end() when done.+ */+ function trace(+ name: string,+ options?: {+ kind?: SpanKind;+ attributes?: Record<string, string | number | boolean>;+ }+ ): { span: Span; end: () => void } {+ if (!isEnabled.value) {+ // Return a no-op span if OTel is disabled+ return {+ span: {} as Span,+ end: () => {},+ };+ }+ return startSpan(name, options);+ }++ /**+ * Get the current trace context (useful for logging correlation).+ */+ function getTraceContext() {+ if (!isEnabled.value) {+ return null;+ }+ return getCurrentTraceContext();+ }++ /**+ * Trace a page navigation.+ */+ function tracePage(pageName: string, attributes?: Record<string, string | number | boolean>) {+ if (!isEnabled.value) {+ return { end: () => {} };+ }++ return trace(`page:${pageName}`, {+ kind: SpanKind.INTERNAL,+ attributes: {+ "page.name": pageName,+ ...attributes,+ },+ });+ }++ /**+ * Trace a user interaction.+ */+ async function traceInteraction<T>(+ actionName: string,+ fn: () => Promise<T> | T,+ attributes?: Record<string, string | number | boolean>+ ): Promise<T> {+ return traced(`interaction:${actionName}`, () => fn(), {+ kind: SpanKind.INTERNAL,+ attributes: {+ "interaction.name": actionName,+ ...attributes,+ },+ });+ }++ return {+ isEnabled,+ traced,+ trace,+ getTraceContext,+ tracePage,+ traceInteraction,+ SpanKind,+ isOTelInitialized,+ };+}diff --git a/frontend/lib/otel/index.ts b/frontend/lib/otel/index.tsnew file mode 100644index 00000000..bbefa94e--- /dev/null+++ b/frontend/lib/otel/index.ts@@ -0,0 +1,346 @@+/**+ * OpenTelemetry configuration and initialization for the frontend.+ * This module sets up browser-based tracing that connects to backend traces.+ */++import { WebTracerProvider, BatchSpanProcessor } from "@opentelemetry/sdk-trace-web";+import type { SpanExporter, ReadableSpan } from "@opentelemetry/sdk-trace-web";+import { ZoneContextManager } from "@opentelemetry/context-zone";+import { registerInstrumentations } from "@opentelemetry/instrumentation";+import { FetchInstrumentation } from "@opentelemetry/instrumentation-fetch";+import { Resource } from "@opentelemetry/resources";+import { ATTR_SERVICE_NAME, ATTR_SERVICE_VERSION } from "@opentelemetry/semantic-conventions";+import type { Span, Attributes } from "@opentelemetry/api";+import { trace, context, propagation, SpanKind, SpanStatusCode } from "@opentelemetry/api";+import { ExportResultCode } from "@opentelemetry/core";+import type { ExportResult } from "@opentelemetry/core";++// Types for the telemetry configuration+export interface OTelConfig {+ enabled: boolean;+ serviceName: string;+ serviceVersion: string;+ // If true, sends telemetry through the backend proxy+ useBackendProxy: boolean;+ // Endpoint for direct OTLP export (when not using backend proxy)+ endpoint?: string;+ // Sampling rate (0.0 to 1.0)+ sampleRate: number;+ // Enable console logging for debugging+ debug: boolean;+}++// Default configuration+const defaultConfig: OTelConfig = {+ enabled: false,+ serviceName: "homebox-frontend",+ serviceVersion: "1.0.0",+ useBackendProxy: true,+ sampleRate: 1.0,+ debug: false,+};++// Global provider instance+let provider: WebTracerProvider | null = null;+let isInitialized = false;++/**+ * Custom span exporter that sends spans to the backend proxy endpoint.+ */+class BackendProxyExporter implements SpanExporter {+ private endpoint: string;+ private debug: boolean;++ constructor(endpoint: string, debug: boolean = false) {+ this.endpoint = endpoint;+ this.debug = debug;+ }++ export(spans: ReadableSpan[], resultCallback: (result: ExportResult) => void): void {+ if (spans.length === 0) {+ resultCallback({ code: ExportResultCode.SUCCESS });+ return;+ }++ const payload = {+ resourceAttributes: {},+ spans: spans.map(span => this.convertSpan(span)),+ };++ if (this.debug) {+ console.log("[OTel] Exporting spans:", payload);+ }++ fetch(this.endpoint, {+ method: "POST",+ headers: {+ "Content-Type": "application/json",+ },+ body: JSON.stringify(payload),+ credentials: "include", // Include auth cookies+ })+ .then(response => {+ if (response.ok) {+ resultCallback({ code: ExportResultCode.SUCCESS });+ } else {+ console.warn("[OTel] Failed to export spans:", response.status);+ resultCallback({ code: ExportResultCode.FAILED });+ }+ })+ .catch(error => {+ console.warn("[OTel] Error exporting spans:", error);+ resultCallback({ code: ExportResultCode.FAILED });+ });+ }++ shutdown(): Promise<void> {+ return Promise.resolve();+ }++ forceFlush(): Promise<void> {+ return Promise.resolve();+ }++ private convertSpan(span: ReadableSpan): object {+ const spanContext = span.spanContext();+ // Get parent span ID from the span context if available+ const parentSpanContext = (span as unknown as { parentSpanId?: string }).parentSpanId;+ return {+ traceId: spanContext.traceId,+ spanId: spanContext.spanId,+ parentSpanId: parentSpanContext || undefined,+ name: span.name,+ kind: this.spanKindToString(span.kind),+ startTime: span.startTime[0] * 1000 + Math.floor(span.startTime[1] / 1000000),+ endTime: span.endTime[0] * 1000 + Math.floor(span.endTime[1] / 1000000),+ attributes: this.convertAttributes(span.attributes),+ status:+ span.status.code !== SpanStatusCode.UNSET+ ? {+ code: span.status.code === SpanStatusCode.OK ? "ok" : "error",+ message: span.status.message || undefined,+ }+ : undefined,+ events: span.events.map(event => ({+ name: event.name,+ time: event.time[0] * 1000 + Math.floor(event.time[1] / 1000000),+ attributes: this.convertAttributes(event.attributes || {}),+ })),+ };+ }++ private spanKindToString(kind: SpanKind): string {+ switch (kind) {+ case SpanKind.CLIENT:+ return "client";+ case SpanKind.SERVER:+ return "server";+ case SpanKind.PRODUCER:+ return "producer";+ case SpanKind.CONSUMER:+ return "consumer";+ default:+ return "internal";+ }+ }++ private convertAttributes(attributes: Attributes): Record<string, unknown> {+ const result: Record<string, unknown> = {};+ if (attributes) {+ for (const [key, value] of Object.entries(attributes)) {+ result[key] = value;+ }+ }+ return result;+ }+}++/**+ * Initialize OpenTelemetry tracing for the frontend.+ * Should be called once during app startup.+ */+export function initializeOTel(config: Partial<OTelConfig> = {}): void {+ if (isInitialized) {+ console.warn("[OTel] Already initialized");+ return;+ }++ const finalConfig = { ...defaultConfig, ...config };++ if (!finalConfig.enabled) {+ if (finalConfig.debug) {+ console.log("[OTel] Tracing is disabled");+ }+ return;+ }++ // Create resource with service information+ const resource = new Resource({+ [ATTR_SERVICE_NAME]: finalConfig.serviceName,+ [ATTR_SERVICE_VERSION]: finalConfig.serviceVersion,+ });++ // Create the trace provider+ provider = new WebTracerProvider({+ resource,+ });++ // Configure exporter+ let exporter: SpanExporter;+ if (finalConfig.useBackendProxy) {+ exporter = new BackendProxyExporter("/api/v1/telemetry", finalConfig.debug);+ } else if (finalConfig.endpoint) {+ // Use OTLP HTTP exporter for direct export+ // Dynamic import to avoid bundling when not used+ console.warn("[OTel] Direct OTLP export not implemented, using backend proxy");+ exporter = new BackendProxyExporter("/api/v1/telemetry", finalConfig.debug);+ } else {+ console.warn("[OTel] No exporter configured, tracing disabled");+ return;+ }++ // Use batch processor for better performance+ provider.addSpanProcessor(new BatchSpanProcessor(exporter));++ // Register the provider globally+ provider.register({+ contextManager: new ZoneContextManager(),+ });++ // Register auto-instrumentations+ registerInstrumentations({+ instrumentations: [+ new FetchInstrumentation({+ propagateTraceHeaderCorsUrls: [/.*/], // Propagate to all URLs+ clearTimingResources: true,+ applyCustomAttributesOnSpan: (span, request) => {+ // Add custom attributes to fetch spans+ if (request instanceof Request) {+ span.setAttribute("http.url", request.url);+ }+ },+ }),+ ],+ });++ isInitialized = true;++ if (finalConfig.debug) {+ console.log("[OTel] Tracing initialized", finalConfig);+ }+}++/**+ * Get a tracer for creating custom spans.+ */+export function getTracer(name: string = "homebox-frontend") {+ return trace.getTracer(name);+}++/**+ * Create a span for a custom operation.+ * Returns a function to end the span.+ */+export function startSpan(+ name: string,+ options: {+ kind?: SpanKind;+ attributes?: Record<string, string | number | boolean>;+ } = {}+): { span: Span; end: () => void } {+ const tracer = getTracer();+ const span = tracer.startSpan(name, {+ kind: options.kind || SpanKind.INTERNAL,+ attributes: options.attributes,+ });++ return {+ span,+ end: () => span.end(),+ };+}++/**+ * Execute a function within a span context.+ */+export async function withSpan<T>(+ name: string,+ fn: (span: Span) => Promise<T> | T,+ options: {+ kind?: SpanKind;+ attributes?: Record<string, string | number | boolean>;+ } = {}+): Promise<T> {+ const tracer = getTracer();+ return tracer.startActiveSpan(name, { kind: options.kind || SpanKind.INTERNAL }, async span => {+ if (options.attributes) {+ for (const [key, value] of Object.entries(options.attributes)) {+ span.setAttribute(key, value);+ }+ }+ try {+ const result = await fn(span);+ span.setStatus({ code: SpanStatusCode.OK });+ return result;+ } catch (error) {+ span.setStatus({+ code: SpanStatusCode.ERROR,+ message: error instanceof Error ? error.message : String(error),+ });+ throw error;+ } finally {+ span.end();+ }+ });+}++/**+ * Add the trace context headers to a request.+ * Use this when making fetch requests manually.+ */+export function injectTraceHeaders(headers: Headers | Record<string, string>): void {+ const carrier: Record<string, string> = {};+ propagation.inject(context.active(), carrier);++ if (headers instanceof Headers) {+ for (const [key, value] of Object.entries(carrier)) {+ headers.set(key, value);+ }+ } else {+ Object.assign(headers, carrier);+ }+}++/**+ * Get the current trace context for logging or debugging.+ */+export function getCurrentTraceContext(): { traceId: string; spanId: string } | null {+ const span = trace.getActiveSpan();+ if (!span) {+ return null;+ }+ const ctx = span.spanContext();+ return {+ traceId: ctx.traceId,+ spanId: ctx.spanId,+ };+}++/**+ * Check if OpenTelemetry is initialized.+ */+export function isOTelInitialized(): boolean {+ return isInitialized;+}++/**+ * Shutdown the OpenTelemetry provider.+ * Call this during app cleanup.+ */+export async function shutdownOTel(): Promise<void> {+ if (provider) {+ await provider.shutdown();+ provider = null;+ isInitialized = false;+ }+}diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.tsindex ae6b57f4..02c7d647 100644--- a/frontend/nuxt.config.ts+++ b/frontend/nuxt.config.ts@@ -26,6 +26,19 @@ export default defineNuxtConfig({config: {},},+ // Runtime config for OpenTelemetry+ runtimeConfig: {+ public: {+ // OpenTelemetry configuration (can be overridden by environment variables)+ // NUXT_PUBLIC_OTEL_ENABLED, NUXT_PUBLIC_OTEL_SERVICE_NAME, etc.+ otelEnabled: process.env.NUXT_PUBLIC_OTEL_ENABLED || "false",+ otelServiceName: process.env.NUXT_PUBLIC_OTEL_SERVICE_NAME || "homebox-frontend",+ otelServiceVersion: process.env.NUXT_PUBLIC_OTEL_SERVICE_VERSION || "1.0.0",+ otelSampleRate: process.env.NUXT_PUBLIC_OTEL_SAMPLE_RATE || "1.0",+ otelDebug: process.env.NUXT_PUBLIC_OTEL_DEBUG || "false",+ },+ },+nitro: {devProxy: {"/api": {diff --git a/frontend/package.json b/frontend/package.jsonindex 1f9eb090..c8d7614e 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -47,6 +47,15 @@"@mdit/plugin-img-size": "^0.22.4","@nuxtjs/color-mode": "^3.5.2","@nuxtjs/tailwindcss": "^6.14.0",+ "@opentelemetry/api": "^1.9.0",+ "@opentelemetry/context-zone": "^2.4.0",+ "@opentelemetry/core": "^2.4.0",+ "@opentelemetry/exporter-trace-otlp-http": "^0.210.0",+ "@opentelemetry/instrumentation": "^0.210.0",+ "@opentelemetry/instrumentation-fetch": "^0.210.0",+ "@opentelemetry/resources": "^2.4.0",+ "@opentelemetry/sdk-trace-web": "^2.4.0",+ "@opentelemetry/semantic-conventions": "^1.39.0","@pinia/nuxt": "^0.11.3","@tailwindcss/aspect-ratio": "^0.4.2","@tailwindcss/forms": "^0.5.11",diff --git a/frontend/plugins/otel.client.ts b/frontend/plugins/otel.client.tsnew file mode 100644index 00000000..393536d0--- /dev/null+++ b/frontend/plugins/otel.client.ts@@ -0,0 +1,38 @@+/**+ * Nuxt plugin to initialize OpenTelemetry on the client side.+ * This ensures tracing is set up early in the application lifecycle.+ */++import { initializeOTel } from "~~/lib/otel";++export default defineNuxtPlugin(() => {+ // Only run on client side+ if (import.meta.client) {+ // Check for runtime config for OTel settings+ // These can be set via environment variables or nuxt.config.ts+ const runtimeConfig = useRuntimeConfig();++ // Get OTel configuration from runtime config or use defaults+ const otelEnabled = String(runtimeConfig.public?.otelEnabled || "false");+ const otelDebug = String(runtimeConfig.public?.otelDebug || "false");++ const otelConfig = {+ enabled: otelEnabled === "true",+ serviceName: String(runtimeConfig.public?.otelServiceName || "homebox-frontend"),+ serviceVersion: String(runtimeConfig.public?.otelServiceVersion || "1.0.0"),+ useBackendProxy: true, // Always use backend proxy for security+ sampleRate: parseFloat(String(runtimeConfig.public?.otelSampleRate || "1.0")),+ debug: otelDebug === "true",+ };++ // Initialize OpenTelemetry+ initializeOTel(otelConfig);++ // Provide composable for accessing OTel in components+ return {+ provide: {+ otelEnabled: otelConfig.enabled,+ },+ };+ }+});diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yamlindex f62c2a76..0945f9eb 100644--- a/frontend/pnpm-lock.yaml+++ b/frontend/pnpm-lock.yaml@@ -17,6 +17,33 @@ importers:'@nuxtjs/tailwindcss':specifier: ^6.14.0version: 6.14.0([email protected])([email protected])+ '@opentelemetry/api':+ specifier: ^1.9.0+ version: 1.9.0+ '@opentelemetry/context-zone':+ specifier: ^2.4.0+ version: 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/core':+ specifier: ^2.4.0+ version: 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/exporter-trace-otlp-http':+ specifier: ^0.210.0+ version: 0.210.0(@opentelemetry/[email protected])+ '@opentelemetry/instrumentation':+ specifier: ^0.210.0+ version: 0.210.0(@opentelemetry/[email protected])+ '@opentelemetry/instrumentation-fetch':+ specifier: ^0.210.0+ version: 0.210.0(@opentelemetry/[email protected])+ '@opentelemetry/resources':+ specifier: ^2.4.0+ version: 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/sdk-trace-web':+ specifier: ^2.4.0+ version: 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/semantic-conventions':+ specifier: ^1.39.0+ version: 1.39.0'@pinia/nuxt':specifier: ^0.11.3version: 0.11.3([email protected])([email protected]([email protected])([email protected]([email protected])))@@ -1312,6 +1339,95 @@ packages:'@nuxtjs/[email protected]':resolution: {integrity: sha512-30RyDK++LrUVRgc2A85MktGWIZoRQgeQKjE4CjjD64OXNozyl+4ScHnnYgqVToMM6Ch2ZG2W4wV2J0EN6F0zkQ==}+ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-CMtLxp+lYDriveZejpBND/2TmadrrhUfChyxzmkFtHaMDdSKfP59MAYyA0ICBvEBdm3iXwLcaj/8Ic/pnGw9Yg==}+ engines: {node: '>=8.0.0'}++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==}+ engines: {node: '>=8.0.0'}++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-Yl+SlR9M8klfP2Cew3Nm1uO1GQXFuMnePwnH9fiWVyZJaneNOFgNwuXeD5KoZQBtpcBJm+fjiI0E0Fc2Gbj7ww==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': '>=1.0.0 <1.10.0'+ zone.js: ^0.10.2 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0 || ^0.15.0 || ^0.16.0++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-xkxm/1pR7QT/VfLr79daHE5PggXGh+pwyPQpgHP3TfhYMU7jd/eIcLj5bmRrsuLzu7C5hNbF35XmF1NFifSI9A==}+ engines: {node: ^18.19.0 || >=20.6.0}++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-KtcyFHssTn5ZgDu6SXmUznS80OFs/wN7y6MyFRRcKU6TOw8hNcGxKvt8hsdaLJfhzUszNSjURetq5Qpkad14Gw==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': '>=1.0.0 <1.10.0'++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-9JkyaCl70anEtuKZdoCQmjDuz1/paEixY/DWfsvHt7PGKq3t8/nQ/6/xwxHjG+SkPAUbo1Iq4h7STe7Pk2bc5A==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': ^1.3.0++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-8vr39sVneG7pzN9A/cujvdkocHw1pPKL91ZOKpibOK6x9lRS6o6ncLvSo2tQJPyoDf3lIX6D2JnGjWaCNrpong==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': ^1.3.0++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-sLMhyHmW9katVaLUOKpfCnxSGhZq2t1ReWgwsu2cSgxmDVMB690H9TanuexanpFI94PJaokrqbp8u9KYZDUT5g==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': ^1.3.0++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-uk78DcZoBNHIm26h0oXc8Pizh4KDJ/y04N5k/UaI9J7xR7mL8QcMcYPQG9xxN7m8qotXOMDRW6qTAyptav4+3w==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': ^1.3.0++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-nkHBJVSJGOwkRZl+BFIr7gikA93/U8XkL2EWaiDbj3DVjmTEZQpegIKk0lT8oqQYfP8FC6zWNjuTfkaBVqa0ZQ==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': ^1.3.0++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-RWvGLj2lMDZd7M/5tjkI/2VHMpXebLgPKvBUd9LRasEWR2xAynDwEYZuLvY9P2NGG73HF07jbbgWX2C9oavcQg==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': '>=1.3.0 <1.10.0'++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-YuaL92Dpyk/Kc1o4e9XiaWWwiC0aBFN+4oy+6A9TP4UNJmRymPMEX10r6EMMFMD7V0hktiSig9cwWo59peeLCQ==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': '>=1.4.0 <1.10.0'++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-qSbfq9mXbLMqmPEjijl32f3ZEmiHekebRggPdPjhHI6t1CsAQOR2Aw/SuTDftk3/l2aaPHpwP3xM2DkgBA1ANw==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': '>=1.9.0 <1.10.0'++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-WH0xXkz/OHORDLKqaxcUZS0X+t1s7gGlumr2ebiEgNZQl2b0upK2cdoD0tatf7l8iP74woGJ/Kmxe82jdvcWRw==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': '>=1.3.0 <1.10.0'++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-1FYg7qnrgTugPev51SehxCp0v9J4P97MJn2MaXQ8QK//psfyLDorKAAC3LmSIhq7XaC726WSZ/Wm69r8NdjIsA==}+ engines: {node: ^18.19.0 || >=20.6.0}+ peerDependencies:+ '@opentelemetry/api': '>=1.0.0 <1.10.0'++ '@opentelemetry/[email protected]':+ resolution: {integrity: sha512-R5R9tb2AXs2IRLNKLBJDynhkfmx7mX0vi8NkhZb3gUkPWHn6HXk5J8iQ/dql0U3ApfWym4kXXmBDRGO+oeOfjg==}+ engines: {node: '>=14'}+'@oxc-minify/[email protected]':resolution: {integrity: sha512-pknM+ttJTwRr7ezn1v5K+o2P4RRjLAzKI10bjVDPybwWQ544AZW6jxm7/YDgF2yUbWEV9o7cAQPkIUOmCiW8vg==}engines: {node: ^20.19.0 || >=22.12.0}@@ -1786,6 +1902,36 @@ packages:'@poppinss/[email protected]':resolution: {integrity: sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==}+ '@protobufjs/[email protected]':+ resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==}++ '@protobufjs/[email protected]':+ resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==}++ '@protobufjs/[email protected]':+ resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==}++ '@protobufjs/[email protected]':+ resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==}++ '@protobufjs/[email protected]':+ resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==}++ '@protobufjs/[email protected]':+ resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==}++ '@protobufjs/[email protected]':+ resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==}++ '@protobufjs/[email protected]':+ resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==}++ '@protobufjs/[email protected]':+ resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==}++ '@protobufjs/[email protected]':+ resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==}+'@rolldown/[email protected]':resolution: {integrity: sha512-vENRlFU4YbrwVqNDZ7fLvy+JR1CRkyr01jhSiDpE1u6py3OMzQfztQU2jxykW3ALNxO4kSlqIDeYyD0Y9RcQeQ==}@@ -2875,6 +3021,9 @@ packages:resolution: {integrity: sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==}+ resolution: {integrity: sha512-4bHTS2YuzUvtoLjdy+98ykbNB5jS0+07EvFNXerqZQJ89F7DI6ET7OQo/HJuW6K0aVsKA9hj9/RVb2kQVOrPDQ==}+resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}@@ -3922,6 +4071,9 @@ packages:resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==}engines: {node: '>=6'}+ resolution: {integrity: sha512-Al0kMpa0BqfvDnxjxGlab9vdQ0vTDs82TBKrD59X9jReUoPAzSGBb6vGDzMUMFBGyyDF03RpLT4oxGn6BpASzQ==}+resolution: {integrity: sha512-8lAJ+1Arw2sMaZ9HE2ZmL5zOcMnt18s6+7Xqgq2aUVy4P1nlzAyPtzCDxsk51KVFwHEEdc6OWvUyqwHwhRYaug==}@@ -4344,6 +4496,9 @@ packages:resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}+ resolution: {integrity: sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==}+resolution: {integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==}@@ -4478,6 +4633,9 @@ packages:resolution: {integrity: sha512-aF7yRQr/Q0O2/4pIXm6PZ5G+jAd7QS4Yu8m+WEeEHGnbo+7mE36CbLSDQiXYV8bVL3NfmdeqPJct0tUlnjVSnA==}+ resolution: {integrity: sha512-EGWKgxALGMgzvxYF1UyGTy0HXX/2vHLkw6+NvDKW2jypWbHpjQuj4UMcqQWXHERJhVGKikolT06G3bcKe4fi7w==}+resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==}engines: {node: '>=10'}@@ -5120,6 +5278,10 @@ packages:resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}engines: {node: '>= 6'}+ resolution: {integrity: sha512-jx6+sE9h/UryaCZhsJWbJtTEy47yXoGNYI4z8ZaRncM0zBKeRqjO2JEcOUYwrYGb1WLhXM1FfMzW3annvFv0rw==}+ engines: {node: '>=12.0.0'}+resolution: {integrity: sha512-hHVTzba3wboROl0/aWRRG9dMytgH6ow//STBZh43l/wQgmMhYhOFi0EHWAPtoCz9IAUymsyP0TSBHkhgMEGNnQ==}@@ -5243,6 +5405,10 @@ packages:resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-QT7FVMXfWOYFbeRBF6nu+I6tr2Tf3u0q8RIEjNob/heKY/nh7drD/k7eeMFmSQgnTtCzLDcCu/XEnpW2wk4xCQ==}+ engines: {node: '>=9.3.0 || >=8.10.0 <9.0.0'}+resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==}@@ -6433,6 +6599,9 @@ packages:resolution: {integrity: sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA==}engines: {node: '>= 14'}+ resolution: {integrity: sha512-LqLPpIQANebrlxY6jKcYKdgN5DTXyyHAKnnWWjE5pPfEQ4n7j5zn7mOEEpwNZVKGqx3kKKmvplEmoBrvpgROTA==}+snapshots:'@alloc/[email protected]': {}@@ -7937,8 +8106,8 @@ snapshots:dependencies:'@nuxt/kit': 4.2.2([email protected])'@rollup/plugin-replace': 6.0.3([email protected])- '@vitejs/plugin-vue': 6.0.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))- '@vitejs/plugin-vue-jsx': 5.1.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))+ '@vitejs/plugin-vue': 6.0.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))+ '@vitejs/plugin-vue-jsx': 5.1.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))autoprefixer: 10.4.23([email protected])consola: 3.4.2cssnano: 7.1.2([email protected])@@ -7964,7 +8133,7 @@ snapshots:unenv: 2.0.0-rc.24- vite-plugin-checker: 0.12.0([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))+ vite-plugin-checker: 0.12.0([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))vue: 3.5.26([email protected])vue-bundle-renderer: 2.2.0transitivePeerDependencies:@@ -8025,6 +8194,108 @@ snapshots:- tsx- yaml+ '@opentelemetry/[email protected]':+ dependencies:+ '@opentelemetry/api': 1.9.0++ '@opentelemetry/[email protected]': {}++ dependencies:+ '@opentelemetry/api': 1.9.0+ zone.js: 0.16.0++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/context-zone-peer-dep': 2.4.0(@opentelemetry/[email protected])([email protected])+ zone.js: 0.16.0+ transitivePeerDependencies:+ - '@opentelemetry/api'++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/api': 1.9.0+ '@opentelemetry/semantic-conventions': 1.39.0++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/api': 1.9.0+ '@opentelemetry/core': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/otlp-exporter-base': 0.210.0(@opentelemetry/[email protected])+ '@opentelemetry/otlp-transformer': 0.210.0(@opentelemetry/[email protected])+ '@opentelemetry/resources': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/sdk-trace-base': 2.4.0(@opentelemetry/[email protected])++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/api': 1.9.0+ '@opentelemetry/core': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/instrumentation': 0.210.0(@opentelemetry/[email protected])+ '@opentelemetry/sdk-trace-web': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/semantic-conventions': 1.39.0+ transitivePeerDependencies:+ - supports-color++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/api': 1.9.0+ '@opentelemetry/api-logs': 0.210.0+ import-in-the-middle: 2.0.4+ require-in-the-middle: 8.0.1+ transitivePeerDependencies:+ - supports-color++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/api': 1.9.0+ '@opentelemetry/core': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/otlp-transformer': 0.210.0(@opentelemetry/[email protected])++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/api': 1.9.0+ '@opentelemetry/api-logs': 0.210.0+ '@opentelemetry/core': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/resources': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/sdk-logs': 0.210.0(@opentelemetry/[email protected])+ '@opentelemetry/sdk-metrics': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/sdk-trace-base': 2.4.0(@opentelemetry/[email protected])+ protobufjs: 8.0.0++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/api': 1.9.0+ '@opentelemetry/core': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/semantic-conventions': 1.39.0++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/api': 1.9.0+ '@opentelemetry/api-logs': 0.210.0+ '@opentelemetry/core': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/resources': 2.4.0(@opentelemetry/[email protected])++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/api': 1.9.0+ '@opentelemetry/core': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/resources': 2.4.0(@opentelemetry/[email protected])++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/api': 1.9.0+ '@opentelemetry/core': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/resources': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/semantic-conventions': 1.39.0++ '@opentelemetry/[email protected](@opentelemetry/[email protected])':+ dependencies:+ '@opentelemetry/api': 1.9.0+ '@opentelemetry/core': 2.4.0(@opentelemetry/[email protected])+ '@opentelemetry/sdk-trace-base': 2.4.0(@opentelemetry/[email protected])++ '@opentelemetry/[email protected]': {}+'@oxc-minify/[email protected]':optional: true@@ -8309,6 +8580,29 @@ snapshots:'@poppinss/[email protected]': {}+ '@protobufjs/[email protected]': {}++ '@protobufjs/[email protected]': {}++ '@protobufjs/[email protected]': {}++ '@protobufjs/[email protected]': {}++ '@protobufjs/[email protected]':+ dependencies:+ '@protobufjs/aspromise': 1.1.2+ '@protobufjs/inquire': 1.1.0++ '@protobufjs/[email protected]': {}++ '@protobufjs/[email protected]': {}++ '@protobufjs/[email protected]': {}++ '@protobufjs/[email protected]': {}++ '@protobufjs/[email protected]': {}+'@rolldown/[email protected]': {}'@rolldown/[email protected]': {}@@ -8596,7 +8890,6 @@ snapshots:'@types/[email protected]':dependencies:undici-types: 7.10.0- optional: true'@types/[email protected]':dependencies:@@ -8800,22 +9093,22 @@ snapshots:- workbox-build- workbox-window- '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':+ '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':dependencies:'@babel/core': 7.28.6'@babel/plugin-syntax-typescript': 7.28.6(@babel/[email protected])'@babel/plugin-transform-typescript': 7.28.6(@babel/[email protected])'@rolldown/pluginutils': 1.0.0-beta.60'@vue/babel-plugin-jsx': 2.0.1(@babel/[email protected])vue: 3.5.26([email protected])transitivePeerDependencies:- supports-color- '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':+ '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':dependencies:'@rolldown/pluginutils': 1.0.0-beta.53vue: 3.5.26([email protected])'@vitest/[email protected]':@@ -9540,6 +9833,8 @@ snapshots:dependencies:consola: 3.4.2+ [email protected]: {}+dependencies:clsx: 2.1.1@@ -10667,6 +10962,13 @@ snapshots:parent-module: 1.0.1resolve-from: 4.0.0+ dependencies:+ acorn: 8.15.0+ acorn-import-attributes: 1.9.5([email protected])+ cjs-module-lexer: 2.2.0+ module-details-from-path: 1.0.4+dependencies:exsolve: 1.0.8@@ -11112,6 +11414,8 @@ snapshots:+ [email protected]: {}+@@ -11238,6 +11542,8 @@ snapshots:+ [email protected]: {}+@@ -11474,7 +11780,7 @@ snapshots:unctx: 2.5.0unimport: 5.6.0unplugin: 2.3.11- unplugin-vue-router: 0.19.2(@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))+ unplugin-vue-router: 0.19.2(@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))untyped: 2.0.0vue: 3.5.26([email protected])vue-router: 4.6.4([email protected]([email protected]))@@ -12072,6 +12378,21 @@ snapshots:kleur: 3.0.3sisteransi: 1.0.5+ dependencies:+ '@protobufjs/aspromise': 1.1.2+ '@protobufjs/base64': 1.1.2+ '@protobufjs/codegen': 2.0.4+ '@protobufjs/eventemitter': 1.1.0+ '@protobufjs/fetch': 1.1.0+ '@protobufjs/float': 1.0.2+ '@protobufjs/inquire': 1.1.0+ '@protobufjs/path': 1.1.2+ '@protobufjs/pool': 1.1.0+ '@protobufjs/utf8': 1.1.0+ '@types/node': 24.3.0+ long: 5.3.2+@@ -12219,6 +12540,13 @@ snapshots:+ dependencies:+ debug: 4.4.3+ module-details-from-path: 1.0.4+ transitivePeerDependencies:+ - supports-color+@@ -12872,8 +13200,7 @@ snapshots:magic-string: 0.30.21unplugin: 2.3.11- optional: true+ [email protected]: {}dependencies:@@ -12946,7 +13273,7 @@ snapshots:pathe: 2.0.3picomatch: 4.0.3- [email protected](@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected])):+ [email protected](@vue/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected])):dependencies:'@babel/generator': 7.28.6'@vue-macros/common': 3.1.2([email protected]([email protected]))@@ -12967,7 +13294,7 @@ snapshots:unplugin-utils: 0.3.1yaml: 2.8.2optionalDependencies:- vue-router: 4.6.4([email protected]([email protected]))+ vue-router: 4.6.4([email protected]([email protected]))transitivePeerDependencies:- vue@@ -13128,7 +13455,7 @@ snapshots:- tsx- yaml- [email protected]([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected])):+ [email protected]([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected])):dependencies:'@babel/code-frame': 7.28.6chokidar: 4.0.3@@ -13137,7 +13464,7 @@ snapshots:picomatch: 4.0.3tiny-invariant: 1.3.3tinyglobby: 0.2.15vscode-uri: 3.1.0optionalDependencies:eslint: 9.39.2([email protected])@@ -13603,3 +13930,5 @@ snapshots:archiver-utils: 5.0.2compress-commons: 6.0.2readable-stream: 4.7.0++ [email protected]: {}