mtmsdk 0.0.47 → 0.0.49
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/gomtmapi/@tanstack/react-query.gen.d.ts +2 -80
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +2 -176
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi/index.d.ts +2 -2
- package/dist/gomtmapi/index.d.ts.map +1 -1
- package/dist/gomtmapi/index.js +1 -1
- package/dist/gomtmapi/index.js.map +1 -1
- package/dist/gomtmapi/schemas.gen.d.ts +14 -328
- package/dist/gomtmapi/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi/schemas.gen.js +14 -341
- package/dist/gomtmapi/schemas.gen.js.map +1 -1
- package/dist/gomtmapi/sdk.gen.d.ts +2 -80
- package/dist/gomtmapi/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi/sdk.gen.js +1 -135
- package/dist/gomtmapi/sdk.gen.js.map +1 -1
- package/dist/gomtmapi/types.gen.d.ts +10 -437
- package/dist/gomtmapi/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.d.ts +8 -308
- package/dist/gomtmapi/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi/zod.gen.js +4 -232
- package/dist/gomtmapi/zod.gen.js.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +1 -29
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +1 -17
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/index.d.ts +2 -2
- package/dist/mtgate_api/index.d.ts.map +1 -1
- package/dist/mtgate_api/index.js +1 -1
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +1 -5
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +0 -4
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +0 -6
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +0 -5
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +0 -5
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/mtmai_api/index.d.ts +2 -2
- package/dist/mtmai_api/index.d.ts.map +1 -1
- package/dist/mtmai_api/index.js +1 -1
- package/dist/mtmai_api/index.js.map +1 -1
- package/dist/mtmai_api/zod.gen.d.ts +96 -96
- package/dist/openclaw/client-info.d.ts +0 -18
- package/dist/openclaw/client-info.d.ts.map +1 -1
- package/dist/openclaw/client-info.js +0 -6
- package/dist/openclaw/client-info.js.map +1 -1
- package/dist/openclaw/device-auth-utils.d.ts +3 -4
- package/dist/openclaw/device-auth-utils.d.ts.map +1 -1
- package/dist/openclaw/device-auth-utils.js +4 -8
- package/dist/openclaw/device-auth-utils.js.map +1 -1
- package/dist/openclaw/device-auth.d.ts.map +1 -1
- package/dist/openclaw/device-auth.js +5 -2
- package/dist/openclaw/device-auth.js.map +1 -1
- package/dist/openclaw/device-identity.js +2 -2
- package/dist/openclaw/device-identity.js.map +1 -1
- package/dist/openclaw/gateway.d.ts +19 -5
- package/dist/openclaw/gateway.d.ts.map +1 -1
- package/dist/openclaw/gateway.js +75 -37
- package/dist/openclaw/gateway.js.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.d.ts +36 -8
- package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.js +22 -6
- package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -1
- package/dist/sbmng/index.d.ts +2 -2
- package/dist/sbmng/index.d.ts.map +1 -1
- package/dist/sbmng/index.js +1 -1
- package/dist/sbmng/index.js.map +1 -1
- package/dist/sbmng/schemas.gen.d.ts +97 -34
- package/dist/sbmng/schemas.gen.d.ts.map +1 -1
- package/dist/sbmng/schemas.gen.js +120 -49
- package/dist/sbmng/schemas.gen.js.map +1 -1
- package/dist/sbmng/sdk.gen.d.ts +7 -3
- package/dist/sbmng/sdk.gen.d.ts.map +1 -1
- package/dist/sbmng/sdk.gen.js +11 -3
- package/dist/sbmng/sdk.gen.js.map +1 -1
- package/dist/sbmng/types.gen.d.ts +82 -30
- package/dist/sbmng/types.gen.d.ts.map +1 -1
- package/dist/supabase/schema/index.d.ts +0 -8
- package/dist/supabase/schema/index.d.ts.map +1 -1
- package/dist/supabase/schema/index.js +0 -5
- package/dist/supabase/schema/index.js.map +1 -1
- package/dist/supabase/supabase-client.d.ts +900 -719
- package/dist/supabase/supabase-client.d.ts.map +1 -1
- package/dist/supabase/supabase.d.ts +1836 -1474
- package/dist/supabase/supabase.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/use-rpc-query.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/use-rpc-query.js +2 -1
- package/dist/supabase/use-sb-query/use-rpc-query.js.map +1 -1
- package/dist/types/database.schemas.d.ts +999 -920
- package/dist/types/database.schemas.d.ts.map +1 -1
- package/dist/types/database.schemas.js +739 -435
- package/dist/types/database.schemas.js.map +1 -1
- package/dist/types/database.types.d.ts +919 -736
- package/dist/types/database.types.d.ts.map +1 -1
- package/dist/types/database.types.js +18 -2
- package/dist/types/database.types.js.map +1 -1
- package/dist/types/index.d.ts +35 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +4 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +4 -3
- package/src/gomtmapi/@tanstack/react-query.gen.ts +3 -185
- package/src/gomtmapi/index.ts +2 -2
- package/src/gomtmapi/schemas.gen.ts +14 -356
- package/src/gomtmapi/sdk.gen.ts +2 -144
- package/src/gomtmapi/types.gen.ts +10 -492
- package/src/gomtmapi/zod.gen.ts +4 -263
- package/src/mtgate_api/@tanstack/react-query.gen.ts +2 -20
- package/src/mtgate_api/index.ts +2 -2
- package/src/mtgate_api/sdk.gen.ts +1 -6
- package/src/mtgate_api/types.gen.ts +0 -7
- package/src/mtgate_api/zod.gen.ts +0 -6
- package/src/mtmai_api/index.ts +2 -2
- package/src/openclaw/client-info.ts +0 -9
- package/src/openclaw/device-auth-utils.ts +7 -12
- package/src/openclaw/device-auth.ts +5 -2
- package/src/openclaw/device-identity.ts +2 -2
- package/src/openclaw/gateway.ts +96 -50
- package/src/sbmng/@tanstack/react-query.gen.ts +25 -7
- package/src/sbmng/index.ts +2 -2
- package/src/sbmng/schemas.gen.ts +121 -49
- package/src/sbmng/sdk.gen.ts +13 -4
- package/src/sbmng/types.gen.ts +87 -30
- package/src/supabase/schema/index.ts +0 -5
- package/src/supabase/use-sb-query/use-rpc-query.ts +2 -1
- package/src/types/database.schemas.ts +948 -598
- package/src/types/database.types.ts +864 -674
- package/src/types/index.ts +20 -4
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts +0 -3017
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/api_hatchet/@tanstack/react-query.gen.js +0 -2776
- package/dist/api_hatchet/@tanstack/react-query.gen.js.map +0 -1
- package/dist/api_hatchet/client/client.gen.d.ts +0 -3
- package/dist/api_hatchet/client/client.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client/client.gen.js +0 -236
- package/dist/api_hatchet/client/client.gen.js.map +0 -1
- package/dist/api_hatchet/client/index.d.ts +0 -9
- package/dist/api_hatchet/client/index.d.ts.map +0 -1
- package/dist/api_hatchet/client/index.js +0 -7
- package/dist/api_hatchet/client/index.js.map +0 -1
- package/dist/api_hatchet/client/types.gen.d.ts +0 -118
- package/dist/api_hatchet/client/types.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client/types.gen.js +0 -3
- package/dist/api_hatchet/client/types.gen.js.map +0 -1
- package/dist/api_hatchet/client/utils.gen.d.ts +0 -34
- package/dist/api_hatchet/client/utils.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client/utils.gen.js +0 -232
- package/dist/api_hatchet/client/utils.gen.js.map +0 -1
- package/dist/api_hatchet/client.gen.d.ts +0 -13
- package/dist/api_hatchet/client.gen.d.ts.map +0 -1
- package/dist/api_hatchet/client.gen.js +0 -4
- package/dist/api_hatchet/client.gen.js.map +0 -1
- package/dist/api_hatchet/core/auth.gen.d.ts +0 -19
- package/dist/api_hatchet/core/auth.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/auth.gen.js +0 -15
- package/dist/api_hatchet/core/auth.gen.js.map +0 -1
- package/dist/api_hatchet/core/bodySerializer.gen.d.ts +0 -26
- package/dist/api_hatchet/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/bodySerializer.gen.js +0 -58
- package/dist/api_hatchet/core/bodySerializer.gen.js.map +0 -1
- package/dist/api_hatchet/core/params.gen.d.ts +0 -44
- package/dist/api_hatchet/core/params.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/params.gen.js +0 -101
- package/dist/api_hatchet/core/params.gen.js.map +0 -1
- package/dist/api_hatchet/core/pathSerializer.gen.d.ts +0 -34
- package/dist/api_hatchet/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/pathSerializer.gen.js +0 -115
- package/dist/api_hatchet/core/pathSerializer.gen.js.map +0 -1
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts +0 -19
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/queryKeySerializer.gen.js +0 -100
- package/dist/api_hatchet/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/api_hatchet/core/serverSentEvents.gen.d.ts +0 -72
- package/dist/api_hatchet/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/serverSentEvents.gen.js +0 -138
- package/dist/api_hatchet/core/serverSentEvents.gen.js.map +0 -1
- package/dist/api_hatchet/core/types.gen.d.ts +0 -79
- package/dist/api_hatchet/core/types.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/types.gen.js +0 -3
- package/dist/api_hatchet/core/types.gen.js.map +0 -1
- package/dist/api_hatchet/core/utils.gen.d.ts +0 -20
- package/dist/api_hatchet/core/utils.gen.d.ts.map +0 -1
- package/dist/api_hatchet/core/utils.gen.js +0 -88
- package/dist/api_hatchet/core/utils.gen.js.map +0 -1
- package/dist/api_hatchet/index.d.ts +0 -3
- package/dist/api_hatchet/index.d.ts.map +0 -1
- package/dist/api_hatchet/index.js +0 -4
- package/dist/api_hatchet/index.js.map +0 -1
- package/dist/api_hatchet/schemas.gen.d.ts +0 -4068
- package/dist/api_hatchet/schemas.gen.d.ts.map +0 -1
- package/dist/api_hatchet/schemas.gen.js +0 -4743
- package/dist/api_hatchet/schemas.gen.js.map +0 -1
- package/dist/api_hatchet/sdk.gen.d.ts +0 -784
- package/dist/api_hatchet/sdk.gen.d.ts.map +0 -1
- package/dist/api_hatchet/sdk.gen.js +0 -1849
- package/dist/api_hatchet/sdk.gen.js.map +0 -1
- package/dist/api_hatchet/types.gen.d.ts +0 -6861
- package/dist/api_hatchet/types.gen.d.ts.map +0 -1
- package/dist/api_hatchet/types.gen.js +0 -209
- package/dist/api_hatchet/types.gen.js.map +0 -1
- package/dist/api_hatchet/zod.gen.d.ts +0 -10429
- package/dist/api_hatchet/zod.gen.d.ts.map +0 -1
- package/dist/api_hatchet/zod.gen.js +0 -2766
- package/dist/api_hatchet/zod.gen.js.map +0 -1
- package/dist/openclaw/uuid.d.ts +0 -6
- package/dist/openclaw/uuid.d.ts.map +0 -1
- package/dist/openclaw/uuid.js +0 -39
- package/dist/openclaw/uuid.js.map +0 -1
- package/dist/types/rpc.schemas.d.ts +0 -52
- package/dist/types/rpc.schemas.d.ts.map +0 -1
- package/dist/types/rpc.schemas.js +0 -108
- package/dist/types/rpc.schemas.js.map +0 -1
- package/src/api_hatchet/@tanstack/react-query.gen.ts +0 -3025
- package/src/api_hatchet/client/client.gen.ts +0 -311
- package/src/api_hatchet/client/index.ts +0 -25
- package/src/api_hatchet/client/types.gen.ts +0 -241
- package/src/api_hatchet/client/utils.gen.ts +0 -332
- package/src/api_hatchet/client.gen.ts +0 -16
- package/src/api_hatchet/core/auth.gen.ts +0 -42
- package/src/api_hatchet/core/bodySerializer.gen.ts +0 -100
- package/src/api_hatchet/core/params.gen.ts +0 -176
- package/src/api_hatchet/core/pathSerializer.gen.ts +0 -181
- package/src/api_hatchet/core/queryKeySerializer.gen.ts +0 -136
- package/src/api_hatchet/core/serverSentEvents.gen.ts +0 -266
- package/src/api_hatchet/core/types.gen.ts +0 -118
- package/src/api_hatchet/core/utils.gen.ts +0 -143
- package/src/api_hatchet/index.ts +0 -4
- package/src/api_hatchet/schemas.gen.ts +0 -4961
- package/src/api_hatchet/sdk.gen.ts +0 -1994
- package/src/api_hatchet/types.gen.ts +0 -7688
- package/src/api_hatchet/zod.gen.ts +0 -3230
- package/src/openclaw/uuid.ts +0 -48
- package/src/types/rpc.schemas.ts +0 -142
|
@@ -27,26 +27,6 @@ export type AddContactResponse = {
|
|
|
27
27
|
user_id?: number;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
/**
|
|
31
|
-
* AgentRunReq schema
|
|
32
|
-
*/
|
|
33
|
-
export type AgentRunReq = {
|
|
34
|
-
payload?: {
|
|
35
|
-
[key: string]: unknown;
|
|
36
|
-
};
|
|
37
|
-
target_worker_id?: string;
|
|
38
|
-
type: string;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* AgentRunResp schema
|
|
43
|
-
*/
|
|
44
|
-
export type AgentRunResp = {
|
|
45
|
-
data?: unknown;
|
|
46
|
-
error?: string;
|
|
47
|
-
status?: string;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
30
|
/**
|
|
51
31
|
* AuthResponse schema
|
|
52
32
|
*/
|
|
@@ -98,20 +78,6 @@ export type BrowserOpenResp = {
|
|
|
98
78
|
task_id?: string;
|
|
99
79
|
};
|
|
100
80
|
|
|
101
|
-
/**
|
|
102
|
-
* ChatCompletionRequest schema
|
|
103
|
-
*/
|
|
104
|
-
export type ChatCompletionRequest = {
|
|
105
|
-
max_tokens?: number;
|
|
106
|
-
messages?: Array<{
|
|
107
|
-
content?: string;
|
|
108
|
-
role?: string;
|
|
109
|
-
}>;
|
|
110
|
-
model?: string;
|
|
111
|
-
stream?: boolean;
|
|
112
|
-
temperature?: number;
|
|
113
|
-
};
|
|
114
|
-
|
|
115
81
|
/**
|
|
116
82
|
* CheckUpdateResponse schema
|
|
117
83
|
*/
|
|
@@ -130,52 +96,17 @@ export type CodeRunResult = {
|
|
|
130
96
|
*/
|
|
131
97
|
duration?: number;
|
|
132
98
|
/**
|
|
133
|
-
*
|
|
134
|
-
*/
|
|
135
|
-
error?: string;
|
|
136
|
-
/**
|
|
137
|
-
* 标准输出日志(stdout)
|
|
99
|
+
* 进程退出码
|
|
138
100
|
*/
|
|
139
|
-
|
|
101
|
+
exitCode?: number;
|
|
140
102
|
/**
|
|
141
|
-
*
|
|
103
|
+
* 标准错误输出
|
|
142
104
|
*/
|
|
143
|
-
|
|
105
|
+
stderr?: string;
|
|
144
106
|
/**
|
|
145
|
-
*
|
|
107
|
+
* 标准输出
|
|
146
108
|
*/
|
|
147
|
-
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* EditFileRequest schema
|
|
152
|
-
*/
|
|
153
|
-
export type EditFileRequest = {
|
|
154
|
-
/**
|
|
155
|
-
* Absolute path to the file
|
|
156
|
-
*/
|
|
157
|
-
file_path: string;
|
|
158
|
-
/**
|
|
159
|
-
* The new string to replace with.
|
|
160
|
-
*/
|
|
161
|
-
new_string?: string;
|
|
162
|
-
/**
|
|
163
|
-
* The exact string to replace. If empty, creates a new file.
|
|
164
|
-
*/
|
|
165
|
-
old_string?: string;
|
|
166
|
-
/**
|
|
167
|
-
* If true, replace all occurrences. If false, fails if multiple matches found.
|
|
168
|
-
*/
|
|
169
|
-
replace_all?: boolean;
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* EditFileResponse schema
|
|
174
|
-
*/
|
|
175
|
-
export type EditFileResponse = {
|
|
176
|
-
diff?: string;
|
|
177
|
-
message?: string;
|
|
178
|
-
success?: boolean;
|
|
109
|
+
stdout?: string;
|
|
179
110
|
};
|
|
180
111
|
|
|
181
112
|
/**
|
|
@@ -217,57 +148,6 @@ export type HttpError = {
|
|
|
217
148
|
type?: string;
|
|
218
149
|
};
|
|
219
150
|
|
|
220
|
-
/**
|
|
221
|
-
* HumanActionReq schema
|
|
222
|
-
*/
|
|
223
|
-
export type HumanActionReq = {
|
|
224
|
-
/**
|
|
225
|
-
* The type of action required (e.g., 'add_resource', 'check_resource')
|
|
226
|
-
*/
|
|
227
|
-
action_type: string;
|
|
228
|
-
/**
|
|
229
|
-
* Explanation to the user why this action is needed
|
|
230
|
-
*/
|
|
231
|
-
message: string;
|
|
232
|
-
/**
|
|
233
|
-
* The specific ID of the resource that failed or needs attention
|
|
234
|
-
*/
|
|
235
|
-
resource_id?: string;
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* HumanActionResp schema
|
|
240
|
-
*/
|
|
241
|
-
export type HumanActionResp = {
|
|
242
|
-
client_action?: {
|
|
243
|
-
[key: string]: string;
|
|
244
|
-
};
|
|
245
|
-
message?: string;
|
|
246
|
-
status?: string;
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* ListDirRequest schema
|
|
251
|
-
*/
|
|
252
|
-
export type ListDirRequest = {
|
|
253
|
-
/**
|
|
254
|
-
* Directory path to list
|
|
255
|
-
*/
|
|
256
|
-
path: string;
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* ListDirResponse schema
|
|
261
|
-
*/
|
|
262
|
-
export type ListDirResponse = {
|
|
263
|
-
entries?: Array<{
|
|
264
|
-
is_dir?: boolean;
|
|
265
|
-
name?: string;
|
|
266
|
-
size?: number;
|
|
267
|
-
}>;
|
|
268
|
-
error?: string;
|
|
269
|
-
};
|
|
270
|
-
|
|
271
151
|
/**
|
|
272
152
|
* NapcatStatus schema
|
|
273
153
|
*/
|
|
@@ -305,34 +185,12 @@ export type PerformUpgradeResponse = {
|
|
|
305
185
|
status?: string;
|
|
306
186
|
};
|
|
307
187
|
|
|
308
|
-
/**
|
|
309
|
-
* ReadFilesRequest schema
|
|
310
|
-
*/
|
|
311
|
-
export type ReadFilesRequest = {
|
|
312
|
-
/**
|
|
313
|
-
* List of file paths or glob patterns
|
|
314
|
-
*/
|
|
315
|
-
paths: Array<string>;
|
|
316
|
-
};
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* ReadFilesResponse schema
|
|
320
|
-
*/
|
|
321
|
-
export type ReadFilesResponse = {
|
|
322
|
-
results?: Array<{
|
|
323
|
-
content?: string;
|
|
324
|
-
error?: string;
|
|
325
|
-
file_path?: string;
|
|
326
|
-
}>;
|
|
327
|
-
summary?: string;
|
|
328
|
-
};
|
|
329
|
-
|
|
330
188
|
/**
|
|
331
189
|
* RunCodeReq schema
|
|
332
190
|
*/
|
|
333
191
|
export type RunCodeReq = {
|
|
334
192
|
/**
|
|
335
|
-
* 代码类型: python | browserjs
|
|
193
|
+
* 代码类型: python | bash | sh | nodejs | browserjs
|
|
336
194
|
*/
|
|
337
195
|
codeType: string;
|
|
338
196
|
/**
|
|
@@ -340,10 +198,10 @@ export type RunCodeReq = {
|
|
|
340
198
|
*/
|
|
341
199
|
content: string;
|
|
342
200
|
/**
|
|
343
|
-
*
|
|
201
|
+
* 环境变量
|
|
344
202
|
*/
|
|
345
|
-
|
|
346
|
-
[key: string]:
|
|
203
|
+
env?: {
|
|
204
|
+
[key: string]: string;
|
|
347
205
|
};
|
|
348
206
|
/**
|
|
349
207
|
* 运行超时时间(秒), 如果不填默认为60秒
|
|
@@ -351,32 +209,6 @@ export type RunCodeReq = {
|
|
|
351
209
|
timeout?: number;
|
|
352
210
|
};
|
|
353
211
|
|
|
354
|
-
/**
|
|
355
|
-
* SearchFilesRequest schema
|
|
356
|
-
*/
|
|
357
|
-
export type SearchFilesRequest = {
|
|
358
|
-
/**
|
|
359
|
-
* File pattern to include e.g. *.go
|
|
360
|
-
*/
|
|
361
|
-
glob?: string;
|
|
362
|
-
/**
|
|
363
|
-
* Directory to search in
|
|
364
|
-
*/
|
|
365
|
-
path?: string;
|
|
366
|
-
/**
|
|
367
|
-
* Regex pattern to search
|
|
368
|
-
*/
|
|
369
|
-
pattern: string;
|
|
370
|
-
};
|
|
371
|
-
|
|
372
|
-
/**
|
|
373
|
-
* SearchFilesResponse schema
|
|
374
|
-
*/
|
|
375
|
-
export type SearchFilesResponse = {
|
|
376
|
-
error?: string;
|
|
377
|
-
matches?: Array<string>;
|
|
378
|
-
};
|
|
379
|
-
|
|
380
212
|
/**
|
|
381
213
|
* SendCodeRequest schema
|
|
382
214
|
*/
|
|
@@ -448,32 +280,6 @@ export type StatusResponse = {
|
|
|
448
280
|
version?: string;
|
|
449
281
|
};
|
|
450
282
|
|
|
451
|
-
/**
|
|
452
|
-
* TaskExecuteRequest schema
|
|
453
|
-
*/
|
|
454
|
-
export type TaskExecuteRequest = {
|
|
455
|
-
code?: string;
|
|
456
|
-
code_type?: string;
|
|
457
|
-
meta?: {
|
|
458
|
-
[key: string]: unknown;
|
|
459
|
-
};
|
|
460
|
-
task_id?: string;
|
|
461
|
-
timeout_seconds?: number;
|
|
462
|
-
};
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
* TaskExecuteResponse schema
|
|
466
|
-
*/
|
|
467
|
-
export type TaskExecuteResponse = {
|
|
468
|
-
error?: string;
|
|
469
|
-
output?: string;
|
|
470
|
-
result?: {
|
|
471
|
-
[key: string]: unknown;
|
|
472
|
-
};
|
|
473
|
-
success?: boolean;
|
|
474
|
-
task_id?: string;
|
|
475
|
-
};
|
|
476
|
-
|
|
477
283
|
/**
|
|
478
284
|
* UserInfoRequest schema
|
|
479
285
|
*/
|
|
@@ -493,42 +299,6 @@ export type String = string;
|
|
|
493
299
|
*/
|
|
494
300
|
export type UnknownInterface = unknown;
|
|
495
301
|
|
|
496
|
-
export type AgentRunData = {
|
|
497
|
-
/**
|
|
498
|
-
* Request body for agent.AgentRunReq
|
|
499
|
-
*/
|
|
500
|
-
body: AgentRunReq;
|
|
501
|
-
headers?: {
|
|
502
|
-
Accept?: string;
|
|
503
|
-
};
|
|
504
|
-
path?: never;
|
|
505
|
-
query?: never;
|
|
506
|
-
url: '/api/agent/run';
|
|
507
|
-
};
|
|
508
|
-
|
|
509
|
-
export type AgentRunErrors = {
|
|
510
|
-
/**
|
|
511
|
-
* Bad Request _(validation or deserialization error)_
|
|
512
|
-
*/
|
|
513
|
-
400: HttpError;
|
|
514
|
-
/**
|
|
515
|
-
* Internal Server Error _(panics)_
|
|
516
|
-
*/
|
|
517
|
-
500: HttpError;
|
|
518
|
-
default: unknown;
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
export type AgentRunError = AgentRunErrors[keyof AgentRunErrors];
|
|
522
|
-
|
|
523
|
-
export type AgentRunResponses = {
|
|
524
|
-
/**
|
|
525
|
-
* OK
|
|
526
|
-
*/
|
|
527
|
-
200: AgentRunResp;
|
|
528
|
-
};
|
|
529
|
-
|
|
530
|
-
export type AgentRunResponse = AgentRunResponses[keyof AgentRunResponses];
|
|
531
|
-
|
|
532
302
|
export type BrowserActionData = {
|
|
533
303
|
/**
|
|
534
304
|
* Request body for browser.BrowserActionReq
|
|
@@ -601,150 +371,6 @@ export type BrowserOpenResponses = {
|
|
|
601
371
|
|
|
602
372
|
export type BrowserOpenResponse = BrowserOpenResponses[keyof BrowserOpenResponses];
|
|
603
373
|
|
|
604
|
-
export type CoddingToolEditFileData = {
|
|
605
|
-
/**
|
|
606
|
-
* Request body for coddingtool.EditFileRequest
|
|
607
|
-
*/
|
|
608
|
-
body: EditFileRequest;
|
|
609
|
-
headers?: {
|
|
610
|
-
Accept?: string;
|
|
611
|
-
};
|
|
612
|
-
path?: never;
|
|
613
|
-
query?: never;
|
|
614
|
-
url: '/api/codding_tool/edit_file';
|
|
615
|
-
};
|
|
616
|
-
|
|
617
|
-
export type CoddingToolEditFileErrors = {
|
|
618
|
-
/**
|
|
619
|
-
* Bad Request _(validation or deserialization error)_
|
|
620
|
-
*/
|
|
621
|
-
400: HttpError;
|
|
622
|
-
/**
|
|
623
|
-
* Internal Server Error _(panics)_
|
|
624
|
-
*/
|
|
625
|
-
500: HttpError;
|
|
626
|
-
default: unknown;
|
|
627
|
-
};
|
|
628
|
-
|
|
629
|
-
export type CoddingToolEditFileError = CoddingToolEditFileErrors[keyof CoddingToolEditFileErrors];
|
|
630
|
-
|
|
631
|
-
export type CoddingToolEditFileResponses = {
|
|
632
|
-
/**
|
|
633
|
-
* OK
|
|
634
|
-
*/
|
|
635
|
-
200: EditFileResponse;
|
|
636
|
-
};
|
|
637
|
-
|
|
638
|
-
export type CoddingToolEditFileResponse = CoddingToolEditFileResponses[keyof CoddingToolEditFileResponses];
|
|
639
|
-
|
|
640
|
-
export type CoddingToolListDirData = {
|
|
641
|
-
/**
|
|
642
|
-
* Request body for coddingtool.ListDirRequest
|
|
643
|
-
*/
|
|
644
|
-
body: ListDirRequest;
|
|
645
|
-
headers?: {
|
|
646
|
-
Accept?: string;
|
|
647
|
-
};
|
|
648
|
-
path?: never;
|
|
649
|
-
query?: never;
|
|
650
|
-
url: '/api/codding_tool/list_dir';
|
|
651
|
-
};
|
|
652
|
-
|
|
653
|
-
export type CoddingToolListDirErrors = {
|
|
654
|
-
/**
|
|
655
|
-
* Bad Request _(validation or deserialization error)_
|
|
656
|
-
*/
|
|
657
|
-
400: HttpError;
|
|
658
|
-
/**
|
|
659
|
-
* Internal Server Error _(panics)_
|
|
660
|
-
*/
|
|
661
|
-
500: HttpError;
|
|
662
|
-
default: unknown;
|
|
663
|
-
};
|
|
664
|
-
|
|
665
|
-
export type CoddingToolListDirError = CoddingToolListDirErrors[keyof CoddingToolListDirErrors];
|
|
666
|
-
|
|
667
|
-
export type CoddingToolListDirResponses = {
|
|
668
|
-
/**
|
|
669
|
-
* OK
|
|
670
|
-
*/
|
|
671
|
-
200: ListDirResponse;
|
|
672
|
-
};
|
|
673
|
-
|
|
674
|
-
export type CoddingToolListDirResponse = CoddingToolListDirResponses[keyof CoddingToolListDirResponses];
|
|
675
|
-
|
|
676
|
-
export type CoddingToolReadFilesData = {
|
|
677
|
-
/**
|
|
678
|
-
* Request body for coddingtool.ReadFilesRequest
|
|
679
|
-
*/
|
|
680
|
-
body: ReadFilesRequest;
|
|
681
|
-
headers?: {
|
|
682
|
-
Accept?: string;
|
|
683
|
-
};
|
|
684
|
-
path?: never;
|
|
685
|
-
query?: never;
|
|
686
|
-
url: '/api/codding_tool/read_files';
|
|
687
|
-
};
|
|
688
|
-
|
|
689
|
-
export type CoddingToolReadFilesErrors = {
|
|
690
|
-
/**
|
|
691
|
-
* Bad Request _(validation or deserialization error)_
|
|
692
|
-
*/
|
|
693
|
-
400: HttpError;
|
|
694
|
-
/**
|
|
695
|
-
* Internal Server Error _(panics)_
|
|
696
|
-
*/
|
|
697
|
-
500: HttpError;
|
|
698
|
-
default: unknown;
|
|
699
|
-
};
|
|
700
|
-
|
|
701
|
-
export type CoddingToolReadFilesError = CoddingToolReadFilesErrors[keyof CoddingToolReadFilesErrors];
|
|
702
|
-
|
|
703
|
-
export type CoddingToolReadFilesResponses = {
|
|
704
|
-
/**
|
|
705
|
-
* OK
|
|
706
|
-
*/
|
|
707
|
-
200: ReadFilesResponse;
|
|
708
|
-
};
|
|
709
|
-
|
|
710
|
-
export type CoddingToolReadFilesResponse = CoddingToolReadFilesResponses[keyof CoddingToolReadFilesResponses];
|
|
711
|
-
|
|
712
|
-
export type CoddingToolSearchFilesData = {
|
|
713
|
-
/**
|
|
714
|
-
* Request body for coddingtool.SearchFilesRequest
|
|
715
|
-
*/
|
|
716
|
-
body: SearchFilesRequest;
|
|
717
|
-
headers?: {
|
|
718
|
-
Accept?: string;
|
|
719
|
-
};
|
|
720
|
-
path?: never;
|
|
721
|
-
query?: never;
|
|
722
|
-
url: '/api/codding_tool/search_files';
|
|
723
|
-
};
|
|
724
|
-
|
|
725
|
-
export type CoddingToolSearchFilesErrors = {
|
|
726
|
-
/**
|
|
727
|
-
* Bad Request _(validation or deserialization error)_
|
|
728
|
-
*/
|
|
729
|
-
400: HttpError;
|
|
730
|
-
/**
|
|
731
|
-
* Internal Server Error _(panics)_
|
|
732
|
-
*/
|
|
733
|
-
500: HttpError;
|
|
734
|
-
default: unknown;
|
|
735
|
-
};
|
|
736
|
-
|
|
737
|
-
export type CoddingToolSearchFilesError = CoddingToolSearchFilesErrors[keyof CoddingToolSearchFilesErrors];
|
|
738
|
-
|
|
739
|
-
export type CoddingToolSearchFilesResponses = {
|
|
740
|
-
/**
|
|
741
|
-
* OK
|
|
742
|
-
*/
|
|
743
|
-
200: SearchFilesResponse;
|
|
744
|
-
};
|
|
745
|
-
|
|
746
|
-
export type CoddingToolSearchFilesResponse = CoddingToolSearchFilesResponses[keyof CoddingToolSearchFilesResponses];
|
|
747
|
-
|
|
748
374
|
export type CodeRunData = {
|
|
749
375
|
/**
|
|
750
376
|
* Request body for code.RunCodeReq
|
|
@@ -816,42 +442,6 @@ export type PostApiDbQueryQueryResponses = {
|
|
|
816
442
|
|
|
817
443
|
export type PostApiDbQueryQueryResponse = PostApiDbQueryQueryResponses[keyof PostApiDbQueryQueryResponses];
|
|
818
444
|
|
|
819
|
-
export type HumanRequestActionData = {
|
|
820
|
-
/**
|
|
821
|
-
* Request body for human.HumanActionReq
|
|
822
|
-
*/
|
|
823
|
-
body: HumanActionReq;
|
|
824
|
-
headers?: {
|
|
825
|
-
Accept?: string;
|
|
826
|
-
};
|
|
827
|
-
path?: never;
|
|
828
|
-
query?: never;
|
|
829
|
-
url: '/api/human/action';
|
|
830
|
-
};
|
|
831
|
-
|
|
832
|
-
export type HumanRequestActionErrors = {
|
|
833
|
-
/**
|
|
834
|
-
* Bad Request _(validation or deserialization error)_
|
|
835
|
-
*/
|
|
836
|
-
400: HttpError;
|
|
837
|
-
/**
|
|
838
|
-
* Internal Server Error _(panics)_
|
|
839
|
-
*/
|
|
840
|
-
500: HttpError;
|
|
841
|
-
default: unknown;
|
|
842
|
-
};
|
|
843
|
-
|
|
844
|
-
export type HumanRequestActionError = HumanRequestActionErrors[keyof HumanRequestActionErrors];
|
|
845
|
-
|
|
846
|
-
export type HumanRequestActionResponses = {
|
|
847
|
-
/**
|
|
848
|
-
* OK
|
|
849
|
-
*/
|
|
850
|
-
200: HumanActionResp;
|
|
851
|
-
};
|
|
852
|
-
|
|
853
|
-
export type HumanRequestActionResponse = HumanRequestActionResponses[keyof HumanRequestActionResponses];
|
|
854
|
-
|
|
855
445
|
export type NapcatStartData = {
|
|
856
446
|
/**
|
|
857
447
|
* Request body for napcat.StartNapcatRequest
|
|
@@ -1089,78 +679,6 @@ export type GetApiSystemStatusResponses = {
|
|
|
1089
679
|
|
|
1090
680
|
export type GetApiSystemStatusResponse = GetApiSystemStatusResponses[keyof GetApiSystemStatusResponses];
|
|
1091
681
|
|
|
1092
|
-
export type PostApiV1GeminiChatCompletionsData = {
|
|
1093
|
-
/**
|
|
1094
|
-
* Request body for gemini.ChatCompletionRequest
|
|
1095
|
-
*/
|
|
1096
|
-
body: ChatCompletionRequest;
|
|
1097
|
-
headers?: {
|
|
1098
|
-
Accept?: string;
|
|
1099
|
-
};
|
|
1100
|
-
path?: never;
|
|
1101
|
-
query?: never;
|
|
1102
|
-
url: '/api/v1/gemini/chat/completions';
|
|
1103
|
-
};
|
|
1104
|
-
|
|
1105
|
-
export type PostApiV1GeminiChatCompletionsErrors = {
|
|
1106
|
-
/**
|
|
1107
|
-
* Bad Request _(validation or deserialization error)_
|
|
1108
|
-
*/
|
|
1109
|
-
400: HttpError;
|
|
1110
|
-
/**
|
|
1111
|
-
* Internal Server Error _(panics)_
|
|
1112
|
-
*/
|
|
1113
|
-
500: HttpError;
|
|
1114
|
-
default: unknown;
|
|
1115
|
-
};
|
|
1116
|
-
|
|
1117
|
-
export type PostApiV1GeminiChatCompletionsError = PostApiV1GeminiChatCompletionsErrors[keyof PostApiV1GeminiChatCompletionsErrors];
|
|
1118
|
-
|
|
1119
|
-
export type PostApiV1GeminiChatCompletionsResponses = {
|
|
1120
|
-
/**
|
|
1121
|
-
* OK
|
|
1122
|
-
*/
|
|
1123
|
-
200: UnknownInterface;
|
|
1124
|
-
};
|
|
1125
|
-
|
|
1126
|
-
export type PostApiV1GeminiChatCompletionsResponse = PostApiV1GeminiChatCompletionsResponses[keyof PostApiV1GeminiChatCompletionsResponses];
|
|
1127
|
-
|
|
1128
|
-
export type PostApiV1TaskExecuteData = {
|
|
1129
|
-
/**
|
|
1130
|
-
* Request body for task_executor.TaskExecuteRequest
|
|
1131
|
-
*/
|
|
1132
|
-
body: TaskExecuteRequest;
|
|
1133
|
-
headers?: {
|
|
1134
|
-
Accept?: string;
|
|
1135
|
-
};
|
|
1136
|
-
path?: never;
|
|
1137
|
-
query?: never;
|
|
1138
|
-
url: '/api/v1/task/execute';
|
|
1139
|
-
};
|
|
1140
|
-
|
|
1141
|
-
export type PostApiV1TaskExecuteErrors = {
|
|
1142
|
-
/**
|
|
1143
|
-
* Bad Request _(validation or deserialization error)_
|
|
1144
|
-
*/
|
|
1145
|
-
400: HttpError;
|
|
1146
|
-
/**
|
|
1147
|
-
* Internal Server Error _(panics)_
|
|
1148
|
-
*/
|
|
1149
|
-
500: HttpError;
|
|
1150
|
-
default: unknown;
|
|
1151
|
-
};
|
|
1152
|
-
|
|
1153
|
-
export type PostApiV1TaskExecuteError = PostApiV1TaskExecuteErrors[keyof PostApiV1TaskExecuteErrors];
|
|
1154
|
-
|
|
1155
|
-
export type PostApiV1TaskExecuteResponses = {
|
|
1156
|
-
/**
|
|
1157
|
-
* OK
|
|
1158
|
-
*/
|
|
1159
|
-
200: TaskExecuteResponse;
|
|
1160
|
-
};
|
|
1161
|
-
|
|
1162
|
-
export type PostApiV1TaskExecuteResponse = PostApiV1TaskExecuteResponses[keyof PostApiV1TaskExecuteResponses];
|
|
1163
|
-
|
|
1164
682
|
export type PostApiV1TelegramAuthPasswordData = {
|
|
1165
683
|
/**
|
|
1166
684
|
* Request body for telegram.PasswordRequest
|