@osfactory/otel-hook 0.4.1 → 0.6.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 (43) hide show
  1. package/dist/{adapter-BgqtlADe.d.ts → adapter-BJiz6lqM.d.ts} +2 -3
  2. package/dist/cli.js +100 -35
  3. package/dist/cli.js.map +1 -1
  4. package/dist/{events-C3h3GvHj.d.ts → events-B3MHoJTD.d.ts} +190 -1
  5. package/dist/{filesystem-store-BAq3VGVv.d.ts → filesystem-store-r-nNA3BA.d.ts} +1 -1
  6. package/dist/{hook-CQiNa88Q.d.ts → hook-Dh8OO4Wa.d.ts} +4 -4
  7. package/dist/index.d.ts +12 -13
  8. package/dist/index.js +105 -35
  9. package/dist/index.js.map +1 -1
  10. package/dist/install.d.ts +4 -5
  11. package/dist/install.js +13 -3
  12. package/dist/install.js.map +1 -1
  13. package/dist/integration.d.ts +8 -9
  14. package/dist/integration.js +2299 -2246
  15. package/dist/integration.js.map +1 -1
  16. package/dist/lifecycle.d.ts +3 -3
  17. package/dist/lifecycle.js +762 -213
  18. package/dist/lifecycle.js.map +1 -1
  19. package/dist/{memory-kflYgZbg.d.ts → memory-Bl9ANVff.d.ts} +2 -2
  20. package/dist/model.d.ts +1 -2
  21. package/dist/model.js +20 -4
  22. package/dist/model.js.map +1 -1
  23. package/dist/{otlp-log-sink-BZIgYPKN.d.ts → otlp-log-sink-eUEjaLhk.d.ts} +3 -3
  24. package/dist/{payload-DpyU8F-z.d.ts → payload-Ci8_ERm6.d.ts} +1 -1
  25. package/dist/{ports-B_iwJQPQ.d.ts → ports-n7KFOpKo.d.ts} +9 -1
  26. package/dist/providers.d.ts +10 -11
  27. package/dist/providers.js +37 -14
  28. package/dist/providers.js.map +1 -1
  29. package/dist/{registry-BSBS8t7S.d.ts → registry-CIVvRlVK.d.ts} +1 -1
  30. package/dist/runtime.d.ts +32 -16
  31. package/dist/runtime.js +57 -15
  32. package/dist/runtime.js.map +1 -1
  33. package/dist/{semconv-BeUPQ7_q.d.ts → semconv-fPRb-dpU.d.ts} +1 -1
  34. package/dist/state.d.ts +4 -4
  35. package/dist/state.js.map +1 -1
  36. package/dist/telemetry.d.ts +6 -6
  37. package/dist/telemetry.js +953 -414
  38. package/dist/telemetry.js.map +1 -1
  39. package/dist/testing.d.ts +14 -9
  40. package/dist/testing.js +45 -20
  41. package/dist/testing.js.map +1 -1
  42. package/package.json +1 -1
  43. package/dist/target-8RfaVxp8.d.ts +0 -83
@@ -155,6 +155,109 @@ declare const toReport: (usage: CanonicalUsage) => UsageReport;
155
155
  */
156
156
  declare const addUsage: (a: CanonicalUsage, b: CanonicalUsage) => CanonicalUsage;
157
157
 
158
+ /**
159
+ * Per-event workspace targeting (ADR 0008).
160
+ *
161
+ * A session's `workspace` is where the agent was *started*. An agent routinely
162
+ * works somewhere else — in a linked git worktree beside the checkout it was
163
+ * launched from — and the session-level identity cannot show that. A tool event
164
+ * can: the file it edited, or the directory its shell command ran in, names the
165
+ * worktree it actually touched.
166
+ *
167
+ * Two values model that, and the split between them is the privacy boundary:
168
+ *
169
+ * - {@link TargetHint} is what an adapter observed — local paths. It is an
170
+ * in-process value only: it is never part of a {@link CanonicalEvent}, never
171
+ * persisted, never exported. The core resolves it and drops it.
172
+ * - {@link WorkspaceTarget} is what the core resolved — salted handles of the
173
+ * worktree and its repository, the worktree's kind, the checked-out branch, and
174
+ * what the evidence was. It travels on the event.
175
+ */
176
+ /**
177
+ * What a target was derived from, strongest evidence first.
178
+ *
179
+ * - `tool-path` — a path the tool call itself named (an edited or read file, a
180
+ * patch header).
181
+ * - `shell-cwd` — the working directory the provider reports a shell command ran in.
182
+ * - `session-cwd` — only the session's own directory was known; the event may
183
+ * have reached elsewhere (e.g. a shell `cd`) without the provider saying so.
184
+ */
185
+ declare const targetSourceSchema: z.ZodEnum<{
186
+ "tool-path": "tool-path";
187
+ "shell-cwd": "shell-cwd";
188
+ "session-cwd": "session-cwd";
189
+ }>;
190
+ type TargetSource = z.infer<typeof targetSourceSchema>;
191
+ /** Most paths one hint may name; a bound, not a sampling rule (all must agree). */
192
+ declare const MAX_TARGET_HINT_PATHS = 8;
193
+ /** Longest local path a hint may carry. Longer input is dropped, never truncated. */
194
+ declare const MAX_TARGET_PATH_LENGTH = 4096;
195
+ /**
196
+ * An adapter's observation of where a tool event pointed. **Carries local paths**
197
+ * — in-process only, see the module note.
198
+ *
199
+ * Every path in one hint must resolve to the same worktree, or the event gets no
200
+ * target at all: a patch touching two worktrees did not target either of them.
201
+ */
202
+ declare const targetHintSchema: z.ZodReadonly<z.ZodObject<{
203
+ source: z.ZodEnum<{
204
+ "tool-path": "tool-path";
205
+ "shell-cwd": "shell-cwd";
206
+ "session-cwd": "session-cwd";
207
+ }>;
208
+ paths: z.ZodReadonly<z.ZodArray<z.ZodString>>;
209
+ baseDirectory: z.ZodOptional<z.ZodString>;
210
+ }, z.core.$strict>>;
211
+ type TargetHint = z.infer<typeof targetHintSchema>;
212
+ /**
213
+ * The weakest hint: the session's own directory. Every adapter gives it to a
214
+ * session start and a prompt, and to a tool call that names no path.
215
+ */
216
+ declare const sessionCwdHint: (cwd: string | undefined) => TargetHint | undefined;
217
+ /**
218
+ * Whether a worktree is its repository's main checkout (`main`) or one added
219
+ * beside it with `git worktree add` (`linked`).
220
+ */
221
+ declare const worktreeKindSchema: z.ZodEnum<{
222
+ main: "main";
223
+ linked: "linked";
224
+ }>;
225
+ type WorktreeKind = z.infer<typeof worktreeKindSchema>;
226
+ /**
227
+ * The git worktree a tool event targeted. Exported; carries no path.
228
+ *
229
+ * `workspaceId` is derived exactly like a `git-root` workspace identity, so a
230
+ * consumer holding the same salt can match it against one it derived itself.
231
+ * `repositoryId` is the same derivation applied to the repository's main
232
+ * worktree, so every worktree of one repository shares it — and for a main
233
+ * worktree it equals `workspaceId`.
234
+ */
235
+ declare const workspaceTargetSchema: z.ZodReadonly<z.ZodObject<{
236
+ workspaceId: z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">;
237
+ vcsBranchName: z.ZodOptional<z.ZodString>;
238
+ source: z.ZodEnum<{
239
+ "tool-path": "tool-path";
240
+ "shell-cwd": "shell-cwd";
241
+ "session-cwd": "session-cwd";
242
+ }>;
243
+ repositoryId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">>;
244
+ worktreeKind: z.ZodOptional<z.ZodEnum<{
245
+ main: "main";
246
+ linked: "linked";
247
+ }>>;
248
+ }, z.core.$strict>>;
249
+ type WorkspaceTarget = z.infer<typeof workspaceTargetSchema>;
250
+ /**
251
+ * Shape a provider's own subagent identifier must have to be exported.
252
+ *
253
+ * Identifier-shaped on purpose — no whitespace, no path separators — so a
254
+ * malformed payload field cannot carry prose or a path onto the wire under an id
255
+ * attribute. A value that does not fit is dropped, not repaired.
256
+ */
257
+ declare const SUBAGENT_ID_PATTERN: RegExp;
258
+ declare const subagentIdSchema: z.ZodString;
259
+ type SubagentId = z.infer<typeof subagentIdSchema>;
260
+
158
261
  /** Model being invoked. Model identifiers are not treated as sensitive. */
