claudecode-linter 2.1.74 → 2.1.76
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 +55 -18
- package/package.json +2 -2
package/dist/contracts.js
CHANGED
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
// Auto-generated from contracts/claude-code-contracts.json
|
|
2
|
-
// Claude Code v2.1.
|
|
2
|
+
// Claude Code v2.1.76 — extracted 2026-03-14T06:23:34.339Z
|
|
3
3
|
// Do not edit manually. Run: npm run generate-contracts
|
|
4
4
|
export const TOOLS = new Set([
|
|
5
5
|
"Agent",
|
|
6
6
|
"AskUserQuestion",
|
|
7
7
|
"Bash",
|
|
8
|
+
"Config",
|
|
8
9
|
"Edit",
|
|
9
10
|
"EnterPlanMode",
|
|
10
11
|
"EnterWorktree",
|
|
11
12
|
"ExitPlanMode",
|
|
13
|
+
"ExitWorktree",
|
|
12
14
|
"Glob",
|
|
13
15
|
"Grep",
|
|
14
16
|
"LSP",
|
|
17
|
+
"ListMcpResources",
|
|
18
|
+
"Mcp",
|
|
15
19
|
"NotebookEdit",
|
|
16
20
|
"NotebookRead",
|
|
17
21
|
"Read",
|
|
22
|
+
"ReadMcpResource",
|
|
18
23
|
"SendMessage",
|
|
19
24
|
"Skill",
|
|
25
|
+
"SubscribeMcpResource",
|
|
26
|
+
"SubscribePolling",
|
|
20
27
|
"TaskCreate",
|
|
21
28
|
"TaskGet",
|
|
22
29
|
"TaskList",
|
|
@@ -27,6 +34,8 @@ export const TOOLS = new Set([
|
|
|
27
34
|
"TeamDelete",
|
|
28
35
|
"TodoWrite",
|
|
29
36
|
"ToolSearch",
|
|
37
|
+
"UnsubscribeMcpResource",
|
|
38
|
+
"UnsubscribePolling",
|
|
30
39
|
"WebFetch",
|
|
31
40
|
"WebSearch",
|
|
32
41
|
"Write",
|
|
@@ -38,6 +47,7 @@ export const HOOK_EVENTS = new Set([
|
|
|
38
47
|
"InstructionsLoaded",
|
|
39
48
|
"Notification",
|
|
40
49
|
"PermissionRequest",
|
|
50
|
+
"PostCompact",
|
|
41
51
|
"PostToolUse",
|
|
42
52
|
"PostToolUseFailure",
|
|
43
53
|
"PreCompact",
|
|
@@ -61,14 +71,27 @@ export const HOOK_TYPES = new Set([
|
|
|
61
71
|
"prompt",
|
|
62
72
|
]);
|
|
63
73
|
export const PROMPT_EVENTS = new Set([
|
|
74
|
+
"ConfigChange",
|
|
75
|
+
"Elicitation",
|
|
76
|
+
"ElicitationResult",
|
|
77
|
+
"InstructionsLoaded",
|
|
64
78
|
"Notification",
|
|
79
|
+
"PermissionRequest",
|
|
65
80
|
"PostToolUse",
|
|
66
81
|
"PostToolUseFailure",
|
|
82
|
+
"PreCompact",
|
|
67
83
|
"PreToolUse",
|
|
84
|
+
"SessionEnd",
|
|
68
85
|
"SessionStart",
|
|
69
86
|
"Setup",
|
|
87
|
+
"Stop",
|
|
70
88
|
"SubagentStart",
|
|
89
|
+
"SubagentStop",
|
|
90
|
+
"TaskCompleted",
|
|
91
|
+
"TeammateIdle",
|
|
71
92
|
"UserPromptSubmit",
|
|
93
|
+
"WorktreeCreate",
|
|
94
|
+
"WorktreeRemove",
|
|
72
95
|
]);
|
|
73
96
|
export const AGENT_COLORS = new Set([
|
|
74
97
|
"blue",
|
|
@@ -88,57 +111,65 @@ export const AGENT_MODELS = new Set([
|
|
|
88
111
|
"sonnet",
|
|
89
112
|
]);
|
|
90
113
|
export const PLUGIN_JSON_FIELDS = new Set([
|
|
91
|
-
"name",
|
|
92
|
-
"version",
|
|
93
|
-
"description",
|
|
94
114
|
"author",
|
|
115
|
+
"dependencies",
|
|
116
|
+
"description",
|
|
95
117
|
"homepage",
|
|
96
|
-
"repository",
|
|
97
|
-
"license",
|
|
98
118
|
"keywords",
|
|
119
|
+
"license",
|
|
120
|
+
"name",
|
|
121
|
+
"repository",
|
|
122
|
+
"version",
|
|
99
123
|
]);
|
|
100
124
|
export const AGENT_FRONTMATTER = new Set([
|
|
125
|
+
"criticalSystemReminder_EXPERIMENTAL",
|
|
101
126
|
"description",
|
|
102
|
-
"tools",
|
|
103
127
|
"disallowedTools",
|
|
104
|
-
"
|
|
105
|
-
"model",
|
|
128
|
+
"maxTurns",
|
|
106
129
|
"mcpServers",
|
|
107
|
-
"
|
|
130
|
+
"model",
|
|
131
|
+
"prompt",
|
|
108
132
|
"skills",
|
|
109
|
-
"
|
|
133
|
+
"tools",
|
|
110
134
|
]);
|
|
111
135
|
export const COMMAND_FRONTMATTER = new Set([
|
|
112
|
-
"
|
|
136
|
+
"allowedTools",
|
|
137
|
+
"argumentHint",
|
|
113
138
|
"content",
|
|
114
139
|
"description",
|
|
115
|
-
"argumentHint",
|
|
116
140
|
"model",
|
|
117
|
-
"
|
|
141
|
+
"source",
|
|
118
142
|
]);
|
|
119
143
|
export const MCP_SERVER_FIELDS = new Set([
|
|
120
|
-
"type",
|
|
121
|
-
"command",
|
|
122
144
|
"args",
|
|
145
|
+
"command",
|
|
146
|
+
"cwd",
|
|
123
147
|
"env",
|
|
124
|
-
"url",
|
|
125
148
|
"headers",
|
|
126
149
|
"headersHelper",
|
|
127
150
|
"oauth",
|
|
128
|
-
"
|
|
151
|
+
"type",
|
|
152
|
+
"url",
|
|
129
153
|
]);
|
|
130
154
|
export const SKILL_FRONTMATTER = new Set([
|
|
131
155
|
"allowed-tools",
|
|
132
156
|
"argument-hint",
|
|
157
|
+
"author",
|
|
158
|
+
"dependencies",
|
|
133
159
|
"description",
|
|
134
160
|
"disable-model-invocation",
|
|
161
|
+
"homepage",
|
|
162
|
+
"keywords",
|
|
163
|
+
"license",
|
|
135
164
|
"model",
|
|
136
165
|
"name",
|
|
166
|
+
"repository",
|
|
137
167
|
"user-invocable",
|
|
138
168
|
"version",
|
|
139
169
|
"when_to_use",
|
|
140
170
|
]);
|
|
141
171
|
export const SETTINGS_USER_FIELDS = new Set([
|
|
172
|
+
"$schema",
|
|
142
173
|
"agent",
|
|
143
174
|
"allowManagedHooksOnly",
|
|
144
175
|
"allowManagedMcpServersOnly",
|
|
@@ -148,6 +179,7 @@ export const SETTINGS_USER_FIELDS = new Set([
|
|
|
148
179
|
"alwaysThinkingEnabled",
|
|
149
180
|
"apiKeyHelper",
|
|
150
181
|
"attribution",
|
|
182
|
+
"autoMemoryDirectory",
|
|
151
183
|
"autoMemoryEnabled",
|
|
152
184
|
"autoMode",
|
|
153
185
|
"autoUpdatesChannel",
|
|
@@ -160,7 +192,9 @@ export const SETTINGS_USER_FIELDS = new Set([
|
|
|
160
192
|
"companyAnnouncements",
|
|
161
193
|
"deniedMcpServers",
|
|
162
194
|
"disableAllHooks",
|
|
195
|
+
"disableAutoMode",
|
|
163
196
|
"disabledMcpjsonServers",
|
|
197
|
+
"effortLevel",
|
|
164
198
|
"enableAllProjectMcpServers",
|
|
165
199
|
"enabledMcpjsonServers",
|
|
166
200
|
"enabledPlugins",
|
|
@@ -168,9 +202,11 @@ export const SETTINGS_USER_FIELDS = new Set([
|
|
|
168
202
|
"extraKnownMarketplaces",
|
|
169
203
|
"fastMode",
|
|
170
204
|
"fastModePerSessionOptIn",
|
|
205
|
+
"feedbackSurveyRate",
|
|
171
206
|
"fileSuggestion",
|
|
172
207
|
"forceLoginMethod",
|
|
173
208
|
"forceLoginOrgUUID",
|
|
209
|
+
"gcpAuthRefresh",
|
|
174
210
|
"hooks",
|
|
175
211
|
"httpHookAllowedEnvVars",
|
|
176
212
|
"includeCoAuthoredBy",
|
|
@@ -178,6 +214,7 @@ export const SETTINGS_USER_FIELDS = new Set([
|
|
|
178
214
|
"language",
|
|
179
215
|
"minimumVersion",
|
|
180
216
|
"model",
|
|
217
|
+
"modelOverrides",
|
|
181
218
|
"otelHeadersHelper",
|
|
182
219
|
"outputStyle",
|
|
183
220
|
"permissions",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claudecode-linter",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.76",
|
|
4
4
|
"description": "Standalone linter for Claude Code plugins and configuration files",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
"npm-check-updates": "^19.6.3",
|
|
63
63
|
"tsx": "^4.21.0",
|
|
64
64
|
"typescript": "^5.9.3",
|
|
65
|
-
"vitest": "4.0
|
|
65
|
+
"vitest": "4.1.0"
|
|
66
66
|
}
|
|
67
67
|
}
|