Ink-powered companion interface for the Forest knowledge base.
- Ensure
forest serveis running and reachable (default API base:http://localhost:3000/api/v1). - From this directory, install dependencies (
bun install) and runbun run devfor a live Ink session. - Use
bun run buildto produce the distributable CLI indist/, then invoke it viabun run dist/index.jsor with thecamperbinary. - Configure the server endpoint by exporting
CAMPER_FOREST_URL(defaulthttp://localhost:3000) and optionalCAMPER_FOREST_API_PREFIX(default/api/v1); adjust timeouts withCAMPER_REQUEST_TIMEOUT_MS(milliseconds). - Override Camper's config directory (used for tag favourites) with
CAMPER_CONFIG_DIRif you prefer a location other than~/.camper.
bun run dev— Start Camper in watch mode withtsx, ideal during development.bun run build— Bundle the CLI withtsup, emitting both CJS/ESM outputs and type declarations.bun run typecheck— Run the TypeScript compiler in no-emit mode.bun run start— Execute the built CLI fromdist/index.js.
- Allow naming and pinning saved tag favorites for quick recall.
- Expose accept/reject flows for suggestions within the note relationships view.
- Wire up configuration for server discovery and CLI fallback.