@inferencesh/sdk 0.19.0 → 0.20.1
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/dist/api/tasks.d.ts +15 -3
- package/dist/api/tasks.js +19 -3
- package/dist/types.d.ts +669 -42
- package/dist/types.js +345 -0
- package/package.json +2 -2
package/dist/types.js
CHANGED
|
@@ -395,6 +395,23 @@ export const ErrorCodePaymentRequired = "payment_required";
|
|
|
395
395
|
* PaymentMethodRequiredMeta; clients send the user to BillingPage.
|
|
396
396
|
*/
|
|
397
397
|
export const ErrorCodePaymentMethodRequired = "payment_method_required";
|
|
398
|
+
/**
|
|
399
|
+
* Form submissions (409): the form is not open, or its submit policy
|
|
400
|
+
* already holds the caller's submission.
|
|
401
|
+
*/
|
|
402
|
+
export const ErrorCodeFormClosed = "form_closed";
|
|
403
|
+
export const ErrorCodeAlreadySubmitted = "already_submitted";
|
|
404
|
+
/**
|
|
405
|
+
* Bounty claims (409): the caller already claimed this proof, or as many
|
|
406
|
+
* times as the program allows.
|
|
407
|
+
*/
|
|
408
|
+
export const ErrorCodeAlreadyClaimed = "already_claimed";
|
|
409
|
+
/**
|
|
410
|
+
* Entitlement requests (409): the team already holds the entitlement, or
|
|
411
|
+
* already has an open request for it.
|
|
412
|
+
*/
|
|
413
|
+
export const ErrorCodeAlreadyEntitled = "already_entitled";
|
|
414
|
+
export const ErrorCodeRequestOpen = "request_open";
|
|
398
415
|
/**
|
|
399
416
|
* Remote harness refusals.
|
|
400
417
|
*/
|
|
@@ -403,6 +420,8 @@ export const ErrorCodeRemoteOffline = "remote_offline";
|
|
|
403
420
|
export const ErrorCodeRemoteTimeout = "remote_timeout";
|
|
404
421
|
export const ErrorCodeHarnessNotDrivable = "harness_not_drivable";
|
|
405
422
|
export const ErrorCodeHarnessTooOld = "harness_too_old";
|
|
423
|
+
export const TaskFileRoleInput = "input";
|
|
424
|
+
export const TaskFileRoleOutput = "output";
|
|
406
425
|
/**
|
|
407
426
|
* Flow graph action type constants.
|
|
408
427
|
*/
|
|
@@ -553,6 +572,12 @@ export const A2UIForm = "Form";
|
|
|
553
572
|
* the viewer. Rendered from the artifact's /render endpoint.
|
|
554
573
|
*/
|
|
555
574
|
export const A2UIArtifact = "Artifact";
|
|
575
|
+
/**
|
|
576
|
+
* McpApp embeds a remote MCP server's tool page (MCP Apps, SEP-1865): a
|
|
577
|
+
* sandboxed HTML document the host feeds the tool's input and result over
|
|
578
|
+
* postMessage, and whose tools/call requests it proxies to the server.
|
|
579
|
+
*/
|
|
580
|
+
export const A2UIMcpApp = "McpApp";
|
|
556
581
|
/**
|
|
557
582
|
* ApiKeyScopeUser is a personal key: it acts as the person who created it,
|
|
558
583
|
* in the workspace it was created in, and ends when they can no longer
|
|
@@ -573,6 +598,262 @@ export const AppCategoryChat = "chat";
|
|
|
573
598
|
export const AppCategory3D = "3d";
|
|
574
599
|
export const AppCategoryOther = "other";
|
|
575
600
|
export const AppCategoryFlow = "flow";
|
|
601
|
+
/**
|
|
602
|
+
* Decision models: typed questions in, a probability for every answer out, no generation.
|
|
603
|
+
*/
|
|
604
|
+
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";
|
|
576
857
|
export const AppStatusActive = "active";
|
|
577
858
|
export const AppStatusMaintenance = "maintenance";
|
|
578
859
|
export const AppStatusDeprecated = "deprecated";
|
|
@@ -622,6 +903,10 @@ export const EntitlementScopeTeam = "team";
|
|
|
622
903
|
export const EntitlementScopeMember = "member";
|
|
623
904
|
export const EnforcementBlock = "block";
|
|
624
905
|
export const EnforcementWarn = "warn";
|
|
906
|
+
export const EntitlementRequestOpen = "open";
|
|
907
|
+
export const EntitlementRequestAccepted = "accepted";
|
|
908
|
+
export const EntitlementRequestDeclined = "declined";
|
|
909
|
+
export const EntitlementRequestWithdrawn = "withdrawn";
|
|
625
910
|
export const ChatStatusBusy = "busy";
|
|
626
911
|
export const ChatStatusIdle = "idle";
|
|
627
912
|
export const ChatStatusAwaitingInput = "awaiting_input";
|
|
@@ -662,6 +947,19 @@ export const ChannelTypeDiscord = "discord";
|
|
|
662
947
|
export const ChannelTypeTeams = "teams";
|
|
663
948
|
export const ChannelTypeTelegram = "telegram";
|
|
664
949
|
export const ChatEventTypeHook = "hook";
|
|
950
|
+
/**
|
|
951
|
+
* DescriptionLimitListing bounds the description of an app, agent, flow,
|
|
952
|
+
* MCP server or knowledge entry. A description is shown in listings and
|
|
953
|
+
* handed to agents as a suggestion, so it is a sentence or two; anything
|
|
954
|
+
* longer belongs in the resource itself.
|
|
955
|
+
*/
|
|
956
|
+
export const DescriptionLimitListing = 200;
|
|
957
|
+
/**
|
|
958
|
+
* DescriptionLimitSkill bounds a skill's description. It is the skill's
|
|
959
|
+
* SKILL.md frontmatter, so it follows the Agent Skills specification
|
|
960
|
+
* (https://agentskills.io/specification) rather than the listing limit.
|
|
961
|
+
*/
|
|
962
|
+
export const DescriptionLimitSkill = 1024;
|
|
665
963
|
export const EngineStatusRunning = "running";
|
|
666
964
|
export const EngineStatusPending = "pending";
|
|
667
965
|
export const EngineStatusDraining = "draining";
|
|
@@ -679,6 +977,23 @@ export const FlowRunStatusRunning = 2;
|
|
|
679
977
|
export const FlowRunStatusCompleted = 3;
|
|
680
978
|
export const FlowRunStatusFailed = 4;
|
|
681
979
|
export const FlowRunStatusCancelled = 5;
|
|
980
|
+
export const FormStatusDraft = "draft";
|
|
981
|
+
export const FormStatusOpen = "open";
|
|
982
|
+
export const FormStatusClosed = "closed";
|
|
983
|
+
/**
|
|
984
|
+
* FormSubmitOncePerUser: one submission per person, whichever team they
|
|
985
|
+
* selected when they answered.
|
|
986
|
+
*/
|
|
987
|
+
export const FormSubmitOncePerUser = "once_per_user";
|
|
988
|
+
/**
|
|
989
|
+
* FormSubmitOncePerTeam: one submission per team; the submitter's
|
|
990
|
+
* selected team counts.
|
|
991
|
+
*/
|
|
992
|
+
export const FormSubmitOncePerTeam = "once_per_team";
|
|
993
|
+
/**
|
|
994
|
+
* FormSubmitMany: no limit.
|
|
995
|
+
*/
|
|
996
|
+
export const FormSubmitMany = "many";
|
|
682
997
|
export const GraphNodeTypeUnknown = "unknown";
|
|
683
998
|
export const GraphNodeTypeJoin = "join";
|
|
684
999
|
export const GraphNodeTypeSplit = "split";
|
|
@@ -911,6 +1226,10 @@ export const ResourceFeatureSeedance = "feature:seedance";
|
|
|
911
1226
|
* Granted per team: the marketplace takes submissions by invitation.
|
|
912
1227
|
*/
|
|
913
1228
|
export const ResourceFeatureMarketplacePublish = "feature:marketplace_publish";
|
|
1229
|
+
/**
|
|
1230
|
+
* Granted per team: creating forms is by invitation for now.
|
|
1231
|
+
*/
|
|
1232
|
+
export const ResourceFeatureForms = "feature:forms";
|
|
914
1233
|
/**
|
|
915
1234
|
* Legacy feature gates — kept for DB compatibility, no longer gated
|
|
916
1235
|
*/
|
|
@@ -1060,6 +1379,10 @@ export const NotificationTypeServiceNotice = "service_notice";
|
|
|
1060
1379
|
* Team notifications
|
|
1061
1380
|
*/
|
|
1062
1381
|
export const NotificationTypeTeamInvite = "team_invite";
|
|
1382
|
+
/**
|
|
1383
|
+
* An admin decided the team's entitlement request
|
|
1384
|
+
*/
|
|
1385
|
+
export const NotificationTypeEntitlementRequest = "entitlement_request";
|
|
1063
1386
|
export const NotificationStatusPending = "pending";
|
|
1064
1387
|
export const NotificationStatusProcessing = "processing";
|
|
1065
1388
|
export const NotificationStatusSent = "sent";
|
|
@@ -1070,6 +1393,28 @@ export const NotificationStatusCancelled = "cancelled";
|
|
|
1070
1393
|
export const PolicyEffectAllow = "allow";
|
|
1071
1394
|
export const PolicyEffectAsk = "ask";
|
|
1072
1395
|
export const PolicyEffectDeny = "deny";
|
|
1396
|
+
/**
|
|
1397
|
+
* PolicyEnforcementDefault: the rule decides in its layer, and a more
|
|
1398
|
+
* specific admin layer with a rule matching the same call overrides it.
|
|
1399
|
+
*/
|
|
1400
|
+
export const PolicyEnforcementDefault = "default";
|
|
1401
|
+
/**
|
|
1402
|
+
* PolicyEnforcementEnforced: an admin (governance) rule that is final.
|
|
1403
|
+
* It is checked before every other layer, and no lower admin layer can
|
|
1404
|
+
* override it; narrow-only layers can still only narrow. Only admin
|
|
1405
|
+
* layers may hold one.
|
|
1406
|
+
*/
|
|
1407
|
+
export const PolicyEnforcementEnforced = "enforced";
|
|
1408
|
+
/**
|
|
1409
|
+
* PolicyEnforcementEvaluate: the rule never decides. When it would have
|
|
1410
|
+
* changed a decision, the decision feed records what it would have done,
|
|
1411
|
+
* so a rule can be tried before it is switched on.
|
|
1412
|
+
*/
|
|
1413
|
+
export const PolicyEnforcementEvaluate = "evaluate";
|
|
1414
|
+
/**
|
|
1415
|
+
* PolicyEnforcementDisabled: the rule is kept and ignored.
|
|
1416
|
+
*/
|
|
1417
|
+
export const PolicyEnforcementDisabled = "disabled";
|
|
1073
1418
|
/**
|
|
1074
1419
|
* PolicyKindRemoteExec: shell commands run on a remote.
|
|
1075
1420
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inferencesh/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"description": "Official JavaScript/TypeScript SDK for inference.sh - Run AI models with a simple API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"globals": "^17.12.0",
|
|
93
93
|
"hono": "^4.13.1",
|
|
94
94
|
"jest": "^30.4.2",
|
|
95
|
-
"next": "^16.
|
|
95
|
+
"next": "^16.3.6",
|
|
96
96
|
"prettier": "^3.6.2",
|
|
97
97
|
"react": "^19.2.3",
|
|
98
98
|
"rimraf": "^6.0.1",
|