@dexto/server 1.6.19 → 1.6.20
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/hono/index.d.ts +161 -133
- package/dist/hono/index.d.ts.map +1 -1
- package/dist/hono/routes/a2a-tasks.cjs +17 -4
- package/dist/hono/routes/a2a-tasks.d.ts +39 -35
- package/dist/hono/routes/a2a-tasks.d.ts.map +1 -1
- package/dist/hono/routes/a2a-tasks.js +17 -4
- package/dist/hono/routes/agents.d.ts +8 -8
- package/dist/hono/routes/approvals.cjs +19 -8
- package/dist/hono/routes/approvals.d.ts +39 -8
- package/dist/hono/routes/approvals.d.ts.map +1 -1
- package/dist/hono/routes/approvals.js +19 -8
- package/dist/hono/routes/llm.d.ts +1 -1
- package/dist/hono/routes/mcp.cjs +56 -26
- package/dist/hono/routes/mcp.d.ts +22 -29
- package/dist/hono/routes/mcp.d.ts.map +1 -1
- package/dist/hono/routes/mcp.js +64 -28
- package/dist/hono/routes/messages.cjs +34 -35
- package/dist/hono/routes/messages.d.ts +12 -12
- package/dist/hono/routes/messages.d.ts.map +1 -1
- package/dist/hono/routes/messages.js +41 -36
- package/dist/hono/routes/prompts.cjs +10 -4
- package/dist/hono/routes/prompts.d.ts +4 -4
- package/dist/hono/routes/prompts.d.ts.map +1 -1
- package/dist/hono/routes/prompts.js +15 -5
- package/dist/hono/routes/queue.cjs +42 -29
- package/dist/hono/routes/queue.d.ts +9 -9
- package/dist/hono/routes/queue.d.ts.map +1 -1
- package/dist/hono/routes/queue.js +49 -30
- package/dist/hono/routes/resources.d.ts +1 -1
- package/dist/hono/routes/schedules.d.ts +4 -4
- package/dist/hono/routes/search.d.ts +4 -4
- package/dist/hono/routes/sessions.cjs +7 -2
- package/dist/hono/routes/sessions.d.ts +12 -12
- package/dist/hono/routes/sessions.d.ts.map +1 -1
- package/dist/hono/routes/sessions.js +7 -2
- package/dist/hono/routes/tools.d.ts +1 -1
- package/dist/hono/routes/webhooks.cjs +59 -24
- package/dist/hono/routes/webhooks.d.ts +7 -7
- package/dist/hono/routes/webhooks.d.ts.map +1 -1
- package/dist/hono/routes/webhooks.js +59 -24
- package/dist/hono/schemas/responses.cjs +112 -2
- package/dist/hono/schemas/responses.d.ts +246 -54
- package/dist/hono/schemas/responses.d.ts.map +1 -1
- package/dist/hono/schemas/responses.js +105 -1
- package/package.json +7 -7
package/dist/hono/index.d.ts
CHANGED
|
@@ -251,8 +251,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
251
251
|
output: {
|
|
252
252
|
tools: {
|
|
253
253
|
description: string;
|
|
254
|
-
id: string;
|
|
255
254
|
name: string;
|
|
255
|
+
id: string;
|
|
256
256
|
source: "local" | "mcp";
|
|
257
257
|
serverName?: string | undefined;
|
|
258
258
|
inputSchema?: {
|
|
@@ -366,8 +366,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
366
366
|
sessionId: string;
|
|
367
367
|
};
|
|
368
368
|
};
|
|
369
|
-
output:
|
|
370
|
-
outputFormat:
|
|
369
|
+
output: never;
|
|
370
|
+
outputFormat: "json";
|
|
371
371
|
status: 404;
|
|
372
372
|
} | {
|
|
373
373
|
input: {
|
|
@@ -441,8 +441,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
441
441
|
kind?: "default" | "background" | undefined;
|
|
442
442
|
};
|
|
443
443
|
};
|
|
444
|
-
output:
|
|
445
|
-
outputFormat:
|
|
444
|
+
output: never;
|
|
445
|
+
outputFormat: "json";
|
|
446
446
|
status: 404;
|
|
447
447
|
} | {
|
|
448
448
|
input: {
|
|
@@ -485,8 +485,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
485
485
|
messageId: string;
|
|
486
486
|
};
|
|
487
487
|
};
|
|
488
|
-
output:
|
|
489
|
-
outputFormat:
|
|
488
|
+
output: never;
|
|
489
|
+
outputFormat: "json";
|
|
490
490
|
status: 404;
|
|
491
491
|
} | {
|
|
492
492
|
input: {
|
|
@@ -511,8 +511,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
511
511
|
sessionId: string;
|
|
512
512
|
};
|
|
513
513
|
};
|
|
514
|
-
output:
|
|
515
|
-
outputFormat:
|
|
514
|
+
output: never;
|
|
515
|
+
outputFormat: "json";
|
|
516
516
|
status: 404;
|
|
517
517
|
} | {
|
|
518
518
|
input: {
|
|
@@ -536,22 +536,22 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
536
536
|
installed: {
|
|
537
537
|
description: string;
|
|
538
538
|
type: "custom" | "builtin";
|
|
539
|
-
id: string;
|
|
540
539
|
name: string;
|
|
540
|
+
id: string;
|
|
541
541
|
tags?: string[] | undefined;
|
|
542
542
|
author?: string | undefined;
|
|
543
543
|
}[];
|
|
544
544
|
available: {
|
|
545
545
|
description: string;
|
|
546
546
|
type: "custom" | "builtin";
|
|
547
|
-
id: string;
|
|
548
547
|
name: string;
|
|
548
|
+
id: string;
|
|
549
549
|
tags?: string[] | undefined;
|
|
550
550
|
author?: string | undefined;
|
|
551
551
|
}[];
|
|
552
552
|
current: {
|
|
553
|
-
id: string | null;
|
|
554
553
|
name: string | null;
|
|
554
|
+
id: string | null;
|
|
555
555
|
};
|
|
556
556
|
};
|
|
557
557
|
outputFormat: "json";
|
|
@@ -563,8 +563,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
563
563
|
$get: {
|
|
564
564
|
input: {};
|
|
565
565
|
output: {
|
|
566
|
-
id: string | null;
|
|
567
566
|
name: string | null;
|
|
567
|
+
id: string | null;
|
|
568
568
|
};
|
|
569
569
|
outputFormat: "json";
|
|
570
570
|
status: 200;
|
|
@@ -591,8 +591,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
591
591
|
};
|
|
592
592
|
output: {
|
|
593
593
|
type: "custom" | "builtin";
|
|
594
|
-
id: string;
|
|
595
594
|
name: string;
|
|
595
|
+
id: string;
|
|
596
596
|
installed: true;
|
|
597
597
|
};
|
|
598
598
|
outputFormat: "json";
|
|
@@ -609,8 +609,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
609
609
|
};
|
|
610
610
|
};
|
|
611
611
|
output: {
|
|
612
|
-
id: string;
|
|
613
612
|
name: string;
|
|
613
|
+
id: string;
|
|
614
614
|
switched: true;
|
|
615
615
|
};
|
|
616
616
|
outputFormat: "json";
|
|
@@ -659,15 +659,15 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
659
659
|
json: {
|
|
660
660
|
description: string;
|
|
661
661
|
config: Record<string, any>;
|
|
662
|
-
id: string;
|
|
663
662
|
name: string;
|
|
663
|
+
id: string;
|
|
664
664
|
tags?: string[] | undefined;
|
|
665
665
|
author?: string | undefined;
|
|
666
666
|
};
|
|
667
667
|
};
|
|
668
668
|
output: {
|
|
669
|
-
id: string;
|
|
670
669
|
name: string;
|
|
670
|
+
id: string;
|
|
671
671
|
created: true;
|
|
672
672
|
};
|
|
673
673
|
outputFormat: "json";
|
|
@@ -811,8 +811,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
811
811
|
reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
|
|
812
812
|
};
|
|
813
813
|
};
|
|
814
|
-
output:
|
|
815
|
-
outputFormat:
|
|
814
|
+
output: never;
|
|
815
|
+
outputFormat: "json";
|
|
816
816
|
status: 400;
|
|
817
817
|
} | {
|
|
818
818
|
input: {
|
|
@@ -834,8 +834,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
834
834
|
reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
|
|
835
835
|
};
|
|
836
836
|
};
|
|
837
|
-
output:
|
|
838
|
-
outputFormat:
|
|
837
|
+
output: never;
|
|
838
|
+
outputFormat: "json";
|
|
839
839
|
status: 404;
|
|
840
840
|
} | {
|
|
841
841
|
input: {
|
|
@@ -857,9 +857,13 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
857
857
|
reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
|
|
858
858
|
};
|
|
859
859
|
};
|
|
860
|
-
output: {
|
|
861
|
-
|
|
862
|
-
|
|
860
|
+
output: {
|
|
861
|
+
status: "approved" | "denied" | "cancelled";
|
|
862
|
+
ok: boolean;
|
|
863
|
+
approvalId: string;
|
|
864
|
+
};
|
|
865
|
+
outputFormat: "json";
|
|
866
|
+
status: 200;
|
|
863
867
|
} | {
|
|
864
868
|
input: {
|
|
865
869
|
param: {
|
|
@@ -886,7 +890,34 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
886
890
|
approvalId: string;
|
|
887
891
|
};
|
|
888
892
|
outputFormat: "json";
|
|
889
|
-
status:
|
|
893
|
+
status: 500;
|
|
894
|
+
} | {
|
|
895
|
+
input: {
|
|
896
|
+
param: {
|
|
897
|
+
approvalId: string;
|
|
898
|
+
};
|
|
899
|
+
} & {
|
|
900
|
+
header: {
|
|
901
|
+
'Idempotency-Key'?: string | undefined;
|
|
902
|
+
};
|
|
903
|
+
} & {
|
|
904
|
+
json: {
|
|
905
|
+
status: "approved" | "denied" | "cancelled";
|
|
906
|
+
message?: string | undefined;
|
|
907
|
+
formData?: Record<string, unknown> | undefined;
|
|
908
|
+
rememberChoice?: boolean | undefined;
|
|
909
|
+
rememberPattern?: string | undefined;
|
|
910
|
+
rememberDirectory?: boolean | undefined;
|
|
911
|
+
reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
output: {
|
|
915
|
+
status: "approved" | "denied" | "cancelled";
|
|
916
|
+
ok: boolean;
|
|
917
|
+
approvalId: string;
|
|
918
|
+
};
|
|
919
|
+
outputFormat: "json";
|
|
920
|
+
status: 503;
|
|
890
921
|
};
|
|
891
922
|
};
|
|
892
923
|
}, "/api"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -895,8 +926,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
895
926
|
input: {};
|
|
896
927
|
output: {
|
|
897
928
|
schedules: {
|
|
898
|
-
id: string;
|
|
899
929
|
name: string;
|
|
930
|
+
id: string;
|
|
900
931
|
createdAt: number;
|
|
901
932
|
cronExpression: string;
|
|
902
933
|
timezone: string;
|
|
@@ -1004,8 +1035,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1004
1035
|
};
|
|
1005
1036
|
output: {
|
|
1006
1037
|
schedule: {
|
|
1007
|
-
id: string;
|
|
1008
1038
|
name: string;
|
|
1039
|
+
id: string;
|
|
1009
1040
|
createdAt: number;
|
|
1010
1041
|
cronExpression: string;
|
|
1011
1042
|
timezone: string;
|
|
@@ -1168,8 +1199,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1168
1199
|
};
|
|
1169
1200
|
output: {
|
|
1170
1201
|
schedule: {
|
|
1171
|
-
id: string;
|
|
1172
1202
|
name: string;
|
|
1203
|
+
id: string;
|
|
1173
1204
|
createdAt: number;
|
|
1174
1205
|
cronExpression: string;
|
|
1175
1206
|
timezone: string;
|
|
@@ -1347,9 +1378,9 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1347
1378
|
id: string;
|
|
1348
1379
|
scheduleId: string;
|
|
1349
1380
|
triggeredAt: number;
|
|
1381
|
+
error?: string | undefined;
|
|
1350
1382
|
completedAt?: number | undefined;
|
|
1351
1383
|
duration?: number | undefined;
|
|
1352
|
-
error?: string | undefined;
|
|
1353
1384
|
result?: string | undefined;
|
|
1354
1385
|
} | undefined;
|
|
1355
1386
|
};
|
|
@@ -1581,11 +1612,11 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1581
1612
|
uri: string;
|
|
1582
1613
|
source: "mcp" | "internal";
|
|
1583
1614
|
description?: string | undefined;
|
|
1615
|
+
name?: string | undefined;
|
|
1584
1616
|
mimeType?: string | undefined;
|
|
1585
1617
|
metadata?: {
|
|
1586
1618
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1587
1619
|
} | undefined;
|
|
1588
|
-
name?: string | undefined;
|
|
1589
1620
|
serverName?: string | undefined;
|
|
1590
1621
|
size?: number | undefined;
|
|
1591
1622
|
lastModified?: string | undefined;
|
|
@@ -1730,8 +1761,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1730
1761
|
name: string;
|
|
1731
1762
|
};
|
|
1732
1763
|
};
|
|
1733
|
-
output:
|
|
1734
|
-
outputFormat:
|
|
1764
|
+
output: never;
|
|
1765
|
+
outputFormat: "json";
|
|
1735
1766
|
status: 404;
|
|
1736
1767
|
} | {
|
|
1737
1768
|
input: {
|
|
@@ -1768,8 +1799,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1768
1799
|
args?: string | undefined;
|
|
1769
1800
|
};
|
|
1770
1801
|
};
|
|
1771
|
-
output:
|
|
1772
|
-
outputFormat:
|
|
1802
|
+
output: never;
|
|
1803
|
+
outputFormat: "json";
|
|
1773
1804
|
status: 404;
|
|
1774
1805
|
} | {
|
|
1775
1806
|
input: {
|
|
@@ -1836,8 +1867,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1836
1867
|
webhookId: string;
|
|
1837
1868
|
};
|
|
1838
1869
|
};
|
|
1839
|
-
output:
|
|
1840
|
-
outputFormat:
|
|
1870
|
+
output: never;
|
|
1871
|
+
outputFormat: "json";
|
|
1841
1872
|
status: 404;
|
|
1842
1873
|
} | {
|
|
1843
1874
|
input: {
|
|
@@ -1865,8 +1896,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1865
1896
|
webhookId: string;
|
|
1866
1897
|
};
|
|
1867
1898
|
};
|
|
1868
|
-
output:
|
|
1869
|
-
outputFormat:
|
|
1899
|
+
output: never;
|
|
1900
|
+
outputFormat: "json";
|
|
1870
1901
|
status: 404;
|
|
1871
1902
|
} | {
|
|
1872
1903
|
input: {
|
|
@@ -1890,8 +1921,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1890
1921
|
webhookId: string;
|
|
1891
1922
|
};
|
|
1892
1923
|
};
|
|
1893
|
-
output:
|
|
1894
|
-
outputFormat:
|
|
1924
|
+
output: never;
|
|
1925
|
+
outputFormat: "json";
|
|
1895
1926
|
status: 404;
|
|
1896
1927
|
} | {
|
|
1897
1928
|
input: {
|
|
@@ -1959,8 +1990,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1959
1990
|
output: {
|
|
1960
1991
|
servers: {
|
|
1961
1992
|
status: "error" | "connected" | "disconnected" | "auth-required";
|
|
1962
|
-
id: string;
|
|
1963
1993
|
name: string;
|
|
1994
|
+
id: string;
|
|
1964
1995
|
}[];
|
|
1965
1996
|
};
|
|
1966
1997
|
outputFormat: "json";
|
|
@@ -1975,8 +2006,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
1975
2006
|
serverId: string;
|
|
1976
2007
|
};
|
|
1977
2008
|
};
|
|
1978
|
-
output:
|
|
1979
|
-
outputFormat:
|
|
2009
|
+
output: never;
|
|
2010
|
+
outputFormat: "json";
|
|
1980
2011
|
status: 404;
|
|
1981
2012
|
} | {
|
|
1982
2013
|
input: {
|
|
@@ -2055,8 +2086,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2055
2086
|
persistToAgent?: boolean | undefined;
|
|
2056
2087
|
};
|
|
2057
2088
|
};
|
|
2058
|
-
output:
|
|
2059
|
-
outputFormat:
|
|
2089
|
+
output: never;
|
|
2090
|
+
outputFormat: "json";
|
|
2060
2091
|
status: 404;
|
|
2061
2092
|
} | {
|
|
2062
2093
|
input: {
|
|
@@ -2107,8 +2138,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2107
2138
|
serverId: string;
|
|
2108
2139
|
};
|
|
2109
2140
|
};
|
|
2110
|
-
output:
|
|
2111
|
-
outputFormat:
|
|
2141
|
+
output: never;
|
|
2142
|
+
outputFormat: "json";
|
|
2112
2143
|
status: 404;
|
|
2113
2144
|
} | {
|
|
2114
2145
|
input: {
|
|
@@ -2119,8 +2150,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2119
2150
|
output: {
|
|
2120
2151
|
tools: {
|
|
2121
2152
|
description: string;
|
|
2122
|
-
id: string;
|
|
2123
2153
|
name: string;
|
|
2154
|
+
id: string;
|
|
2124
2155
|
inputSchema?: {
|
|
2125
2156
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2126
2157
|
type?: "object" | undefined;
|
|
@@ -2152,8 +2183,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2152
2183
|
serverId: string;
|
|
2153
2184
|
};
|
|
2154
2185
|
};
|
|
2155
|
-
output:
|
|
2156
|
-
outputFormat:
|
|
2186
|
+
output: never;
|
|
2187
|
+
outputFormat: "json";
|
|
2157
2188
|
status: 404;
|
|
2158
2189
|
} | {
|
|
2159
2190
|
input: {
|
|
@@ -2177,8 +2208,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2177
2208
|
serverId: string;
|
|
2178
2209
|
};
|
|
2179
2210
|
};
|
|
2180
|
-
output:
|
|
2181
|
-
outputFormat:
|
|
2211
|
+
output: never;
|
|
2212
|
+
outputFormat: "json";
|
|
2182
2213
|
status: 404;
|
|
2183
2214
|
} | {
|
|
2184
2215
|
input: {
|
|
@@ -2205,8 +2236,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2205
2236
|
} & {
|
|
2206
2237
|
json: Record<string, unknown>;
|
|
2207
2238
|
};
|
|
2208
|
-
output:
|
|
2209
|
-
outputFormat:
|
|
2239
|
+
output: never;
|
|
2240
|
+
outputFormat: "json";
|
|
2210
2241
|
status: 404;
|
|
2211
2242
|
} | {
|
|
2212
2243
|
input: {
|
|
@@ -2219,8 +2250,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2219
2250
|
};
|
|
2220
2251
|
output: {
|
|
2221
2252
|
success: boolean;
|
|
2222
|
-
data?: any;
|
|
2223
2253
|
error?: string | undefined;
|
|
2254
|
+
data?: any;
|
|
2224
2255
|
};
|
|
2225
2256
|
outputFormat: "json";
|
|
2226
2257
|
status: 200;
|
|
@@ -2234,8 +2265,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2234
2265
|
serverId: string;
|
|
2235
2266
|
};
|
|
2236
2267
|
};
|
|
2237
|
-
output:
|
|
2238
|
-
outputFormat:
|
|
2268
|
+
output: never;
|
|
2269
|
+
outputFormat: "json";
|
|
2239
2270
|
status: 404;
|
|
2240
2271
|
} | {
|
|
2241
2272
|
input: {
|
|
@@ -2245,17 +2276,10 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2245
2276
|
};
|
|
2246
2277
|
output: {
|
|
2247
2278
|
resources: {
|
|
2279
|
+
name: string;
|
|
2248
2280
|
uri: string;
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
mimeType?: string | undefined;
|
|
2252
|
-
metadata?: {
|
|
2253
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2254
|
-
} | undefined;
|
|
2255
|
-
name?: string | undefined;
|
|
2256
|
-
serverName?: string | undefined;
|
|
2257
|
-
size?: number | undefined;
|
|
2258
|
-
lastModified?: string | undefined;
|
|
2281
|
+
serverName: string;
|
|
2282
|
+
originalUri: string;
|
|
2259
2283
|
}[];
|
|
2260
2284
|
success: boolean;
|
|
2261
2285
|
};
|
|
@@ -2272,8 +2296,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2272
2296
|
resourceId: string;
|
|
2273
2297
|
};
|
|
2274
2298
|
};
|
|
2275
|
-
output:
|
|
2276
|
-
outputFormat:
|
|
2299
|
+
output: never;
|
|
2300
|
+
outputFormat: "json";
|
|
2277
2301
|
status: 404;
|
|
2278
2302
|
} | {
|
|
2279
2303
|
input: {
|
|
@@ -2336,8 +2360,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2336
2360
|
})[] | null;
|
|
2337
2361
|
role: "system" | "user" | "assistant" | "tool";
|
|
2338
2362
|
usageScopeId?: string | undefined;
|
|
2339
|
-
id?: string | undefined;
|
|
2340
2363
|
name?: string | undefined;
|
|
2364
|
+
id?: string | undefined;
|
|
2341
2365
|
timestamp?: number | undefined;
|
|
2342
2366
|
reasoning?: string | undefined;
|
|
2343
2367
|
tokenUsage?: {
|
|
@@ -2364,8 +2388,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2364
2388
|
success?: boolean | undefined;
|
|
2365
2389
|
};
|
|
2366
2390
|
sessionId: string;
|
|
2367
|
-
matchedText: string;
|
|
2368
2391
|
context: string;
|
|
2392
|
+
matchedText: string;
|
|
2369
2393
|
messageIndex: number;
|
|
2370
2394
|
}[];
|
|
2371
2395
|
total: number;
|
|
@@ -2423,8 +2447,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2423
2447
|
})[] | null;
|
|
2424
2448
|
role: "system" | "user" | "assistant" | "tool";
|
|
2425
2449
|
usageScopeId?: string | undefined;
|
|
2426
|
-
id?: string | undefined;
|
|
2427
2450
|
name?: string | undefined;
|
|
2451
|
+
id?: string | undefined;
|
|
2428
2452
|
timestamp?: number | undefined;
|
|
2429
2453
|
reasoning?: string | undefined;
|
|
2430
2454
|
tokenUsage?: {
|
|
@@ -2451,8 +2475,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2451
2475
|
success?: boolean | undefined;
|
|
2452
2476
|
};
|
|
2453
2477
|
sessionId: string;
|
|
2454
|
-
matchedText: string;
|
|
2455
2478
|
context: string;
|
|
2479
|
+
matchedText: string;
|
|
2456
2480
|
messageIndex: number;
|
|
2457
2481
|
};
|
|
2458
2482
|
}[];
|
|
@@ -2564,6 +2588,15 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2564
2588
|
} & {
|
|
2565
2589
|
"/sessions/:sessionId/fork": {
|
|
2566
2590
|
$post: {
|
|
2591
|
+
input: {
|
|
2592
|
+
param: {
|
|
2593
|
+
sessionId: string;
|
|
2594
|
+
};
|
|
2595
|
+
};
|
|
2596
|
+
output: never;
|
|
2597
|
+
outputFormat: "json";
|
|
2598
|
+
status: 400;
|
|
2599
|
+
} | {
|
|
2567
2600
|
input: {
|
|
2568
2601
|
param: {
|
|
2569
2602
|
sessionId: string;
|
|
@@ -2610,15 +2643,6 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2610
2643
|
};
|
|
2611
2644
|
outputFormat: "json";
|
|
2612
2645
|
status: 201;
|
|
2613
|
-
} | {
|
|
2614
|
-
input: {
|
|
2615
|
-
param: {
|
|
2616
|
-
sessionId: string;
|
|
2617
|
-
};
|
|
2618
|
-
};
|
|
2619
|
-
output: never;
|
|
2620
|
-
outputFormat: "json";
|
|
2621
|
-
status: 400;
|
|
2622
2646
|
} | {
|
|
2623
2647
|
input: {
|
|
2624
2648
|
param: {
|
|
@@ -2720,8 +2744,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
2720
2744
|
})[] | null;
|
|
2721
2745
|
role: "system" | "user" | "assistant" | "tool";
|
|
2722
2746
|
usageScopeId?: string | undefined;
|
|
2723
|
-
id?: string | undefined;
|
|
2724
2747
|
name?: string | undefined;
|
|
2748
|
+
id?: string | undefined;
|
|
2725
2749
|
timestamp?: number | undefined;
|
|
2726
2750
|
reasoning?: string | undefined;
|
|
2727
2751
|
tokenUsage?: {
|
|
@@ -3074,8 +3098,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3074
3098
|
sessionId: string;
|
|
3075
3099
|
};
|
|
3076
3100
|
};
|
|
3077
|
-
output:
|
|
3078
|
-
outputFormat:
|
|
3101
|
+
output: never;
|
|
3102
|
+
outputFormat: "json";
|
|
3079
3103
|
status: 404;
|
|
3080
3104
|
} | {
|
|
3081
3105
|
input: {
|
|
@@ -3129,8 +3153,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3129
3153
|
$get: {
|
|
3130
3154
|
input: {
|
|
3131
3155
|
query: {
|
|
3132
|
-
provider?: string | string[] | undefined;
|
|
3133
3156
|
scope?: "curated" | "all" | undefined;
|
|
3157
|
+
provider?: string | string[] | undefined;
|
|
3134
3158
|
includeModels?: "0" | "1" | "true" | "false" | undefined;
|
|
3135
3159
|
hasKey?: "0" | "1" | "true" | "false" | undefined;
|
|
3136
3160
|
fileType?: "image" | "audio" | "pdf" | undefined;
|
|
@@ -3820,9 +3844,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3820
3844
|
sessionId: string;
|
|
3821
3845
|
};
|
|
3822
3846
|
};
|
|
3823
|
-
output: {
|
|
3824
|
-
|
|
3825
|
-
|
|
3847
|
+
output: {
|
|
3848
|
+
sessionId: string;
|
|
3849
|
+
accepted: true;
|
|
3850
|
+
};
|
|
3851
|
+
outputFormat: "json";
|
|
3852
|
+
status: 202;
|
|
3826
3853
|
} | {
|
|
3827
3854
|
input: {
|
|
3828
3855
|
json: {
|
|
@@ -3842,12 +3869,9 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3842
3869
|
sessionId: string;
|
|
3843
3870
|
};
|
|
3844
3871
|
};
|
|
3845
|
-
output:
|
|
3846
|
-
sessionId: string;
|
|
3847
|
-
accepted: true;
|
|
3848
|
-
};
|
|
3872
|
+
output: never;
|
|
3849
3873
|
outputFormat: "json";
|
|
3850
|
-
status:
|
|
3874
|
+
status: 400;
|
|
3851
3875
|
};
|
|
3852
3876
|
};
|
|
3853
3877
|
} & {
|
|
@@ -3871,8 +3895,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3871
3895
|
sessionId: string;
|
|
3872
3896
|
};
|
|
3873
3897
|
};
|
|
3874
|
-
output:
|
|
3875
|
-
outputFormat:
|
|
3898
|
+
output: never;
|
|
3899
|
+
outputFormat: "json";
|
|
3876
3900
|
status: 400;
|
|
3877
3901
|
} | {
|
|
3878
3902
|
input: {
|
|
@@ -3975,8 +3999,8 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
3975
3999
|
sessionId: string;
|
|
3976
4000
|
};
|
|
3977
4001
|
};
|
|
3978
|
-
output:
|
|
3979
|
-
outputFormat:
|
|
4002
|
+
output: never;
|
|
4003
|
+
outputFormat: "json";
|
|
3980
4004
|
status: 400;
|
|
3981
4005
|
} | {
|
|
3982
4006
|
input: {
|
|
@@ -4038,12 +4062,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4038
4062
|
} | {
|
|
4039
4063
|
file: {
|
|
4040
4064
|
bytes: string;
|
|
4041
|
-
mimeType?: string | undefined;
|
|
4042
4065
|
name?: string | undefined;
|
|
4066
|
+
mimeType?: string | undefined;
|
|
4043
4067
|
} | {
|
|
4044
4068
|
uri: string;
|
|
4045
|
-
mimeType?: string | undefined;
|
|
4046
4069
|
name?: string | undefined;
|
|
4070
|
+
mimeType?: string | undefined;
|
|
4047
4071
|
};
|
|
4048
4072
|
kind: "file";
|
|
4049
4073
|
metadata?: Record<string, any> | undefined;
|
|
@@ -4086,12 +4110,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4086
4110
|
} | {
|
|
4087
4111
|
file: {
|
|
4088
4112
|
bytes: string;
|
|
4089
|
-
mimeType?: string | undefined;
|
|
4090
4113
|
name?: string | undefined;
|
|
4114
|
+
mimeType?: string | undefined;
|
|
4091
4115
|
} | {
|
|
4092
4116
|
uri: string;
|
|
4093
|
-
mimeType?: string | undefined;
|
|
4094
4117
|
name?: string | undefined;
|
|
4118
|
+
mimeType?: string | undefined;
|
|
4095
4119
|
};
|
|
4096
4120
|
kind: "file";
|
|
4097
4121
|
metadata?: {
|
|
@@ -4135,12 +4159,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4135
4159
|
} | {
|
|
4136
4160
|
file: {
|
|
4137
4161
|
bytes: string;
|
|
4138
|
-
mimeType?: string | undefined;
|
|
4139
4162
|
name?: string | undefined;
|
|
4163
|
+
mimeType?: string | undefined;
|
|
4140
4164
|
} | {
|
|
4141
4165
|
uri: string;
|
|
4142
|
-
mimeType?: string | undefined;
|
|
4143
4166
|
name?: string | undefined;
|
|
4167
|
+
mimeType?: string | undefined;
|
|
4144
4168
|
};
|
|
4145
4169
|
kind: "file";
|
|
4146
4170
|
metadata?: {
|
|
@@ -4200,12 +4224,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4200
4224
|
} | {
|
|
4201
4225
|
file: {
|
|
4202
4226
|
bytes: string;
|
|
4203
|
-
mimeType?: string | undefined;
|
|
4204
4227
|
name?: string | undefined;
|
|
4228
|
+
mimeType?: string | undefined;
|
|
4205
4229
|
} | {
|
|
4206
4230
|
uri: string;
|
|
4207
|
-
mimeType?: string | undefined;
|
|
4208
4231
|
name?: string | undefined;
|
|
4232
|
+
mimeType?: string | undefined;
|
|
4209
4233
|
};
|
|
4210
4234
|
kind: "file";
|
|
4211
4235
|
metadata?: {
|
|
@@ -4249,12 +4273,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4249
4273
|
} | {
|
|
4250
4274
|
file: {
|
|
4251
4275
|
bytes: string;
|
|
4252
|
-
mimeType?: string | undefined;
|
|
4253
4276
|
name?: string | undefined;
|
|
4277
|
+
mimeType?: string | undefined;
|
|
4254
4278
|
} | {
|
|
4255
4279
|
uri: string;
|
|
4256
|
-
mimeType?: string | undefined;
|
|
4257
4280
|
name?: string | undefined;
|
|
4281
|
+
mimeType?: string | undefined;
|
|
4258
4282
|
};
|
|
4259
4283
|
kind: "file";
|
|
4260
4284
|
metadata?: {
|
|
@@ -4290,15 +4314,6 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4290
4314
|
} & {
|
|
4291
4315
|
"/v1/tasks/:id": {
|
|
4292
4316
|
$get: {
|
|
4293
|
-
input: {
|
|
4294
|
-
param: {
|
|
4295
|
-
id: string;
|
|
4296
|
-
};
|
|
4297
|
-
};
|
|
4298
|
-
output: {};
|
|
4299
|
-
outputFormat: string;
|
|
4300
|
-
status: 404;
|
|
4301
|
-
} | {
|
|
4302
4317
|
input: {
|
|
4303
4318
|
param: {
|
|
4304
4319
|
id: string;
|
|
@@ -4320,12 +4335,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4320
4335
|
} | {
|
|
4321
4336
|
file: {
|
|
4322
4337
|
bytes: string;
|
|
4323
|
-
mimeType?: string | undefined;
|
|
4324
4338
|
name?: string | undefined;
|
|
4339
|
+
mimeType?: string | undefined;
|
|
4325
4340
|
} | {
|
|
4326
4341
|
uri: string;
|
|
4327
|
-
mimeType?: string | undefined;
|
|
4328
4342
|
name?: string | undefined;
|
|
4343
|
+
mimeType?: string | undefined;
|
|
4329
4344
|
};
|
|
4330
4345
|
kind: "file";
|
|
4331
4346
|
metadata?: {
|
|
@@ -4369,12 +4384,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4369
4384
|
} | {
|
|
4370
4385
|
file: {
|
|
4371
4386
|
bytes: string;
|
|
4372
|
-
mimeType?: string | undefined;
|
|
4373
4387
|
name?: string | undefined;
|
|
4388
|
+
mimeType?: string | undefined;
|
|
4374
4389
|
} | {
|
|
4375
4390
|
uri: string;
|
|
4376
|
-
mimeType?: string | undefined;
|
|
4377
4391
|
name?: string | undefined;
|
|
4392
|
+
mimeType?: string | undefined;
|
|
4378
4393
|
};
|
|
4379
4394
|
kind: "file";
|
|
4380
4395
|
metadata?: {
|
|
@@ -4401,20 +4416,22 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4401
4416
|
};
|
|
4402
4417
|
outputFormat: "json";
|
|
4403
4418
|
status: 200;
|
|
4404
|
-
}
|
|
4405
|
-
};
|
|
4406
|
-
} & {
|
|
4407
|
-
"/v1/tasks/:id:cancel": {
|
|
4408
|
-
$post: {
|
|
4419
|
+
} | {
|
|
4409
4420
|
input: {
|
|
4410
4421
|
param: {
|
|
4411
4422
|
id: string;
|
|
4412
4423
|
};
|
|
4413
4424
|
};
|
|
4414
|
-
output: {
|
|
4415
|
-
|
|
4425
|
+
output: {
|
|
4426
|
+
error: string;
|
|
4427
|
+
};
|
|
4428
|
+
outputFormat: "json";
|
|
4416
4429
|
status: 404;
|
|
4417
|
-
}
|
|
4430
|
+
};
|
|
4431
|
+
};
|
|
4432
|
+
} & {
|
|
4433
|
+
"/v1/tasks/:id:cancel": {
|
|
4434
|
+
$post: {
|
|
4418
4435
|
input: {
|
|
4419
4436
|
param: {
|
|
4420
4437
|
id: string;
|
|
@@ -4436,12 +4453,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4436
4453
|
} | {
|
|
4437
4454
|
file: {
|
|
4438
4455
|
bytes: string;
|
|
4439
|
-
mimeType?: string | undefined;
|
|
4440
4456
|
name?: string | undefined;
|
|
4457
|
+
mimeType?: string | undefined;
|
|
4441
4458
|
} | {
|
|
4442
4459
|
uri: string;
|
|
4443
|
-
mimeType?: string | undefined;
|
|
4444
4460
|
name?: string | undefined;
|
|
4461
|
+
mimeType?: string | undefined;
|
|
4445
4462
|
};
|
|
4446
4463
|
kind: "file";
|
|
4447
4464
|
metadata?: {
|
|
@@ -4485,12 +4502,12 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4485
4502
|
} | {
|
|
4486
4503
|
file: {
|
|
4487
4504
|
bytes: string;
|
|
4488
|
-
mimeType?: string | undefined;
|
|
4489
4505
|
name?: string | undefined;
|
|
4506
|
+
mimeType?: string | undefined;
|
|
4490
4507
|
} | {
|
|
4491
4508
|
uri: string;
|
|
4492
|
-
mimeType?: string | undefined;
|
|
4493
4509
|
name?: string | undefined;
|
|
4510
|
+
mimeType?: string | undefined;
|
|
4494
4511
|
};
|
|
4495
4512
|
kind: "file";
|
|
4496
4513
|
metadata?: {
|
|
@@ -4517,6 +4534,17 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
|
|
|
4517
4534
|
};
|
|
4518
4535
|
outputFormat: "json";
|
|
4519
4536
|
status: 200;
|
|
4537
|
+
} | {
|
|
4538
|
+
input: {
|
|
4539
|
+
param: {
|
|
4540
|
+
id: string;
|
|
4541
|
+
};
|
|
4542
|
+
};
|
|
4543
|
+
output: {
|
|
4544
|
+
error: string;
|
|
4545
|
+
};
|
|
4546
|
+
outputFormat: "json";
|
|
4547
|
+
status: 404;
|
|
4520
4548
|
};
|
|
4521
4549
|
};
|
|
4522
4550
|
}, "/"> & import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/"> & import("hono/types").MergeSchemaPath<{
|