@raycast/api 1.70.3 → 1.71.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/package.json +1 -1
- package/types/index.d.ts +42 -3
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -485,9 +485,17 @@ export declare namespace AI {
|
|
|
485
485
|
export type Creativity = "none" | "low" | "medium" | "high" | "maximum" | number;
|
|
486
486
|
/**
|
|
487
487
|
* The AI model to use to answer to the prompt.
|
|
488
|
-
* @defaultValue `"gpt-3.5-turbo-instruct"`
|
|
489
|
-
*/
|
|
490
|
-
export type Model = "gpt-3.5-turbo" | "gpt-3.5-turbo-
|
|
488
|
+
* @defaultValue `"openai-gpt-3.5-turbo-instruct"`
|
|
489
|
+
*/
|
|
490
|
+
export type Model = "openai-gpt-3.5-turbo-instruct" | "openai-gpt-3.5-turbo" | "openai-gpt-4" | "openai-gpt-4-turbo" | "anthropic-claude-haiku" | "anthropic-claude-opus" | "anthropic-claude-sonnet" | "perplexity-sonar-medium-online" | "perplexity-sonar-small-online" | "llama2-70b" | "mixtral-8x7b" | "codellama-70b-instruct"
|
|
491
|
+
/** @deprecated */
|
|
492
|
+
| "gpt-3.5-turbo"
|
|
493
|
+
/** @deprecated */
|
|
494
|
+
| "gpt-3.5-turbo-instruct"
|
|
495
|
+
/** @deprecated */
|
|
496
|
+
| "gpt-4"
|
|
497
|
+
/** @deprecated */
|
|
498
|
+
| "text-davinci-003";
|
|
491
499
|
}
|
|
492
500
|
|
|
493
501
|
export declare namespace Alert {
|
|
@@ -744,6 +752,14 @@ export declare namespace Cache {
|
|
|
744
752
|
export type Subscription = () => void;
|
|
745
753
|
}
|
|
746
754
|
|
|
755
|
+
/**
|
|
756
|
+
* Report the provided exception to the Developer Hub.
|
|
757
|
+
* This helps in handling failures gracefully while staying informed about the occurrence of the failure.
|
|
758
|
+
*
|
|
759
|
+
* @param exception - The exception you want to report.
|
|
760
|
+
*/
|
|
761
|
+
export declare function captureException(exception: unknown): void;
|
|
762
|
+
|
|
747
763
|
/**
|
|
748
764
|
* See {@link Form.Checkbox}
|
|
749
765
|
*/
|
|
@@ -4662,6 +4678,7 @@ export declare enum Icon {
|
|
|
4662
4678
|
ChevronUpDown = "chevron-up-down-16",
|
|
4663
4679
|
ChevronUpSmall = "chevron-up-small-16",
|
|
4664
4680
|
Circle = "circle-16",
|
|
4681
|
+
CircleDisabled = "circle-disabled-16",
|
|
4665
4682
|
CircleEllipsis = "circle-ellipsis-16",
|
|
4666
4683
|
CircleFilled = "circle-filled-16",
|
|
4667
4684
|
CircleProgress = "circle-progress-16",
|
|
@@ -4694,10 +4711,12 @@ export declare enum Icon {
|
|
|
4694
4711
|
Crypto = "crypto-16",
|
|
4695
4712
|
DeleteDocument = "delete-document-16",
|
|
4696
4713
|
Desktop = "desktop-16",
|
|
4714
|
+
Devices = "devices-16",
|
|
4697
4715
|
Dna = "dna-16",
|
|
4698
4716
|
Document = "blank-document-16",
|
|
4699
4717
|
Dot = "dot-16",
|
|
4700
4718
|
Download = "download-16",
|
|
4719
|
+
Droplets = "droplets-16",
|
|
4701
4720
|
Duplicate = "duplicate-16",
|
|
4702
4721
|
EditShape = "edit-shape-16",
|
|
4703
4722
|
Eject = "eject-16",
|
|
@@ -4743,6 +4762,7 @@ export declare enum Icon {
|
|
|
4743
4762
|
Highlight = "highlight-16",
|
|
4744
4763
|
Hourglass = "hourglass-16",
|
|
4745
4764
|
House = "house-16",
|
|
4765
|
+
Humidity = "humidity-16",
|
|
4746
4766
|
Image = "image-16",
|
|
4747
4767
|
Important = "important-01-16",
|
|
4748
4768
|
Info = "info-01-16",
|
|
@@ -4785,8 +4805,14 @@ export declare enum Icon {
|
|
|
4785
4805
|
Mobile = "mobile-16",
|
|
4786
4806
|
Monitor = "monitor-16",
|
|
4787
4807
|
Moon = "moon-16",
|
|
4808
|
+
MoonDown = "moon-down-16",
|
|
4809
|
+
MoonUp = "moon-up-16",
|
|
4810
|
+
Moonrise = "moonrise-16",
|
|
4788
4811
|
Mountain = "mountain-16",
|
|
4789
4812
|
Mouse = "mouse-16",
|
|
4813
|
+
Move = "move-16",
|
|
4814
|
+
Mug = "mug-16",
|
|
4815
|
+
MugSteam = "mug-steam-16",
|
|
4790
4816
|
Multiply = "multiply-16",
|
|
4791
4817
|
Music = "music-16",
|
|
4792
4818
|
Network = "network-16",
|
|
@@ -4937,6 +4963,7 @@ export declare enum Icon {
|
|
|
4937
4963
|
Rosette = "rosette-16",
|
|
4938
4964
|
RotateAntiClockwise = "rotate-anti-clockwise-16",
|
|
4939
4965
|
RotateClockwise = "rotate-clockwise-16",
|
|
4966
|
+
Rss = "rss-16",
|
|
4940
4967
|
Ruler = "ruler-16",
|
|
4941
4968
|
SaveDocument = "save-document-16",
|
|
4942
4969
|
Shield = "shield-01-16",
|
|
@@ -4950,6 +4977,7 @@ export declare enum Icon {
|
|
|
4950
4977
|
Snippets = "snippets-16",
|
|
4951
4978
|
Snowflake = "snowflake-16",
|
|
4952
4979
|
SoccerBall = "soccer-ball-16",
|
|
4980
|
+
Speaker = "speaker-16",
|
|
4953
4981
|
SpeakerDown = "speaker-down-16",
|
|
4954
4982
|
SpeakerHigh = "speaker-high-16",
|
|
4955
4983
|
SpeakerLow = "speaker-low-16",
|
|
@@ -4960,6 +4988,10 @@ export declare enum Icon {
|
|
|
4960
4988
|
SpeechBubbleActive = "speech-bubble-active-16",
|
|
4961
4989
|
SpeechBubbleImportant = "speech-bubble-important-16",
|
|
4962
4990
|
SquareEllipsis = "square-ellipsis-16",
|
|
4991
|
+
StackedBars1 = "stacked-bars-1-16",
|
|
4992
|
+
StackedBars2 = "stacked-bars-2-16",
|
|
4993
|
+
StackedBars3 = "stacked-bars-3-16",
|
|
4994
|
+
StackedBars4 = "stacked-bars-4-16",
|
|
4963
4995
|
Star = "star-16",
|
|
4964
4996
|
StarCircle = "star-circle-16",
|
|
4965
4997
|
StarDisabled = "star-disabled-16",
|
|
@@ -4974,6 +5006,8 @@ export declare enum Icon {
|
|
|
4974
5006
|
Swatch = "swatch-16",
|
|
4975
5007
|
Switch = "switch-16",
|
|
4976
5008
|
Syringe = "syringe-16",
|
|
5009
|
+
Tack = "tack-16",
|
|
5010
|
+
TackDisabled = "tack-disabled-16",
|
|
4977
5011
|
Tag = "tag-16",
|
|
4978
5012
|
Temperature = "temperature-16",
|
|
4979
5013
|
TennisBall = "tennis-ball-16",
|
|
@@ -4982,6 +5016,7 @@ export declare enum Icon {
|
|
|
4982
5016
|
TextCursor = "text-cursor-16",
|
|
4983
5017
|
TextInput = "text-input-16",
|
|
4984
5018
|
TextSelection = "text-selection-16",
|
|
5019
|
+
Ticket = "ticket-16",
|
|
4985
5020
|
Torch = "torch-16",
|
|
4986
5021
|
Train = "train-16",
|
|
4987
5022
|
Trash = "trash-16",
|
|
@@ -4998,10 +5033,13 @@ export declare enum Icon {
|
|
|
4998
5033
|
Wallet = "wallet-16",
|
|
4999
5034
|
Wand = "wand-16",
|
|
5000
5035
|
Warning = "warning-16",
|
|
5036
|
+
Waveform = "waveform-16",
|
|
5001
5037
|
Weights = "weights-16",
|
|
5002
5038
|
Wifi = "wifi-16",
|
|
5003
5039
|
WifiDisabled = "wifi-disabled-16",
|
|
5040
|
+
Wind = "wind-16",
|
|
5004
5041
|
Window = "app-window-16",
|
|
5042
|
+
Windsock = "windsock-16",
|
|
5005
5043
|
WrenchScrewdriver = "wrench-screwdriver-16",
|
|
5006
5044
|
WristWatch = "wrist-watch-16",
|
|
5007
5045
|
XMarkCircle = "x-mark-circle-16",
|
|
@@ -7981,6 +8019,7 @@ declare interface LabelProps {
|
|
|
7981
8019
|
* Placeholder text shown in the token field.
|
|
7982
8020
|
*/
|
|
7983
8021
|
placeholder?: string;
|
|
8022
|
+
|
|
7984
8023
|
}
|
|
7985
8024
|
|
|
7986
8025
|
/**
|