The best way to control Claude Code, Codex and more from any computer or phone

main
ts 156 lines 11.2 KB
Raw
1 export const PICK_FOLDER_CHANNEL = "desktop:pick-folder";
2 export const TO_LOCAL_BACKEND_PATH_CHANNEL = "desktop:to-local-backend-path";
3 export const SET_NOTIFICATION_BADGE_CHANNEL = "desktop:set-notification-badge";
4 export const PICK_PROJECT_FAVICON_CHANNEL = "desktop:pick-project-favicon";
5 export const PICK_THEME_FILES_CHANNEL = "desktop:pick-theme-files";
6 export const SET_THEME_CHANNEL = "desktop:set-theme";
7 export const CONTEXT_MENU_CHANNEL = "desktop:context-menu";
8 export const OPEN_EXTERNAL_CHANNEL = "desktop:open-external";
9 export const READ_MEDIA_CHANNEL = "desktop:read-media";
10 export const OPEN_SYSTEM_SETTINGS_CHANNEL = "desktop:open-system-settings";
11 export const PROBE_REMOTE_EDITORS_CHANNEL = "desktop:probe-remote-editors";
12 export const MENU_ACTION_CHANNEL = "desktop:menu-action";
13 export const PASTE_AS_TEXT_CHANNEL = "desktop:paste-as-text";
14 export const REVEAL_WINDOW_CHANNEL = "desktop:reveal-window";
15 export const SNAP_SHOT_EVENT_CHANNEL = "desktop:snap-shot-event";
16 export const WEB_LINK_OPEN_CHANNEL = "desktop:web-link-open";
17 export const WEB_LINK_READY_CHANNEL = "desktop:web-link-ready";
18 export const QUIT_SHORTCUT_CHANNEL = "desktop:quit-shortcut";
19 export const TRACKPAD_SCROLL_BEGIN_CHANNEL = "desktop:trackpad-scroll-begin";
20 export const TRACKPAD_SCROLL_END_CHANNEL = "desktop:trackpad-scroll-end";
21 export const GET_WINDOW_FULLSCREEN_STATE_CHANNEL = "desktop:get-window-fullscreen-state";
22 export const WINDOW_FULLSCREEN_STATE_CHANNEL = "desktop:window-fullscreen-state";
23 export const SYNC_HTML_FULLSCREEN_CHANNEL = "desktop:sync-html-fullscreen";
24 export const DESKTOP_APP_ACTIVATION_READY_CHANNEL = "desktop:app-activation-ready";
25 export const DESKTOP_APP_ACTIVATION_COMPLETE_CHANNEL = "desktop:app-activation-complete";
26 export const DESKTOP_APP_ACTIVATION_REQUEST_CHANNEL = "desktop:app-activation-request";
27 export const UPDATE_STATE_CHANNEL = "desktop:update-state";
28 export const UPDATE_GET_STATE_CHANNEL = "desktop:update-get-state";
29 export const UPDATE_SET_CHANNEL_CHANNEL = "desktop:update-set-channel";
30 export const UPDATE_DOWNLOAD_CHANNEL = "desktop:update-download";
31 export const UPDATE_INSTALL_CHANNEL = "desktop:update-install";
32 export const UPDATE_CHECK_CHANNEL = "desktop:update-check";
33 export const CLI_COMMAND_GET_STATE_CHANNEL = "desktop:cli-command-get-state";
34 export const CLI_COMMAND_INSTALL_CHANNEL = "desktop:cli-command-install";
35 export const CLI_COMMAND_UNINSTALL_CHANNEL = "desktop:cli-command-uninstall";
36 export const CLI_COMMAND_ADD_TO_PATH_CHANNEL = "desktop:cli-command-add-to-path";
37 export const GET_APP_BRANDING_CHANNEL = "desktop:get-app-branding";
38 export const GET_RELAY_TELEMETRY_ENABLED_CHANNEL = "desktop:get-relay-telemetry-enabled";
39 export const GET_SYSTEM_LOCALE_CHANNEL = "desktop:get-system-locale";
40 export const GET_PREFERRED_SYSTEM_LANGUAGES_CHANNEL = "desktop:get-preferred-system-languages";
41 export const GET_PRIMARY_PASTE_ENABLED_CHANNEL = "desktop:get-primary-paste-enabled";
42 export const GET_LOCAL_ENVIRONMENT_BOOTSTRAPS_CHANNEL = "desktop:get-local-environment-bootstraps";
43 export const GET_LOCAL_ENVIRONMENT_ENABLED_CHANNEL = "desktop:get-local-environment-enabled";
44 export const SET_LOCAL_ENVIRONMENT_ENABLED_CHANNEL = "desktop:set-local-environment-enabled";
45 export const GET_HOST_ENVIRONMENT_ID_CHANNEL = "desktop:get-host-environment-id";
46 export const GET_LOCAL_ENVIRONMENT_BEARER_TOKEN_CHANNEL =
47 "desktop:get-local-environment-bearer-token";
48 export const GET_CLIENT_SETTINGS_CHANNEL = "desktop:get-client-settings";
49 export const SET_CLIENT_SETTINGS_CHANNEL = "desktop:set-client-settings";
50 export const SETUP_SNAP_SHOT_CHANNEL = "desktop:setup-snap-shot";
51 export const PREVIEW_SNAP_SHOT_CONFIG_CHANNEL = "desktop:preview-snap-shot-config";
52 export const APPLY_SNAP_SHOT_CONFIG_CHANNEL = "desktop:apply-snap-shot-config";
53 export const REQUEST_SNAP_SHOT_PERMISSIONS_CHANNEL = "desktop:request-snap-shot-permissions";
54 export const GET_SNAP_SHOT_STATE_CHANNEL = "desktop:get-snap-shot-state";
55 export const CHECK_SNAP_SHOT_SHORTCUT_CHANNEL = "desktop:check-snap-shot-shortcut";
56 export const SET_SNAP_SHOT_SHORTCUT_SUPPRESSED_CHANNEL =
57 "desktop:set-snap-shot-shortcut-suppressed";
58 export const LIST_PENDING_SNAP_SHOTS_CHANNEL = "desktop:list-pending-snap-shots";
59 export const READ_SNAP_SHOT_CHANNEL = "desktop:read-snap-shot";
60 export const SET_SNAP_SHOT_ANIMATION_DESTINATION_CHANNEL =
61 "desktop:set-snap-shot-animation-destination";
62 export const DISMISS_SNAP_SHOT_ANIMATION_CHANNEL = "desktop:dismiss-snap-shot-animation";
63 export const ACKNOWLEDGE_SNAP_SHOT_CHANNEL = "desktop:acknowledge-snap-shot";
64 export const GET_CONNECTION_CATALOG_CHANNEL = "desktop:get-connection-catalog";
65 export const SET_CONNECTION_CATALOG_CHANNEL = "desktop:set-connection-catalog";
66 export const DISCOVER_SSH_HOSTS_CHANNEL = "desktop:discover-ssh-hosts";
67 export const RESOLVE_SSH_HOST_CHANNEL = "desktop:resolve-ssh-host";
68 export const ENSURE_SSH_ENVIRONMENT_CHANNEL = "desktop:ensure-ssh-environment";
69 export const DISCONNECT_SSH_ENVIRONMENT_CHANNEL = "desktop:disconnect-ssh-environment";
70 export const FETCH_SSH_ENVIRONMENT_DESCRIPTOR_CHANNEL = "desktop:fetch-ssh-environment-descriptor";
71 export const BOOTSTRAP_SSH_BEARER_SESSION_CHANNEL = "desktop:bootstrap-ssh-bearer-session";
72 export const FETCH_SSH_SESSION_STATE_CHANNEL = "desktop:fetch-ssh-session-state";
73 export const SSH_PASSWORD_PROMPT_CHANNEL = "desktop:ssh-password-prompt";
74 export const RESOLVE_SSH_PASSWORD_PROMPT_CHANNEL = "desktop:resolve-ssh-password-prompt";
75 export const SSH_PASSWORD_PROMPT_SETTLED_CHANNEL = "desktop:ssh-password-prompt-settled";
76 export const GET_SERVER_EXPOSURE_STATE_CHANNEL = "desktop:get-server-exposure-state";
77 export const SET_SERVER_EXPOSURE_MODE_CHANNEL = "desktop:set-server-exposure-mode";
78 export const SET_TAILSCALE_SERVE_ENABLED_CHANNEL = "desktop:set-tailscale-serve-enabled";
79 export const GET_ADVERTISED_ENDPOINTS_CHANNEL = "desktop:get-advertised-endpoints";
80 export const GET_WSL_STATE_CHANNEL = "desktop:get-wsl-state";
81 export const SET_WSL_BACKEND_ENABLED_CHANNEL = "desktop:set-wsl-backend-enabled";
82 export const SET_WSL_DISTRO_CHANNEL = "desktop:set-wsl-distro";
83 export const SET_WSL_ONLY_CHANNEL = "desktop:set-wsl-only";
84 export const SSH_PASSWORD_PROMPT_CANCELLED_RESULT = "ssh-password-prompt-cancelled";
85 export const PREVIEW_SET_FORWARDED_SHORTCUTS_CHANNEL = "desktop:preview-set-forwarded-shortcuts";
86 export const PREVIEW_CREATE_TAB_CHANNEL = "desktop:preview-create-tab";
87 export const PREVIEW_CLOSE_TAB_CHANNEL = "desktop:preview-close-tab";
88 export const PREVIEW_REGISTER_WEBVIEW_CHANNEL = "desktop:preview-register-webview";
89 export const PREVIEW_NAVIGATE_CHANNEL = "desktop:preview-navigate";
90 export const PREVIEW_GO_BACK_CHANNEL = "desktop:preview-go-back";
91 export const PREVIEW_GO_FORWARD_CHANNEL = "desktop:preview-go-forward";
92 export const PREVIEW_STOP_LOADING_CHANNEL = "desktop:preview-stop-loading";
93 export const PREVIEW_REFRESH_CHANNEL = "desktop:preview-refresh";
94 export const PREVIEW_ZOOM_IN_CHANNEL = "desktop:preview-zoom-in";
95 export const PREVIEW_ZOOM_OUT_CHANNEL = "desktop:preview-zoom-out";
96 export const PREVIEW_RESET_ZOOM_CHANNEL = "desktop:preview-reset-zoom";
97 export const PREVIEW_SET_ZOOM_FACTOR_CHANNEL = "desktop:preview-set-zoom-factor";
98 export const PREVIEW_HARD_RELOAD_CHANNEL = "desktop:preview-hard-reload";
99 export const PREVIEW_SET_COLOR_SCHEME_CHANNEL = "desktop:preview-set-color-scheme";
100 export const PREVIEW_SET_AUDIO_MUTED_CHANNEL = "desktop:preview-set-audio-muted";
101 export const PREVIEW_FIND_IN_PAGE_CHANNEL = "desktop:preview-find-in-page";
102 export const PREVIEW_STOP_FIND_IN_PAGE_CHANNEL = "desktop:preview-stop-find-in-page";
103 export const PREVIEW_SET_SHOWN_CHANNEL = "desktop:preview-set-shown";
104 export const PREVIEW_SET_CAPTURE_DRAWN_CHANNEL = "desktop:preview-set-capture-drawn";
105 export const PREVIEW_OPEN_DEVTOOLS_CHANNEL = "desktop:preview-open-devtools";
106 export const PREVIEW_CLEAR_COOKIES_CHANNEL = "desktop:preview-clear-cookies";
107 export const PREVIEW_CLEAR_CACHE_CHANNEL = "desktop:preview-clear-cache";
108 export const PREVIEW_GET_CONFIG_CHANNEL = "desktop:preview-get-config";
109 export const PREVIEW_IMPORT_SOURCES_CHANNEL = "desktop:preview-import-sources";
110 export const PREVIEW_IMPORT_COOKIES_CHANNEL = "desktop:preview-import-cookies";
111 export const PREVIEW_SET_ANNOTATION_THEME_CHANNEL = "desktop:preview-set-annotation-theme";
112 export const PREVIEW_SET_ANNOTATION_SEND_ENABLED_CHANNEL =
113 "desktop:preview-set-annotation-send-enabled";
114 export const PREVIEW_PICK_ELEMENT_CHANNEL = "desktop:preview-pick-element";
115 export const PREVIEW_CANCEL_PICK_ELEMENT_CHANNEL = "desktop:preview-cancel-pick-element";
116 export const PREVIEW_CAPTURE_SCREENSHOT_CHANNEL = "desktop:preview-capture-screenshot";
117 export const PREVIEW_REVEAL_ARTIFACT_CHANNEL = "desktop:preview-reveal-artifact";
118 export const PREVIEW_COPY_ARTIFACT_CHANNEL = "desktop:preview-copy-artifact";
119 export const PREVIEW_PICTURE_IN_PICTURE_OPEN_CHANNEL = "desktop:preview-pip-open";
120 export const PREVIEW_PICTURE_IN_PICTURE_CLOSE_CHANNEL = "desktop:preview-pip-close";
121 export const PREVIEW_PICTURE_IN_PICTURE_FRAME_CHANNEL = "desktop:preview-pip-frame";
122 export const PREVIEW_RECORDING_START_CHANNEL = "desktop:preview-recording-start";
123 export const PREVIEW_RECORDING_STOP_CHANNEL = "desktop:preview-recording-stop";
124 export const PREVIEW_RECORDING_SAVE_CHANNEL = "desktop:preview-recording-save";
125 export const PREVIEW_STATE_CHANGE_CHANNEL = "desktop:preview-state-change";
126 export const PREVIEW_POINTER_EVENT_CHANNEL = "desktop:preview-pointer-event";
127 export const PREVIEW_OPEN_LINK_CHANNEL = "desktop:preview-open-link";
128 export const PREVIEW_FIND_RESULT_CHANNEL = "desktop:preview-find-result";
129 export const PREVIEW_TUNNEL_ACCESS_REQUEST_CHANNEL = "desktop:preview-tunnel-access-request";
130 export const PREVIEW_TUNNEL_ACCESS_RESOLVE_CHANNEL = "desktop:preview-tunnel-access-resolve";
131 export const PORT_FORWARD_START_CHANNEL = "desktop:port-forward-start";
132 export const PORT_FORWARD_STOP_CHANNEL = "desktop:port-forward-stop";
133 export const PORT_FORWARD_LIST_CHANNEL = "desktop:port-forward-list";
134 export const PORT_FORWARD_CHANGE_CHANNEL = "desktop:port-forward-change";
135 export const PORT_FORWARD_SHARES_LOOPBACK_CHANNEL = "desktop:port-forward-shares-loopback";
136
137 export const MAC_PERMISSION_HELPER_CHANNEL = "desktop:mac-permission-helper";
138
139 export const CHECK_SYSTEM_PERMISSION_CHANNEL = "desktop:check-system-permission";
140 export const APPLE_SPEECH_AVAILABLE_CHANNEL = "desktop:apple-speech-available";
141 export const APPLE_SPEECH_PREPARE_CHANNEL = "desktop:apple-speech-prepare";
142 export const APPLE_SPEECH_TRANSCRIBE_CHANNEL = "desktop:apple-speech-transcribe";
143
144 export const PREVIEW_RECORDING_INPUT_CHANNEL = "desktop:preview-recording-input";
145
146 export const PREVIEW_ANNOTATION_VOICE_EVENT_CHANNEL = "desktop:preview-annotation-voice-event";
147 export const PREVIEW_ANNOTATION_VOICE_STATE_CHANNEL = "desktop:preview-annotation-voice-state";
148
149 export const RECEIVE_PROVIDER_AUTH_CALLBACK_CHANNEL = "desktop:receive-provider-auth-callback";
150 export const CANCEL_PROVIDER_AUTH_CALLBACK_CHANNEL = "desktop:cancel-provider-auth-callback";
151 export const TAKE_LEGACY_LOCAL_STORAGE_CHANNEL = "desktop:take-legacy-local-storage";
152 export const COMPLETE_LEGACY_LOCAL_STORAGE_CHANNEL = "desktop:complete-legacy-local-storage";
153
154 export const RESTART_AUDIO_SERVICE_CHANNEL = "desktop:restart-audio-service";
155
156 export const START_FILE_DRAG_CHANNEL = "desktop:start-file-drag";