@agent-lint/mcp 0.3.4 → 0.4.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @agent-lint/mcp Changelog
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 637e0e2: Add maintenance rule installation to `agent-lint init`, make repeated installs update managed rule files cleanly, and expand maintenance snippets so agents can infer Agent Lint tasks from plain-English context requests.
8
+
3
9
  ## 0.3.4
4
10
 
5
11
  ### Patch Changes
package/dist/bin.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  logMcp,
5
5
  runHttpServer,
6
6
  runStdioServer
7
- } from "./chunk-GNY7X6J5.js";
7
+ } from "./chunk-PAQI5DE3.js";
8
8
 
9
9
  // src/bin.ts
10
10
  var nodeVersion = parseInt(process.versions.node.split(".")[0], 10);
@@ -18752,10 +18752,13 @@ function buildQuickCheckMarkdown(signals, changedPaths, changeDescription) {
18752
18752
  return lines.join("\n");
18753
18753
  }
18754
18754
  var CORE_RULES = [
18755
- "After any structural change (new module, new directory, new script, new dependency), call agentlint_quick_check with the changed paths to determine if context artifacts need updating.",
18756
- "Before creating or updating any AGENTS.md, CLAUDE.md, skills, rules, workflows, or plans file, call agentlint_get_guidelines for the artifact type to get the full specification.",
18757
- "When the user asks to review or fix context artifacts, call agentlint_plan_workspace_autofix to discover all artifacts and get a step-by-step fix plan.",
18758
- "Apply recommended changes directly using your file editing capabilities. Do not wait for explicit confirmation.",
18755
+ "Treat plain-English requests about stale, missing, inconsistent, or low-quality AGENTS.md, CLAUDE.md, rules, skills, workflows, or plans as Agent Lint work even if the user does not name Agent Lint explicitly.",
18756
+ "Treat structural change signals such as new modules, new directories, dependency changes, CI/config updates, environment/security changes, or repository reorganization as reasons to check whether context artifacts need updates.",
18757
+ "For full workspace review or fix requests, start with agentlint_plan_workspace_autofix to scan the repository and produce the action plan.",
18758
+ "For targeted structural changes, call agentlint_quick_check with changed paths and/or a short change description before editing any context artifacts.",
18759
+ "Before creating or updating any AGENTS.md, CLAUDE.md, skills, rules, workflows, or plans file, call agentlint_get_guidelines for the artifact type to get the current specification.",
18760
+ "When the user wants ongoing upkeep, use agentlint_emit_maintenance_snippet where supported or append equivalent maintenance instructions to the main project context file.",
18761
+ "Apply recommended context artifact changes directly once Agent Lint has identified what to update.",
18759
18762
  "Keep context artifact files concise (under 10,000 characters). Reference external docs instead of duplicating content."
18760
18763
  ];
18761
18764
  function buildCursorSnippet() {
@@ -19271,8 +19274,8 @@ function resolveServerVersion() {
19271
19274
  if (process.env.npm_package_name === "@agent-lint/mcp" && process.env.npm_package_version) {
19272
19275
  return process.env.npm_package_version;
19273
19276
  }
19274
- if ("0.3.4".length > 0) {
19275
- return "0.3.4";
19277
+ if ("0.4.0".length > 0) {
19278
+ return "0.4.0";
19276
19279
  }
19277
19280
  try {
19278
19281
  const pkg = JSON.parse(
@@ -19752,4 +19755,4 @@ strip-bom-string/index.js:
19752
19755
  * Released under the MIT License.
19753
19756
  *)
19754
19757
  */
19755
- //# sourceMappingURL=chunk-GNY7X6J5.js.map
19758
+ //# sourceMappingURL=chunk-PAQI5DE3.js.map