@tpmjs/types 0.1.2 → 0.2.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/dist/tpmjs.d.ts CHANGED
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
3
  /**
4
4
  * Valid tool categories for TPMJS registry
5
5
  */
6
- declare const TPMJS_CATEGORIES: readonly ["web-scraping", "data-processing", "file-operations", "communication", "database", "api-integration", "image-processing", "text-analysis", "automation", "ai-ml", "security", "monitoring", "research"];
6
+ declare const TPMJS_CATEGORIES: readonly ["research", "web", "data", "documentation", "engineering", "security", "statistics", "ops", "agent", "utilities", "html", "compliance", "web-scraping", "data-processing", "file-operations", "communication", "database", "api-integration", "image-processing", "text-analysis", "automation", "ai-ml", "monitoring", "doc", "text"];
7
7
  type TpmjsCategory = (typeof TPMJS_CATEGORIES)[number];
8
8
  /**
9
9
  * Tool parameter schema
@@ -138,6 +138,18 @@ type TpmjsToolDefinition = z.infer<typeof TpmjsToolDefinitionSchema>;
138
138
  */
139
139
  declare const TpmjsMultiToolSchema: z.ZodObject<{
140
140
  category: z.ZodEnum<{
141
+ research: "research";
142
+ web: "web";
143
+ data: "data";
144
+ documentation: "documentation";
145
+ engineering: "engineering";
146
+ security: "security";
147
+ statistics: "statistics";
148
+ ops: "ops";
149
+ agent: "agent";
150
+ utilities: "utilities";
151
+ html: "html";
152
+ compliance: "compliance";
141
153
  "web-scraping": "web-scraping";
142
154
  "data-processing": "data-processing";
143
155
  "file-operations": "file-operations";
@@ -148,9 +160,9 @@ declare const TpmjsMultiToolSchema: z.ZodObject<{
148
160
  "text-analysis": "text-analysis";
149
161
  automation: "automation";
150
162
  "ai-ml": "ai-ml";
151
- security: "security";
152
163
  monitoring: "monitoring";
153
- research: "research";
164
+ doc: "doc";
165
+ text: "text";
154
166
  }>;
155
167
  tools: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
156
168
  name: z.ZodOptional<z.ZodString>;
@@ -233,6 +245,18 @@ type TpmjsMultiTool = z.infer<typeof TpmjsMultiToolSchema>;
233
245
  */
234
246
  declare const TpmjsLegacyMinimalSchema: z.ZodObject<{
235
247
  category: z.ZodEnum<{
248
+ research: "research";
249
+ web: "web";
250
+ data: "data";
251
+ documentation: "documentation";
252
+ engineering: "engineering";
253
+ security: "security";
254
+ statistics: "statistics";
255
+ ops: "ops";
256
+ agent: "agent";
257
+ utilities: "utilities";
258
+ html: "html";
259
+ compliance: "compliance";
236
260
  "web-scraping": "web-scraping";
237
261
  "data-processing": "data-processing";
238
262
  "file-operations": "file-operations";
@@ -243,9 +267,9 @@ declare const TpmjsLegacyMinimalSchema: z.ZodObject<{
243
267
  "text-analysis": "text-analysis";
244
268
  automation: "automation";
245
269
  "ai-ml": "ai-ml";
246
- security: "security";
247
270
  monitoring: "monitoring";
248
- research: "research";
271
+ doc: "doc";
272
+ text: "text";
249
273
  }>;
250
274
  description: z.ZodString;
251
275
  }, z.core.$strip>;
@@ -256,6 +280,18 @@ type TpmjsLegacyMinimal = z.infer<typeof TpmjsLegacyMinimalSchema>;
256
280
  */
257
281
  declare const TpmjsLegacyRichSchema: z.ZodObject<{
258
282
  category: z.ZodEnum<{
283
+ research: "research";
284
+ web: "web";
285
+ data: "data";
286
+ documentation: "documentation";
287
+ engineering: "engineering";
288
+ security: "security";
289
+ statistics: "statistics";
290
+ ops: "ops";
291
+ agent: "agent";
292
+ utilities: "utilities";
293
+ html: "html";
294
+ compliance: "compliance";
259
295
  "web-scraping": "web-scraping";
260
296
  "data-processing": "data-processing";
261
297
  "file-operations": "file-operations";
@@ -266,9 +302,9 @@ declare const TpmjsLegacyRichSchema: z.ZodObject<{
266
302
  "text-analysis": "text-analysis";
267
303
  automation: "automation";
268
304
  "ai-ml": "ai-ml";
269
- security: "security";
270
305
  monitoring: "monitoring";
271
- research: "research";
306
+ doc: "doc";
307
+ text: "text";
272
308
  }>;
273
309
  description: z.ZodString;
274
310
  parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -314,6 +350,18 @@ type TpmjsMinimal = TpmjsLegacyMinimal;
314
350
  type TpmjsRich = TpmjsLegacyRich;
315
351
  declare const TpmjsMinimalSchema: z.ZodObject<{
316
352
  category: z.ZodEnum<{
353
+ research: "research";
354
+ web: "web";
355
+ data: "data";
356
+ documentation: "documentation";
357
+ engineering: "engineering";
358
+ security: "security";
359
+ statistics: "statistics";
360
+ ops: "ops";
361
+ agent: "agent";
362
+ utilities: "utilities";
363
+ html: "html";
364
+ compliance: "compliance";
317
365
  "web-scraping": "web-scraping";
318
366
  "data-processing": "data-processing";
319
367
  "file-operations": "file-operations";
@@ -324,14 +372,26 @@ declare const TpmjsMinimalSchema: z.ZodObject<{
324
372
  "text-analysis": "text-analysis";
325
373
  automation: "automation";
326
374
  "ai-ml": "ai-ml";
327
- security: "security";
328
375
  monitoring: "monitoring";
329
- research: "research";
376
+ doc: "doc";
377
+ text: "text";
330
378
  }>;
331
379
  description: z.ZodString;
332
380
  }, z.core.$strip>;
333
381
  declare const TpmjsRichSchema: z.ZodObject<{
334
382
  category: z.ZodEnum<{
383
+ research: "research";
384
+ web: "web";
385
+ data: "data";
386
+ documentation: "documentation";
387
+ engineering: "engineering";
388
+ security: "security";
389
+ statistics: "statistics";
390
+ ops: "ops";
391
+ agent: "agent";
392
+ utilities: "utilities";
393
+ html: "html";
394
+ compliance: "compliance";
335
395
  "web-scraping": "web-scraping";
336
396
  "data-processing": "data-processing";
337
397
  "file-operations": "file-operations";
@@ -342,9 +402,9 @@ declare const TpmjsRichSchema: z.ZodObject<{
342
402
  "text-analysis": "text-analysis";
343
403
  automation: "automation";
344
404
  "ai-ml": "ai-ml";
345
- security: "security";
346
405
  monitoring: "monitoring";
347
- research: "research";
406
+ doc: "doc";
407
+ text: "text";
348
408
  }>;
349
409
  description: z.ZodString;
350
410
  parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
package/dist/tpmjs.js CHANGED
@@ -2,6 +2,20 @@ import { z } from 'zod';
2
2
 
3
3
  // src/tpmjs.ts
4
4
  var TPMJS_CATEGORIES = [
5
+ // Core categories
6
+ "research",
7
+ "web",
8
+ "data",
9
+ "documentation",
10
+ "engineering",
11
+ "security",
12
+ "statistics",
13
+ "ops",
14
+ "agent",
15
+ "utilities",
16
+ "html",
17
+ "compliance",
18
+ // Legacy categories (kept for backward compatibility)
5
19
  "web-scraping",
6
20
  "data-processing",
7
21
  "file-operations",
@@ -12,9 +26,10 @@ var TPMJS_CATEGORIES = [
12
26
  "text-analysis",
13
27
  "automation",
14
28
  "ai-ml",
15
- "security",
16
29
  "monitoring",
17
- "research"
30
+ // Aliases
31
+ "doc",
32
+ "text"
18
33
  ];
19
34
  var TpmjsParameterSchema = z.object({
20
35
  name: z.string().min(1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tpmjs/types",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "Shared TypeScript types and Zod schemas for TPMJS",
5
5
  "author": "TPMJS",
6
6
  "license": "MIT",