159
262
  declare const modelDescriptorSchema: z.ZodObject<{
160
263
  modelId: z.ZodString;
@@ -249,6 +352,20 @@ declare const sessionStartEventSchema: z.ZodObject<{
249
352
  vendor: z.ZodOptional<z.ZodString>;
250
353
  family: z.ZodOptional<z.ZodString>;
251
354
  }, z.core.$strict>>;
355
+ target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
356
+ workspaceId: z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">;
357
+ vcsBranchName: z.ZodOptional<z.ZodString>;
358
+ source: z.ZodEnum<{
359
+ "tool-path": "tool-path";
360
+ "shell-cwd": "shell-cwd";
361
+ "session-cwd": "session-cwd";
362
+ }>;
363
+ repositoryId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">>;
364
+ worktreeKind: z.ZodOptional<z.ZodEnum<{
365
+ main: "main";
366
+ linked: "linked";
367
+ }>>;
368
+ }, z.core.$strict>>>;
252
369
  }, z.core.$strict>;
253
370
  declare const sessionEndEventSchema: z.ZodObject<{
254
371
  schemaVersion: z.ZodLiteral<1>;
@@ -414,6 +531,20 @@ declare const promptSubmittedEventSchema: z.ZodObject<{
414
531
  label: z.ZodOptional<z.ZodString>;
415
532
  }, z.core.$strict>>;
416
533
  turnIndex: z.ZodOptional<z.ZodNumber>;
534
+ target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
535
+ workspaceId: z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">;
536
+ vcsBranchName: z.ZodOptional<z.ZodString>;
537
+ source: z.ZodEnum<{
538
+ "tool-path": "tool-path";
539
+ "shell-cwd": "shell-cwd";
540
+ "session-cwd": "session-cwd";
541
+ }>;
542
+ repositoryId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">>;
543
+ worktreeKind: z.ZodOptional<z.ZodEnum<{
544
+ main: "main";
545
+ linked: "linked";
546
+ }>>;
547
+ }, z.core.$strict>>>;
417
548
  }, z.core.$strict>;
418
549
  declare const generationStartEventSchema: z.ZodObject<{
419
550
  schemaVersion: z.ZodLiteral<1>;
@@ -726,6 +857,11 @@ declare const toolStartEventSchema: z.ZodObject<{
726
857
  "shell-cwd": "shell-cwd";
727
858
  "session-cwd": "session-cwd";
728
859
  }>;
860
+ repositoryId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">>;
861
+ worktreeKind: z.ZodOptional<z.ZodEnum<{
862
+ main: "main";
863
+ linked: "linked";
864
+ }>>;
729
865
  }, z.core.$strict>>>;
730
866
  }, z.core.$strict>;
731
867
  declare const toolEndEventSchema: z.ZodObject<{
@@ -827,6 +963,11 @@ declare const toolEndEventSchema: z.ZodObject<{
827
963
  "shell-cwd": "shell-cwd";
828
964
  "session-cwd": "session-cwd";
829
965
  }>;
966
+ repositoryId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">>;
967
+ worktreeKind: z.ZodOptional<z.ZodEnum<{
968
+ main: "main";
969
+ linked: "linked";
970
+ }>>;
830
971
  }, z.core.$strict>>>;
831
972
  }, z.core.$strict>;
832
973
  declare const subagentStartEventSchema: z.ZodObject<{
@@ -1196,6 +1337,20 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1196
1337
  vendor: z.ZodOptional<z.ZodString>;
1197
1338
  family: z.ZodOptional<z.ZodString>;
1198
1339
  }, z.core.$strict>>;
1340
+ target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
1341
+ workspaceId: z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">;
1342
+ vcsBranchName: z.ZodOptional<z.ZodString>;
1343
+ source: z.ZodEnum<{
1344
+ "tool-path": "tool-path";
1345
+ "shell-cwd": "shell-cwd";
1346
+ "session-cwd": "session-cwd";
1347
+ }>;
1348
+ repositoryId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">>;
1349
+ worktreeKind: z.ZodOptional<z.ZodEnum<{
1350
+ main: "main";
1351
+ linked: "linked";
1352
+ }>>;
1353
+ }, z.core.$strict>>>;
1199
1354
  }, z.core.$strict>, z.ZodObject<{
1200
1355
  schemaVersion: z.ZodLiteral<1>;
1201
1356
  eventId: z.core.$ZodBranded<z.ZodString, "EventId", "out">;
@@ -1359,6 +1514,20 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1359
1514
  label: z.ZodOptional<z.ZodString>;
1360
1515
  }, z.core.$strict>>;
1361
1516
  turnIndex: z.ZodOptional<z.ZodNumber>;
1517
+ target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
1518
+ workspaceId: z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">;
1519
+ vcsBranchName: z.ZodOptional<z.ZodString>;
1520
+ source: z.ZodEnum<{
1521
+ "tool-path": "tool-path";
1522
+ "shell-cwd": "shell-cwd";
1523
+ "session-cwd": "session-cwd";
1524
+ }>;
1525
+ repositoryId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">>;
1526
+ worktreeKind: z.ZodOptional<z.ZodEnum<{
1527
+ main: "main";
1528
+ linked: "linked";
1529
+ }>>;
1530
+ }, z.core.$strict>>>;
1362
1531
  }, z.core.$strict>, z.ZodObject<{
1363
1532
  schemaVersion: z.ZodLiteral<1>;
1364
1533
  eventId: z.core.$ZodBranded<z.ZodString, "EventId", "out">;
@@ -1657,6 +1826,11 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1657
1826
  "shell-cwd": "shell-cwd";
1658
1827
  "session-cwd": "session-cwd";
1659
1828
  }>;
1829
+ repositoryId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">>;
1830
+ worktreeKind: z.ZodOptional<z.ZodEnum<{
1831
+ main: "main";
1832
+ linked: "linked";
1833
+ }>>;
1660
1834
  }, z.core.$strict>>>;
1661
1835
  }, z.core.$strict>, z.ZodObject<{
1662
1836
  schemaVersion: z.ZodLiteral<1>;
@@ -1757,6 +1931,11 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1757
1931
  "shell-cwd": "shell-cwd";
1758
1932
  "session-cwd": "session-cwd";
1759
1933
  }>;
1934
+ repositoryId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">>;
1935
+ worktreeKind: z.ZodOptional<z.ZodEnum<{
1936
+ main: "main";
1937
+ linked: "linked";
1938
+ }>>;
1760
1939
  }, z.core.$strict>>>;
