Skip to content

2.5.1 — structure lint, Prettier, dependency updates

Choose a tag to compare

@qmt qmt released this 20 Oct 08:05
· 6 commits to main since this release
3972441

Changed

  • Development only: npm run lint checks the structure of the code with a shared preset (ESLint with Babel's
    TypeScript parser — TypeScript 7 has no JavaScript API for typescript-eslint —, jscpd for repeated blocks, a ratchet
    that keeps the recorded baselines from growing); CI runs it. Nothing in the published package changes.
  • Internal: the usage, raw-call, file-answer and training tools each hand one step to a function of its own (the usage
    query, the upload fields, the failed file answer, the training request), so the formatter adopted next keeps every
    function within 40 lines; three complexity baseline entries are gone. Behaviour unchanged.
  • Internal: every refusal that quotes a Zod error's issues (path: message) is built by one helper, src/issues.ts
    (seven inline copies in six files before). Messages unchanged.
  • Development only: Prettier formats the code (npm run format; npm run lint checks it, in CI too), printWidth 120 —
    the style the code already had; the code reformatted once, in three pull requests that each fit one review
    (scripts/, src/, test/); .git-blame-ignore-revs names all three.
  • Runtime dependencies: @modelcontextprotocol/sdk 1.32.1 (was 1.32.0) and zod 4.6.7 (was 4.6.5).
  • Development only: @babel/core and @babel/eslint-parser 8.0.7, jscpd 5.4.1, prettier 3.9.10 (the code's
    formatting is unchanged), and actions/setup-node 7.1.0 in the workflows.