Remove AgentBuilder, add file ops UI, unify code editor prompt routing
- Delete agent-builder-integration.ts, workflow-store.ts, prompts.ts (~1400줄) - Add move_file tool + sidebar file ops (right-click menu, inline rename, drag-drop, new folder) - Loop detection: read-only tools block at 2 repeats; planText capped at 12000 chars (fix 413) - Route proj-gen-*/proj-plan-* to handleCodeChat; remove duplicate codeAiSystemPrompt from handleChat Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2796,6 +2796,24 @@
|
||||
border-radius: 4px; flex-shrink: 0; transition: opacity .15s;
|
||||
}
|
||||
.csb-del:hover { background: rgba(248,113,113,.18); }
|
||||
.csb-add-btn {
|
||||
opacity: 0; background: none; border: none; color: var(--muted);
|
||||
cursor: pointer; font-size: 14px; padding: 1px 4px; border-radius: 4px;
|
||||
flex-shrink: 0; transition: opacity .15s; line-height: 1;
|
||||
}
|
||||
.csb-file-item:hover .csb-add-btn { opacity: 1; }
|
||||
.csb-add-btn:hover { background: rgba(99,102,241,.2); color: var(--brand); }
|
||||
.csb-drop-target { background: rgba(99,102,241,.15) !important; outline: 1px dashed #818cf8; border-radius: 4px; }
|
||||
#csb-ctx {
|
||||
position: fixed; z-index: 9999; display: none;
|
||||
background: var(--panel-2); border: 1px solid var(--line);
|
||||
border-radius: 7px; box-shadow: 0 4px 20px rgba(0,0,0,.45);
|
||||
min-width: 148px; overflow: hidden; padding: 3px 0;
|
||||
}
|
||||
.csb-ctx-item {
|
||||
padding: 7px 16px; font-size: 12px; cursor: pointer; white-space: nowrap; color: var(--text);
|
||||
}
|
||||
.csb-ctx-item:hover { background: var(--brand); color: #fff; }
|
||||
.code-folder-item {
|
||||
display: flex; align-items: center;
|
||||
padding: 5px 10px 5px 14px; font-size: 11px;
|
||||
|
||||
Reference in New Issue
Block a user