GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — hoist/src/opencode-plugin at main · echohello-dev/hoist

Expand file tree

/

opencode-plugin

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

opencode-plugin

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
hoist-discover.ts
hoist-discover.ts
 
 

README.md

Outline

Hoist discovery plugin for OpenCode

Reports installed harness binaries to Hoist so the app does not have to guess install locations across Homebrew, npm-global and version managers.

On OpenCode startup the plugin runs which for each binary in the hoist catalog (claude, opencode, codex), reads --version, and writes ~/.cache/hoist/discovery.json:

{
  "claude-code": { "path": "/opt/homebrew/bin/claude", "version": "2.1.204" }
}

Hoist reads the file when it is fresher than five minutes and otherwise falls back to its own probe. No cache file means no behaviour change.

Install (local development)

Point OpenCode at the plugin file from ~/.config/opencode/opencode.json:

{
  "plugin": ["/path/to/hoist/src/opencode-plugin/hoist-discover.ts"]
}

Once published, the equivalent is opencode plugin install @hoist/discover with the published package name in the plugin array instead.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.