1761
1940
  }, z.core.$strict>, z.ZodObject<{
1762
1941
  schemaVersion: z.ZodLiteral<1>;
@@ -2084,6 +2263,16 @@ type ErrorRaisedEvent = z.infer<typeof errorRaisedEventSchema>;
2084
2263
  type CanonicalEventOfType<TType extends CanonicalEventType> = Extract<CanonicalEvent, {
2085
2264
  type: TType;
2086
2265
  }>;
2266
+ /**
2267
+ * The event types that may carry a resolved `target` (ADR 0008): a tool call
2268
+ * names the worktree it touched; a session start and a prompt name the one the
2269
+ * session runs in, so a consumer knows the session's place before its first
2270
+ * tool call.
2271
+ */
2272
+ declare const TARGETED_EVENT_TYPES: readonly ["session.start", "prompt.submitted", "tool.start", "tool.end"];
2273
+ type TargetedEventType = (typeof TARGETED_EVENT_TYPES)[number];
2274
+ type TargetedEvent = CanonicalEventOfType<TargetedEventType>;
2275
+ declare const isTargetedEvent: (event: CanonicalEvent) => event is TargetedEvent;
2087
2276
  type EventValidationResult = {
2088
2277
  readonly status: "ok";
2089
2278
  readonly event: CanonicalEvent;
@@ -2099,4 +2288,4 @@ declare const eventUsage: (event: CanonicalEvent) => CanonicalUsage | undefined;
2099
2288
  /** Stable ordering: by sequence, then by timestamp, then by event id. */
2100
2289
  declare const compareEvents: (a: CanonicalEvent, b: CanonicalEvent) => number;
2101
2290
 
2102
- export { subagentStartEventSchema as $, canonicalEventTypeSchema as A, canonicalUsageSchema as B, CANONICAL_EVENT_TYPES as C, compactionPerformedEventSchema as D, EMPTY_DELTA_USAGE as E, compareEvents as F, type GenerationEndEvent as G, costFactsSchema as H, cumulativeToDelta as I, errorRaisedEventSchema as J, eventUsage as K, generationEndEventSchema as L, type ModelDescriptor as M, generationStartEventSchema as N, modelDescriptorSchema as O, type PromptSubmittedEvent as P, normalizeUsage as Q, normalizeUsageOrThrow as R, type SessionEndEvent as S, type ToolEndEvent as T, type UsageDeltaResult as U, parseCanonicalEvent as V, promptSubmittedEventSchema as W, providerTotalAgreementSchema as X, sessionEndEventSchema as Y, sessionStartEventSchema as Z, subagentEndEventSchema as _, type CacheCreationAccounting as a, toReport as a0, toolEndEventSchema as a1, toolKindSchema as a2, toolStartEventSchema as a3, usageReportSchema as a4, usageTemporalitySchema as a5, validateCanonicalEvent as a6, type CanonicalEvent as b, type CanonicalEventInput as c, type CanonicalEventOfType as d, type CanonicalEventType as e, type CanonicalUsage as f, type CompactionPerformedEvent as g, type CostFacts as h, type ErrorRaisedEvent as i, type EventOutcome as j, type EventValidationResult as k, type GenerationStartEvent as l, type ProviderTotalAgreement as m, type SessionStartEvent as n, type SubagentEndEvent as o, type SubagentStartEvent as p, type ToolKind as q, type ToolStartEvent as r, UsageNormalizationError as s, type UsageNormalizationIssue as t, type UsageNormalizationResult as u, type UsageReport as v, type UsageTemporality as w, addUsage as x, cacheCreationAccountingSchema as y, canonicalEventSchema as z };
2291
+ export { generationEndEventSchema as $, type ToolStartEvent as A, UsageNormalizationError as B, CANONICAL_EVENT_TYPES as C, type UsageNormalizationIssue as D, EMPTY_DELTA_USAGE as E, type UsageNormalizationResult as F, type GenerationEndEvent as G, type UsageReport as H, type UsageTemporality as I, type WorktreeKind as J, addUsage as K, cacheCreationAccountingSchema as L, MAX_TARGET_HINT_PATHS as M, canonicalEventSchema as N, canonicalEventTypeSchema as O, type PromptSubmittedEvent as P, canonicalUsageSchema as Q, compactionPerformedEventSchema as R, SUBAGENT_ID_PATTERN as S, TARGETED_EVENT_TYPES as T, type UsageDeltaResult as U, compareEvents as V, type WorkspaceTarget as W, costFactsSchema as X, cumulativeToDelta as Y, errorRaisedEventSchema as Z, eventUsage as _, type CacheCreationAccounting as a, generationStartEventSchema as a0, isTargetedEvent as a1, modelDescriptorSchema as a2, normalizeUsage as a3, normalizeUsageOrThrow as a4, parseCanonicalEvent as a5, promptSubmittedEventSchema as a6, providerTotalAgreementSchema as a7, sessionCwdHint as a8, sessionEndEventSchema as a9, sessionStartEventSchema as aa, subagentEndEventSchema as ab, subagentIdSchema as ac, subagentStartEventSchema as ad, targetHintSchema as ae, targetSourceSchema as af, toReport as ag, toolEndEventSchema as ah, toolKindSchema as ai, toolStartEventSchema as aj, usageReportSchema as ak, usageTemporalitySchema as al, validateCanonicalEvent as am, workspaceTargetSchema as an, worktreeKindSchema as ao, type CanonicalEvent as b, type CanonicalEventInput as c, type CanonicalEventOfType as d, type CanonicalEventType as e, type CanonicalUsage as f, type CompactionPerformedEvent as g, type CostFacts as h, type ErrorRaisedEvent as i, type EventOutcome as j, type EventValidationResult as k, type GenerationStartEvent as l, MAX_TARGET_PATH_LENGTH as m, type ModelDescriptor as n, type ProviderTotalAgreement as o, type SessionEndEvent as p, type SessionStartEvent as q, type SubagentEndEvent as r, type SubagentId as s, type SubagentStartEvent as t, type TargetHint as u, type TargetSource as v, type TargetedEvent as w, type TargetedEventType as x, type ToolEndEvent as y, type ToolKind as z };
@@ -1,4 +1,4 @@
1
- import { e as StateStore, C as Clock, d as Logger } from './ports-B_iwJQPQ.js';
1
+ import { e as StateStore, C as Clock, d as Logger } from './ports-n7KFOpKo.js';
2
2
  import { S as StoreNamespace } from './keys-Dej5bN3L.js';
3
3
 
4
4
  /**
@@ -1,13 +1,13 @@
1
1
  import { z } from 'zod';
2
2
  import { O as OtelHookConfig } from './schema-Cn0-xz8L.js';
3
3
  import { OtelHookErrorInfo } from './errors.js';
4
- import { b as CanonicalEvent, w as UsageTemporality, f as CanonicalUsage } from './events-C3h3GvHj.js';
4
+ import { b as CanonicalEvent, I as UsageTemporality, f as CanonicalUsage } from './events-B3MHoJTD.js';
5
5
  import { I as IdentityClaim, W as WorkspaceIdentity, d as InvocationIdentity } from './identity-BrVBs901.js';
6
6
  import { h as SourceTransport, R as ResolvedProviderId, c as DetectionConfidence, d as EventId } from './primitives-CJ8-rn-f.js';
7
7
  import { P as PrivacyService } from './service-CbI9CObT.js';
8
- import { b as DeliveryIdentifierSupport, f as ProviderDeliveryClaim, j as ProviderHookResponse } from './adapter-BgqtlADe.js';
9
- import { P as ProviderRegistry } from './registry-BSBS8t7S.js';
10
- import { I as IdGenerator, g as TelemetrySink, e as StateStore, C as Clock, d as Logger, W as WorktreeLocator } from './ports-B_iwJQPQ.js';
8
+ import { b as DeliveryIdentifierSupport, f as ProviderDeliveryClaim, j as ProviderHookResponse } from './adapter-BJiz6lqM.js';
9
+ import { P as ProviderRegistry } from './registry-CIVvRlVK.js';
10
+ import { I as IdGenerator, g as TelemetrySink, e as StateStore, C as Clock, d as Logger, W as WorktreeLocator } from './ports-n7KFOpKo.js';
11
11
  import { A as AttributionOutcome, a as AttributionReason } from './taxonomy-DwhTtuWd.js';
12
12
 
13
13
  /**
package/dist/index.d.ts CHANGED
@@ -1,29 +1,28 @@
1
1
  export { CANONICAL_SCHEMA_VERSION, CanonicalSchemaVersion, EMPTY_EXTENSIONS, EXTENSION_KEY_PATTERN, Extensions, MAX_EXTENSION_ENTRIES, RESERVED_EXTENSION_NAMESPACES, canonicalSchemaVersionSchema, emptyExtensions, extensionKeyNamespace, extensionsSchema, isReservedExtensionNamespace, isValidExtensionKey } from './model.js';
2
2
  export { A as AttributePrimitive, a as AttributeValue, b as Attributes, D as DETECTION_CONFIDENCE_RANK, c as DetectionConfidence, E as EpochMillis, d as EventId, I as InvocationId, M as MAX_ATTRIBUTE_ARRAY_LENGTH, e as MAX_ATTRIBUTE_STRING_LENGTH, f as MAX_IDENTIFIER_LENGTH, P as PROVIDER_ID_PATTERN, g as ProviderId, R as ResolvedProviderId, S as SessionId, h as SourceTransport, U as UNKNOWN_PROVIDER_ID, i as UnknownProviderId, W as WORKSPACE_ID_PATTERN, j as WorkspaceId, k as attributePrimitiveSchema, l as attributeValueSchema, m as attributesSchema, n as compareDetectionConfidence, o as detectionConfidenceSchema, p as durationMillisSchema, q as epochMillisSchema, r as eventIdSchema, s as invocationIdSchema, t as isUnknownProvider, u as nonEmptyStringSchema, v as providerIdSchema, w as resolvedProviderIdSchema, x as sequenceNumberSchema, y as sessionIdSchema, z as sourceTransportSchema, B as tokenCountSchema, C as workspaceIdSchema } from './primitives-CJ8-rn-f.js';
3
3
  export { C as CONTENT_HASH_PATTERN, a as ContentDisclosure, b as ContentFact, c as ContentKind, d as ContentRole, e as contentDisclosureSchema, f as contentFactSchema, g as contentFactsSchema, h as contentKindSchema, i as contentRoleSchema, j as isContentFactConsistent, k as isUnavailableContentFact } from './content-M9xIKG7h.js';
4
- export { C as CANONICAL_EVENT_TYPES, a as CacheCreationAccounting, b as CanonicalEvent, c as CanonicalEventInput, d as CanonicalEventOfType, e as CanonicalEventType, f as CanonicalUsage, g as CompactionPerformedEvent, h as CostFacts, E as EMPTY_DELTA_USAGE, i as ErrorRaisedEvent, j as EventOutcome, k as EventValidationResult, G as GenerationEndEvent, l as GenerationStartEvent, M as ModelDescriptor, P as PromptSubmittedEvent, m as ProviderTotalAgreement, S as SessionEndEvent, n as SessionStartEvent, o as SubagentEndEvent, p as SubagentStartEvent, T as ToolEndEvent, q as ToolKind, r as ToolStartEvent, U as UsageDeltaResult, s as UsageNormalizationError, t as UsageNormalizationIssue, u as UsageNormalizationResult, v as UsageReport, w as UsageTemporality, x as addUsage, y as cacheCreationAccountingSchema, z as canonicalEventSchema, A as canonicalEventTypeSchema, B as canonicalUsageSchema, D as compactionPerformedEventSchema, F as compareEvents, H as costFactsSchema, I as cumulativeToDelta, J as errorRaisedEventSchema, K as eventUsage, L as generationEndEventSchema, N as generationStartEventSchema, O as modelDescriptorSchema, Q as normalizeUsage, R as normalizeUsageOrThrow, V as parseCanonicalEvent, W as promptSubmittedEventSchema, X as providerTotalAgreementSchema, Y as sessionEndEventSchema, Z as sessionStartEventSchema, _ as subagentEndEventSchema, $ as subagentStartEventSchema, a0 as toReport, a1 as toolEndEventSchema, a2 as toolKindSchema, a3 as toolStartEventSchema, a4 as usageReportSchema, a5 as usageTemporalitySchema, a6 as validateCanonicalEvent } from './events-C3h3GvHj.js';
4
+ export { C as CANONICAL_EVENT_TYPES, a as CacheCreationAccounting, b as CanonicalEvent, c as CanonicalEventInput, d as CanonicalEventOfType, e as CanonicalEventType, f as CanonicalUsage, g as CompactionPerformedEvent, h as CostFacts, E as EMPTY_DELTA_USAGE, i as ErrorRaisedEvent, j as EventOutcome, k as EventValidationResult, G as GenerationEndEvent, l as GenerationStartEvent, M as MAX_TARGET_HINT_PATHS, m as MAX_TARGET_PATH_LENGTH, n as ModelDescriptor, P as PromptSubmittedEvent, o as ProviderTotalAgreement, S as SUBAGENT_ID_PATTERN, p as SessionEndEvent, q as SessionStartEvent, r as SubagentEndEvent, s as SubagentId, t as SubagentStartEvent, T as TARGETED_EVENT_TYPES, u as TargetHint, v as TargetSource, w as TargetedEvent, x as TargetedEventType, y as ToolEndEvent, z as ToolKind, A as ToolStartEvent, U as UsageDeltaResult, B as UsageNormalizationError, D as UsageNormalizationIssue, F as UsageNormalizationResult, H as UsageReport, I as UsageTemporality, W as WorkspaceTarget, J as WorktreeKind, K as addUsage, L as cacheCreationAccountingSchema, N as canonicalEventSchema, O as canonicalEventTypeSchema, Q as canonicalUsageSchema, R as compactionPerformedEventSchema, V as compareEvents, X as costFactsSchema, Y as cumulativeToDelta, Z as errorRaisedEventSchema, _ as eventUsage, $ as generationEndEventSchema, a0 as generationStartEventSchema, a1 as isTargetedEvent, a2 as modelDescriptorSchema, a3 as normalizeUsage, a4 as normalizeUsageOrThrow, a5 as parseCanonicalEvent, a6 as promptSubmittedEventSchema, a7 as providerTotalAgreementSchema, a8 as sessionCwdHint, a9 as sessionEndEventSchema, aa as sessionStartEventSchema, ab as subagentEndEventSchema, ac as subagentIdSchema, ad as subagentStartEventSchema, ae as targetHintSchema, af as targetSourceSchema, ag as toReport, ah as toolEndEventSchema, ai as toolKindSchema, aj as toolStartEventSchema, ak as usageReportSchema, al as usageTemporalitySchema, am as validateCanonicalEvent, an as workspaceTargetSchema, ao as worktreeKindSchema } from './events-B3MHoJTD.js';
5
5
  export { C as ConsumerAttributes, I as IdentityClaim, a as IdentityClaimFields, b as IdentityConflict, c as IdentityResolution, d as InvocationIdentity, R as ResolveIdentityInput, S as SourceProvenance, U as UNKNOWN_WORKSPACE_ID, W as WorkspaceIdentity, e as WorkspaceKeySource, f as consumerAttributesSchema, i as identityClaimFieldsSchema, g as identityClaimSchema, h as invocationIdentitySchema, r as resolveInvocationIdentity, s as sourceProvenanceSchema, u as unknownWorkspaceIdentity, w as workspaceIdentitySchema, j as workspaceKeySourceSchema } from './identity-BrVBs901.js';
6
- export { M as MAX_TARGET_HINT_PATHS, a as MAX_TARGET_PATH_LENGTH, S as SUBAGENT_ID_PATTERN, b as SubagentId, T as TargetHint, c as TargetSource, W as WorkspaceTarget, s as subagentIdSchema, t as targetHintSchema, d as targetSourceSchema, w as workspaceTargetSchema } from './target-8RfaVxp8.js';
7
6
  export { CreateErrorInfoInput, OtelHookError, OtelHookErrorInfo, createErrorInfo, describeThrown, errorInfoFromThrown, isOtelHookError, otelHookErrorInfoSchema } from './errors.js';
8
7
  export { C as CONTENT_MODE_DISCLOSURE, a as ContentMode, D as DEFAULT_PRIVACY_LIMITS, b as DEFAULT_PRIVACY_POLICY, c as DEFAULT_SECRET_KEY_PATTERNS, d as DEFAULT_SECRET_VALUE_PATTERNS, P as PolicyResolution, e as PrivacyLimits, f as PrivacyPolicy, g as contentModeSchema, p as privacyLimitsSchema, h as privacyPolicySchema, r as resolvePrivacyPolicy } from './policy-CimmCfRp.js';
9
8
  export { D as DescribeContentInput, a as DescribeStructuredInput, P as PrivacyService, S as SanitizeExtensionsResult, b as SanitizeResult, c as SanitizeStats, d as SanitizedValue, e as createPrivacyService } from './service-CbI9CObT.js';
10
9
  export { WorkspaceKeyInput, WorkspaceLabels, canonicalizeGitRemote, deriveWorkspaceIdentity } from './privacy.js';
11
10
  export { CONFIG_SOURCE_PRECEDENCE, ConfigLayer, ConfigProvenance, ConfigResolution, ConfigSource, EMPTY_RESOURCE_ATTRIBUTES, ENVIRONMENT_VARIABLES, EnvironmentConfigResult, EnvironmentRecord, MAX_RESOURCE_ATTRIBUTES, MAX_RESOURCE_ATTRIBUTE_KEY_LENGTH, MAX_RESOURCE_ATTRIBUTE_VALUE_LENGTH, ParsedResourceAttributes, RESERVED_RESOURCE_ATTRIBUTE_KEYS, RESOURCE_ATTRIBUTE_KEY_PATTERN, RESOURCE_ATTRIBUTE_KEY_REJECTION_DETAIL, ResourceAttributeKeyRejection, ResourceAttributeValue, ResourceAttributes, checkResourceAttributeKey, configSourceSchema, describeResolvedConfig, describeResourceAttributeNames, isReservedResourceAttributeKey, isSecretResourceAttributeKey, parseEnvironmentConfig, parseResourceAttributesValue, resolveConfig, resourceAttributeValueSchema, resourceAttributesSchema, sanitizeResourceAttributes } from './config.js';
12
11
  export { D as DEFAULT_CONFIG, a as DEFAULT_DETECTION_POLICY, b as DEFAULT_DIAGNOSTICS_POLICY, c as DEFAULT_EXPORTER_POLICY, d as DEFAULT_LOGS_POLICY, e as DetectionPolicy, f as DiagnosticsPolicy, E as ExporterPolicy, L as LogsPolicy, O as OtelHookConfig, g as OtelHookConfigPatch, h as detectionPolicySchema, i as diagnosticsPolicySchema, j as exporterPolicySchema, l as logsPolicySchema, o as otelHookConfigPatchSchema, k as otelHookConfigSchema } from './schema-Cn0-xz8L.js';
13
- export { A as AdapterDescription, D as DELIVERY_COMPONENT_PATTERN, a as DELIVERY_GAP_REASON_PATTERN, b as DeliveryIdentifierSupport, M as MAX_DELIVERY_COMPONENTS, c as MAX_DELIVERY_GAPS, P as ProviderAdapter, d as ProviderCapabilities, e as ProviderContext, f as ProviderDeliveryClaim, g as ProviderDeliveryGaps, h as ProviderDetection, i as ProviderDetectionInput, j as ProviderHookResponse, k as ProviderHookResponseInput, l as ProviderIdentityInput, m as ProviderParseInput, n as ProviderParseResult, S as SILENT_HOOK_RESPONSE, o as adapterSupports, p as asProviderId, q as deliveryComponentSchema, r as deliveryGapReasonSchema, s as deliveryIdentifierSupportSchema, t as describeAdapter, u as providerCapabilitiesSchema, v as providerDeliveryClaimSchema, w as providerDeliveryGapsSchema, x as providerDetectionSchema, y as providerHookResponseSchema, z as readDeliveryClaim, B as readDeliveryGap, C as unknownDetection } from './adapter-BgqtlADe.js';
12
+ export { A as AdapterDescription, D as DELIVERY_COMPONENT_PATTERN, a as DELIVERY_GAP_REASON_PATTERN, b as DeliveryIdentifierSupport, M as MAX_DELIVERY_COMPONENTS, c as MAX_DELIVERY_GAPS, P as ProviderAdapter, d as ProviderCapabilities, e as ProviderContext, f as ProviderDeliveryClaim, g as ProviderDeliveryGaps, h as ProviderDetection, i as ProviderDetectionInput, j as ProviderHookResponse, k as ProviderHookResponseInput, l as ProviderIdentityInput, m as ProviderParseInput, n as ProviderParseResult, S as SILENT_HOOK_RESPONSE, o as adapterSupports, p as asProviderId, q as deliveryComponentSchema, r as deliveryGapReasonSchema, s as deliveryIdentifierSupportSchema, t as describeAdapter, u as providerCapabilitiesSchema, v as providerDeliveryClaimSchema, w as providerDeliveryGapsSchema, x as providerDetectionSchema, y as providerHookResponseSchema, z as readDeliveryClaim, B as readDeliveryGap, C as unknownDetection } from './adapter-BJiz6lqM.js';
14
13
  export { ANTIGRAVITY_PROMOTION_GATES, ANTIGRAVITY_PROVIDER_MATURITY, AntigravityProviderMaturity, CLAUDE_CODE_CAPABILITIES, CODEX_CAPABILITIES, CURSOR_ADAPTER_VERSION, CURSOR_CAPABILITIES, CanonicalEventDraft, ClaudeCodeAdapterOptions, CursorAdapterOptions, DELIVERY_IDENTIFIER_SUMMARY, DefaultRegistryOptions, EXPERIMENTAL_PROVIDER_IDS, EventFactory, EventFactoryInput, PROVIDER_DESCRIPTORS, ProviderCatalogEntry, ProviderDescriptor, ProviderMaturity, createClaudeCodeAdapter, createCodexAdapter, createCursorAdapter, createDefaultProviderRegistry, createEventFactory, describeProviderCatalog, findProviderDescriptor, isExperimentalProvider } from './providers.js';
15
- export { B as BUILT_IN_PROVIDERS, D as DetectionCandidate, P as ProviderRegistry, R as RegistryDetectionResult, c as createProviderRegistry } from './registry-BSBS8t7S.js';
16
- export { A as ANTIGRAVITY_CAPABILITIES, a as ANTIGRAVITY_HOOK_EVENT_NAMES, b as ANTIGRAVITY_PROVIDER_ID, c as AntigravityAdapterOptions, d as AntigravityHookEventName, C as CLAUDE_CODE_PROVIDER_ID, e as CLAUDE_HOOK_EVENT_NAMES, f as CODEX_ADAPTER_VERSION, g as CODEX_HOOK_EVENT_NAMES, h as CODEX_PROVIDER_ID, i as CURSOR_DECISION_EVENTS, j as CURSOR_HOOK_EVENT_NAMES, k as CURSOR_PROVIDER_ID, l as CURSOR_UNMODELLED_HOOK_EVENT_NAMES, m as ClaudeHookEventName, n as CodexHookEventName, o as CursorHookEventName, D as DEFAULT_GEMINI_CAPABILITIES, G as GEMINI_ADAPTER_VERSION, p as GEMINI_HOOK_EVENT_NAMES, q as GEMINI_PROVIDER_ID, r as GeminiAdapterOptions, s as GeminiHookEventName, t as createAntigravityAdapter, u as createGeminiCliAdapter } from './payload-DpyU8F-z.js';
17
- export { A as AppliedDelivery, C as Clock, E as EventIdSeed, I as IdGenerator, a as InvocationIdSeed, L as LOG_LEVEL_RANK, b as LocatedWorktree, c as LogLevel, d as Logger, S as StateRecord, e as StateStore, f as StateValue, T as TelemetryEmitResult, g as TelemetrySink, W as WorktreeLocator, h as appliedDeliverySchema, l as logLevelSchema, s as stateRecordSchema, i as stateValueSchema } from './ports-B_iwJQPQ.js';
18
- export { D as DeterministicIdOptions, F as FixedClock, a as FixedClockOptions, I as InMemoryStateStore, b as InMemoryStateStoreOptions, L as LogRecord, R as RecordingLogger, c as RecordingTelemetrySink, d as RecordingTelemetrySinkOptions, e as createDeterministicIdGenerator, f as createFixedClock, g as createInMemoryStateStore, h as createNullTelemetrySink, i as createRandomIdGenerator, j as createRecordingLogger, k as createRecordingTelemetrySink, l as createSystemClock } from './memory-kflYgZbg.js';
19
- export { DEFAULT_TARGET_RESOLUTION_BUDGET_MILLIS, DEFAULT_WORKTREE_CACHE_TTL_MILLIS, FilesystemWorktreeLocatorOptions, MAX_WORKTREE_WALK_DEPTH, ResolveEventTargetsInput, ResolveEventTargetsResult, StderrLoggerOptions, createFilesystemWorktreeLocator, createNullLogger, createStderrLogger, parseGitDirFile, parseHeadBranch, resolveEventTargets } from './runtime.js';
20
- export { C as CumulativeUsageSeries, D as DeliveryDurability, a as DeliveryOrigin, b as DeliveryResolution, c as DeliveryUnavailableReason, H as HookIngestInput, d as HookIngestOptions, e as HookIngestOutcome, O as OtelHook, f as OtelHookDependencies, R as ResolvedDeliveryIdentity, U as UsageObservation, g as UsageScope, h as classifyDurability, i as createOtelHook, j as hostDeliveryIdentity, k as isCommittable, r as resolveDeliveryIdentity, u as usageScopeSchema } from './hook-CQiNa88Q.js';
14
+ export { B as BUILT_IN_PROVIDERS, D as DetectionCandidate, P as ProviderRegistry, R as RegistryDetectionResult, c as createProviderRegistry } from './registry-CIVvRlVK.js';
15
+ export { A as ANTIGRAVITY_CAPABILITIES, a as ANTIGRAVITY_HOOK_EVENT_NAMES, b as ANTIGRAVITY_PROVIDER_ID, c as AntigravityAdapterOptions, d as AntigravityHookEventName, C as CLAUDE_CODE_PROVIDER_ID, e as CLAUDE_HOOK_EVENT_NAMES, f as CODEX_ADAPTER_VERSION, g as CODEX_HOOK_EVENT_NAMES, h as CODEX_PROVIDER_ID, i as CURSOR_DECISION_EVENTS, j as CURSOR_HOOK_EVENT_NAMES, k as CURSOR_PROVIDER_ID, l as CURSOR_UNMODELLED_HOOK_EVENT_NAMES, m as ClaudeHookEventName, n as CodexHookEventName, o as CursorHookEventName, D as DEFAULT_GEMINI_CAPABILITIES, G as GEMINI_ADAPTER_VERSION, p as GEMINI_HOOK_EVENT_NAMES, q as GEMINI_PROVIDER_ID, r as GeminiAdapterOptions, s as GeminiHookEventName, t as createAntigravityAdapter, u as createGeminiCliAdapter } from './payload-Ci8_ERm6.js';
16
+ export { A as AppliedDelivery, C as Clock, E as EventIdSeed, I as IdGenerator, a as InvocationIdSeed, L as LOG_LEVEL_RANK, b as LocatedWorktree, c as LogLevel, d as Logger, S as StateRecord, e as StateStore, f as StateValue, T as TelemetryEmitResult, g as TelemetrySink, W as WorktreeLocator, h as appliedDeliverySchema, l as logLevelSchema, s as stateRecordSchema, i as stateValueSchema } from './ports-n7KFOpKo.js';
17
+ export { D as DeterministicIdOptions, F as FixedClock, a as FixedClockOptions, I as InMemoryStateStore, b as InMemoryStateStoreOptions, L as LogRecord, R as RecordingLogger, c as RecordingTelemetrySink, d as RecordingTelemetrySinkOptions, e as createDeterministicIdGenerator, f as createFixedClock, g as createInMemoryStateStore, h as createNullTelemetrySink, i as createRandomIdGenerator, j as createRecordingLogger, k as createRecordingTelemetrySink, l as createSystemClock } from './memory-Bl9ANVff.js';
18
+ export { DEFAULT_TARGET_RESOLUTION_BUDGET_MILLIS, DEFAULT_WORKTREE_CACHE_TTL_MILLIS, FilesystemWorktreeLocatorOptions, MAX_WORKTREE_WALK_DEPTH, ResolveEventTargetsInput, ResolveEventTargetsResult, StderrLoggerOptions, createFilesystemWorktreeLocator, createNullLogger, createStderrLogger, parseCommonDirFile, parseGitDirFile, parseHeadBranch, resolveEventTargets } from './runtime.js';
19
+ export { C as CumulativeUsageSeries, D as DeliveryDurability, a as DeliveryOrigin, b as DeliveryResolution, c as DeliveryUnavailableReason, H as HookIngestInput, d as HookIngestOptions, e as HookIngestOutcome, O as OtelHook, f as OtelHookDependencies, R as ResolvedDeliveryIdentity, U as UsageObservation, g as UsageScope, h as classifyDurability, i as createOtelHook, j as hostDeliveryIdentity, k as isCommittable, r as resolveDeliveryIdentity, u as usageScopeSchema } from './hook-Dh8OO4Wa.js';
21
20
  export { CallbackDeduplicator, CallbackDeduplicatorDependencies, DedupCheckResult, DedupCleanupResult, DeliveryClaimOptions, DeliveryClaimOutcome, DeliveryClaimResult, LifecycleCleanupReport, LifecycleJanitor, LifecycleJanitorOptions, LifecycleScope, LifecycleSweepStats, RollupCleanupResult, SPAN_RECORD_VERSION, SpanCleanupResult, SpanCorrelationFacts, SpanCorrelator, SpanCorrelatorDependencies, SpanEndInput, SpanEndOrphanReason, SpanEndResult, SpanStartInput, SpanStartResult, UsageAccumulator, UsageAccumulatorDependencies, UsageAccumulatorKey, UsageAccumulatorSnapshot, createCallbackDeduplicator, createLifecycleJanitor, createSpanCorrelator, createUsageAccumulator } from './lifecycle.js';
22
21
  export { S as StoreNamespace } from './keys-Dej5bN3L.js';
23
- export { F as FilesystemStateStore, a as FilesystemStateStoreOptions, L as LockingStateStore, S as StateStoreDependencies, c as createFilesystemStateStore, i as isLockingStateStore, w as withOptionalSessionLock } from './filesystem-store-BAq3VGVv.js';
22
+ export { F as FilesystemStateStore, a as FilesystemStateStoreOptions, L as LockingStateStore, S as StateStoreDependencies, c as createFilesystemStateStore, i as isLockingStateStore, w as withOptionalSessionLock } from './filesystem-store-r-nNA3BA.js';
24
23
  export { BoundedMemoryStateStore, BoundedMemoryStateStoreOptions, createBoundedMemoryStateStore } from './state.js';
25
- export { D as DEFAULT_INSTRUMENTATION_SCOPE, E as EventTraceIdentity, M as MAX_RECOVERED_START_ATTRIBUTES, S as SemanticMappingOptions, a as SpanCorrelation, b as SpanCorrelationResolver, 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-BeUPQ7_q.js';
26
- 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, n as OtlpLogTelemetrySink, o as OtlpTelemetrySink, 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-BZIgYPKN.js';
24
+ export { D as DEFAULT_INSTRUMENTATION_SCOPE, E as EventTraceIdentity, M as MAX_RECOVERED_START_ATTRIBUTES, S as SemanticMappingOptions, a as SpanCorrelation, b as SpanCorrelationResolver, 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';
25
+ 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, n as OtlpLogTelemetrySink, o as OtlpTelemetrySink, 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';
27
26
  export { SignalFanoutOptions, SignalFanoutSink, createSignalFanout, shareCorrelationPerBatch } from './telemetry.js';
28
27
  export { DeliveryHealthSnapshot, DeliverySubsystem, HealthTracker, HealthTrackerOptions, OverallHealth, createHealthTracker, summarizeHealth } from './diagnostics.js';
29
28
  export { DeliveryReport, HookProcessInput, HookProcessOutcome, HookRuntime, HookRuntimeDelivery, HookRuntimeOptions, HookShutdownReport, UsageRollup, createHookRuntime, minimumStaleClaimMillis } from './integration.js';
@@ -42,6 +41,6 @@ import '@opentelemetry/sdk-logs';
42
41
  *
43
42
  * Updated by `scripts/release/sync-version.mjs` during semantic-release.
44
43
  */
45
- declare const VERSION = "0.4.1";
44
+ declare const VERSION = "0.6.0";
46
45
 
47
46
  export { VERSION };