@osfactory/otel-hook 0.11.0 → 0.13.0
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/README.md +32 -5
- package/dist/{adapter-DiLknaTF.d.ts → adapter-DyCb7y1N.d.ts} +2 -2
- package/dist/cli.js +507 -108
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +3 -3
- package/dist/config.js +16 -3
- package/dist/config.js.map +1 -1
- package/dist/{destinations-BIl3gGzx.d.ts → destinations-DvqsPulb.d.ts} +1 -1
- package/dist/{events-CSD_YiJ2.d.ts → events-fcomX6d5.d.ts} +22 -0
- package/dist/{export-destinations-QWKGGEjk.d.ts → export-destinations-Bey2djRk.d.ts} +11 -6
- package/dist/{filesystem-store-D3SCNmbX.d.ts → filesystem-store-B3CpiIRl.d.ts} +1 -1
- package/dist/{hook-BOecWGSz.d.ts → hook-D5imE0Qc.d.ts} +11 -5
- package/dist/index.d.ts +14 -14
- package/dist/index.js +525 -143
- package/dist/index.js.map +1 -1
- package/dist/install.d.ts +4 -4
- package/dist/install.js +19 -2
- package/dist/install.js.map +1 -1
- package/dist/integration.d.ts +16 -10
- package/dist/integration.js +447 -111
- package/dist/integration.js.map +1 -1
- package/dist/lifecycle.d.ts +3 -3
- package/dist/lifecycle.js +10 -2
- package/dist/lifecycle.js.map +1 -1
- package/dist/{memory-Cs51jyRk.d.ts → memory-B3r6sZtC.d.ts} +2 -2
- package/dist/{metric-model-DDnWxL9d.d.ts → metric-model-CFIeUwqd.d.ts} +6 -2
- package/dist/model.d.ts +1 -1
- package/dist/model.js +9 -1
- package/dist/model.js.map +1 -1
- package/dist/{payload-ChtrEX6A.d.ts → payload-CdDKeRpH.d.ts} +1 -1
- package/dist/{ports-CeqLq31i.d.ts → ports-DhpSDIkp.d.ts} +41 -3
- package/dist/providers.d.ts +30 -14
- package/dist/providers.js +131 -42
- package/dist/providers.js.map +1 -1
- package/dist/{registry-CcJNF3WY.d.ts → registry-BKQhhIO3.d.ts} +2 -2
- package/dist/runtime.d.ts +97 -9
- package/dist/runtime.js +269 -26
- package/dist/runtime.js.map +1 -1
- package/dist/{schema-DMnoU1V_.d.ts → schema-SpFM6YQY.d.ts} +24 -1
- package/dist/state.d.ts +4 -4
- package/dist/state.js +9 -1
- package/dist/state.js.map +1 -1
- package/dist/telemetry.d.ts +6 -6
- package/dist/telemetry.js +80 -22
- package/dist/telemetry.js.map +1 -1
- package/dist/testing.d.ts +10 -8
- package/dist/testing.js +161 -30
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/dist/integration.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { O as OtelHookConfig } from './schema-
|
|
1
|
+
import { O as OtelHookConfig } from './schema-SpFM6YQY.js';
|
|
2
2
|
import { OverallHealth } from './diagnostics.js';
|
|
3
3
|
import { OtelHookErrorInfo } from './errors.js';
|
|
4
4
|
import { DeliveryClaimOutcome, UsageAccumulatorSnapshot, LifecycleCleanupReport, CallbackDeduplicator, UsageAccumulator, SpanCorrelator, MetricSeriesStore, LifecycleJanitor } from './lifecycle.js';
|
|
5
5
|
import { P as PrivacyService } from './service-CbI9CObT.js';
|
|
6
|
-
import { P as ProviderRegistry } from './registry-
|
|
7
|
-
import { a as DeliveryOrigin, c as DeliveryUnavailableReason, H as HookIngestInput, e as HookIngestOutcome, U as UsageObservation, O as OtelHook } from './hook-
|
|
8
|
-
import { C as Clock, I as IdGenerator, d as Logger, W as WorktreeLocator, P as PayloadEnricher } from './ports-
|
|
9
|
-
import { F as FilesystemStateStore } from './filesystem-store-
|
|
10
|
-
import { w as OtlpTelemetrySink, t as OtlpLogTelemetrySink, d as DurableSpool, D as DurableLogSpool, E as ExportDestinationSinks, B as SkippedExportDestination } from './export-destinations-
|
|
6
|
+
import { P as ProviderRegistry } from './registry-BKQhhIO3.js';
|
|
7
|
+
import { a as DeliveryOrigin, c as DeliveryUnavailableReason, H as HookIngestInput, e as HookIngestOutcome, U as UsageObservation, O as OtelHook } from './hook-D5imE0Qc.js';
|
|
8
|
+
import { C as Clock, I as IdGenerator, d as Logger, W as WorktreeLocator, P as PayloadEnricher, S as SessionContextReader } from './ports-DhpSDIkp.js';
|
|
9
|
+
import { F as FilesystemStateStore } from './filesystem-store-B3CpiIRl.js';
|
|
10
|
+
import { w as OtlpTelemetrySink, t as OtlpLogTelemetrySink, d as DurableSpool, D as DurableLogSpool, E as ExportDestinationSinks, B as SkippedExportDestination } from './export-destinations-Bey2djRk.js';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import './primitives-CJ8-rn-f.js';
|
|
13
13
|
import './taxonomy-DwhTtuWd.js';
|
|
14
14
|
import '@opentelemetry/api';
|
|
15
|
-
import './events-
|
|
16
|
-
import './metric-model-
|
|
15
|
+
import './events-fcomX6d5.js';
|
|
16
|
+
import './metric-model-CFIeUwqd.js';
|
|
17
17
|
import '@opentelemetry/core';
|
|
18
18
|
import '@opentelemetry/resources';
|
|
19
19
|
import '@opentelemetry/sdk-trace';
|
|
20
20
|
import './content-M9xIKG7h.js';
|
|
21
21
|
import './policy-CimmCfRp.js';
|
|
22
|
-
import './adapter-
|
|
22
|
+
import './adapter-DyCb7y1N.js';
|
|
23
23
|
import './identity-BrVBs901.js';
|
|
24
24
|
import './keys-Dej5bN3L.js';
|
|
25
|
-
import './destinations-
|
|
25
|
+
import './destinations-DvqsPulb.js';
|
|
26
26
|
import '@opentelemetry/sdk-logs';
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -327,6 +327,12 @@ type HookRuntimeOptions = {
|
|
|
327
327
|
* Pass `[]` to run none regardless of configuration.
|
|
328
328
|
*/
|
|
329
329
|
readonly payloadEnrichers?: readonly PayloadEnricher[];
|
|
330
|
+
/**
|
|
331
|
+
* Reads session context files (`docs/session-context.md`). When absent, the
|
|
332
|
+
* configuration decides: `sessionContext.dir` adds the directory reader, and
|
|
333
|
+
* without it nothing is read. Pass `null` to read none regardless.
|
|
334
|
+
*/
|
|
335
|
+
readonly sessionContextReader?: SessionContextReader | null;
|
|
330
336
|
};
|
|
331
337
|
/**
|
|
332
338
|
* Smallest stale-claim window that cannot expire while a live process is still
|