Provide suggestions for running commands (restart/refresh/rebuild) (#62)

This commit is contained in:
Will Chen
2025-05-01 21:44:51 -07:00
committed by GitHub
parent a8fd91a410
commit 1bbfedc668
5 changed files with 149 additions and 1 deletions

View File

@@ -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[];