Skip to content

ishaksebsib/opencode-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PI-style /tree plugin for the OpenCode TUI.

opencode-tree adds a tree view for branched conversations without modifying OpenCode core. OpenCode remains the source of truth, while the plugin stores only the branch data needed for navigation and rendering

opencode-tree demo

Installation

Install globally:

opencode plugin @ishaksebsib/opencode-tree --global

Install in the current project:

opencode plugin @ishaksebsib/opencode-tree

Configuration

Default install config uses global path to store tree state.

{
  "plugin": [
    ["@ishaksebsib/opencode-tree", { "storageScope": "global" }]
  ]
}

To keep plugin data in the project root .opencode folder, use local storage scope:

{
  "plugin": [
    ["@ishaksebsib/opencode-tree", { "storageScope": "local" }]
  ]
}

Storage

  • if local: <projectRoot>/.opencode/opencode-tree/
  • if global: <opencode-state>/plugins/opencode-tree/
    • Where <opencode-state> is:
      • Linux: ~/.local/state/opencode
      • macOS: ~/Library/Application Support/opencode
      • Windows: %LOCALAPPDATA%\\opencode

About

Tree plugin for the OpenCode TUI.

Resources

License

Stars

Watchers

Forks