Backup before continuing from Codex 5.2 session - User storage, compaction suggestions, streaming improvements

This commit is contained in:
Gemini AI
2025-12-24 21:27:05 +04:00
Unverified
parent f9748391a9
commit e8c38b0add
93 changed files with 10615 additions and 2037 deletions

View File

@@ -24,6 +24,8 @@ import {
setIsSelectingFolder,
showFolderSelection,
setShowFolderSelection,
showFolderSelectionOnStart,
setShowFolderSelectionOnStart,
} from "./stores/ui"
import { useConfig } from "./stores/preferences"
import {
@@ -74,6 +76,8 @@ const App: Component = () => {
const [remoteAccessOpen, setRemoteAccessOpen] = createSignal(false)
const [instanceTabBarHeight, setInstanceTabBarHeight] = createSignal(0)
const shouldShowFolderSelection = () => !hasInstances() || showFolderSelectionOnStart()
const updateInstanceTabBarHeight = () => {
if (typeof document === "undefined") return
const element = document.querySelector<HTMLElement>(".tab-bar-instance")
@@ -156,6 +160,7 @@ const App: Component = () => {
clearLaunchError()
const instanceId = await createInstance(folderPath, selectedBinary)
setShowFolderSelection(false)
setShowFolderSelectionOnStart(false)
setIsAdvancedSettingsOpen(false)
log.info("Created instance", {
@@ -375,7 +380,7 @@ const App: Component = () => {
</Dialog>
<div class="h-screen w-screen flex flex-col">
<Show
when={!hasInstances()}
when={shouldShowFolderSelection()}
fallback={
<>
<InstanceTabs
@@ -432,6 +437,7 @@ const App: Component = () => {
<button
onClick={() => {
setShowFolderSelection(false)
setShowFolderSelectionOnStart(false)
setIsAdvancedSettingsOpen(false)
clearLaunchError()
}}