@agent-shield/mcp 0.4.1 → 0.4.2
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/agent-transfer.d.ts +2 -22
- package/dist/tools/agent-transfer.d.ts.map +1 -1
- package/dist/tools/apply-pending-policy.d.ts +2 -10
- package/dist/tools/apply-pending-policy.d.ts.map +1 -1
- package/dist/tools/cancel-pending-policy.d.ts +2 -10
- package/dist/tools/cancel-pending-policy.d.ts.map +1 -1
- package/dist/tools/check-pending-policy.d.ts +2 -10
- package/dist/tools/check-pending-policy.d.ts.map +1 -1
- package/dist/tools/check-spending.d.ts +2 -10
- package/dist/tools/check-spending.d.ts.map +1 -1
- package/dist/tools/check-vault.d.ts +2 -18
- package/dist/tools/check-vault.d.ts.map +1 -1
- package/dist/tools/close-position.d.ts +10 -28
- package/dist/tools/close-position.d.ts.map +1 -1
- package/dist/tools/configure-from-file.d.ts +2 -10
- package/dist/tools/configure-from-file.d.ts.map +1 -1
- package/dist/tools/configure.d.ts +24 -46
- package/dist/tools/configure.d.ts.map +1 -1
- package/dist/tools/create-vault.d.ts +8 -56
- package/dist/tools/create-vault.d.ts.map +1 -1
- package/dist/tools/deposit.d.ts +2 -18
- package/dist/tools/deposit.d.ts.map +1 -1
- package/dist/tools/execute-swap.d.ts +2 -26
- package/dist/tools/execute-swap.d.ts.map +1 -1
- package/dist/tools/fund-wallet.d.ts +2 -14
- package/dist/tools/fund-wallet.d.ts.map +1 -1
- package/dist/tools/open-position.d.ts +10 -36
- package/dist/tools/open-position.d.ts.map +1 -1
- package/dist/tools/provision.d.ts +14 -34
- package/dist/tools/provision.d.ts.map +1 -1
- package/dist/tools/queue-policy-update.d.ts +8 -56
- package/dist/tools/queue-policy-update.d.ts.map +1 -1
- package/dist/tools/reactivate-vault.d.ts +2 -14
- package/dist/tools/reactivate-vault.d.ts.map +1 -1
- package/dist/tools/register-agent.d.ts +2 -14
- package/dist/tools/register-agent.d.ts.map +1 -1
- package/dist/tools/revoke-agent.d.ts +2 -10
- package/dist/tools/revoke-agent.d.ts.map +1 -1
- package/dist/tools/setup-status.d.ts +2 -2
- package/dist/tools/setup-status.d.ts.map +1 -1
- package/dist/tools/update-policy.d.ts +8 -56
- package/dist/tools/update-policy.d.ts.map +1 -1
- package/dist/tools/upgrade-tier.d.ts +4 -12
- package/dist/tools/upgrade-tier.d.ts.map +1 -1
- package/dist/tools/withdraw.d.ts +2 -18
- package/dist/tools/withdraw.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -5,17 +5,7 @@ export declare const agentTransferSchema: z.ZodObject<{
|
|
|
5
5
|
destination: z.ZodString;
|
|
6
6
|
mint: z.ZodString;
|
|
7
7
|
amount: z.ZodString;
|
|
8
|
-
},
|
|
9
|
-
vault: string;
|
|
10
|
-
mint: string;
|
|
11
|
-
amount: string;
|
|
12
|
-
destination: string;
|
|
13
|
-
}, {
|
|
14
|
-
vault: string;
|
|
15
|
-
mint: string;
|
|
16
|
-
amount: string;
|
|
17
|
-
destination: string;
|
|
18
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
19
9
|
export type AgentTransferInput = z.infer<typeof agentTransferSchema>;
|
|
20
10
|
export declare function agentTransfer(client: AgentShieldClient, input: AgentTransferInput): Promise<string>;
|
|
21
11
|
export declare const agentTransferTool: {
|
|
@@ -26,17 +16,7 @@ export declare const agentTransferTool: {
|
|
|
26
16
|
destination: z.ZodString;
|
|
27
17
|
mint: z.ZodString;
|
|
28
18
|
amount: z.ZodString;
|
|
29
|
-
},
|
|
30
|
-
vault: string;
|
|
31
|
-
mint: string;
|
|
32
|
-
amount: string;
|
|
33
|
-
destination: string;
|
|
34
|
-
}, {
|
|
35
|
-
vault: string;
|
|
36
|
-
mint: string;
|
|
37
|
-
amount: string;
|
|
38
|
-
destination: string;
|
|
39
|
-
}>;
|
|
19
|
+
}, z.core.$strip>;
|
|
40
20
|
handler: typeof agentTransfer;
|
|
41
21
|
};
|
|
42
22
|
//# sourceMappingURL=agent-transfer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-transfer.d.ts","sourceRoot":"","sources":["../../src/tools/agent-transfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,iBAAiB,EAAuB,MAAM,mBAAmB,CAAC;AAIhF,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"agent-transfer.d.ts","sourceRoot":"","sources":["../../src/tools/agent-transfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,iBAAiB,EAAuB,MAAM,mBAAmB,CAAC;AAIhF,eAAO,MAAM,mBAAmB;;;;;iBAS9B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,wBAAsB,aAAa,CACjC,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC,MAAM,CAAC,CAoCjB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;CAQ7B,CAAC"}
|
|
@@ -2,11 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import type { AgentShieldClient } from "@agent-shield/sdk";
|
|
3
3
|
export declare const applyPendingPolicySchema: z.ZodObject<{
|
|
4
4
|
vault: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
vault: string;
|
|
7
|
-
}, {
|
|
8
|
-
vault: string;
|
|
9
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
10
6
|
export type ApplyPendingPolicyInput = z.infer<typeof applyPendingPolicySchema>;
|
|
11
7
|
export declare function applyPendingPolicy(client: AgentShieldClient, input: ApplyPendingPolicyInput): Promise<string>;
|
|
12
8
|
export declare const applyPendingPolicyTool: {
|
|
@@ -14,11 +10,7 @@ export declare const applyPendingPolicyTool: {
|
|
|
14
10
|
description: string;
|
|
15
11
|
schema: z.ZodObject<{
|
|
16
12
|
vault: z.ZodString;
|
|
17
|
-
},
|
|
18
|
-
vault: string;
|
|
19
|
-
}, {
|
|
20
|
-
vault: string;
|
|
21
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
22
14
|
handler: typeof applyPendingPolicy;
|
|
23
15
|
};
|
|
24
16
|
//# sourceMappingURL=apply-pending-policy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply-pending-policy.d.ts","sourceRoot":"","sources":["../../src/tools/apply-pending-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"apply-pending-policy.d.ts","sourceRoot":"","sources":["../../src/tools/apply-pending-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,wBAAwB;;iBAEnC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE/E,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,uBAAuB,GAC7B,OAAO,CAAC,MAAM,CAAC,CAejB;AAED,eAAO,MAAM,sBAAsB;;;;;;;CAOlC,CAAC"}
|
|
@@ -2,11 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import type { AgentShieldClient } from "@agent-shield/sdk";
|
|
3
3
|
export declare const cancelPendingPolicySchema: z.ZodObject<{
|
|
4
4
|
vault: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
vault: string;
|
|
7
|
-
}, {
|
|
8
|
-
vault: string;
|
|
9
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
10
6
|
export type CancelPendingPolicyInput = z.infer<typeof cancelPendingPolicySchema>;
|
|
11
7
|
export declare function cancelPendingPolicy(client: AgentShieldClient, input: CancelPendingPolicyInput): Promise<string>;
|
|
12
8
|
export declare const cancelPendingPolicyTool: {
|
|
@@ -14,11 +10,7 @@ export declare const cancelPendingPolicyTool: {
|
|
|
14
10
|
description: string;
|
|
15
11
|
schema: z.ZodObject<{
|
|
16
12
|
vault: z.ZodString;
|
|
17
|
-
},
|
|
18
|
-
vault: string;
|
|
19
|
-
}, {
|
|
20
|
-
vault: string;
|
|
21
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
22
14
|
handler: typeof cancelPendingPolicy;
|
|
23
15
|
};
|
|
24
16
|
//# sourceMappingURL=cancel-pending-policy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-pending-policy.d.ts","sourceRoot":"","sources":["../../src/tools/cancel-pending-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"cancel-pending-policy.d.ts","sourceRoot":"","sources":["../../src/tools/cancel-pending-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,yBAAyB;;iBAEpC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,yBAAyB,CACjC,CAAC;AAEF,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,wBAAwB,GAC9B,OAAO,CAAC,MAAM,CAAC,CAcjB;AAED,eAAO,MAAM,uBAAuB;;;;;;;CAOnC,CAAC"}
|
|
@@ -2,11 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import type { AgentShieldClient } from "@agent-shield/sdk";
|
|
3
3
|
export declare const checkPendingPolicySchema: z.ZodObject<{
|
|
4
4
|
vault: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
vault: string;
|
|
7
|
-
}, {
|
|
8
|
-
vault: string;
|
|
9
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
10
6
|
export type CheckPendingPolicyInput = z.infer<typeof checkPendingPolicySchema>;
|
|
11
7
|
export declare function checkPendingPolicy(client: AgentShieldClient, input: CheckPendingPolicyInput): Promise<string>;
|
|
12
8
|
export declare const checkPendingPolicyTool: {
|
|
@@ -14,11 +10,7 @@ export declare const checkPendingPolicyTool: {
|
|
|
14
10
|
description: string;
|
|
15
11
|
schema: z.ZodObject<{
|
|
16
12
|
vault: z.ZodString;
|
|
17
|
-
},
|
|
18
|
-
vault: string;
|
|
19
|
-
}, {
|
|
20
|
-
vault: string;
|
|
21
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
22
14
|
handler: typeof checkPendingPolicy;
|
|
23
15
|
};
|
|
24
16
|
//# sourceMappingURL=check-pending-policy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-pending-policy.d.ts","sourceRoot":"","sources":["../../src/tools/check-pending-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"check-pending-policy.d.ts","sourceRoot":"","sources":["../../src/tools/check-pending-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,wBAAwB;;iBAEnC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE/E,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,uBAAuB,GAC7B,OAAO,CAAC,MAAM,CAAC,CAqFjB;AAED,eAAO,MAAM,sBAAsB;;;;;;;CAOlC,CAAC"}
|
|
@@ -2,11 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import type { AgentShieldClient } from "@agent-shield/sdk";
|
|
3
3
|
export declare const checkSpendingSchema: z.ZodObject<{
|
|
4
4
|
vault: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
vault: string;
|
|
7
|
-
}, {
|
|
8
|
-
vault: string;
|
|
9
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
10
6
|
export type CheckSpendingInput = z.infer<typeof checkSpendingSchema>;
|
|
11
7
|
export declare function checkSpending(client: AgentShieldClient, input: CheckSpendingInput): Promise<string>;
|
|
12
8
|
export declare const checkSpendingTool: {
|
|
@@ -14,11 +10,7 @@ export declare const checkSpendingTool: {
|
|
|
14
10
|
description: string;
|
|
15
11
|
schema: z.ZodObject<{
|
|
16
12
|
vault: z.ZodString;
|
|
17
|
-
},
|
|
18
|
-
vault: string;
|
|
19
|
-
}, {
|
|
20
|
-
vault: string;
|
|
21
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
22
14
|
handler: typeof checkSpending;
|
|
23
15
|
};
|
|
24
16
|
//# sourceMappingURL=check-spending.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-spending.d.ts","sourceRoot":"","sources":["../../src/tools/check-spending.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAS3D,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"check-spending.d.ts","sourceRoot":"","sources":["../../src/tools/check-spending.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAS3D,eAAO,MAAM,mBAAmB;;iBAE9B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,wBAAsB,aAAa,CACjC,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC,MAAM,CAAC,CAkDjB;AAED,eAAO,MAAM,iBAAiB;;;;;;;CAM7B,CAAC"}
|
|
@@ -4,15 +4,7 @@ export declare const checkVaultSchema: z.ZodObject<{
|
|
|
4
4
|
vault: z.ZodString;
|
|
5
5
|
owner: z.ZodOptional<z.ZodString>;
|
|
6
6
|
vaultId: z.ZodOptional<z.ZodString>;
|
|
7
|
-
},
|
|
8
|
-
vault: string;
|
|
9
|
-
owner?: string | undefined;
|
|
10
|
-
vaultId?: string | undefined;
|
|
11
|
-
}, {
|
|
12
|
-
vault: string;
|
|
13
|
-
owner?: string | undefined;
|
|
14
|
-
vaultId?: string | undefined;
|
|
15
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
16
8
|
export type CheckVaultInput = z.infer<typeof checkVaultSchema>;
|
|
17
9
|
export declare function checkVault(client: AgentShieldClient, input: CheckVaultInput): Promise<string>;
|
|
18
10
|
export declare const checkVaultTool: {
|
|
@@ -22,15 +14,7 @@ export declare const checkVaultTool: {
|
|
|
22
14
|
vault: z.ZodString;
|
|
23
15
|
owner: z.ZodOptional<z.ZodString>;
|
|
24
16
|
vaultId: z.ZodOptional<z.ZodString>;
|
|
25
|
-
},
|
|
26
|
-
vault: string;
|
|
27
|
-
owner?: string | undefined;
|
|
28
|
-
vaultId?: string | undefined;
|
|
29
|
-
}, {
|
|
30
|
-
vault: string;
|
|
31
|
-
owner?: string | undefined;
|
|
32
|
-
vaultId?: string | undefined;
|
|
33
|
-
}>;
|
|
17
|
+
}, z.core.$strip>;
|
|
34
18
|
handler: typeof checkVault;
|
|
35
19
|
};
|
|
36
20
|
//# sourceMappingURL=check-vault.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-vault.d.ts","sourceRoot":"","sources":["../../src/tools/check-vault.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAS3D,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"check-vault.d.ts","sourceRoot":"","sources":["../../src/tools/check-vault.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAS3D,eAAO,MAAM,gBAAgB;;;;iBAc3B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/D,wBAAsB,UAAU,CAC9B,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,eAAe,GACrB,OAAO,CAAC,MAAM,CAAC,CA6EjB;AAED,eAAO,MAAM,cAAc;;;;;;;;;CAO1B,CAAC"}
|
|
@@ -4,22 +4,13 @@ import { type McpConfig } from "../config";
|
|
|
4
4
|
export declare const closePositionSchema: z.ZodObject<{
|
|
5
5
|
vault: z.ZodString;
|
|
6
6
|
market: z.ZodString;
|
|
7
|
-
side: z.ZodEnum<
|
|
7
|
+
side: z.ZodEnum<{
|
|
8
|
+
long: "long";
|
|
9
|
+
short: "short";
|
|
10
|
+
}>;
|
|
8
11
|
priceWithSlippage: z.ZodString;
|
|
9
12
|
priceExponent: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
10
|
-
},
|
|
11
|
-
vault: string;
|
|
12
|
-
market: string;
|
|
13
|
-
side: "long" | "short";
|
|
14
|
-
priceWithSlippage: string;
|
|
15
|
-
priceExponent: number;
|
|
16
|
-
}, {
|
|
17
|
-
vault: string;
|
|
18
|
-
market: string;
|
|
19
|
-
side: "long" | "short";
|
|
20
|
-
priceWithSlippage: string;
|
|
21
|
-
priceExponent?: number | undefined;
|
|
22
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
23
14
|
export type ClosePositionInput = z.infer<typeof closePositionSchema>;
|
|
24
15
|
export declare function closePosition(client: AgentShieldClient, config: McpConfig, input: ClosePositionInput): Promise<string>;
|
|
25
16
|
export declare const closePositionTool: {
|
|
@@ -28,22 +19,13 @@ export declare const closePositionTool: {
|
|
|
28
19
|
schema: z.ZodObject<{
|
|
29
20
|
vault: z.ZodString;
|
|
30
21
|
market: z.ZodString;
|
|
31
|
-
side: z.ZodEnum<
|
|
22
|
+
side: z.ZodEnum<{
|
|
23
|
+
long: "long";
|
|
24
|
+
short: "short";
|
|
25
|
+
}>;
|
|
32
26
|
priceWithSlippage: z.ZodString;
|
|
33
27
|
priceExponent: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
34
|
-
},
|
|
35
|
-
vault: string;
|
|
36
|
-
market: string;
|
|
37
|
-
side: "long" | "short";
|
|
38
|
-
priceWithSlippage: string;
|
|
39
|
-
priceExponent: number;
|
|
40
|
-
}, {
|
|
41
|
-
vault: string;
|
|
42
|
-
market: string;
|
|
43
|
-
side: "long" | "short";
|
|
44
|
-
priceWithSlippage: string;
|
|
45
|
-
priceExponent?: number | undefined;
|
|
46
|
-
}>;
|
|
28
|
+
}, z.core.$strip>;
|
|
47
29
|
handler: typeof closePosition;
|
|
48
30
|
};
|
|
49
31
|
//# sourceMappingURL=close-position.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close-position.d.ts","sourceRoot":"","sources":["../../src/tools/close-position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAE7D,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"close-position.d.ts","sourceRoot":"","sources":["../../src/tools/close-position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAE7D,eAAO,MAAM,mBAAmB;;;;;;;;;iBAY9B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAQrE,wBAAsB,aAAa,CACjC,MAAM,EAAE,iBAAiB,EACzB,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC,MAAM,CAAC,CAkCjB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;CAO7B,CAAC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const configureFromFileSchema: z.ZodObject<{
|
|
3
3
|
configFile: z.ZodString;
|
|
4
|
-
},
|
|
5
|
-
configFile: string;
|
|
6
|
-
}, {
|
|
7
|
-
configFile: string;
|
|
8
|
-
}>;
|
|
4
|
+
}, z.core.$strip>;
|
|
9
5
|
export type ConfigureFromFileInput = z.infer<typeof configureFromFileSchema>;
|
|
10
6
|
/**
|
|
11
7
|
* Apply an AgentShield configuration from a pre-written JSON file.
|
|
@@ -37,11 +33,7 @@ export declare const configureFromFileTool: {
|
|
|
37
33
|
description: string;
|
|
38
34
|
schema: z.ZodObject<{
|
|
39
35
|
configFile: z.ZodString;
|
|
40
|
-
},
|
|
41
|
-
configFile: string;
|
|
42
|
-
}, {
|
|
43
|
-
configFile: string;
|
|
44
|
-
}>;
|
|
36
|
+
}, z.core.$strip>;
|
|
45
37
|
handler: typeof configureFromFile;
|
|
46
38
|
};
|
|
47
39
|
//# sourceMappingURL=configure-from-file.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configure-from-file.d.ts","sourceRoot":"","sources":["../../src/tools/configure-from-file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"configure-from-file.d.ts","sourceRoot":"","sources":["../../src/tools/configure-from-file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,uBAAuB;;iBAMlC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE7E;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,GAAG,EACZ,KAAK,EAAE,sBAAsB,GAC5B,OAAO,CAAC,MAAM,CAAC,CAsFjB;AA6FD,eAAO,MAAM,qBAAqB;;;;;;;CASjC,CAAC"}
|
|
@@ -1,65 +1,43 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const configureSchema: z.ZodObject<{
|
|
3
|
-
tier: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
4
|
-
template: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
3
|
+
tier: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
4
|
+
template: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
5
|
+
conservative: "conservative";
|
|
6
|
+
moderate: "moderate";
|
|
7
|
+
aggressive: "aggressive";
|
|
8
|
+
}>>>;
|
|
5
9
|
dailyCapUsd: z.ZodOptional<z.ZodNumber>;
|
|
6
|
-
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString
|
|
10
|
+
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
11
|
maxLeverageBps: z.ZodOptional<z.ZodNumber>;
|
|
8
12
|
rateLimit: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
network: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
13
|
+
network: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
devnet: "devnet";
|
|
15
|
+
"mainnet-beta": "mainnet-beta";
|
|
16
|
+
}>>>;
|
|
10
17
|
walletPath: z.ZodOptional<z.ZodString>;
|
|
11
|
-
},
|
|
12
|
-
template: "conservative" | "moderate" | "aggressive";
|
|
13
|
-
tier: 1 | 2 | 3;
|
|
14
|
-
network: "devnet" | "mainnet-beta";
|
|
15
|
-
allowedProtocols?: string[] | undefined;
|
|
16
|
-
maxLeverageBps?: number | undefined;
|
|
17
|
-
dailyCapUsd?: number | undefined;
|
|
18
|
-
rateLimit?: number | undefined;
|
|
19
|
-
walletPath?: string | undefined;
|
|
20
|
-
}, {
|
|
21
|
-
tier: 1 | 2 | 3;
|
|
22
|
-
template?: "conservative" | "moderate" | "aggressive" | undefined;
|
|
23
|
-
allowedProtocols?: string[] | undefined;
|
|
24
|
-
maxLeverageBps?: number | undefined;
|
|
25
|
-
dailyCapUsd?: number | undefined;
|
|
26
|
-
rateLimit?: number | undefined;
|
|
27
|
-
network?: "devnet" | "mainnet-beta" | undefined;
|
|
28
|
-
walletPath?: string | undefined;
|
|
29
|
-
}>;
|
|
18
|
+
}, z.core.$strip>;
|
|
30
19
|
export type ConfigureInput = z.infer<typeof configureSchema>;
|
|
31
20
|
export declare function configure(_client: any, input: ConfigureInput): Promise<string>;
|
|
32
21
|
export declare const configureTool: {
|
|
33
22
|
name: string;
|
|
34
23
|
description: string;
|
|
35
24
|
schema: z.ZodObject<{
|
|
36
|
-
tier: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
37
|
-
template: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
25
|
+
tier: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
26
|
+
template: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
27
|
+
conservative: "conservative";
|
|
28
|
+
moderate: "moderate";
|
|
29
|
+
aggressive: "aggressive";
|
|
30
|
+
}>>>;
|
|
38
31
|
dailyCapUsd: z.ZodOptional<z.ZodNumber>;
|
|
39
|
-
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString
|
|
32
|
+
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
33
|
maxLeverageBps: z.ZodOptional<z.ZodNumber>;
|
|
41
34
|
rateLimit: z.ZodOptional<z.ZodNumber>;
|
|
42
|
-
network: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
35
|
+
network: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
devnet: "devnet";
|
|
37
|
+
"mainnet-beta": "mainnet-beta";
|
|
38
|
+
}>>>;
|
|
43
39
|
walletPath: z.ZodOptional<z.ZodString>;
|
|
44
|
-
},
|
|
45
|
-
template: "conservative" | "moderate" | "aggressive";
|
|
46
|
-
tier: 1 | 2 | 3;
|
|
47
|
-
network: "devnet" | "mainnet-beta";
|
|
48
|
-
allowedProtocols?: string[] | undefined;
|
|
49
|
-
maxLeverageBps?: number | undefined;
|
|
50
|
-
dailyCapUsd?: number | undefined;
|
|
51
|
-
rateLimit?: number | undefined;
|
|
52
|
-
walletPath?: string | undefined;
|
|
53
|
-
}, {
|
|
54
|
-
tier: 1 | 2 | 3;
|
|
55
|
-
template?: "conservative" | "moderate" | "aggressive" | undefined;
|
|
56
|
-
allowedProtocols?: string[] | undefined;
|
|
57
|
-
maxLeverageBps?: number | undefined;
|
|
58
|
-
dailyCapUsd?: number | undefined;
|
|
59
|
-
rateLimit?: number | undefined;
|
|
60
|
-
network?: "devnet" | "mainnet-beta" | undefined;
|
|
61
|
-
walletPath?: string | undefined;
|
|
62
|
-
}>;
|
|
40
|
+
}, z.core.$strip>;
|
|
63
41
|
handler: typeof configure;
|
|
64
42
|
};
|
|
65
43
|
//# sourceMappingURL=configure.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../../src/tools/configure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoDxB,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"configure.d.ts","sourceRoot":"","sources":["../../src/tools/configure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoDxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;iBAoC1B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE7D,wBAAsB,SAAS,CAC7B,OAAO,EAAE,GAAG,EACZ,KAAK,EAAE,cAAc,GACpB,OAAO,CAAC,MAAM,CAAC,CAmMjB;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;CAUzB,CAAC"}
|
|
@@ -4,39 +4,15 @@ export declare const createVaultSchema: z.ZodObject<{
|
|
|
4
4
|
vaultId: z.ZodString;
|
|
5
5
|
dailySpendingCapUsd: z.ZodString;
|
|
6
6
|
maxTransactionSizeUsd: z.ZodString;
|
|
7
|
-
allowedTokens: z.ZodArray<z.ZodString
|
|
8
|
-
allowedProtocols: z.ZodArray<z.ZodString
|
|
7
|
+
allowedTokens: z.ZodArray<z.ZodString>;
|
|
8
|
+
allowedProtocols: z.ZodArray<z.ZodString>;
|
|
9
9
|
maxLeverageBps: z.ZodNumber;
|
|
10
10
|
maxConcurrentPositions: z.ZodNumber;
|
|
11
11
|
feeDestination: z.ZodString;
|
|
12
12
|
developerFeeRate: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
13
|
-
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString
|
|
13
|
+
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
14
|
timelockDuration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
15
|
-
},
|
|
16
|
-
vaultId: string;
|
|
17
|
-
dailySpendingCapUsd: string;
|
|
18
|
-
maxTransactionSizeUsd: string;
|
|
19
|
-
allowedTokens: string[];
|
|
20
|
-
allowedProtocols: string[];
|
|
21
|
-
maxLeverageBps: number;
|
|
22
|
-
maxConcurrentPositions: number;
|
|
23
|
-
feeDestination: string;
|
|
24
|
-
developerFeeRate: number;
|
|
25
|
-
timelockDuration: number;
|
|
26
|
-
allowedDestinations?: string[] | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
vaultId: string;
|
|
29
|
-
dailySpendingCapUsd: string;
|
|
30
|
-
maxTransactionSizeUsd: string;
|
|
31
|
-
allowedTokens: string[];
|
|
32
|
-
allowedProtocols: string[];
|
|
33
|
-
maxLeverageBps: number;
|
|
34
|
-
maxConcurrentPositions: number;
|
|
35
|
-
feeDestination: string;
|
|
36
|
-
developerFeeRate?: number | undefined;
|
|
37
|
-
allowedDestinations?: string[] | undefined;
|
|
38
|
-
timelockDuration?: number | undefined;
|
|
39
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
40
16
|
export type CreateVaultInput = z.infer<typeof createVaultSchema>;
|
|
41
17
|
export declare function createVault(client: AgentShieldClient, input: CreateVaultInput): Promise<string>;
|
|
42
18
|
export declare const createVaultTool: {
|
|
@@ -46,39 +22,15 @@ export declare const createVaultTool: {
|
|
|
46
22
|
vaultId: z.ZodString;
|
|
47
23
|
dailySpendingCapUsd: z.ZodString;
|
|
48
24
|
maxTransactionSizeUsd: z.ZodString;
|
|
49
|
-
allowedTokens: z.ZodArray<z.ZodString
|
|
50
|
-
allowedProtocols: z.ZodArray<z.ZodString
|
|
25
|
+
allowedTokens: z.ZodArray<z.ZodString>;
|
|
26
|
+
allowedProtocols: z.ZodArray<z.ZodString>;
|
|
51
27
|
maxLeverageBps: z.ZodNumber;
|
|
52
28
|
maxConcurrentPositions: z.ZodNumber;
|
|
53
29
|
feeDestination: z.ZodString;
|
|
54
30
|
developerFeeRate: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
55
|
-
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString
|
|
31
|
+
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
56
32
|
timelockDuration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
57
|
-
},
|
|
58
|
-
vaultId: string;
|
|
59
|
-
dailySpendingCapUsd: string;
|
|
60
|
-
maxTransactionSizeUsd: string;
|
|
61
|
-
allowedTokens: string[];
|
|
62
|
-
allowedProtocols: string[];
|
|
63
|
-
maxLeverageBps: number;
|
|
64
|
-
maxConcurrentPositions: number;
|
|
65
|
-
feeDestination: string;
|
|
66
|
-
developerFeeRate: number;
|
|
67
|
-
timelockDuration: number;
|
|
68
|
-
allowedDestinations?: string[] | undefined;
|
|
69
|
-
}, {
|
|
70
|
-
vaultId: string;
|
|
71
|
-
dailySpendingCapUsd: string;
|
|
72
|
-
maxTransactionSizeUsd: string;
|
|
73
|
-
allowedTokens: string[];
|
|
74
|
-
allowedProtocols: string[];
|
|
75
|
-
maxLeverageBps: number;
|
|
76
|
-
maxConcurrentPositions: number;
|
|
77
|
-
feeDestination: string;
|
|
78
|
-
developerFeeRate?: number | undefined;
|
|
79
|
-
allowedDestinations?: string[] | undefined;
|
|
80
|
-
timelockDuration?: number | undefined;
|
|
81
|
-
}>;
|
|
33
|
+
}, z.core.$strip>;
|
|
82
34
|
handler: typeof createVault;
|
|
83
35
|
};
|
|
84
36
|
//# sourceMappingURL=create-vault.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vault.d.ts","sourceRoot":"","sources":["../../src/tools/create-vault.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"create-vault.d.ts","sourceRoot":"","sources":["../../src/tools/create-vault.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;iBA2C5B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,wBAAsB,WAAW,CAC/B,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,gBAAgB,GACtB,OAAO,CAAC,MAAM,CAAC,CA2CjB;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;CAO3B,CAAC"}
|
package/dist/tools/deposit.d.ts
CHANGED
|
@@ -4,15 +4,7 @@ export declare const depositSchema: z.ZodObject<{
|
|
|
4
4
|
vault: z.ZodString;
|
|
5
5
|
mint: z.ZodString;
|
|
6
6
|
amount: z.ZodString;
|
|
7
|
-
},
|
|
8
|
-
vault: string;
|
|
9
|
-
mint: string;
|
|
10
|
-
amount: string;
|
|
11
|
-
}, {
|
|
12
|
-
vault: string;
|
|
13
|
-
mint: string;
|
|
14
|
-
amount: string;
|
|
15
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
16
8
|
export type DepositInput = z.infer<typeof depositSchema>;
|
|
17
9
|
export declare function deposit(client: AgentShieldClient, input: DepositInput): Promise<string>;
|
|
18
10
|
export declare const depositTool: {
|
|
@@ -22,15 +14,7 @@ export declare const depositTool: {
|
|
|
22
14
|
vault: z.ZodString;
|
|
23
15
|
mint: z.ZodString;
|
|
24
16
|
amount: z.ZodString;
|
|
25
|
-
},
|
|
26
|
-
vault: string;
|
|
27
|
-
mint: string;
|
|
28
|
-
amount: string;
|
|
29
|
-
}, {
|
|
30
|
-
vault: string;
|
|
31
|
-
mint: string;
|
|
32
|
-
amount: string;
|
|
33
|
-
}>;
|
|
17
|
+
}, z.core.$strip>;
|
|
34
18
|
handler: typeof deposit;
|
|
35
19
|
};
|
|
36
20
|
//# sourceMappingURL=deposit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deposit.d.ts","sourceRoot":"","sources":["../../src/tools/deposit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"deposit.d.ts","sourceRoot":"","sources":["../../src/tools/deposit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,aAAa;;;;iBAIxB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,wBAAsB,OAAO,CAC3B,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,YAAY,GAClB,OAAO,CAAC,MAAM,CAAC,CAkBjB;AAED,eAAO,MAAM,WAAW;;;;;;;;;CAOvB,CAAC"}
|
|
@@ -7,19 +7,7 @@ export declare const executeSwapSchema: z.ZodObject<{
|
|
|
7
7
|
outputMint: z.ZodString;
|
|
8
8
|
amount: z.ZodString;
|
|
9
9
|
slippageBps: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
10
|
-
},
|
|
11
|
-
vault: string;
|
|
12
|
-
amount: string;
|
|
13
|
-
inputMint: string;
|
|
14
|
-
outputMint: string;
|
|
15
|
-
slippageBps: number;
|
|
16
|
-
}, {
|
|
17
|
-
vault: string;
|
|
18
|
-
amount: string;
|
|
19
|
-
inputMint: string;
|
|
20
|
-
outputMint: string;
|
|
21
|
-
slippageBps?: number | undefined;
|
|
22
|
-
}>;
|
|
10
|
+
}, z.core.$strip>;
|
|
23
11
|
export type ExecuteSwapInput = z.infer<typeof executeSwapSchema>;
|
|
24
12
|
export declare function executeSwap(client: AgentShieldClient, config: McpConfig, input: ExecuteSwapInput): Promise<string>;
|
|
25
13
|
export declare const executeSwapTool: {
|
|
@@ -31,19 +19,7 @@ export declare const executeSwapTool: {
|
|
|
31
19
|
outputMint: z.ZodString;
|
|
32
20
|
amount: z.ZodString;
|
|
33
21
|
slippageBps: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
34
|
-
},
|
|
35
|
-
vault: string;
|
|
36
|
-
amount: string;
|
|
37
|
-
inputMint: string;
|
|
38
|
-
outputMint: string;
|
|
39
|
-
slippageBps: number;
|
|
40
|
-
}, {
|
|
41
|
-
vault: string;
|
|
42
|
-
amount: string;
|
|
43
|
-
inputMint: string;
|
|
44
|
-
outputMint: string;
|
|
45
|
-
slippageBps?: number | undefined;
|
|
46
|
-
}>;
|
|
22
|
+
}, z.core.$strip>;
|
|
47
23
|
handler: typeof executeSwap;
|
|
48
24
|
};
|
|
49
25
|
//# sourceMappingURL=execute-swap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute-swap.d.ts","sourceRoot":"","sources":["../../src/tools/execute-swap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAE7D,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"execute-swap.d.ts","sourceRoot":"","sources":["../../src/tools/execute-swap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAE7D,eAAO,MAAM,iBAAiB;;;;;;iBAU5B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,wBAAsB,WAAW,CAC/B,MAAM,EAAE,iBAAiB,EACzB,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,gBAAgB,GACtB,OAAO,CAAC,MAAM,CAAC,CAkCjB;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;CAQ3B,CAAC"}
|
|
@@ -2,13 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const fundWalletSchema: z.ZodObject<{
|
|
3
3
|
mint: z.ZodOptional<z.ZodString>;
|
|
4
4
|
amount: z.ZodOptional<z.ZodString>;
|
|
5
|
-
},
|
|
6
|
-
mint?: string | undefined;
|
|
7
|
-
amount?: string | undefined;
|
|
8
|
-
}, {
|
|
9
|
-
mint?: string | undefined;
|
|
10
|
-
amount?: string | undefined;
|
|
11
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
12
6
|
export type FundWalletInput = z.infer<typeof fundWalletSchema>;
|
|
13
7
|
/**
|
|
14
8
|
* Generate funding URLs for the configured wallet.
|
|
@@ -21,13 +15,7 @@ export declare const fundWalletTool: {
|
|
|
21
15
|
schema: z.ZodObject<{
|
|
22
16
|
mint: z.ZodOptional<z.ZodString>;
|
|
23
17
|
amount: z.ZodOptional<z.ZodString>;
|
|
24
|
-
},
|
|
25
|
-
mint?: string | undefined;
|
|
26
|
-
amount?: string | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
mint?: string | undefined;
|
|
29
|
-
amount?: string | undefined;
|
|
30
|
-
}>;
|
|
18
|
+
}, z.core.$strip>;
|
|
31
19
|
handler: typeof fundWallet;
|
|
32
20
|
};
|
|
33
21
|
//# sourceMappingURL=fund-wallet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fund-wallet.d.ts","sourceRoot":"","sources":["../../src/tools/fund-wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"fund-wallet.d.ts","sourceRoot":"","sources":["../../src/tools/fund-wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,gBAAgB;;;iBAa3B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/D;;;GAGG;AACH,wBAAsB,UAAU,CAC9B,OAAO,EAAE,GAAG,EACZ,KAAK,EAAE,eAAe,GACrB,OAAO,CAAC,MAAM,CAAC,CAqEjB;AAED,eAAO,MAAM,cAAc;;;;;;;;CAQ1B,CAAC"}
|
|
@@ -7,25 +7,12 @@ export declare const openPositionSchema: z.ZodObject<{
|
|
|
7
7
|
collateralMint: z.ZodString;
|
|
8
8
|
collateralAmount: z.ZodString;
|
|
9
9
|
sizeUsd: z.ZodString;
|
|
10
|
-
side: z.ZodEnum<
|
|
10
|
+
side: z.ZodEnum<{
|
|
11
|
+
long: "long";
|
|
12
|
+
short: "short";
|
|
13
|
+
}>;
|
|
11
14
|
leverageBps: z.ZodNumber;
|
|
12
|
-
},
|
|
13
|
-
vault: string;
|
|
14
|
-
market: string;
|
|
15
|
-
collateralMint: string;
|
|
16
|
-
collateralAmount: string;
|
|
17
|
-
sizeUsd: string;
|
|
18
|
-
side: "long" | "short";
|
|
19
|
-
leverageBps: number;
|
|
20
|
-
}, {
|
|
21
|
-
vault: string;
|
|
22
|
-
market: string;
|
|
23
|
-
collateralMint: string;
|
|
24
|
-
collateralAmount: string;
|
|
25
|
-
sizeUsd: string;
|
|
26
|
-
side: "long" | "short";
|
|
27
|
-
leverageBps: number;
|
|
28
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
29
16
|
export type OpenPositionInput = z.infer<typeof openPositionSchema>;
|
|
30
17
|
export declare function openPosition(client: AgentShieldClient, config: McpConfig, input: OpenPositionInput): Promise<string>;
|
|
31
18
|
export declare const openPositionTool: {
|
|
@@ -37,25 +24,12 @@ export declare const openPositionTool: {
|
|
|
37
24
|
collateralMint: z.ZodString;
|
|
38
25
|
collateralAmount: z.ZodString;
|
|
39
26
|
sizeUsd: z.ZodString;
|
|
40
|
-
side: z.ZodEnum<
|
|
27
|
+
side: z.ZodEnum<{
|
|
28
|
+
long: "long";
|
|
29
|
+
short: "short";
|
|
30
|
+
}>;
|
|
41
31
|
leverageBps: z.ZodNumber;
|
|
42
|
-
},
|
|
43
|
-
vault: string;
|
|
44
|
-
market: string;
|
|
45
|
-
collateralMint: string;
|
|
46
|
-
collateralAmount: string;
|
|
47
|
-
sizeUsd: string;
|
|
48
|
-
side: "long" | "short";
|
|
49
|
-
leverageBps: number;
|
|
50
|
-
}, {
|
|
51
|
-
vault: string;
|
|
52
|
-
market: string;
|
|
53
|
-
collateralMint: string;
|
|
54
|
-
collateralAmount: string;
|
|
55
|
-
sizeUsd: string;
|
|
56
|
-
side: "long" | "short";
|
|
57
|
-
leverageBps: number;
|
|
58
|
-
}>;
|
|
32
|
+
}, z.core.$strip>;
|
|
59
33
|
handler: typeof openPosition;
|
|
60
34
|
};
|
|
61
35
|
//# sourceMappingURL=open-position.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-position.d.ts","sourceRoot":"","sources":["../../src/tools/open-position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAE7D,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"open-position.d.ts","sourceRoot":"","sources":["../../src/tools/open-position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAE7D,eAAO,MAAM,kBAAkB;;;;;;;;;;;iBAY7B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAQnE,wBAAsB,YAAY,CAChC,MAAM,EAAE,iBAAiB,EACzB,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,iBAAiB,GACvB,OAAO,CAAC,MAAM,CAAC,CAoCjB;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;CAQ5B,CAAC"}
|
|
@@ -1,26 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const provisionSchema: z.ZodObject<{
|
|
3
3
|
platformUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4
|
-
template: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
4
|
+
template: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
5
|
+
conservative: "conservative";
|
|
6
|
+
moderate: "moderate";
|
|
7
|
+
aggressive: "aggressive";
|
|
8
|
+
}>>>;
|
|
5
9
|
dailyCap: z.ZodOptional<z.ZodNumber>;
|
|
6
10
|
agentPubkey: z.ZodOptional<z.ZodString>;
|
|
7
|
-
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString
|
|
11
|
+
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
12
|
maxLeverageBps: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
},
|
|
10
|
-
template: "conservative" | "moderate" | "aggressive";
|
|
11
|
-
platformUrl: string;
|
|
12
|
-
allowedProtocols?: string[] | undefined;
|
|
13
|
-
maxLeverageBps?: number | undefined;
|
|
14
|
-
dailyCap?: number | undefined;
|
|
15
|
-
agentPubkey?: string | undefined;
|
|
16
|
-
}, {
|
|
17
|
-
template?: "conservative" | "moderate" | "aggressive" | undefined;
|
|
18
|
-
allowedProtocols?: string[] | undefined;
|
|
19
|
-
maxLeverageBps?: number | undefined;
|
|
20
|
-
platformUrl?: string | undefined;
|
|
21
|
-
dailyCap?: number | undefined;
|
|
22
|
-
agentPubkey?: string | undefined;
|
|
23
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
24
14
|
export type ProvisionInput = z.infer<typeof provisionSchema>;
|
|
25
15
|
/**
|
|
26
16
|
* Generate a Solana Action URL for vault provisioning.
|
|
@@ -35,26 +25,16 @@ export declare const provisionTool: {
|
|
|
35
25
|
description: string;
|
|
36
26
|
schema: z.ZodObject<{
|
|
37
27
|
platformUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
38
|
-
template: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
28
|
+
template: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
conservative: "conservative";
|
|
30
|
+
moderate: "moderate";
|
|
31
|
+
aggressive: "aggressive";
|
|
32
|
+
}>>>;
|
|
39
33
|
dailyCap: z.ZodOptional<z.ZodNumber>;
|
|
40
34
|
agentPubkey: z.ZodOptional<z.ZodString>;
|
|
41
|
-
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString
|
|
35
|
+
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42
36
|
maxLeverageBps: z.ZodOptional<z.ZodNumber>;
|
|
43
|
-
},
|
|
44
|
-
template: "conservative" | "moderate" | "aggressive";
|
|
45
|
-
platformUrl: string;
|
|
46
|
-
allowedProtocols?: string[] | undefined;
|
|
47
|
-
maxLeverageBps?: number | undefined;
|
|
48
|
-
dailyCap?: number | undefined;
|
|
49
|
-
agentPubkey?: string | undefined;
|
|
50
|
-
}, {
|
|
51
|
-
template?: "conservative" | "moderate" | "aggressive" | undefined;
|
|
52
|
-
allowedProtocols?: string[] | undefined;
|
|
53
|
-
maxLeverageBps?: number | undefined;
|
|
54
|
-
platformUrl?: string | undefined;
|
|
55
|
-
dailyCap?: number | undefined;
|
|
56
|
-
agentPubkey?: string | undefined;
|
|
57
|
-
}>;
|
|
37
|
+
}, z.core.$strip>;
|
|
58
38
|
handler: typeof provision;
|
|
59
39
|
};
|
|
60
40
|
//# sourceMappingURL=provision.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provision.d.ts","sourceRoot":"","sources":["../../src/tools/provision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"provision.d.ts","sourceRoot":"","sources":["../../src/tools/provision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;iBAoC1B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE7D;;;;;;GAMG;AACH,wBAAsB,SAAS,CAC7B,OAAO,EAAE,GAAG,EACZ,KAAK,EAAE,cAAc,GACpB,OAAO,CAAC,MAAM,CAAC,CAuCjB;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;CAQzB,CAAC"}
|
|
@@ -4,39 +4,15 @@ export declare const queuePolicyUpdateSchema: z.ZodObject<{
|
|
|
4
4
|
vault: z.ZodString;
|
|
5
5
|
dailySpendingCapUsd: z.ZodOptional<z.ZodString>;
|
|
6
6
|
maxTransactionSizeUsd: z.ZodOptional<z.ZodString>;
|
|
7
|
-
allowedTokens: z.ZodOptional<z.ZodArray<z.ZodString
|
|
8
|
-
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString
|
|
9
|
-
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString
|
|
7
|
+
allowedTokens: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
10
|
maxLeverageBps: z.ZodOptional<z.ZodNumber>;
|
|
11
11
|
canOpenPositions: z.ZodOptional<z.ZodBoolean>;
|
|
12
12
|
maxConcurrentPositions: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
timelockDuration: z.ZodOptional<z.ZodNumber>;
|
|
14
14
|
developerFeeRate: z.ZodOptional<z.ZodNumber>;
|
|
15
|
-
},
|
|
16
|
-
vault: string;
|
|
17
|
-
dailySpendingCapUsd?: string | undefined;
|
|
18
|
-
maxTransactionSizeUsd?: string | undefined;
|
|
19
|
-
allowedTokens?: string[] | undefined;
|
|
20
|
-
allowedProtocols?: string[] | undefined;
|
|
21
|
-
maxLeverageBps?: number | undefined;
|
|
22
|
-
maxConcurrentPositions?: number | undefined;
|
|
23
|
-
developerFeeRate?: number | undefined;
|
|
24
|
-
allowedDestinations?: string[] | undefined;
|
|
25
|
-
timelockDuration?: number | undefined;
|
|
26
|
-
canOpenPositions?: boolean | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
vault: string;
|
|
29
|
-
dailySpendingCapUsd?: string | undefined;
|
|
30
|
-
maxTransactionSizeUsd?: string | undefined;
|
|
31
|
-
allowedTokens?: string[] | undefined;
|
|
32
|
-
allowedProtocols?: string[] | undefined;
|
|
33
|
-
maxLeverageBps?: number | undefined;
|
|
34
|
-
maxConcurrentPositions?: number | undefined;
|
|
35
|
-
developerFeeRate?: number | undefined;
|
|
36
|
-
allowedDestinations?: string[] | undefined;
|
|
37
|
-
timelockDuration?: number | undefined;
|
|
38
|
-
canOpenPositions?: boolean | undefined;
|
|
39
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
40
16
|
export type QueuePolicyUpdateInput = z.infer<typeof queuePolicyUpdateSchema>;
|
|
41
17
|
export declare function queuePolicyUpdate(client: AgentShieldClient, input: QueuePolicyUpdateInput): Promise<string>;
|
|
42
18
|
export declare const queuePolicyUpdateTool: {
|
|
@@ -46,39 +22,15 @@ export declare const queuePolicyUpdateTool: {
|
|
|
46
22
|
vault: z.ZodString;
|
|
47
23
|
dailySpendingCapUsd: z.ZodOptional<z.ZodString>;
|
|
48
24
|
maxTransactionSizeUsd: z.ZodOptional<z.ZodString>;
|
|
49
|
-
allowedTokens: z.ZodOptional<z.ZodArray<z.ZodString
|
|
50
|
-
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString
|
|
51
|
-
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString
|
|
25
|
+
allowedTokens: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
28
|
maxLeverageBps: z.ZodOptional<z.ZodNumber>;
|
|
53
29
|
canOpenPositions: z.ZodOptional<z.ZodBoolean>;
|
|
54
30
|
maxConcurrentPositions: z.ZodOptional<z.ZodNumber>;
|
|
55
31
|
timelockDuration: z.ZodOptional<z.ZodNumber>;
|
|
56
32
|
developerFeeRate: z.ZodOptional<z.ZodNumber>;
|
|
57
|
-
},
|
|
58
|
-
vault: string;
|
|
59
|
-
dailySpendingCapUsd?: string | undefined;
|
|
60
|
-
maxTransactionSizeUsd?: string | undefined;
|
|
61
|
-
allowedTokens?: string[] | undefined;
|
|
62
|
-
allowedProtocols?: string[] | undefined;
|
|
63
|
-
maxLeverageBps?: number | undefined;
|
|
64
|
-
maxConcurrentPositions?: number | undefined;
|
|
65
|
-
developerFeeRate?: number | undefined;
|
|
66
|
-
allowedDestinations?: string[] | undefined;
|
|
67
|
-
timelockDuration?: number | undefined;
|
|
68
|
-
canOpenPositions?: boolean | undefined;
|
|
69
|
-
}, {
|
|
70
|
-
vault: string;
|
|
71
|
-
dailySpendingCapUsd?: string | undefined;
|
|
72
|
-
maxTransactionSizeUsd?: string | undefined;
|
|
73
|
-
allowedTokens?: string[] | undefined;
|
|
74
|
-
allowedProtocols?: string[] | undefined;
|
|
75
|
-
maxLeverageBps?: number | undefined;
|
|
76
|
-
maxConcurrentPositions?: number | undefined;
|
|
77
|
-
developerFeeRate?: number | undefined;
|
|
78
|
-
allowedDestinations?: string[] | undefined;
|
|
79
|
-
timelockDuration?: number | undefined;
|
|
80
|
-
canOpenPositions?: boolean | undefined;
|
|
81
|
-
}>;
|
|
33
|
+
}, z.core.$strip>;
|
|
82
34
|
handler: typeof queuePolicyUpdate;
|
|
83
35
|
};
|
|
84
36
|
//# sourceMappingURL=queue-policy-update.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue-policy-update.d.ts","sourceRoot":"","sources":["../../src/tools/queue-policy-update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,mBAAmB,CAAC;AAI3B,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"queue-policy-update.d.ts","sourceRoot":"","sources":["../../src/tools/queue-policy-update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,mBAAmB,CAAC;AAI3B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;iBA0ClC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE7E,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,sBAAsB,GAC5B,OAAO,CAAC,MAAM,CAAC,CA6DjB;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;CAQjC,CAAC"}
|
|
@@ -3,13 +3,7 @@ import type { AgentShieldClient } from "@agent-shield/sdk";
|
|
|
3
3
|
export declare const reactivateVaultSchema: z.ZodObject<{
|
|
4
4
|
vault: z.ZodString;
|
|
5
5
|
newAgent: z.ZodOptional<z.ZodString>;
|
|
6
|
-
},
|
|
7
|
-
vault: string;
|
|
8
|
-
newAgent?: string | undefined;
|
|
9
|
-
}, {
|
|
10
|
-
vault: string;
|
|
11
|
-
newAgent?: string | undefined;
|
|
12
|
-
}>;
|
|
6
|
+
}, z.core.$strip>;
|
|
13
7
|
export type ReactivateVaultInput = z.infer<typeof reactivateVaultSchema>;
|
|
14
8
|
export declare function reactivateVault(client: AgentShieldClient, input: ReactivateVaultInput): Promise<string>;
|
|
15
9
|
export declare const reactivateVaultTool: {
|
|
@@ -18,13 +12,7 @@ export declare const reactivateVaultTool: {
|
|
|
18
12
|
schema: z.ZodObject<{
|
|
19
13
|
vault: z.ZodString;
|
|
20
14
|
newAgent: z.ZodOptional<z.ZodString>;
|
|
21
|
-
},
|
|
22
|
-
vault: string;
|
|
23
|
-
newAgent?: string | undefined;
|
|
24
|
-
}, {
|
|
25
|
-
vault: string;
|
|
26
|
-
newAgent?: string | undefined;
|
|
27
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
28
16
|
handler: typeof reactivateVault;
|
|
29
17
|
};
|
|
30
18
|
//# sourceMappingURL=reactivate-vault.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactivate-vault.d.ts","sourceRoot":"","sources":["../../src/tools/reactivate-vault.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"reactivate-vault.d.ts","sourceRoot":"","sources":["../../src/tools/reactivate-vault.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,qBAAqB;;;iBAQhC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,wBAAsB,eAAe,CACnC,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,oBAAoB,GAC1B,OAAO,CAAC,MAAM,CAAC,CAoBjB;AAED,eAAO,MAAM,mBAAmB;;;;;;;;CAO/B,CAAC"}
|
|
@@ -3,13 +3,7 @@ import type { AgentShieldClient } from "@agent-shield/sdk";
|
|
|
3
3
|
export declare const registerAgentSchema: z.ZodObject<{
|
|
4
4
|
vault: z.ZodString;
|
|
5
5
|
agent: z.ZodString;
|
|
6
|
-
},
|
|
7
|
-
vault: string;
|
|
8
|
-
agent: string;
|
|
9
|
-
}, {
|
|
10
|
-
vault: string;
|
|
11
|
-
agent: string;
|
|
12
|
-
}>;
|
|
6
|
+
}, z.core.$strip>;
|
|
13
7
|
export type RegisterAgentInput = z.infer<typeof registerAgentSchema>;
|
|
14
8
|
export declare function registerAgent(client: AgentShieldClient, input: RegisterAgentInput): Promise<string>;
|
|
15
9
|
export declare const registerAgentTool: {
|
|
@@ -18,13 +12,7 @@ export declare const registerAgentTool: {
|
|
|
18
12
|
schema: z.ZodObject<{
|
|
19
13
|
vault: z.ZodString;
|
|
20
14
|
agent: z.ZodString;
|
|
21
|
-
},
|
|
22
|
-
vault: string;
|
|
23
|
-
agent: string;
|
|
24
|
-
}, {
|
|
25
|
-
vault: string;
|
|
26
|
-
agent: string;
|
|
27
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
28
16
|
handler: typeof registerAgent;
|
|
29
17
|
};
|
|
30
18
|
//# sourceMappingURL=register-agent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-agent.d.ts","sourceRoot":"","sources":["../../src/tools/register-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"register-agent.d.ts","sourceRoot":"","sources":["../../src/tools/register-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,wBAAsB,aAAa,CACjC,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC,MAAM,CAAC,CAmBjB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;CAO7B,CAAC"}
|
|
@@ -2,11 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import type { AgentShieldClient } from "@agent-shield/sdk";
|
|
3
3
|
export declare const revokeAgentSchema: z.ZodObject<{
|
|
4
4
|
vault: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
vault: string;
|
|
7
|
-
}, {
|
|
8
|
-
vault: string;
|
|
9
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
10
6
|
export type RevokeAgentInput = z.infer<typeof revokeAgentSchema>;
|
|
11
7
|
export declare function revokeAgent(client: AgentShieldClient, input: RevokeAgentInput): Promise<string>;
|
|
12
8
|
export declare const revokeAgentTool: {
|
|
@@ -14,11 +10,7 @@ export declare const revokeAgentTool: {
|
|
|
14
10
|
description: string;
|
|
15
11
|
schema: z.ZodObject<{
|
|
16
12
|
vault: z.ZodString;
|
|
17
|
-
},
|
|
18
|
-
vault: string;
|
|
19
|
-
}, {
|
|
20
|
-
vault: string;
|
|
21
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
22
14
|
handler: typeof revokeAgent;
|
|
23
15
|
};
|
|
24
16
|
//# sourceMappingURL=revoke-agent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revoke-agent.d.ts","sourceRoot":"","sources":["../../src/tools/revoke-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"revoke-agent.d.ts","sourceRoot":"","sources":["../../src/tools/revoke-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,iBAAiB;;iBAE5B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,wBAAsB,WAAW,CAC/B,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,gBAAgB,GACtB,OAAO,CAAC,MAAM,CAAC,CAejB;AAED,eAAO,MAAM,eAAe;;;;;;;CAO3B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const setupStatusSchema: z.ZodObject<{},
|
|
2
|
+
export declare const setupStatusSchema: z.ZodObject<{}, z.core.$strip>;
|
|
3
3
|
export type SetupStatusInput = z.infer<typeof setupStatusSchema>;
|
|
4
4
|
/**
|
|
5
5
|
* Check the current AgentShield setup status.
|
|
@@ -12,7 +12,7 @@ export declare function setupStatus(_client: any, _input: SetupStatusInput): Pro
|
|
|
12
12
|
export declare const setupStatusTool: {
|
|
13
13
|
name: string;
|
|
14
14
|
description: string;
|
|
15
|
-
schema: z.ZodObject<{},
|
|
15
|
+
schema: z.ZodObject<{}, z.core.$strip>;
|
|
16
16
|
handler: typeof setupStatus;
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=setup-status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-status.d.ts","sourceRoot":"","sources":["../../src/tools/setup-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"setup-status.d.ts","sourceRoot":"","sources":["../../src/tools/setup-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,iBAAiB,gCAAe,CAAC;AAE9C,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE;;;;;;GAMG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,GAAG,EACZ,MAAM,EAAE,gBAAgB,GACvB,OAAO,CAAC,MAAM,CAAC,CAiGjB;AAED,eAAO,MAAM,eAAe;;;;;CAQ3B,CAAC"}
|
|
@@ -4,39 +4,15 @@ export declare const updatePolicySchema: z.ZodObject<{
|
|
|
4
4
|
vault: z.ZodString;
|
|
5
5
|
dailySpendingCapUsd: z.ZodOptional<z.ZodString>;
|
|
6
6
|
maxTransactionSizeUsd: z.ZodOptional<z.ZodString>;
|
|
7
|
-
allowedTokens: z.ZodOptional<z.ZodArray<z.ZodString
|
|
8
|
-
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString
|
|
7
|
+
allowedTokens: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
9
|
maxLeverageBps: z.ZodOptional<z.ZodNumber>;
|
|
10
10
|
canOpenPositions: z.ZodOptional<z.ZodBoolean>;
|
|
11
11
|
maxConcurrentPositions: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
developerFeeRate: z.ZodOptional<z.ZodNumber>;
|
|
13
|
-
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString
|
|
13
|
+
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
14
|
timelockDuration: z.ZodOptional<z.ZodNumber>;
|
|
15
|
-
},
|
|
16
|
-
vault: string;
|
|
17
|
-
dailySpendingCapUsd?: string | undefined;
|
|
18
|
-
maxTransactionSizeUsd?: string | undefined;
|
|
19
|
-
allowedTokens?: string[] | undefined;
|
|
20
|
-
allowedProtocols?: string[] | undefined;
|
|
21
|
-
maxLeverageBps?: number | undefined;
|
|
22
|
-
maxConcurrentPositions?: number | undefined;
|
|
23
|
-
developerFeeRate?: number | undefined;
|
|
24
|
-
allowedDestinations?: string[] | undefined;
|
|
25
|
-
timelockDuration?: number | undefined;
|
|
26
|
-
canOpenPositions?: boolean | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
vault: string;
|
|
29
|
-
dailySpendingCapUsd?: string | undefined;
|
|
30
|
-
maxTransactionSizeUsd?: string | undefined;
|
|
31
|
-
allowedTokens?: string[] | undefined;
|
|
32
|
-
allowedProtocols?: string[] | undefined;
|
|
33
|
-
maxLeverageBps?: number | undefined;
|
|
34
|
-
maxConcurrentPositions?: number | undefined;
|
|
35
|
-
developerFeeRate?: number | undefined;
|
|
36
|
-
allowedDestinations?: string[] | undefined;
|
|
37
|
-
timelockDuration?: number | undefined;
|
|
38
|
-
canOpenPositions?: boolean | undefined;
|
|
39
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
40
16
|
export type UpdatePolicyInput = z.infer<typeof updatePolicySchema>;
|
|
41
17
|
export declare function updatePolicy(client: AgentShieldClient, input: UpdatePolicyInput): Promise<string>;
|
|
42
18
|
export declare const updatePolicyTool: {
|
|
@@ -46,39 +22,15 @@ export declare const updatePolicyTool: {
|
|
|
46
22
|
vault: z.ZodString;
|
|
47
23
|
dailySpendingCapUsd: z.ZodOptional<z.ZodString>;
|
|
48
24
|
maxTransactionSizeUsd: z.ZodOptional<z.ZodString>;
|
|
49
|
-
allowedTokens: z.ZodOptional<z.ZodArray<z.ZodString
|
|
50
|
-
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString
|
|
25
|
+
allowedTokens: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
allowedProtocols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
51
27
|
maxLeverageBps: z.ZodOptional<z.ZodNumber>;
|
|
52
28
|
canOpenPositions: z.ZodOptional<z.ZodBoolean>;
|
|
53
29
|
maxConcurrentPositions: z.ZodOptional<z.ZodNumber>;
|
|
54
30
|
developerFeeRate: z.ZodOptional<z.ZodNumber>;
|
|
55
|
-
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString
|
|
31
|
+
allowedDestinations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
56
32
|
timelockDuration: z.ZodOptional<z.ZodNumber>;
|
|
57
|
-
},
|
|
58
|
-
vault: string;
|
|
59
|
-
dailySpendingCapUsd?: string | undefined;
|
|
60
|
-
maxTransactionSizeUsd?: string | undefined;
|
|
61
|
-
allowedTokens?: string[] | undefined;
|
|
62
|
-
allowedProtocols?: string[] | undefined;
|
|
63
|
-
maxLeverageBps?: number | undefined;
|
|
64
|
-
maxConcurrentPositions?: number | undefined;
|
|
65
|
-
developerFeeRate?: number | undefined;
|
|
66
|
-
allowedDestinations?: string[] | undefined;
|
|
67
|
-
timelockDuration?: number | undefined;
|
|
68
|
-
canOpenPositions?: boolean | undefined;
|
|
69
|
-
}, {
|
|
70
|
-
vault: string;
|
|
71
|
-
dailySpendingCapUsd?: string | undefined;
|
|
72
|
-
maxTransactionSizeUsd?: string | undefined;
|
|
73
|
-
allowedTokens?: string[] | undefined;
|
|
74
|
-
allowedProtocols?: string[] | undefined;
|
|
75
|
-
maxLeverageBps?: number | undefined;
|
|
76
|
-
maxConcurrentPositions?: number | undefined;
|
|
77
|
-
developerFeeRate?: number | undefined;
|
|
78
|
-
allowedDestinations?: string[] | undefined;
|
|
79
|
-
timelockDuration?: number | undefined;
|
|
80
|
-
canOpenPositions?: boolean | undefined;
|
|
81
|
-
}>;
|
|
33
|
+
}, z.core.$strip>;
|
|
82
34
|
handler: typeof updatePolicy;
|
|
83
35
|
};
|
|
84
36
|
//# sourceMappingURL=update-policy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-policy.d.ts","sourceRoot":"","sources":["../../src/tools/update-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAK3D,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"update-policy.d.ts","sourceRoot":"","sources":["../../src/tools/update-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAK3D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;iBAmD7B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEnE,wBAAsB,YAAY,CAChC,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,iBAAiB,GACvB,OAAO,CAAC,MAAM,CAAC,CAsDjB;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;CAO5B,CAAC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const upgradeTierSchema: z.ZodObject<{
|
|
3
|
-
targetTier: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
4
|
-
},
|
|
5
|
-
targetTier: 2 | 3;
|
|
6
|
-
}, {
|
|
7
|
-
targetTier: 2 | 3;
|
|
8
|
-
}>;
|
|
3
|
+
targetTier: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
4
|
+
}, z.core.$strip>;
|
|
9
5
|
export type UpgradeTierInput = z.infer<typeof upgradeTierSchema>;
|
|
10
6
|
/**
|
|
11
7
|
* Upgrade from the current tier to a higher one.
|
|
@@ -16,12 +12,8 @@ export declare const upgradeTierTool: {
|
|
|
16
12
|
name: string;
|
|
17
13
|
description: string;
|
|
18
14
|
schema: z.ZodObject<{
|
|
19
|
-
targetTier: z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
20
|
-
},
|
|
21
|
-
targetTier: 2 | 3;
|
|
22
|
-
}, {
|
|
23
|
-
targetTier: 2 | 3;
|
|
24
|
-
}>;
|
|
15
|
+
targetTier: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
16
|
+
}, z.core.$strip>;
|
|
25
17
|
handler: typeof upgradeTier;
|
|
26
18
|
};
|
|
27
19
|
//# sourceMappingURL=upgrade-tier.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgrade-tier.d.ts","sourceRoot":"","sources":["../../src/tools/upgrade-tier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"upgrade-tier.d.ts","sourceRoot":"","sources":["../../src/tools/upgrade-tier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,iBAAiB;;iBAI5B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE;;;GAGG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,GAAG,EACZ,KAAK,EAAE,gBAAgB,GACtB,OAAO,CAAC,MAAM,CAAC,CAkIjB;AAED,eAAO,MAAM,eAAe;;;;;;;CAS3B,CAAC"}
|
package/dist/tools/withdraw.d.ts
CHANGED
|
@@ -4,15 +4,7 @@ export declare const withdrawSchema: z.ZodObject<{
|
|
|
4
4
|
vault: z.ZodString;
|
|
5
5
|
mint: z.ZodString;
|
|
6
6
|
amount: z.ZodString;
|
|
7
|
-
},
|
|
8
|
-
vault: string;
|
|
9
|
-
mint: string;
|
|
10
|
-
amount: string;
|
|
11
|
-
}, {
|
|
12
|
-
vault: string;
|
|
13
|
-
mint: string;
|
|
14
|
-
amount: string;
|
|
15
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
16
8
|
export type WithdrawInput = z.infer<typeof withdrawSchema>;
|
|
17
9
|
export declare function withdraw(client: AgentShieldClient, input: WithdrawInput): Promise<string>;
|
|
18
10
|
export declare const withdrawTool: {
|
|
@@ -22,15 +14,7 @@ export declare const withdrawTool: {
|
|
|
22
14
|
vault: z.ZodString;
|
|
23
15
|
mint: z.ZodString;
|
|
24
16
|
amount: z.ZodString;
|
|
25
|
-
},
|
|
26
|
-
vault: string;
|
|
27
|
-
mint: string;
|
|
28
|
-
amount: string;
|
|
29
|
-
}, {
|
|
30
|
-
vault: string;
|
|
31
|
-
mint: string;
|
|
32
|
-
amount: string;
|
|
33
|
-
}>;
|
|
17
|
+
}, z.core.$strip>;
|
|
34
18
|
handler: typeof withdraw;
|
|
35
19
|
};
|
|
36
20
|
//# sourceMappingURL=withdraw.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw.d.ts","sourceRoot":"","sources":["../../src/tools/withdraw.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"withdraw.d.ts","sourceRoot":"","sources":["../../src/tools/withdraw.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAI3D,eAAO,MAAM,cAAc;;;;iBAIzB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE3D,wBAAsB,QAAQ,CAC5B,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,aAAa,GACnB,OAAO,CAAC,MAAM,CAAC,CAkBjB;AAED,eAAO,MAAM,YAAY;;;;;;;;;CAMxB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-shield/mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"author": "Kaleb Rupe (https://x.com/MightieMags)",
|
|
5
5
|
"homepage": "https://github.com/Kaleb-Rupe/agentshield#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@coral-xyz/anchor": ">=0.32.1",
|
|
36
36
|
"@solana/spl-token": ">=0.4.0",
|
|
37
37
|
"@solana/web3.js": ">=1.95.0",
|
|
38
|
-
"zod": "
|
|
38
|
+
"zod": "^3.25.0 || ^4.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependenciesMeta": {
|
|
41
41
|
"@agent-shield/custody-crossmint": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@types/chai": "^4.3.11",
|
|
52
52
|
"@types/mocha": "^10.0.6",
|
|
53
53
|
"@types/sinon": "^17.0.3",
|
|
54
|
-
"zod": "^3.
|
|
54
|
+
"zod": "^4.3.6",
|
|
55
55
|
"chai": "^4.4.1",
|
|
56
56
|
"mocha": "^10.3.0",
|
|
57
57
|
"sinon": "^17.0.1",
|