@semiont/core 0.2.35-build.100 → 0.2.35-build.102

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/README.md CHANGED
@@ -279,7 +279,7 @@ Semiont follows a **spec-first architecture**:
279
279
  - HTTP client & convenience re-exports → `@semiont/api-client`
280
280
  - Backend internal implementation → imports from `@semiont/core`
281
281
 
282
- **Type Generation Flow**: OpenAPI spec → `@semiont/core/src/types.ts` (via `openapi-typescript`) → re-exported by `@semiont/api-client` for convenience. This ensures no circular dependencies and clear build order.
282
+ **Type Yield Flow**: OpenAPI spec → `@semiont/core/src/types.ts` (via `openapi-typescript`) → re-exported by `@semiont/api-client` for convenience. This ensures no circular dependencies and clear build order.
283
283
 
284
284
  ## Development
285
285
 
package/dist/index.d.ts CHANGED
@@ -2002,7 +2002,7 @@ interface paths {
2002
2002
  patch?: never;
2003
2003
  trace?: never;
2004
2004
  };
2005
- "/resources/{resourceId}/annotations/{annotationId}/generate-resource-stream": {
2005
+ "/resources/{resourceId}/annotations/{annotationId}/yield-resource-stream": {
2006
2006
  parameters: {
2007
2007
  query?: never;
2008
2008
  header?: never;
@@ -2029,7 +2029,7 @@ interface paths {
2029
2029
  };
2030
2030
  requestBody?: {
2031
2031
  content: {
2032
- "application/json": components["schemas"]["GenerateResourceStreamRequest"];
2032
+ "application/json": components["schemas"]["YieldResourceStreamRequest"];
2033
2033
  };
2034
2034
  };
2035
2035
  responses: {
@@ -2410,7 +2410,7 @@ interface components {
2410
2410
  sourceResource: components["schemas"]["ResourceDescriptor"];
2411
2411
  targetResource?: components["schemas"]["ResourceDescriptor"] | null;
2412
2412
  /** @description Generation context for this annotation */
2413
- context?: components["schemas"]["GenerationContext"];
2413
+ context?: components["schemas"]["YieldContext"];
2414
2414
  /** @description DEPRECATED: Use 'context' instead. Legacy source context format. */
2415
2415
  sourceContext?: {
2416
2416
  before: string;
@@ -2663,7 +2663,7 @@ interface components {
2663
2663
  data: string;
2664
2664
  id?: string;
2665
2665
  };
2666
- GenerateResourceFromAnnotationRequest: {
2666
+ YieldResourceFromAnnotationRequest: {
2667
2667
  /** @description Optional name for the generated resource */
2668
2668
  name?: string;
2669
2669
  /** @description Entity types for the generated resource */
@@ -2673,12 +2673,12 @@ interface components {
2673
2673
  /** @description Language code (e.g., 'en', 'es') */
2674
2674
  language?: string;
2675
2675
  };
2676
- GenerateResourceFromAnnotationResponse: {
2676
+ YieldResourceFromAnnotationResponse: {
2677
2677
  resource: components["schemas"]["ResourceDescriptor"];
2678
2678
  annotation: components["schemas"]["Annotation"];
2679
2679
  generated: boolean;
2680
2680
  };
2681
- GenerateResourceRequest: {
2681
+ YieldResourceRequest: {
2682
2682
  /** @description Resource ID containing the annotation */
2683
2683
  resourceId: string;
2684
2684
  /** @description Custom title for generated resource */
@@ -2688,7 +2688,7 @@ interface components {
2688
2688
  /** @description Language locale (e.g., "es", "fr", "ja") */
2689
2689
  language?: string;
2690
2690
  };
2691
- GenerateResourceStreamRequest: {
2691
+ YieldResourceStreamRequest: {
2692
2692
  /** @description Custom title for generated resource */
2693
2693
  title?: string;
2694
2694
  /** @description Custom prompt for content generation */
@@ -2696,7 +2696,7 @@ interface components {
2696
2696
  /** @description Language locale for generated content (e.g., "es", "fr", "ja") */
2697
2697
  language?: string;
2698
2698
  /** @description Generation context including source document excerpts and metadata */
2699
- context: components["schemas"]["GenerationContext"];
2699
+ context: components["schemas"]["YieldContext"];
2700
2700
  /** @description Inference temperature (0.0 = focused, 1.0 = creative) */
2701
2701
  temperature?: number;
2702
2702
  /** @description Maximum tokens to generate */
@@ -2926,11 +2926,11 @@ interface components {
2926
2926
  } & {
2927
2927
  [key: string]: unknown;
2928
2928
  };
2929
- ResolveAnnotationRequest: {
2929
+ BindAnnotationRequest: {
2930
2930
  /** @description Target resource ID to resolve reference to */
2931
2931
  resourceId: string;
2932
2932
  };
2933
- ResolveAnnotationResponse: {
2933
+ BindAnnotationResponse: {
2934
2934
  annotation: components["schemas"]["Annotation"];
2935
2935
  targetResource?: components["schemas"]["ResourceDescriptor"] | null;
2936
2936
  };
@@ -3158,7 +3158,7 @@ interface components {
3158
3158
  conformsTo?: string;
3159
3159
  };
3160
3160
  /** @description Context information used for AI generation. Includes source document excerpts and metadata. */
3161
- GenerationContext: {
3161
+ YieldContext: {
3162
3162
  /** @description Text context from the source document */
3163
3163
  sourceContext: {
3164
3164
  /** @description Text appearing before the selected passage */
@@ -3696,13 +3696,13 @@ declare function isResourceEvent(event: any): event is StoredEvent;
3696
3696
  */
3697
3697
 
3698
3698
  type Selector = components['schemas']['TextPositionSelector'] | components['schemas']['TextQuoteSelector'] | components['schemas']['SvgSelector'] | components['schemas']['FragmentSelector'];
3699
- type GenerationContext = components['schemas']['GenerationContext'];
3699
+ type YieldContext = components['schemas']['YieldContext'];
3700
3700
  type Annotation$2 = components['schemas']['Annotation'];
3701
3701
  type Motivation = components['schemas']['Motivation'];
3702
3702
  /**
3703
- * Progress state for resource generation workflow
3703
+ * Progress state for resource yield workflow
3704
3704
  */
3705
- interface GenerationProgress {
3705
+ interface YieldProgress {
3706
3706
  status: 'started' | 'fetching' | 'generating' | 'creating' | 'complete' | 'error';
3707
3707
  referenceId: string;
3708
3708
  resourceName?: string;
@@ -3725,13 +3725,13 @@ interface SelectionData {
3725
3725
  suffix?: string;
3726
3726
  }
3727
3727
  /**
3728
- * Progress state for annotation workflows (manual and assisted)
3728
+ * Progress state for mark workflows (manual and assisted)
3729
3729
  *
3730
3730
  * Unified progress interface supporting different annotation strategies:
3731
3731
  * - Reference annotation: entity-type steps
3732
3732
  * - Other motivations: percentage-based progress
3733
3733
  */
3734
- interface AnnotationProgress {
3734
+ interface MarkProgress {
3735
3735
  status: string;
3736
3736
  message?: string;
3737
3737
  /** Reference annotation: currently scanning entity type */
@@ -3757,68 +3757,76 @@ interface AnnotationProgress {
3757
3757
  * Unified event map for all application events
3758
3758
  *
3759
3759
  * Organized by workflow ("flows"):
3760
- * 1. Attention Flow - Annotation hover/focus/sparkle coordination
3761
- * 2. Annotation Flow - Manual + AI-assisted annotation (all motivations)
3762
- * 3. Context Retrieval Flow - LLM context fetching from annotations
3763
- * 4. Generation Flow - Resource generation from references
3764
- * 5. Resolution Flow - Reference linking/resolution (search modal)
3760
+ * 1. Yield Flow - Resource generation from references
3761
+ * 2. Mark Flow - Manual + AI-assisted annotation (all motivations)
3762
+ * 3. Bind Flow - Reference linking/resolution (search modal)
3763
+ * 4. Gather Flow - LLM context fetching from annotations
3764
+ * 5. Browse Flow - Panel, sidebar, and application routing
3765
+ * 6. Beckon Flow - Annotation hover/focus/sparkle coordination
3765
3766
  *
3766
- * Plus infrastructure events (domain events, SSE, resource operations, navigation, settings)
3767
+ * Plus infrastructure events (domain events, SSE, resource operations, settings)
3767
3768
  */
3768
3769
  type EventMap = {
3769
3770
  'make-meaning:event': ResourceEvent;
3770
- 'attend:hover': {
3771
- annotationId: string | null;
3772
- };
3773
- 'attend:click': {
3774
- annotationId: string;
3775
- motivation: Motivation;
3776
- };
3777
- 'attend:focus': {
3778
- annotationId: string | null;
3779
- };
3780
- 'attend:sparkle': {
3781
- annotationId: string;
3771
+ 'yield:modal-open': {
3772
+ annotationUri: string;
3773
+ resourceUri: string;
3774
+ defaultTitle: string;
3782
3775
  };
3783
- 'attend:panel-toggle': {
3784
- panel: string;
3776
+ 'yield:request': {
3777
+ annotationUri: string;
3778
+ resourceUri: string;
3779
+ options: {
3780
+ title: string;
3781
+ prompt?: string;
3782
+ language?: string;
3783
+ temperature?: number;
3784
+ maxTokens?: number;
3785
+ context: YieldContext;
3786
+ };
3785
3787
  };
3786
- 'attend:panel-open': {
3787
- panel: string;
3788
- scrollToAnnotationId?: string;
3789
- motivation?: string;
3788
+ 'yield:progress': YieldProgress;
3789
+ 'yield:finished': YieldProgress;
3790
+ 'yield:failed': {
3791
+ error: Error;
3790
3792
  };
3791
- 'attend:panel-close': void;
3792
- 'annotate:select-comment': SelectionData;
3793
- 'annotate:select-tag': SelectionData;
3794
- 'annotate:select-assessment': SelectionData;
3795
- 'annotate:select-reference': SelectionData;
3796
- 'annotate:requested': {
3793
+ 'yield:representation-added': Extract<ResourceEvent, {
3794
+ type: 'representation.added';
3795
+ }>;
3796
+ 'yield:representation-removed': Extract<ResourceEvent, {
3797
+ type: 'representation.removed';
3798
+ }>;
3799
+ 'yield:clone': void;
3800
+ 'mark:select-comment': SelectionData;
3801
+ 'mark:select-tag': SelectionData;
3802
+ 'mark:select-assessment': SelectionData;
3803
+ 'mark:select-reference': SelectionData;
3804
+ 'mark:requested': {
3797
3805
  selector: Selector | Selector[];
3798
3806
  motivation: Motivation;
3799
3807
  };
3800
- 'annotate:cancel-pending': void;
3801
- 'annotate:create': {
3808
+ 'mark:cancel-pending': void;
3809
+ 'mark:create': {
3802
3810
  motivation: Motivation;
3803
3811
  selector: Selector | Selector[];
3804
3812
  body: components['schemas']['AnnotationBody'][];
3805
3813
  };
3806
- 'annotate:created': {
3814
+ 'mark:created': {
3807
3815
  annotation: Annotation$2;
3808
3816
  };
3809
- 'annotate:create-failed': {
3817
+ 'mark:create-failed': {
3810
3818
  error: Error;
3811
3819
  };
3812
- 'annotate:delete': {
3820
+ 'mark:delete': {
3813
3821
  annotationId: string;
3814
3822
  };
3815
- 'annotate:deleted': {
3823
+ 'mark:deleted': {
3816
3824
  annotationId: string;
3817
3825
  };
3818
- 'annotate:delete-failed': {
3826
+ 'mark:delete-failed': {
3819
3827
  error: Error;
3820
3828
  };
3821
- 'annotate:assist-request': {
3829
+ 'mark:assist-request': {
3822
3830
  motivation: Motivation;
3823
3831
  options: {
3824
3832
  instructions?: string;
@@ -3830,56 +3838,64 @@ type EventMap = {
3830
3838
  categories?: string[];
3831
3839
  };
3832
3840
  };
3833
- 'annotate:progress': AnnotationProgress;
3834
- 'annotate:assist-finished': {
3841
+ 'mark:progress': MarkProgress;
3842
+ 'mark:assist-finished': {
3835
3843
  motivation?: Motivation;
3836
3844
  resourceUri?: ResourceUri;
3837
- progress?: AnnotationProgress;
3845
+ progress?: MarkProgress;
3838
3846
  };
3839
- 'annotate:assist-failed': Extract<ResourceEvent, {
3847
+ 'mark:assist-failed': Extract<ResourceEvent, {
3840
3848
  type: 'job.failed';
3841
3849
  }>;
3842
- 'annotate:assist-cancelled': void;
3843
- 'annotate:progress-dismiss': void;
3844
- 'annotate:mode-toggled': void;
3845
- 'annotate:selection-changed': {
3850
+ 'mark:assist-cancelled': void;
3851
+ 'mark:progress-dismiss': void;
3852
+ 'mark:mode-toggled': void;
3853
+ 'mark:selection-changed': {
3846
3854
  motivation: string | null;
3847
3855
  };
3848
- 'annotate:click-changed': {
3856
+ 'mark:click-changed': {
3849
3857
  action: string;
3850
3858
  };
3851
- 'annotate:shape-changed': {
3859
+ 'mark:shape-changed': {
3852
3860
  shape: string;
3853
3861
  };
3854
- 'annotate:added': Extract<ResourceEvent, {
3862
+ 'mark:added': Extract<ResourceEvent, {
3855
3863
  type: 'annotation.added';
3856
3864
  }>;
3857
- 'annotate:removed': Extract<ResourceEvent, {
3865
+ 'mark:removed': Extract<ResourceEvent, {
3858
3866
  type: 'annotation.removed';
3859
3867
  }>;
3860
- 'annotate:body-updated': Extract<ResourceEvent, {
3868
+ 'mark:body-updated': Extract<ResourceEvent, {
3861
3869
  type: 'annotation.body.updated';
3862
3870
  }>;
3863
- 'annotate:entity-tag-added': Extract<ResourceEvent, {
3871
+ 'mark:entity-tag-added': Extract<ResourceEvent, {
3864
3872
  type: 'entitytag.added';
3865
3873
  }>;
3866
- 'annotate:entity-tag-removed': Extract<ResourceEvent, {
3874
+ 'mark:entity-tag-removed': Extract<ResourceEvent, {
3867
3875
  type: 'entitytag.removed';
3868
3876
  }>;
3869
- 'resolve:create-manual': {
3877
+ 'mark:archive': void;
3878
+ 'mark:archived': Extract<ResourceEvent, {
3879
+ type: 'resource.archived';
3880
+ }>;
3881
+ 'mark:unarchive': void;
3882
+ 'mark:unarchived': Extract<ResourceEvent, {
3883
+ type: 'resource.unarchived';
3884
+ }>;
3885
+ 'bind:create-manual': {
3870
3886
  annotationUri: string;
3871
3887
  title: string;
3872
3888
  entityTypes: string[];
3873
3889
  };
3874
- 'resolve:link': {
3890
+ 'bind:link': {
3875
3891
  annotationUri: string;
3876
3892
  searchTerm: string;
3877
3893
  };
3878
- 'resolve:search-requested': {
3894
+ 'bind:search-requested': {
3879
3895
  referenceId: string;
3880
3896
  searchTerm: string;
3881
3897
  };
3882
- 'resolve:update-body': {
3898
+ 'bind:update-body': {
3883
3899
  annotationUri: string;
3884
3900
  resourceId: string;
3885
3901
  operations: Array<{
@@ -3889,61 +3905,73 @@ type EventMap = {
3889
3905
  newItem?: components['schemas']['AnnotationBody'];
3890
3906
  }>;
3891
3907
  };
3892
- 'resolve:body-updated': {
3908
+ 'bind:body-updated': {
3893
3909
  annotationUri: string;
3894
3910
  };
3895
- 'resolve:body-update-failed': {
3911
+ 'bind:body-update-failed': {
3896
3912
  error: Error;
3897
3913
  };
3898
- 'correlate:requested': {
3914
+ 'gather:requested': {
3899
3915
  annotationUri: string;
3900
3916
  resourceUri: string;
3901
3917
  };
3902
- 'correlate:complete': {
3918
+ 'gather:complete': {
3903
3919
  annotationUri: string;
3904
- context: GenerationContext;
3920
+ context: YieldContext;
3905
3921
  };
3906
- 'correlate:failed': {
3922
+ 'gather:failed': {
3907
3923
  annotationUri: string;
3908
3924
  error: Error;
3909
3925
  };
3910
- 'generate:modal-open': {
3911
- annotationUri: string;
3912
- resourceUri: string;
3913
- defaultTitle: string;
3926
+ 'browse:click': {
3927
+ annotationId: string;
3928
+ motivation: Motivation;
3914
3929
  };
3915
- 'generate:request': {
3916
- annotationUri: string;
3917
- resourceUri: string;
3918
- options: {
3919
- title: string;
3920
- prompt?: string;
3921
- language?: string;
3922
- temperature?: number;
3923
- maxTokens?: number;
3924
- context: GenerationContext;
3925
- };
3930
+ 'browse:panel-toggle': {
3931
+ panel: string;
3926
3932
  };
3927
- 'generate:progress': GenerationProgress;
3928
- 'generate:finished': GenerationProgress;
3929
- 'generate:failed': {
3930
- error: Error;
3933
+ 'browse:panel-open': {
3934
+ panel: string;
3935
+ scrollToAnnotationId?: string;
3936
+ motivation?: string;
3937
+ };
3938
+ 'browse:panel-close': void;
3939
+ 'browse:sidebar-toggle': void;
3940
+ 'browse:resource-close': {
3941
+ resourceId: string;
3942
+ };
3943
+ 'browse:resource-reorder': {
3944
+ oldIndex: number;
3945
+ newIndex: number;
3946
+ };
3947
+ 'browse:link-clicked': {
3948
+ href: string;
3949
+ label?: string;
3950
+ };
3951
+ 'browse:router-push': {
3952
+ path: string;
3953
+ reason?: string;
3954
+ };
3955
+ 'browse:external-navigate': {
3956
+ url: string;
3957
+ resourceId?: string;
3958
+ cancelFallback: () => void;
3959
+ };
3960
+ 'browse:reference-navigate': {
3961
+ documentId: string;
3962
+ };
3963
+ 'browse:entity-type-clicked': {
3964
+ entityType: string;
3965
+ };
3966
+ 'beckon:hover': {
3967
+ annotationId: string | null;
3968
+ };
3969
+ 'beckon:focus': {
3970
+ annotationId: string | null;
3971
+ };
3972
+ 'beckon:sparkle': {
3973
+ annotationId: string;
3931
3974
  };
3932
- 'generate:representation-added': Extract<ResourceEvent, {
3933
- type: 'representation.added';
3934
- }>;
3935
- 'generate:representation-removed': Extract<ResourceEvent, {
3936
- type: 'representation.removed';
3937
- }>;
3938
- 'generate:clone': void;
3939
- 'resource:archive': void;
3940
- 'resource:archived': Extract<ResourceEvent, {
3941
- type: 'resource.archived';
3942
- }>;
3943
- 'resource:unarchive': void;
3944
- 'resource:unarchived': Extract<ResourceEvent, {
3945
- type: 'resource.unarchived';
3946
- }>;
3947
3975
  'job:started': Extract<ResourceEvent, {
3948
3976
  type: 'job.started';
3949
3977
  }>;
@@ -3964,33 +3992,6 @@ type EventMap = {
3964
3992
  'job:cancel-requested': {
3965
3993
  jobType: 'annotation' | 'generation';
3966
3994
  };
3967
- 'navigation:sidebar-toggle': void;
3968
- 'navigation:resource-close': {
3969
- resourceId: string;
3970
- };
3971
- 'navigation:resource-reorder': {
3972
- oldIndex: number;
3973
- newIndex: number;
3974
- };
3975
- 'navigation:link-clicked': {
3976
- href: string;
3977
- label?: string;
3978
- };
3979
- 'navigation:router-push': {
3980
- path: string;
3981
- reason?: string;
3982
- };
3983
- 'navigation:external-navigate': {
3984
- url: string;
3985
- resourceId?: string;
3986
- cancelFallback: () => void;
3987
- };
3988
- 'navigation:reference-navigate': {
3989
- documentId: string;
3990
- };
3991
- 'navigation:entity-type-clicked': {
3992
- entityType: string;
3993
- };
3994
3995
  'settings:theme-changed': {
3995
3996
  theme: 'light' | 'dark' | 'system';
3996
3997
  };
@@ -4027,16 +4028,16 @@ type EventName = keyof EventMap;
4027
4028
  * const eventBus = new EventBus();
4028
4029
  *
4029
4030
  * // Emit events
4030
- * eventBus.get('attend:hover').next({ annotationId: 'ann-1' });
4031
+ * eventBus.get('beckon:hover').next({ annotationId: 'ann-1' });
4031
4032
  *
4032
4033
  * // Subscribe to events
4033
- * const subscription = eventBus.get('attend:hover').subscribe(({ annotationId }) => {
4034
+ * const subscription = eventBus.get('beckon:hover').subscribe(({ annotationId }) => {
4034
4035
  * console.log('Hover:', annotationId);
4035
4036
  * });
4036
4037
  *
4037
4038
  * // Use RxJS operators
4038
4039
  * import { debounceTime } from 'rxjs/operators';
4039
- * eventBus.get('attend:hover')
4040
+ * eventBus.get('beckon:hover')
4040
4041
  * .pipe(debounceTime(100))
4041
4042
  * .subscribe(handleHover);
4042
4043
  *
@@ -4061,13 +4062,13 @@ declare class EventBus {
4061
4062
  * @example
4062
4063
  * ```typescript
4063
4064
  * // Emit
4064
- * eventBus.get('attend:hover').next({ annotationId: 'ann-1' });
4065
+ * eventBus.get('beckon:hover').next({ annotationId: 'ann-1' });
4065
4066
  *
4066
4067
  * // Subscribe
4067
- * const sub = eventBus.get('attend:hover').subscribe(handleHover);
4068
+ * const sub = eventBus.get('beckon:hover').subscribe(handleHover);
4068
4069
  *
4069
4070
  * // With operators
4070
- * eventBus.get('attend:hover')
4071
+ * eventBus.get('beckon:hover')
4071
4072
  * .pipe(debounceTime(100), distinctUntilChanged())
4072
4073
  * .subscribe(handleHover);
4073
4074
  * ```
@@ -5265,4 +5266,4 @@ declare class ConfigurationError extends Error {
5265
5266
  declare const CORE_TYPES_VERSION = "0.1.0";
5266
5267
  declare const SDK_VERSION = "0.1.0";
5267
5268
 
5268
- export { APIError, type AWSConfig, type AccessToken, type AnnotationAddedEvent, type AnnotationBodyUpdatedEvent, type AnnotationCategory, type AnnotationId, type AnnotationProgress, type AnnotationRemovedEvent, type AnnotationUri, type AppConfig, type AuthCode, type BackendServiceConfig, type BaseEvent, type BaseUrl, type BodyItem, type BodyOperation, type BurstBufferOptions, CORE_TYPES_VERSION, CREATION_METHODS, type CloneToken, type ConfigFileReader, ConfigurationError, ConflictError, type ContentFormat$1 as ContentFormat, type CreateAnnotationInternal, type CreationMethod, type DatabaseServiceConfig, type Email, type EntityTagAddedEvent, type EntityTagRemovedEvent, type EntityType, type EntityTypeStats, type Environment, type EnvironmentConfig, EventBus, type EventMap, type EventMetadata, type EventName, type EventQuery, type EventSignature, type FilesystemServiceConfig, type FrontendServiceConfig, type GenerationContext, type GenerationProgress, type GoogleAuthRequest, type GoogleCredential, type GraphConnection, type GraphDatabaseType, type GraphPath, type GraphServiceConfig, type InferenceServiceConfig, type JobCompletedEvent, type JobFailedEvent, type JobId, type JobProgressEvent, type JobStartedEvent, type Logger, type MCPToken, type McpServiceConfig, type Motivation$2 as Motivation, NotFoundError, type PlatformType, type ProxyServiceConfig, type RefreshToken, type RepresentationAddedEvent, type RepresentationRemovedEvent, type ResourceAnnotationUri, type ResourceAnnotations, type ResourceArchivedEvent, type ResourceClonedEvent, type ResourceCreatedEvent, type ResourceEvent, type ResourceEventType, type ResourceFilter, type ResourceId, type ResourceScopedEvent, type ResourceUnarchivedEvent, type ResourceUri, SDK_VERSION, ScopedEventBus, ScriptError, type SearchQuery, type SelectionData, type Selector, type SemiontConfig, SemiontError, type ServiceConfig, type ServicePlatformConfig, type ServicesConfig, type SiteConfig, type StoredEvent, type SystemEvent, UnauthorizedError, type UpdateResourceInput, type UserDID, type UserId, ValidationError, type ValidationResult, accessToken, annotationId, annotationIdToURI, annotationUri, authCode, baseUrl, burstBuffer, cloneToken, type components, createConfigLoader, deepMerge, didToAgent, displayConfiguration, email, entityType, extractResourceUriFromAnnotationUri, findBodyItem, formatErrors, getAllPlatformTypes, getAnnotationUriFromEvent, getEventType, getNodeEnvForEnvironment, googleCredential, hasAWSConfig, isAnnotationId, isArray, isBoolean, isDefined, isEventRelatedToAnnotation, isFunction, isNull, isNullish, isNumber, isObject, isResourceEvent$1 as isResourceEvent, isResourceId, isResourceScopedEvent, isResourceEvent as isStoredEvent, isString, isSystemEvent, isUndefined, isValidPlatformType, jobId, listEnvironmentNames, mcpToken, type operations, parseAndMergeConfigs, parseEnvironment, type paths, refreshToken, resolveEnvVars, resourceAnnotationUri, resourceId, resourceIdToURI, resourceUri, searchQuery, uriToAnnotationId, uriToAnnotationIdOrPassthrough, uriToResourceId, userDID, userId, userToAgent, userToDid, validateEnvironment, validateEnvironmentConfig, validateSemiontConfig, validateSiteConfig };
5269
+ export { APIError, type AWSConfig, type AccessToken, type AnnotationAddedEvent, type AnnotationBodyUpdatedEvent, type AnnotationCategory, type AnnotationId, type AnnotationRemovedEvent, type AnnotationUri, type AppConfig, type AuthCode, type BackendServiceConfig, type BaseEvent, type BaseUrl, type BodyItem, type BodyOperation, type BurstBufferOptions, CORE_TYPES_VERSION, CREATION_METHODS, type CloneToken, type ConfigFileReader, ConfigurationError, ConflictError, type ContentFormat$1 as ContentFormat, type CreateAnnotationInternal, type CreationMethod, type DatabaseServiceConfig, type Email, type EntityTagAddedEvent, type EntityTagRemovedEvent, type EntityType, type EntityTypeStats, type Environment, type EnvironmentConfig, EventBus, type EventMap, type EventMetadata, type EventName, type EventQuery, type EventSignature, type FilesystemServiceConfig, type FrontendServiceConfig, type GoogleAuthRequest, type GoogleCredential, type GraphConnection, type GraphDatabaseType, type GraphPath, type GraphServiceConfig, type InferenceServiceConfig, type JobCompletedEvent, type JobFailedEvent, type JobId, type JobProgressEvent, type JobStartedEvent, type Logger, type MCPToken, type MarkProgress, type McpServiceConfig, type Motivation$2 as Motivation, NotFoundError, type PlatformType, type ProxyServiceConfig, type RefreshToken, type RepresentationAddedEvent, type RepresentationRemovedEvent, type ResourceAnnotationUri, type ResourceAnnotations, type ResourceArchivedEvent, type ResourceClonedEvent, type ResourceCreatedEvent, type ResourceEvent, type ResourceEventType, type ResourceFilter, type ResourceId, type ResourceScopedEvent, type ResourceUnarchivedEvent, type ResourceUri, SDK_VERSION, ScopedEventBus, ScriptError, type SearchQuery, type SelectionData, type Selector, type SemiontConfig, SemiontError, type ServiceConfig, type ServicePlatformConfig, type ServicesConfig, type SiteConfig, type StoredEvent, type SystemEvent, UnauthorizedError, type UpdateResourceInput, type UserDID, type UserId, ValidationError, type ValidationResult, type YieldContext, type YieldProgress, accessToken, annotationId, annotationIdToURI, annotationUri, authCode, baseUrl, burstBuffer, cloneToken, type components, createConfigLoader, deepMerge, didToAgent, displayConfiguration, email, entityType, extractResourceUriFromAnnotationUri, findBodyItem, formatErrors, getAllPlatformTypes, getAnnotationUriFromEvent, getEventType, getNodeEnvForEnvironment, googleCredential, hasAWSConfig, isAnnotationId, isArray, isBoolean, isDefined, isEventRelatedToAnnotation, isFunction, isNull, isNullish, isNumber, isObject, isResourceEvent$1 as isResourceEvent, isResourceId, isResourceScopedEvent, isResourceEvent as isStoredEvent, isString, isSystemEvent, isUndefined, isValidPlatformType, jobId, listEnvironmentNames, mcpToken, type operations, parseAndMergeConfigs, parseEnvironment, type paths, refreshToken, resolveEnvVars, resourceAnnotationUri, resourceId, resourceIdToURI, resourceUri, searchQuery, uriToAnnotationId, uriToAnnotationIdOrPassthrough, uriToResourceId, userDID, userId, userToAgent, userToDid, validateEnvironment, validateEnvironmentConfig, validateSemiontConfig, validateSiteConfig };
package/dist/index.js CHANGED
@@ -194,13 +194,13 @@ var EventBus = class {
194
194
  * @example
195
195
  * ```typescript
196
196
  * // Emit
197
- * eventBus.get('attend:hover').next({ annotationId: 'ann-1' });
197
+ * eventBus.get('beckon:hover').next({ annotationId: 'ann-1' });
198
198
  *
199
199
  * // Subscribe
200
- * const sub = eventBus.get('attend:hover').subscribe(handleHover);
200
+ * const sub = eventBus.get('beckon:hover').subscribe(handleHover);
201
201
  *
202
202
  * // With operators
203
- * eventBus.get('attend:hover')
203
+ * eventBus.get('beckon:hover')
204
204
  * .pipe(debounceTime(100), distinctUntilChanged())
205
205
  * .subscribe(handleHover);
206
206
  * ```