@osfactory/otel-hook 0.5.0 → 0.7.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.
Files changed (45) hide show
  1. package/README.md +72 -7
  2. package/dist/{adapter-BS7xHKGQ.d.ts → adapter-BJiz6lqM.d.ts} +2 -2
  3. package/dist/cli.js +207 -34
  4. package/dist/cli.js.map +1 -1
  5. package/dist/config.d.ts +85 -1
  6. package/dist/config.js +135 -1
  7. package/dist/config.js.map +1 -1
  8. package/dist/{events-CzZ5kukS.d.ts → events-B3MHoJTD.d.ts} +72 -1
  9. package/dist/{filesystem-store-BcOveJYY.d.ts → filesystem-store-r-nNA3BA.d.ts} +1 -1
  10. package/dist/{hook-DxTakjAD.d.ts → hook-Dh8OO4Wa.d.ts} +4 -4
  11. package/dist/index.d.ts +12 -12
  12. package/dist/index.js +197 -31
  13. package/dist/index.js.map +1 -1
  14. package/dist/install.d.ts +4 -4
  15. package/dist/install.js +8 -2
  16. package/dist/install.js.map +1 -1
  17. package/dist/integration.d.ts +13 -8
  18. package/dist/integration.js +2273 -2256
  19. package/dist/integration.js.map +1 -1
  20. package/dist/lifecycle.d.ts +3 -3
  21. package/dist/lifecycle.js +761 -212
  22. package/dist/lifecycle.js.map +1 -1
  23. package/dist/{memory-DkTohdIa.d.ts → memory-Bl9ANVff.d.ts} +2 -2
  24. package/dist/model.d.ts +1 -1
  25. package/dist/model.js +13 -2
  26. package/dist/model.js.map +1 -1
  27. package/dist/{otlp-log-sink-DaZDPKnR.d.ts → otlp-log-sink-eUEjaLhk.d.ts} +3 -3
  28. package/dist/{payload-2lnpKodw.d.ts → payload-Ci8_ERm6.d.ts} +1 -1
  29. package/dist/{ports-B0rC49b3.d.ts → ports-n7KFOpKo.d.ts} +1 -1
  30. package/dist/providers.d.ts +10 -10
  31. package/dist/providers.js +32 -13
  32. package/dist/providers.js.map +1 -1
  33. package/dist/{registry-DVnPA_b6.d.ts → registry-CIVvRlVK.d.ts} +1 -1
  34. package/dist/runtime.d.ts +8 -8
  35. package/dist/runtime.js +11 -6
  36. package/dist/runtime.js.map +1 -1
  37. package/dist/{semconv-CtnDdsPk.d.ts → semconv-fPRb-dpU.d.ts} +1 -1
  38. package/dist/state.d.ts +4 -4
  39. package/dist/telemetry.d.ts +6 -6
  40. package/dist/telemetry.js +956 -418
  41. package/dist/telemetry.js.map +1 -1
  42. package/dist/testing.d.ts +14 -8
  43. package/dist/testing.js +36 -18
  44. package/dist/testing.js.map +1 -1
  45. package/package.json +1 -1
@@ -2,7 +2,7 @@ import { Attributes } from '@opentelemetry/api';
2
2
  import { InstrumentationScope } from '@opentelemetry/core';
3
3
  import { Resource } from '@opentelemetry/resources';
4
4
  import { ReadableSpan } from '@opentelemetry/sdk-trace';
5
- import { b as CanonicalEvent } from './events-CzZ5kukS.js';
5
+ import { b as CanonicalEvent } from './events-B3MHoJTD.js';
6
6
 
7
7
  declare const DEFAULT_INSTRUMENTATION_SCOPE: InstrumentationScope;
8
8
  /** Lifecycle scopes that pair a `*.start` edge with a later `*.end` edge. */
package/dist/state.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  export { S as StoreNamespace } from './keys-Dej5bN3L.js';
2
- import { L as LockingStateStore } from './filesystem-store-BcOveJYY.js';
3
- export { F as FilesystemStateStore, a as FilesystemStateStoreOptions, S as StateStoreDependencies, c as createFilesystemStateStore, i as isLockingStateStore, w as withOptionalSessionLock } from './filesystem-store-BcOveJYY.js';
4
- import { C as Clock } from './ports-B0rC49b3.js';
2
+ import { L as LockingStateStore } from './filesystem-store-r-nNA3BA.js';
3
+ export { F as FilesystemStateStore, a as FilesystemStateStoreOptions, S as StateStoreDependencies, c as createFilesystemStateStore, i as isLockingStateStore, w as withOptionalSessionLock } from './filesystem-store-r-nNA3BA.js';
4
+ import { C as Clock } from './ports-n7KFOpKo.js';
5
5
  import 'zod';
6
6
  import './errors.js';
7
7
  import './primitives-CJ8-rn-f.js';
8
8
  import './taxonomy-DwhTtuWd.js';
9
- import './events-CzZ5kukS.js';
9
+ import './events-B3MHoJTD.js';
10
10
 
