Add step 624 in-editor agent chat panel model

This commit is contained in:
Bill
2026-02-17 21:08:49 -07:00
parent 6abc7c6e8f
commit 49b80096f1
9 changed files with 322 additions and 11 deletions

View File

@@ -33,6 +33,7 @@
#include "panels/BottomPanel.h"
#include "panels/StatusBarPanel.h"
#include "panels/HelpPanelWindow.h"
#include "panels/AgentChatPanel.h"
static std::string emacsChordForEvent(SDL_Keycode sym, Uint16 mods) {
std::string base;
@@ -344,10 +345,11 @@ int main(int, char**) {
DragDropHandler::handleDrop(droppedFile,
[&](const std::string& p) { state.doOpen(p, state.defaultBufferMode()); },
[&](const std::string& p) {
state.workspaceRoot = p;
state.fileTreeDirty = true;
state.search.projectSearch.setRoot(state.workspaceRoot);
state.refreshBuildSystem();
std::string error;
if (!state.setWorkspaceRoot(p, &error)) {
state.notify(NotificationLevel::Error,
"Failed to open dropped folder: " + error);
}
});
SDL_free(droppedFile);
}
@@ -523,6 +525,7 @@ int main(int, char**) {
renderCommandPalette(state);
renderEditorPanel(state);
renderBottomPanel(state);
renderAgentChatPanel(state);
renderMemoryStrategiesPanel(state);
renderStatusBar(state);
static FirstRunWizardState wizard;