@klex/agent-admin-api 0.9.0 → 0.10.0

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 +133 -34
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -15,15 +15,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
15
15
  } & {
16
16
  "/v1/cloud/status": {
17
17
  $get: {
18
- output: {
19
- error: string;
20
- code: string;
21
- remediation?: string | undefined;
22
- };
23
- outputFormat: "json";
24
- status: 500;
25
- input: {};
26
- } | {
27
18
  output: {
28
19
  cloudEnabled: boolean;
29
20
  enrolled: boolean;
@@ -35,6 +26,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
35
26
  outputFormat: "json";
36
27
  status: 200;
37
28
  input: {};
29
+ } | {
30
+ output: {
31
+ error: string;
32
+ code: string;
33
+ remediation?: string | undefined;
34
+ };
35
+ outputFormat: "json";
36
+ status: 500;
37
+ input: {};
38
38
  };
39
39
  };
40
40
  } & {
@@ -512,6 +512,15 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
512
512
  } & {
513
513
  "/v1/introspect": {
514
514
  $get: {
515
+ output: {
516
+ error: string;
517
+ code: string;
518
+ remediation?: string | undefined;
519
+ };
520
+ outputFormat: "json";
521
+ status: 500;
522
+ input: {};
523
+ } | {
515
524
  output: {
516
525
  path: string[];
517
526
  state: {
@@ -526,15 +535,6 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
526
535
  outputFormat: "json";
527
536
  status: 200;
528
537
  input: {};
529
- } | {
530
- output: {
531
- error: string;
532
- code: string;
533
- remediation?: string | undefined;
534
- };
535
- outputFormat: "json";
536
- status: 500;
537
- input: {};
538
538
  };
539
539
  };
540
540
  } & {
@@ -1814,6 +1814,105 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
1814
1814
  };
1815
1815
  };
1816
1816
  };
1817
+ } & {
1818
+ "/v1/skills": {
1819
+ $get: {
1820
+ output: {
1821
+ error: string;
1822
+ code: string;
1823
+ remediation?: string | undefined;
1824
+ };
1825
+ outputFormat: "json";
1826
+ status: 500;
1827
+ input: {};
1828
+ } | {
1829
+ output: {
1830
+ error: string;
1831
+ code: string;
1832
+ remediation?: string | undefined;
1833
+ };
1834
+ outputFormat: "json";
1835
+ status: 503;
1836
+ input: {};
1837
+ } | {
1838
+ output: {
1839
+ skills: {
1840
+ name: string;
1841
+ description: string;
1842
+ origin: "learned";
1843
+ createdAt?: string | undefined;
1844
+ updatedAt?: string | undefined;
1845
+ lastReadAt?: string | null | undefined;
1846
+ readCount?: number | undefined;
1847
+ }[];
1848
+ };
1849
+ outputFormat: "json";
1850
+ status: 200;
1851
+ input: {};
1852
+ };
1853
+ };
1854
+ } & {
1855
+ "/v1/skills/:name": {
1856
+ $get: {
1857
+ output: {
1858
+ error: string;
1859
+ code: string;
1860
+ remediation?: string | undefined;
1861
+ };
1862
+ outputFormat: "json";
1863
+ status: 404;
1864
+ input: {
1865
+ param: {
1866
+ name: string;
1867
+ };
1868
+ };
1869
+ } | {
1870
+ output: {
1871
+ error: string;
1872
+ code: string;
1873
+ remediation?: string | undefined;
1874
+ };
1875
+ outputFormat: "json";
1876
+ status: 500;
1877
+ input: {
1878
+ param: {
1879
+ name: string;
1880
+ };
1881
+ };
1882
+ } | {
1883
+ output: {
1884
+ error: string;
1885
+ code: string;
1886
+ remediation?: string | undefined;
1887
+ };
1888
+ outputFormat: "json";
1889
+ status: 503;
1890
+ input: {
1891
+ param: {
1892
+ name: string;
1893
+ };
1894
+ };
1895
+ } | {
1896
+ output: {
1897
+ name: string;
1898
+ description: string;
1899
+ origin: "learned";
1900
+ createdAt?: string | undefined;
1901
+ updatedAt?: string | undefined;
1902
+ lastReadAt?: string | null | undefined;
1903
+ readCount?: number | undefined;
1904
+ body: string;
1905
+ sourceEpisodes?: string[] | undefined;
1906
+ };
1907
+ outputFormat: "json";
1908
+ status: 200;
1909
+ input: {
1910
+ param: {
1911
+ name: string;
1912
+ };
1913
+ };
1914
+ };
1915
+ };
1817
1916
  } & {
1818
1917
  "/v1/provider-types": {
1819
1918
  $get: {
@@ -3001,18 +3100,12 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3001
3100
  "/v1/introspect/:path": {
3002
3101
  $get: {
3003
3102
  output: {
3004
- path: string[];
3005
- state: {
3006
- [x: string]: import("hono/utils/types").JSONValue;
3007
- } | null;
3008
- children: {
3009
- id: string;
3010
- hasState: boolean;
3011
- hasChildren: boolean;
3012
- }[];
3103
+ error: string;
3104
+ code: string;
3105
+ remediation?: string | undefined;
3013
3106
  };
3014
3107
  outputFormat: "json";
3015
- status: 200;
3108
+ status: 400;
3016
3109
  input: {
3017
3110
  param: {
3018
3111
  path: string;
@@ -3025,7 +3118,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3025
3118
  remediation?: string | undefined;
3026
3119
  };
3027
3120
  outputFormat: "json";
3028
- status: 400;
3121
+ status: 404;
3029
3122
  input: {
3030
3123
  param: {
3031
3124
  path: string;
@@ -3038,7 +3131,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3038
3131
  remediation?: string | undefined;
3039
3132
  };
3040
3133
  outputFormat: "json";
3041
- status: 404;
3134
+ status: 500;
3042
3135
  input: {
3043
3136
  param: {
3044
3137
  path: string;
@@ -3046,12 +3139,18 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
3046
3139
  };
3047
3140
  } | {
3048
3141
  output: {
3049
- error: string;
3050
- code: string;
3051
- remediation?: string | undefined;
3142
+ path: string[];
3143
+ state: {
3144
+ [x: string]: import("hono/utils/types").JSONValue;
3145
+ } | null;
3146
+ children: {
3147
+ id: string;
3148
+ hasState: boolean;
3149
+ hasChildren: boolean;
3150
+ }[];
3052
3151
  };
3053
3152
  outputFormat: "json";
3054
- status: 500;
3153
+ status: 200;
3055
3154
  input: {
3056
3155
  param: {
3057
3156
  path: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klex/agent-admin-api",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Shared types for the Klex Bot Admin API",