@blueking/chat-helper 0.0.8 → 0.0.10-beta.1
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/agent/use-agent.d.ts +1265 -2
- package/dist/agent/use-agent.ts.js +71 -11
- package/dist/event/ag-ui.d.ts +9 -1
- package/dist/event/ag-ui.ts.js +45 -4
- package/dist/event/type.d.ts +87 -23
- package/dist/event/type.ts.js +43 -16
- package/dist/http/index.d.ts +6 -2
- package/dist/http/module/index.d.ts +6 -2
- package/dist/http/module/message.d.ts +6 -3
- package/dist/http/module/message.ts.js +18 -1
- package/dist/http/module/session.d.ts +1 -0
- package/dist/http/module/session.ts.js +4 -1
- package/dist/http/transform/message.ts.js +10 -0
- package/dist/http/transform/session.ts.js +2 -0
- package/dist/index.d.ts +8832 -2
- package/dist/message/type.d.ts +24 -4
- package/dist/message/type.ts.js +7 -0
- package/dist/message/use-message.d.ts +2520 -0
- package/dist/session/type.d.ts +8 -0
- package/dist/session/type.ts.js +7 -1
- package/dist/session/use-session.d.ts +5044 -0
- package/dist/session/use-session.ts.js +5 -4
- package/package.json +8 -4
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ApprovalInterruptTicketStatus, RunFinishedOutcomeType } from '../event';
|
|
2
|
+
import { MessageRole, MessageStatus, UserOperation } from '../message';
|
|
2
3
|
import type { IRequestConfig, ISSEProtocol } from '../http';
|
|
3
4
|
import type { IMediatorModule } from '../mediator';
|
|
4
|
-
import type { IMessageProperty, IUserMessage } from '../message/type';
|
|
5
|
+
import type { IMessageProperty, IUserMessage, IUserOperationPayload } from '../message/type';
|
|
5
6
|
import type { IAgentInfo } from './type';
|
|
6
7
|
/**
|
|
7
8
|
* Agent 模块
|
|
@@ -135,6 +136,636 @@ export declare const useAgent: (mediator: IMediatorModule, protocol: ISSEProtoco
|
|
|
135
136
|
name?: string;
|
|
136
137
|
sessionCode?: string;
|
|
137
138
|
status: MessageStatus;
|
|
139
|
+
} | {
|
|
140
|
+
content: {
|
|
141
|
+
result?: {
|
|
142
|
+
interruptId: string;
|
|
143
|
+
status: import("../event").ResumeStatus;
|
|
144
|
+
payload: {
|
|
145
|
+
answers: {
|
|
146
|
+
answer: {
|
|
147
|
+
description: string;
|
|
148
|
+
label: string;
|
|
149
|
+
}[];
|
|
150
|
+
multiSelect?: boolean;
|
|
151
|
+
question: string;
|
|
152
|
+
}[];
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
runId: number;
|
|
156
|
+
threadId: string;
|
|
157
|
+
type: import("../event").EventType.RunFinished;
|
|
158
|
+
outcome?: {
|
|
159
|
+
type: RunFinishedOutcomeType.Success;
|
|
160
|
+
} | {
|
|
161
|
+
type: RunFinishedOutcomeType.Interrupt;
|
|
162
|
+
interrupts: ({
|
|
163
|
+
id: string;
|
|
164
|
+
reason: import("../event").InterruptReason.AIDevToolApproval;
|
|
165
|
+
message?: string;
|
|
166
|
+
toolCallId?: string;
|
|
167
|
+
responseSchema?: {
|
|
168
|
+
[x: string]: any;
|
|
169
|
+
id?: string | undefined;
|
|
170
|
+
$ref?: string | undefined;
|
|
171
|
+
$schema?: import("json-schema").JSONSchema4Version | undefined;
|
|
172
|
+
title?: string | undefined;
|
|
173
|
+
description?: string | undefined;
|
|
174
|
+
default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
|
|
175
|
+
[x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
|
|
176
|
+
length: number;
|
|
177
|
+
toString: () => string;
|
|
178
|
+
toLocaleString: {
|
|
179
|
+
(): string;
|
|
180
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
|
181
|
+
};
|
|
182
|
+
pop: () => import("json-schema").JSONSchema4Type;
|
|
183
|
+
push: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
184
|
+
concat: {
|
|
185
|
+
(...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
|
|
186
|
+
(...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
|
|
187
|
+
};
|
|
188
|
+
join: (separator?: string) => string;
|
|
189
|
+
reverse: () => import("json-schema").JSONSchema4Type[];
|
|
190
|
+
shift: () => import("json-schema").JSONSchema4Type;
|
|
191
|
+
slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
|
|
192
|
+
sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
|
|
193
|
+
splice: {
|
|
194
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
195
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
196
|
+
};
|
|
197
|
+
unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
198
|
+
indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
199
|
+
lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
200
|
+
every: {
|
|
201
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
|
|
202
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
|
|
203
|
+
};
|
|
204
|
+
some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
|
|
205
|
+
forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
|
|
206
|
+
map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
|
|
207
|
+
filter: {
|
|
208
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
|
|
209
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
|
|
210
|
+
};
|
|
211
|
+
reduce: {
|
|
212
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
213
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
214
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
215
|
+
};
|
|
216
|
+
reduceRight: {
|
|
217
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
218
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
219
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
220
|
+
};
|
|
221
|
+
find: {
|
|
222
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
223
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
224
|
+
};
|
|
225
|
+
findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
226
|
+
fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
227
|
+
copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
228
|
+
entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
|
|
229
|
+
keys: () => ArrayIterator<number>;
|
|
230
|
+
values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
231
|
+
includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
|
|
232
|
+
flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
|
|
233
|
+
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
|
234
|
+
at: (index: number) => import("json-schema").JSONSchema4Type;
|
|
235
|
+
findLast: {
|
|
236
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
237
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
238
|
+
};
|
|
239
|
+
findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
240
|
+
toReversed: () => import("json-schema").JSONSchema4Type[];
|
|
241
|
+
toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
|
|
242
|
+
toSpliced: {
|
|
243
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
244
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
245
|
+
};
|
|
246
|
+
with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
|
|
247
|
+
[Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
248
|
+
readonly [Symbol.unscopables]: {
|
|
249
|
+
[x: number]: boolean;
|
|
250
|
+
length?: boolean;
|
|
251
|
+
toString?: boolean;
|
|
252
|
+
toLocaleString?: boolean;
|
|
253
|
+
pop?: boolean;
|
|
254
|
+
push?: boolean;
|
|
255
|
+
concat?: boolean;
|
|
256
|
+
join?: boolean;
|
|
257
|
+
reverse?: boolean;
|
|
258
|
+
shift?: boolean;
|
|
259
|
+
slice?: boolean;
|
|
260
|
+
sort?: boolean;
|
|
261
|
+
splice?: boolean;
|
|
262
|
+
unshift?: boolean;
|
|
263
|
+
indexOf?: boolean;
|
|
264
|
+
lastIndexOf?: boolean;
|
|
265
|
+
every?: boolean;
|
|
266
|
+
some?: boolean;
|
|
267
|
+
forEach?: boolean;
|
|
268
|
+
map?: boolean;
|
|
269
|
+
filter?: boolean;
|
|
270
|
+
reduce?: boolean;
|
|
271
|
+
reduceRight?: boolean;
|
|
272
|
+
find?: boolean;
|
|
273
|
+
findIndex?: boolean;
|
|
274
|
+
fill?: boolean;
|
|
275
|
+
copyWithin?: boolean;
|
|
276
|
+
entries?: boolean;
|
|
277
|
+
keys?: boolean;
|
|
278
|
+
values?: boolean;
|
|
279
|
+
includes?: boolean;
|
|
280
|
+
flatMap?: boolean;
|
|
281
|
+
flat?: boolean;
|
|
282
|
+
at?: boolean;
|
|
283
|
+
findLast?: boolean;
|
|
284
|
+
findLastIndex?: boolean;
|
|
285
|
+
toReversed?: boolean;
|
|
286
|
+
toSorted?: boolean;
|
|
287
|
+
toSpliced?: boolean;
|
|
288
|
+
with?: boolean;
|
|
289
|
+
[Symbol.iterator]?: boolean;
|
|
290
|
+
readonly [Symbol.unscopables]?: boolean;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
multipleOf?: number | undefined;
|
|
294
|
+
maximum?: number | undefined;
|
|
295
|
+
exclusiveMaximum?: boolean | undefined;
|
|
296
|
+
minimum?: number | undefined;
|
|
297
|
+
exclusiveMinimum?: boolean | undefined;
|
|
298
|
+
maxLength?: number | undefined;
|
|
299
|
+
minLength?: number | undefined;
|
|
300
|
+
pattern?: string | undefined;
|
|
301
|
+
additionalItems?: boolean | /*elided*/ any;
|
|
302
|
+
items?: /*elided*/ any | /*elided*/ any[];
|
|
303
|
+
maxItems?: number | undefined;
|
|
304
|
+
minItems?: number | undefined;
|
|
305
|
+
uniqueItems?: boolean | undefined;
|
|
306
|
+
maxProperties?: number | undefined;
|
|
307
|
+
minProperties?: number | undefined;
|
|
308
|
+
required?: boolean | string[] | undefined;
|
|
309
|
+
additionalProperties?: boolean | /*elided*/ any;
|
|
310
|
+
definitions?: {
|
|
311
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
312
|
+
} | undefined;
|
|
313
|
+
properties?: {
|
|
314
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
315
|
+
} | undefined;
|
|
316
|
+
patternProperties?: {
|
|
317
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
318
|
+
} | undefined;
|
|
319
|
+
dependencies?: {
|
|
320
|
+
[k: string]: import("json-schema").JSONSchema4 | string[];
|
|
321
|
+
} | undefined;
|
|
322
|
+
enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
|
|
323
|
+
[x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
|
|
324
|
+
length: number;
|
|
325
|
+
toString: () => string;
|
|
326
|
+
toLocaleString: {
|
|
327
|
+
(): string;
|
|
328
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
|
329
|
+
};
|
|
330
|
+
pop: () => import("json-schema").JSONSchema4Type;
|
|
331
|
+
push: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
332
|
+
concat: {
|
|
333
|
+
(...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
|
|
334
|
+
(...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
|
|
335
|
+
};
|
|
336
|
+
join: (separator?: string) => string;
|
|
337
|
+
reverse: () => import("json-schema").JSONSchema4Type[];
|
|
338
|
+
shift: () => import("json-schema").JSONSchema4Type;
|
|
339
|
+
slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
|
|
340
|
+
sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
|
|
341
|
+
splice: {
|
|
342
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
343
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
344
|
+
};
|
|
345
|
+
unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
346
|
+
indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
347
|
+
lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
348
|
+
every: {
|
|
349
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
|
|
350
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
|
|
351
|
+
};
|
|
352
|
+
some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
|
|
353
|
+
forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
|
|
354
|
+
map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
|
|
355
|
+
filter: {
|
|
356
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
|
|
357
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
|
|
358
|
+
};
|
|
359
|
+
reduce: {
|
|
360
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
361
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
362
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
363
|
+
};
|
|
364
|
+
reduceRight: {
|
|
365
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
366
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
367
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
368
|
+
};
|
|
369
|
+
find: {
|
|
370
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
371
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
372
|
+
};
|
|
373
|
+
findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
374
|
+
fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
375
|
+
copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
376
|
+
entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
|
|
377
|
+
keys: () => ArrayIterator<number>;
|
|
378
|
+
values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
379
|
+
includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
|
|
380
|
+
flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
|
|
381
|
+
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
|
382
|
+
at: (index: number) => import("json-schema").JSONSchema4Type;
|
|
383
|
+
findLast: {
|
|
384
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
385
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
386
|
+
};
|
|
387
|
+
findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
388
|
+
toReversed: () => import("json-schema").JSONSchema4Type[];
|
|
389
|
+
toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
|
|
390
|
+
toSpliced: {
|
|
391
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
392
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
393
|
+
};
|
|
394
|
+
with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
|
|
395
|
+
[Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
396
|
+
readonly [Symbol.unscopables]: {
|
|
397
|
+
[x: number]: boolean;
|
|
398
|
+
length?: boolean;
|
|
399
|
+
toString?: boolean;
|
|
400
|
+
toLocaleString?: boolean;
|
|
401
|
+
pop?: boolean;
|
|
402
|
+
push?: boolean;
|
|
403
|
+
concat?: boolean;
|
|
404
|
+
join?: boolean;
|
|
405
|
+
reverse?: boolean;
|
|
406
|
+
shift?: boolean;
|
|
407
|
+
slice?: boolean;
|
|
408
|
+
sort?: boolean;
|
|
409
|
+
splice?: boolean;
|
|
410
|
+
unshift?: boolean;
|
|
411
|
+
indexOf?: boolean;
|
|
412
|
+
lastIndexOf?: boolean;
|
|
413
|
+
every?: boolean;
|
|
414
|
+
some?: boolean;
|
|
415
|
+
forEach?: boolean;
|
|
416
|
+
map?: boolean;
|
|
417
|
+
filter?: boolean;
|
|
418
|
+
reduce?: boolean;
|
|
419
|
+
reduceRight?: boolean;
|
|
420
|
+
find?: boolean;
|
|
421
|
+
findIndex?: boolean;
|
|
422
|
+
fill?: boolean;
|
|
423
|
+
copyWithin?: boolean;
|
|
424
|
+
entries?: boolean;
|
|
425
|
+
keys?: boolean;
|
|
426
|
+
values?: boolean;
|
|
427
|
+
includes?: boolean;
|
|
428
|
+
flatMap?: boolean;
|
|
429
|
+
flat?: boolean;
|
|
430
|
+
at?: boolean;
|
|
431
|
+
findLast?: boolean;
|
|
432
|
+
findLastIndex?: boolean;
|
|
433
|
+
toReversed?: boolean;
|
|
434
|
+
toSorted?: boolean;
|
|
435
|
+
toSpliced?: boolean;
|
|
436
|
+
with?: boolean;
|
|
437
|
+
[Symbol.iterator]?: boolean;
|
|
438
|
+
readonly [Symbol.unscopables]?: boolean;
|
|
439
|
+
};
|
|
440
|
+
})[];
|
|
441
|
+
type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
|
|
442
|
+
allOf?: /*elided*/ any[];
|
|
443
|
+
anyOf?: /*elided*/ any[];
|
|
444
|
+
oneOf?: /*elided*/ any[];
|
|
445
|
+
not?: /*elided*/ any;
|
|
446
|
+
extends?: string | string[] | undefined;
|
|
447
|
+
format?: string | undefined;
|
|
448
|
+
};
|
|
449
|
+
expiresAt?: string;
|
|
450
|
+
metadata?: {
|
|
451
|
+
ticket: {
|
|
452
|
+
approvers: string[];
|
|
453
|
+
sn: string;
|
|
454
|
+
status: ApprovalInterruptTicketStatus;
|
|
455
|
+
submit_time: string;
|
|
456
|
+
title: string;
|
|
457
|
+
url: string;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
} | {
|
|
461
|
+
id: string;
|
|
462
|
+
reason: import("../event").InterruptReason.UserQuestion;
|
|
463
|
+
message?: string;
|
|
464
|
+
toolCallId?: string;
|
|
465
|
+
responseSchema?: {
|
|
466
|
+
[x: string]: any;
|
|
467
|
+
id?: string | undefined;
|
|
468
|
+
$ref?: string | undefined;
|
|
469
|
+
$schema?: import("json-schema").JSONSchema4Version | undefined;
|
|
470
|
+
title?: string | undefined;
|
|
471
|
+
description?: string | undefined;
|
|
472
|
+
default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
|
|
473
|
+
[x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
|
|
474
|
+
length: number;
|
|
475
|
+
toString: () => string;
|
|
476
|
+
toLocaleString: {
|
|
477
|
+
(): string;
|
|
478
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
|
479
|
+
};
|
|
480
|
+
pop: () => import("json-schema").JSONSchema4Type;
|
|
481
|
+
push: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
482
|
+
concat: {
|
|
483
|
+
(...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
|
|
484
|
+
(...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
|
|
485
|
+
};
|
|
486
|
+
join: (separator?: string) => string;
|
|
487
|
+
reverse: () => import("json-schema").JSONSchema4Type[];
|
|
488
|
+
shift: () => import("json-schema").JSONSchema4Type;
|
|
489
|
+
slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
|
|
490
|
+
sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
|
|
491
|
+
splice: {
|
|
492
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
493
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
494
|
+
};
|
|
495
|
+
unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
496
|
+
indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
497
|
+
lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
498
|
+
every: {
|
|
499
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
|
|
500
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
|
|
501
|
+
};
|
|
502
|
+
some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
|
|
503
|
+
forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
|
|
504
|
+
map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
|
|
505
|
+
filter: {
|
|
506
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
|
|
507
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
|
|
508
|
+
};
|
|
509
|
+
reduce: {
|
|
510
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
511
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
512
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
513
|
+
};
|
|
514
|
+
reduceRight: {
|
|
515
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
516
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
517
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
518
|
+
};
|
|
519
|
+
find: {
|
|
520
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
521
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
522
|
+
};
|
|
523
|
+
findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
524
|
+
fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
525
|
+
copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
526
|
+
entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
|
|
527
|
+
keys: () => ArrayIterator<number>;
|
|
528
|
+
values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
529
|
+
includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
|
|
530
|
+
flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
|
|
531
|
+
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
|
532
|
+
at: (index: number) => import("json-schema").JSONSchema4Type;
|
|
533
|
+
findLast: {
|
|
534
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
535
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
536
|
+
};
|
|
537
|
+
findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
538
|
+
toReversed: () => import("json-schema").JSONSchema4Type[];
|
|
539
|
+
toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
|
|
540
|
+
toSpliced: {
|
|
541
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
542
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
543
|
+
};
|
|
544
|
+
with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
|
|
545
|
+
[Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
546
|
+
readonly [Symbol.unscopables]: {
|
|
547
|
+
[x: number]: boolean;
|
|
548
|
+
length?: boolean;
|
|
549
|
+
toString?: boolean;
|
|
550
|
+
toLocaleString?: boolean;
|
|
551
|
+
pop?: boolean;
|
|
552
|
+
push?: boolean;
|
|
553
|
+
concat?: boolean;
|
|
554
|
+
join?: boolean;
|
|
555
|
+
reverse?: boolean;
|
|
556
|
+
shift?: boolean;
|
|
557
|
+
slice?: boolean;
|
|
558
|
+
sort?: boolean;
|
|
559
|
+
splice?: boolean;
|
|
560
|
+
unshift?: boolean;
|
|
561
|
+
indexOf?: boolean;
|
|
562
|
+
lastIndexOf?: boolean;
|
|
563
|
+
every?: boolean;
|
|
564
|
+
some?: boolean;
|
|
565
|
+
forEach?: boolean;
|
|
566
|
+
map?: boolean;
|
|
567
|
+
filter?: boolean;
|
|
568
|
+
reduce?: boolean;
|
|
569
|
+
reduceRight?: boolean;
|
|
570
|
+
find?: boolean;
|
|
571
|
+
findIndex?: boolean;
|
|
572
|
+
fill?: boolean;
|
|
573
|
+
copyWithin?: boolean;
|
|
574
|
+
entries?: boolean;
|
|
575
|
+
keys?: boolean;
|
|
576
|
+
values?: boolean;
|
|
577
|
+
includes?: boolean;
|
|
578
|
+
flatMap?: boolean;
|
|
579
|
+
flat?: boolean;
|
|
580
|
+
at?: boolean;
|
|
581
|
+
findLast?: boolean;
|
|
582
|
+
findLastIndex?: boolean;
|
|
583
|
+
toReversed?: boolean;
|
|
584
|
+
toSorted?: boolean;
|
|
585
|
+
toSpliced?: boolean;
|
|
586
|
+
with?: boolean;
|
|
587
|
+
[Symbol.iterator]?: boolean;
|
|
588
|
+
readonly [Symbol.unscopables]?: boolean;
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
multipleOf?: number | undefined;
|
|
592
|
+
maximum?: number | undefined;
|
|
593
|
+
exclusiveMaximum?: boolean | undefined;
|
|
594
|
+
minimum?: number | undefined;
|
|
595
|
+
exclusiveMinimum?: boolean | undefined;
|
|
596
|
+
maxLength?: number | undefined;
|
|
597
|
+
minLength?: number | undefined;
|
|
598
|
+
pattern?: string | undefined;
|
|
599
|
+
additionalItems?: boolean | /*elided*/ any;
|
|
600
|
+
items?: /*elided*/ any | /*elided*/ any[];
|
|
601
|
+
maxItems?: number | undefined;
|
|
602
|
+
minItems?: number | undefined;
|
|
603
|
+
uniqueItems?: boolean | undefined;
|
|
604
|
+
maxProperties?: number | undefined;
|
|
605
|
+
minProperties?: number | undefined;
|
|
606
|
+
required?: boolean | string[] | undefined;
|
|
607
|
+
additionalProperties?: boolean | /*elided*/ any;
|
|
608
|
+
definitions?: {
|
|
609
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
610
|
+
} | undefined;
|
|
611
|
+
properties?: {
|
|
612
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
613
|
+
} | undefined;
|
|
614
|
+
patternProperties?: {
|
|
615
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
616
|
+
} | undefined;
|
|
617
|
+
dependencies?: {
|
|
618
|
+
[k: string]: import("json-schema").JSONSchema4 | string[];
|
|
619
|
+
} | undefined;
|
|
620
|
+
enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
|
|
621
|
+
[x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
|
|
622
|
+
length: number;
|
|
623
|
+
toString: () => string;
|
|
624
|
+
toLocaleString: {
|
|
625
|
+
(): string;
|
|
626
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
|
627
|
+
};
|
|
628
|
+
pop: () => import("json-schema").JSONSchema4Type;
|
|
629
|
+
push: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
630
|
+
concat: {
|
|
631
|
+
(...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
|
|
632
|
+
(...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
|
|
633
|
+
};
|
|
634
|
+
join: (separator?: string) => string;
|
|
635
|
+
reverse: () => import("json-schema").JSONSchema4Type[];
|
|
636
|
+
shift: () => import("json-schema").JSONSchema4Type;
|
|
637
|
+
slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
|
|
638
|
+
sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
|
|
639
|
+
splice: {
|
|
640
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
641
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
642
|
+
};
|
|
643
|
+
unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
644
|
+
indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
645
|
+
lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
646
|
+
every: {
|
|
647
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
|
|
648
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
|
|
649
|
+
};
|
|
650
|
+
some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
|
|
651
|
+
forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
|
|
652
|
+
map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
|
|
653
|
+
filter: {
|
|
654
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
|
|
655
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
|
|
656
|
+
};
|
|
657
|
+
reduce: {
|
|
658
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
659
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
660
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
661
|
+
};
|
|
662
|
+
reduceRight: {
|
|
663
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
664
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
665
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
666
|
+
};
|
|
667
|
+
find: {
|
|
668
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
669
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
670
|
+
};
|
|
671
|
+
findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
672
|
+
fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
673
|
+
copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
674
|
+
entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
|
|
675
|
+
keys: () => ArrayIterator<number>;
|
|
676
|
+
values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
677
|
+
includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
|
|
678
|
+
flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
|
|
679
|
+
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
|
680
|
+
at: (index: number) => import("json-schema").JSONSchema4Type;
|
|
681
|
+
findLast: {
|
|
682
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
683
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
684
|
+
};
|
|
685
|
+
findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
686
|
+
toReversed: () => import("json-schema").JSONSchema4Type[];
|
|
687
|
+
toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
|
|
688
|
+
toSpliced: {
|
|
689
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
690
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
691
|
+
};
|
|
692
|
+
with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
|
|
693
|
+
[Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
694
|
+
readonly [Symbol.unscopables]: {
|
|
695
|
+
[x: number]: boolean;
|
|
696
|
+
length?: boolean;
|
|
697
|
+
toString?: boolean;
|
|
698
|
+
toLocaleString?: boolean;
|
|
699
|
+
pop?: boolean;
|
|
700
|
+
push?: boolean;
|
|
701
|
+
concat?: boolean;
|
|
702
|
+
join?: boolean;
|
|
703
|
+
reverse?: boolean;
|
|
704
|
+
shift?: boolean;
|
|
705
|
+
slice?: boolean;
|
|
706
|
+
sort?: boolean;
|
|
707
|
+
splice?: boolean;
|
|
708
|
+
unshift?: boolean;
|
|
709
|
+
indexOf?: boolean;
|
|
710
|
+
lastIndexOf?: boolean;
|
|
711
|
+
every?: boolean;
|
|
712
|
+
some?: boolean;
|
|
713
|
+
forEach?: boolean;
|
|
714
|
+
map?: boolean;
|
|
715
|
+
filter?: boolean;
|
|
716
|
+
reduce?: boolean;
|
|
717
|
+
reduceRight?: boolean;
|
|
718
|
+
find?: boolean;
|
|
719
|
+
findIndex?: boolean;
|
|
720
|
+
fill?: boolean;
|
|
721
|
+
copyWithin?: boolean;
|
|
722
|
+
entries?: boolean;
|
|
723
|
+
keys?: boolean;
|
|
724
|
+
values?: boolean;
|
|
725
|
+
includes?: boolean;
|
|
726
|
+
flatMap?: boolean;
|
|
727
|
+
flat?: boolean;
|
|
728
|
+
at?: boolean;
|
|
729
|
+
findLast?: boolean;
|
|
730
|
+
findLastIndex?: boolean;
|
|
731
|
+
toReversed?: boolean;
|
|
732
|
+
toSorted?: boolean;
|
|
733
|
+
toSpliced?: boolean;
|
|
734
|
+
with?: boolean;
|
|
735
|
+
[Symbol.iterator]?: boolean;
|
|
736
|
+
readonly [Symbol.unscopables]?: boolean;
|
|
737
|
+
};
|
|
738
|
+
})[];
|
|
739
|
+
type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
|
|
740
|
+
allOf?: /*elided*/ any[];
|
|
741
|
+
anyOf?: /*elided*/ any[];
|
|
742
|
+
oneOf?: /*elided*/ any[];
|
|
743
|
+
not?: /*elided*/ any;
|
|
744
|
+
extends?: string | string[] | undefined;
|
|
745
|
+
format?: string | undefined;
|
|
746
|
+
};
|
|
747
|
+
expiresAt?: string;
|
|
748
|
+
metadata?: {
|
|
749
|
+
questions: {
|
|
750
|
+
header: string;
|
|
751
|
+
multiSelect?: boolean;
|
|
752
|
+
options?: {
|
|
753
|
+
description: string;
|
|
754
|
+
label: string;
|
|
755
|
+
}[];
|
|
756
|
+
question: string;
|
|
757
|
+
}[];
|
|
758
|
+
};
|
|
759
|
+
})[];
|
|
760
|
+
};
|
|
761
|
+
timestamp?: number;
|
|
762
|
+
};
|
|
763
|
+
role: MessageRole.Interrupt;
|
|
764
|
+
id?: string;
|
|
765
|
+
messageId?: string;
|
|
766
|
+
name?: string;
|
|
767
|
+
sessionCode?: string;
|
|
768
|
+
status: MessageStatus;
|
|
138
769
|
} | {
|
|
139
770
|
content: string;
|
|
140
771
|
role: MessageRole.Guide;
|
|
@@ -441,6 +1072,636 @@ export declare const useAgent: (mediator: IMediatorModule, protocol: ISSEProtoco
|
|
|
441
1072
|
name?: string;
|
|
442
1073
|
sessionCode?: string;
|
|
443
1074
|
status: MessageStatus;
|
|
1075
|
+
} | {
|
|
1076
|
+
content: {
|
|
1077
|
+
result?: {
|
|
1078
|
+
interruptId: string;
|
|
1079
|
+
status: import("../event").ResumeStatus;
|
|
1080
|
+
payload: {
|
|
1081
|
+
answers: {
|
|
1082
|
+
answer: {
|
|
1083
|
+
description: string;
|
|
1084
|
+
label: string;
|
|
1085
|
+
}[];
|
|
1086
|
+
multiSelect?: boolean;
|
|
1087
|
+
question: string;
|
|
1088
|
+
}[];
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
runId: number;
|
|
1092
|
+
threadId: string;
|
|
1093
|
+
type: import("../event").EventType.RunFinished;
|
|
1094
|
+
outcome?: {
|
|
1095
|
+
type: RunFinishedOutcomeType.Success;
|
|
1096
|
+
} | {
|
|
1097
|
+
type: RunFinishedOutcomeType.Interrupt;
|
|
1098
|
+
interrupts: ({
|
|
1099
|
+
id: string;
|
|
1100
|
+
reason: import("../event").InterruptReason.AIDevToolApproval;
|
|
1101
|
+
message?: string;
|
|
1102
|
+
toolCallId?: string;
|
|
1103
|
+
responseSchema?: {
|
|
1104
|
+
[x: string]: any;
|
|
1105
|
+
id?: string | undefined;
|
|
1106
|
+
$ref?: string | undefined;
|
|
1107
|
+
$schema?: import("json-schema").JSONSchema4Version | undefined;
|
|
1108
|
+
title?: string | undefined;
|
|
1109
|
+
description?: string | undefined;
|
|
1110
|
+
default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
|
|
1111
|
+
[x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
|
|
1112
|
+
length: number;
|
|
1113
|
+
toString: () => string;
|
|
1114
|
+
toLocaleString: {
|
|
1115
|
+
(): string;
|
|
1116
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
|
1117
|
+
};
|
|
1118
|
+
pop: () => import("json-schema").JSONSchema4Type;
|
|
1119
|
+
push: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
1120
|
+
concat: {
|
|
1121
|
+
(...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
|
|
1122
|
+
(...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
|
|
1123
|
+
};
|
|
1124
|
+
join: (separator?: string) => string;
|
|
1125
|
+
reverse: () => import("json-schema").JSONSchema4Type[];
|
|
1126
|
+
shift: () => import("json-schema").JSONSchema4Type;
|
|
1127
|
+
slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
|
|
1128
|
+
sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
|
|
1129
|
+
splice: {
|
|
1130
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
1131
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
1132
|
+
};
|
|
1133
|
+
unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
1134
|
+
indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
1135
|
+
lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
1136
|
+
every: {
|
|
1137
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
|
|
1138
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
|
|
1139
|
+
};
|
|
1140
|
+
some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
|
|
1141
|
+
forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
|
|
1142
|
+
map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
|
|
1143
|
+
filter: {
|
|
1144
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
|
|
1145
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
|
|
1146
|
+
};
|
|
1147
|
+
reduce: {
|
|
1148
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1149
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1150
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
1151
|
+
};
|
|
1152
|
+
reduceRight: {
|
|
1153
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1154
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1155
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
1156
|
+
};
|
|
1157
|
+
find: {
|
|
1158
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
1159
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
1160
|
+
};
|
|
1161
|
+
findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
1162
|
+
fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
1163
|
+
copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
1164
|
+
entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
|
|
1165
|
+
keys: () => ArrayIterator<number>;
|
|
1166
|
+
values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
1167
|
+
includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
|
|
1168
|
+
flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
|
|
1169
|
+
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
|
1170
|
+
at: (index: number) => import("json-schema").JSONSchema4Type;
|
|
1171
|
+
findLast: {
|
|
1172
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
1173
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
1174
|
+
};
|
|
1175
|
+
findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
1176
|
+
toReversed: () => import("json-schema").JSONSchema4Type[];
|
|
1177
|
+
toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
|
|
1178
|
+
toSpliced: {
|
|
1179
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
1180
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
1181
|
+
};
|
|
1182
|
+
with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
|
|
1183
|
+
[Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
1184
|
+
readonly [Symbol.unscopables]: {
|
|
1185
|
+
[x: number]: boolean;
|
|
1186
|
+
length?: boolean;
|
|
1187
|
+
toString?: boolean;
|
|
1188
|
+
toLocaleString?: boolean;
|
|
1189
|
+
pop?: boolean;
|
|
1190
|
+
push?: boolean;
|
|
1191
|
+
concat?: boolean;
|
|
1192
|
+
join?: boolean;
|
|
1193
|
+
reverse?: boolean;
|
|
1194
|
+
shift?: boolean;
|
|
1195
|
+
slice?: boolean;
|
|
1196
|
+
sort?: boolean;
|
|
1197
|
+
splice?: boolean;
|
|
1198
|
+
unshift?: boolean;
|
|
1199
|
+
indexOf?: boolean;
|
|
1200
|
+
lastIndexOf?: boolean;
|
|
1201
|
+
every?: boolean;
|
|
1202
|
+
some?: boolean;
|
|
1203
|
+
forEach?: boolean;
|
|
1204
|
+
map?: boolean;
|
|
1205
|
+
filter?: boolean;
|
|
1206
|
+
reduce?: boolean;
|
|
1207
|
+
reduceRight?: boolean;
|
|
1208
|
+
find?: boolean;
|
|
1209
|
+
findIndex?: boolean;
|
|
1210
|
+
fill?: boolean;
|
|
1211
|
+
copyWithin?: boolean;
|
|
1212
|
+
entries?: boolean;
|
|
1213
|
+
keys?: boolean;
|
|
1214
|
+
values?: boolean;
|
|
1215
|
+
includes?: boolean;
|
|
1216
|
+
flatMap?: boolean;
|
|
1217
|
+
flat?: boolean;
|
|
1218
|
+
at?: boolean;
|
|
1219
|
+
findLast?: boolean;
|
|
1220
|
+
findLastIndex?: boolean;
|
|
1221
|
+
toReversed?: boolean;
|
|
1222
|
+
toSorted?: boolean;
|
|
1223
|
+
toSpliced?: boolean;
|
|
1224
|
+
with?: boolean;
|
|
1225
|
+
[Symbol.iterator]?: boolean;
|
|
1226
|
+
readonly [Symbol.unscopables]?: boolean;
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
multipleOf?: number | undefined;
|
|
1230
|
+
maximum?: number | undefined;
|
|
1231
|
+
exclusiveMaximum?: boolean | undefined;
|
|
1232
|
+
minimum?: number | undefined;
|
|
1233
|
+
exclusiveMinimum?: boolean | undefined;
|
|
1234
|
+
maxLength?: number | undefined;
|
|
1235
|
+
minLength?: number | undefined;
|
|
1236
|
+
pattern?: string | undefined;
|
|
1237
|
+
additionalItems?: boolean | /*elided*/ any;
|
|
1238
|
+
items?: /*elided*/ any | /*elided*/ any[];
|
|
1239
|
+
maxItems?: number | undefined;
|
|
1240
|
+
minItems?: number | undefined;
|
|
1241
|
+
uniqueItems?: boolean | undefined;
|
|
1242
|
+
maxProperties?: number | undefined;
|
|
1243
|
+
minProperties?: number | undefined;
|
|
1244
|
+
required?: boolean | string[] | undefined;
|
|
1245
|
+
additionalProperties?: boolean | /*elided*/ any;
|
|
1246
|
+
definitions?: {
|
|
1247
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
1248
|
+
} | undefined;
|
|
1249
|
+
properties?: {
|
|
1250
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
1251
|
+
} | undefined;
|
|
1252
|
+
patternProperties?: {
|
|
1253
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
1254
|
+
} | undefined;
|
|
1255
|
+
dependencies?: {
|
|
1256
|
+
[k: string]: import("json-schema").JSONSchema4 | string[];
|
|
1257
|
+
} | undefined;
|
|
1258
|
+
enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
|
|
1259
|
+
[x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
|
|
1260
|
+
length: number;
|
|
1261
|
+
toString: () => string;
|
|
1262
|
+
toLocaleString: {
|
|
1263
|
+
(): string;
|
|
1264
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
|
1265
|
+
};
|
|
1266
|
+
pop: () => import("json-schema").JSONSchema4Type;
|
|
1267
|
+
push: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
1268
|
+
concat: {
|
|
1269
|
+
(...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
|
|
1270
|
+
(...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
|
|
1271
|
+
};
|
|
1272
|
+
join: (separator?: string) => string;
|
|
1273
|
+
reverse: () => import("json-schema").JSONSchema4Type[];
|
|
1274
|
+
shift: () => import("json-schema").JSONSchema4Type;
|
|
1275
|
+
slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
|
|
1276
|
+
sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
|
|
1277
|
+
splice: {
|
|
1278
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
1279
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
1280
|
+
};
|
|
1281
|
+
unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
1282
|
+
indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
1283
|
+
lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
1284
|
+
every: {
|
|
1285
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
|
|
1286
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
|
|
1287
|
+
};
|
|
1288
|
+
some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
|
|
1289
|
+
forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
|
|
1290
|
+
map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
|
|
1291
|
+
filter: {
|
|
1292
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
|
|
1293
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
|
|
1294
|
+
};
|
|
1295
|
+
reduce: {
|
|
1296
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1297
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1298
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
1299
|
+
};
|
|
1300
|
+
reduceRight: {
|
|
1301
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1302
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1303
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
1304
|
+
};
|
|
1305
|
+
find: {
|
|
1306
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
1307
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
1308
|
+
};
|
|
1309
|
+
findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
1310
|
+
fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
1311
|
+
copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
1312
|
+
entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
|
|
1313
|
+
keys: () => ArrayIterator<number>;
|
|
1314
|
+
values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
1315
|
+
includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
|
|
1316
|
+
flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
|
|
1317
|
+
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
|
1318
|
+
at: (index: number) => import("json-schema").JSONSchema4Type;
|
|
1319
|
+
findLast: {
|
|
1320
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
1321
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
1322
|
+
};
|
|
1323
|
+
findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
1324
|
+
toReversed: () => import("json-schema").JSONSchema4Type[];
|
|
1325
|
+
toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
|
|
1326
|
+
toSpliced: {
|
|
1327
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
1328
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
1329
|
+
};
|
|
1330
|
+
with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
|
|
1331
|
+
[Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
1332
|
+
readonly [Symbol.unscopables]: {
|
|
1333
|
+
[x: number]: boolean;
|
|
1334
|
+
length?: boolean;
|
|
1335
|
+
toString?: boolean;
|
|
1336
|
+
toLocaleString?: boolean;
|
|
1337
|
+
pop?: boolean;
|
|
1338
|
+
push?: boolean;
|
|
1339
|
+
concat?: boolean;
|
|
1340
|
+
join?: boolean;
|
|
1341
|
+
reverse?: boolean;
|
|
1342
|
+
shift?: boolean;
|
|
1343
|
+
slice?: boolean;
|
|
1344
|
+
sort?: boolean;
|
|
1345
|
+
splice?: boolean;
|
|
1346
|
+
unshift?: boolean;
|
|
1347
|
+
indexOf?: boolean;
|
|
1348
|
+
lastIndexOf?: boolean;
|
|
1349
|
+
every?: boolean;
|
|
1350
|
+
some?: boolean;
|
|
1351
|
+
forEach?: boolean;
|
|
1352
|
+
map?: boolean;
|
|
1353
|
+
filter?: boolean;
|
|
1354
|
+
reduce?: boolean;
|
|
1355
|
+
reduceRight?: boolean;
|
|
1356
|
+
find?: boolean;
|
|
1357
|
+
findIndex?: boolean;
|
|
1358
|
+
fill?: boolean;
|
|
1359
|
+
copyWithin?: boolean;
|
|
1360
|
+
entries?: boolean;
|
|
1361
|
+
keys?: boolean;
|
|
1362
|
+
values?: boolean;
|
|
1363
|
+
includes?: boolean;
|
|
1364
|
+
flatMap?: boolean;
|
|
1365
|
+
flat?: boolean;
|
|
1366
|
+
at?: boolean;
|
|
1367
|
+
findLast?: boolean;
|
|
1368
|
+
findLastIndex?: boolean;
|
|
1369
|
+
toReversed?: boolean;
|
|
1370
|
+
toSorted?: boolean;
|
|
1371
|
+
toSpliced?: boolean;
|
|
1372
|
+
with?: boolean;
|
|
1373
|
+
[Symbol.iterator]?: boolean;
|
|
1374
|
+
readonly [Symbol.unscopables]?: boolean;
|
|
1375
|
+
};
|
|
1376
|
+
})[];
|
|
1377
|
+
type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
|
|
1378
|
+
allOf?: /*elided*/ any[];
|
|
1379
|
+
anyOf?: /*elided*/ any[];
|
|
1380
|
+
oneOf?: /*elided*/ any[];
|
|
1381
|
+
not?: /*elided*/ any;
|
|
1382
|
+
extends?: string | string[] | undefined;
|
|
1383
|
+
format?: string | undefined;
|
|
1384
|
+
};
|
|
1385
|
+
expiresAt?: string;
|
|
1386
|
+
metadata?: {
|
|
1387
|
+
ticket: {
|
|
1388
|
+
approvers: string[];
|
|
1389
|
+
sn: string;
|
|
1390
|
+
status: ApprovalInterruptTicketStatus;
|
|
1391
|
+
submit_time: string;
|
|
1392
|
+
title: string;
|
|
1393
|
+
url: string;
|
|
1394
|
+
};
|
|
1395
|
+
};
|
|
1396
|
+
} | {
|
|
1397
|
+
id: string;
|
|
1398
|
+
reason: import("../event").InterruptReason.UserQuestion;
|
|
1399
|
+
message?: string;
|
|
1400
|
+
toolCallId?: string;
|
|
1401
|
+
responseSchema?: {
|
|
1402
|
+
[x: string]: any;
|
|
1403
|
+
id?: string | undefined;
|
|
1404
|
+
$ref?: string | undefined;
|
|
1405
|
+
$schema?: import("json-schema").JSONSchema4Version | undefined;
|
|
1406
|
+
title?: string | undefined;
|
|
1407
|
+
description?: string | undefined;
|
|
1408
|
+
default?: string | number | boolean | import("json-schema").JSONSchema4Object | {
|
|
1409
|
+
[x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
|
|
1410
|
+
length: number;
|
|
1411
|
+
toString: () => string;
|
|
1412
|
+
toLocaleString: {
|
|
1413
|
+
(): string;
|
|
1414
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
|
1415
|
+
};
|
|
1416
|
+
pop: () => import("json-schema").JSONSchema4Type;
|
|
1417
|
+
push: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
1418
|
+
concat: {
|
|
1419
|
+
(...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
|
|
1420
|
+
(...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
|
|
1421
|
+
};
|
|
1422
|
+
join: (separator?: string) => string;
|
|
1423
|
+
reverse: () => import("json-schema").JSONSchema4Type[];
|
|
1424
|
+
shift: () => import("json-schema").JSONSchema4Type;
|
|
1425
|
+
slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
|
|
1426
|
+
sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
|
|
1427
|
+
splice: {
|
|
1428
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
1429
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
1430
|
+
};
|
|
1431
|
+
unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
1432
|
+
indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
1433
|
+
lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
1434
|
+
every: {
|
|
1435
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
|
|
1436
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
|
|
1437
|
+
};
|
|
1438
|
+
some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
|
|
1439
|
+
forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
|
|
1440
|
+
map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
|
|
1441
|
+
filter: {
|
|
1442
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
|
|
1443
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
|
|
1444
|
+
};
|
|
1445
|
+
reduce: {
|
|
1446
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1447
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1448
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
1449
|
+
};
|
|
1450
|
+
reduceRight: {
|
|
1451
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1452
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1453
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
1454
|
+
};
|
|
1455
|
+
find: {
|
|
1456
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
1457
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
1458
|
+
};
|
|
1459
|
+
findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
1460
|
+
fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
1461
|
+
copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
1462
|
+
entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
|
|
1463
|
+
keys: () => ArrayIterator<number>;
|
|
1464
|
+
values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
1465
|
+
includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
|
|
1466
|
+
flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
|
|
1467
|
+
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
|
1468
|
+
at: (index: number) => import("json-schema").JSONSchema4Type;
|
|
1469
|
+
findLast: {
|
|
1470
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
1471
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
1472
|
+
};
|
|
1473
|
+
findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
1474
|
+
toReversed: () => import("json-schema").JSONSchema4Type[];
|
|
1475
|
+
toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
|
|
1476
|
+
toSpliced: {
|
|
1477
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
1478
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
1479
|
+
};
|
|
1480
|
+
with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
|
|
1481
|
+
[Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
1482
|
+
readonly [Symbol.unscopables]: {
|
|
1483
|
+
[x: number]: boolean;
|
|
1484
|
+
length?: boolean;
|
|
1485
|
+
toString?: boolean;
|
|
1486
|
+
toLocaleString?: boolean;
|
|
1487
|
+
pop?: boolean;
|
|
1488
|
+
push?: boolean;
|
|
1489
|
+
concat?: boolean;
|
|
1490
|
+
join?: boolean;
|
|
1491
|
+
reverse?: boolean;
|
|
1492
|
+
shift?: boolean;
|
|
1493
|
+
slice?: boolean;
|
|
1494
|
+
sort?: boolean;
|
|
1495
|
+
splice?: boolean;
|
|
1496
|
+
unshift?: boolean;
|
|
1497
|
+
indexOf?: boolean;
|
|
1498
|
+
lastIndexOf?: boolean;
|
|
1499
|
+
every?: boolean;
|
|
1500
|
+
some?: boolean;
|
|
1501
|
+
forEach?: boolean;
|
|
1502
|
+
map?: boolean;
|
|
1503
|
+
filter?: boolean;
|
|
1504
|
+
reduce?: boolean;
|
|
1505
|
+
reduceRight?: boolean;
|
|
1506
|
+
find?: boolean;
|
|
1507
|
+
findIndex?: boolean;
|
|
1508
|
+
fill?: boolean;
|
|
1509
|
+
copyWithin?: boolean;
|
|
1510
|
+
entries?: boolean;
|
|
1511
|
+
keys?: boolean;
|
|
1512
|
+
values?: boolean;
|
|
1513
|
+
includes?: boolean;
|
|
1514
|
+
flatMap?: boolean;
|
|
1515
|
+
flat?: boolean;
|
|
1516
|
+
at?: boolean;
|
|
1517
|
+
findLast?: boolean;
|
|
1518
|
+
findLastIndex?: boolean;
|
|
1519
|
+
toReversed?: boolean;
|
|
1520
|
+
toSorted?: boolean;
|
|
1521
|
+
toSpliced?: boolean;
|
|
1522
|
+
with?: boolean;
|
|
1523
|
+
[Symbol.iterator]?: boolean;
|
|
1524
|
+
readonly [Symbol.unscopables]?: boolean;
|
|
1525
|
+
};
|
|
1526
|
+
};
|
|
1527
|
+
multipleOf?: number | undefined;
|
|
1528
|
+
maximum?: number | undefined;
|
|
1529
|
+
exclusiveMaximum?: boolean | undefined;
|
|
1530
|
+
minimum?: number | undefined;
|
|
1531
|
+
exclusiveMinimum?: boolean | undefined;
|
|
1532
|
+
maxLength?: number | undefined;
|
|
1533
|
+
minLength?: number | undefined;
|
|
1534
|
+
pattern?: string | undefined;
|
|
1535
|
+
additionalItems?: boolean | /*elided*/ any;
|
|
1536
|
+
items?: /*elided*/ any | /*elided*/ any[];
|
|
1537
|
+
maxItems?: number | undefined;
|
|
1538
|
+
minItems?: number | undefined;
|
|
1539
|
+
uniqueItems?: boolean | undefined;
|
|
1540
|
+
maxProperties?: number | undefined;
|
|
1541
|
+
minProperties?: number | undefined;
|
|
1542
|
+
required?: boolean | string[] | undefined;
|
|
1543
|
+
additionalProperties?: boolean | /*elided*/ any;
|
|
1544
|
+
definitions?: {
|
|
1545
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
1546
|
+
} | undefined;
|
|
1547
|
+
properties?: {
|
|
1548
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
1549
|
+
} | undefined;
|
|
1550
|
+
patternProperties?: {
|
|
1551
|
+
[k: string]: import("json-schema").JSONSchema4;
|
|
1552
|
+
} | undefined;
|
|
1553
|
+
dependencies?: {
|
|
1554
|
+
[k: string]: import("json-schema").JSONSchema4 | string[];
|
|
1555
|
+
} | undefined;
|
|
1556
|
+
enum?: (string | number | boolean | import("json-schema").JSONSchema4Object | {
|
|
1557
|
+
[x: number]: string | number | boolean | import("json-schema").JSONSchema4Object | /*elided*/ any;
|
|
1558
|
+
length: number;
|
|
1559
|
+
toString: () => string;
|
|
1560
|
+
toLocaleString: {
|
|
1561
|
+
(): string;
|
|
1562
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
|
1563
|
+
};
|
|
1564
|
+
pop: () => import("json-schema").JSONSchema4Type;
|
|
1565
|
+
push: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
1566
|
+
concat: {
|
|
1567
|
+
(...items: ConcatArray<import("json-schema").JSONSchema4Type>[]): import("json-schema").JSONSchema4Type[];
|
|
1568
|
+
(...items: (import("json-schema").JSONSchema4Type | ConcatArray<import("json-schema").JSONSchema4Type>)[]): import("json-schema").JSONSchema4Type[];
|
|
1569
|
+
};
|
|
1570
|
+
join: (separator?: string) => string;
|
|
1571
|
+
reverse: () => import("json-schema").JSONSchema4Type[];
|
|
1572
|
+
shift: () => import("json-schema").JSONSchema4Type;
|
|
1573
|
+
slice: (start?: number, end?: number) => import("json-schema").JSONSchema4Type[];
|
|
1574
|
+
sort: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Array;
|
|
1575
|
+
splice: {
|
|
1576
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
1577
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
1578
|
+
};
|
|
1579
|
+
unshift: (...items: import("json-schema").JSONSchema4Type[]) => number;
|
|
1580
|
+
indexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
1581
|
+
lastIndexOf: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => number;
|
|
1582
|
+
every: {
|
|
1583
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): this is S[];
|
|
1584
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): boolean;
|
|
1585
|
+
};
|
|
1586
|
+
some: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => boolean;
|
|
1587
|
+
forEach: (callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => void, thisArg?: any) => void;
|
|
1588
|
+
map: <U>(callbackfn: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U, thisArg?: any) => U[];
|
|
1589
|
+
filter: {
|
|
1590
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S[];
|
|
1591
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type[];
|
|
1592
|
+
};
|
|
1593
|
+
reduce: {
|
|
1594
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1595
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1596
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
1597
|
+
};
|
|
1598
|
+
reduceRight: {
|
|
1599
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1600
|
+
(callbackfn: (previousValue: import("json-schema").JSONSchema4Type, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => import("json-schema").JSONSchema4Type, initialValue: import("json-schema").JSONSchema4Type): import("json-schema").JSONSchema4Type;
|
|
1601
|
+
<U>(callbackfn: (previousValue: U, currentValue: import("json-schema").JSONSchema4Type, currentIndex: number, array: import("json-schema").JSONSchema4Type[]) => U, initialValue: U): U;
|
|
1602
|
+
};
|
|
1603
|
+
find: {
|
|
1604
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
1605
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
1606
|
+
};
|
|
1607
|
+
findIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, obj: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
1608
|
+
fill: (value: import("json-schema").JSONSchema4Type, start?: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
1609
|
+
copyWithin: (target: number, start: number, end?: number) => import("json-schema").JSONSchema4Array;
|
|
1610
|
+
entries: () => ArrayIterator<[number, import("json-schema").JSONSchema4Type]>;
|
|
1611
|
+
keys: () => ArrayIterator<number>;
|
|
1612
|
+
values: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
1613
|
+
includes: (searchElement: import("json-schema").JSONSchema4Type, fromIndex?: number) => boolean;
|
|
1614
|
+
flatMap: <U, This = undefined>(callback: (this: This, value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => U | readonly U[], thisArg?: This) => U[];
|
|
1615
|
+
flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
|
|
1616
|
+
at: (index: number) => import("json-schema").JSONSchema4Type;
|
|
1617
|
+
findLast: {
|
|
1618
|
+
<S extends import("json-schema").JSONSchema4Type>(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => value is S, thisArg?: any): S;
|
|
1619
|
+
(predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any): import("json-schema").JSONSchema4Type;
|
|
1620
|
+
};
|
|
1621
|
+
findLastIndex: (predicate: (value: import("json-schema").JSONSchema4Type, index: number, array: import("json-schema").JSONSchema4Type[]) => unknown, thisArg?: any) => number;
|
|
1622
|
+
toReversed: () => import("json-schema").JSONSchema4Type[];
|
|
1623
|
+
toSorted: (compareFn?: (a: import("json-schema").JSONSchema4Type, b: import("json-schema").JSONSchema4Type) => number) => import("json-schema").JSONSchema4Type[];
|
|
1624
|
+
toSpliced: {
|
|
1625
|
+
(start: number, deleteCount: number, ...items: import("json-schema").JSONSchema4Type[]): import("json-schema").JSONSchema4Type[];
|
|
1626
|
+
(start: number, deleteCount?: number): import("json-schema").JSONSchema4Type[];
|
|
1627
|
+
};
|
|
1628
|
+
with: (index: number, value: import("json-schema").JSONSchema4Type) => import("json-schema").JSONSchema4Type[];
|
|
1629
|
+
[Symbol.iterator]: () => ArrayIterator<import("json-schema").JSONSchema4Type>;
|
|
1630
|
+
readonly [Symbol.unscopables]: {
|
|
1631
|
+
[x: number]: boolean;
|
|
1632
|
+
length?: boolean;
|
|
1633
|
+
toString?: boolean;
|
|
1634
|
+
toLocaleString?: boolean;
|
|
1635
|
+
pop?: boolean;
|
|
1636
|
+
push?: boolean;
|
|
1637
|
+
concat?: boolean;
|
|
1638
|
+
join?: boolean;
|
|
1639
|
+
reverse?: boolean;
|
|
1640
|
+
shift?: boolean;
|
|
1641
|
+
slice?: boolean;
|
|
1642
|
+
sort?: boolean;
|
|
1643
|
+
splice?: boolean;
|
|
1644
|
+
unshift?: boolean;
|
|
1645
|
+
indexOf?: boolean;
|
|
1646
|
+
lastIndexOf?: boolean;
|
|
1647
|
+
every?: boolean;
|
|
1648
|
+
some?: boolean;
|
|
1649
|
+
forEach?: boolean;
|
|
1650
|
+
map?: boolean;
|
|
1651
|
+
filter?: boolean;
|
|
1652
|
+
reduce?: boolean;
|
|
1653
|
+
reduceRight?: boolean;
|
|
1654
|
+
find?: boolean;
|
|
1655
|
+
findIndex?: boolean;
|
|
1656
|
+
fill?: boolean;
|
|
1657
|
+
copyWithin?: boolean;
|
|
1658
|
+
entries?: boolean;
|
|
1659
|
+
keys?: boolean;
|
|
1660
|
+
values?: boolean;
|
|
1661
|
+
includes?: boolean;
|
|
1662
|
+
flatMap?: boolean;
|
|
1663
|
+
flat?: boolean;
|
|
1664
|
+
at?: boolean;
|
|
1665
|
+
findLast?: boolean;
|
|
1666
|
+
findLastIndex?: boolean;
|
|
1667
|
+
toReversed?: boolean;
|
|
1668
|
+
toSorted?: boolean;
|
|
1669
|
+
toSpliced?: boolean;
|
|
1670
|
+
with?: boolean;
|
|
1671
|
+
[Symbol.iterator]?: boolean;
|
|
1672
|
+
readonly [Symbol.unscopables]?: boolean;
|
|
1673
|
+
};
|
|
1674
|
+
})[];
|
|
1675
|
+
type?: import("json-schema").JSONSchema4TypeName | import("json-schema").JSONSchema4TypeName[] | undefined;
|
|
1676
|
+
allOf?: /*elided*/ any[];
|
|
1677
|
+
anyOf?: /*elided*/ any[];
|
|
1678
|
+
oneOf?: /*elided*/ any[];
|
|
1679
|
+
not?: /*elided*/ any;
|
|
1680
|
+
extends?: string | string[] | undefined;
|
|
1681
|
+
format?: string | undefined;
|
|
1682
|
+
};
|
|
1683
|
+
expiresAt?: string;
|
|
1684
|
+
metadata?: {
|
|
1685
|
+
questions: {
|
|
1686
|
+
header: string;
|
|
1687
|
+
multiSelect?: boolean;
|
|
1688
|
+
options?: {
|
|
1689
|
+
description: string;
|
|
1690
|
+
label: string;
|
|
1691
|
+
}[];
|
|
1692
|
+
question: string;
|
|
1693
|
+
}[];
|
|
1694
|
+
};
|
|
1695
|
+
})[];
|
|
1696
|
+
};
|
|
1697
|
+
timestamp?: number;
|
|
1698
|
+
};
|
|
1699
|
+
role: MessageRole.Interrupt;
|
|
1700
|
+
id?: string;
|
|
1701
|
+
messageId?: string;
|
|
1702
|
+
name?: string;
|
|
1703
|
+
sessionCode?: string;
|
|
1704
|
+
status: MessageStatus;
|
|
444
1705
|
} | {
|
|
445
1706
|
content: string;
|
|
446
1707
|
role: MessageRole.Guide;
|
|
@@ -632,5 +1893,7 @@ export declare const useAgent: (mediator: IMediatorModule, protocol: ISSEProtoco
|
|
|
632
1893
|
stopChat: (sessionCode: string) => Promise<void>;
|
|
633
1894
|
getAgentInfo: () => Promise<void>;
|
|
634
1895
|
reset: (protocol: ISSEProtocol) => void;
|
|
1896
|
+
pollResumeSession: (sessionCode: string) => void;
|
|
1897
|
+
userOperationStreamRequest: (sessionCode: string, operation: UserOperation, payload: IUserOperationPayload, config?: IRequestConfig) => Promise<void>;
|
|
635
1898
|
};
|
|
636
1899
|
export type IAgentModule = ReturnType<typeof useAgent>;
|