claudecode-linter 2.1.148-patch.1 → 2.1.148-patch.2

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.
@@ -0,0 +1,302 @@
1
+ {
2
+ "extractedFromClaudeCodeVersion": "2.1.146",
3
+ "extractedAt": "2026-05-22T08:16:43.683Z",
4
+ "schema": {
5
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
6
+ "title": "Claude Code .mcp.json",
7
+ "type": "object",
8
+ "properties": {
9
+ "mcpServers": {
10
+ "type": "object",
11
+ "additionalProperties": {
12
+ "anyOf": [
13
+ {
14
+ "type": "object",
15
+ "properties": {
16
+ "type": {
17
+ "const": "stdio"
18
+ },
19
+ "command": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "args": {
24
+ "type": "array",
25
+ "items": {
26
+ "type": "string"
27
+ },
28
+ "default": "[]"
29
+ },
30
+ "env": {
31
+ "type": "object",
32
+ "additionalProperties": {
33
+ "type": "string"
34
+ }
35
+ },
36
+ "alwaysLoad": {
37
+ "type": "boolean"
38
+ },
39
+ "role": {
40
+ "const": "comms"
41
+ }
42
+ },
43
+ "required": [
44
+ "command"
45
+ ]
46
+ },
47
+ {
48
+ "type": "object",
49
+ "properties": {
50
+ "type": {
51
+ "const": "sse"
52
+ },
53
+ "url": {
54
+ "type": "string"
55
+ },
56
+ "headers": {
57
+ "type": "object",
58
+ "additionalProperties": {
59
+ "type": "string"
60
+ }
61
+ },
62
+ "headersHelper": {
63
+ "type": "string"
64
+ },
65
+ "oauth": {
66
+ "type": "object",
67
+ "properties": {
68
+ "clientId": {
69
+ "type": "string"
70
+ },
71
+ "callbackPort": {
72
+ "type": "number"
73
+ },
74
+ "authServerMetadataUrl": {
75
+ "type": "string",
76
+ "format": "uri"
77
+ },
78
+ "scopes": {
79
+ "type": "string",
80
+ "minLength": 1
81
+ },
82
+ "xaa": {
83
+ "type": "boolean"
84
+ }
85
+ }
86
+ },
87
+ "alwaysLoad": {
88
+ "type": "boolean"
89
+ },
90
+ "role": {
91
+ "const": "comms"
92
+ }
93
+ },
94
+ "required": [
95
+ "type",
96
+ "url"
97
+ ]
98
+ },
99
+ {
100
+ "type": "object",
101
+ "properties": {
102
+ "type": {
103
+ "const": "sse-ide"
104
+ },
105
+ "url": {
106
+ "type": "string"
107
+ },
108
+ "ideName": {
109
+ "type": "string"
110
+ },
111
+ "ideRunningInWindows": {
112
+ "type": "boolean"
113
+ },
114
+ "alwaysLoad": {
115
+ "type": "boolean"
116
+ },
117
+ "role": {
118
+ "const": "comms"
119
+ }
120
+ },
121
+ "required": [
122
+ "type",
123
+ "url",
124
+ "ideName"
125
+ ]
126
+ },
127
+ {
128
+ "type": "object",
129
+ "properties": {
130
+ "type": {
131
+ "const": "ws-ide"
132
+ },
133
+ "url": {
134
+ "type": "string"
135
+ },
136
+ "ideName": {
137
+ "type": "string"
138
+ },
139
+ "authToken": {
140
+ "type": "string"
141
+ },
142
+ "ideRunningInWindows": {
143
+ "type": "boolean"
144
+ },
145
+ "alwaysLoad": {
146
+ "type": "boolean"
147
+ },
148
+ "role": {
149
+ "const": "comms"
150
+ }
151
+ },
152
+ "required": [
153
+ "type",
154
+ "url",
155
+ "ideName"
156
+ ]
157
+ },
158
+ {
159
+ "type": "object",
160
+ "properties": {
161
+ "type": {
162
+ "enum": [
163
+ "http",
164
+ "streamable-http"
165
+ ]
166
+ },
167
+ "url": {
168
+ "type": "string"
169
+ },
170
+ "headers": {
171
+ "type": "object",
172
+ "additionalProperties": {
173
+ "type": "string"
174
+ }
175
+ },
176
+ "headersHelper": {
177
+ "type": "string"
178
+ },
179
+ "oauth": {
180
+ "type": "object",
181
+ "properties": {
182
+ "clientId": {
183
+ "type": "string"
184
+ },
185
+ "callbackPort": {
186
+ "type": "number"
187
+ },
188
+ "authServerMetadataUrl": {
189
+ "type": "string",
190
+ "format": "uri"
191
+ },
192
+ "scopes": {
193
+ "type": "string",
194
+ "minLength": 1
195
+ },
196
+ "xaa": {
197
+ "type": "boolean"
198
+ }
199
+ }
200
+ },
201
+ "alwaysLoad": {
202
+ "type": "boolean"
203
+ },
204
+ "role": {
205
+ "const": "comms"
206
+ }
207
+ },
208
+ "required": [
209
+ "type",
210
+ "url"
211
+ ]
212
+ },
213
+ {
214
+ "type": "object",
215
+ "properties": {
216
+ "type": {
217
+ "const": "ws"
218
+ },
219
+ "url": {
220
+ "type": "string"
221
+ },
222
+ "headers": {
223
+ "type": "object",
224
+ "additionalProperties": {
225
+ "type": "string"
226
+ }
227
+ },
228
+ "headersHelper": {
229
+ "type": "string"
230
+ },
231
+ "alwaysLoad": {
232
+ "type": "boolean"
233
+ },
234
+ "role": {
235
+ "const": "comms"
236
+ }
237
+ },
238
+ "required": [
239
+ "type",
240
+ "url"
241
+ ]
242
+ },
243
+ {
244
+ "type": "object",
245
+ "properties": {
246
+ "type": {
247
+ "const": "sdk"
248
+ },
249
+ "name": {
250
+ "type": "string"
251
+ },
252
+ "alwaysLoad": {
253
+ "type": "boolean"
254
+ }
255
+ },
256
+ "required": [
257
+ "type",
258
+ "name"
259
+ ]
260
+ },
261
+ {
262
+ "type": "object",
263
+ "properties": {
264
+ "type": {
265
+ "const": "claudeai-proxy"
266
+ },
267
+ "url": {
268
+ "type": "string"
269
+ },
270
+ "id": {
271
+ "type": "string"
272
+ },
273
+ "alwaysLoad": {
274
+ "type": "boolean"
275
+ },
276
+ "toolPermissions": {
277
+ "type": "object",
278
+ "additionalProperties": {
279
+ "enum": [
280
+ "allow",
281
+ "ask",
282
+ "blocked"
283
+ ]
284
+ }
285
+ }
286
+ },
287
+ "required": [
288
+ "type",
289
+ "url",
290
+ "id"
291
+ ]
292
+ }
293
+ ]
294
+ }
295
+ }
296
+ },
297
+ "required": [
298
+ "mcpServers"
299
+ ],
300
+ "description": "Claude Code .mcp.json / mcp.json. The single `mcpServers` key maps server names to per-server transport configs (stdio / sse / http / streamable-http / …). Validates the structure of known fields; unknown server fields are not schema errors — the advisory mcp-json/no-unknown-server-fields rule reports those."
301
+ }
302
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "extractedFromClaudeCodeVersion": "2.1.146",
3
- "extractedAt": "2026-05-21T20:50:34.861Z",
3
+ "extractedAt": "2026-05-22T08:16:43.683Z",
4
4
  "schema": {
5
5
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6
6
  "title": "Claude Code settings.json",
@@ -225,6 +225,264 @@
225
225
  "description": "Enterprise denylist of MCP servers that are explicitly blocked. If a server is on the denylist, it will be blocked across all scopes including enterprise. Denylist takes precedence over allowlist - if a server is on both lists, it is denied."
226
226
  },
227
227
  "hooks": {
228
+ "type": "object",
229
+ "additionalProperties": {
230
+ "type": "array",
231
+ "items": {
232
+ "type": "object",
233
+ "properties": {
234
+ "matcher": {
235
+ "type": "string",
236
+ "description": "String pattern to match (e.g. tool names like \"Write\")"
237
+ },
238
+ "hooks": {
239
+ "type": "array",
240
+ "items": {
241
+ "oneOf": [
242
+ {
243
+ "type": "object",
244
+ "properties": {
245
+ "type": {
246
+ "const": "command",
247
+ "description": "Shell command hook type"
248
+ },
249
+ "command": {
250
+ "type": "string",
251
+ "description": "Shell command to execute"
252
+ },
253
+ "args": {
254
+ "type": "array",
255
+ "items": {
256
+ "type": "string"
257
+ },
258
+ "description": "Argument list for exec form. When present, `command` is resolved as \"+\"an executable and spawned directly with these arguments \\u2014 no shell. \"+\"Path placeholders like ${CLAUDE_PLUGIN_ROOT} are substituted per-element as plain strings, so paths with quotes, $, or backticks never reach a shell parser. When absent, `command` runs through a shell (bash on POSIX, PowerShell on Windows without Git Bash)."
259
+ },
260
+ "if": {
261
+ "type": "string",
262
+ "description": "Permission rule syntax to filter when this hook runs (e.g., \"Bash(git *)\"). Only runs if the tool call matches the pattern. Avoids spawning hooks for non-matching commands."
263
+ },
264
+ "shell": {
265
+ "enum": [
266
+ "bash",
267
+ "powershell"
268
+ ],
269
+ "description": "Shell interpreter. 'bash' uses your $SHELL (bash/zsh/sh); 'powershell' uses pwsh. Defaults to bash (powershell on Windows without Git Bash)."
270
+ },
271
+ "timeout": {
272
+ "type": "number",
273
+ "description": "Timeout in seconds for this specific command"
274
+ },
275
+ "statusMessage": {
276
+ "type": "string",
277
+ "description": "Custom status message to display in spinner while hook runs"
278
+ },
279
+ "once": {
280
+ "type": "boolean",
281
+ "description": "If true, hook runs once and is removed after execution"
282
+ },
283
+ "async": {
284
+ "type": "boolean",
285
+ "description": "If true, hook runs in background without blocking"
286
+ },
287
+ "asyncRewake": {
288
+ "type": "boolean",
289
+ "description": "If true, hook runs in background and wakes the model on exit code 2 (blocking error). Implies async."
290
+ },
291
+ "rewakeMessage": {
292
+ "type": "string",
293
+ "minLength": 1,
294
+ "description": "@internal Custom prefix for the system-reminder shown to the model when an asyncRewake hook exits with code 2. The hook output is appended after this prefix."
295
+ },
296
+ "rewakeSummary": {
297
+ "type": "string",
298
+ "minLength": 1,
299
+ "description": "@internal One-line summary shown to the user in the terminal when an asyncRewake hook exits with code 2. Defaults to \"Stop hook feedback\"."
300
+ }
301
+ },
302
+ "required": [
303
+ "type",
304
+ "command"
305
+ ]
306
+ },
307
+ {
308
+ "type": "object",
309
+ "properties": {
310
+ "type": {
311
+ "const": "prompt",
312
+ "description": "LLM prompt hook type"
313
+ },
314
+ "prompt": {
315
+ "type": "string",
316
+ "description": "Prompt to evaluate with LLM. Use $ARGUMENTS placeholder for hook input JSON."
317
+ },
318
+ "if": {
319
+ "type": "string",
320
+ "description": "Permission rule syntax to filter when this hook runs (e.g., \"Bash(git *)\"). Only runs if the tool call matches the pattern. Avoids spawning hooks for non-matching commands."
321
+ },
322
+ "timeout": {
323
+ "type": "number",
324
+ "description": "Timeout in seconds for this specific prompt evaluation"
325
+ },
326
+ "model": {
327
+ "type": "string",
328
+ "description": "Model to use for this prompt hook (e.g., \"claude-sonnet-4-6\"). If not specified, uses the default small fast model."
329
+ },
330
+ "continueOnBlock": {
331
+ "type": "boolean",
332
+ "description": "`Sets the continue value for the decision:\"block\" produced when ok is false. Default false (turn ends). Whether continue:true lets the turn proceed depends on the event's decision:\"block\" semantics. On PostToolUse, the reason is fed back to Claude and the turn continues.`"
333
+ },
334
+ "statusMessage": {
335
+ "type": "string",
336
+ "description": "Custom status message to display in spinner while hook runs"
337
+ },
338
+ "once": {
339
+ "type": "boolean",
340
+ "description": "If true, hook runs once and is removed after execution"
341
+ }
342
+ },
343
+ "required": [
344
+ "type",
345
+ "prompt"
346
+ ]
347
+ },
348
+ {
349
+ "type": "object",
350
+ "properties": {
351
+ "type": {
352
+ "const": "agent",
353
+ "description": "Agentic verifier hook type"
354
+ },
355
+ "prompt": {
356
+ "type": "string",
357
+ "description": "Prompt describing what to verify (e.g. \"Verify that unit tests ran and passed.\"). Use $ARGUMENTS placeholder for hook input JSON."
358
+ },
359
+ "if": {
360
+ "type": "string",
361
+ "description": "Permission rule syntax to filter when this hook runs (e.g., \"Bash(git *)\"). Only runs if the tool call matches the pattern. Avoids spawning hooks for non-matching commands."
362
+ },
363
+ "timeout": {
364
+ "type": "number",
365
+ "description": "Timeout in seconds for agent execution (default 60)"
366
+ },
367
+ "model": {
368
+ "type": "string",
369
+ "description": "Model to use for this agent hook (e.g., \"claude-sonnet-4-6\"). If not specified, uses Haiku."
370
+ },
371
+ "statusMessage": {
372
+ "type": "string",
373
+ "description": "Custom status message to display in spinner while hook runs"
374
+ },
375
+ "once": {
376
+ "type": "boolean",
377
+ "description": "If true, hook runs once and is removed after execution"
378
+ }
379
+ },
380
+ "required": [
381
+ "type",
382
+ "prompt"
383
+ ]
384
+ },
385
+ {
386
+ "type": "object",
387
+ "properties": {
388
+ "type": {
389
+ "const": "http",
390
+ "description": "HTTP hook type"
391
+ },
392
+ "url": {
393
+ "type": "string",
394
+ "format": "uri",
395
+ "description": "URL to POST the hook input JSON to"
396
+ },
397
+ "if": {
398
+ "type": "string",
399
+ "description": "Permission rule syntax to filter when this hook runs (e.g., \"Bash(git *)\"). Only runs if the tool call matches the pattern. Avoids spawning hooks for non-matching commands."
400
+ },
401
+ "timeout": {
402
+ "type": "number",
403
+ "description": "Timeout in seconds for this specific request"
404
+ },
405
+ "headers": {
406
+ "type": "object",
407
+ "additionalProperties": {
408
+ "type": "string"
409
+ },
410
+ "description": "Additional headers to include in the request. Values may reference environment variables using $VAR_NAME or ${VAR_NAME} syntax (e.g., \"Authorization\": \"Bearer $MY_TOKEN\"). Only variables listed in allowedEnvVars will be interpolated."
411
+ },
412
+ "allowedEnvVars": {
413
+ "type": "array",
414
+ "items": {
415
+ "type": "string"
416
+ },
417
+ "description": "Explicit list of environment variable names that may be interpolated in header values. Only variables listed here will be resolved; all other $VAR references are left as empty strings. Required for env var interpolation to work."
418
+ },
419
+ "statusMessage": {
420
+ "type": "string",
421
+ "description": "Custom status message to display in spinner while hook runs"
422
+ },
423
+ "once": {
424
+ "type": "boolean",
425
+ "description": "If true, hook runs once and is removed after execution"
426
+ }
427
+ },
428
+ "required": [
429
+ "type",
430
+ "url"
431
+ ]
432
+ },
433
+ {
434
+ "type": "object",
435
+ "properties": {
436
+ "type": {
437
+ "const": "mcp_tool",
438
+ "description": "MCP tool hook type"
439
+ },
440
+ "server": {
441
+ "type": "string",
442
+ "description": "Name of an already-configured MCP server to invoke"
443
+ },
444
+ "tool": {
445
+ "type": "string",
446
+ "description": "Name of the tool on that server to call"
447
+ },
448
+ "input": {
449
+ "type": "object",
450
+ "additionalProperties": {},
451
+ "description": "Arguments passed to the MCP tool. String values support ${path} interpolation from the hook input JSON (e.g. \"${tool_input.file_path}\")."
452
+ },
453
+ "if": {
454
+ "type": "string",
455
+ "description": "Permission rule syntax to filter when this hook runs (e.g., \"Bash(git *)\"). Only runs if the tool call matches the pattern. Avoids spawning hooks for non-matching commands."
456
+ },
457
+ "timeout": {
458
+ "type": "number",
459
+ "description": "Timeout in seconds for this specific tool call"
460
+ },
461
+ "statusMessage": {
462
+ "type": "string",
463
+ "description": "Custom status message to display in spinner while hook runs"
464
+ },
465
+ "once": {
466
+ "type": "boolean",
467
+ "description": "If true, hook runs once and is removed after execution"
468
+ }
469
+ },
470
+ "required": [
471
+ "type",
472
+ "server",
473
+ "tool"
474
+ ]
475
+ }
476
+ ]
477
+ },
478
+ "description": "List of hooks to execute when the matcher matches"
479
+ }
480
+ },
481
+ "required": [
482
+ "hooks"
483
+ ]
484
+ }
485
+ },
228
486
  "description": "Custom commands to run before/after tool executions"
229
487
  },
230
488
  "worktree": {
@@ -317,7 +575,14 @@
317
575
  },
318
576
  {
319
577
  "type": "array",
320
- "items": {}
578
+ "items": {
579
+ "enum": [
580
+ "skills",
581
+ "agents",
582
+ "hooks",
583
+ "mcp"
584
+ ]
585
+ }
321
586
  }
322
587
  ],
