@osfactory/otel-hook 0.3.0 → 0.5.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/dist/{adapter-DXpNtnaf.d.ts → adapter-BS7xHKGQ.d.ts} +9 -3
- package/dist/cli.js +1043 -487
- package/dist/cli.js.map +1 -1
- package/dist/{events-VxBnDFaO.d.ts → events-CzZ5kukS.d.ts} +177 -1
- package/dist/{filesystem-store-J8jjDMTh.d.ts → filesystem-store-BcOveJYY.d.ts} +1 -1
- package/dist/{hook-_mlO3akA.d.ts → hook-DxTakjAD.d.ts} +12 -4
- package/dist/index.d.ts +12 -12
- package/dist/index.js +1171 -599
- package/dist/index.js.map +1 -1
- package/dist/install.d.ts +4 -4
- package/dist/install.js +103 -68
- package/dist/install.js.map +1 -1
- package/dist/integration.d.ts +14 -8
- package/dist/integration.js +547 -121
- package/dist/integration.js.map +1 -1
- package/dist/lifecycle.d.ts +3 -3
- package/dist/lifecycle.js +27 -2
- package/dist/lifecycle.js.map +1 -1
- package/dist/{memory-DXVBc8V9.d.ts → memory-DkTohdIa.d.ts} +2 -2
- package/dist/model.d.ts +1 -1
- package/dist/model.js +84 -41
- package/dist/model.js.map +1 -1
- package/dist/{otlp-log-sink-DTSa0KRF.d.ts → otlp-log-sink-DaZDPKnR.d.ts} +3 -3
- package/dist/{payload-BWV5-4n3.d.ts → payload-2lnpKodw.d.ts} +1 -1
- package/dist/{ports-Q8x0ODhs.d.ts → ports-B0rC49b3.d.ts} +28 -2
- package/dist/providers.d.ts +26 -9
- package/dist/providers.js +668 -452
- package/dist/providers.js.map +1 -1
- package/dist/{registry-Dqr3VNmT.d.ts → registry-DVnPA_b6.d.ts} +1 -1
- package/dist/runtime.d.ts +103 -11
- package/dist/runtime.js +416 -67
- package/dist/runtime.js.map +1 -1
- package/dist/{semconv-CIU-2kGO.d.ts → semconv-CtnDdsPk.d.ts} +1 -1
- package/dist/state.d.ts +4 -4
- package/dist/state.js.map +1 -1
- package/dist/telemetry.d.ts +6 -6
- package/dist/telemetry.js +92 -10
- package/dist/telemetry.js.map +1 -1
- package/dist/testing.d.ts +13 -7
- package/dist/testing.js +821 -492
- package/dist/testing.js.map +1 -1
- package/package.json +4 -1
package/dist/integration.d.ts
CHANGED
|
@@ -3,23 +3,23 @@ import { OverallHealth } from './diagnostics.js';
|
|
|
3
3
|
import { OtelHookErrorInfo } from './errors.js';
|
|
4
4
|
import { DeliveryClaimOutcome, UsageAccumulatorSnapshot, LifecycleCleanupReport, CallbackDeduplicator, UsageAccumulator, SpanCorrelator, 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,
|
|
9
|
-
import { F as FilesystemStateStore } from './filesystem-store-
|
|
10
|
-
import { o as OtlpTelemetrySink, n as OtlpLogTelemetrySink, b as DurableSpool, D as DurableLogSpool } from './otlp-log-sink-
|
|
6
|
+
import { P as ProviderRegistry } from './registry-DVnPA_b6.js';
|
|
7
|
+
import { a as DeliveryOrigin, c as DeliveryUnavailableReason, H as HookIngestInput, e as HookIngestOutcome, U as UsageObservation, O as OtelHook } from './hook-DxTakjAD.js';
|
|
8
|
+
import { C as Clock, I as IdGenerator, d as Logger, W as WorktreeLocator } from './ports-B0rC49b3.js';
|
|
9
|
+
import { F as FilesystemStateStore } from './filesystem-store-BcOveJYY.js';
|
|
10
|
+
import { o as OtlpTelemetrySink, n as OtlpLogTelemetrySink, b as DurableSpool, D as DurableLogSpool } from './otlp-log-sink-DaZDPKnR.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 './semconv-
|
|
15
|
+
import './events-CzZ5kukS.js';
|
|
16
|
+
import './semconv-CtnDdsPk.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-BS7xHKGQ.js';
|
|
23
23
|
import './identity-BrVBs901.js';
|
|
24
24
|
import './keys-Dej5bN3L.js';
|
|
25
25
|
import '@opentelemetry/sdk-logs';
|
|
@@ -273,6 +273,12 @@ type HookRuntimeOptions = {
|
|
|
273
273
|
readonly staleClaimMillis?: number;
|
|
274
274
|
/** TTL for dedup records specifically. Defaults to `lifecycleMaxAgeMillis`. */
|
|
275
275
|
readonly deliveryRetentionMillis?: number;
|
|
276
|
+
/**
|
|
277
|
+
* Resolve the git worktree each tool event targeted (ADR 0008). Defaults to a
|
|
278
|
+
* filesystem locator that reads `.git` and `HEAD` without spawning git; pass
|
|
279
|
+
* `null` to disable resolution entirely.
|
|
280
|
+
*/
|
|
281
|
+
readonly worktreeLocator?: WorktreeLocator | null;
|
|
276
282
|
};
|
|
277
283
|
/**
|
|
278
284
|
* Smallest stale-claim window that cannot expire while a live process is still
|