Provide suggestions for running commands (restart/refresh/rebuild) (#62)
This commit is contained in:
@@ -160,7 +160,10 @@ export type SuggestedAction =
|
||||
| RestartAppAction
|
||||
| SummarizeInNewChatAction
|
||||
| RefactorFileAction
|
||||
| WriteCodeProperlyAction;
|
||||
| WriteCodeProperlyAction
|
||||
| RebuildAction
|
||||
| RestartAction
|
||||
| RefreshAction;
|
||||
|
||||
export interface RestartAppAction {
|
||||
id: "restart-app";
|
||||
@@ -179,6 +182,18 @@ export interface RefactorFileAction {
|
||||
path: string;
|
||||
}
|
||||
|
||||
export interface RebuildAction {
|
||||
id: "rebuild";
|
||||
}
|
||||
|
||||
export interface RestartAction {
|
||||
id: "restart";
|
||||
}
|
||||
|
||||
export interface RefreshAction {
|
||||
id: "refresh";
|
||||
}
|
||||
|
||||
export interface ActionProposal {
|
||||
type: "action-proposal";
|
||||
actions: SuggestedAction[];
|
||||
|
||||
Reference in New Issue
Block a user