return {
  -- 'NickvanDyke/opencode.nvim',
  -- dependencies = {
  --   -- Recommended for better prompt input, and required to use `opencode.nvim`'s embedded terminal — otherwise optional
  --   { 'folke/snacks.nvim', opts = { input = { enabled = true } } },
  -- },
  -- config = function()
  --   vim.g.opencode_opts = {
  --     -- Your configuration, if any — see `lua/opencode/config.lua`
  --   }
  --
  --   -- Required for `opts.auto_reload`
  --   vim.opt.autoread = true
  --
  --   -- Recommended/example keymaps
  --   vim.keymap.set('n', '<leader>ot', function() require('opencode').toggle() end, { desc = 'Toggle embedded' })
  --   vim.keymap.set('n', '<leader>oA', function() require('opencode').ask() end, { desc = 'Ask' })
  --   vim.keymap.set('n', '<leader>oa', function() require('opencode').ask('@cursor: ') end, { desc = 'Ask about this' })
  --   vim.keymap.set('v', '<leader>oa', function() require('opencode').ask('@selection: ') end, { desc = 'Ask about selection' })
  --   vim.keymap.set('n', '<leader>oe', function() require('opencode').prompt('Explain @cursor and its context') end, { desc = 'Explain this code' })
  --   vim.keymap.set('n', '<leader>o+', function() require('opencode').prompt('@buffer', { append = true }) end, { desc = 'Add buffer to prompt' })
  --   vim.keymap.set('v', '<leader>o+', function() require('opencode').prompt('@selection', { append = true }) end, { desc = 'Add selection to prompt' })
  --   vim.keymap.set('n', '<leader>on', function() require('opencode').command('session_new') end, { desc = 'New session' })
  --   vim.keymap.set('n', '<S-C-u>',    function() require('opencode').command('messages_half_page_up') end, { desc = 'Messages half page up' })
  --   vim.keymap.set('n', '<S-C-d>',    function() require('opencode').command('messages_half_page_down') end, { desc = 'Messages half page down' })
  --   vim.keymap.set({ 'n', 'v' }, '<leader>os', function() require('opencode').select() end, { desc = 'Select prompt' })
  -- end,
}
