@illalabs/interfaces 0.3.0-canary.2110efe9 → 0.3.0-canary.56299752
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const ChatContextSchema: z.ZodObject<
|
|
2
|
+
export declare const ChatContextSchema: z.ZodObject<Pick<{
|
|
3
3
|
toolsConfig: z.ZodObject<{
|
|
4
4
|
autoRouter: z.ZodOptional<z.ZodObject<{
|
|
5
5
|
defi: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -761,7 +761,7 @@ export declare const ChatContextSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
|
761
761
|
}, {
|
|
762
762
|
channel: "text" | "voice";
|
|
763
763
|
}>>>;
|
|
764
|
-
}, "messages"
|
|
764
|
+
}, "messages"> & {
|
|
765
765
|
toolsConfig: z.ZodObject<{
|
|
766
766
|
autoRouter: z.ZodOptional<z.ZodObject<{
|
|
767
767
|
defi: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
@@ -840,7 +840,7 @@ export declare const ChatContextSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
|
840
840
|
swapOrBridge?: "lifi" | undefined;
|
|
841
841
|
} | undefined;
|
|
842
842
|
}>;
|
|
843
|
-
}
|
|
843
|
+
}, "strip", z.ZodTypeAny, {
|
|
844
844
|
toolsConfig: {
|
|
845
845
|
autoRouter?: {
|
|
846
846
|
defi?: {
|
|
@@ -59,7 +59,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
59
59
|
} | undefined;
|
|
60
60
|
}>, "many">;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
type: "BatchTransactions";
|
|
63
62
|
value: {
|
|
64
63
|
transaction: PrepareTransactionRequestReturnType;
|
|
65
64
|
metadata?: {
|
|
@@ -67,8 +66,8 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
67
66
|
usdValue?: string | undefined;
|
|
68
67
|
} | undefined;
|
|
69
68
|
}[];
|
|
70
|
-
}, {
|
|
71
69
|
type: "BatchTransactions";
|
|
70
|
+
}, {
|
|
72
71
|
value: {
|
|
73
72
|
transaction: PrepareTransactionRequestReturnType;
|
|
74
73
|
metadata?: {
|
|
@@ -76,6 +75,7 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
76
75
|
usdValue?: string | undefined;
|
|
77
76
|
} | undefined;
|
|
78
77
|
}[];
|
|
78
|
+
type: "BatchTransactions";
|
|
79
79
|
}>, z.ZodObject<{
|
|
80
80
|
type: z.ZodLiteral<"SingleTransaction">;
|
|
81
81
|
value: z.ZodObject<{
|
|
@@ -104,7 +104,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
104
104
|
} | undefined;
|
|
105
105
|
}>;
|
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
type: "SingleTransaction";
|
|
108
107
|
value: {
|
|
109
108
|
transaction: PrepareTransactionRequestReturnType;
|
|
110
109
|
metadata?: {
|
|
@@ -112,8 +111,8 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
112
111
|
usdValue?: string | undefined;
|
|
113
112
|
} | undefined;
|
|
114
113
|
};
|
|
115
|
-
}, {
|
|
116
114
|
type: "SingleTransaction";
|
|
115
|
+
}, {
|
|
117
116
|
value: {
|
|
118
117
|
transaction: PrepareTransactionRequestReturnType;
|
|
119
118
|
metadata?: {
|
|
@@ -121,13 +120,13 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
121
120
|
usdValue?: string | undefined;
|
|
122
121
|
} | undefined;
|
|
123
122
|
};
|
|
123
|
+
type: "SingleTransaction";
|
|
124
124
|
}>]>;
|
|
125
125
|
}, "strict", z.ZodTypeAny, {
|
|
126
126
|
type: "tool-call";
|
|
127
127
|
toolName: string;
|
|
128
128
|
toolCallId: string;
|
|
129
129
|
input: {
|
|
130
|
-
type: "BatchTransactions";
|
|
131
130
|
value: {
|
|
132
131
|
transaction: PrepareTransactionRequestReturnType;
|
|
133
132
|
metadata?: {
|
|
@@ -135,8 +134,8 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
135
134
|
usdValue?: string | undefined;
|
|
136
135
|
} | undefined;
|
|
137
136
|
}[];
|
|
137
|
+
type: "BatchTransactions";
|
|
138
138
|
} | {
|
|
139
|
-
type: "SingleTransaction";
|
|
140
139
|
value: {
|
|
141
140
|
transaction: PrepareTransactionRequestReturnType;
|
|
142
141
|
metadata?: {
|
|
@@ -144,13 +143,13 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
144
143
|
usdValue?: string | undefined;
|
|
145
144
|
} | undefined;
|
|
146
145
|
};
|
|
146
|
+
type: "SingleTransaction";
|
|
147
147
|
};
|
|
148
148
|
}, {
|
|
149
149
|
type: "tool-call";
|
|
150
150
|
toolName: string;
|
|
151
151
|
toolCallId: string;
|
|
152
152
|
input: {
|
|
153
|
-
type: "BatchTransactions";
|
|
154
153
|
value: {
|
|
155
154
|
transaction: PrepareTransactionRequestReturnType;
|
|
156
155
|
metadata?: {
|
|
@@ -158,8 +157,8 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
158
157
|
usdValue?: string | undefined;
|
|
159
158
|
} | undefined;
|
|
160
159
|
}[];
|
|
160
|
+
type: "BatchTransactions";
|
|
161
161
|
} | {
|
|
162
|
-
type: "SingleTransaction";
|
|
163
162
|
value: {
|
|
164
163
|
transaction: PrepareTransactionRequestReturnType;
|
|
165
164
|
metadata?: {
|
|
@@ -167,6 +166,7 @@ export declare const PendingToolCallSchema: z.ZodObject<{
|
|
|
167
166
|
usdValue?: string | undefined;
|
|
168
167
|
} | undefined;
|
|
169
168
|
};
|
|
169
|
+
type: "SingleTransaction";
|
|
170
170
|
};
|
|
171
171
|
}>;
|
|
172
172
|
export declare const ToolResultArraySchema: z.ZodArray<z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@illalabs/interfaces",
|
|
3
|
-
"version": "0.3.0-canary.
|
|
3
|
+
"version": "0.3.0-canary.56299752",
|
|
4
4
|
"description": "ILLA interfaces and types",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@ai-sdk/provider-utils": "3.0.12",
|
|
24
|
-
"zod": "3.
|
|
24
|
+
"zod": "3.25.76"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"viem": "2.26.2"
|