@eyepop.ai/eyepop 3.8.1 → 3.9.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.
@@ -678,7 +678,9 @@ interface Asset {
678
678
  annotations: Annotation[];
679
679
  }
680
680
  declare enum ModelType {
681
- epdet_b1 = "epdet_b1"
681
+ epdet_b1 = "epdet_b1",
682
+ imported = "imported",
683
+ vlm_ability = "vlm_ability"
682
684
  }
683
685
  declare enum ModelTask {
684
686
  object_detection = "object_detection",
@@ -889,9 +891,15 @@ interface InferRequest {
889
891
  refresh?: boolean;
890
892
  transform_into?: TransformInto;
891
893
  }
894
+ interface EvaluateFilter {
895
+ partitions?: string[];
896
+ ground_truth_classes?: string[];
897
+ }
892
898
  interface EvaluateRequest {
893
- infer: InferRequest;
899
+ ability_uuid?: string;
900
+ infer?: InferRequest;
894
901
  dataset_uuid: string;
902
+ filter?: EvaluateFilter;
895
903
  video_chunk_length_ns?: number;
896
904
  video_chunk_overlap?: number;
897
905
  }
@@ -914,6 +922,7 @@ interface EvaluateResponse {
914
922
  dataset_version: number;
915
923
  status: EvaluationStatus;
916
924
  status_message?: string;
925
+ source: string;
917
926
  metrics?: Map<string, any>;
918
927
  run_info: EvaluateRunInfo;
919
928
  }
@@ -926,6 +935,70 @@ interface InferRunInfo {
926
935
  output_tokens?: number;
927
936
  aspect_ratio?: number;
928
937
  }
938
+ declare enum VlmAbilityStatus {
939
+ draft = "draft",
940
+ published = "published"
941
+ }
942
+ interface AbilityAliasEntry {
943
+ alias: string;
944
+ tag: string;
945
+ }
946
+ interface VlmAbilityCreate {
947
+ name: string;
948
+ description: string;
949
+ worker_release: string;
950
+ text_prompt: string;
951
+ transform_into: TransformInto;
952
+ config: InferRuntimeConfig;
953
+ is_public: boolean;
954
+ }
955
+ interface VlmAbilityUpdate {
956
+ name?: string;
957
+ description?: string;
958
+ worker_release?: string;
959
+ text_prompt?: string;
960
+ transform_into?: TransformInto;
961
+ config?: InferRuntimeConfig;
962
+ is_public?: boolean;
963
+ }
964
+ interface VlmAbility {
965
+ uuid: string;
966
+ created_at?: Date;
967
+ updated_at?: Date;
968
+ account_uuid: string;
969
+ status: VlmAbilityStatus;
970
+ is_public: boolean;
971
+ name: string;
972
+ description: string;
973
+ vlm_ability_group_uuid?: string;
974
+ worker_release: string;
975
+ text_prompt: string;
976
+ transform_into: TransformInto;
977
+ config: InferRuntimeConfig;
978
+ alias_entries?: AbilityAliasEntry[];
979
+ }
980
+ interface VlmAbilityGroupCreate {
981
+ name: string;
982
+ description: string;
983
+ default_alias_name?: string;
984
+ default_dataset_uuid?: string;
985
+ }
986
+ interface VlmAbilityGroupUpdate {
987
+ name: string;
988
+ description: string;
989
+ default_alias_name?: string;
990
+ default_dataset_uuid?: string;
991
+ }
992
+ interface VlmAbilityGroup {
993
+ uuid: string;
994
+ created_at?: Date;
995
+ updated_at?: Date;
996
+ account_uuid: string;
997
+ name: string;
998
+ description: string;
999
+ default_alias_name?: string;
1000
+ default_dataset_uuid?: string;
1001
+ }
929
1002
 
930
1003
  type VlmFetch = (path: string, options: RequestInit) => Promise<any>;
931
1004
  declare class InferAssetJob implements ResultStream {
@@ -1019,6 +1092,19 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
1019
1092
  evaluateDataset(evaluate_request: EvaluateRequest, worker_release?: string): Promise<EvaluateDatasetJob>;
1020
1093
  private jobDone;
1021
1094
  private dispatchChangeEvent;
1095
+ listVlmAbilityGroups(): Promise<VlmAbilityGroup[]>;
1096
+ createVlmAbilityGroup(create: VlmAbilityGroupCreate): Promise<VlmAbilityGroup>;
1097
+ getVlmAbilityGroup(vlm_ability_group_uuid: string): Promise<VlmAbilityGroup>;
1098
+ deleteVlmAbilityGroup(vlm_ability_group_uuid: string): Promise<void>;
1099
+ updateVlmAbilityGroup(vlm_ability_group_uuid: string, update: VlmAbilityGroupUpdate): Promise<VlmAbilityGroup>;
1100
+ listVlmAbilities(): Promise<VlmAbility[]>;
1101
+ createVlmAbility(create: VlmAbilityCreate, vlm_ability_group_uuid?: string): Promise<VlmAbility>;
1102
+ getVlmAbility(vlm_ability_uuid: string): Promise<VlmAbility>;
1103
+ deleteVlmAbility(vlm_ability_uuid: string): Promise<void>;
1104
+ updateVlmAbility(vlm_ability_uuid: string, update: VlmAbilityUpdate): Promise<VlmAbility>;
1105
+ publishVlmAbility(vlm_ability_uuid: string, alias_name?: string, tag_name?: string): Promise<VlmAbility>;
1106
+ addVlmAbilityAlias(vlm_ability_uuid: string, alias_name: string, tag_name?: string): Promise<VlmAbility>;
1107
+ removeVlmAbilityAlias(vlm_ability_uuid: string, alias_name: string, tag_name: string): Promise<VlmAbility>;
1022
1108
  }
1023
1109
 
1024
1110
  type Bytes = string | ArrayBuffer | Uint8Array | Buffer | null | undefined;
@@ -1174,4 +1260,4 @@ declare namespace EyePop {
1174
1260
  function dataEndpoint(opts?: DataOptions): DataEndpoint;
1175
1261
  }
1176
1262
 
1177
- export { AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };
1263
+ export { type AbilityAliasEntry, AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };
@@ -678,7 +678,9 @@ interface Asset {
678
678
  annotations: Annotation[];
679
679
  }
680
680
  declare enum ModelType {
681
- epdet_b1 = "epdet_b1"
681
+ epdet_b1 = "epdet_b1",
682
+ imported = "imported",
683
+ vlm_ability = "vlm_ability"
682
684
  }
683
685
  declare enum ModelTask {
684
686
  object_detection = "object_detection",
@@ -889,9 +891,15 @@ interface InferRequest {
889
891
  refresh?: boolean;
890
892
  transform_into?: TransformInto;
891
893
  }
894
+ interface EvaluateFilter {
895
+ partitions?: string[];
896
+ ground_truth_classes?: string[];
897
+ }
892
898
  interface EvaluateRequest {
893
- infer: InferRequest;
899
+ ability_uuid?: string;
900
+ infer?: InferRequest;
894
901
  dataset_uuid: string;
902
+ filter?: EvaluateFilter;
895
903
  video_chunk_length_ns?: number;
896
904
  video_chunk_overlap?: number;
897
905
  }
@@ -914,6 +922,7 @@ interface EvaluateResponse {
914
922
  dataset_version: number;
915
923
  status: EvaluationStatus;
916
924
  status_message?: string;
925
+ source: string;
917
926
  metrics?: Map<string, any>;
918
927
  run_info: EvaluateRunInfo;
919
928
  }
@@ -926,6 +935,70 @@ interface InferRunInfo {
926
935
  output_tokens?: number;
927
936
  aspect_ratio?: number;
928
937
  }
938
+ declare enum VlmAbilityStatus {
939
+ draft = "draft",
940
+ published = "published"
941
+ }
942
+ interface AbilityAliasEntry {
943
+ alias: string;
944
+ tag: string;
945
+ }
946
+ interface VlmAbilityCreate {
947
+ name: string;
948
+ description: string;
949
+ worker_release: string;
950
+ text_prompt: string;
951
+ transform_into: TransformInto;
952
+ config: InferRuntimeConfig;
953
+ is_public: boolean;
954
+ }
955
+ interface VlmAbilityUpdate {
956
+ name?: string;
957
+ description?: string;
958
+ worker_release?: string;
959
+ text_prompt?: string;
960
+ transform_into?: TransformInto;
961
+ config?: InferRuntimeConfig;
962
+ is_public?: boolean;
963
+ }
964
+ interface VlmAbility {
965
+ uuid: string;
966
+ created_at?: Date;
967
+ updated_at?: Date;
968
+ account_uuid: string;
969
+ status: VlmAbilityStatus;
970
+ is_public: boolean;
971
+ name: string;
972
+ description: string;
973
+ vlm_ability_group_uuid?: string;
974
+ worker_release: string;
975
+ text_prompt: string;
976
+ transform_into: TransformInto;
977
+ config: InferRuntimeConfig;
978
+ alias_entries?: AbilityAliasEntry[];
979
+ }
980
+ interface VlmAbilityGroupCreate {
981
+ name: string;
982
+ description: string;
983
+ default_alias_name?: string;
984
+ default_dataset_uuid?: string;
985
+ }
986
+ interface VlmAbilityGroupUpdate {
987
+ name: string;
988
+ description: string;
989
+ default_alias_name?: string;
990
+ default_dataset_uuid?: string;
991
+ }
992
+ interface VlmAbilityGroup {
993
+ uuid: string;
994
+ created_at?: Date;
995
+ updated_at?: Date;
996
+ account_uuid: string;
997
+ name: string;
998
+ description: string;
999
+ default_alias_name?: string;
1000
+ default_dataset_uuid?: string;
1001
+ }
929
1002
 
930
1003
  type VlmFetch = (path: string, options: RequestInit) => Promise<any>;
931
1004
  declare class InferAssetJob implements ResultStream {
@@ -1019,6 +1092,19 @@ declare class DataEndpoint extends Endpoint<DataEndpoint> {
1019
1092
  evaluateDataset(evaluate_request: EvaluateRequest, worker_release?: string): Promise<EvaluateDatasetJob>;
1020
1093
  private jobDone;
1021
1094
  private dispatchChangeEvent;
1095
+ listVlmAbilityGroups(): Promise<VlmAbilityGroup[]>;
1096
+ createVlmAbilityGroup(create: VlmAbilityGroupCreate): Promise<VlmAbilityGroup>;
1097
+ getVlmAbilityGroup(vlm_ability_group_uuid: string): Promise<VlmAbilityGroup>;
1098
+ deleteVlmAbilityGroup(vlm_ability_group_uuid: string): Promise<void>;
1099
+ updateVlmAbilityGroup(vlm_ability_group_uuid: string, update: VlmAbilityGroupUpdate): Promise<VlmAbilityGroup>;
1100
+ listVlmAbilities(): Promise<VlmAbility[]>;
1101
+ createVlmAbility(create: VlmAbilityCreate, vlm_ability_group_uuid?: string): Promise<VlmAbility>;
1102
+ getVlmAbility(vlm_ability_uuid: string): Promise<VlmAbility>;
1103
+ deleteVlmAbility(vlm_ability_uuid: string): Promise<void>;
1104
+ updateVlmAbility(vlm_ability_uuid: string, update: VlmAbilityUpdate): Promise<VlmAbility>;
1105
+ publishVlmAbility(vlm_ability_uuid: string, alias_name?: string, tag_name?: string): Promise<VlmAbility>;
1106
+ addVlmAbilityAlias(vlm_ability_uuid: string, alias_name: string, tag_name?: string): Promise<VlmAbility>;
1107
+ removeVlmAbilityAlias(vlm_ability_uuid: string, alias_name: string, tag_name: string): Promise<VlmAbility>;
1022
1108
  }
1023
1109
 
1024
1110
  type Bytes = string | ArrayBuffer | Uint8Array | Buffer | null | undefined;
@@ -1174,4 +1260,4 @@ declare namespace EyePop {
1174
1260
  function dataEndpoint(opts?: DataOptions): DataEndpoint;
1175
1261
  }
1176
1262
 
1177
- export { AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };
1263
+ export { type AbilityAliasEntry, AbstractJob, type Annotation, AnnotationType, ArtifactType, type Asset, type AssetImport, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type BaseComponent, type Box, type ChangeEvent, ChangeType, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type DownloadResponse, Endpoint, EndpointState, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromJob, LoadLiveIngressJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, MotionModel, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type QcAiHubExportParams, type ResultStream, type SecretKeyAuth, Semaphore, type Session, type SessionAuth, type Source, Stream, type StreamEvent, type StreamSource, type StreamTime, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadJob, type UrlSource, UserReview, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, EyePop as default, getBaseUrl, readableStreamFromString };
@@ -8697,6 +8697,7 @@ __export(index_exports, {
8697
8697
  UploadJob: () => UploadJob,
8698
8698
  UserReview: () => UserReview,
8699
8699
  VideoMode: () => VideoMode,
8700
+ VlmAbilityStatus: () => VlmAbilityStatus,
8700
8701
  WebrtcBase: () => WebrtcBase,
8701
8702
  WebrtcWhep: () => WebrtcWhep,
8702
8703
  WebrtcWhip: () => WebrtcWhip,
@@ -10774,6 +10775,8 @@ var TranscodeMode = /* @__PURE__ */ ((TranscodeMode2) => {
10774
10775
  })(TranscodeMode || {});
10775
10776
  var ModelType = /* @__PURE__ */ ((ModelType2) => {
10776
10777
  ModelType2["epdet_b1"] = "epdet_b1";
10778
+ ModelType2["imported"] = "imported";
10779
+ ModelType2["vlm_ability"] = "vlm_ability";
10777
10780
  return ModelType2;
10778
10781
  })(ModelType || {});
10779
10782
  var ModelTask = /* @__PURE__ */ ((ModelTask2) => {
@@ -10877,6 +10880,11 @@ var EvaluationStatus = /* @__PURE__ */ ((EvaluationStatus2) => {
10877
10880
  EvaluationStatus2["failed"] = "failed";
10878
10881
  return EvaluationStatus2;
10879
10882
  })(EvaluationStatus || {});
10883
+ var VlmAbilityStatus = /* @__PURE__ */ ((VlmAbilityStatus2) => {
10884
+ VlmAbilityStatus2["draft"] = "draft";
10885
+ VlmAbilityStatus2["published"] = "published";
10886
+ return VlmAbilityStatus2;
10887
+ })(VlmAbilityStatus || {});
10880
10888
 
10881
10889
  // data/jobs.ts
10882
10890
  var InferAssetJob = class {
@@ -11072,7 +11080,6 @@ var DataEndpoint = class extends Endpoint {
11072
11080
  if (!this._client) {
11073
11081
  return Promise.reject("endpoint not initialized");
11074
11082
  }
11075
- this._logger.warn("AAA", this.vlmApiUrl);
11076
11083
  const accountUuidQuery = this._accountId ? `?account_uuid=${this._accountId}` : "";
11077
11084
  const config_url = `${this.eyepopUrl()}/configs${accountUuidQuery}`;
11078
11085
  let headers = {
@@ -11692,6 +11699,83 @@ var DataEndpoint = class extends Endpoint {
11692
11699
  break;
11693
11700
  }
11694
11701
  }
11702
+ // Vlm Ability Management
11703
+ async listVlmAbilityGroups() {
11704
+ return this.request(`/vlm_ability_groups?account_uuid=${this._accountId}`, {
11705
+ method: "GET"
11706
+ });
11707
+ }
11708
+ async createVlmAbilityGroup(create) {
11709
+ return this.request(`/vlm_ability_groups?account_uuid=${this._accountId}`, {
11710
+ method: "POST",
11711
+ body: JSON.stringify(create),
11712
+ headers: { "Content-Type": "application/json" }
11713
+ });
11714
+ }
11715
+ async getVlmAbilityGroup(vlm_ability_group_uuid) {
11716
+ return this.request(`/vlm_ability_groups/${vlm_ability_group_uuid}`, {
11717
+ method: "GET"
11718
+ });
11719
+ }
11720
+ async deleteVlmAbilityGroup(vlm_ability_group_uuid) {
11721
+ return this.request(`/vlm_ability_groups/${vlm_ability_group_uuid}`, {
11722
+ method: "DELETE"
11723
+ });
11724
+ }
11725
+ async updateVlmAbilityGroup(vlm_ability_group_uuid, update) {
11726
+ return this.request(`/vlm_ability_groups/${vlm_ability_group_uuid}`, {
11727
+ method: "PATCH",
11728
+ body: JSON.stringify(update),
11729
+ headers: { "Content-Type": "application/json" }
11730
+ });
11731
+ }
11732
+ async listVlmAbilities() {
11733
+ return this.request(`/vlm_abilities?account_uuid=${this._accountId}`, {
11734
+ method: "GET"
11735
+ });
11736
+ }
11737
+ async createVlmAbility(create, vlm_ability_group_uuid) {
11738
+ const groupQuery = vlm_ability_group_uuid ? `&vlm_ability_group_uuid=${vlm_ability_group_uuid}` : "";
11739
+ return this.request(`/vlm_abilities?account_uuid=${this._accountId}${groupQuery}`, {
11740
+ method: "POST",
11741
+ body: JSON.stringify(create),
11742
+ headers: { "Content-Type": "application/json" }
11743
+ });
11744
+ }
11745
+ async getVlmAbility(vlm_ability_uuid) {
11746
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}`, {
11747
+ method: "GET"
11748
+ });
11749
+ }
11750
+ async deleteVlmAbility(vlm_ability_uuid) {
11751
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}`, {
11752
+ method: "DELETE"
11753
+ });
11754
+ }
11755
+ async updateVlmAbility(vlm_ability_uuid, update) {
11756
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}`, {
11757
+ method: "PATCH",
11758
+ body: JSON.stringify(update),
11759
+ headers: { "Content-Type": "application/json" }
11760
+ });
11761
+ }
11762
+ async publishVlmAbility(vlm_ability_uuid, alias_name, tag_name) {
11763
+ const alias_name_query = alias_name ? `alias_name=${encodeURIComponent(alias_name)}&` : "";
11764
+ const tag_name_query = tag_name ? `tag_name=${encodeURIComponent(tag_name)}&` : "";
11765
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}/publish?${alias_name_query}${tag_name_query}`, {
11766
+ method: "POST"
11767
+ });
11768
+ }
11769
+ async addVlmAbilityAlias(vlm_ability_uuid, alias_name, tag_name) {
11770
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}/alias/${encodeURIComponent(alias_name)}/tag/${tag_name ? encodeURIComponent(tag_name) : ""}`, {
11771
+ method: "POST"
11772
+ });
11773
+ }
11774
+ async removeVlmAbilityAlias(vlm_ability_uuid, alias_name, tag_name) {
11775
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}/alias/${encodeURIComponent(alias_name)}/tag/${encodeURIComponent(tag_name)}`, {
11776
+ method: "DELETE"
11777
+ });
11778
+ }
11695
11779
  };
11696
11780
 
11697
11781
  // worker/webrtc_whep.ts
@@ -11934,6 +12018,7 @@ var index_default = EyePop;
11934
12018
  UploadJob,
11935
12019
  UserReview,
11936
12020
  VideoMode,
12021
+ VlmAbilityStatus,
11937
12022
  WebrtcBase,
11938
12023
  WebrtcWhep,
11939
12024
  WebrtcWhip,