Discover Packages
github.com/rumpl/harness
opencode
package
Version:
v0.0.0-...-a7464a5
Opens a new window with list of versions in this module.
Published: May 19, 2026
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
New creates an opencode harness.Provider for the given model. The model
must be in opencode's "provider/model" form, e.g.
"anthropic/claude-sonnet-4-6".
type Option func(*provider)
Option configures an opencode provider.
WithAgent sets the --agent flag (e.g. "build", "plan", "general").
WithThinking enables the --thinking flag so reasoning blocks are streamed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.