+
+
+
Tokens (last call)
+
{formatTokenTotal(tokens())}
+
+
{costLabel()}
+
+
+
+
Context window usage
+
{percentage() !== null ? `${percentage()}%` : "--"}
+
+
+ {contextWindow()
+ ? `${formatTokenTotal(tokens())} of ${formatTokenTotal(contextWindow())}`
+ : "Window size unavailable"}
+
+
+
+
+ )
+}
+
const App: Component = () => {
const { isDark } = useTheme()
const commandRegistry = createCommandRegistry()
@@ -356,10 +470,10 @@ const App: Component = () => {
commandRegistry.register({
id: "switch-to-info",
- label: "Switch to Info",
- description: "Jump to info view for current instance",
- category: "Session",
- keywords: ["info", "info", "console", "output"],
+ label: "Instance Info",
+ description: "Open the instance overview for logs and status",
+ category: "Instance",
+ keywords: ["info", "logs", "console", "output"],
shortcut: { key: "L", meta: true, shift: true },
action: () => {
const instance = activeInstance()
@@ -826,59 +940,55 @@ const App: Component = () => {
class="session-sidebar flex flex-col bg-surface-secondary"
style={{ width: `${sessionSidebarWidth()}px` }}
>
-