@bosonprotocol/agentic-commerce 1.2.4-alpha.3 → 1.2.4-alpha.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/boson/goat-sdk-plugin/boson-protocol-plugin.service.d.ts +7 -16
- package/dist/boson/goat-sdk-plugin/boson-protocol-plugin.service.d.ts.map +1 -1
- package/dist/boson/goat-sdk-plugin/boson-protocol-plugin.service.js +0 -26
- package/dist/boson/goat-sdk-plugin/boson-protocol-plugin.service.js.map +1 -1
- package/dist/boson/goat-sdk-plugin/parameters.d.ts +4 -103
- package/dist/boson/goat-sdk-plugin/parameters.d.ts.map +1 -1
- package/dist/boson/goat-sdk-plugin/parameters.js +1 -6
- package/dist/boson/goat-sdk-plugin/parameters.js.map +1 -1
- package/dist/boson/mcp-client/index.d.ts +0 -204
- package/dist/boson/mcp-client/index.d.ts.map +1 -1
- package/dist/boson/mcp-client/index.js +0 -6
- package/dist/boson/mcp-client/index.js.map +1 -1
- package/dist/boson/mcp-server/handlers/metaTx.d.ts +4 -4
- package/dist/boson/mcp-server/handlers/transactions.d.ts +1 -3
- package/dist/boson/mcp-server/handlers/transactions.d.ts.map +1 -1
- package/dist/boson/mcp-server/handlers/transactions.js +0 -8
- package/dist/boson/mcp-server/handlers/transactions.js.map +1 -1
- package/dist/boson/mcp-server/index.d.ts.map +1 -1
- package/dist/boson/mcp-server/index.js +9 -14
- package/dist/boson/mcp-server/index.js.map +1 -1
- package/dist/boson/mcp-server/validation.d.ts +1 -1
- package/dist/boson/mcp-server/validation.d.ts.map +1 -1
- package/dist/boson/mcp-server/validation.js +8 -11
- package/dist/boson/mcp-server/validation.js.map +1 -1
- package/dist/common/mcp-client/index.d.ts +1 -204
- package/dist/common/mcp-client/index.d.ts.map +1 -1
- package/dist/common/mcp-client/index.js +0 -3
- package/dist/common/mcp-client/index.js.map +1 -1
- package/dist/common/mcp-server/transactionSigning.d.ts +0 -199
- package/dist/common/mcp-server/transactionSigning.d.ts.map +1 -1
- package/dist/common/mcp-server/transactionSigning.js +2 -283
- package/dist/common/mcp-server/transactionSigning.js.map +1 -1
- package/dist/common/mcp-server/validationUtils.js +1 -1
- package/dist/common/mcp-server/validationUtils.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
|
2
2
|
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
|
|
3
3
|
import { RequestOptions } from "@modelcontextprotocol/sdk/shared/protocol.js";
|
|
4
4
|
import z from "zod";
|
|
5
|
-
import { signedTransactionValidationZod
|
|
5
|
+
import { signedTransactionValidationZod } from "../mcp-server/transactionSigning.js";
|
|
6
6
|
export declare class BaseMCPClient {
|
|
7
7
|
protected mcp: Client;
|
|
8
8
|
protected transport: StreamableHTTPClientTransport | null;
|
|
@@ -26,209 +26,6 @@ export declare class BaseMCPClient {
|
|
|
26
26
|
description: string;
|
|
27
27
|
input_schema: string;
|
|
28
28
|
}[]>;
|
|
29
|
-
signTransaction(params: z.infer<typeof signTransactionValidationZod>): Promise<z.objectOutputType<{
|
|
30
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
31
|
-
} & {
|
|
32
|
-
content: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
33
|
-
type: import("zod").ZodLiteral<"text">;
|
|
34
|
-
text: import("zod").ZodString;
|
|
35
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
36
|
-
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
37
|
-
type: import("zod").ZodLiteral<"text">;
|
|
38
|
-
text: import("zod").ZodString;
|
|
39
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
40
|
-
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
41
|
-
type: import("zod").ZodLiteral<"text">;
|
|
42
|
-
text: import("zod").ZodString;
|
|
43
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
44
|
-
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodObject<{
|
|
45
|
-
type: import("zod").ZodLiteral<"image">;
|
|
46
|
-
data: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
47
|
-
mimeType: import("zod").ZodString;
|
|
48
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
49
|
-
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
50
|
-
type: import("zod").ZodLiteral<"image">;
|
|
51
|
-
data: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
52
|
-
mimeType: import("zod").ZodString;
|
|
53
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
54
|
-
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
55
|
-
type: import("zod").ZodLiteral<"image">;
|
|
56
|
-
data: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
57
|
-
mimeType: import("zod").ZodString;
|
|
58
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
59
|
-
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodObject<{
|
|
60
|
-
type: import("zod").ZodLiteral<"audio">;
|
|
61
|
-
data: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
62
|
-
mimeType: import("zod").ZodString;
|
|
63
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
64
|
-
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
65
|
-
type: import("zod").ZodLiteral<"audio">;
|
|
66
|
-
data: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
67
|
-
mimeType: import("zod").ZodString;
|
|
68
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
69
|
-
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
70
|
-
type: import("zod").ZodLiteral<"audio">;
|
|
71
|
-
data: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
72
|
-
mimeType: import("zod").ZodString;
|
|
73
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
74
|
-
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
75
|
-
name: import("zod").ZodString;
|
|
76
|
-
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
77
|
-
}, {
|
|
78
|
-
uri: import("zod").ZodString;
|
|
79
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
80
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
81
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
82
|
-
}>, {
|
|
83
|
-
type: import("zod").ZodLiteral<"resource_link">;
|
|
84
|
-
}>, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
85
|
-
name: import("zod").ZodString;
|
|
86
|
-
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
87
|
-
}, {
|
|
88
|
-
uri: import("zod").ZodString;
|
|
89
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
90
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
91
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
92
|
-
}>, {
|
|
93
|
-
type: import("zod").ZodLiteral<"resource_link">;
|
|
94
|
-
}>, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
95
|
-
name: import("zod").ZodString;
|
|
96
|
-
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
97
|
-
}, {
|
|
98
|
-
uri: import("zod").ZodString;
|
|
99
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
100
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
101
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
102
|
-
}>, {
|
|
103
|
-
type: import("zod").ZodLiteral<"resource_link">;
|
|
104
|
-
}>, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodObject<{
|
|
105
|
-
type: import("zod").ZodLiteral<"resource">;
|
|
106
|
-
resource: import("zod").ZodUnion<[import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
107
|
-
uri: import("zod").ZodString;
|
|
108
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
109
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
110
|
-
}, {
|
|
111
|
-
text: import("zod").ZodString;
|
|
112
|
-
}>, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<import("zod").objectUtil.extendShape<{
|
|
113
|
-
uri: import("zod").ZodString;
|
|
114
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
115
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
116
|
-
}, {
|
|
117
|
-
text: import("zod").ZodString;
|
|
118
|
-
}>, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<import("zod").objectUtil.extendShape<{
|
|
119
|
-
uri: import("zod").ZodString;
|
|
120
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
121
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
122
|
-
}, {
|
|
123
|
-
text: import("zod").ZodString;
|
|
124
|
-
}>, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
125
|
-
uri: import("zod").ZodString;
|
|
126
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
127
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
128
|
-
}, {
|
|
129
|
-
blob: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
130
|
-
}>, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<import("zod").objectUtil.extendShape<{
|
|
131
|
-
uri: import("zod").ZodString;
|
|
132
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
133
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
134
|
-
}, {
|
|
135
|
-
blob: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
136
|
-
}>, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<import("zod").objectUtil.extendShape<{
|
|
137
|
-
uri: import("zod").ZodString;
|
|
138
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
139
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
140
|
-
}, {
|
|
141
|
-
blob: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
142
|
-
}>, import("zod").ZodTypeAny, "passthrough">>]>;
|
|
143
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
144
|
-
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
145
|
-
type: import("zod").ZodLiteral<"resource">;
|
|
146
|
-
resource: import("zod").ZodUnion<[import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
147
|
-
uri: import("zod").ZodString;
|
|
148
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
149
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
150
|
-
}, {
|
|
151
|
-
text: import("zod").ZodString;
|
|
152
|
-
}>, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<import("zod").objectUtil.extendShape<{
|
|
153
|
-
uri: import("zod").ZodString;
|
|
154
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
155
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
156
|
-
}, {
|
|
157
|
-
text: import("zod").ZodString;
|
|
158
|
-
}>, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<import("zod").objectUtil.extendShape<{
|
|
159
|
-
uri: import("zod").ZodString;
|
|
160
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
161
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
162
|
-
}, {
|
|
163
|
-
text: import("zod").ZodString;
|
|
164
|
-
}>, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
165
|
-
uri: import("zod").ZodString;
|
|
166
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
167
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
168
|
-
}, {
|
|
169
|
-
blob: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
170
|
-
}>, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<import("zod").objectUtil.extendShape<{
|
|
171
|
-
uri: import("zod").ZodString;
|
|
172
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
173
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
174
|
-
}, {
|
|
175
|
-
blob: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
176
|
-
}>, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<import("zod").objectUtil.extendShape<{
|
|
177
|
-
uri: import("zod").ZodString;
|
|
178
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
179
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
180
|
-
}, {
|
|
181
|
-
blob: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
182
|
-
}>, import("zod").ZodTypeAny, "passthrough">>]>;
|
|
183
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
184
|
-
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
185
|
-
type: import("zod").ZodLiteral<"resource">;
|
|
186
|
-
resource: import("zod").ZodUnion<[import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
187
|
-
uri: import("zod").ZodString;
|
|
188
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
189
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
190
|
-
}, {
|
|
191
|
-
text: import("zod").ZodString;
|
|
192
|
-
}>, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<import("zod").objectUtil.extendShape<{
|
|
193
|
-
uri: import("zod").ZodString;
|
|
194
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
195
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
196
|
-
}, {
|
|
197
|
-
text: import("zod").ZodString;
|
|
198
|
-
}>, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<import("zod").objectUtil.extendShape<{
|
|
199
|
-
uri: import("zod").ZodString;
|
|
200
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
201
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
202
|
-
}, {
|
|
203
|
-
text: import("zod").ZodString;
|
|
204
|
-
}>, import("zod").ZodTypeAny, "passthrough">>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
205
|
-
uri: import("zod").ZodString;
|
|
206
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
207
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
208
|
-
}, {
|
|
209
|
-
blob: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
210
|
-
}>, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<import("zod").objectUtil.extendShape<{
|
|
211
|
-
uri: import("zod").ZodString;
|
|
212
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
213
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
214
|
-
}, {
|
|
215
|
-
blob: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
216
|
-
}>, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<import("zod").objectUtil.extendShape<{
|
|
217
|
-
uri: import("zod").ZodString;
|
|
218
|
-
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
219
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
220
|
-
}, {
|
|
221
|
-
blob: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
222
|
-
}>, import("zod").ZodTypeAny, "passthrough">>]>;
|
|
223
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
224
|
-
}, import("zod").ZodTypeAny, "passthrough">>]>, "many">>;
|
|
225
|
-
structuredContent: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
226
|
-
isError: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
227
|
-
}, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
|
|
228
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
229
|
-
} & {
|
|
230
|
-
toolResult: import("zod").ZodUnknown;
|
|
231
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
232
29
|
sendSignedTransaction(params: z.infer<typeof signedTransactionValidationZod>): Promise<z.objectOutputType<{
|
|
233
30
|
_meta: import("zod").ZodOptional<import("zod").ZodObject<{}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
234
31
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/mcp-client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oDAAoD,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/mcp-client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oDAAoD,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF,qBAAa,aAAa;IACxB,SAAS,CAAC,GAAG,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,SAAS,EAAE,6BAA6B,GAAG,IAAI,CAAQ;IACjE,SAAS,CAAC,YAAY,UAAS;;IAMzB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;IAkB3D,IAAI,WAAW,YAEd;IAEK,UAAU;IAOV,SAAS;;;;;IAWT,aAAa;;;;;IAWb,qBAAqB;;;;;IAWrB,qBAAqB,CACzB,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOzD"}
|
|
@@ -67,9 +67,6 @@ class BaseMCPClient {
|
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
async signTransaction(params) {
|
|
71
|
-
return this.mcp.callTool({ name: "sign_transaction", arguments: params });
|
|
72
|
-
}
|
|
73
70
|
async sendSignedTransaction(params) {
|
|
74
71
|
return this.mcp.callTool({
|
|
75
72
|
name: "send_signed_transaction",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/mcp-client/index.ts"],"names":[],"mappings":";;;AAAA,wEAAmE;AACnE,0FAAmG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/mcp-client/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TransactionReceipt } from "@bosonprotocol/common";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import { ReturnTypeMcp } from "./mcpTypes";
|
|
4
3
|
export declare const signedTransactionValidation: {
|
|
5
4
|
signedTransaction: z.ZodEffects<z.ZodString, string, string>;
|
|
6
5
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -15,203 +14,6 @@ export declare const signedTransactionValidationZod: z.ZodObject<{
|
|
|
15
14
|
configId?: string;
|
|
16
15
|
signedTransaction?: string;
|
|
17
16
|
}>;
|
|
18
|
-
export declare const signTransactionValidation: {
|
|
19
|
-
to: z.ZodEffects<z.ZodString, string, string>;
|
|
20
|
-
value: z.ZodEffects<z.ZodOptional<z.ZodString>, string, string>;
|
|
21
|
-
data: z.ZodOptional<z.ZodString>;
|
|
22
|
-
gasLimit: z.ZodOptional<z.ZodString>;
|
|
23
|
-
gasPrice: z.ZodOptional<z.ZodString>;
|
|
24
|
-
maxFeePerGas: z.ZodOptional<z.ZodString>;
|
|
25
|
-
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
26
|
-
nonce: z.ZodOptional<z.ZodNumber>;
|
|
27
|
-
type: z.ZodOptional<z.ZodNumber>;
|
|
28
|
-
chainId: z.ZodOptional<z.ZodNumber>;
|
|
29
|
-
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
30
|
-
privateKey: z.ZodEffects<z.ZodString, string, string>;
|
|
31
|
-
};
|
|
32
|
-
export declare const signTransactionValidationZod: z.ZodObject<{
|
|
33
|
-
to: z.ZodEffects<z.ZodString, string, string>;
|
|
34
|
-
value: z.ZodEffects<z.ZodOptional<z.ZodString>, string, string>;
|
|
35
|
-
data: z.ZodOptional<z.ZodString>;
|
|
36
|
-
gasLimit: z.ZodOptional<z.ZodString>;
|
|
37
|
-
gasPrice: z.ZodOptional<z.ZodString>;
|
|
38
|
-
maxFeePerGas: z.ZodOptional<z.ZodString>;
|
|
39
|
-
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
40
|
-
nonce: z.ZodOptional<z.ZodNumber>;
|
|
41
|
-
type: z.ZodOptional<z.ZodNumber>;
|
|
42
|
-
chainId: z.ZodOptional<z.ZodNumber>;
|
|
43
|
-
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
44
|
-
privateKey: z.ZodEffects<z.ZodString, string, string>;
|
|
45
|
-
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
to?: string;
|
|
47
|
-
data?: string;
|
|
48
|
-
value?: string;
|
|
49
|
-
nonce?: number;
|
|
50
|
-
chainId?: number;
|
|
51
|
-
type?: number;
|
|
52
|
-
gasLimit?: string;
|
|
53
|
-
gasPrice?: string;
|
|
54
|
-
maxFeePerGas?: string;
|
|
55
|
-
maxPriorityFeePerGas?: string;
|
|
56
|
-
rpcUrl?: string;
|
|
57
|
-
privateKey?: string;
|
|
58
|
-
}, {
|
|
59
|
-
to?: string;
|
|
60
|
-
data?: string;
|
|
61
|
-
value?: string;
|
|
62
|
-
nonce?: number;
|
|
63
|
-
chainId?: number;
|
|
64
|
-
type?: number;
|
|
65
|
-
gasLimit?: string;
|
|
66
|
-
gasPrice?: string;
|
|
67
|
-
maxFeePerGas?: string;
|
|
68
|
-
maxPriorityFeePerGas?: string;
|
|
69
|
-
rpcUrl?: string;
|
|
70
|
-
privateKey?: string;
|
|
71
|
-
}>;
|
|
72
|
-
export declare const signTypedDataValidation: {
|
|
73
|
-
domain: z.ZodObject<{
|
|
74
|
-
name: z.ZodOptional<z.ZodString>;
|
|
75
|
-
version: z.ZodOptional<z.ZodString>;
|
|
76
|
-
chainId: z.ZodOptional<z.ZodString>;
|
|
77
|
-
verifyingContract: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
78
|
-
salt: z.ZodOptional<z.ZodString>;
|
|
79
|
-
}, "strip", z.ZodTypeAny, {
|
|
80
|
-
name?: string;
|
|
81
|
-
version?: string;
|
|
82
|
-
chainId?: string;
|
|
83
|
-
verifyingContract?: string;
|
|
84
|
-
salt?: string;
|
|
85
|
-
}, {
|
|
86
|
-
name?: string;
|
|
87
|
-
version?: string;
|
|
88
|
-
chainId?: string;
|
|
89
|
-
verifyingContract?: string;
|
|
90
|
-
salt?: string;
|
|
91
|
-
}>;
|
|
92
|
-
types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
93
|
-
name: z.ZodString;
|
|
94
|
-
type: z.ZodString;
|
|
95
|
-
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
name?: string;
|
|
97
|
-
type?: string;
|
|
98
|
-
}, {
|
|
99
|
-
name?: string;
|
|
100
|
-
type?: string;
|
|
101
|
-
}>, "many">>;
|
|
102
|
-
primaryType: z.ZodString;
|
|
103
|
-
message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
104
|
-
privateKey: z.ZodEffects<z.ZodString, string, string>;
|
|
105
|
-
contractAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
106
|
-
functionName: z.ZodOptional<z.ZodString>;
|
|
107
|
-
functionArgs: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
108
|
-
contractAbi: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
109
|
-
value: z.ZodOptional<z.ZodString>;
|
|
110
|
-
gasLimit: z.ZodOptional<z.ZodString>;
|
|
111
|
-
gasPrice: z.ZodOptional<z.ZodString>;
|
|
112
|
-
maxFeePerGas: z.ZodOptional<z.ZodString>;
|
|
113
|
-
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
114
|
-
nonce: z.ZodOptional<z.ZodNumber>;
|
|
115
|
-
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
116
|
-
};
|
|
117
|
-
export declare const signTypedDataValidationZod: z.ZodObject<{
|
|
118
|
-
domain: z.ZodObject<{
|
|
119
|
-
name: z.ZodOptional<z.ZodString>;
|
|
120
|
-
version: z.ZodOptional<z.ZodString>;
|
|
121
|
-
chainId: z.ZodOptional<z.ZodString>;
|
|
122
|
-
verifyingContract: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
123
|
-
salt: z.ZodOptional<z.ZodString>;
|
|
124
|
-
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
name?: string;
|
|
126
|
-
version?: string;
|
|
127
|
-
chainId?: string;
|
|
128
|
-
verifyingContract?: string;
|
|
129
|
-
salt?: string;
|
|
130
|
-
}, {
|
|
131
|
-
name?: string;
|
|
132
|
-
version?: string;
|
|
133
|
-
chainId?: string;
|
|
134
|
-
verifyingContract?: string;
|
|
135
|
-
salt?: string;
|
|
136
|
-
}>;
|
|
137
|
-
types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
138
|
-
name: z.ZodString;
|
|
139
|
-
type: z.ZodString;
|
|
140
|
-
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
name?: string;
|
|
142
|
-
type?: string;
|
|
143
|
-
}, {
|
|
144
|
-
name?: string;
|
|
145
|
-
type?: string;
|
|
146
|
-
}>, "many">>;
|
|
147
|
-
primaryType: z.ZodString;
|
|
148
|
-
message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
149
|
-
privateKey: z.ZodEffects<z.ZodString, string, string>;
|
|
150
|
-
contractAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
151
|
-
functionName: z.ZodOptional<z.ZodString>;
|
|
152
|
-
functionArgs: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
153
|
-
contractAbi: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
154
|
-
value: z.ZodOptional<z.ZodString>;
|
|
155
|
-
gasLimit: z.ZodOptional<z.ZodString>;
|
|
156
|
-
gasPrice: z.ZodOptional<z.ZodString>;
|
|
157
|
-
maxFeePerGas: z.ZodOptional<z.ZodString>;
|
|
158
|
-
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
159
|
-
nonce: z.ZodOptional<z.ZodNumber>;
|
|
160
|
-
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
161
|
-
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
value?: string;
|
|
163
|
-
functionName?: string;
|
|
164
|
-
nonce?: number;
|
|
165
|
-
message?: Record<string, unknown>;
|
|
166
|
-
gasLimit?: string;
|
|
167
|
-
gasPrice?: string;
|
|
168
|
-
maxFeePerGas?: string;
|
|
169
|
-
maxPriorityFeePerGas?: string;
|
|
170
|
-
rpcUrl?: string;
|
|
171
|
-
privateKey?: string;
|
|
172
|
-
domain?: {
|
|
173
|
-
name?: string;
|
|
174
|
-
version?: string;
|
|
175
|
-
chainId?: string;
|
|
176
|
-
verifyingContract?: string;
|
|
177
|
-
salt?: string;
|
|
178
|
-
};
|
|
179
|
-
types?: Record<string, {
|
|
180
|
-
name?: string;
|
|
181
|
-
type?: string;
|
|
182
|
-
}[]>;
|
|
183
|
-
primaryType?: string;
|
|
184
|
-
contractAddress?: string;
|
|
185
|
-
functionArgs?: unknown[];
|
|
186
|
-
contractAbi?: unknown[];
|
|
187
|
-
}, {
|
|
188
|
-
value?: string;
|
|
189
|
-
functionName?: string;
|
|
190
|
-
nonce?: number;
|
|
191
|
-
message?: Record<string, unknown>;
|
|
192
|
-
gasLimit?: string;
|
|
193
|
-
gasPrice?: string;
|
|
194
|
-
maxFeePerGas?: string;
|
|
195
|
-
maxPriorityFeePerGas?: string;
|
|
196
|
-
rpcUrl?: string;
|
|
197
|
-
privateKey?: string;
|
|
198
|
-
domain?: {
|
|
199
|
-
name?: string;
|
|
200
|
-
version?: string;
|
|
201
|
-
chainId?: string;
|
|
202
|
-
verifyingContract?: string;
|
|
203
|
-
salt?: string;
|
|
204
|
-
};
|
|
205
|
-
types?: Record<string, {
|
|
206
|
-
name?: string;
|
|
207
|
-
type?: string;
|
|
208
|
-
}[]>;
|
|
209
|
-
primaryType?: string;
|
|
210
|
-
contractAddress?: string;
|
|
211
|
-
functionArgs?: unknown[];
|
|
212
|
-
contractAbi?: unknown[];
|
|
213
|
-
}>;
|
|
214
|
-
export declare function signTransaction({ to, value, data, gasLimit, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, type, chainId, rpcUrl, privateKey, }: z.infer<typeof signTransactionValidationZod>): Promise<ReturnTypeMcp>;
|
|
215
17
|
export declare function sendSignedTransaction(coreSDK: {
|
|
216
18
|
web3Lib: {
|
|
217
19
|
sendSignedTransaction: (tx: string) => Promise<{
|
|
@@ -220,5 +22,4 @@ export declare function sendSignedTransaction(coreSDK: {
|
|
|
220
22
|
}>;
|
|
221
23
|
};
|
|
222
24
|
} | null, signedTransaction: string, protocolName: "Boson" | "Fermion"): Promise<string>;
|
|
223
|
-
export declare function signTypedData({ domain, types, primaryType, message, privateKey, contractAddress, functionName, functionArgs, contractAbi, value, gasLimit, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, rpcUrl, }: z.infer<typeof signTypedDataValidationZod>): Promise<ReturnTypeMcp>;
|
|
224
25
|
//# sourceMappingURL=transactionSigning.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionSigning.d.ts","sourceRoot":"","sources":["../../../src/common/mcp-server/transactionSigning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"transactionSigning.d.ts","sourceRoot":"","sources":["../../../src/common/mcp-server/transactionSigning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,2BAA2B;;;CAQvC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;EAE1C,CAAC;AAEF,wBAAsB,qBAAqB,CACzC,OAAO,EAAE;IACP,OAAO,EAAE;QACP,qBAAqB,EAAE,CACrB,EAAE,EAAE,MAAM,KACP,OAAO,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,OAAO,CAAC,kBAAkB,CAAC,CAAA;SAAE,CAAC,CAAC;KACzE,CAAC;CACH,GAAG,IAAI,EACR,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,OAAO,GAAG,SAAS,GAChC,OAAO,CAAC,MAAM,CAAC,CAoBjB"}
|