@mycadet/plugin-api 0.12.11 → 0.13.0-dev.202610181425.b8556ca
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/index.d.ts +6 -588
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -4,424 +4,6 @@ import { SQLiteColumn } from 'drizzle-orm/sqlite-core';
|
|
|
4
4
|
import { SQLiteTableWithColumns } from 'drizzle-orm/sqlite-core';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
|
7
|
-
declare const a2aInvites: SQLiteTableWithColumns< {
|
|
8
|
-
name: "a2a_invites";
|
|
9
|
-
schema: undefined;
|
|
10
|
-
columns: {
|
|
11
|
-
id: SQLiteColumn< {
|
|
12
|
-
name: "id";
|
|
13
|
-
tableName: "a2a_invites";
|
|
14
|
-
dataType: "string";
|
|
15
|
-
columnType: "SQLiteText";
|
|
16
|
-
data: string;
|
|
17
|
-
driverParam: string;
|
|
18
|
-
notNull: true;
|
|
19
|
-
hasDefault: false;
|
|
20
|
-
isPrimaryKey: true;
|
|
21
|
-
isAutoincrement: false;
|
|
22
|
-
hasRuntimeDefault: false;
|
|
23
|
-
enumValues: [string, ...string[]];
|
|
24
|
-
baseColumn: never;
|
|
25
|
-
identity: undefined;
|
|
26
|
-
generated: undefined;
|
|
27
|
-
}, {}, {
|
|
28
|
-
length: number | undefined;
|
|
29
|
-
}>;
|
|
30
|
-
tokenHash: SQLiteColumn< {
|
|
31
|
-
name: "token_hash";
|
|
32
|
-
tableName: "a2a_invites";
|
|
33
|
-
dataType: "string";
|
|
34
|
-
columnType: "SQLiteText";
|
|
35
|
-
data: string;
|
|
36
|
-
driverParam: string;
|
|
37
|
-
notNull: true;
|
|
38
|
-
hasDefault: false;
|
|
39
|
-
isPrimaryKey: false;
|
|
40
|
-
isAutoincrement: false;
|
|
41
|
-
hasRuntimeDefault: false;
|
|
42
|
-
enumValues: [string, ...string[]];
|
|
43
|
-
baseColumn: never;
|
|
44
|
-
identity: undefined;
|
|
45
|
-
generated: undefined;
|
|
46
|
-
}, {}, {
|
|
47
|
-
length: number | undefined;
|
|
48
|
-
}>;
|
|
49
|
-
contactId: SQLiteColumn< {
|
|
50
|
-
name: "contact_id";
|
|
51
|
-
tableName: "a2a_invites";
|
|
52
|
-
dataType: "string";
|
|
53
|
-
columnType: "SQLiteText";
|
|
54
|
-
data: string;
|
|
55
|
-
driverParam: string;
|
|
56
|
-
notNull: true;
|
|
57
|
-
hasDefault: false;
|
|
58
|
-
isPrimaryKey: false;
|
|
59
|
-
isAutoincrement: false;
|
|
60
|
-
hasRuntimeDefault: false;
|
|
61
|
-
enumValues: [string, ...string[]];
|
|
62
|
-
baseColumn: never;
|
|
63
|
-
identity: undefined;
|
|
64
|
-
generated: undefined;
|
|
65
|
-
}, {}, {
|
|
66
|
-
length: number | undefined;
|
|
67
|
-
}>;
|
|
68
|
-
maxUses: SQLiteColumn< {
|
|
69
|
-
name: "max_uses";
|
|
70
|
-
tableName: "a2a_invites";
|
|
71
|
-
dataType: "number";
|
|
72
|
-
columnType: "SQLiteInteger";
|
|
73
|
-
data: number;
|
|
74
|
-
driverParam: number;
|
|
75
|
-
notNull: true;
|
|
76
|
-
hasDefault: true;
|
|
77
|
-
isPrimaryKey: false;
|
|
78
|
-
isAutoincrement: false;
|
|
79
|
-
hasRuntimeDefault: false;
|
|
80
|
-
enumValues: undefined;
|
|
81
|
-
baseColumn: never;
|
|
82
|
-
identity: undefined;
|
|
83
|
-
generated: undefined;
|
|
84
|
-
}, {}, {}>;
|
|
85
|
-
useCount: SQLiteColumn< {
|
|
86
|
-
name: "use_count";
|
|
87
|
-
tableName: "a2a_invites";
|
|
88
|
-
dataType: "number";
|
|
89
|
-
columnType: "SQLiteInteger";
|
|
90
|
-
data: number;
|
|
91
|
-
driverParam: number;
|
|
92
|
-
notNull: true;
|
|
93
|
-
hasDefault: true;
|
|
94
|
-
isPrimaryKey: false;
|
|
95
|
-
isAutoincrement: false;
|
|
96
|
-
hasRuntimeDefault: false;
|
|
97
|
-
enumValues: undefined;
|
|
98
|
-
baseColumn: never;
|
|
99
|
-
identity: undefined;
|
|
100
|
-
generated: undefined;
|
|
101
|
-
}, {}, {}>;
|
|
102
|
-
expiresAt: SQLiteColumn< {
|
|
103
|
-
name: "expires_at";
|
|
104
|
-
tableName: "a2a_invites";
|
|
105
|
-
dataType: "number";
|
|
106
|
-
columnType: "SQLiteInteger";
|
|
107
|
-
data: number;
|
|
108
|
-
driverParam: number;
|
|
109
|
-
notNull: true;
|
|
110
|
-
hasDefault: false;
|
|
111
|
-
isPrimaryKey: false;
|
|
112
|
-
isAutoincrement: false;
|
|
113
|
-
hasRuntimeDefault: false;
|
|
114
|
-
enumValues: undefined;
|
|
115
|
-
baseColumn: never;
|
|
116
|
-
identity: undefined;
|
|
117
|
-
generated: undefined;
|
|
118
|
-
}, {}, {}>;
|
|
119
|
-
status: SQLiteColumn< {
|
|
120
|
-
name: "status";
|
|
121
|
-
tableName: "a2a_invites";
|
|
122
|
-
dataType: "string";
|
|
123
|
-
columnType: "SQLiteText";
|
|
124
|
-
data: string;
|
|
125
|
-
driverParam: string;
|
|
126
|
-
notNull: true;
|
|
127
|
-
hasDefault: true;
|
|
128
|
-
isPrimaryKey: false;
|
|
129
|
-
isAutoincrement: false;
|
|
130
|
-
hasRuntimeDefault: false;
|
|
131
|
-
enumValues: [string, ...string[]];
|
|
132
|
-
baseColumn: never;
|
|
133
|
-
identity: undefined;
|
|
134
|
-
generated: undefined;
|
|
135
|
-
}, {}, {
|
|
136
|
-
length: number | undefined;
|
|
137
|
-
}>;
|
|
138
|
-
redeemedByExternalUserId: SQLiteColumn< {
|
|
139
|
-
name: "redeemed_by_external_user_id";
|
|
140
|
-
tableName: "a2a_invites";
|
|
141
|
-
dataType: "string";
|
|
142
|
-
columnType: "SQLiteText";
|
|
143
|
-
data: string;
|
|
144
|
-
driverParam: string;
|
|
145
|
-
notNull: false;
|
|
146
|
-
hasDefault: false;
|
|
147
|
-
isPrimaryKey: false;
|
|
148
|
-
isAutoincrement: false;
|
|
149
|
-
hasRuntimeDefault: false;
|
|
150
|
-
enumValues: [string, ...string[]];
|
|
151
|
-
baseColumn: never;
|
|
152
|
-
identity: undefined;
|
|
153
|
-
generated: undefined;
|
|
154
|
-
}, {}, {
|
|
155
|
-
length: number | undefined;
|
|
156
|
-
}>;
|
|
157
|
-
redeemedAt: SQLiteColumn< {
|
|
158
|
-
name: "redeemed_at";
|
|
159
|
-
tableName: "a2a_invites";
|
|
160
|
-
dataType: "number";
|
|
161
|
-
columnType: "SQLiteInteger";
|
|
162
|
-
data: number;
|
|
163
|
-
driverParam: number;
|
|
164
|
-
notNull: false;
|
|
165
|
-
hasDefault: false;
|
|
166
|
-
isPrimaryKey: false;
|
|
167
|
-
isAutoincrement: false;
|
|
168
|
-
hasRuntimeDefault: false;
|
|
169
|
-
enumValues: undefined;
|
|
170
|
-
baseColumn: never;
|
|
171
|
-
identity: undefined;
|
|
172
|
-
generated: undefined;
|
|
173
|
-
}, {}, {}>;
|
|
174
|
-
createdAt: SQLiteColumn< {
|
|
175
|
-
name: "created_at";
|
|
176
|
-
tableName: "a2a_invites";
|
|
177
|
-
dataType: "number";
|
|
178
|
-
columnType: "SQLiteInteger";
|
|
179
|
-
data: number;
|
|
180
|
-
driverParam: number;
|
|
181
|
-
notNull: true;
|
|
182
|
-
hasDefault: false;
|
|
183
|
-
isPrimaryKey: false;
|
|
184
|
-
isAutoincrement: false;
|
|
185
|
-
hasRuntimeDefault: false;
|
|
186
|
-
enumValues: undefined;
|
|
187
|
-
baseColumn: never;
|
|
188
|
-
identity: undefined;
|
|
189
|
-
generated: undefined;
|
|
190
|
-
}, {}, {}>;
|
|
191
|
-
updatedAt: SQLiteColumn< {
|
|
192
|
-
name: "updated_at";
|
|
193
|
-
tableName: "a2a_invites";
|
|
194
|
-
dataType: "number";
|
|
195
|
-
columnType: "SQLiteInteger";
|
|
196
|
-
data: number;
|
|
197
|
-
driverParam: number;
|
|
198
|
-
notNull: true;
|
|
199
|
-
hasDefault: false;
|
|
200
|
-
isPrimaryKey: false;
|
|
201
|
-
isAutoincrement: false;
|
|
202
|
-
hasRuntimeDefault: false;
|
|
203
|
-
enumValues: undefined;
|
|
204
|
-
baseColumn: never;
|
|
205
|
-
identity: undefined;
|
|
206
|
-
generated: undefined;
|
|
207
|
-
}, {}, {}>;
|
|
208
|
-
};
|
|
209
|
-
dialect: "sqlite";
|
|
210
|
-
}>;
|
|
211
|
-
|
|
212
|
-
declare const a2aTasks: SQLiteTableWithColumns< {
|
|
213
|
-
name: "a2a_tasks";
|
|
214
|
-
schema: undefined;
|
|
215
|
-
columns: {
|
|
216
|
-
id: SQLiteColumn< {
|
|
217
|
-
name: "id";
|
|
218
|
-
tableName: "a2a_tasks";
|
|
219
|
-
dataType: "string";
|
|
220
|
-
columnType: "SQLiteText";
|
|
221
|
-
data: string;
|
|
222
|
-
driverParam: string;
|
|
223
|
-
notNull: true;
|
|
224
|
-
hasDefault: false;
|
|
225
|
-
isPrimaryKey: true;
|
|
226
|
-
isAutoincrement: false;
|
|
227
|
-
hasRuntimeDefault: false;
|
|
228
|
-
enumValues: [string, ...string[]];
|
|
229
|
-
baseColumn: never;
|
|
230
|
-
identity: undefined;
|
|
231
|
-
generated: undefined;
|
|
232
|
-
}, {}, {
|
|
233
|
-
length: number | undefined;
|
|
234
|
-
}>;
|
|
235
|
-
contextId: SQLiteColumn< {
|
|
236
|
-
name: "context_id";
|
|
237
|
-
tableName: "a2a_tasks";
|
|
238
|
-
dataType: "string";
|
|
239
|
-
columnType: "SQLiteText";
|
|
240
|
-
data: string;
|
|
241
|
-
driverParam: string;
|
|
242
|
-
notNull: false;
|
|
243
|
-
hasDefault: false;
|
|
244
|
-
isPrimaryKey: false;
|
|
245
|
-
isAutoincrement: false;
|
|
246
|
-
hasRuntimeDefault: false;
|
|
247
|
-
enumValues: [string, ...string[]];
|
|
248
|
-
baseColumn: never;
|
|
249
|
-
identity: undefined;
|
|
250
|
-
generated: undefined;
|
|
251
|
-
}, {}, {
|
|
252
|
-
length: number | undefined;
|
|
253
|
-
}>;
|
|
254
|
-
conversationId: SQLiteColumn< {
|
|
255
|
-
name: "conversation_id";
|
|
256
|
-
tableName: "a2a_tasks";
|
|
257
|
-
dataType: "string";
|
|
258
|
-
columnType: "SQLiteText";
|
|
259
|
-
data: string;
|
|
260
|
-
driverParam: string;
|
|
261
|
-
notNull: false;
|
|
262
|
-
hasDefault: false;
|
|
263
|
-
isPrimaryKey: false;
|
|
264
|
-
isAutoincrement: false;
|
|
265
|
-
hasRuntimeDefault: false;
|
|
266
|
-
enumValues: [string, ...string[]];
|
|
267
|
-
baseColumn: never;
|
|
268
|
-
identity: undefined;
|
|
269
|
-
generated: undefined;
|
|
270
|
-
}, {}, {
|
|
271
|
-
length: number | undefined;
|
|
272
|
-
}>;
|
|
273
|
-
state: SQLiteColumn< {
|
|
274
|
-
name: "state";
|
|
275
|
-
tableName: "a2a_tasks";
|
|
276
|
-
dataType: "string";
|
|
277
|
-
columnType: "SQLiteText";
|
|
278
|
-
data: string;
|
|
279
|
-
driverParam: string;
|
|
280
|
-
notNull: true;
|
|
281
|
-
hasDefault: true;
|
|
282
|
-
isPrimaryKey: false;
|
|
283
|
-
isAutoincrement: false;
|
|
284
|
-
hasRuntimeDefault: false;
|
|
285
|
-
enumValues: [string, ...string[]];
|
|
286
|
-
baseColumn: never;
|
|
287
|
-
identity: undefined;
|
|
288
|
-
generated: undefined;
|
|
289
|
-
}, {}, {
|
|
290
|
-
length: number | undefined;
|
|
291
|
-
}>;
|
|
292
|
-
statusMessage: SQLiteColumn< {
|
|
293
|
-
name: "status_message";
|
|
294
|
-
tableName: "a2a_tasks";
|
|
295
|
-
dataType: "string";
|
|
296
|
-
columnType: "SQLiteText";
|
|
297
|
-
data: string;
|
|
298
|
-
driverParam: string;
|
|
299
|
-
notNull: false;
|
|
300
|
-
hasDefault: false;
|
|
301
|
-
isPrimaryKey: false;
|
|
302
|
-
isAutoincrement: false;
|
|
303
|
-
hasRuntimeDefault: false;
|
|
304
|
-
enumValues: [string, ...string[]];
|
|
305
|
-
baseColumn: never;
|
|
306
|
-
identity: undefined;
|
|
307
|
-
generated: undefined;
|
|
308
|
-
}, {}, {
|
|
309
|
-
length: number | undefined;
|
|
310
|
-
}>;
|
|
311
|
-
requestMessageJson: SQLiteColumn< {
|
|
312
|
-
name: "request_message_json";
|
|
313
|
-
tableName: "a2a_tasks";
|
|
314
|
-
dataType: "string";
|
|
315
|
-
columnType: "SQLiteText";
|
|
316
|
-
data: string;
|
|
317
|
-
driverParam: string;
|
|
318
|
-
notNull: true;
|
|
319
|
-
hasDefault: false;
|
|
320
|
-
isPrimaryKey: false;
|
|
321
|
-
isAutoincrement: false;
|
|
322
|
-
hasRuntimeDefault: false;
|
|
323
|
-
enumValues: [string, ...string[]];
|
|
324
|
-
baseColumn: never;
|
|
325
|
-
identity: undefined;
|
|
326
|
-
generated: undefined;
|
|
327
|
-
}, {}, {
|
|
328
|
-
length: number | undefined;
|
|
329
|
-
}>;
|
|
330
|
-
artifactsJson: SQLiteColumn< {
|
|
331
|
-
name: "artifacts_json";
|
|
332
|
-
tableName: "a2a_tasks";
|
|
333
|
-
dataType: "string";
|
|
334
|
-
columnType: "SQLiteText";
|
|
335
|
-
data: string;
|
|
336
|
-
driverParam: string;
|
|
337
|
-
notNull: false;
|
|
338
|
-
hasDefault: false;
|
|
339
|
-
isPrimaryKey: false;
|
|
340
|
-
isAutoincrement: false;
|
|
341
|
-
hasRuntimeDefault: false;
|
|
342
|
-
enumValues: [string, ...string[]];
|
|
343
|
-
baseColumn: never;
|
|
344
|
-
identity: undefined;
|
|
345
|
-
generated: undefined;
|
|
346
|
-
}, {}, {
|
|
347
|
-
length: number | undefined;
|
|
348
|
-
}>;
|
|
349
|
-
pushUrl: SQLiteColumn< {
|
|
350
|
-
name: "push_url";
|
|
351
|
-
tableName: "a2a_tasks";
|
|
352
|
-
dataType: "string";
|
|
353
|
-
columnType: "SQLiteText";
|
|
354
|
-
data: string;
|
|
355
|
-
driverParam: string;
|
|
356
|
-
notNull: false;
|
|
357
|
-
hasDefault: false;
|
|
358
|
-
isPrimaryKey: false;
|
|
359
|
-
isAutoincrement: false;
|
|
360
|
-
hasRuntimeDefault: false;
|
|
361
|
-
enumValues: [string, ...string[]];
|
|
362
|
-
baseColumn: never;
|
|
363
|
-
identity: undefined;
|
|
364
|
-
generated: undefined;
|
|
365
|
-
}, {}, {
|
|
366
|
-
length: number | undefined;
|
|
367
|
-
}>;
|
|
368
|
-
senderAssistantId: SQLiteColumn< {
|
|
369
|
-
name: "sender_assistant_id";
|
|
370
|
-
tableName: "a2a_tasks";
|
|
371
|
-
dataType: "string";
|
|
372
|
-
columnType: "SQLiteText";
|
|
373
|
-
data: string;
|
|
374
|
-
driverParam: string;
|
|
375
|
-
notNull: true;
|
|
376
|
-
hasDefault: false;
|
|
377
|
-
isPrimaryKey: false;
|
|
378
|
-
isAutoincrement: false;
|
|
379
|
-
hasRuntimeDefault: false;
|
|
380
|
-
enumValues: [string, ...string[]];
|
|
381
|
-
baseColumn: never;
|
|
382
|
-
identity: undefined;
|
|
383
|
-
generated: undefined;
|
|
384
|
-
}, {}, {
|
|
385
|
-
length: number | undefined;
|
|
386
|
-
}>;
|
|
387
|
-
createdAt: SQLiteColumn< {
|
|
388
|
-
name: "created_at";
|
|
389
|
-
tableName: "a2a_tasks";
|
|
390
|
-
dataType: "number";
|
|
391
|
-
columnType: "SQLiteInteger";
|
|
392
|
-
data: number;
|
|
393
|
-
driverParam: number;
|
|
394
|
-
notNull: true;
|
|
395
|
-
hasDefault: false;
|
|
396
|
-
isPrimaryKey: false;
|
|
397
|
-
isAutoincrement: false;
|
|
398
|
-
hasRuntimeDefault: false;
|
|
399
|
-
enumValues: undefined;
|
|
400
|
-
baseColumn: never;
|
|
401
|
-
identity: undefined;
|
|
402
|
-
generated: undefined;
|
|
403
|
-
}, {}, {}>;
|
|
404
|
-
updatedAt: SQLiteColumn< {
|
|
405
|
-
name: "updated_at";
|
|
406
|
-
tableName: "a2a_tasks";
|
|
407
|
-
dataType: "number";
|
|
408
|
-
columnType: "SQLiteInteger";
|
|
409
|
-
data: number;
|
|
410
|
-
driverParam: number;
|
|
411
|
-
notNull: true;
|
|
412
|
-
hasDefault: false;
|
|
413
|
-
isPrimaryKey: false;
|
|
414
|
-
isAutoincrement: false;
|
|
415
|
-
hasRuntimeDefault: false;
|
|
416
|
-
enumValues: undefined;
|
|
417
|
-
baseColumn: never;
|
|
418
|
-
identity: undefined;
|
|
419
|
-
generated: undefined;
|
|
420
|
-
}, {}, {}>;
|
|
421
|
-
};
|
|
422
|
-
dialect: "sqlite";
|
|
423
|
-
}>;
|
|
424
|
-
|
|
425
7
|
/**
|
|
426
8
|
* Claude tokens Claude has refused, by digest.
|
|
427
9
|
*
|
|
@@ -1309,7 +891,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1309
891
|
}, z.core.$strip>>;
|
|
1310
892
|
stt: z.ZodDefault<z.ZodObject<{
|
|
1311
893
|
provider: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodEnum<{
|
|
1312
|
-
cadet: "cadet";
|
|
1313
894
|
"openai-whisper": "openai-whisper";
|
|
1314
895
|
deepgram: "deepgram";
|
|
1315
896
|
"google-gemini": "google-gemini";
|
|
@@ -1325,7 +906,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1325
906
|
batch: "batch";
|
|
1326
907
|
}> & z.core.$partial, z.ZodObject<{
|
|
1327
908
|
provider: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodEnum<{
|
|
1328
|
-
cadet: "cadet";
|
|
1329
909
|
"openai-whisper": "openai-whisper";
|
|
1330
910
|
deepgram: "deepgram";
|
|
1331
911
|
"google-gemini": "google-gemini";
|
|
@@ -1336,7 +916,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1336
916
|
}, z.core.$strip>>;
|
|
1337
917
|
tts: z.ZodDefault<z.ZodObject<{
|
|
1338
918
|
provider: z.ZodDefault<z.ZodEnum<{
|
|
1339
|
-
cadet: "cadet";
|
|
1340
919
|
deepgram: "deepgram";
|
|
1341
920
|
xai: "xai";
|
|
1342
921
|
elevenlabs: "elevenlabs";
|
|
@@ -1389,12 +968,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1389
968
|
sampleRate: z.ZodDefault<z.ZodNumber>;
|
|
1390
969
|
bitRate: z.ZodDefault<z.ZodNumber>;
|
|
1391
970
|
}, z.core.$strip>>;
|
|
1392
|
-
cadet: z.ZodDefault<z.ZodObject<{
|
|
1393
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1394
|
-
languageVoices: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<{
|
|
1395
|
-
[k: string]: string;
|
|
1396
|
-
}, Record<string, string>>>, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1397
|
-
}, z.core.$strip>>;
|
|
1398
971
|
}, z.core.$strip>>;
|
|
1399
972
|
}, z.core.$strip>>;
|
|
1400
973
|
"google-oauth": z.ZodDefault<z.ZodObject<{
|
|
@@ -2370,9 +1943,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
2370
1943
|
applicationId: z.ZodDefault<z.ZodString>;
|
|
2371
1944
|
inviteUrl: z.ZodDefault<z.ZodString>;
|
|
2372
1945
|
}, z.core.$strip>>;
|
|
2373
|
-
a2a: z.ZodDefault<z.ZodObject<{
|
|
2374
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2375
|
-
}, z.core.$strip>>;
|
|
2376
1946
|
ingress: z.ZodDefault<z.ZodObject<{
|
|
2377
1947
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2378
1948
|
publicBaseUrl: z.ZodDefault<z.ZodString>;
|
|
@@ -3075,75 +2645,6 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
3075
2645
|
id: z.ZodString;
|
|
3076
2646
|
}, z.core.$strip>;
|
|
3077
2647
|
detail: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3078
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3079
|
-
type: z.ZodLiteral<"host_app_control_cancel">;
|
|
3080
|
-
requestId: z.ZodString;
|
|
3081
|
-
conversationId: z.ZodString;
|
|
3082
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3083
|
-
type: z.ZodLiteral<"host_app_control_request">;
|
|
3084
|
-
requestId: z.ZodString;
|
|
3085
|
-
conversationId: z.ZodString;
|
|
3086
|
-
toolName: z.ZodString;
|
|
3087
|
-
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3088
|
-
tool: z.ZodLiteral<"start">;
|
|
3089
|
-
app: z.ZodString;
|
|
3090
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3091
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3092
|
-
tool: z.ZodLiteral<"observe">;
|
|
3093
|
-
app: z.ZodString;
|
|
3094
|
-
settle_ms: z.ZodOptional<z.ZodNumber>;
|
|
3095
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3096
|
-
tool: z.ZodLiteral<"press">;
|
|
3097
|
-
app: z.ZodString;
|
|
3098
|
-
key: z.ZodString;
|
|
3099
|
-
modifiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3100
|
-
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
3101
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3102
|
-
tool: z.ZodLiteral<"combo">;
|
|
3103
|
-
app: z.ZodString;
|
|
3104
|
-
keys: z.ZodArray<z.ZodString>;
|
|
3105
|
-
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
3106
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3107
|
-
tool: z.ZodLiteral<"sequence">;
|
|
3108
|
-
app: z.ZodString;
|
|
3109
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
3110
|
-
key: z.ZodString;
|
|
3111
|
-
modifiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3112
|
-
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
3113
|
-
gap_ms: z.ZodOptional<z.ZodNumber>;
|
|
3114
|
-
}, z.core.$strip>>;
|
|
3115
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3116
|
-
tool: z.ZodLiteral<"type">;
|
|
3117
|
-
app: z.ZodString;
|
|
3118
|
-
text: z.ZodString;
|
|
3119
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3120
|
-
tool: z.ZodLiteral<"click">;
|
|
3121
|
-
app: z.ZodString;
|
|
3122
|
-
x: z.ZodNumber;
|
|
3123
|
-
y: z.ZodNumber;
|
|
3124
|
-
button: z.ZodOptional<z.ZodEnum<{
|
|
3125
|
-
left: "left";
|
|
3126
|
-
right: "right";
|
|
3127
|
-
middle: "middle";
|
|
3128
|
-
}>>;
|
|
3129
|
-
double: z.ZodOptional<z.ZodBoolean>;
|
|
3130
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3131
|
-
tool: z.ZodLiteral<"drag">;
|
|
3132
|
-
app: z.ZodString;
|
|
3133
|
-
from_x: z.ZodNumber;
|
|
3134
|
-
from_y: z.ZodNumber;
|
|
3135
|
-
to_x: z.ZodNumber;
|
|
3136
|
-
to_y: z.ZodNumber;
|
|
3137
|
-
button: z.ZodOptional<z.ZodEnum<{
|
|
3138
|
-
left: "left";
|
|
3139
|
-
right: "right";
|
|
3140
|
-
middle: "middle";
|
|
3141
|
-
}>>;
|
|
3142
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3143
|
-
tool: z.ZodLiteral<"stop">;
|
|
3144
|
-
app: z.ZodOptional<z.ZodString>;
|
|
3145
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
3146
|
-
}, z.core.$strip>], "tool">;
|
|
3147
2648
|
}, z.core.$strip>, z.ZodObject<{
|
|
3148
2649
|
type: z.ZodLiteral<"host_bash_cancel">;
|
|
3149
2650
|
requestId: z.ZodString;
|
|
@@ -4151,7 +3652,6 @@ declare const AssistantEventPublishOptionsSchema: z.ZodObject<{
|
|
|
4151
3652
|
host_cu_sequence: "host_cu_sequence";
|
|
4152
3653
|
host_cu_annotate: "host_cu_annotate";
|
|
4153
3654
|
host_browser: "host_browser";
|
|
4154
|
-
host_app_control: "host_app_control";
|
|
4155
3655
|
host_ui_snapshot: "host_ui_snapshot";
|
|
4156
3656
|
}>>;
|
|
4157
3657
|
targetClientId: z.ZodOptional<z.ZodString>;
|
|
@@ -4161,7 +3661,6 @@ declare const AssistantEventPublishOptionsSchema: z.ZodObject<{
|
|
|
4161
3661
|
whatsapp: "whatsapp";
|
|
4162
3662
|
slack: "slack";
|
|
4163
3663
|
email: "email";
|
|
4164
|
-
a2a: "a2a";
|
|
4165
3664
|
discord: "discord";
|
|
4166
3665
|
plugin: "plugin";
|
|
4167
3666
|
route: "route";
|
|
@@ -4724,75 +4223,6 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4724
4223
|
id: z.ZodString;
|
|
4725
4224
|
}, z.core.$strip>;
|
|
4726
4225
|
detail: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4727
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4728
|
-
type: z.ZodLiteral<"host_app_control_cancel">;
|
|
4729
|
-
requestId: z.ZodString;
|
|
4730
|
-
conversationId: z.ZodString;
|
|
4731
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4732
|
-
type: z.ZodLiteral<"host_app_control_request">;
|
|
4733
|
-
requestId: z.ZodString;
|
|
4734
|
-
conversationId: z.ZodString;
|
|
4735
|
-
toolName: z.ZodString;
|
|
4736
|
-
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4737
|
-
tool: z.ZodLiteral<"start">;
|
|
4738
|
-
app: z.ZodString;
|
|
4739
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4740
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4741
|
-
tool: z.ZodLiteral<"observe">;
|
|
4742
|
-
app: z.ZodString;
|
|
4743
|
-
settle_ms: z.ZodOptional<z.ZodNumber>;
|
|
4744
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4745
|
-
tool: z.ZodLiteral<"press">;
|
|
4746
|
-
app: z.ZodString;
|
|
4747
|
-
key: z.ZodString;
|
|
4748
|
-
modifiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4749
|
-
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
4750
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4751
|
-
tool: z.ZodLiteral<"combo">;
|
|
4752
|
-
app: z.ZodString;
|
|
4753
|
-
keys: z.ZodArray<z.ZodString>;
|
|
4754
|
-
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
4755
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4756
|
-
tool: z.ZodLiteral<"sequence">;
|
|
4757
|
-
app: z.ZodString;
|
|
4758
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
4759
|
-
key: z.ZodString;
|
|
4760
|
-
modifiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4761
|
-
duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
4762
|
-
gap_ms: z.ZodOptional<z.ZodNumber>;
|
|
4763
|
-
}, z.core.$strip>>;
|
|
4764
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4765
|
-
tool: z.ZodLiteral<"type">;
|
|
4766
|
-
app: z.ZodString;
|
|
4767
|
-
text: z.ZodString;
|
|
4768
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4769
|
-
tool: z.ZodLiteral<"click">;
|
|
4770
|
-
app: z.ZodString;
|
|
4771
|
-
x: z.ZodNumber;
|
|
4772
|
-
y: z.ZodNumber;
|
|
4773
|
-
button: z.ZodOptional<z.ZodEnum<{
|
|
4774
|
-
left: "left";
|
|
4775
|
-
right: "right";
|
|
4776
|
-
middle: "middle";
|
|
4777
|
-
}>>;
|
|
4778
|
-
double: z.ZodOptional<z.ZodBoolean>;
|
|
4779
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4780
|
-
tool: z.ZodLiteral<"drag">;
|
|
4781
|
-
app: z.ZodString;
|
|
4782
|
-
from_x: z.ZodNumber;
|
|
4783
|
-
from_y: z.ZodNumber;
|
|
4784
|
-
to_x: z.ZodNumber;
|
|
4785
|
-
to_y: z.ZodNumber;
|
|
4786
|
-
button: z.ZodOptional<z.ZodEnum<{
|
|
4787
|
-
left: "left";
|
|
4788
|
-
right: "right";
|
|
4789
|
-
middle: "middle";
|
|
4790
|
-
}>>;
|
|
4791
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4792
|
-
tool: z.ZodLiteral<"stop">;
|
|
4793
|
-
app: z.ZodOptional<z.ZodString>;
|
|
4794
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
4795
|
-
}, z.core.$strip>], "tool">;
|
|
4796
4226
|
}, z.core.$strip>, z.ZodObject<{
|
|
4797
4227
|
type: z.ZodLiteral<"host_bash_cancel">;
|
|
4798
4228
|
requestId: z.ZodString;
|
|
@@ -6631,7 +6061,7 @@ declare const CHANNEL_DELIVERY_STATUSES: readonly ["pending", "delivered", "fail
|
|
|
6631
6061
|
* by `satisfies readonly ChannelId[]` for those cases rather than redefining
|
|
6632
6062
|
* the union.
|
|
6633
6063
|
*/
|
|
6634
|
-
declare const CHANNEL_IDS: readonly ["telegram", "phone", "cadet", "whatsapp", "slack", "email", "platform", "
|
|
6064
|
+
declare const CHANNEL_IDS: readonly ["telegram", "phone", "cadet", "whatsapp", "slack", "email", "platform", "discord", "plugin", "cadet-shared"];
|
|
6635
6065
|
|
|
6636
6066
|
/** Lifecycle of a channel inbound event's agent-turn processing. */
|
|
6637
6067
|
declare const CHANNEL_PROCESSING_STATUSES: readonly ["pending", "processed", "failed", "dead_letter"];
|
|
@@ -12528,7 +11958,7 @@ export declare const HOOKS: {
|
|
|
12528
11958
|
*
|
|
12529
11959
|
* Pure data and pure functions only: no imports, no daemon runtime graph.
|
|
12530
11960
|
*/
|
|
12531
|
-
declare const HOST_PROXY_CAPABILITIES: readonly ["host_bash", "host_file", "host_cu", "host_cu_window_capture", "host_cu_sequence", "host_cu_annotate", "host_browser", "
|
|
11961
|
+
declare const HOST_PROXY_CAPABILITIES: readonly ["host_bash", "host_file", "host_cu", "host_cu_window_capture", "host_cu_sequence", "host_cu_annotate", "host_browser", "host_ui_snapshot"];
|
|
12532
11962
|
|
|
12533
11963
|
declare type HostProxyCapability = (typeof HOST_PROXY_CAPABILITIES)[number];
|
|
12534
11964
|
|
|
@@ -12665,7 +12095,7 @@ declare interface InsertedMessage {
|
|
|
12665
12095
|
deduplicated: boolean;
|
|
12666
12096
|
}
|
|
12667
12097
|
|
|
12668
|
-
declare const INTERFACE_IDS: readonly ["macos", "windows", "linux", "ios", "cli", "telegram", "phone", "web", "whatsapp", "slack", "email", "chrome-extension", "
|
|
12098
|
+
declare const INTERFACE_IDS: readonly ["macos", "windows", "linux", "ios", "cli", "telegram", "phone", "web", "whatsapp", "slack", "email", "chrome-extension", "discord", "route", "plugin"];
|
|
12669
12099
|
|
|
12670
12100
|
declare type InterfaceId = (typeof INTERFACE_IDS)[number];
|
|
12671
12101
|
|
|
@@ -17225,7 +16655,6 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
17225
16655
|
slack: "slack";
|
|
17226
16656
|
email: "email";
|
|
17227
16657
|
platform: "platform";
|
|
17228
|
-
a2a: "a2a";
|
|
17229
16658
|
discord: "discord";
|
|
17230
16659
|
plugin: "plugin";
|
|
17231
16660
|
"cadet-shared": "cadet-shared";
|
|
@@ -17238,13 +16667,12 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
17238
16667
|
slack: "slack";
|
|
17239
16668
|
email: "email";
|
|
17240
16669
|
platform: "platform";
|
|
17241
|
-
a2a: "a2a";
|
|
17242
16670
|
discord: "discord";
|
|
17243
16671
|
plugin: "plugin";
|
|
17244
16672
|
"cadet-shared": "cadet-shared";
|
|
17245
16673
|
}>>;
|
|
17246
|
-
userMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "
|
|
17247
|
-
assistantMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "
|
|
16674
|
+
userMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string>>>;
|
|
16675
|
+
assistantMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string>>>;
|
|
17248
16676
|
client: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17249
16677
|
clientOsFromRequest: z.ZodOptional<z.ZodBoolean>;
|
|
17250
16678
|
subagentNotification: z.ZodOptional<z.ZodObject<{
|
|
@@ -17279,7 +16707,6 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
17279
16707
|
slack: "slack";
|
|
17280
16708
|
email: "email";
|
|
17281
16709
|
platform: "platform";
|
|
17282
|
-
a2a: "a2a";
|
|
17283
16710
|
discord: "discord";
|
|
17284
16711
|
plugin: "plugin";
|
|
17285
16712
|
"cadet-shared": "cadet-shared";
|
|
@@ -22048,8 +21475,6 @@ dialect: "sqlite";
|
|
|
22048
21475
|
|
|
22049
21476
|
declare namespace schema {
|
|
22050
21477
|
export {
|
|
22051
|
-
a2aInvites,
|
|
22052
|
-
a2aTasks,
|
|
22053
21478
|
acpSessionHistory,
|
|
22054
21479
|
acpRefusedCredentials,
|
|
22055
21480
|
messageBookmarks,
|
|
@@ -23525,14 +22950,7 @@ export declare type SttProviderId = "openai-whisper" | "deepgram"
|
|
|
23525
22950
|
* Deepgram's Flux conversational speech model. Shares the `deepgram`
|
|
23526
22951
|
* credential and is streaming-only: Flux has no batch endpoint.
|
|
23527
22952
|
*/
|
|
23528
|
-
| "deepgram-flux" | "google-gemini" | "xai"
|
|
23529
|
-
/**
|
|
23530
|
-
* Cloud Flux: the same conversational model as `deepgram-flux`, reached
|
|
23531
|
-
* through the cloud's speech relay instead of a Deepgram key. Dials the
|
|
23532
|
-
* relay's STT v2 endpoint asking for native Flux frames, so it keeps the
|
|
23533
|
-
* turn events the relay's default v1-shaped translation drops.
|
|
23534
|
-
*/
|
|
23535
|
-
| "cadet-flux";
|
|
22953
|
+
| "deepgram-flux" | "google-gemini" | "xai";
|
|
23536
22954
|
|
|
23537
22955
|
/** The streaming session has closed (no more events will be emitted). */
|
|
23538
22956
|
export declare interface SttStreamServerClosedEvent {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mycadet/plugin-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0-dev.202610181425.b8556ca",
|
|
4
4
|
"description": "Public TypeScript authoring contract for Cadet assistant plugins.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|
|
32
|
-
"url": "git+https://github.com/vargasjr-dev/mycadet.git",
|
|
32
|
+
"url": "git+https://github.com/vargasjr-dev/mycadet-temp.git",
|
|
33
33
|
"directory": "assistant/src/plugin-api"
|
|
34
34
|
}
|
|
35
35
|
}
|