@raycast/api 1.93.2 → 1.94.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/dist/api/evals.js +2 -2
- package/dist/api/github.js +8 -8
- package/dist/api/raycast.js +1 -1
- package/dist/commands/build/index.js +3 -3
- package/dist/commands/develop/index.js +131 -131
- package/dist/commands/evals/index.js +11 -11
- package/dist/commands/lint/index.js +43 -43
- package/dist/commands/login/index.js +3 -3
- package/dist/commands/logout/index.js +1 -1
- package/dist/commands/migrate/index.js +1 -1
- package/dist/commands/profile/index.js +4 -4
- package/dist/commands/publish/index.js +178 -180
- package/dist/commands/pull-contributions/index.js +9 -9
- package/dist/commands/token/index.js +1 -1
- package/dist/commands/validate/index.js +11 -11
- package/dist/commands/version/index.js +1 -1
- package/dist/config.js +1 -1
- package/dist/types/manifest-schema.d.js +1 -1
- package/dist/utils/BaseCommand.js +1 -1
- package/dist/utils/esbuild-plugins/swift-files.js +1 -1
- package/dist/utils/evals/get-package-json.js +1 -1
- package/dist/utils/evals/render-results.js +2 -2
- package/dist/utils/output.js +1 -1
- package/dist/utils/publish/publish-to-public-repo.js +14 -16
- package/dist/utils/publish/publish-to-store.js +3 -3
- package/dist/utils/publish/pull-contributions.js +2 -2
- package/dist/utils/publish/setup-github-fork.js +2 -2
- package/dist/utils/raycast-app-communication.js +2 -2
- package/oclif.manifest.json +156 -117
- package/package.json +9 -9
- package/types/index.d.ts +21 -18
package/types/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
|
|
3
1
|
import { ForwardRefExoticComponent } from 'react';
|
|
4
2
|
import { FunctionComponent } from 'react';
|
|
5
|
-
import { JSX
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
6
4
|
import { PathLike } from 'fs';
|
|
7
5
|
import { ReactElement } from 'react';
|
|
8
6
|
import { ReactNode } from 'react';
|
|
@@ -502,7 +500,7 @@ export declare namespace AI {
|
|
|
502
500
|
Anthropic_Claude_Haiku = "anthropic-claude-haiku",
|
|
503
501
|
Anthropic_Claude_Opus = "anthropic-claude-opus",
|
|
504
502
|
Anthropic_Claude_Sonnet = "anthropic-claude-sonnet",
|
|
505
|
-
|
|
503
|
+
"Anthropic_Claude_Sonnet_3.7" = "anthropic-claude-3-7-sonnet-latest",
|
|
506
504
|
Mistral_Nemo = "mistral-nemo",
|
|
507
505
|
Mistral_Large = "mistral-large",
|
|
508
506
|
Mistral_Small = "mistral-small",
|
|
@@ -517,8 +515,6 @@ export declare namespace AI {
|
|
|
517
515
|
Perplexity_Sonar_Reasoning_Pro = "perplexity-sonar-reasoning-pro",
|
|
518
516
|
DeepSeek_R1 = "together-deepseek-ai/DeepSeek-R1",
|
|
519
517
|
"DeepSeek_R1_Distill_Llama_3.3_70B" = "groq-deepseek-r1-distill-llama-70b",
|
|
520
|
-
"Google_Gemini_1.5_Flash" = "google-gemini-1.5-flash",
|
|
521
|
-
"Google_Gemini_1.5_Pro" = "google-gemini-1.5-pro",
|
|
522
518
|
"Google_Gemini_2.0_Flash" = "google-gemini-2.0-flash",
|
|
523
519
|
"Google_Gemini_2.0_Flash_Thinking" = "google-gemini-2.0-flash-thinking",
|
|
524
520
|
xAI_Grok_2 = "xai-grok-2-latest",
|
|
@@ -552,9 +548,16 @@ export declare namespace AI {
|
|
|
552
548
|
"Groq_DeepSeek_R1_Distill_Llama_3.3_70B" = "groq-deepseek-r1-distill-llama-70b",
|
|
553
549
|
/** @deprecated Use `AI.Model.Together_DeepSeek_R1` instead */
|
|
554
550
|
"Together_DeepSeek_R1" = "together-deepseek-ai/DeepSeek-R1",
|
|
555
|
-
/** @deprecated Use `AI.Model
|
|
556
|
-
"MixtraL_8x7B" = "
|
|
551
|
+
/** @deprecated Use `AI.Model.Mistral_Nemo` instead */
|
|
552
|
+
"MixtraL_8x7B" = "mistral-nemo",
|
|
553
|
+
/** @deprecated Use `AI.Model["Google_Gemini_2.0_Flash"]` instead */
|
|
554
|
+
"Google_Gemini_1.5_Flash" = "google-gemini-1.5-flash",
|
|
555
|
+
/** @deprecated Use `AI.Model["Google_Gemini_2.0_Flash"]` instead */
|
|
556
|
+
"Google_Gemini_1.5_Pro" = "google-gemini-1.5-pro",
|
|
557
|
+
/** @deprecated Use `AI.Model.Mistral_Nemo` instead */
|
|
558
|
+
Mixtral_8x7B = "mistral-nemo"
|
|
557
559
|
}
|
|
560
|
+
|
|
558
561
|
/** @deprecated Use the `AI.Model` enum instead */
|
|
559
562
|
export type __DeprecatedModelUnion =
|
|
560
563
|
/** @deprecated */
|
|
@@ -1766,7 +1769,7 @@ declare interface CreateSnippetProps {
|
|
|
1766
1769
|
/**
|
|
1767
1770
|
* See {@link Form.DatePicker}
|
|
1768
1771
|
*/
|
|
1769
|
-
declare const DatePicker: ForwardRefExoticComponent<DatePickerProps & RefAttributes<
|
|
1772
|
+
declare const DatePicker: ForwardRefExoticComponent<DatePickerProps & RefAttributes<DatePickerRef>> & DatePickerMembers;
|
|
1770
1773
|
|
|
1771
1774
|
declare interface DatePickerMembers {
|
|
1772
1775
|
/**
|
|
@@ -2119,7 +2122,7 @@ declare interface DetailProps_3 {
|
|
|
2119
2122
|
/**
|
|
2120
2123
|
* See {@link Form.Dropdown}
|
|
2121
2124
|
*/
|
|
2122
|
-
declare const Dropdown: ForwardRefExoticComponent<DropdownProps & RefAttributes<
|
|
2125
|
+
declare const Dropdown: ForwardRefExoticComponent<DropdownProps & RefAttributes<DropdownRef>> & DropdownMembers;
|
|
2123
2126
|
|
|
2124
2127
|
/**
|
|
2125
2128
|
* See {@link Grid.Dropdown}
|
|
@@ -5641,7 +5644,7 @@ declare interface ItemProps extends ActionsInterface {
|
|
|
5641
5644
|
*/
|
|
5642
5645
|
quickLook?: {
|
|
5643
5646
|
name?: string | null;
|
|
5644
|
-
path:
|
|
5647
|
+
path: PathLike;
|
|
5645
5648
|
};
|
|
5646
5649
|
}
|
|
5647
5650
|
|
|
@@ -5687,7 +5690,7 @@ declare interface ItemProps_2 extends ActionsInterface {
|
|
|
5687
5690
|
*/
|
|
5688
5691
|
quickLook?: {
|
|
5689
5692
|
name?: string | null;
|
|
5690
|
-
path:
|
|
5693
|
+
path: PathLike;
|
|
5691
5694
|
};
|
|
5692
5695
|
/**
|
|
5693
5696
|
* An {@link ActionPanel} that will be updated for the selected grid item.
|
|
@@ -6834,7 +6837,7 @@ declare interface LabelProps {
|
|
|
6834
6837
|
redirectMethod: RedirectMethod;
|
|
6835
6838
|
providerName: string;
|
|
6836
6839
|
providerIcon?: Image.ImageLike;
|
|
6837
|
-
providerId
|
|
6840
|
+
providerId: string;
|
|
6838
6841
|
description?: string;
|
|
6839
6842
|
private resolvesOnRedirect?;
|
|
6840
6843
|
private isAuthorizing;
|
|
@@ -7535,7 +7538,7 @@ declare interface LabelProps {
|
|
|
7535
7538
|
/**
|
|
7536
7539
|
* @deprecated Use {@link getPreferenceValues} instead.
|
|
7537
7540
|
*/
|
|
7538
|
-
export declare const preferences:
|
|
7541
|
+
export declare const preferences: Preferences;
|
|
7539
7542
|
|
|
7540
7543
|
/**
|
|
7541
7544
|
* A record type holding the preferences (entered in Raycast Preferences) that have been passed to the command.
|
|
@@ -8055,7 +8058,7 @@ declare interface LabelProps {
|
|
|
8055
8058
|
* See {@link Action.SubmitForm.Props}
|
|
8056
8059
|
*/
|
|
8057
8060
|
declare const SubmitForm: {
|
|
8058
|
-
<T extends
|
|
8061
|
+
<T extends Form.Values>(props: SubmitFormProps<T>): JSX.Element;
|
|
8059
8062
|
displayName: string;
|
|
8060
8063
|
};
|
|
8061
8064
|
|
|
@@ -8063,7 +8066,7 @@ declare interface LabelProps {
|
|
|
8063
8066
|
* @deprecated Use {@link Action.SubmitForm} instead.
|
|
8064
8067
|
*/
|
|
8065
8068
|
export declare const SubmitFormAction: {
|
|
8066
|
-
<T extends
|
|
8069
|
+
<T extends Form.Values>(props: SubmitFormProps<T>): JSX.Element;
|
|
8067
8070
|
displayName: string;
|
|
8068
8071
|
};
|
|
8069
8072
|
|
|
@@ -8161,7 +8164,7 @@ declare interface LabelProps {
|
|
|
8161
8164
|
/**
|
|
8162
8165
|
* See {@link Form.TagPicker}
|
|
8163
8166
|
*/
|
|
8164
|
-
declare const TagPicker: ForwardRefExoticComponent<TagPickerProps & RefAttributes<
|
|
8167
|
+
declare const TagPicker: ForwardRefExoticComponent<TagPickerProps & RefAttributes<TagPickerRef>> & TagPickerMembers;
|
|
8165
8168
|
|
|
8166
8169
|
/**
|
|
8167
8170
|
* See {@link Form.TagPicker.Item}
|
|
@@ -8689,7 +8692,7 @@ declare interface LabelProps {
|
|
|
8689
8692
|
export declare function useNavigation(): Navigation;
|
|
8690
8693
|
|
|
8691
8694
|
/** @deprecated Use `useAI` from `@raycast/utils` */
|
|
8692
|
-
export declare const useUnstableAI: () =>
|
|
8695
|
+
export declare const useUnstableAI: () => undefined;
|
|
8693
8696
|
|
|
8694
8697
|
export declare namespace WindowManagement {
|
|
8695
8698
|
/**
|