@mclawnet/mcp-server 0.1.4 → 0.1.5
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/tools/index.d.ts +30 -30
- package/package.json +3 -3
package/dist/tools/index.d.ts
CHANGED
|
@@ -559,6 +559,36 @@ export declare function getAllToolDefinitions(): ({
|
|
|
559
559
|
};
|
|
560
560
|
required: string[];
|
|
561
561
|
};
|
|
562
|
+
} | {
|
|
563
|
+
name: string;
|
|
564
|
+
description: string;
|
|
565
|
+
inputSchema: {
|
|
566
|
+
type: "object";
|
|
567
|
+
properties: {
|
|
568
|
+
workDir: {
|
|
569
|
+
type: string;
|
|
570
|
+
description: string;
|
|
571
|
+
};
|
|
572
|
+
swarmId: {
|
|
573
|
+
type: string;
|
|
574
|
+
description: string;
|
|
575
|
+
};
|
|
576
|
+
from: {
|
|
577
|
+
type: string;
|
|
578
|
+
description: string;
|
|
579
|
+
};
|
|
580
|
+
verdict: {
|
|
581
|
+
type: string;
|
|
582
|
+
enum: string[];
|
|
583
|
+
description: string;
|
|
584
|
+
};
|
|
585
|
+
body: {
|
|
586
|
+
type: string;
|
|
587
|
+
description: string;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
required: string[];
|
|
591
|
+
};
|
|
562
592
|
} | {
|
|
563
593
|
name: string;
|
|
564
594
|
description: string;
|
|
@@ -768,36 +798,6 @@ export declare function getAllToolDefinitions(): ({
|
|
|
768
798
|
};
|
|
769
799
|
required: string[];
|
|
770
800
|
};
|
|
771
|
-
} | {
|
|
772
|
-
name: string;
|
|
773
|
-
description: string;
|
|
774
|
-
inputSchema: {
|
|
775
|
-
type: "object";
|
|
776
|
-
properties: {
|
|
777
|
-
workDir: {
|
|
778
|
-
type: string;
|
|
779
|
-
description: string;
|
|
780
|
-
};
|
|
781
|
-
swarmId: {
|
|
782
|
-
type: string;
|
|
783
|
-
description: string;
|
|
784
|
-
};
|
|
785
|
-
from: {
|
|
786
|
-
type: string;
|
|
787
|
-
description: string;
|
|
788
|
-
};
|
|
789
|
-
verdict: {
|
|
790
|
-
type: string;
|
|
791
|
-
enum: string[];
|
|
792
|
-
description: string;
|
|
793
|
-
};
|
|
794
|
-
body: {
|
|
795
|
-
type: string;
|
|
796
|
-
description: string;
|
|
797
|
-
};
|
|
798
|
-
};
|
|
799
|
-
required: string[];
|
|
800
|
-
};
|
|
801
801
|
})[];
|
|
802
802
|
export declare function routeToolCall(name: string, args: Record<string, unknown>, context: ToolContext): Promise<{
|
|
803
803
|
content: Array<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mclawnet/mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
23
23
|
"@mclawnet/logger": "0.1.6",
|
|
24
|
-
"@mclawnet/skill-manager": "0.1.4",
|
|
25
24
|
"@mclawnet/memory": "0.1.5",
|
|
26
|
-
"@mclawnet/
|
|
25
|
+
"@mclawnet/skill-manager": "0.1.5",
|
|
26
|
+
"@mclawnet/swarm": "0.1.7",
|
|
27
27
|
"@mclawnet/task": "0.1.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|