claudecode-linter 2.1.70-patch.5 → 2.1.71-patch.1

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/dist/contracts.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // Auto-generated from contracts/claude-code-contracts.json
2
- // Claude Code v2.1.70 — extracted 2026-03-06T19:12:40.718Z
2
+ // Claude Code v2.1.71 — extracted 2026-03-07T00:40:50.509Z
3
3
  // Do not edit manually. Run: npm run generate-contracts
4
4
  export const TOOLS = new Set([
5
5
  "Agent",
@@ -54,7 +54,12 @@ export const HOOK_EVENTS = new Set([
54
54
  "WorktreeCreate",
55
55
  "WorktreeRemove",
56
56
  ]);
57
- export const HOOK_TYPES = new Set(["agent", "command", "http", "prompt"]);
57
+ export const HOOK_TYPES = new Set([
58
+ "agent",
59
+ "command",
60
+ "http",
61
+ "prompt",
62
+ ]);
58
63
  export const PROMPT_EVENTS = new Set([
59
64
  "Notification",
60
65
  "PostToolUse",
@@ -76,7 +81,12 @@ export const AGENT_COLORS = new Set([
76
81
  "red",
77
82
  "yellow",
78
83
  ]);
79
- export const AGENT_MODELS = new Set(["haiku", "inherit", "opus", "sonnet"]);
84
+ export const AGENT_MODELS = new Set([
85
+ "haiku",
86
+ "inherit",
87
+ "opus",
88
+ "sonnet",
89
+ ]);
80
90
  export const PLUGIN_JSON_FIELDS = new Set([
81
91
  "name",
82
92
  "version",
@@ -139,6 +149,7 @@ export const SETTINGS_USER_FIELDS = new Set([
139
149
  "apiKeyHelper",
140
150
  "attribution",
141
151
  "autoMemoryEnabled",
152
+ "autoMode",
142
153
  "autoUpdatesChannel",
143
154
  "availableModels",
144
155
  "awsAuthRefresh",
@@ -179,6 +190,7 @@ export const SETTINGS_USER_FIELDS = new Set([
179
190
  "respectGitignore",
180
191
  "sandbox",
181
192
  "showThinkingSummaries",
193
+ "skipAutoPermissionPrompt",
182
194
  "skipDangerousModePermissionPrompt",
183
195
  "skipWebFetchPreflight",
184
196
  "spinnerTipsEnabled",
@@ -192,5 +204,7 @@ export const SETTINGS_USER_FIELDS = new Set([
192
204
  "voiceEnabled",
193
205
  "worktree",
194
206
  ]);
195
- export const SETTINGS_PROJECT_FIELDS = new Set(["permissions"]);
207
+ export const SETTINGS_PROJECT_FIELDS = new Set([
208
+ "permissions",
209
+ ]);
196
210
  //# sourceMappingURL=contracts.js.map
@@ -62,8 +62,8 @@ export const agentMdLinter = {
62
62
  if (!("model" in fm.data) || typeof fm.data.model !== "string") {
63
63
  push(diag(config, filePath, "agent-md/model-required", "error", "\"model\" is required in frontmatter"));
64
64
  }
65
- else if (!AGENT_MODELS.has(fm.data.model)) {
66
- push(diag(config, filePath, "agent-md/model-valid", "warning", `"model" must be one of: ${[...AGENT_MODELS].join(", ")} (got "${fm.data.model}")`));
65
+ else if (!AGENT_MODELS.has(fm.data.model) && !fm.data.model.startsWith("claude-")) {
66
+ push(diag(config, filePath, "agent-md/model-valid", "warning", `"model" must be one of: ${[...AGENT_MODELS].join(", ")} or a versioned claude-* model ID (got "${fm.data.model}")`));
67
67
  }
68
68
  // color
69
69
  if (!("color" in fm.data) || typeof fm.data.color !== "string") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudecode-linter",
3
- "version": "2.1.70-patch.5",
3
+ "version": "2.1.71-patch.1",
4
4
  "description": "Standalone linter for Claude Code plugins and configuration files",
5
5
  "type": "module",
6
6
  "bin": {