You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds `curion --help` / `-h` and `curion --version` / `-v`
flag interception to the entrypoint so the binary prints
usage / version to stdout and exits 0 before any storage or
MCP transport startup. The flag handlers never create or
touch the project-local `.curion/` directory and never write
to stderr; normal MCP stdio behaviour for unflagged
invocations is unchanged.
The runtime server version now syncs from `package.json`
through a generated `src/version.ts`, regenerated by
`scripts/sync-version.mjs` on every `prebuild` / `pretest`.
The McpServer `serverInfo.version` field is no longer
hardcoded to the stale `0.2.0` literal. The `--version` CLI
output and the MCP `initialize` response both reflect
`package.json#version` at release time.
Adds `tests/cli-flags.test.ts` with 15 unit and end-to-end
subprocess tests covering: the `buildHelpText` shape and
content, the `VERSION` constant matching `package.json`,
`buildServer` using `VERSION` and honouring the
`options.version` override, and the four flag invocations
plus combined-flag argv-order precedence and a no-flag
regression guard.
Bumps `package.json` (and `package-lock.json`) from 0.3.5
to 0.3.6 to prep the release. The generated
`src/version.ts` is gitignored.
Changelog: moves the existing Unreleased CLI entry into a
new `[0.3.6] - 2026-06-30` section and updates the compare
links.
0 commit comments