{"library":"opencode-local","type":"library","category":null,"description":"The `opencode-local` package provides a Node.js interface for programmatic access to local Opencode project data. It allows developers to read information directly from the local Opencode SQLite database, bypassing the need to shell out to `opencode db` for each query. Additionally, it supports querying a running Opencode server for project lists, offering flexibility to retrieve data from either the local database or a live instance. The current stable version is 1.3.11, and while a specific release cadence isn't documented, its versioning suggests ongoing maintenance. A key differentiator is its dual capability to interface with both the local SQLite file and a remote Opencode server's API, along with dedicated utilities for exporting project data to JSON, making it a powerful tool for integrating Opencode project insights into developer workflows or custom tooling. It requires Node.js >=22.5.0 and an existing local Opencode installation.","language":"javascript","status":"active","version":"1.3.11","tags":["javascript","opencode","sqlite","database","local","node","local-database","developer-tools"],"install":[{"cmd":"npm install opencode-local","imports":["import { createLocal } from 'opencode-local'","import { exportProjects } from 'opencode-local/export'","import type { ProjectRow } from 'opencode-local'"]},{"cmd":"yarn add opencode-local","imports":[]},{"cmd":"pnpm add opencode-local","imports":[]}],"homepage":null,"github":"https://github.com/anduimagui/opencode-local","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/opencode-local","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/opencode-local/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Wed Jul 22","install_tag":null}}