bravecode-cli 0.1.39 → 0.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli-main.mjs +6 -1
- package/dist/cli-main.mjs.map +2 -2
- package/package.json +1 -1
package/dist/cli-main.mjs
CHANGED
|
@@ -38185,7 +38185,7 @@ var APP_VERSION, APP_NAME;
|
|
|
38185
38185
|
var init_version = __esm({
|
|
38186
38186
|
"src/version.ts"() {
|
|
38187
38187
|
"use strict";
|
|
38188
|
-
APP_VERSION = "0.1.
|
|
38188
|
+
APP_VERSION = "0.1.40";
|
|
38189
38189
|
APP_NAME = "BraveCode";
|
|
38190
38190
|
}
|
|
38191
38191
|
});
|
|
@@ -42260,6 +42260,9 @@ function InputEditor({
|
|
|
42260
42260
|
setValue("");
|
|
42261
42261
|
onSubmit(v);
|
|
42262
42262
|
};
|
|
42263
|
+
React4.useEffect(() => {
|
|
42264
|
+
inputRef.current?.focus();
|
|
42265
|
+
});
|
|
42263
42266
|
if (showAbove) {
|
|
42264
42267
|
return /* @__PURE__ */ jsxs("box", { style: { flexDirection: "column" }, children: [
|
|
42265
42268
|
paletteOpen && filteredCommands.length > 0 ? /* @__PURE__ */ jsx(CommandPalette, { filter: paletteFilter, selectedIndex: 0 }) : null,
|
|
@@ -42280,6 +42283,7 @@ function InputEditor({
|
|
|
42280
42283
|
{
|
|
42281
42284
|
ref: inputRef,
|
|
42282
42285
|
value,
|
|
42286
|
+
focused: true,
|
|
42283
42287
|
onChange: (val) => setValue(s(val)),
|
|
42284
42288
|
onSubmit: () => doSubmit(),
|
|
42285
42289
|
placeholder: s(placeholder),
|
|
@@ -42310,6 +42314,7 @@ function InputEditor({
|
|
|
42310
42314
|
{
|
|
42311
42315
|
ref: inputRef,
|
|
42312
42316
|
value,
|
|
42317
|
+
focused: true,
|
|
42313
42318
|
onChange: (val) => setValue(s(val)),
|
|
42314
42319
|
onSubmit: () => doSubmit(),
|
|
42315
42320
|
placeholder: s(placeholder),
|