Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/opencode/src/cli/cmd/tui/routes/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ import { Installation } from "@/installation"
import { useKV } from "../context/kv"
import { useCommandDialog } from "../component/dialog-command"
import { useLocal } from "../context/local"
// altimate_change start — upgrade indicator import
import { UpgradeIndicator } from "../component/upgrade-indicator"
// altimate_change end

// TODO: what is the best way to do this?
let once = false
Expand Down Expand Up @@ -153,7 +155,9 @@ export function Home() {
</box>
<box flexGrow={1} />
<box flexShrink={0}>
{/* altimate_change start — upgrade indicator in home footer */}
<UpgradeIndicator fallback={<text fg={theme.textMuted}>{Installation.VERSION}</text>} />
{/* altimate_change end */}
</box>
</box>
</>
Expand Down
4 changes: 4 additions & 0 deletions packages/opencode/src/cli/cmd/tui/routes/session/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import { useRoute } from "../../context/route"
// altimate_change start - yolo mode visual indicator
import { Flag } from "@/flag/flag"
// altimate_change end
// altimate_change start — upgrade indicator import
import { UpgradeIndicator } from "../../component/upgrade-indicator"
// altimate_change end

export function Footer() {
const { theme } = useTheme()
Expand Down Expand Up @@ -96,7 +98,9 @@ export function Footer() {
<text fg={theme.textMuted}>/status</text>
</Match>
</Switch>
{/* altimate_change start — upgrade indicator in session footer */}
<UpgradeIndicator />
{/* altimate_change end */}
</box>
</box>
)
Expand Down
Loading