feat(types): add new tool categories to TPMJS_CATEGORIES
Add core categories used by 100+ official tools: - research, web, data, documentation, engineering - security, statistics, ops, agent, utilities - html, compliance, doc, text This fixes sync validation failures for tools using these categories.
This commit is contained in:
parent
e99bada5a4
commit
40ba94b32b
1 changed files with 17 additions and 2 deletions
|
|
@ -4,6 +4,20 @@ import { z } from 'zod';
|
|||
* Valid tool categories for TPMJS registry
|
||||
*/
|
||||
export const TPMJS_CATEGORIES = [
|
||||
// Core categories
|
||||
'research',
|
||||
'web',
|
||||
'data',
|
||||
'documentation',
|
||||
'engineering',
|
||||
'security',
|
||||
'statistics',
|
||||
'ops',
|
||||
'agent',
|
||||
'utilities',
|
||||
'html',
|
||||
'compliance',
|
||||
// Legacy categories (kept for backward compatibility)
|
||||
'web-scraping',
|
||||
'data-processing',
|
||||
'file-operations',
|
||||
|
|
@ -14,9 +28,10 @@ export const TPMJS_CATEGORIES = [
|
|||
'text-analysis',
|
||||
'automation',
|
||||
'ai-ml',
|
||||
'security',
|
||||
'monitoring',
|
||||
'research',
|
||||
// Aliases
|
||||
'doc',
|
||||
'text',
|
||||
] as const;
|
||||
|
||||
export type TpmjsCategory = (typeof TPMJS_CATEGORIES)[number];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue