@llmindset/hf-mcp 0.2.40 → 0.2.42
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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/space/commands/invoke.d.ts +6 -0
- package/dist/space/commands/invoke.d.ts.map +1 -0
- package/dist/space/commands/invoke.js +236 -0
- package/dist/space/commands/invoke.js.map +1 -0
- package/dist/space/commands/view-parameters.d.ts +3 -0
- package/dist/space/commands/view-parameters.d.ts.map +1 -0
- package/dist/space/commands/view-parameters.js +144 -0
- package/dist/space/commands/view-parameters.js.map +1 -0
- package/dist/space/space-tool.d.ts +35 -0
- package/dist/space/space-tool.d.ts.map +1 -0
- package/dist/space/space-tool.js +198 -0
- package/dist/space/space-tool.js.map +1 -0
- package/dist/space/types.d.ts +74 -0
- package/dist/space/types.d.ts.map +1 -0
- package/dist/space/types.js +24 -0
- package/dist/space/types.js.map +1 -0
- package/dist/space/utils/parameter-formatter.d.ts +5 -0
- package/dist/space/utils/parameter-formatter.d.ts.map +1 -0
- package/dist/space/utils/parameter-formatter.js +132 -0
- package/dist/space/utils/parameter-formatter.js.map +1 -0
- package/dist/space/utils/result-formatter.d.ts +4 -0
- package/dist/space/utils/result-formatter.d.ts.map +1 -0
- package/dist/space/utils/result-formatter.js +146 -0
- package/dist/space/utils/result-formatter.js.map +1 -0
- package/dist/space/utils/schema-validator.d.ts +9 -0
- package/dist/space/utils/schema-validator.d.ts.map +1 -0
- package/dist/space/utils/schema-validator.js +145 -0
- package/dist/space/utils/schema-validator.js.map +1 -0
- package/dist/space-search.d.ts.map +1 -1
- package/dist/space-search.js +5 -4
- package/dist/space-search.js.map +1 -1
- package/dist/tool-ids.d.ts +4 -2
- package/dist/tool-ids.d.ts.map +1 -1
- package/dist/tool-ids.js +4 -1
- package/dist/tool-ids.js.map +1 -1
- package/package.json +2 -1
- package/src/index.ts +1 -0
- package/src/space/commands/invoke.ts +335 -0
- package/src/space/commands/view-parameters.ts +204 -0
- package/src/space/space-tool.ts +252 -0
- package/src/space/types.ts +127 -0
- package/src/space/utils/parameter-formatter.ts +200 -0
- package/src/space/utils/result-formatter.ts +226 -0
- package/src/space/utils/schema-validator.ts +232 -0
- package/src/space-search.ts +5 -4
- package/src/tool-ids.ts +4 -0
package/src/tool-ids.ts
CHANGED
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
DOC_FETCH_CONFIG,
|
|
23
23
|
USE_SPACE_TOOL_CONFIG,
|
|
24
24
|
HF_JOBS_TOOL_CONFIG,
|
|
25
|
+
DYNAMIC_SPACE_TOOL_CONFIG,
|
|
25
26
|
} from './index.js';
|
|
26
27
|
|
|
27
28
|
// Extract tool IDs from their configs (single source of truth)
|
|
@@ -43,6 +44,7 @@ export const PAPER_SUMMARY_PROMPT_ID = PAPER_SUMMARY_PROMPT_CONFIG.name;
|
|
|
43
44
|
export const MODEL_DETAIL_PROMPT_ID = MODEL_DETAIL_PROMPT_CONFIG.name;
|
|
44
45
|
export const DATASET_DETAIL_PROMPT_ID = DATASET_DETAIL_PROMPT_CONFIG.name;
|
|
45
46
|
export const HF_JOBS_TOOL_ID = HF_JOBS_TOOL_CONFIG.name;
|
|
47
|
+
export const DYNAMIC_SPACE_TOOL_ID = DYNAMIC_SPACE_TOOL_CONFIG.name;
|
|
46
48
|
|
|
47
49
|
// Complete list of all built-in tool IDs
|
|
48
50
|
export const ALL_BUILTIN_TOOL_IDS = [
|
|
@@ -60,6 +62,7 @@ export const ALL_BUILTIN_TOOL_IDS = [
|
|
|
60
62
|
DOC_FETCH_TOOL_ID,
|
|
61
63
|
USE_SPACE_TOOL_ID,
|
|
62
64
|
HF_JOBS_TOOL_ID,
|
|
65
|
+
DYNAMIC_SPACE_TOOL_ID,
|
|
63
66
|
] as const;
|
|
64
67
|
// Grouped tool IDs for bouquet configurations
|
|
65
68
|
export const TOOL_ID_GROUPS = {
|
|
@@ -88,6 +91,7 @@ export const TOOL_ID_GROUPS = {
|
|
|
88
91
|
DOCS_SEMANTIC_SEARCH_TOOL_ID,
|
|
89
92
|
// HF_JOBS_TOOL_ID,
|
|
90
93
|
] as const,
|
|
94
|
+
dynamic_space: [DYNAMIC_SPACE_TOOL_ID] as const,
|
|
91
95
|
all: [...ALL_BUILTIN_TOOL_IDS] as const,
|
|
92
96
|
} as const;
|
|
93
97
|
|