@klex/agent-admin-api 0.8.0 → 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +47 -72
  2. 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,69 +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: "advanced" | "basic" | "no";
482
- instanceId: string | null;
483
- };
484
- outputFormat: "json";
485
- status: 200;
486
- input: {};
487
- };
488
- };
489
- } & {
490
- "/v1/settings/telemetry": {
491
- $patch: {
492
- output: {
493
- error: string;
494
- code: string;
495
- remediation?: string | undefined;
496
- };
497
- outputFormat: "json";
498
- status: 400;
499
- input: {
500
- json: {
501
- level?: "advanced" | "basic" | "no" | undefined;
502
- };
503
- };
504
- } | {
505
- output: {
506
- error: string;
507
- code: string;
508
- remediation?: string | undefined;
509
- };
510
- outputFormat: "json";
511
- status: 500;
512
- input: {
513
- json: {
514
- level?: "advanced" | "basic" | "no" | undefined;
515
- };
516
- };
517
- } | {
518
- output: {
519
- level: "advanced" | "basic" | "no";
520
- instanceId: string | null;
521
- };
522
- outputFormat: "json";
523
- status: 200;
524
- input: {
525
- json: {
526
- level?: "advanced" | "basic" | "no" | undefined;
527
- };
528
- };
529
- };
530
- };
531
501
  } & {
532
502
  "/v1/settings/timezone": {
533
503
  $get: {
@@ -1120,15 +1090,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1120
1090
  } & {
1121
1091
  "/v1/mcp-servers/:name/authorization": {
1122
1092
  $delete: {
1123
- output: {};
1124
- outputFormat: string;
1125
- status: 204;
1126
- input: {
1127
- param: {
1128
- name: string;
1129
- };
1130
- };
1131
- } | {
1132
1093
  output: {
1133
1094
  error: string;
1134
1095
  code: string;
@@ -1141,6 +1102,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1141
1102
  name: string;
1142
1103
  };
1143
1104
  };
1105
+ } | {
1106
+ output: {};
1107
+ outputFormat: string;
1108
+ status: 204;
1109
+ input: {
1110
+ param: {
1111
+ name: string;
1112
+ };
1113
+ };
1144
1114
  };
1145
1115
  };
1146
1116
  } & {
@@ -1408,6 +1378,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1408
1378
  input: {};
1409
1379
  } | {
1410
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";
1411
1386
  id: string;
1412
1387
  status: "active" | "terminated";
1413
1388
  runtimeState: "idle" | "leased" | "retrying" | "success" | "terminated" | "working";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klex/agent-admin-api",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Shared types for the Klex Bot Admin API",