#!/usr/bin/env node /** * indexer-cli — subprocess entry point called by the OpenCode plugin. * * Runs under Node.js (not Bun) so that native modules (better-sqlite3, * sqlite-vec) load correctly. * * Usage (called by plugin/memory.ts via the Bun $ shell): * node /path/to/dist/src/indexer-cli.js * * serverUrl is the URL of the already-running OpenCode server, passed in * by the plugin from the `serverUrl` context it receives at startup. * Uses plain fetch() to call the REST API — no ESM/CJS SDK dependency. */ export {}; //# sourceMappingURL=indexer-cli.d.ts.map