v0.3.6 — CLI help and version flags
Highlights
curion --help / -h and curion --version / -v flag interception. Flag invocations print to stdout and exit 0 before any storage or MCP transport startup, never create or touch the project-local .curion/ directory, and never write to stderr. Normal MCP stdio behaviour for unflagged invocations is unchanged.
- Runtime server version now syncs from
package.json. The McpServer serverInfo.version field is sourced from a generated src/version.ts constant regenerated by scripts/sync-version.mjs on every prebuild / pretest. The previous hardcoded "0.2.0" fallback is gone, so the MCP initialize response, the --version CLI output, and the npm tarball version all stay in lock-step with package.json#version.
- 15 unit and end-to-end subprocess tests in
tests/cli-flags.test.ts covering buildHelpText, the VERSION constant, buildServer using VERSION, and the four flag invocations plus combined-flag argv-order precedence and a no-flag regression guard.
Not changed
- Public MCP API (
remember, recall, text / structuredContent, clarification_needed).
- Storage, detector, controller, projection layers.
- npm package name (
@geanatz/curion), binary name (curion), Trusted Publishing / OIDC provenance path.
Install
npm install -g @geanatz/curion
curion --version # 0.3.6
curion --help