feat(filesystem): add create-folder API for workspace picker

Adds a secure endpoint for creating a single subfolder in the current filesystem listing, and wires the non-native directory browser UI to create + enter the new folder.
This commit is contained in:
Shantur Rathore
2026-01-23 12:33:15 +00:00
parent b0eb9aec64
commit f0b43dbc68
9 changed files with 265 additions and 38 deletions

View File

@@ -81,6 +81,14 @@
width: auto;
}
.directory-browser-current-actions {
display: flex;
align-items: center;
gap: var(--space-sm);
flex-wrap: wrap;
justify-content: flex-end;
}
.directory-browser-close {
display: inline-flex;

View File

@@ -103,6 +103,25 @@
box-shadow: 0 0 0 2px var(--accent-primary);
}
/* Form controls */
.form-input {
@apply w-full px-3 py-2 text-sm;
background-color: var(--surface-base);
border: 1px solid var(--border-base);
border-radius: var(--radius-md);
color: var(--text-primary);
}
.form-input::placeholder {
color: var(--text-muted);
}
.form-input:focus {
outline: none;
border-color: transparent;
box-shadow: 0 0 0 2px var(--accent-primary);
}
/* Shared animations */
@keyframes pulse {
0%, 100% { opacity: 1; }