1-0.mdx 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. ---
  2. title: Migrating to 1.0
  3. description: What's new in OpenCode 1.0.
  4. ---
  5. OpenCode 1.0 is a complete rewrite of the TUI.
  6. We moved from the go+bubbletea based TUI which had performance and capability issues to an in-house framework (OpenTUI) written in zig+solidjs.
  7. The new TUI works like the old one since it connects to the same opencode server.
  8. ---
  9. ## Upgrading
  10. You should not be autoupgraded to 1.0 if you are currently using a previous
  11. version. However some older versions of OpenCode always grab latest.
  12. To upgrade manually, run
  13. ```bash
  14. $ opencode upgrade 1.0.0
  15. ```
  16. To downgrade back to 0.x, run
  17. ```bash
  18. $ opencode upgrade 0.15.31
  19. ```
  20. ---
  21. ## UX changes
  22. The session history is more compressed, only showing full details of the edit and bash tool.
  23. We added a command bar which almost everything flows through. Press ctrl+p to bring it up in any context and see everything you can do.
  24. Added a session sidebar (can be toggled) with useful information.
  25. We removed some functionality that we weren't sure anyone actually used. If something important is missing please open an issue and we'll add it back quickly.
  26. ---
  27. ## Breaking changes
  28. ### Keybinds renamed
  29. - messages_revert -> messages_undo
  30. - switch_agent -> agent_cycle
  31. - switch_agent_reverse -> agent_cycle_reverse
  32. - switch_mode -> agent_cycle
  33. - switch_mode_reverse -> agent_cycle_reverse
  34. ### Keybinds removed
  35. - messages_layout_toggle
  36. - messages_next
  37. - messages_previous
  38. - file_diff_toggle
  39. - file_search
  40. - file_close
  41. - file_list
  42. - app_help
  43. - project_init
  44. - tool_details
  45. - thinking_blocks