@inferencesh/sdk 0.20.1 → 0.21.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.
- package/CHANGELOG.md +57 -0
- package/dist/agent/actions.js +1 -4
- package/dist/agent/api.d.ts +2 -5
- package/dist/agent/api.js +2 -2
- package/dist/agent/types.d.ts +1 -1
- package/dist/api/agents.js +2 -4
- package/dist/api/tasks.js +1 -4
- package/dist/http/client.d.ts +68 -7
- package/dist/http/client.js +136 -96
- package/dist/http/index.d.ts +2 -2
- package/dist/http/streamable.d.ts +25 -5
- package/dist/http/streamable.js +28 -40
- package/dist/index.d.ts +2 -2
- package/dist/types.d.ts +169 -266
- package/dist/types.js +6 -252
- package/package.json +1 -1
package/dist/types.js
CHANGED
|
@@ -379,6 +379,12 @@ export const ErrorCodeAccountBanned = "account_banned";
|
|
|
379
379
|
*/
|
|
380
380
|
export const ErrorCodePersonRequired = "person_required";
|
|
381
381
|
export const ErrorCodeOTPRequired = "otp_required";
|
|
382
|
+
/**
|
|
383
|
+
* ErrorCodeImpersonationReasonRequired (403): a platform admin named a
|
|
384
|
+
* team they are not a member of without a live impersonation grant.
|
|
385
|
+
* Clients stop viewing as the team on it.
|
|
386
|
+
*/
|
|
387
|
+
export const ErrorCodeImpersonationReasonRequired = "impersonation_reason_required";
|
|
382
388
|
export const ErrorCodeMCPAuthExpired = "mcp_auth_expired";
|
|
383
389
|
/**
|
|
384
390
|
* Entitlements. LimitExceeded (402) and FeatureNotAvailable (403) carry
|
|
@@ -602,258 +608,6 @@ export const AppCategoryFlow = "flow";
|
|
|
602
608
|
* Decision models: typed questions in, a probability for every answer out, no generation.
|
|
603
609
|
*/
|
|
604
610
|
export const AppCategoryDecision = "decision";
|
|
605
|
-
/**
|
|
606
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
607
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
608
|
-
*/
|
|
609
|
-
export const AppTagTextToImage = "text-to-image";
|
|
610
|
-
/**
|
|
611
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
612
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
613
|
-
*/
|
|
614
|
-
export const AppTagImageToImage = "image-to-image";
|
|
615
|
-
/**
|
|
616
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
617
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
618
|
-
*/
|
|
619
|
-
export const AppTagImageEditing = "image-editing";
|
|
620
|
-
/**
|
|
621
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
622
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
623
|
-
*/
|
|
624
|
-
export const AppTagImageUpscaling = "image-upscaling";
|
|
625
|
-
/**
|
|
626
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
627
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
628
|
-
*/
|
|
629
|
-
export const AppTagBackgroundRemoval = "background-removal";
|
|
630
|
-
/**
|
|
631
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
632
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
633
|
-
*/
|
|
634
|
-
export const AppTagTraining = "training";
|
|
635
|
-
/**
|
|
636
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
637
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
638
|
-
*/
|
|
639
|
-
export const AppTagLoRA = "lora";
|
|
640
|
-
/**
|
|
641
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
642
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
643
|
-
*/
|
|
644
|
-
export const AppTagPBRMaterials = "pbr-materials";
|
|
645
|
-
/**
|
|
646
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
647
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
648
|
-
*/
|
|
649
|
-
export const AppTagTextToVideo = "text-to-video";
|
|
650
|
-
/**
|
|
651
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
652
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
653
|
-
*/
|
|
654
|
-
export const AppTagImageToVideo = "image-to-video";
|
|
655
|
-
/**
|
|
656
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
657
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
658
|
-
*/
|
|
659
|
-
export const AppTagReferenceToVideo = "reference-to-video";
|
|
660
|
-
/**
|
|
661
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
662
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
663
|
-
*/
|
|
664
|
-
export const AppTagVideoToVideo = "video-to-video";
|
|
665
|
-
/**
|
|
666
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
667
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
668
|
-
*/
|
|
669
|
-
export const AppTagVideoUpscaling = "video-upscaling";
|
|
670
|
-
/**
|
|
671
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
672
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
673
|
-
*/
|
|
674
|
-
export const AppTagVideoExtension = "video-extension";
|
|
675
|
-
/**
|
|
676
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
677
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
678
|
-
*/
|
|
679
|
-
export const AppTagVideoEnhancement = "video-enhancement";
|
|
680
|
-
/**
|
|
681
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
682
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
683
|
-
*/
|
|
684
|
-
export const AppTagLipSync = "lip-sync";
|
|
685
|
-
/**
|
|
686
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
687
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
688
|
-
*/
|
|
689
|
-
export const AppTagTalkingAvatar = "talking-avatar";
|
|
690
|
-
/**
|
|
691
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
692
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
693
|
-
*/
|
|
694
|
-
export const AppTagNativeAudio = "native-audio";
|
|
695
|
-
/**
|
|
696
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
697
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
698
|
-
*/
|
|
699
|
-
export const AppTagTextToSpeech = "text-to-speech";
|
|
700
|
-
/**
|
|
701
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
702
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
703
|
-
*/
|
|
704
|
-
export const AppTagSpeechToText = "speech-to-text";
|
|
705
|
-
/**
|
|
706
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
707
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
708
|
-
*/
|
|
709
|
-
export const AppTagVoiceCloning = "voice-cloning";
|
|
710
|
-
/**
|
|
711
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
712
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
713
|
-
*/
|
|
714
|
-
export const AppTagVoiceDesign = "voice-design";
|
|
715
|
-
/**
|
|
716
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
717
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
718
|
-
*/
|
|
719
|
-
export const AppTagMusicGeneration = "music-generation";
|
|
720
|
-
/**
|
|
721
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
722
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
723
|
-
*/
|
|
724
|
-
export const AppTagSoundEffects = "sound-effects";
|
|
725
|
-
/**
|
|
726
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
727
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
728
|
-
*/
|
|
729
|
-
export const AppTagRealtime = "realtime";
|
|
730
|
-
/**
|
|
731
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
732
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
733
|
-
*/
|
|
734
|
-
export const AppTagReasoning = "reasoning";
|
|
735
|
-
/**
|
|
736
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
737
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
738
|
-
*/
|
|
739
|
-
export const AppTagVision = "vision";
|
|
740
|
-
/**
|
|
741
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
742
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
743
|
-
*/
|
|
744
|
-
export const AppTagCoding = "coding";
|
|
745
|
-
/**
|
|
746
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
747
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
748
|
-
*/
|
|
749
|
-
export const AppTagOpenWeights = "open-weights";
|
|
750
|
-
/**
|
|
751
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
752
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
753
|
-
*/
|
|
754
|
-
export const AppTagClassification = "classification";
|
|
755
|
-
/**
|
|
756
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
757
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
758
|
-
*/
|
|
759
|
-
export const AppTagModeration = "moderation";
|
|
760
|
-
/**
|
|
761
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
762
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
763
|
-
*/
|
|
764
|
-
export const AppTagRouting = "routing";
|
|
765
|
-
/**
|
|
766
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
767
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
768
|
-
*/
|
|
769
|
-
export const AppTagWebSearch = "web-search";
|
|
770
|
-
/**
|
|
771
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
772
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
773
|
-
*/
|
|
774
|
-
export const AppTagWebScraping = "web-scraping";
|
|
775
|
-
/**
|
|
776
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
777
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
778
|
-
*/
|
|
779
|
-
export const AppTagDeepResearch = "deep-research";
|
|
780
|
-
/**
|
|
781
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
782
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
783
|
-
*/
|
|
784
|
-
export const AppTagResearchPapers = "research-papers";
|
|
785
|
-
/**
|
|
786
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
787
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
788
|
-
*/
|
|
789
|
-
export const AppTagSocialMedia = "social-media";
|
|
790
|
-
/**
|
|
791
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
792
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
793
|
-
*/
|
|
794
|
-
export const AppTagMessaging = "messaging";
|
|
795
|
-
/**
|
|
796
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
797
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
798
|
-
*/
|
|
799
|
-
export const AppTagProductivity = "productivity";
|
|
800
|
-
/**
|
|
801
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
802
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
803
|
-
*/
|
|
804
|
-
export const AppTagMediaUtilities = "media-utilities";
|
|
805
|
-
/**
|
|
806
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
807
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
808
|
-
*/
|
|
809
|
-
export const AppTagRendering = "rendering";
|
|
810
|
-
/**
|
|
811
|
-
* The list holds tags that at least three public apps carry, so each one
|
|
812
|
-
* leads somewhere. A tag on fewer apps stays a plain tag until it does.
|
|
813
|
-
*/
|
|
814
|
-
export const AppTagEvaluation = "evaluation";
|
|
815
|
-
export const AppTagTitleTextToImage = "Text to Image";
|
|
816
|
-
export const AppTagTitleImageToImage = "Image to Image";
|
|
817
|
-
export const AppTagTitleImageEditing = "Image Editing";
|
|
818
|
-
export const AppTagTitleImageUpscaling = "Image Upscaling";
|
|
819
|
-
export const AppTagTitleBackgroundRemoval = "Background Removal";
|
|
820
|
-
export const AppTagTitleTraining = "Model Training";
|
|
821
|
-
export const AppTagTitleLoRA = "LoRA";
|
|
822
|
-
export const AppTagTitlePBRMaterials = "PBR Materials";
|
|
823
|
-
export const AppTagTitleTextToVideo = "Text to Video";
|
|
824
|
-
export const AppTagTitleImageToVideo = "Image to Video";
|
|
825
|
-
export const AppTagTitleReferenceToVideo = "Reference to Video";
|
|
826
|
-
export const AppTagTitleVideoToVideo = "Video to Video";
|
|
827
|
-
export const AppTagTitleVideoUpscaling = "Video Upscaling";
|
|
828
|
-
export const AppTagTitleVideoExtension = "Video Extension";
|
|
829
|
-
export const AppTagTitleVideoEnhancement = "Video Enhancement";
|
|
830
|
-
export const AppTagTitleLipSync = "Lip Sync";
|
|
831
|
-
export const AppTagTitleTalkingAvatar = "Talking Avatar";
|
|
832
|
-
export const AppTagTitleNativeAudio = "Native Audio";
|
|
833
|
-
export const AppTagTitleTextToSpeech = "Text to Speech";
|
|
834
|
-
export const AppTagTitleSpeechToText = "Speech to Text";
|
|
835
|
-
export const AppTagTitleVoiceCloning = "Voice Cloning";
|
|
836
|
-
export const AppTagTitleVoiceDesign = "Voice Design";
|
|
837
|
-
export const AppTagTitleMusicGeneration = "Music Generation";
|
|
838
|
-
export const AppTagTitleSoundEffects = "Sound Effects";
|
|
839
|
-
export const AppTagTitleRealtime = "Realtime";
|
|
840
|
-
export const AppTagTitleReasoning = "Reasoning";
|
|
841
|
-
export const AppTagTitleVision = "Vision";
|
|
842
|
-
export const AppTagTitleCoding = "Coding";
|
|
843
|
-
export const AppTagTitleOpenWeights = "Open Weights";
|
|
844
|
-
export const AppTagTitleClassification = "Classification";
|
|
845
|
-
export const AppTagTitleModeration = "Moderation";
|
|
846
|
-
export const AppTagTitleRouting = "Routing";
|
|
847
|
-
export const AppTagTitleWebSearch = "Web Search";
|
|
848
|
-
export const AppTagTitleWebScraping = "Web Scraping";
|
|
849
|
-
export const AppTagTitleDeepResearch = "Deep Research";
|
|
850
|
-
export const AppTagTitleResearchPapers = "Research Papers";
|
|
851
|
-
export const AppTagTitleSocialMedia = "Social Media";
|
|
852
|
-
export const AppTagTitleMessaging = "Messaging";
|
|
853
|
-
export const AppTagTitleProductivity = "Productivity";
|
|
854
|
-
export const AppTagTitleMediaUtilities = "Media Utilities";
|
|
855
|
-
export const AppTagTitleRendering = "Rendering";
|
|
856
|
-
export const AppTagTitleEvaluation = "Evaluation";
|
|
857
611
|
export const AppStatusActive = "active";
|
|
858
612
|
export const AppStatusMaintenance = "maintenance";
|
|
859
613
|
export const AppStatusDeprecated = "deprecated";
|