Skip to content

feat(opencode): the six lich tools the plugin was missing - #55

Merged
omartelo merged 1 commit into
mainfrom
feat/opencode-missing-tools
Oct 8, 2026
Merged

omartelo merged 1 commit into
mainfrom
feat/opencode-missing-tools

Conversation

@omartelo

@omartelo omartelo commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

opencode defined 8 of the 14 tools lich's MCP server exposes. Adds control_session, ask_session, list_folders, file_session, rename_folder and color_folder with the names, parameters and descriptions of lich's internal/cli/mcp.go (control.go, ask.go, folders.go), shelling out to lich control, ask, folders, file, rename-folder and color-folder.

  • control_session treats exit 2 (delivered, unconfirmed) and 3 (ended first) as results, as the MCP tool does.
  • An empty folder, to or color is sent, not dropped: "" is the instruction.
  • Tests first in tests/opencode-tools.test.mjs; the tool-set assertion now lists all 14.

control_session, ask_session, list_folders, file_session, rename_folder and
color_folder, mirrored from lich's MCP server: same names, parameters and
descriptions, shelling out to lich control, ask, folders, file, rename-folder
and color-folder.
@omartelo
omartelo merged commit e5b5fbc into main Oct 8, 2026
3 checks passed
@omartelo omartelo mentioned this pull request Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant