@opentabs-dev/opentabs-plugin-npm 0.0.74
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/README.md +159 -0
- package/dist/adapter.iife.js +15010 -0
- package/dist/adapter.iife.js.map +7 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +46 -0
- package/dist/index.js.map +1 -0
- package/dist/npm-api.d.ts +9 -0
- package/dist/npm-api.d.ts.map +1 -0
- package/dist/npm-api.js +67 -0
- package/dist/npm-api.js.map +1 -0
- package/dist/tools/get-current-user.d.ts +7 -0
- package/dist/tools/get-current-user.d.ts.map +1 -0
- package/dist/tools/get-current-user.js +28 -0
- package/dist/tools/get-current-user.js.map +1 -0
- package/dist/tools/get-organization.d.ts +20 -0
- package/dist/tools/get-organization.d.ts.map +1 -0
- package/dist/tools/get-organization.js +31 -0
- package/dist/tools/get-organization.js.map +1 -0
- package/dist/tools/get-package-dependencies.d.ts +16 -0
- package/dist/tools/get-package-dependencies.d.ts.map +1 -0
- package/dist/tools/get-package-dependencies.js +32 -0
- package/dist/tools/get-package-dependencies.js.map +1 -0
- package/dist/tools/get-package-dependents.d.ts +10 -0
- package/dist/tools/get-package-dependents.d.ts.map +1 -0
- package/dist/tools/get-package-dependents.js +28 -0
- package/dist/tools/get-package-dependents.js.map +1 -0
- package/dist/tools/get-package-downloads.d.ts +11 -0
- package/dist/tools/get-package-downloads.d.ts.map +1 -0
- package/dist/tools/get-package-downloads.js +27 -0
- package/dist/tools/get-package-downloads.js.map +1 -0
- package/dist/tools/get-package-readme.d.ts +9 -0
- package/dist/tools/get-package-readme.d.ts.map +1 -0
- package/dist/tools/get-package-readme.js +35 -0
- package/dist/tools/get-package-readme.js.map +1 -0
- package/dist/tools/get-package-version.d.ts +37 -0
- package/dist/tools/get-package-version.d.ts.map +1 -0
- package/dist/tools/get-package-version.js +30 -0
- package/dist/tools/get-package-version.js.map +1 -0
- package/dist/tools/get-package-versions.d.ts +12 -0
- package/dist/tools/get-package-versions.d.ts.map +1 -0
- package/dist/tools/get-package-versions.js +33 -0
- package/dist/tools/get-package-versions.js.map +1 -0
- package/dist/tools/get-package.d.ts +28 -0
- package/dist/tools/get-package.d.ts.map +1 -0
- package/dist/tools/get-package.js +23 -0
- package/dist/tools/get-package.js.map +1 -0
- package/dist/tools/get-user-packages.d.ts +14 -0
- package/dist/tools/get-user-packages.d.ts.map +1 -0
- package/dist/tools/get-user-packages.js +31 -0
- package/dist/tools/get-user-packages.js.map +1 -0
- package/dist/tools/get-user-profile.d.ts +12 -0
- package/dist/tools/get-user-profile.d.ts.map +1 -0
- package/dist/tools/get-user-profile.js +23 -0
- package/dist/tools/get-user-profile.js.map +1 -0
- package/dist/tools/list-tokens.d.ts +10 -0
- package/dist/tools/list-tokens.d.ts.map +1 -0
- package/dist/tools/list-tokens.js +24 -0
- package/dist/tools/list-tokens.js.map +1 -0
- package/dist/tools/list-user-packages.d.ts +13 -0
- package/dist/tools/list-user-packages.d.ts.map +1 -0
- package/dist/tools/list-user-packages.js +31 -0
- package/dist/tools/list-user-packages.js.map +1 -0
- package/dist/tools/schemas.d.ts +355 -0
- package/dist/tools/schemas.d.ts.map +1 -0
- package/dist/tools/schemas.js +195 -0
- package/dist/tools/schemas.js.map +1 -0
- package/dist/tools/search-packages.d.ts +26 -0
- package/dist/tools/search-packages.d.ts.map +1 -0
- package/dist/tools/search-packages.js +31 -0
- package/dist/tools/search-packages.js.map +1 -0
- package/dist/tools.json +1197 -0
- package/package.json +53 -0
package/dist/tools.json
ADDED
|
@@ -0,0 +1,1197 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sdkVersion": "0.0.74",
|
|
3
|
+
"iconSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z\" fill=\"#CB3837\"/></svg>",
|
|
4
|
+
"iconInactiveSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z\" fill=\"#999999\"/></svg>",
|
|
5
|
+
"iconDarkSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z\" fill=\"#CB3837\"/></svg>",
|
|
6
|
+
"iconDarkInactiveSvg": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z\" fill=\"#999999\"/></svg>",
|
|
7
|
+
"tools": [
|
|
8
|
+
{
|
|
9
|
+
"name": "get_current_user",
|
|
10
|
+
"displayName": "Get Current User",
|
|
11
|
+
"description": "Get the profile of the currently authenticated npm user including username and avatar.",
|
|
12
|
+
"summary": "Get the authenticated npm user profile",
|
|
13
|
+
"icon": "user",
|
|
14
|
+
"group": "Account",
|
|
15
|
+
"input_schema": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {},
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
},
|
|
20
|
+
"output_schema": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"username": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "npm username"
|
|
26
|
+
},
|
|
27
|
+
"avatar_url": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Avatar URL"
|
|
30
|
+
},
|
|
31
|
+
"email_verified": {
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"description": "Whether email is verified"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"username",
|
|
38
|
+
"avatar_url",
|
|
39
|
+
"email_verified"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "search_packages",
|
|
46
|
+
"displayName": "Search Packages",
|
|
47
|
+
"description": "Search for npm packages by keyword. Supports special qualifiers: author:name, maintainer:name, scope:name, keywords:term (use , for OR, + for AND), not:unstable, not:insecure, is:unstable, is:insecure. Returns packages with scores and metadata.",
|
|
48
|
+
"summary": "Search the npm registry for packages",
|
|
49
|
+
"icon": "search",
|
|
50
|
+
"group": "Packages",
|
|
51
|
+
"input_schema": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"query": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "Search query text with optional qualifiers (e.g., \"react\", \"author:sindresorhus\")"
|
|
57
|
+
},
|
|
58
|
+
"page": {
|
|
59
|
+
"description": "Page number for pagination (default 0)",
|
|
60
|
+
"type": "integer",
|
|
61
|
+
"minimum": 0,
|
|
62
|
+
"maximum": 9007199254740991
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": [
|
|
66
|
+
"query"
|
|
67
|
+
],
|
|
68
|
+
"additionalProperties": false
|
|
69
|
+
},
|
|
70
|
+
"output_schema": {
|
|
71
|
+
"type": "object",
|
|
72
|
+
"properties": {
|
|
73
|
+
"packages": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": {
|
|
78
|
+
"name": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Package name"
|
|
81
|
+
},
|
|
82
|
+
"version": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "Latest version"
|
|
85
|
+
},
|
|
86
|
+
"description": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "Package description"
|
|
89
|
+
},
|
|
90
|
+
"keywords": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"items": {
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"description": "Package keywords"
|
|
96
|
+
},
|
|
97
|
+
"date": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"description": "Last publish date (ISO 8601)"
|
|
100
|
+
},
|
|
101
|
+
"publisher": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "Publisher username"
|
|
104
|
+
},
|
|
105
|
+
"maintainers": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"items": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"description": "Maintainer usernames"
|
|
111
|
+
},
|
|
112
|
+
"npm_url": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"description": "npmjs.com URL"
|
|
115
|
+
},
|
|
116
|
+
"homepage": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"description": "Homepage URL"
|
|
119
|
+
},
|
|
120
|
+
"repository": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"description": "Repository URL"
|
|
123
|
+
},
|
|
124
|
+
"bugs": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "Bug tracker URL"
|
|
127
|
+
},
|
|
128
|
+
"score_final": {
|
|
129
|
+
"type": "number",
|
|
130
|
+
"description": "Overall quality score (0-1)"
|
|
131
|
+
},
|
|
132
|
+
"score_quality": {
|
|
133
|
+
"type": "number",
|
|
134
|
+
"description": "Quality score (0-1)"
|
|
135
|
+
},
|
|
136
|
+
"score_popularity": {
|
|
137
|
+
"type": "number",
|
|
138
|
+
"description": "Popularity score (0-1)"
|
|
139
|
+
},
|
|
140
|
+
"score_maintenance": {
|
|
141
|
+
"type": "number",
|
|
142
|
+
"description": "Maintenance score (0-1)"
|
|
143
|
+
},
|
|
144
|
+
"search_score": {
|
|
145
|
+
"type": "number",
|
|
146
|
+
"description": "Search relevance score"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"required": [
|
|
150
|
+
"name",
|
|
151
|
+
"version",
|
|
152
|
+
"description",
|
|
153
|
+
"keywords",
|
|
154
|
+
"date",
|
|
155
|
+
"publisher",
|
|
156
|
+
"maintainers",
|
|
157
|
+
"npm_url",
|
|
158
|
+
"homepage",
|
|
159
|
+
"repository",
|
|
160
|
+
"bugs",
|
|
161
|
+
"score_final",
|
|
162
|
+
"score_quality",
|
|
163
|
+
"score_popularity",
|
|
164
|
+
"score_maintenance",
|
|
165
|
+
"search_score"
|
|
166
|
+
],
|
|
167
|
+
"additionalProperties": false
|
|
168
|
+
},
|
|
169
|
+
"description": "Matching packages"
|
|
170
|
+
},
|
|
171
|
+
"total": {
|
|
172
|
+
"type": "number",
|
|
173
|
+
"description": "Total number of matching packages"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"required": [
|
|
177
|
+
"packages",
|
|
178
|
+
"total"
|
|
179
|
+
],
|
|
180
|
+
"additionalProperties": false
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "get_package",
|
|
185
|
+
"displayName": "Get Package",
|
|
186
|
+
"description": "Get detailed information about an npm package including version, description, maintainers, dist-tags, download stats, dependencies, and star status. Use the exact package name including scope (e.g., \"@types/node\").",
|
|
187
|
+
"summary": "Get npm package details",
|
|
188
|
+
"icon": "package",
|
|
189
|
+
"group": "Packages",
|
|
190
|
+
"input_schema": {
|
|
191
|
+
"type": "object",
|
|
192
|
+
"properties": {
|
|
193
|
+
"name": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"description": "Package name (e.g., \"express\", \"@types/node\")"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"required": [
|
|
199
|
+
"name"
|
|
200
|
+
],
|
|
201
|
+
"additionalProperties": false
|
|
202
|
+
},
|
|
203
|
+
"output_schema": {
|
|
204
|
+
"type": "object",
|
|
205
|
+
"properties": {
|
|
206
|
+
"package": {
|
|
207
|
+
"type": "object",
|
|
208
|
+
"properties": {
|
|
209
|
+
"name": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"description": "Package name"
|
|
212
|
+
},
|
|
213
|
+
"version": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"description": "Latest version"
|
|
216
|
+
},
|
|
217
|
+
"description": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"description": "Package description"
|
|
220
|
+
},
|
|
221
|
+
"license": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"description": "License identifier (e.g., \"MIT\")"
|
|
224
|
+
},
|
|
225
|
+
"homepage": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"description": "Homepage URL"
|
|
228
|
+
},
|
|
229
|
+
"repository_url": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"description": "Repository URL"
|
|
232
|
+
},
|
|
233
|
+
"bugs_url": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"description": "Bug tracker URL"
|
|
236
|
+
},
|
|
237
|
+
"keywords": {
|
|
238
|
+
"type": "array",
|
|
239
|
+
"items": {
|
|
240
|
+
"type": "string"
|
|
241
|
+
},
|
|
242
|
+
"description": "Package keywords"
|
|
243
|
+
},
|
|
244
|
+
"author_name": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"description": "Author name"
|
|
247
|
+
},
|
|
248
|
+
"maintainers": {
|
|
249
|
+
"type": "array",
|
|
250
|
+
"items": {
|
|
251
|
+
"type": "object",
|
|
252
|
+
"properties": {
|
|
253
|
+
"name": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "npm username"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"required": [
|
|
259
|
+
"name"
|
|
260
|
+
],
|
|
261
|
+
"additionalProperties": false
|
|
262
|
+
},
|
|
263
|
+
"description": "Package maintainers"
|
|
264
|
+
},
|
|
265
|
+
"dist_tags": {
|
|
266
|
+
"type": "object",
|
|
267
|
+
"propertyNames": {
|
|
268
|
+
"type": "string"
|
|
269
|
+
},
|
|
270
|
+
"additionalProperties": {
|
|
271
|
+
"type": "string"
|
|
272
|
+
},
|
|
273
|
+
"description": "Dist-tags mapping (e.g., latest, next)"
|
|
274
|
+
},
|
|
275
|
+
"last_publish_time": {
|
|
276
|
+
"type": "string",
|
|
277
|
+
"description": "Last publish timestamp (ISO 8601)"
|
|
278
|
+
},
|
|
279
|
+
"last_publish_maintainer": {
|
|
280
|
+
"type": "string",
|
|
281
|
+
"description": "Last publish maintainer"
|
|
282
|
+
},
|
|
283
|
+
"typescript_support": {
|
|
284
|
+
"type": "string",
|
|
285
|
+
"description": "TypeScript support type"
|
|
286
|
+
},
|
|
287
|
+
"is_starred": {
|
|
288
|
+
"type": "boolean",
|
|
289
|
+
"description": "Whether the current user has starred"
|
|
290
|
+
},
|
|
291
|
+
"dependents_count": {
|
|
292
|
+
"type": "string",
|
|
293
|
+
"description": "Number of dependent packages"
|
|
294
|
+
},
|
|
295
|
+
"funding_url": {
|
|
296
|
+
"type": "string",
|
|
297
|
+
"description": "Funding/sponsor URL"
|
|
298
|
+
},
|
|
299
|
+
"has_provenance": {
|
|
300
|
+
"type": "boolean",
|
|
301
|
+
"description": "Whether provenance is enabled"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"required": [
|
|
305
|
+
"name",
|
|
306
|
+
"version",
|
|
307
|
+
"description",
|
|
308
|
+
"license",
|
|
309
|
+
"homepage",
|
|
310
|
+
"repository_url",
|
|
311
|
+
"bugs_url",
|
|
312
|
+
"keywords",
|
|
313
|
+
"author_name",
|
|
314
|
+
"maintainers",
|
|
315
|
+
"dist_tags",
|
|
316
|
+
"last_publish_time",
|
|
317
|
+
"last_publish_maintainer",
|
|
318
|
+
"typescript_support",
|
|
319
|
+
"is_starred",
|
|
320
|
+
"dependents_count",
|
|
321
|
+
"funding_url",
|
|
322
|
+
"has_provenance"
|
|
323
|
+
],
|
|
324
|
+
"additionalProperties": false
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"required": [
|
|
328
|
+
"package"
|
|
329
|
+
],
|
|
330
|
+
"additionalProperties": false
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "get_package_version",
|
|
335
|
+
"displayName": "Get Package Version",
|
|
336
|
+
"description": "Get detailed information about a specific version of an npm package, including dependencies and dev dependencies for that version.",
|
|
337
|
+
"summary": "Get details for a specific package version",
|
|
338
|
+
"icon": "tag",
|
|
339
|
+
"group": "Packages",
|
|
340
|
+
"input_schema": {
|
|
341
|
+
"type": "object",
|
|
342
|
+
"properties": {
|
|
343
|
+
"name": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"description": "Package name (e.g., \"express\")"
|
|
346
|
+
},
|
|
347
|
+
"version": {
|
|
348
|
+
"type": "string",
|
|
349
|
+
"description": "Version number (e.g., \"5.2.1\")"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"required": [
|
|
353
|
+
"name",
|
|
354
|
+
"version"
|
|
355
|
+
],
|
|
356
|
+
"additionalProperties": false
|
|
357
|
+
},
|
|
358
|
+
"output_schema": {
|
|
359
|
+
"type": "object",
|
|
360
|
+
"properties": {
|
|
361
|
+
"package": {
|
|
362
|
+
"type": "object",
|
|
363
|
+
"properties": {
|
|
364
|
+
"name": {
|
|
365
|
+
"type": "string",
|
|
366
|
+
"description": "Package name"
|
|
367
|
+
},
|
|
368
|
+
"version": {
|
|
369
|
+
"type": "string",
|
|
370
|
+
"description": "Latest version"
|
|
371
|
+
},
|
|
372
|
+
"description": {
|
|
373
|
+
"type": "string",
|
|
374
|
+
"description": "Package description"
|
|
375
|
+
},
|
|
376
|
+
"license": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"description": "License identifier (e.g., \"MIT\")"
|
|
379
|
+
},
|
|
380
|
+
"homepage": {
|
|
381
|
+
"type": "string",
|
|
382
|
+
"description": "Homepage URL"
|
|
383
|
+
},
|
|
384
|
+
"repository_url": {
|
|
385
|
+
"type": "string",
|
|
386
|
+
"description": "Repository URL"
|
|
387
|
+
},
|
|
388
|
+
"bugs_url": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"description": "Bug tracker URL"
|
|
391
|
+
},
|
|
392
|
+
"keywords": {
|
|
393
|
+
"type": "array",
|
|
394
|
+
"items": {
|
|
395
|
+
"type": "string"
|
|
396
|
+
},
|
|
397
|
+
"description": "Package keywords"
|
|
398
|
+
},
|
|
399
|
+
"author_name": {
|
|
400
|
+
"type": "string",
|
|
401
|
+
"description": "Author name"
|
|
402
|
+
},
|
|
403
|
+
"maintainers": {
|
|
404
|
+
"type": "array",
|
|
405
|
+
"items": {
|
|
406
|
+
"type": "object",
|
|
407
|
+
"properties": {
|
|
408
|
+
"name": {
|
|
409
|
+
"type": "string",
|
|
410
|
+
"description": "npm username"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"required": [
|
|
414
|
+
"name"
|
|
415
|
+
],
|
|
416
|
+
"additionalProperties": false
|
|
417
|
+
},
|
|
418
|
+
"description": "Package maintainers"
|
|
419
|
+
},
|
|
420
|
+
"dist_tags": {
|
|
421
|
+
"type": "object",
|
|
422
|
+
"propertyNames": {
|
|
423
|
+
"type": "string"
|
|
424
|
+
},
|
|
425
|
+
"additionalProperties": {
|
|
426
|
+
"type": "string"
|
|
427
|
+
},
|
|
428
|
+
"description": "Dist-tags mapping (e.g., latest, next)"
|
|
429
|
+
},
|
|
430
|
+
"last_publish_time": {
|
|
431
|
+
"type": "string",
|
|
432
|
+
"description": "Last publish timestamp (ISO 8601)"
|
|
433
|
+
},
|
|
434
|
+
"last_publish_maintainer": {
|
|
435
|
+
"type": "string",
|
|
436
|
+
"description": "Last publish maintainer"
|
|
437
|
+
},
|
|
438
|
+
"typescript_support": {
|
|
439
|
+
"type": "string",
|
|
440
|
+
"description": "TypeScript support type"
|
|
441
|
+
},
|
|
442
|
+
"is_starred": {
|
|
443
|
+
"type": "boolean",
|
|
444
|
+
"description": "Whether the current user has starred"
|
|
445
|
+
},
|
|
446
|
+
"dependents_count": {
|
|
447
|
+
"type": "string",
|
|
448
|
+
"description": "Number of dependent packages"
|
|
449
|
+
},
|
|
450
|
+
"funding_url": {
|
|
451
|
+
"type": "string",
|
|
452
|
+
"description": "Funding/sponsor URL"
|
|
453
|
+
},
|
|
454
|
+
"has_provenance": {
|
|
455
|
+
"type": "boolean",
|
|
456
|
+
"description": "Whether provenance is enabled"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"required": [
|
|
460
|
+
"name",
|
|
461
|
+
"version",
|
|
462
|
+
"description",
|
|
463
|
+
"license",
|
|
464
|
+
"homepage",
|
|
465
|
+
"repository_url",
|
|
466
|
+
"bugs_url",
|
|
467
|
+
"keywords",
|
|
468
|
+
"author_name",
|
|
469
|
+
"maintainers",
|
|
470
|
+
"dist_tags",
|
|
471
|
+
"last_publish_time",
|
|
472
|
+
"last_publish_maintainer",
|
|
473
|
+
"typescript_support",
|
|
474
|
+
"is_starred",
|
|
475
|
+
"dependents_count",
|
|
476
|
+
"funding_url",
|
|
477
|
+
"has_provenance"
|
|
478
|
+
],
|
|
479
|
+
"additionalProperties": false
|
|
480
|
+
},
|
|
481
|
+
"dependencies": {
|
|
482
|
+
"type": "array",
|
|
483
|
+
"items": {
|
|
484
|
+
"type": "object",
|
|
485
|
+
"properties": {
|
|
486
|
+
"name": {
|
|
487
|
+
"type": "string",
|
|
488
|
+
"description": "Package name"
|
|
489
|
+
},
|
|
490
|
+
"version": {
|
|
491
|
+
"type": "string",
|
|
492
|
+
"description": "Version range"
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
"required": [
|
|
496
|
+
"name",
|
|
497
|
+
"version"
|
|
498
|
+
],
|
|
499
|
+
"additionalProperties": false
|
|
500
|
+
},
|
|
501
|
+
"description": "Runtime dependencies"
|
|
502
|
+
},
|
|
503
|
+
"dev_dependencies": {
|
|
504
|
+
"type": "array",
|
|
505
|
+
"items": {
|
|
506
|
+
"type": "object",
|
|
507
|
+
"properties": {
|
|
508
|
+
"name": {
|
|
509
|
+
"type": "string",
|
|
510
|
+
"description": "Package name"
|
|
511
|
+
},
|
|
512
|
+
"version": {
|
|
513
|
+
"type": "string",
|
|
514
|
+
"description": "Version range"
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
"required": [
|
|
518
|
+
"name",
|
|
519
|
+
"version"
|
|
520
|
+
],
|
|
521
|
+
"additionalProperties": false
|
|
522
|
+
},
|
|
523
|
+
"description": "Development dependencies"
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"required": [
|
|
527
|
+
"package",
|
|
528
|
+
"dependencies",
|
|
529
|
+
"dev_dependencies"
|
|
530
|
+
],
|
|
531
|
+
"additionalProperties": false
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"name": "get_package_readme",
|
|
536
|
+
"displayName": "Get Package README",
|
|
537
|
+
"description": "Get the README content of an npm package. Returns the full README as rendered on the package page.",
|
|
538
|
+
"summary": "Get the README of a package",
|
|
539
|
+
"icon": "file-text",
|
|
540
|
+
"group": "Packages",
|
|
541
|
+
"input_schema": {
|
|
542
|
+
"type": "object",
|
|
543
|
+
"properties": {
|
|
544
|
+
"name": {
|
|
545
|
+
"type": "string",
|
|
546
|
+
"description": "Package name (e.g., \"express\")"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"required": [
|
|
550
|
+
"name"
|
|
551
|
+
],
|
|
552
|
+
"additionalProperties": false
|
|
553
|
+
},
|
|
554
|
+
"output_schema": {
|
|
555
|
+
"type": "object",
|
|
556
|
+
"properties": {
|
|
557
|
+
"name": {
|
|
558
|
+
"type": "string",
|
|
559
|
+
"description": "Package name"
|
|
560
|
+
},
|
|
561
|
+
"version": {
|
|
562
|
+
"type": "string",
|
|
563
|
+
"description": "Version the README belongs to"
|
|
564
|
+
},
|
|
565
|
+
"readme": {
|
|
566
|
+
"type": "string",
|
|
567
|
+
"description": "README content (HTML)"
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
"required": [
|
|
571
|
+
"name",
|
|
572
|
+
"version",
|
|
573
|
+
"readme"
|
|
574
|
+
],
|
|
575
|
+
"additionalProperties": false
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "get_package_downloads",
|
|
580
|
+
"displayName": "Get Package Downloads",
|
|
581
|
+
"description": "Get weekly download statistics for an npm package over the past year. Returns an array of weekly download counts.",
|
|
582
|
+
"summary": "Get download stats for a package",
|
|
583
|
+
"icon": "download",
|
|
584
|
+
"group": "Packages",
|
|
585
|
+
"input_schema": {
|
|
586
|
+
"type": "object",
|
|
587
|
+
"properties": {
|
|
588
|
+
"name": {
|
|
589
|
+
"type": "string",
|
|
590
|
+
"description": "Package name (e.g., \"express\")"
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
"required": [
|
|
594
|
+
"name"
|
|
595
|
+
],
|
|
596
|
+
"additionalProperties": false
|
|
597
|
+
},
|
|
598
|
+
"output_schema": {
|
|
599
|
+
"type": "object",
|
|
600
|
+
"properties": {
|
|
601
|
+
"name": {
|
|
602
|
+
"type": "string",
|
|
603
|
+
"description": "Package name"
|
|
604
|
+
},
|
|
605
|
+
"downloads": {
|
|
606
|
+
"type": "array",
|
|
607
|
+
"items": {
|
|
608
|
+
"type": "object",
|
|
609
|
+
"properties": {
|
|
610
|
+
"downloads": {
|
|
611
|
+
"type": "number",
|
|
612
|
+
"description": "Download count for the period"
|
|
613
|
+
},
|
|
614
|
+
"label": {
|
|
615
|
+
"type": "string",
|
|
616
|
+
"description": "Date range label (e.g., \"2025-03-11 to 2025-03-17\")"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"required": [
|
|
620
|
+
"downloads",
|
|
621
|
+
"label"
|
|
622
|
+
],
|
|
623
|
+
"additionalProperties": false
|
|
624
|
+
},
|
|
625
|
+
"description": "Weekly download counts for the past year"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
"required": [
|
|
629
|
+
"name",
|
|
630
|
+
"downloads"
|
|
631
|
+
],
|
|
632
|
+
"additionalProperties": false
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"name": "get_package_dependents",
|
|
637
|
+
"displayName": "Get Package Dependents",
|
|
638
|
+
"description": "Get packages that depend on this package. Returns the total count and a sample list of dependent package names.",
|
|
639
|
+
"summary": "Get packages depending on a package",
|
|
640
|
+
"icon": "git-fork",
|
|
641
|
+
"group": "Packages",
|
|
642
|
+
"input_schema": {
|
|
643
|
+
"type": "object",
|
|
644
|
+
"properties": {
|
|
645
|
+
"name": {
|
|
646
|
+
"type": "string",
|
|
647
|
+
"description": "Package name (e.g., \"express\")"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"required": [
|
|
651
|
+
"name"
|
|
652
|
+
],
|
|
653
|
+
"additionalProperties": false
|
|
654
|
+
},
|
|
655
|
+
"output_schema": {
|
|
656
|
+
"type": "object",
|
|
657
|
+
"properties": {
|
|
658
|
+
"count": {
|
|
659
|
+
"type": "string",
|
|
660
|
+
"description": "Total number of dependent packages"
|
|
661
|
+
},
|
|
662
|
+
"dependents": {
|
|
663
|
+
"type": "array",
|
|
664
|
+
"items": {
|
|
665
|
+
"type": "object",
|
|
666
|
+
"properties": {
|
|
667
|
+
"name": {
|
|
668
|
+
"type": "string",
|
|
669
|
+
"description": "Dependent package name"
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"required": [
|
|
673
|
+
"name"
|
|
674
|
+
],
|
|
675
|
+
"additionalProperties": false
|
|
676
|
+
},
|
|
677
|
+
"description": "Sample of dependent package names"
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
"required": [
|
|
681
|
+
"count",
|
|
682
|
+
"dependents"
|
|
683
|
+
],
|
|
684
|
+
"additionalProperties": false
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "get_package_versions",
|
|
689
|
+
"displayName": "Get Package Versions",
|
|
690
|
+
"description": "Get all published versions of an npm package with deprecation status and dist-tags. Uses the versions tab for full data.",
|
|
691
|
+
"summary": "List all versions of a package",
|
|
692
|
+
"icon": "list-ordered",
|
|
693
|
+
"group": "Packages",
|
|
694
|
+
"input_schema": {
|
|
695
|
+
"type": "object",
|
|
696
|
+
"properties": {
|
|
697
|
+
"name": {
|
|
698
|
+
"type": "string",
|
|
699
|
+
"description": "Package name (e.g., \"express\")"
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
"required": [
|
|
703
|
+
"name"
|
|
704
|
+
],
|
|
705
|
+
"additionalProperties": false
|
|
706
|
+
},
|
|
707
|
+
"output_schema": {
|
|
708
|
+
"type": "object",
|
|
709
|
+
"properties": {
|
|
710
|
+
"name": {
|
|
711
|
+
"type": "string",
|
|
712
|
+
"description": "Package name"
|
|
713
|
+
},
|
|
714
|
+
"dist_tags": {
|
|
715
|
+
"type": "object",
|
|
716
|
+
"propertyNames": {
|
|
717
|
+
"type": "string"
|
|
718
|
+
},
|
|
719
|
+
"additionalProperties": {
|
|
720
|
+
"type": "string"
|
|
721
|
+
},
|
|
722
|
+
"description": "Dist-tags mapping"
|
|
723
|
+
},
|
|
724
|
+
"versions": {
|
|
725
|
+
"type": "array",
|
|
726
|
+
"items": {
|
|
727
|
+
"type": "object",
|
|
728
|
+
"properties": {
|
|
729
|
+
"version": {
|
|
730
|
+
"type": "string",
|
|
731
|
+
"description": "Version number"
|
|
732
|
+
},
|
|
733
|
+
"deprecated": {
|
|
734
|
+
"type": "string",
|
|
735
|
+
"description": "Deprecation message, empty if not deprecated"
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
"required": [
|
|
739
|
+
"version",
|
|
740
|
+
"deprecated"
|
|
741
|
+
],
|
|
742
|
+
"additionalProperties": false
|
|
743
|
+
},
|
|
744
|
+
"description": "All published versions (newest first)"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
"required": [
|
|
748
|
+
"name",
|
|
749
|
+
"dist_tags",
|
|
750
|
+
"versions"
|
|
751
|
+
],
|
|
752
|
+
"additionalProperties": false
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"name": "get_package_dependencies",
|
|
757
|
+
"displayName": "Get Package Dependencies",
|
|
758
|
+
"description": "Get the runtime and development dependencies of the latest version of an npm package.",
|
|
759
|
+
"summary": "Get dependencies of a package",
|
|
760
|
+
"icon": "network",
|
|
761
|
+
"group": "Packages",
|
|
762
|
+
"input_schema": {
|
|
763
|
+
"type": "object",
|
|
764
|
+
"properties": {
|
|
765
|
+
"name": {
|
|
766
|
+
"type": "string",
|
|
767
|
+
"description": "Package name (e.g., \"express\")"
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
"required": [
|
|
771
|
+
"name"
|
|
772
|
+
],
|
|
773
|
+
"additionalProperties": false
|
|
774
|
+
},
|
|
775
|
+
"output_schema": {
|
|
776
|
+
"type": "object",
|
|
777
|
+
"properties": {
|
|
778
|
+
"name": {
|
|
779
|
+
"type": "string",
|
|
780
|
+
"description": "Package name"
|
|
781
|
+
},
|
|
782
|
+
"version": {
|
|
783
|
+
"type": "string",
|
|
784
|
+
"description": "Version the dependencies are for"
|
|
785
|
+
},
|
|
786
|
+
"dependencies": {
|
|
787
|
+
"type": "array",
|
|
788
|
+
"items": {
|
|
789
|
+
"type": "object",
|
|
790
|
+
"properties": {
|
|
791
|
+
"name": {
|
|
792
|
+
"type": "string",
|
|
793
|
+
"description": "Package name"
|
|
794
|
+
},
|
|
795
|
+
"version": {
|
|
796
|
+
"type": "string",
|
|
797
|
+
"description": "Version range"
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
"required": [
|
|
801
|
+
"name",
|
|
802
|
+
"version"
|
|
803
|
+
],
|
|
804
|
+
"additionalProperties": false
|
|
805
|
+
},
|
|
806
|
+
"description": "Runtime dependencies"
|
|
807
|
+
},
|
|
808
|
+
"dev_dependencies": {
|
|
809
|
+
"type": "array",
|
|
810
|
+
"items": {
|
|
811
|
+
"type": "object",
|
|
812
|
+
"properties": {
|
|
813
|
+
"name": {
|
|
814
|
+
"type": "string",
|
|
815
|
+
"description": "Package name"
|
|
816
|
+
},
|
|
817
|
+
"version": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"description": "Version range"
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"required": [
|
|
823
|
+
"name",
|
|
824
|
+
"version"
|
|
825
|
+
],
|
|
826
|
+
"additionalProperties": false
|
|
827
|
+
},
|
|
828
|
+
"description": "Development dependencies"
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
"required": [
|
|
832
|
+
"name",
|
|
833
|
+
"version",
|
|
834
|
+
"dependencies",
|
|
835
|
+
"dev_dependencies"
|
|
836
|
+
],
|
|
837
|
+
"additionalProperties": false
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"name": "get_user_profile",
|
|
842
|
+
"displayName": "Get User Profile",
|
|
843
|
+
"description": "Get a public npm user profile by username. Returns username, avatar, package count, and organizations.",
|
|
844
|
+
"summary": "Get an npm user profile",
|
|
845
|
+
"icon": "user",
|
|
846
|
+
"group": "Users",
|
|
847
|
+
"input_schema": {
|
|
848
|
+
"type": "object",
|
|
849
|
+
"properties": {
|
|
850
|
+
"username": {
|
|
851
|
+
"type": "string",
|
|
852
|
+
"description": "npm username (e.g., \"sindresorhus\")"
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
"required": [
|
|
856
|
+
"username"
|
|
857
|
+
],
|
|
858
|
+
"additionalProperties": false
|
|
859
|
+
},
|
|
860
|
+
"output_schema": {
|
|
861
|
+
"type": "object",
|
|
862
|
+
"properties": {
|
|
863
|
+
"user": {
|
|
864
|
+
"type": "object",
|
|
865
|
+
"properties": {
|
|
866
|
+
"name": {
|
|
867
|
+
"type": "string",
|
|
868
|
+
"description": "npm username"
|
|
869
|
+
},
|
|
870
|
+
"avatar_url": {
|
|
871
|
+
"type": "string",
|
|
872
|
+
"description": "Avatar URL (large)"
|
|
873
|
+
},
|
|
874
|
+
"packages_count": {
|
|
875
|
+
"type": "number",
|
|
876
|
+
"description": "Number of public packages"
|
|
877
|
+
},
|
|
878
|
+
"orgs": {
|
|
879
|
+
"type": "array",
|
|
880
|
+
"items": {
|
|
881
|
+
"type": "string"
|
|
882
|
+
},
|
|
883
|
+
"description": "Organization names"
|
|
884
|
+
}
|
|
885
|
+
},
|
|
886
|
+
"required": [
|
|
887
|
+
"name",
|
|
888
|
+
"avatar_url",
|
|
889
|
+
"packages_count",
|
|
890
|
+
"orgs"
|
|
891
|
+
],
|
|
892
|
+
"additionalProperties": false
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
"required": [
|
|
896
|
+
"user"
|
|
897
|
+
],
|
|
898
|
+
"additionalProperties": false
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"name": "get_user_packages",
|
|
903
|
+
"displayName": "Get User Packages",
|
|
904
|
+
"description": "Get the public packages published by an npm user. Returns package names, versions, and descriptions with pagination.",
|
|
905
|
+
"summary": "List packages by a user",
|
|
906
|
+
"icon": "package",
|
|
907
|
+
"group": "Users",
|
|
908
|
+
"input_schema": {
|
|
909
|
+
"type": "object",
|
|
910
|
+
"properties": {
|
|
911
|
+
"username": {
|
|
912
|
+
"type": "string",
|
|
913
|
+
"description": "npm username (e.g., \"sindresorhus\")"
|
|
914
|
+
},
|
|
915
|
+
"page": {
|
|
916
|
+
"description": "Page number for pagination (default 0)",
|
|
917
|
+
"type": "integer",
|
|
918
|
+
"minimum": 0,
|
|
919
|
+
"maximum": 9007199254740991
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"required": [
|
|
923
|
+
"username"
|
|
924
|
+
],
|
|
925
|
+
"additionalProperties": false
|
|
926
|
+
},
|
|
927
|
+
"output_schema": {
|
|
928
|
+
"type": "object",
|
|
929
|
+
"properties": {
|
|
930
|
+
"packages": {
|
|
931
|
+
"type": "array",
|
|
932
|
+
"items": {
|
|
933
|
+
"type": "object",
|
|
934
|
+
"properties": {
|
|
935
|
+
"name": {
|
|
936
|
+
"type": "string",
|
|
937
|
+
"description": "Package name"
|
|
938
|
+
},
|
|
939
|
+
"version": {
|
|
940
|
+
"type": "string",
|
|
941
|
+
"description": "Latest version"
|
|
942
|
+
},
|
|
943
|
+
"description": {
|
|
944
|
+
"type": "string",
|
|
945
|
+
"description": "Package description"
|
|
946
|
+
},
|
|
947
|
+
"date": {
|
|
948
|
+
"type": "string",
|
|
949
|
+
"description": "Relative publish date (e.g., \"2 days ago\")"
|
|
950
|
+
}
|
|
951
|
+
},
|
|
952
|
+
"required": [
|
|
953
|
+
"name",
|
|
954
|
+
"version",
|
|
955
|
+
"description",
|
|
956
|
+
"date"
|
|
957
|
+
],
|
|
958
|
+
"additionalProperties": false
|
|
959
|
+
},
|
|
960
|
+
"description": "User packages"
|
|
961
|
+
},
|
|
962
|
+
"total": {
|
|
963
|
+
"type": "number",
|
|
964
|
+
"description": "Total number of packages"
|
|
965
|
+
}
|
|
966
|
+
},
|
|
967
|
+
"required": [
|
|
968
|
+
"packages",
|
|
969
|
+
"total"
|
|
970
|
+
],
|
|
971
|
+
"additionalProperties": false
|
|
972
|
+
}
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"name": "get_organization",
|
|
976
|
+
"displayName": "Get Organization",
|
|
977
|
+
"description": "Get information about an npm organization including name, description, creation date, packages, and 2FA enforcement.",
|
|
978
|
+
"summary": "Get npm organization details",
|
|
979
|
+
"icon": "building-2",
|
|
980
|
+
"group": "Organizations",
|
|
981
|
+
"input_schema": {
|
|
982
|
+
"type": "object",
|
|
983
|
+
"properties": {
|
|
984
|
+
"name": {
|
|
985
|
+
"type": "string",
|
|
986
|
+
"description": "Organization name (e.g., \"babel\")"
|
|
987
|
+
},
|
|
988
|
+
"page": {
|
|
989
|
+
"description": "Page number for packages pagination (default 0)",
|
|
990
|
+
"type": "integer",
|
|
991
|
+
"minimum": 0,
|
|
992
|
+
"maximum": 9007199254740991
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
"required": [
|
|
996
|
+
"name"
|
|
997
|
+
],
|
|
998
|
+
"additionalProperties": false
|
|
999
|
+
},
|
|
1000
|
+
"output_schema": {
|
|
1001
|
+
"type": "object",
|
|
1002
|
+
"properties": {
|
|
1003
|
+
"organization": {
|
|
1004
|
+
"type": "object",
|
|
1005
|
+
"properties": {
|
|
1006
|
+
"name": {
|
|
1007
|
+
"type": "string",
|
|
1008
|
+
"description": "Organization name"
|
|
1009
|
+
},
|
|
1010
|
+
"description": {
|
|
1011
|
+
"type": "string",
|
|
1012
|
+
"description": "Organization description"
|
|
1013
|
+
},
|
|
1014
|
+
"created": {
|
|
1015
|
+
"type": "string",
|
|
1016
|
+
"description": "Creation date (ISO 8601)"
|
|
1017
|
+
},
|
|
1018
|
+
"packages_count": {
|
|
1019
|
+
"type": "number",
|
|
1020
|
+
"description": "Number of packages"
|
|
1021
|
+
},
|
|
1022
|
+
"tfa_enforced": {
|
|
1023
|
+
"type": "boolean",
|
|
1024
|
+
"description": "Whether 2FA is enforced"
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
"required": [
|
|
1028
|
+
"name",
|
|
1029
|
+
"description",
|
|
1030
|
+
"created",
|
|
1031
|
+
"packages_count",
|
|
1032
|
+
"tfa_enforced"
|
|
1033
|
+
],
|
|
1034
|
+
"additionalProperties": false
|
|
1035
|
+
},
|
|
1036
|
+
"packages": {
|
|
1037
|
+
"type": "array",
|
|
1038
|
+
"items": {
|
|
1039
|
+
"type": "object",
|
|
1040
|
+
"properties": {
|
|
1041
|
+
"name": {
|
|
1042
|
+
"type": "string",
|
|
1043
|
+
"description": "Package name"
|
|
1044
|
+
},
|
|
1045
|
+
"version": {
|
|
1046
|
+
"type": "string",
|
|
1047
|
+
"description": "Latest version"
|
|
1048
|
+
},
|
|
1049
|
+
"description": {
|
|
1050
|
+
"type": "string",
|
|
1051
|
+
"description": "Package description"
|
|
1052
|
+
},
|
|
1053
|
+
"date": {
|
|
1054
|
+
"type": "string",
|
|
1055
|
+
"description": "Relative publish date (e.g., \"2 days ago\")"
|
|
1056
|
+
}
|
|
1057
|
+
},
|
|
1058
|
+
"required": [
|
|
1059
|
+
"name",
|
|
1060
|
+
"version",
|
|
1061
|
+
"description",
|
|
1062
|
+
"date"
|
|
1063
|
+
],
|
|
1064
|
+
"additionalProperties": false
|
|
1065
|
+
},
|
|
1066
|
+
"description": "Organization packages"
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"required": [
|
|
1070
|
+
"organization",
|
|
1071
|
+
"packages"
|
|
1072
|
+
],
|
|
1073
|
+
"additionalProperties": false
|
|
1074
|
+
}
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"name": "list_user_packages",
|
|
1078
|
+
"displayName": "List My Packages",
|
|
1079
|
+
"description": "List the authenticated user's own packages from the settings page. Includes both public and private packages. Requires authentication.",
|
|
1080
|
+
"summary": "List your own packages",
|
|
1081
|
+
"icon": "package",
|
|
1082
|
+
"group": "Settings",
|
|
1083
|
+
"input_schema": {
|
|
1084
|
+
"type": "object",
|
|
1085
|
+
"properties": {
|
|
1086
|
+
"page": {
|
|
1087
|
+
"description": "Page number for pagination (default 0)",
|
|
1088
|
+
"type": "integer",
|
|
1089
|
+
"minimum": 0,
|
|
1090
|
+
"maximum": 9007199254740991
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
"additionalProperties": false
|
|
1094
|
+
},
|
|
1095
|
+
"output_schema": {
|
|
1096
|
+
"type": "object",
|
|
1097
|
+
"properties": {
|
|
1098
|
+
"packages": {
|
|
1099
|
+
"type": "array",
|
|
1100
|
+
"items": {
|
|
1101
|
+
"type": "object",
|
|
1102
|
+
"properties": {
|
|
1103
|
+
"name": {
|
|
1104
|
+
"type": "string",
|
|
1105
|
+
"description": "Package name"
|
|
1106
|
+
},
|
|
1107
|
+
"version": {
|
|
1108
|
+
"type": "string",
|
|
1109
|
+
"description": "Latest version"
|
|
1110
|
+
},
|
|
1111
|
+
"description": {
|
|
1112
|
+
"type": "string",
|
|
1113
|
+
"description": "Package description"
|
|
1114
|
+
},
|
|
1115
|
+
"date": {
|
|
1116
|
+
"type": "string",
|
|
1117
|
+
"description": "Relative publish date (e.g., \"2 days ago\")"
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
"required": [
|
|
1121
|
+
"name",
|
|
1122
|
+
"version",
|
|
1123
|
+
"description",
|
|
1124
|
+
"date"
|
|
1125
|
+
],
|
|
1126
|
+
"additionalProperties": false
|
|
1127
|
+
},
|
|
1128
|
+
"description": "Your packages"
|
|
1129
|
+
},
|
|
1130
|
+
"total": {
|
|
1131
|
+
"type": "number",
|
|
1132
|
+
"description": "Total number of your packages"
|
|
1133
|
+
}
|
|
1134
|
+
},
|
|
1135
|
+
"required": [
|
|
1136
|
+
"packages",
|
|
1137
|
+
"total"
|
|
1138
|
+
],
|
|
1139
|
+
"additionalProperties": false
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"name": "list_tokens",
|
|
1144
|
+
"displayName": "List Tokens",
|
|
1145
|
+
"description": "List the authenticated user's access tokens. Shows token prefixes and read-only status. Requires authentication.",
|
|
1146
|
+
"summary": "List your npm access tokens",
|
|
1147
|
+
"icon": "key",
|
|
1148
|
+
"group": "Settings",
|
|
1149
|
+
"input_schema": {
|
|
1150
|
+
"type": "object",
|
|
1151
|
+
"properties": {},
|
|
1152
|
+
"additionalProperties": false
|
|
1153
|
+
},
|
|
1154
|
+
"output_schema": {
|
|
1155
|
+
"type": "object",
|
|
1156
|
+
"properties": {
|
|
1157
|
+
"tokens": {
|
|
1158
|
+
"type": "array",
|
|
1159
|
+
"items": {
|
|
1160
|
+
"type": "object",
|
|
1161
|
+
"properties": {
|
|
1162
|
+
"token": {
|
|
1163
|
+
"type": "string",
|
|
1164
|
+
"description": "Token value (masked, e.g., \"npm_52ab......TJGu\")"
|
|
1165
|
+
},
|
|
1166
|
+
"readonly": {
|
|
1167
|
+
"type": "boolean",
|
|
1168
|
+
"description": "Whether the token is read-only"
|
|
1169
|
+
},
|
|
1170
|
+
"created": {
|
|
1171
|
+
"type": "string",
|
|
1172
|
+
"description": "Creation date (ISO 8601)"
|
|
1173
|
+
},
|
|
1174
|
+
"updated": {
|
|
1175
|
+
"type": "string",
|
|
1176
|
+
"description": "Last updated date (ISO 8601)"
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
"required": [
|
|
1180
|
+
"token",
|
|
1181
|
+
"readonly",
|
|
1182
|
+
"created",
|
|
1183
|
+
"updated"
|
|
1184
|
+
],
|
|
1185
|
+
"additionalProperties": false
|
|
1186
|
+
},
|
|
1187
|
+
"description": "Access tokens"
|
|
1188
|
+
}
|
|
1189
|
+
},
|
|
1190
|
+
"required": [
|
|
1191
|
+
"tokens"
|
|
1192
|
+
],
|
|
1193
|
+
"additionalProperties": false
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
]
|
|
1197
|
+
}
|