Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 3 additions & 0 deletions packages/opencode/src/cli/cmd/tui/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ function App() {
{
title: "Toggle MCPs",
value: "mcp.list",
keybind: "mcp_toggle",
category: "Agent",
slash: {
name: "mcps",
Expand Down Expand Up @@ -589,6 +590,7 @@ function App() {
title: "Toggle console",
category: "System",
value: "app.console",
keybind: "console_toggle",
onSelect: (dialog) => {
renderer.console.toggle()
dialog.clear()
Expand Down Expand Up @@ -651,6 +653,7 @@ function App() {
{
title: kv.get("diff_wrap_mode", "word") === "word" ? "Disable diff wrapping" : "Enable diff wrapping",
value: "app.toggle.diffwrap",
keybind: "diffwrap_toggle",
category: "System",
onSelect: (dialog) => {
const current = kv.get("diff_wrap_mode", "word")
Expand Down
2 changes: 2 additions & 0 deletions packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ export function Session() {
{
title: showTimestamps() ? "Hide timestamps" : "Show timestamps",
value: "session.toggle.timestamps",
keybind: "timestamps_toggle",
category: "Session",
slash: {
name: "timestamps",
Expand Down Expand Up @@ -788,6 +789,7 @@ export function Session() {
{
title: "Copy session transcript",
value: "session.copy",
keybind: "session_copy",
category: "Session",
slash: {
name: "copy",
Expand Down
5 changes: 5 additions & 0 deletions packages/opencode/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -851,10 +851,15 @@ export namespace Config {
editor_open: z.string().optional().default("<leader>e").describe("Open external editor"),
theme_list: z.string().optional().default("<leader>t").describe("List available themes"),
sidebar_toggle: z.string().optional().default("<leader>b").describe("Toggle sidebar"),
mcp_toggle: z.string().optional().default("none").describe("Toggle MCP server dialog"),
scrollbar_toggle: z.string().optional().default("none").describe("Toggle session scrollbar"),
console_toggle: z.string().optional().default("none").describe("Toggle console visibility"),
diffwrap_toggle: z.string().optional().default("none").describe("Toggle diff wrapping"),
timestamps_toggle: z.string().optional().default("none").describe("Toggle timestamps visibility"),
username_toggle: z.string().optional().default("none").describe("Toggle username visibility"),
status_view: z.string().optional().default("<leader>s").describe("View status"),
session_export: z.string().optional().default("<leader>x").describe("Export session to editor"),
session_copy: z.string().optional().default("none").describe("Copy session transcript"),
session_new: z.string().optional().default("<leader>n").describe("Create a new session"),
session_list: z.string().optional().default("<leader>l").describe("List all sessions"),
session_timeline: z.string().optional().default("<leader>g").describe("Show session timeline"),
Expand Down
20 changes: 20 additions & 0 deletions packages/sdk/js/src/gen/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -790,10 +790,26 @@ export type KeybindsConfig = {
* Toggle sidebar
*/
sidebar_toggle?: string
/**
* Toggle MCP server dialog
*/
mcp_toggle?: string
/**
* Toggle session scrollbar
*/
scrollbar_toggle?: string
/**
* Toggle console visibility
*/
console_toggle?: string
/**
* Toggle diff wrapping
*/
diffwrap_toggle?: string
/**
* Toggle timestamps visibility
*/
timestamps_toggle?: string
/**
* Toggle username visibility
*/
Expand All @@ -806,6 +822,10 @@ export type KeybindsConfig = {
* Export session to editor
*/
session_export?: string
/**
* Copy session transcript
*/
session_copy?: string
/**
* Create a new session
*/
Expand Down
20 changes: 20 additions & 0 deletions packages/sdk/js/src/v2/gen/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1029,10 +1029,26 @@ export type KeybindsConfig = {
* Toggle sidebar
*/
sidebar_toggle?: string
/**
* Toggle MCP server dialog
*/
mcp_toggle?: string
/**
* Toggle session scrollbar
*/
scrollbar_toggle?: string
/**
* Toggle console visibility
*/
console_toggle?: string
/**
* Toggle diff wrapping
*/
diffwrap_toggle?: string
/**
* Toggle timestamps visibility
*/
timestamps_toggle?: string
/**
* Toggle username visibility
*/
Expand All @@ -1045,6 +1061,10 @@ export type KeybindsConfig = {
* Export session to editor
*/
session_export?: string
/**
* Copy session transcript
*/
session_copy?: string
/**
* Create a new session
*/
Expand Down
Loading