File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3127,7 +3127,7 @@ export const DevboxCreatePage = ({
31273127 paddingX = { 1 }
31283128 >
31293129 < Text color = { colors . textDim } dimColor >
3130- { `${ figures . arrowUp } ${ figures . arrowDown } Navigate • [Enter] ${ selectedGatewayIndex === 0 ? "Attach" : selectedGatewayIndex === maxGatewayIndex ? "Done" : "Select" } • [d] Remove • [esc] Back` }
3130+ { `${ figures . arrowUp } ${ figures . arrowDown } Navigate • [Enter] ${ selectedGatewayIndex === 0 ? "Attach" : selectedGatewayIndex === maxGatewayIndex ? "Done" : "Select" } • [d] Delete • [esc] Back` }
31313131 </ Text >
31323132 </ Box >
31333133 </ >
@@ -3408,7 +3408,7 @@ export const DevboxCreatePage = ({
34083408 paddingX = { 1 }
34093409 >
34103410 < Text color = { colors . textDim } dimColor >
3411- { `${ figures . arrowUp } ${ figures . arrowDown } Navigate • [Enter] ${ selectedMcpIndex === 0 ? "Attach" : selectedMcpIndex === maxMcpIndex ? "Done" : "Select" } • [d] Remove • [esc] Back` }
3411+ { `${ figures . arrowUp } ${ figures . arrowDown } Navigate • [Enter] ${ selectedMcpIndex === 0 ? "Attach" : selectedMcpIndex === maxMcpIndex ? "Done" : "Select" } • [d] Delete • [esc] Back` }
34123412 </ Text >
34133413 </ Box >
34143414 </ >
@@ -3564,7 +3564,7 @@ export const DevboxCreatePage = ({
35643564 < Text color = { colors . textDim } dimColor >
35653565 { editingAgentMountPath
35663566 ? "Type to edit path • [Enter/esc] Done"
3567- : `${ figures . arrowUp } ${ figures . arrowDown } Navigate • [Enter] Select • [e] Edit path • [d] Remove • [esc] Back` }
3567+ : `${ figures . arrowUp } ${ figures . arrowDown } Navigate • [Enter] Select • [e] Edit path • [d] Delete • [esc] Back` }
35683568 </ Text >
35693569 </ Box >
35703570 </ Box >
@@ -3693,7 +3693,7 @@ export const DevboxCreatePage = ({
36933693 < Text color = { colors . textDim } dimColor >
36943694 { editingObjectMountPath
36953695 ? "Type to edit path • [Enter/esc] Done"
3696- : `${ figures . arrowUp } ${ figures . arrowDown } Navigate • [Enter] Select • [e] Edit path • [d] Remove • [esc] Back` }
3696+ : `${ figures . arrowUp } ${ figures . arrowDown } Navigate • [Enter] Select • [e] Edit path • [d] Delete • [esc] Back` }
36973697 </ Text >
36983698 </ Box >
36993699 </ Box >
Original file line number Diff line number Diff line change @@ -394,7 +394,11 @@ export const ObjectCreatePage = ({
394394
395395 let buffer : Buffer ;
396396
397- if ( paths . length > 1 || isTar ) {
397+ const singleIsDir =
398+ paths . length === 1 &&
399+ ( await lstat ( resolvedPaths [ 0 ] ) ) . isDirectory ( ) ;
400+
401+ if ( paths . length > 1 || ( isTar && singleIsDir ) ) {
398402 const isGzip = formData . content_type === "tgz" ;
399403 buffer = await createTarBuffer ( resolvedPaths , isGzip ) ;
400404 } else {
Original file line number Diff line number Diff line change @@ -972,7 +972,7 @@ export function BenchmarkJobCreateScreen({
972972 setCurrentField ( fieldKeys [ currentFieldIndex + 1 ] ) ;
973973 }
974974 }
975- } ) ;
975+ } , { isActive : ! inMetadataSection } ) ;
976976
977977 useInput (
978978 ( input , key ) => {
You can’t perform that action at this time.
0 commit comments