11
11
  type BoundedMemoryStateStoreOptions = {
12
12
  readonly clock: Clock;
@@ -1,14 +1,14 @@
1
- import { b as SpanCorrelationResolver } from './semconv-CtnDdsPk.js';
2
- export { D as DEFAULT_INSTRUMENTATION_SCOPE, E as EventTraceIdentity, M as MAX_RECOVERED_START_ATTRIBUTES, S as SemanticMappingOptions, a as SpanCorrelation, c as SpanDisposition, d as SpanFamily, e as SpanOrphanClassification, f as SpanPairing, g as SpanScopeRef, h as canonicalEventTraceIdentities, i as canonicalEventsToReadableSpans, p as parentScopeRefOf, s as spanScopeRefOf, j as startOnlySpanAttributes } from './semconv-CtnDdsPk.js';
3
- import { o as OtlpTelemetrySink, n as OtlpLogTelemetrySink } from './otlp-log-sink-DaZDPKnR.js';
4
- export { C as ContentWithholdingReason, D as DurableLogSpool, a as DurableLogSpoolOptions, b as DurableSpool, c as DurableSpoolOptions, L as LOG_MAPPING_VERSION, d as LOG_SIGNALS, e as LogContentPolicy, f as LogMappingOptions, g as LogMappingResult, h as LogSignal, i as LogSpoolBatch, j as LogsDeliverability, M as MAX_LOG_BODY_CHARACTERS, k as MAX_LOG_RECORDS_PER_BATCH, l as MAX_LOG_RECORDS_PER_EVENT, m as MCP_TOOL_NAME_PATTERN, N as NO_LOG_CONTENT, O as OtlpLogSinkOptions, p as OtlpTraceSinkOptions, S as SerializedLogRecord, q as SerializedSpan, r as SpoolBatch, s as SpoolDrainResult, t as SpoolEnqueueResult, u as canonicalEventsToLogRecords, v as createFileDurableLogSpool, w as createFileDurableSpool, x as createOtlpLogSink, y as createOtlpTraceSink, z as describeLogsDeliverability, A as logSignalOf, B as logSignalsForLifecycleEvents, E as resolveLogsEndpoint } from './otlp-log-sink-DaZDPKnR.js';
1
+ import { b as SpanCorrelationResolver } from './semconv-fPRb-dpU.js';
2
+ export { D as DEFAULT_INSTRUMENTATION_SCOPE, E as EventTraceIdentity, M as MAX_RECOVERED_START_ATTRIBUTES, S as SemanticMappingOptions, a as SpanCorrelation, c as SpanDisposition, d as SpanFamily, e as SpanOrphanClassification, f as SpanPairing, g as SpanScopeRef, h as canonicalEventTraceIdentities, i as canonicalEventsToReadableSpans, p as parentScopeRefOf, s as spanScopeRefOf, j as startOnlySpanAttributes } from './semconv-fPRb-dpU.js';
3
+ import { o as OtlpTelemetrySink, n as OtlpLogTelemetrySink } from './otlp-log-sink-eUEjaLhk.js';
4
+ export { C as ContentWithholdingReason, D as DurableLogSpool, a as DurableLogSpoolOptions, b as DurableSpool, c as DurableSpoolOptions, L as LOG_MAPPING_VERSION, d as LOG_SIGNALS, e as LogContentPolicy, f as LogMappingOptions, g as LogMappingResult, h as LogSignal, i as LogSpoolBatch, j as LogsDeliverability, M as MAX_LOG_BODY_CHARACTERS, k as MAX_LOG_RECORDS_PER_BATCH, l as MAX_LOG_RECORDS_PER_EVENT, m as MCP_TOOL_NAME_PATTERN, N as NO_LOG_CONTENT, O as OtlpLogSinkOptions, p as OtlpTraceSinkOptions, S as SerializedLogRecord, q as SerializedSpan, r as SpoolBatch, s as SpoolDrainResult, t as SpoolEnqueueResult, u as canonicalEventsToLogRecords, v as createFileDurableLogSpool, w as createFileDurableSpool, x as createOtlpLogSink, y as createOtlpTraceSink, z as describeLogsDeliverability, A as logSignalOf, B as logSignalsForLifecycleEvents, E as resolveLogsEndpoint } from './otlp-log-sink-eUEjaLhk.js';
5
5
  import { DeliveryHealthSnapshot } from './diagnostics.js';
6
- import { g as TelemetrySink } from './ports-B0rC49b3.js';
6
+ import { g as TelemetrySink } from './ports-n7KFOpKo.js';
7
7
  import '@opentelemetry/api';
8
8
  import '@opentelemetry/core';
9
9
  import '@opentelemetry/resources';
10
10
  import '@opentelemetry/sdk-trace';
11
- import './events-CzZ5kukS.js';
11
+ import './events-B3MHoJTD.js';
12
12
  import 'zod';
13
13
  import './schema-Cn0-xz8L.js';
14
14
  import './keys-Dej5bN3L.js';