@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
|
@@ -234,6 +234,7 @@ declare const sessionStartEventSchema: z.ZodObject<{
|
|
|
234
234
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
235
235
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
236
236
|
}, z.core.$strict>>;
|
|
237
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
237
238
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
238
239
|
type: z.ZodLiteral<"session.start">;
|
|
239
240
|
sessionKind: z.ZodEnum<{
|
|
@@ -288,6 +289,7 @@ declare const sessionEndEventSchema: z.ZodObject<{
|
|
|
288
289
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
289
290
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
290
291
|
}, z.core.$strict>>;
|
|
292
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
291
293
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
292
294
|
type: z.ZodLiteral<"session.end">;
|
|
293
295
|
reason: z.ZodEnum<{
|
|
@@ -370,6 +372,7 @@ declare const promptSubmittedEventSchema: z.ZodObject<{
|
|
|
370
372
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
371
373
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
372
374
|
}, z.core.$strict>>;
|
|
375
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
373
376
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
374
377
|
type: z.ZodLiteral<"prompt.submitted">;
|
|
375
378
|
promptSource: z.ZodEnum<{
|
|
@@ -451,6 +454,7 @@ declare const generationStartEventSchema: z.ZodObject<{
|
|
|
451
454
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
452
455
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
453
456
|
}, z.core.$strict>>;
|
|
457
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
454
458
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
455
459
|
type: z.ZodLiteral<"generation.start">;
|
|
456
460
|
generationId: z.ZodString;
|
|
@@ -532,6 +536,7 @@ declare const generationEndEventSchema: z.ZodObject<{
|
|
|
532
536
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
533
537
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
534
538
|
}, z.core.$strict>>;
|
|
539
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
535
540
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
536
541
|
type: z.ZodLiteral<"generation.end">;
|
|
537
542
|
generationId: z.ZodString;
|
|
@@ -665,6 +670,7 @@ declare const toolStartEventSchema: z.ZodObject<{
|
|
|
665
670
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
666
671
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
667
672
|
}, z.core.$strict>>;
|
|
673
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
668
674
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
669
675
|
type: z.ZodLiteral<"tool.start">;
|
|
670
676
|
toolCallId: z.ZodString;
|
|
@@ -712,6 +718,15 @@ declare const toolStartEventSchema: z.ZodObject<{
|
|
|
712
718
|
secretsRedacted: z.ZodNumber;
|
|
713
719
|
label: z.ZodOptional<z.ZodString>;
|
|
714
720
|
}, z.core.$strict>>;
|
|
721
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
722
|
+
workspaceId: z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">;
|
|
723
|
+
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
724
|
+
source: z.ZodEnum<{
|
|
725
|
+
"tool-path": "tool-path";
|
|
726
|
+
"shell-cwd": "shell-cwd";
|
|
727
|
+
"session-cwd": "session-cwd";
|
|
728
|
+
}>;
|
|
729
|
+
}, z.core.$strict>>>;
|
|
715
730
|
}, z.core.$strict>;
|
|
716
731
|
declare const toolEndEventSchema: z.ZodObject<{
|
|
717
732
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -752,6 +767,7 @@ declare const toolEndEventSchema: z.ZodObject<{
|
|
|
752
767
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
753
768
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
754
769
|
}, z.core.$strict>>;
|
|
770
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
755
771
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
756
772
|
type: z.ZodLiteral<"tool.end">;
|
|
757
773
|
toolCallId: z.ZodString;
|
|
@@ -803,6 +819,15 @@ declare const toolEndEventSchema: z.ZodObject<{
|
|
|
803
819
|
secretsRedacted: z.ZodNumber;
|
|
804
820
|
label: z.ZodOptional<z.ZodString>;
|
|
805
821
|
}, z.core.$strict>>;
|
|
822
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
823
|
+
workspaceId: z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">;
|
|
824
|
+
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
825
|
+
source: z.ZodEnum<{
|
|
826
|
+
"tool-path": "tool-path";
|
|
827
|
+
"shell-cwd": "shell-cwd";
|
|
828
|
+
"session-cwd": "session-cwd";
|
|
829
|
+
}>;
|
|
830
|
+
}, z.core.$strict>>>;
|
|
806
831
|
}, z.core.$strict>;
|
|
807
832
|
declare const subagentStartEventSchema: z.ZodObject<{
|
|
808
833
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -843,6 +868,7 @@ declare const subagentStartEventSchema: z.ZodObject<{
|
|
|
843
868
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
844
869
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
845
870
|
}, z.core.$strict>>;
|
|
871
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
846
872
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
847
873
|
type: z.ZodLiteral<"subagent.start">;
|
|
848
874
|
subagentInvocationId: z.core.$ZodBranded<z.ZodString, "InvocationId", "out">;
|
|
@@ -893,6 +919,7 @@ declare const subagentEndEventSchema: z.ZodObject<{
|
|
|
893
919
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
894
920
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
895
921
|
}, z.core.$strict>>;
|
|
922
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
896
923
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
897
924
|
type: z.ZodLiteral<"subagent.end">;
|
|
898
925
|
subagentInvocationId: z.core.$ZodBranded<z.ZodString, "InvocationId", "out">;
|
|
@@ -969,6 +996,7 @@ declare const compactionPerformedEventSchema: z.ZodObject<{
|
|
|
969
996
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
970
997
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
971
998
|
}, z.core.$strict>>;
|
|
999
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
972
1000
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
973
1001
|
type: z.ZodLiteral<"compaction.performed">;
|
|
974
1002
|
trigger: z.ZodEnum<{
|
|
@@ -1043,6 +1071,7 @@ declare const errorRaisedEventSchema: z.ZodObject<{
|
|
|
1043
1071
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1044
1072
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1045
1073
|
}, z.core.$strict>>;
|
|
1074
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1046
1075
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1047
1076
|
type: z.ZodLiteral<"error.raised">;
|
|
1048
1077
|
errorCode: z.ZodEnum<{
|
|
@@ -1152,6 +1181,7 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1152
1181
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1153
1182
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1154
1183
|
}, z.core.$strict>>;
|
|
1184
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1155
1185
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1156
1186
|
type: z.ZodLiteral<"session.start">;
|
|
1157
1187
|
sessionKind: z.ZodEnum<{
|
|
@@ -1205,6 +1235,7 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1205
1235
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1206
1236
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1207
1237
|
}, z.core.$strict>>;
|
|
1238
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1208
1239
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1209
1240
|
type: z.ZodLiteral<"session.end">;
|
|
1210
1241
|
reason: z.ZodEnum<{
|
|
@@ -1286,6 +1317,7 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1286
1317
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1287
1318
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1288
1319
|
}, z.core.$strict>>;
|
|
1320
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1289
1321
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1290
1322
|
type: z.ZodLiteral<"prompt.submitted">;
|
|
1291
1323
|
promptSource: z.ZodEnum<{
|
|
@@ -1366,6 +1398,7 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1366
1398
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1367
1399
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1368
1400
|
}, z.core.$strict>>;
|
|
1401
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1369
1402
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1370
1403
|
type: z.ZodLiteral<"generation.start">;
|
|
1371
1404
|
generationId: z.ZodString;
|
|
@@ -1446,6 +1479,7 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1446
1479
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1447
1480
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1448
1481
|
}, z.core.$strict>>;
|
|
1482
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1449
1483
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1450
1484
|
type: z.ZodLiteral<"generation.end">;
|
|
1451
1485
|
generationId: z.ZodString;
|
|
@@ -1567,6 +1601,7 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1567
1601
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1568
1602
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1569
1603
|
}, z.core.$strict>>;
|
|
1604
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1570
1605
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1571
1606
|
type: z.ZodLiteral<"tool.start">;
|
|
1572
1607
|
toolCallId: z.ZodString;
|
|
@@ -1614,6 +1649,15 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1614
1649
|
secretsRedacted: z.ZodNumber;
|
|
1615
1650
|
label: z.ZodOptional<z.ZodString>;
|
|
1616
1651
|
}, z.core.$strict>>;
|
|
1652
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
1653
|
+
workspaceId: z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">;
|
|
1654
|
+
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1655
|
+
source: z.ZodEnum<{
|
|
1656
|
+
"tool-path": "tool-path";
|
|
1657
|
+
"shell-cwd": "shell-cwd";
|
|
1658
|
+
"session-cwd": "session-cwd";
|
|
1659
|
+
}>;
|
|
1660
|
+
}, z.core.$strict>>>;
|
|
1617
1661
|
}, z.core.$strict>, z.ZodObject<{
|
|
1618
1662
|
schemaVersion: z.ZodLiteral<1>;
|
|
1619
1663
|
eventId: z.core.$ZodBranded<z.ZodString, "EventId", "out">;
|
|
@@ -1653,6 +1697,7 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1653
1697
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1654
1698
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1655
1699
|
}, z.core.$strict>>;
|
|
1700
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1656
1701
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1657
1702
|
type: z.ZodLiteral<"tool.end">;
|
|
1658
1703
|
toolCallId: z.ZodString;
|
|
@@ -1704,6 +1749,15 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1704
1749
|
secretsRedacted: z.ZodNumber;
|
|
1705
1750
|
label: z.ZodOptional<z.ZodString>;
|
|
1706
1751
|
}, z.core.$strict>>;
|
|
1752
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
1753
|
+
workspaceId: z.core.$ZodBranded<z.ZodString, "WorkspaceId", "out">;
|
|
1754
|
+
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1755
|
+
source: z.ZodEnum<{
|
|
1756
|
+
"tool-path": "tool-path";
|
|
1757
|
+
"shell-cwd": "shell-cwd";
|
|
1758
|
+
"session-cwd": "session-cwd";
|
|
1759
|
+
}>;
|
|
1760
|
+
}, z.core.$strict>>>;
|
|
1707
1761
|
}, z.core.$strict>, z.ZodObject<{
|
|
1708
1762
|
schemaVersion: z.ZodLiteral<1>;
|
|
1709
1763
|
eventId: z.core.$ZodBranded<z.ZodString, "EventId", "out">;
|
|
@@ -1743,6 +1797,7 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1743
1797
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1744
1798
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1745
1799
|
}, z.core.$strict>>;
|
|
1800
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1746
1801
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1747
1802
|
type: z.ZodLiteral<"subagent.start">;
|
|
1748
1803
|
subagentInvocationId: z.core.$ZodBranded<z.ZodString, "InvocationId", "out">;
|
|
@@ -1792,6 +1847,7 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1792
1847
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1793
1848
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1794
1849
|
}, z.core.$strict>>;
|
|
1850
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1795
1851
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1796
1852
|
type: z.ZodLiteral<"subagent.end">;
|
|
1797
1853
|
subagentInvocationId: z.core.$ZodBranded<z.ZodString, "InvocationId", "out">;
|
|
@@ -1867,6 +1923,7 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1867
1923
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1868
1924
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1869
1925
|
}, z.core.$strict>>;
|
|
1926
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1870
1927
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1871
1928
|
type: z.ZodLiteral<"compaction.performed">;
|
|
1872
1929
|
trigger: z.ZodEnum<{
|
|
@@ -1940,6 +1997,7 @@ declare const canonicalEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1940
1997
|
vcsBranchName: z.ZodOptional<z.ZodString>;
|
|
1941
1998
|
vcsRevisionId: z.ZodOptional<z.ZodString>;
|
|
1942
1999
|
}, z.core.$strict>>;
|
|
2000
|
+
subagentId: z.ZodOptional<z.ZodString>;
|
|
1943
2001
|
extensions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
1944
2002
|
type: z.ZodLiteral<"error.raised">;
|
|
1945
2003
|
errorCode: z.ZodEnum<{
|
|
@@ -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-
|
|
4
|
+
import { b as CanonicalEvent, w as UsageTemporality, f as CanonicalUsage } from './events-C3h3GvHj.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
|
-
import { P as PrivacyService } from './service-
|
|
8
|
-
import { b as DeliveryIdentifierSupport, f as ProviderDeliveryClaim, j as ProviderHookResponse } from './adapter-
|
|
9
|
-
import { P as ProviderRegistry } from './registry-
|
|
10
|
-
import { I as IdGenerator,
|
|
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';
|
|
11
11
|
import { A as AttributionOutcome, a as AttributionReason } from './taxonomy-DwhTtuWd.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -279,6 +279,14 @@ type OtelHookDependencies = {
|
|
|
279
279
|
* workspace is derived from it. Defaults to `"default"`.
|
|
280
280
|
*/
|
|
281
281
|
readonly installationId?: string;
|
|
282
|
+
/**
|
|
283
|
+
* Resolves tool events' target hints to the git worktree they touched
|
|
284
|
+
* (ADR 0008). Absent means no resolution: events carry no `target`. The
|
|
285
|
+
* filesystem implementation is `createFilesystemWorktreeLocator`.
|
|
286
|
+
*/
|
|
287
|
+
readonly worktreeLocator?: WorktreeLocator;
|
|
288
|
+
/** Ceiling on target resolution per callback. Default 50ms. */
|
|
289
|
+
readonly targetResolutionBudgetMillis?: number;
|
|
282
290
|
};
|
|
283
291
|
/**
|
|
284
292
|
* Minimal orchestrator wiring detection, identity, parsing, privacy checks,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
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
|
-
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 } from './content-
|
|
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-
|
|
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';
|
|
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';
|
|
6
7
|
export { CreateErrorInfoInput, OtelHookError, OtelHookErrorInfo, createErrorInfo, describeThrown, errorInfoFromThrown, isOtelHookError, otelHookErrorInfoSchema } from './errors.js';
|
|
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-
|
|
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-
|
|
8
|
+
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
|
+
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';
|
|
9
10
|
export { WorkspaceKeyInput, WorkspaceLabels, canonicalizeGitRemote, deriveWorkspaceIdentity } from './privacy.js';
|
|
10
11
|
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';
|
|
11
12
|
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';
|
|
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-
|
|
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';
|
|
13
14
|
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';
|
|
14
|
-
export { B as BUILT_IN_PROVIDERS, D as DetectionCandidate, P as ProviderRegistry, R as RegistryDetectionResult, c as createProviderRegistry } from './registry-
|
|
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-
|
|
16
|
-
export { A as AppliedDelivery, C as Clock, E as EventIdSeed, I as IdGenerator, a as InvocationIdSeed, L as LOG_LEVEL_RANK, b as
|
|
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-
|
|
18
|
-
export { StderrLoggerOptions, createNullLogger, createStderrLogger } 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-
|
|
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';
|
|
20
21
|
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';
|
|
21
22
|
export { S as StoreNamespace } from './keys-Dej5bN3L.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-
|
|
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';
|
|
23
24
|
export { BoundedMemoryStateStore, BoundedMemoryStateStoreOptions, createBoundedMemoryStateStore } from './state.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-
|
|
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-
|
|
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';
|
|
26
27
|
export { SignalFanoutOptions, SignalFanoutSink, createSignalFanout, shareCorrelationPerBatch } from './telemetry.js';
|
|
27
28
|
export { DeliveryHealthSnapshot, DeliverySubsystem, HealthTracker, HealthTrackerOptions, OverallHealth, createHealthTracker, summarizeHealth } from './diagnostics.js';
|
|
28
29
|
export { DeliveryReport, HookProcessInput, HookProcessOutcome, HookRuntime, HookRuntimeDelivery, HookRuntimeOptions, HookShutdownReport, UsageRollup, createHookRuntime, minimumStaleClaimMillis } from './integration.js';
|
|
@@ -41,6 +42,6 @@ import '@opentelemetry/sdk-logs';
|
|
|
41
42
|
*
|
|
42
43
|
* Updated by `scripts/release/sync-version.mjs` during semantic-release.
|
|
43
44
|
*/
|
|
44
|
-
declare const VERSION = "0.
|
|
45
|
+
declare const VERSION = "0.4.1";
|
|
45
46
|
|
|
46
47
|
export { VERSION };
|