@yawlabs/ctxlint 0.9.17 → 0.9.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.pre-commit-hooks.yaml +1 -1
- package/README.md +2 -2
- package/dist/index.js +580 -438
- package/package.json +1 -1
package/.pre-commit-hooks.yaml
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# Version-pinned so a checkout at `rev: vX.Y.Z` runs exactly that release
|
|
5
5
|
# of ctxlint — matches the pinning done by `ctxlint init`. release.sh keeps
|
|
6
6
|
# this in sync with package.json on each bump.
|
|
7
|
-
entry: npx @yawlabs/ctxlint@0.9.
|
|
7
|
+
entry: npx @yawlabs/ctxlint@0.9.19 --strict
|
|
8
8
|
language: node
|
|
9
9
|
always_run: true
|
|
10
10
|
pass_filenames: false
|
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ ctxlint is a linter purpose-built for this. It reads your context files, cross-r
|
|
|
28
28
|
- **Token-aware** — shows how much context window your files consume and flags redundant content
|
|
29
29
|
- **Every AI tool** — supports Claude Code, Cursor, Copilot, Windsurf, Gemini, Cline, Aider, and 14 more
|
|
30
30
|
- **Multiple outputs** — text, JSON, and SARIF (GitHub Code Scanning)
|
|
31
|
-
- **MCP server** —
|
|
31
|
+
- **MCP server** — 7 tools for IDE/agent integration with tool annotations for auto-approval
|
|
32
32
|
- **Watch mode** — `--watch` re-lints automatically when context files change
|
|
33
33
|
|
|
34
34
|
## Install
|
|
@@ -404,7 +404,7 @@ CLI flags override config file settings. Use `--config <path>` to load a config
|
|
|
404
404
|
|
|
405
405
|
## Use as MCP Server
|
|
406
406
|
|
|
407
|
-
ctxlint ships with an MCP server that exposes
|
|
407
|
+
ctxlint ships with an MCP server that exposes seven tools (`ctxlint_audit`, `ctxlint_mcp_audit`, `ctxlint_mcph_audit`, `ctxlint_session_audit`, `ctxlint_validate_path`, `ctxlint_token_report`, `ctxlint_fix`). All read-only tools declare annotations so MCP clients can skip confirmation dialogs.
|
|
408
408
|
|
|
409
409
|
Launch it with the `serve` subcommand (or the equivalent `--mcp-server` flag, kept for back-compat):
|
|
410
410
|
|