@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.
Files changed (42) hide show
  1. package/dist/{adapter-DXpNtnaf.d.ts → adapter-BS7xHKGQ.d.ts} +9 -3
  2. package/dist/cli.js +1043 -487
  3. package/dist/cli.js.map +1 -1
  4. package/dist/{events-VxBnDFaO.d.ts → events-CzZ5kukS.d.ts} +177 -1
  5. package/dist/{filesystem-store-J8jjDMTh.d.ts → filesystem-store-BcOveJYY.d.ts} +1 -1
  6. package/dist/{hook-_mlO3akA.d.ts → hook-DxTakjAD.d.ts} +12 -4
  7. package/dist/index.d.ts +12 -12
  8. package/dist/index.js +1171 -599
  9. package/dist/index.js.map +1 -1
  10. package/dist/install.d.ts +4 -4
  11. package/dist/install.js +103 -68
  12. package/dist/install.js.map +1 -1
  13. package/dist/integration.d.ts +14 -8
  14. package/dist/integration.js +547 -121
  15. package/dist/integration.js.map +1 -1
  16. package/dist/lifecycle.d.ts +3 -3
  17. package/dist/lifecycle.js +27 -2
  18. package/dist/lifecycle.js.map +1 -1
  19. package/dist/{memory-DXVBc8V9.d.ts → memory-DkTohdIa.d.ts} +2 -2
  20. package/dist/model.d.ts +1 -1
  21. package/dist/model.js +84 -41
  22. package/dist/model.js.map +1 -1
  23. package/dist/{otlp-log-sink-DTSa0KRF.d.ts → otlp-log-sink-DaZDPKnR.d.ts} +3 -3
  24. package/dist/{payload-BWV5-4n3.d.ts → payload-2lnpKodw.d.ts} +1 -1
  25. package/dist/{ports-Q8x0ODhs.d.ts → ports-B0rC49b3.d.ts} +28 -2
  26. package/dist/providers.d.ts +26 -9
  27. package/dist/providers.js +668 -452
  28. package/dist/providers.js.map +1 -1
  29. package/dist/{registry-Dqr3VNmT.d.ts → registry-DVnPA_b6.d.ts} +1 -1
  30. package/dist/runtime.d.ts +103 -11
  31. package/dist/runtime.js +416 -67
  32. package/dist/runtime.js.map +1 -1
  33. package/dist/{semconv-CIU-2kGO.d.ts → semconv-CtnDdsPk.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 +92 -10
  38. package/dist/telemetry.js.map +1 -1
  39. package/dist/testing.d.ts +13 -7
  40. package/dist/testing.js +821 -492
  41. package/dist/testing.js.map +1 -1
  42. package/package.json +4 -1
@@ -1,5 +1,5 @@
1
- import { C as Clock, I as IdGenerator, d as StateStore, S as StateRecord, b as LogLevel, c as Logger, f as TelemetrySink } from './ports-Q8x0ODhs.js';
2
- import { b as CanonicalEvent } from './events-VxBnDFaO.js';
1
+ import { C as Clock, I as IdGenerator, e as StateStore, S as StateRecord, c as LogLevel, d as Logger, g as TelemetrySink } from './ports-B0rC49b3.js';
2
+ import { b as CanonicalEvent } from './events-CzZ5kukS.js';
3
3
  import { b as Attributes } from './primitives-CJ8-rn-f.js';
4
4
 
5
5
  /** Clock backed by the host process. */
package/dist/model.d.ts CHANGED
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  import { a as AttributeValue } from './primitives-CJ8-rn-f.js';
3
3
  export { A as AttributePrimitive, 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';
4
4
  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';
5
- 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-VxBnDFaO.js';
5
+ 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 TargetHint, u as TargetSource, v as ToolEndEvent, w as ToolKind, x as ToolStartEvent, U as UsageDeltaResult, y as UsageNormalizationError, z as UsageNormalizationIssue, A as UsageNormalizationResult, B as UsageReport, D as UsageTemporality, W as WorkspaceTarget, F as WorktreeKind, H as addUsage, I as cacheCreationAccountingSchema, J as canonicalEventSchema, K as canonicalEventTypeSchema, L as canonicalUsageSchema, N as compactionPerformedEventSchema, O as compareEvents, Q as costFactsSchema, R as cumulativeToDelta, V as errorRaisedEventSchema, X as eventUsage, Y as generationEndEventSchema, Z as generationStartEventSchema, _ as modelDescriptorSchema, $ as normalizeUsage, a0 as normalizeUsageOrThrow, a1 as parseCanonicalEvent, a2 as promptSubmittedEventSchema, a3 as providerTotalAgreementSchema, a4 as sessionEndEventSchema, a5 as sessionStartEventSchema, a6 as subagentEndEventSchema, a7 as subagentIdSchema, a8 as subagentStartEventSchema, a9 as targetHintSchema, aa as targetSourceSchema, ab as toReport, ac as toolEndEventSchema, ad as toolKindSchema, ae as toolStartEventSchema, af as usageReportSchema, ag as usageTemporalitySchema, ah as validateCanonicalEvent, ai as workspaceTargetSchema, aj as worktreeKindSchema } from './events-CzZ5kukS.js';
6
6
  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';
7
7
 
8
8
  /**
package/dist/model.js CHANGED
@@ -564,12 +564,37 @@ var resolveInvocationIdentity = (input) => {
564
564
  return { status: "resolved", identity: parsed.data };
565
565
  };
566
566
 
567
+ // src/model/target.ts
568
+ import { z as z7 } from "zod";
569
+ var targetSourceSchema = z7.enum(["tool-path", "shell-cwd", "session-cwd"]);
570
+ var MAX_TARGET_HINT_PATHS = 8;
571
+ var MAX_TARGET_PATH_LENGTH = 4096;
572
+ var localPathSchema = z7.string().min(1).max(MAX_TARGET_PATH_LENGTH).refine((value) => !value.includes("\0"), "path must not contain NUL");
573
+ var targetHintSchema = z7.strictObject({
574
+ source: targetSourceSchema,
575
+ paths: z7.array(localPathSchema).min(1).max(MAX_TARGET_HINT_PATHS).readonly(),
576
+ /** Absolute directory that relative `paths` resolve against. */
577
+ baseDirectory: localPathSchema.optional()
578
+ }).readonly();
579
+ var worktreeKindSchema = z7.enum(["main", "linked"]);
580
+ var workspaceTargetSchema = z7.strictObject({
581
+ workspaceId: workspaceIdSchema,
582
+ /** Branch checked out in that worktree; absent on a detached HEAD. */
583
+ vcsBranchName: nonEmptyStringSchema.optional(),
584
+ source: targetSourceSchema,
585
+ /** `git-root` handle of the repository's main worktree; absent when there is none to name. */
586
+ repositoryId: workspaceIdSchema.optional(),
587
+ worktreeKind: worktreeKindSchema.optional()
588
+ }).readonly();
589
+ var SUBAGENT_ID_PATTERN = /^[A-Za-z0-9_.:@+=-]{1,256}$/;
590
+ var subagentIdSchema = z7.string().regex(SUBAGENT_ID_PATTERN);
591
+
567
592
  // src/model/events.ts
