Skip to content

reference dependencies

Douwe de Vries edited this page Jul 2, 2026 · 1 revision

Dependencies

Flow has one runtime dependency, one peer dependency, and a small TypeScript/Bun development toolchain. Dependency policy is documented in docs/maintainer-contract.md.

Runtime and peer dependencies

DependencyVersionWhy it exists
zod4.1.8Runtime schemas in src/runtime/schema.ts and tool input schemas in src/runtime/api.ts.
@opencode-ai/pluginpeer >=1.17.3 <2Host plugin API used by src/adapters/opencode/sdk.ts.

zod is exact-pinned because schema objects cross the plugin/host boundary. @opencode-ai/plugin is a peer range for user install flexibility, while the dev dependency stays pinned for CI.

Development dependencies

DependencyVersionUsed by
@biomejs/biome^2.2.6bun run lint.
@opencode-ai/plugin1.17.3Adapter tests and local build.
bun-typeslatestBun TypeScript types.
typescript^6.0.2bun run typecheck and declaration output.

Automated updates

.github/dependabot.yml checks GitHub Actions and npm weekly. It intentionally ignores zod and @opencode-ai/plugin so those bumps are tested and reviewed manually.

Key source files

FilePurpose
package.jsonDependency declarations.
.github/dependabot.ymlUpdate policy.
docs/maintainer-contract.mdDependency rationale.
src/adapters/opencode/sdk.tsRe-exported OpenCode plugin SDK types and helpers.

Related pages: Security, Deployment, and Schema and JSON.

Clone this wiki locally