323
588
  "description": "'When set in managed settings, blocks non-plugin customization sources for the listed surfaces. Array form locks specific surfaces (e.g. [\"skills\", \"hooks\"]); `true` locks all four; `false` is an explicit no-op. Blocked: ~/.claude/{surface}/, .claude/{surface}/ (project), settings.json hooks, .mcp.json. NOT blocked: managed (policySettings) sources, plugin-provided customizations. '+\"Composes with strictKnownMarketplaces for end-to-end admin control \\u2014 plugins gated by \"+\"marketplace allowlist, everything else blocked here.\""
@@ -2138,6 +2403,10 @@
2138
2403
  "description": "Color theme for the UI"
2139
2404
  },
2140
2405
  "editorMode": {
2406
+ "enum": [
2407
+ "normal",
2408
+ "vim"
2409
+ ],
2141
2410
  "description": "Key binding mode for the prompt input"
2142
2411
  },
2143
2412
  "verbose": {
@@ -2145,6 +2414,15 @@
2145
2414
  "description": "Show full tool output instead of truncated summaries"
2146
2415
  },
2147
2416
  "preferredNotifChannel": {
2417
+ "enum": [
2418
+ "auto",
2419
+ "iterm2",
2420
+ "iterm2_with_bell",
2421
+ "terminal_bell",
2422
+ "kitty",
2423
+ "ghostty",
2424
+ "notifications_disabled"
2425
+ ],
2148
2426
  "description": "Preferred OS notification channel"
2149
2427
  },
2150
2428
  "autoCompactEnabled": {
@@ -2176,6 +2454,11 @@
2176
2454
  "description": "Enable the todo / task tracking panel"
2177
2455
  },
2178
2456
  "teammateMode": {
2457
+ "enum": [
2458
+ "auto",
2459
+ "tmux",
2460
+ "in-process"
2461
+ ],
2179
2462
  "description": "How spawned teammates execute (tmux, in-process, auto)"
2180
2463
  },
2181
2464
  "remoteControlAtStartup": {