568
- import { z as z8 } from "zod";
593
+ import { z as z9 } from "zod";
569
594
 
570
595
  // src/errors/taxonomy.ts
571
- import { z as z7 } from "zod";
572
- var otelHookErrorCodeSchema = z7.enum([
596
+ import { z as z8 } from "zod";
597
+ var otelHookErrorCodeSchema = z8.enum([
573
598
  /** Input was not usable at all (empty stdin, unparsable JSON). */
574
599
  "invalid-input",
575
600
  /** Input parsed but failed canonical schema validation. */
@@ -605,8 +630,8 @@ var otelHookErrorCodeSchema = z7.enum([
605
630
  /** Anything unanticipated. Always reported, never fatal to the host. */
606
631
  "internal-error"
607
632
  ]);
608
- var errorSeveritySchema = z7.enum(["warning", "error"]);
609
- var errorPhaseSchema = z7.enum([
633
+ var errorSeveritySchema = z8.enum(["warning", "error"]);
634
+ var errorPhaseSchema = z8.enum([
610
635
  "configuration",
611
636
  "detection",
612
637
  "identity",
@@ -617,7 +642,7 @@ var errorPhaseSchema = z7.enum([
617
642
  "export",
618
643
  "shutdown"
619
644
  ]);
620
- var failurePostureSchema = z7.enum(["fail-open", "fail-closed-attribution"]);
645
+ var failurePostureSchema = z8.enum(["fail-open", "fail-closed-attribution"]);
621
646
  var ERROR_TAXONOMY = Object.freeze({
622
647
  "invalid-input": {
623
648
  code: "invalid-input",
@@ -741,7 +766,7 @@ var ERROR_TAXONOMY = Object.freeze({
741
766
  summary: "An unexpected failure was contained."
742
767
  }
743
768
  });
744
- var attributionOutcomeSchema = z7.enum([
769
+ var attributionOutcomeSchema = z8.enum([
745
770
  /** Identity resolved; events carry provider and session identity. */
746
771
  "attributed",
747
772
  /** Identity could not be established safely; nothing was attributed. */
@@ -751,7 +776,7 @@ var attributionOutcomeSchema = z7.enum([
751
776
  /** Input was recognized but intentionally carried no telemetry. */
752
777
  "not-applicable"
753
778
  ]);
754
- var attributionReasonSchema = z7.enum([
779
+ var attributionReasonSchema = z8.enum([
755
780
  "provider-unknown",
756
781
  "provider-detection-ambiguous",
757
782
  "identity-conflict",
@@ -763,19 +788,19 @@ var attributionReasonSchema = z7.enum([
763
788
  ]);
764
789
 
765
790
  // src/model/events.ts
766
- var modelDescriptorSchema = z8.strictObject({
791
+ var modelDescriptorSchema = z9.strictObject({
767
792
  modelId: nonEmptyStringSchema,
768
793
  /** Vendor of the model, e.g. `anthropic`. Distinct from the agent provider. */
769
794
  vendor: nonEmptyStringSchema.optional(),
770
795
  family: nonEmptyStringSchema.optional()
771
796
  });
772
- var costFactsSchema = z8.strictObject({
797
+ var costFactsSchema = z9.strictObject({
773
798
  /** ISO 4217 code. */
774
- currency: z8.string().length(3),
775
- amount: z8.number().min(0).finite(),
776
- source: z8.enum(["provider-reported", "computed"])
799
+ currency: z9.string().length(3),
800
+ amount: z9.number().min(0).finite(),
801
+ source: z9.enum(["provider-reported", "computed"])
777
802
  });
778
- var canonicalEventTypeSchema = z8.enum([
803
+ var canonicalEventTypeSchema = z9.enum([
779
804
  "session.start",
780
805
  "session.end",
781
806
  "prompt.submitted",
@@ -789,7 +814,7 @@ var canonicalEventTypeSchema = z8.enum([
789
814
  "error.raised"
790
815
  ]);
791
816
  var CANONICAL_EVENT_TYPES = canonicalEventTypeSchema.options;
792
- var outcomeSchema = z8.enum(["ok", "error", "cancelled", "timeout", "denied", "unknown"]);
817
+ var outcomeSchema = z9.enum(["ok", "error", "cancelled", "timeout", "denied", "unknown"]);
793
818
  var baseEventFields = {
794
819
  schemaVersion: canonicalSchemaVersionSchema,
795
820
  eventId: eventIdSchema,
@@ -800,39 +825,45 @@ var baseEventFields = {
800
825
  occurredAt: epochMillisSchema,
801
826
  provenance: sourceProvenanceSchema,
802
827
  workspace: workspaceIdentitySchema,
828
+ /**
829
+ * The provider's own id for the subagent this event was emitted inside (e.g.
830
+ * Claude Code's `agent_id`). Absent for the top-level agent. Set by the event
831
+ * factory, never by hand.
832
+ */
833
+ subagentId: subagentIdSchema.optional(),
803
834
  extensions: extensionsSchema.default(emptyExtensions)
804
835
  };
805
- var event = (shape) => z8.strictObject({ ...baseEventFields, ...shape });
836
+ var event = (shape) => z9.strictObject({ ...baseEventFields, ...shape });
806
837
  var sessionStartEventSchema = event({
807
- type: z8.literal("session.start"),
808
- sessionKind: z8.enum(["interactive", "non-interactive", "unknown"]),
838
+ type: z9.literal("session.start"),
839
+ sessionKind: z9.enum(["interactive", "non-interactive", "unknown"]),
809
840
  agentName: nonEmptyStringSchema.optional(),
810
841
  agentVersion: nonEmptyStringSchema.optional(),
811
842
  model: modelDescriptorSchema.optional()
812
843
  });
813
844
  var sessionEndEventSchema = event({
814
- type: z8.literal("session.end"),
815
- reason: z8.enum(["completed", "aborted", "error", "timeout", "unknown"]),
845
+ type: z9.literal("session.end"),
846
+ reason: z9.enum(["completed", "aborted", "error", "timeout", "unknown"]),
816
847
  durationMillis: durationMillisSchema.optional(),
817
848
  /** Session totals, typically cumulative. */
818
849
  usage: canonicalUsageSchema.optional(),
819
850
  cost: costFactsSchema.optional()
820
851
  });
821
852
  var promptSubmittedEventSchema = event({
822
- type: z8.literal("prompt.submitted"),
823
- promptSource: z8.enum(["user", "automation", "resumed", "unknown"]),
853
+ type: z9.literal("prompt.submitted"),
854
+ promptSource: z9.enum(["user", "automation", "resumed", "unknown"]),
824
855
  content: contentFactSchema.optional(),
825
- turnIndex: z8.number().int().min(0).optional()
856
+ turnIndex: z9.number().int().min(0).optional()
826
857
  });
827
858
  var generationStartEventSchema = event({
828
- type: z8.literal("generation.start"),
859
+ type: z9.literal("generation.start"),
829
860
  generationId: nonEmptyStringSchema,
830
861
  model: modelDescriptorSchema,
831
862
  requestedMaxOutputTokens: tokenCountSchema.optional(),
832
863
  inputContent: contentFactsSchema.optional()
833
864
  });
834
865
  var generationEndEventSchema = event({
835
- type: z8.literal("generation.end"),
866
+ type: z9.literal("generation.end"),
836
867
  generationId: nonEmptyStringSchema,
837
868
  model: modelDescriptorSchema,
838
869
  outcome: outcomeSchema,
@@ -842,7 +873,7 @@ var generationEndEventSchema = event({
842
873
  cost: costFactsSchema.optional(),
843
874
  outputContent: contentFactsSchema.optional()
844
875
  });
845
- var toolKindSchema = z8.enum([
876
+ var toolKindSchema = z9.enum([
846
877
  "read",
847
878
  "write",
848
879
  "execute",
@@ -853,59 +884,63 @@ var toolKindSchema = z8.enum([
853
884
  "unknown"
854
885
  ]);
855
886
  var toolStartEventSchema = event({
856
- type: z8.literal("tool.start"),
887
+ type: z9.literal("tool.start"),
857
888
  toolCallId: nonEmptyStringSchema,
858
889
  toolName: nonEmptyStringSchema,
859
890
  toolKind: toolKindSchema,
860
891
  generationId: nonEmptyStringSchema.optional(),
861
- input: contentFactSchema.optional()
892
+ input: contentFactSchema.optional(),
893
+ /** The git worktree this call targeted, resolved by the core (ADR 0008). */
894
+ target: workspaceTargetSchema.optional()
862
895
  });
863
896
  var toolEndEventSchema = event({
864
- type: z8.literal("tool.end"),
897
+ type: z9.literal("tool.end"),
865
898
  toolCallId: nonEmptyStringSchema,
866
899
  toolName: nonEmptyStringSchema,
867
900
  outcome: outcomeSchema,
868
901
  durationMillis: durationMillisSchema.optional(),
869
902
  /** Present when the host asked for or recorded a permission decision. */
870
- permissionDecision: z8.enum(["allowed", "denied", "deferred", "not-required"]).optional(),
871
- output: contentFactSchema.optional()
903
+ permissionDecision: z9.enum(["allowed", "denied", "deferred", "not-required"]).optional(),
904
+ output: contentFactSchema.optional(),
905
+ /** The git worktree this call targeted, resolved by the core (ADR 0008). */
906
+ target: workspaceTargetSchema.optional()
872
907
  });
873
908
  var subagentStartEventSchema = event({
874
- type: z8.literal("subagent.start"),
909
+ type: z9.literal("subagent.start"),
875
910
  subagentInvocationId: invocationIdSchema,
876
911
  subagentType: nonEmptyStringSchema.optional(),
877
912
  /** 0 for the top-level agent; 1 for its direct children. */
878
- delegationDepth: z8.number().int().min(0).max(64),
913
+ delegationDepth: z9.number().int().min(0).max(64),
879
914
  model: modelDescriptorSchema.optional()
880
915
  });
881
916
  var subagentEndEventSchema = event({
882
- type: z8.literal("subagent.end"),
917
+ type: z9.literal("subagent.end"),
883
918
  subagentInvocationId: invocationIdSchema,
884
919
  outcome: outcomeSchema,
885
920
  durationMillis: durationMillisSchema.optional(),
886
921
  usage: canonicalUsageSchema.optional()
887
922
  });
888
923
  var compactionPerformedEventSchema = event({
889
- type: z8.literal("compaction.performed"),
890
- trigger: z8.enum(["automatic", "manual", "unknown"]),
924
+ type: z9.literal("compaction.performed"),
925
+ trigger: z9.enum(["automatic", "manual", "unknown"]),
891
926
  /** Provider-reported context size before and after compaction, if known. */
892
927
  contextTokensBefore: tokenCountSchema.optional(),
893
928
  contextTokensAfter: tokenCountSchema.optional(),
894
- droppedMessageCount: z8.number().int().min(0).optional(),
929
+ droppedMessageCount: z9.number().int().min(0).optional(),
895
930
  usage: canonicalUsageSchema.optional()
896
931
  });
897
932
  var errorRaisedEventSchema = event({
898
- type: z8.literal("error.raised"),
933
+ type: z9.literal("error.raised"),
899
934
  errorCode: otelHookErrorCodeSchema,
900
935
  severity: errorSeveritySchema,
901
936
  phase: errorPhaseSchema,
902
- retryable: z8.boolean(),
937
+ retryable: z9.boolean(),
903
938
  /** Error text is content: it is described, never embedded verbatim by default. */
904
939
  message: contentFactSchema.optional(),
905
940
  /** Non-sensitive, provider-agnostic short label. */
906
941
  detail: nonEmptyStringSchema.optional()
907
942
  });
908
- var canonicalEventSchema = z8.discriminatedUnion("type", [
943
+ var canonicalEventSchema = z9.discriminatedUnion("type", [
909
944
  sessionStartEventSchema,
910
945
  sessionEndEventSchema,
911
946
  promptSubmittedEventSchema,
@@ -945,8 +980,11 @@ export {
945
980
  MAX_ATTRIBUTE_STRING_LENGTH,
946
981
  MAX_EXTENSION_ENTRIES,
947
982
  MAX_IDENTIFIER_LENGTH,
983
+ MAX_TARGET_HINT_PATHS,
984
+ MAX_TARGET_PATH_LENGTH,
948
985
  PROVIDER_ID_PATTERN,
949
986
  RESERVED_EXTENSION_NAMESPACES,
987
+ SUBAGENT_ID_PATTERN,
950
988
  UNKNOWN_PROVIDER_ID,
951
989
  UNKNOWN_WORKSPACE_ID,
952
990
  UsageNormalizationError,
@@ -1008,7 +1046,10 @@ export {
1008
1046
  sourceProvenanceSchema,
1009
1047
  sourceTransportSchema,
1010
1048
  subagentEndEventSchema,
1049
+ subagentIdSchema,
1011
1050
  subagentStartEventSchema,
1051
+ targetHintSchema,
1052
+ targetSourceSchema,
1012
1053
  toReport,
1013
1054
  tokenCountSchema,
1014
1055
  toolEndEventSchema,
@@ -1020,6 +1061,8 @@ export {
1020
1061
  validateCanonicalEvent,
1021
1062
  workspaceIdSchema,
1022
1063
  workspaceIdentitySchema,
1023
- workspaceKeySourceSchema
1064
+ workspaceKeySourceSchema,
1065
+ workspaceTargetSchema,
1066
+ worktreeKindSchema
1024
1067
  };
1025
1068
  //# sourceMappingURL=model.js.map