@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.
@@ -10698,6 +10698,8 @@ var TranscodeMode = /* @__PURE__ */ ((TranscodeMode2) => {
10698
10698
  })(TranscodeMode || {});
10699
10699
  var ModelType = /* @__PURE__ */ ((ModelType2) => {
10700
10700
  ModelType2["epdet_b1"] = "epdet_b1";
10701
+ ModelType2["imported"] = "imported";
10702
+ ModelType2["vlm_ability"] = "vlm_ability";
10701
10703
  return ModelType2;
10702
10704
  })(ModelType || {});
10703
10705
  var ModelTask = /* @__PURE__ */ ((ModelTask2) => {
@@ -10801,6 +10803,11 @@ var EvaluationStatus = /* @__PURE__ */ ((EvaluationStatus2) => {
10801
10803
  EvaluationStatus2["failed"] = "failed";
10802
10804
  return EvaluationStatus2;
10803
10805
  })(EvaluationStatus || {});
10806
+ var VlmAbilityStatus = /* @__PURE__ */ ((VlmAbilityStatus2) => {
10807
+ VlmAbilityStatus2["draft"] = "draft";
10808
+ VlmAbilityStatus2["published"] = "published";
10809
+ return VlmAbilityStatus2;
10810
+ })(VlmAbilityStatus || {});
10804
10811
 
10805
10812
  // data/jobs.ts
10806
10813
  var InferAssetJob = class {
@@ -10996,7 +11003,6 @@ var DataEndpoint = class extends Endpoint {
10996
11003
  if (!this._client) {
10997
11004
  return Promise.reject("endpoint not initialized");
10998
11005
  }
10999
- this._logger.warn("AAA", this.vlmApiUrl);
11000
11006
  const accountUuidQuery = this._accountId ? `?account_uuid=${this._accountId}` : "";
11001
11007
  const config_url = `${this.eyepopUrl()}/configs${accountUuidQuery}`;
11002
11008
  let headers = {
@@ -11616,6 +11622,83 @@ var DataEndpoint = class extends Endpoint {
11616
11622
  break;
11617
11623
  }
11618
11624
  }
11625
+ // Vlm Ability Management
11626
+ async listVlmAbilityGroups() {
11627
+ return this.request(`/vlm_ability_groups?account_uuid=${this._accountId}`, {
11628
+ method: "GET"
11629
+ });
11630
+ }
11631
+ async createVlmAbilityGroup(create) {
11632
+ return this.request(`/vlm_ability_groups?account_uuid=${this._accountId}`, {
11633
+ method: "POST",
11634
+ body: JSON.stringify(create),
11635
+ headers: { "Content-Type": "application/json" }
11636
+ });
11637
+ }
11638
+ async getVlmAbilityGroup(vlm_ability_group_uuid) {
11639
+ return this.request(`/vlm_ability_groups/${vlm_ability_group_uuid}`, {
11640
+ method: "GET"
11641
+ });
11642
+ }
11643
+ async deleteVlmAbilityGroup(vlm_ability_group_uuid) {
11644
+ return this.request(`/vlm_ability_groups/${vlm_ability_group_uuid}`, {
11645
+ method: "DELETE"
11646
+ });
11647
+ }
11648
+ async updateVlmAbilityGroup(vlm_ability_group_uuid, update) {
11649
+ return this.request(`/vlm_ability_groups/${vlm_ability_group_uuid}`, {
11650
+ method: "PATCH",
11651
+ body: JSON.stringify(update),
11652
+ headers: { "Content-Type": "application/json" }
11653
+ });
11654
+ }
11655
+ async listVlmAbilities() {
11656
+ return this.request(`/vlm_abilities?account_uuid=${this._accountId}`, {
11657
+ method: "GET"
11658
+ });
11659
+ }
11660
+ async createVlmAbility(create, vlm_ability_group_uuid) {
11661
+ const groupQuery = vlm_ability_group_uuid ? `&vlm_ability_group_uuid=${vlm_ability_group_uuid}` : "";
11662
+ return this.request(`/vlm_abilities?account_uuid=${this._accountId}${groupQuery}`, {
11663
+ method: "POST",
11664
+ body: JSON.stringify(create),
11665
+ headers: { "Content-Type": "application/json" }
11666
+ });
11667
+ }
11668
+ async getVlmAbility(vlm_ability_uuid) {
11669
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}`, {
11670
+ method: "GET"
11671
+ });
11672
+ }
11673
+ async deleteVlmAbility(vlm_ability_uuid) {
11674
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}`, {
11675
+ method: "DELETE"
11676
+ });
11677
+ }
11678
+ async updateVlmAbility(vlm_ability_uuid, update) {
11679
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}`, {
11680
+ method: "PATCH",
11681
+ body: JSON.stringify(update),
11682
+ headers: { "Content-Type": "application/json" }
11683
+ });
11684
+ }
11685
+ async publishVlmAbility(vlm_ability_uuid, alias_name, tag_name) {
11686
+ const alias_name_query = alias_name ? `alias_name=${encodeURIComponent(alias_name)}&` : "";
11687
+ const tag_name_query = tag_name ? `tag_name=${encodeURIComponent(tag_name)}&` : "";
11688
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}/publish?${alias_name_query}${tag_name_query}`, {
11689
+ method: "POST"
11690
+ });
11691
+ }
11692
+ async addVlmAbilityAlias(vlm_ability_uuid, alias_name, tag_name) {
11693
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}/alias/${encodeURIComponent(alias_name)}/tag/${tag_name ? encodeURIComponent(tag_name) : ""}`, {
11694
+ method: "POST"
11695
+ });
11696
+ }
11697
+ async removeVlmAbilityAlias(vlm_ability_uuid, alias_name, tag_name) {
11698
+ return this.request(`/vlm_abilities/${vlm_ability_uuid}/alias/${encodeURIComponent(alias_name)}/tag/${encodeURIComponent(tag_name)}`, {
11699
+ method: "DELETE"
11700
+ });
11701
+ }
11619
11702
  };
11620
11703
 
11621
11704
  // worker/webrtc_whep.ts
@@ -11857,6 +11940,7 @@ export {
11857
11940
  UploadJob,
11858
11941
  UserReview,
11859
11942
  VideoMode,
11943
+ VlmAbilityStatus,
11860
11944
  WebrtcBase,
11861
11945
  WebrtcWhep,
11862
11946
  WebrtcWhip,