Skip to content

v0.5.0 — sens init, an answering hook, and a skill

Choose a tag to compare

@iiTzSenn iiTzSenn released this 08 Jul 15:46

Added

  • sens init — one command to set sens up in a project: builds the index, installs the skill into .claude/skills/sens/, and wires the PreToolUse hook into .claude/settings.json (merging, never clobbering existing settings). This is the recommended setup path; the MCP server stays available for hosts that only speak MCP.
  • Skill — sens now ships as a Claude Code skill (sens skill prints it, or --write installs it). Unlike the always-loaded MCP tool schemas, a skill's guidance only enters context when relevant, so it costs no tokens on turns that don't touch code. It is composed from the same working rules as sens rules.

Improved

  • The hook now answers, not just nudges. When the model is about to grep for a symbol sens knows, the hook substitutes the grep and returns the full who_uses result; a Read of an indexed file gets that file's outline injected; anything sens can't answer falls back to a one-line reminder.
  • One shared query path (runQuery) now backs the CLI, the MCP server and the hook, so usage logging and output formatting are identical across all three — and sens usage records CLI- and hook-driven calls too, not only MCP.

Fixed

  • sens --version reported a hard-coded 0.0.1 regardless of the real version; it now derives from package.json at build time and tracks npm version.

npm: npm i -g sens-mcp@0.5.0 · Full changelog in CHANGELOG.md