@blastlauncher/runtime 1.0.5 → 3.0.0-alpha.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/README.md +4 -10
- package/dist/api/action-panel.d.ts +134 -0
- package/dist/api/action-panel.js +36 -0
- package/dist/api/action.d.ts +386 -0
- package/dist/api/action.js +260 -0
- package/dist/api/ai-browser.d.ts +423 -0
- package/dist/api/ai-browser.js +113 -0
- package/dist/api/ai-decide.d.ts +41 -0
- package/dist/api/ai-decide.js +62 -0
- package/dist/api/applications.d.ts +13 -0
- package/dist/api/applications.js +48 -0
- package/dist/api/cache.d.ts +27 -0
- package/dist/api/cache.js +126 -0
- package/dist/api/capability.d.ts +14 -0
- package/dist/api/capability.js +30 -0
- package/dist/api/clipboard.d.ts +57 -0
- package/dist/api/clipboard.js +83 -0
- package/dist/api/detail.d.ts +33 -0
- package/dist/api/detail.js +11 -0
- package/dist/api/diagnostics.d.ts +16 -0
- package/dist/api/diagnostics.js +26 -0
- package/dist/api/dropdown.d.ts +17 -0
- package/dist/api/dropdown.js +48 -0
- package/dist/api/enums.generated.d.ts +750 -0
- package/dist/api/enums.generated.js +719 -0
- package/dist/api/environment.d.ts +44 -0
- package/dist/api/environment.js +61 -0
- package/dist/api/feedback.d.ts +94 -0
- package/dist/api/feedback.js +228 -0
- package/dist/api/form.d.ts +162 -0
- package/dist/api/form.js +345 -0
- package/dist/api/grid.d.ts +293 -0
- package/dist/api/grid.js +36 -0
- package/dist/api/implemented.d.ts +53 -0
- package/dist/api/implemented.js +43 -0
- package/dist/api/index.d.ts +612 -0
- package/dist/api/index.js +82 -0
- package/dist/api/keyboard.d.ts +182 -0
- package/dist/api/keyboard.js +107 -0
- package/dist/api/launch.d.ts +40 -0
- package/dist/api/launch.js +27 -0
- package/dist/api/legacy.d.ts +9 -0
- package/dist/api/legacy.js +25 -0
- package/dist/api/list.d.ts +291 -0
- package/dist/api/list.js +28 -0
- package/dist/api/menu-bar.d.ts +54 -0
- package/dist/api/menu-bar.js +30 -0
- package/dist/api/metadata.d.ts +62 -0
- package/dist/api/metadata.js +33 -0
- package/dist/api/navigation.d.ts +36 -0
- package/dist/api/navigation.js +99 -0
- package/dist/api/oauth.d.ts +84 -0
- package/dist/api/oauth.js +125 -0
- package/dist/api/open.d.ts +18 -0
- package/dist/api/open.js +36 -0
- package/dist/api/preferences.d.ts +43 -0
- package/dist/api/preferences.js +41 -0
- package/dist/api/selection.d.ts +10 -0
- package/dist/api/selection.js +31 -0
- package/dist/api/slot.d.ts +7 -0
- package/dist/api/slot.js +11 -0
- package/dist/api/storage.d.ts +24 -0
- package/dist/api/storage.js +45 -0
- package/dist/api/types.d.ts +46 -0
- package/dist/api/types.js +5 -0
- package/dist/api/unsupported.d.ts +18 -0
- package/dist/api/unsupported.generated.d.ts +1255 -0
- package/dist/api/unsupported.generated.js +56 -0
- package/dist/api/unsupported.js +65 -0
- package/dist/api/window-management.d.ts +97 -0
- package/dist/api/window-management.js +164 -0
- package/dist/api/window.d.ts +16 -0
- package/dist/api/window.js +32 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +339 -0
- package/dist/provider.d.ts +8 -0
- package/dist/provider.js +107 -0
- package/dist/reconciler/index.d.ts +9 -0
- package/dist/reconciler/index.js +186 -0
- package/dist/reconciler/serialize.d.ts +3 -0
- package/dist/reconciler/serialize.js +53 -0
- package/dist/reconciler/types.d.ts +8 -0
- package/dist/reconciler/types.js +1 -0
- package/package.json +38 -23
- package/.eslintrc.js +0 -6
- package/CHANGELOG.md +0 -19
- package/dist/App.d.ts +0 -5
- package/dist/App.js +0 -10
- package/dist/components/CommandList/index.d.ts +0 -1
- package/dist/components/CommandList/index.js +0 -20
- package/dist/components/CommandList/utils.d.ts +0 -1
- package/dist/components/CommandList/utils.js +0 -24
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -11
- package/dist/utils/connectDevtools.d.ts +0 -1
- package/dist/utils/connectDevtools.js +0 -11
- package/dist/utils/run.d.ts +0 -4
- package/dist/utils/run.js +0 -12
- package/dist/utils/window.d.ts +0 -0
- package/dist/utils/window.js +0 -2
- package/src/@types/raycast.d.ts +0 -4
- package/src/@types/react-devtools-core.d.ts +0 -19
- package/src/App.tsx +0 -18
- package/src/components/CommandList/index.tsx +0 -27
- package/src/components/CommandList/utils.ts +0 -26
- package/src/index.ts +0 -13
- package/src/utils/connectDevtools.ts +0 -8
- package/src/utils/run.ts +0 -7
- package/src/utils/window.js +0 -1
- package/tsconfig.json +0 -10
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export { Action, CopyToClipboard, type ActionProps, type CopyToClipboardProps } from "./action.js";
|
|
2
|
+
export { Open, OpenAction, OpenWith, OpenWithAction, ShowInFinder, ShowInFinderAction, Trash, TrashAction, CreateSnippet, CreateQuicklink, ToggleQuickLook, PickDate, type OpenProps, type OpenWithProps, type ShowInFinderProps, type TrashProps, type Snippet, type Quicklink, type CreateSnippetProps, type CreateQuicklinkProps, type ToggleQuickLookProps, type PickDateProps, type DatePickerTypeValue, type InstallMCPServerProps, type MCPServer, type StdioMCPServer, type SSEMCPServer, type IconValue, } from "./action.js";
|
|
3
|
+
export { ActionPanel, ActionPanelItem, ActionPanelSubmenu, useActionPanel, type ActionPanelProps, type ActionPanelSectionProps, type ActionPanelState, type ActionPanelSubmenuProps, } from "./action-panel.js";
|
|
4
|
+
export { Clipboard, type ClipboardContent, type CopyOptions, type PasteOptions, type ReadContent, } from "./clipboard.js";
|
|
5
|
+
export { environment, type Environment } from "./environment.js";
|
|
6
|
+
export { Grid, type GridAspectRatio, type GridDropdownItemProps, type GridDropdownProps, type GridDropdownSectionProps, type GridEmptyViewProps, type GridFit, type GridInset, type GridItemAccessory, type GridItemContent, type GridItemProps, type GridItemSize, type GridProps, type GridSectionProps, } from "./grid.js";
|
|
7
|
+
export { List, type ListProps, type ListItemProps, type ListSectionProps, type ListEmptyViewProps, type ListAccessory, type ListDropdownProps, type ListDropdownItemProps, type ListDropdownSectionProps, } from "./list.js";
|
|
8
|
+
export { getPreferenceValues, openCommandPreferences, openExtensionPreferences, preferences, type Preference, type Preferences, type PreferenceType, type PreferenceValues, } from "./preferences.js";
|
|
9
|
+
export { Icon, Image, LaunchType, PopToRootType } from "./enums.generated.js";
|
|
10
|
+
/**
|
|
11
|
+
* The declared enum values plus the deprecated `Color.Brown`. The declarations
|
|
12
|
+
* carry no value for it, so it uses Apple's documented system brown pair.
|
|
13
|
+
*/
|
|
14
|
+
export declare const Color: {
|
|
15
|
+
Blue: "raycast-blue";
|
|
16
|
+
Green: "raycast-green";
|
|
17
|
+
Magenta: "raycast-magenta";
|
|
18
|
+
Orange: "raycast-orange";
|
|
19
|
+
Purple: "raycast-purple";
|
|
20
|
+
Red: "raycast-red";
|
|
21
|
+
Yellow: "raycast-yellow";
|
|
22
|
+
PrimaryText: "raycast-primary-text";
|
|
23
|
+
SecondaryText: "raycast-secondary-text";
|
|
24
|
+
Brown: {
|
|
25
|
+
light: string;
|
|
26
|
+
dark: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
/** Deprecated alias of `Image.Mask`, exactly as the declarations define it. */
|
|
30
|
+
export declare const ImageMask: {
|
|
31
|
+
readonly Circle: "circle";
|
|
32
|
+
readonly RoundedRectangle: "roundedRectangle";
|
|
33
|
+
};
|
|
34
|
+
export { OpenInBrowser, Paste, CopyToClipboardAction, PasteAction } from "./action.js";
|
|
35
|
+
export { Detail, type DetailProps } from "./detail.js";
|
|
36
|
+
export { Keyboard } from "./keyboard.js";
|
|
37
|
+
export { closeMainWindow, type CloseMainWindowOptions } from "./window.js";
|
|
38
|
+
export { launchCommand, updateCommandMetadata, type LaunchCommandOptions, type LaunchContext, type LaunchProps, type LaunchTypeValue, } from "./launch.js";
|
|
39
|
+
export { PushAction } from "./action.js";
|
|
40
|
+
export { popToRoot, clearSearchBar, useNavigation, type ClearSearchBarOptions, } from "./navigation.js";
|
|
41
|
+
export { randomId, render, useId } from "./legacy.js";
|
|
42
|
+
export { Toast, ToastStyle, Alert, AlertActionStyle, showToast, showHUD, confirmAlert, } from "./feedback.js";
|
|
43
|
+
export { LocalStorage, allLocalStorageItems, clearLocalStorage, getLocalStorageItem, removeLocalStorageItem, setLocalStorageItem, type LocalStorageValue, type LocalStorageValues, } from "./storage.js";
|
|
44
|
+
export { open, type Application } from "./open.js";
|
|
45
|
+
export { getApplications, getDefaultApplication } from "./applications.js";
|
|
46
|
+
export { captureException, captureMemorySnapshot } from "./diagnostics.js";
|
|
47
|
+
export { WindowManagement, DesktopType, type Desktop, type DesktopTypeValue, type Window, type WindowBounds, type SetWindowBoundsOptions, } from "./window-management.js";
|
|
48
|
+
export { Form, SubmitForm as SubmitFormAction } from "./form.js";
|
|
49
|
+
export { Cache } from "./cache.js";
|
|
50
|
+
export { MenuBarExtra } from "./menu-bar.js";
|
|
51
|
+
export { getSelectedText, getSelectedFinderItems, getFrontmostApplication, showInFinder, trash, } from "./selection.js";
|
|
52
|
+
export { OAuth } from "./oauth.js";
|
|
53
|
+
export { AI, BrowserExtension, Tool, unstable_AI, useUnstableAI } from "./ai-browser.js";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// Implemented `@raycast/api` exports. Element-valued props are
|
|
2
|
+
// rendered as `Slot` children (see docs/architecture.md, "Scene conventions").
|
|
3
|
+
import { Image } from "./enums.generated.js";
|
|
4
|
+
export { Action, CopyToClipboard } from "./action.js";
|
|
5
|
+
export { Open, OpenAction, OpenWith, OpenWithAction, ShowInFinder, ShowInFinderAction, Trash, TrashAction, CreateSnippet, CreateQuicklink, ToggleQuickLook, PickDate, } from "./action.js";
|
|
6
|
+
export { ActionPanel, ActionPanelItem, ActionPanelSubmenu, useActionPanel, } from "./action-panel.js";
|
|
7
|
+
export { Clipboard, } from "./clipboard.js";
|
|
8
|
+
export { environment } from "./environment.js";
|
|
9
|
+
export { Grid, } from "./grid.js";
|
|
10
|
+
export { List, } from "./list.js";
|
|
11
|
+
export { getPreferenceValues, openCommandPreferences, openExtensionPreferences, preferences, } from "./preferences.js";
|
|
12
|
+
import { Color as ColorValues } from "./enums.generated.js";
|
|
13
|
+
export { Icon, Image, LaunchType, PopToRootType } from "./enums.generated.js";
|
|
14
|
+
/**
|
|
15
|
+
* The declared enum values plus the deprecated `Color.Brown`. The declarations
|
|
16
|
+
* carry no value for it, so it uses Apple's documented system brown pair.
|
|
17
|
+
*/
|
|
18
|
+
export const Color = {
|
|
19
|
+
...ColorValues,
|
|
20
|
+
Brown: { light: "#A2845E", dark: "#AC8E68" },
|
|
21
|
+
};
|
|
22
|
+
/** Deprecated alias of `Image.Mask`, exactly as the declarations define it. */
|
|
23
|
+
export const ImageMask = Image.Mask;
|
|
24
|
+
export { OpenInBrowser, Paste, CopyToClipboardAction, PasteAction } from "./action.js";
|
|
25
|
+
export { Detail } from "./detail.js";
|
|
26
|
+
export { Keyboard } from "./keyboard.js";
|
|
27
|
+
export { closeMainWindow } from "./window.js";
|
|
28
|
+
export { launchCommand, updateCommandMetadata, } from "./launch.js";
|
|
29
|
+
export { PushAction } from "./action.js";
|
|
30
|
+
export { popToRoot, clearSearchBar, useNavigation, } from "./navigation.js";
|
|
31
|
+
export { randomId, render, useId } from "./legacy.js";
|
|
32
|
+
export { Toast, ToastStyle, Alert, AlertActionStyle, showToast, showHUD, confirmAlert, } from "./feedback.js";
|
|
33
|
+
export { LocalStorage, allLocalStorageItems, clearLocalStorage, getLocalStorageItem, removeLocalStorageItem, setLocalStorageItem, } from "./storage.js";
|
|
34
|
+
export { open } from "./open.js";
|
|
35
|
+
export { getApplications, getDefaultApplication } from "./applications.js";
|
|
36
|
+
export { captureException, captureMemorySnapshot } from "./diagnostics.js";
|
|
37
|
+
export { WindowManagement, DesktopType, } from "./window-management.js";
|
|
38
|
+
export { Form, SubmitForm as SubmitFormAction } from "./form.js";
|
|
39
|
+
export { Cache } from "./cache.js";
|
|
40
|
+
export { MenuBarExtra } from "./menu-bar.js";
|
|
41
|
+
export { getSelectedText, getSelectedFinderItems, getFrontmostApplication, showInFinder, trash, } from "./selection.js";
|
|
42
|
+
export { OAuth } from "./oauth.js";
|
|
43
|
+
export { AI, BrowserExtension, Tool, unstable_AI, useUnstableAI } from "./ai-browser.js";
|