Contract¶
What this repository is for, what it is not for, what it publishes, what it consumes and who runs it. The repository style asks every repository to state the same five lines; this page is the full version.
-
For: a person who asks an OpenCode agent about the live web, and the teams whose agents search, read pages, map and crawl sites, and write cited research with a Tavily plan. Tavily's hosted MCP server owns the five tools and the sign-in; the plugin adds one MCP server per account alias, the
statusandprobereads and the access rules. Every tool call spends Tavily credits, and the plugin sets no spending limit. -
Not for: the contract between a plugin and its host, which
plugin-contractholds; Tavily's account console, plans and billing, which Tavily itself holds and no repository does; or a Tavily client library, CLI or MCP server for other software to import or call, which no repository here holds. This repository is Tavily's tools for an OpenCode session alone. -
Publishes: a GitHub Release for each
v<version>tag, holding: -
the packed plugin tarball, whose manifest
capabilities.versionis 1 and which is built on plugin-contract v0; conformance.json, the plugin-contract v0 conformance report;SHA256SUMS, the SHA-256 digest of each file in the release.
Nothing is published to npm; a consumer installs the tarball or pins the tag, as github:we-the-rebel-alliance/tavily-plugin#v0.0.8 does. The docs site is published separately to GitHub Pages from master, not as a release artefact.
-
Consumes: from other repositories and the vendor:
-
@we-the-rebel-alliance/plugin-contractv0.1.1, pinned inpackage-lock.jsonto commita6d5e94509995a05c24724564a5beebfc176fad0. It is a development dependency; the contract modules the plugin uses are bundled intodist/index.js. - OpenCode's
@opencode/plugin2.4.1 host API, pinned exactly indevDependencies; the plugin accepts hosts from 2.4.1 to below 2.5.0 and is tested on 2.4.1. -
Tavily's hosted MCP server at
https://mcp.tavily.com/mcp/, with OAuth, which carries no version pin. -
Run by: the OpenCode hosts that install it from its release tag: a hosted OpenCode fleet, which pins a curated release in its plugin set, and a person's OpenCode.
deploydoes not run it.
The line in code¶
From plugin-contract it takes the manifest shape, the accounts module, the error table and the one register call, all bundled at build time. From OpenCode it takes only the public @opencode/plugin 2.4.1 API. It imports no host or app internals and has no runtime dependency.