forked from johannesjo/parallel-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchannels.ts
More file actions
92 lines (81 loc) · 2.78 KB
/
channels.ts
File metadata and controls
92 lines (81 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
export enum IPC {
// Agent/PTY
SpawnAgent = 'spawn_agent',
WriteToAgent = 'write_to_agent',
ResizeAgent = 'resize_agent',
PauseAgent = 'pause_agent',
ResumeAgent = 'resume_agent',
KillAgent = 'kill_agent',
CountRunningAgents = 'count_running_agents',
KillAllAgents = 'kill_all_agents',
ListAgents = 'list_agents',
// Task
CreateTask = 'create_task',
DeleteTask = 'delete_task',
// Git
GetChangedFiles = 'get_changed_files',
GetChangedFilesFromBranch = 'get_changed_files_from_branch',
GetAllFileDiffs = 'get_all_file_diffs',
GetAllFileDiffsFromBranch = 'get_all_file_diffs_from_branch',
GetFileDiff = 'get_file_diff',
GetFileDiffFromBranch = 'get_file_diff_from_branch',
GetGitignoredDirs = 'get_gitignored_dirs',
GetWorktreeStatus = 'get_worktree_status',
CheckMergeStatus = 'check_merge_status',
MergeTask = 'merge_task',
GetBranchLog = 'get_branch_log',
PushTask = 'push_task',
RebaseTask = 'rebase_task',
GetMainBranch = 'get_main_branch',
GetCurrentBranch = 'get_current_branch',
CommitAll = 'commit_all',
DiscardUncommitted = 'discard_uncommitted',
// Persistence
SaveAppState = 'save_app_state',
LoadAppState = 'load_app_state',
// Window
WindowIsFocused = '__window_is_focused',
WindowIsMaximized = '__window_is_maximized',
WindowMinimize = '__window_minimize',
WindowToggleMaximize = '__window_toggle_maximize',
WindowClose = '__window_close',
WindowForceClose = '__window_force_close',
WindowHide = '__window_hide',
WindowMaximize = '__window_maximize',
WindowUnmaximize = '__window_unmaximize',
WindowSetSize = '__window_set_size',
WindowSetPosition = '__window_set_position',
WindowGetPosition = '__window_get_position',
WindowGetSize = '__window_get_size',
WindowFocus = '__window_focus',
WindowBlur = '__window_blur',
WindowResized = '__window_resized',
WindowMoved = '__window_moved',
WindowCloseRequested = '__window_close_requested',
// Dialog
DialogConfirm = '__dialog_confirm',
DialogOpen = '__dialog_open',
// Shell
ShellReveal = '__shell_reveal',
ShellOpenFile = '__shell_open_file',
ShellOpenInEditor = '__shell_open_in_editor',
// Arena
SaveArenaData = 'save_arena_data',
LoadArenaData = 'load_arena_data',
CreateArenaWorktree = 'create_arena_worktree',
RemoveArenaWorktree = 'remove_arena_worktree',
CheckPathExists = 'check_path_exists',
// Remote access
StartRemoteServer = 'start_remote_server',
StopRemoteServer = 'stop_remote_server',
GetRemoteStatus = 'get_remote_status',
// Plan
PlanContent = 'plan_content',
ReadPlanContent = 'read_plan_content',
// Ask about code
AskAboutCode = 'ask_about_code',
CancelAskAboutCode = 'cancel_ask_about_code',
// Notifications
ShowNotification = 'show_notification',
NotificationClicked = 'notification_clicked',
}