@klex/agent-admin-api 0.7.1 → 0.8.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/index.d.ts +42 -61
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -189,6 +189,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
189
189
|
};
|
|
190
190
|
} | undefined;
|
|
191
191
|
}[];
|
|
192
|
+
consult: {
|
|
193
|
+
providerId: string;
|
|
194
|
+
modelId: string;
|
|
195
|
+
providerOptions?: {
|
|
196
|
+
[x: string]: {
|
|
197
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
198
|
+
};
|
|
199
|
+
} | undefined;
|
|
200
|
+
}[];
|
|
192
201
|
voice: {
|
|
193
202
|
sts: {
|
|
194
203
|
providerId: string;
|
|
@@ -261,6 +270,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
261
270
|
modelId: string;
|
|
262
271
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
263
272
|
}[] | undefined;
|
|
273
|
+
consult?: {
|
|
274
|
+
providerId: string;
|
|
275
|
+
modelId: string;
|
|
276
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
277
|
+
}[] | undefined;
|
|
264
278
|
voice?: {
|
|
265
279
|
sts: {
|
|
266
280
|
providerId: string;
|
|
@@ -315,6 +329,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
315
329
|
modelId: string;
|
|
316
330
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
317
331
|
}[] | undefined;
|
|
332
|
+
consult?: {
|
|
333
|
+
providerId: string;
|
|
334
|
+
modelId: string;
|
|
335
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
336
|
+
}[] | undefined;
|
|
318
337
|
voice?: {
|
|
319
338
|
sts: {
|
|
320
339
|
providerId: string;
|
|
@@ -381,6 +400,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
381
400
|
};
|
|
382
401
|
} | undefined;
|
|
383
402
|
}[];
|
|
403
|
+
consult: {
|
|
404
|
+
providerId: string;
|
|
405
|
+
modelId: string;
|
|
406
|
+
providerOptions?: {
|
|
407
|
+
[x: string]: {
|
|
408
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
409
|
+
};
|
|
410
|
+
} | undefined;
|
|
411
|
+
}[];
|
|
384
412
|
voice: {
|
|
385
413
|
sts: {
|
|
386
414
|
providerId: string;
|
|
@@ -444,6 +472,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
444
472
|
modelId: string;
|
|
445
473
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
446
474
|
}[] | undefined;
|
|
475
|
+
consult?: {
|
|
476
|
+
providerId: string;
|
|
477
|
+
modelId: string;
|
|
478
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
479
|
+
}[] | undefined;
|
|
447
480
|
voice?: {
|
|
448
481
|
sts: {
|
|
449
482
|
providerId: string;
|
|
@@ -465,67 +498,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
465
498
|
};
|
|
466
499
|
};
|
|
467
500
|
};
|
|
468
|
-
} & {
|
|
469
|
-
"/v1/settings/telemetry": {
|
|
470
|
-
$get: {
|
|
471
|
-
output: {
|
|
472
|
-
error: string;
|
|
473
|
-
code: string;
|
|
474
|
-
remediation?: string | undefined;
|
|
475
|
-
};
|
|
476
|
-
outputFormat: "json";
|
|
477
|
-
status: 500;
|
|
478
|
-
input: {};
|
|
479
|
-
} | {
|
|
480
|
-
output: {
|
|
481
|
-
level: "full" | "minimum" | "off" | "reduced";
|
|
482
|
-
};
|
|
483
|
-
outputFormat: "json";
|
|
484
|
-
status: 200;
|
|
485
|
-
input: {};
|
|
486
|
-
};
|
|
487
|
-
};
|
|
488
|
-
} & {
|
|
489
|
-
"/v1/settings/telemetry": {
|
|
490
|
-
$patch: {
|
|
491
|
-
output: {
|
|
492
|
-
error: string;
|
|
493
|
-
code: string;
|
|
494
|
-
remediation?: string | undefined;
|
|
495
|
-
};
|
|
496
|
-
outputFormat: "json";
|
|
497
|
-
status: 400;
|
|
498
|
-
input: {
|
|
499
|
-
json: {
|
|
500
|
-
level?: "full" | "minimum" | "off" | "reduced" | undefined;
|
|
501
|
-
};
|
|
502
|
-
};
|
|
503
|
-
} | {
|
|
504
|
-
output: {
|
|
505
|
-
error: string;
|
|
506
|
-
code: string;
|
|
507
|
-
remediation?: string | undefined;
|
|
508
|
-
};
|
|
509
|
-
outputFormat: "json";
|
|
510
|
-
status: 500;
|
|
511
|
-
input: {
|
|
512
|
-
json: {
|
|
513
|
-
level?: "full" | "minimum" | "off" | "reduced" | undefined;
|
|
514
|
-
};
|
|
515
|
-
};
|
|
516
|
-
} | {
|
|
517
|
-
output: {
|
|
518
|
-
level: "full" | "minimum" | "off" | "reduced";
|
|
519
|
-
};
|
|
520
|
-
outputFormat: "json";
|
|
521
|
-
status: 200;
|
|
522
|
-
input: {
|
|
523
|
-
json: {
|
|
524
|
-
level?: "full" | "minimum" | "off" | "reduced" | undefined;
|
|
525
|
-
};
|
|
526
|
-
};
|
|
527
|
-
};
|
|
528
|
-
};
|
|
529
501
|
} & {
|
|
530
502
|
"/v1/settings/timezone": {
|
|
531
503
|
$get: {
|
|
@@ -1406,6 +1378,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1406
1378
|
input: {};
|
|
1407
1379
|
} | {
|
|
1408
1380
|
output: {
|
|
1381
|
+
name: string;
|
|
1382
|
+
extensionIdentifier?: string | undefined;
|
|
1383
|
+
kind: "child" | "default" | "god";
|
|
1384
|
+
parentId: string | null;
|
|
1385
|
+
modelPurpose: "audioListening" | "chat" | "compaction" | "consult" | "imageVision" | "memory";
|
|
1409
1386
|
id: string;
|
|
1410
1387
|
status: "active" | "terminated";
|
|
1411
1388
|
runtimeState: "idle" | "leased" | "retrying" | "success" | "terminated" | "working";
|
|
@@ -2215,6 +2192,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2215
2192
|
tools?: boolean | undefined;
|
|
2216
2193
|
reasoning?: boolean | undefined;
|
|
2217
2194
|
} | undefined;
|
|
2195
|
+
createdAt?: string | undefined;
|
|
2218
2196
|
source: "discovered" | "manual" | "merged";
|
|
2219
2197
|
provenance?: {
|
|
2220
2198
|
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
@@ -2440,6 +2418,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2440
2418
|
tools?: boolean | undefined;
|
|
2441
2419
|
reasoning?: boolean | undefined;
|
|
2442
2420
|
} | undefined;
|
|
2421
|
+
createdAt?: string | undefined;
|
|
2443
2422
|
source: "discovered" | "manual" | "merged";
|
|
2444
2423
|
provenance?: {
|
|
2445
2424
|
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
@@ -2648,6 +2627,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2648
2627
|
tools?: boolean | undefined;
|
|
2649
2628
|
reasoning?: boolean | undefined;
|
|
2650
2629
|
} | undefined;
|
|
2630
|
+
createdAt?: string | undefined;
|
|
2651
2631
|
source: "discovered" | "manual" | "merged";
|
|
2652
2632
|
provenance?: {
|
|
2653
2633
|
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|
|
@@ -2783,6 +2763,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2783
2763
|
tools?: boolean | undefined;
|
|
2784
2764
|
reasoning?: boolean | undefined;
|
|
2785
2765
|
} | undefined;
|
|
2766
|
+
createdAt?: string | undefined;
|
|
2786
2767
|
source: "discovered" | "manual" | "merged";
|
|
2787
2768
|
provenance?: {
|
|
2788
2769
|
source: "discovered" | "provider-exact" | "provider-family" | "shared-catalog" | "user";
|