@osfactory/otel-hook 0.2.0 → 0.4.1
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-DIgRACtL.d.ts → adapter-BgqtlADe.d.ts} +12 -5
- package/dist/cli.js +1439 -626
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +2 -2
- package/dist/config.js +5 -1
- package/dist/config.js.map +1 -1
- package/dist/{content-CoB7aNP1.d.ts → content-M9xIKG7h.d.ts} +8 -1
- package/dist/{events-VxBnDFaO.d.ts → events-C3h3GvHj.d.ts} +58 -0
- package/dist/{filesystem-store-J8jjDMTh.d.ts → filesystem-store-BAq3VGVv.d.ts} +1 -1
- package/dist/{hook-CGpo-vks.d.ts → hook-CQiNa88Q.d.ts} +13 -5
- package/dist/index.d.ts +16 -15
- package/dist/index.js +1569 -741
- package/dist/index.js.map +1 -1
- package/dist/install.d.ts +8 -7
- package/dist/install.js +132 -68
- package/dist/install.js.map +1 -1
- package/dist/integration.d.ts +18 -11
- package/dist/integration.js +618 -158
- package/dist/integration.js.map +1 -1
- package/dist/lifecycle.d.ts +3 -3
- package/dist/lifecycle.js +27 -4
- package/dist/lifecycle.js.map +1 -1
- package/dist/{memory-DXVBc8V9.d.ts → memory-kflYgZbg.d.ts} +2 -2
- package/dist/model.d.ts +3 -2
- package/dist/model.js +81 -41
- package/dist/model.js.map +1 -1
- package/dist/{otlp-log-sink-CeIFDDpn.d.ts → otlp-log-sink-BZIgYPKN.d.ts} +4 -4
- package/dist/{payload-CHr53E_v.d.ts → payload-DpyU8F-z.d.ts} +1 -1
- package/dist/{policy-D1CrlYn3.d.ts → policy-CimmCfRp.d.ts} +1 -1
- package/dist/{ports-Q8x0ODhs.d.ts → ports-B_iwJQPQ.d.ts} +20 -2
- package/dist/privacy.d.ts +4 -4
- package/dist/privacy.js +11 -0
- package/dist/privacy.js.map +1 -1
- package/dist/providers.d.ts +30 -12
- package/dist/providers.js +983 -552
- package/dist/providers.js.map +1 -1
- package/dist/{registry-BzYmC9OC.d.ts → registry-BSBS8t7S.d.ts} +1 -1
- package/dist/runtime.d.ts +88 -12
- package/dist/runtime.js +392 -68
- package/dist/runtime.js.map +1 -1
- package/dist/{semconv-Baoz-0OI.d.ts → semconv-BeUPQ7_q.d.ts} +2 -1
- package/dist/{service-j4jEO6cZ.d.ts → service-CbI9CObT.d.ts} +8 -2
- package/dist/state.d.ts +4 -4
- package/dist/state.js.map +1 -1
- package/dist/target-8RfaVxp8.d.ts +83 -0
- package/dist/telemetry.d.ts +7 -7
- package/dist/telemetry.js +186 -46
- package/dist/telemetry.js.map +1 -1
- package/dist/testing.d.ts +17 -10
- package/dist/testing.js +1149 -593
- package/dist/testing.js.map +1 -1
- package/package.json +4 -1
package/dist/integration.d.ts
CHANGED
|
@@ -2,25 +2,26 @@ import { O as OtelHookConfig } from './schema-Cn0-xz8L.js';
|
|
|
2
2
|
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
|
-
import { P as PrivacyService } from './service-
|
|
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-
|
|
5
|
+
import { P as PrivacyService } from './service-CbI9CObT.js';
|
|
6
|
+
import { P as ProviderRegistry } from './registry-BSBS8t7S.js';
|
|
7
|
+
import { a as DeliveryOrigin, c as DeliveryUnavailableReason, H as HookIngestInput, e as HookIngestOutcome, U as UsageObservation, O as OtelHook } from './hook-CQiNa88Q.js';
|
|
8
|
+
import { C as Clock, I as IdGenerator, d as Logger, W as WorktreeLocator } from './ports-B_iwJQPQ.js';
|
|
9
|
+
import { F as FilesystemStateStore } from './filesystem-store-BAq3VGVv.js';
|
|
10
|
+
import { o as OtlpTelemetrySink, n as OtlpLogTelemetrySink, b as DurableSpool, D as DurableLogSpool } from './otlp-log-sink-BZIgYPKN.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-C3h3GvHj.js';
|
|
16
|
+
import './semconv-BeUPQ7_q.js';
|
|
17
17
|
import '@opentelemetry/core';
|
|
18
18
|
import '@opentelemetry/resources';
|
|
19
19
|
import '@opentelemetry/sdk-trace';
|
|
20
|
-
import './content-
|
|
21
|
-
import './policy-
|
|
22
|
-
import './adapter-
|
|
20
|
+
import './content-M9xIKG7h.js';
|
|
21
|
+
import './policy-CimmCfRp.js';
|
|
22
|
+
import './adapter-BgqtlADe.js';
|
|
23
23
|
import './identity-BrVBs901.js';
|
|
24
|
+
import './target-8RfaVxp8.js';
|
|
24
25
|
import './keys-Dej5bN3L.js';
|
|
25
26
|
import '@opentelemetry/sdk-logs';
|
|
26
27
|
|
|
@@ -273,6 +274,12 @@ type HookRuntimeOptions = {
|
|
|
273
274
|
readonly staleClaimMillis?: number;
|
|
274
275
|
/** TTL for dedup records specifically. Defaults to `lifecycleMaxAgeMillis`. */
|
|
275
276
|
readonly deliveryRetentionMillis?: number;
|
|
277
|
+
/**
|
|
278
|
+
* Resolve the git worktree each tool event targeted (ADR 0008). Defaults to a
|
|
279
|
+
* filesystem locator that reads `.git` and `HEAD` without spawning git; pass
|
|
280
|
+
* `null` to disable resolution entirely.
|
|
281
|
+
*/
|
|
282
|
+
readonly worktreeLocator?: WorktreeLocator | null;
|
|
276
283
|
};
|
|
277
284
|
/**
|
|
278
285
|
* Smallest stale-claim window that cannot expire while a live process is still
|