@dexto/server 1.6.24 → 1.6.26

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.
@@ -88,6 +88,7 @@ async function createTestAgent(config, options) {
88
88
  (0, import_agent_config.toDextoAgentOptions)({
89
89
  config: validatedConfig,
90
90
  services,
91
+ image: import_image_local.default,
91
92
  ...options?.runtimeOverrides ? { runtimeOverrides: options.runtimeOverrides } : {}
92
93
  })
93
94
  );
@@ -1 +1 @@
1
- {"version":3,"file":"test-fixtures.d.ts","sourceRoot":"","sources":["../../../src/hono/__tests__/test-fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,WAAW,EACnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,UAAU,EAAmB,MAAM,aAAa,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGpE,OAAO,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,WAAW,CAAC;AAKtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGzD;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,WAAW,CA+BnD;AAED,UAAU,sBAAsB;IAC5B,gBAAgB,CAAC,EAAE,IAAI,CAAC,qBAAqB,EAAE,cAAc,CAAC,GAAG,SAAS,CAAC;CAC9E;AAED;;;GAGG;AACH,wBAAsB,eAAe,CACjC,MAAM,CAAC,EAAE,WAAW,EACpB,OAAO,CAAC,EAAE,sBAAsB,GACjC,OAAO,CAAC,UAAU,CAAC,CAarB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB,MAAM,EAAE,UAAU,CAAC;IACnB,GAAG,EAAE,QAAQ,CAAC;IACd,MAAM,EAAE,g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AE,UAAU,EACjB,IAAI,CAAC,EAAE,MAAM,EACb,aAAa,CAAC,EAAE,qBAAqB,CAAC,eAAe,CAAC,GACvD,OAAO,CAAC,UAAU,CAAC,CAyGrB;AAmCD;;GAEG;AACH,wBAAsB,WAAW,CAC7B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,OAAO,EACd,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACjC,OAAO,CAAC;IACP,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC,CAmCD;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACnC,IAAI,EAAE,OAAO,EACb,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,GACpD,IAAI,CAgBN;AAED;;GAEG;AACH,eAAO,MAAM,UAAU;oBACH,OAAO,KAAG,OAAO;oBACjB,OAAO,KAAG,OAAO;qBAChB,OAAO,KAAG,OAAO;mBACnB,OAAO,KAAG,OAAO;oBAChB,OAAO,KAAG,OAAO;4BAET,OAAO,KAAG,OAAO;4BACjB,OAAO,KAAG,OAAO;2BAClB,OAAO,KAAG,OAAO;4BAChB,OAAO,KAAG,OAAO;CAG5C,CAAC"}
@@ -54,6 +54,7 @@ async function createTestAgent(config, options) {
54
54
  toDextoAgentOptions({
55
55
  config: validatedConfig,
56
56
  services,
57
+ image: imageLocal,
57
58
  ...options?.runtimeOverrides ? { runtimeOverrides: options.runtimeOverrides } : {}
58
59
  })
59
60
  );
@@ -38,8 +38,8 @@ declare const McpServerRequestSchema: z.ZodObject<{
38
38
  timeout: number;
39
39
  type: "sse";
40
40
  enabled: boolean;
41
- connectionMode: "strict" | "lenient";
42
41
  url: string;
42
+ connectionMode: "strict" | "lenient";
43
43
  headers: Record<string, string>;
44
44
  }, {
45
45
  type: "sse";
@@ -59,8 +59,8 @@ declare const McpServerRequestSchema: z.ZodObject<{
59
59
  timeout: number;
60
60
  type: "http";
61
61
  enabled: boolean;
62
- connectionMode: "strict" | "lenient";
63
62
  url: string;
63
+ connectionMode: "strict" | "lenient";
64
64
  headers: Record<string, string>;
65
65
  }, {
66
66
  type: "http";
@@ -81,15 +81,15 @@ declare const McpServerRequestSchema: z.ZodObject<{
81
81
  timeout: number;
82
82
  type: "sse";
83
83
  enabled: boolean;
84
- connectionMode: "strict" | "lenient";
85
84
  url: string;
85
+ connectionMode: "strict" | "lenient";
86
86
  headers: Record<string, string>;
87
87
  } | {
88
88
  timeout: number;
89
89
  type: "http";
90
90
  enabled: boolean;
91
- connectionMode: "strict" | "lenient";
92
91
  url: string;
92
+ connectionMode: "strict" | "lenient";
93
93
  headers: Record<string, string>;
94
94
  }, {
95
95
  type: "stdio";
@@ -129,15 +129,15 @@ declare const McpServerRequestSchema: z.ZodObject<{
129
129
  timeout: number;
130
130
  type: "sse";
131
131
  enabled: boolean;
132
- connectionMode: "strict" | "lenient";
133
132
  url: string;
133
+ connectionMode: "strict" | "lenient";
134
134
  headers: Record<string, string>;
135
135
  } | {
136
136
  timeout: number;
137
137
  type: "http";
138
138
  enabled: boolean;
139
- connectionMode: "strict" | "lenient";
140
139
  url: string;
140
+ connectionMode: "strict" | "lenient";
141
141
  headers: Record<string, string>;
142
142
  }) & z.BRAND<"ValidatedMcpServerConfig">;
143
143
  persistToAgent?: boolean | undefined;
@@ -204,8 +204,8 @@ declare const McpServerUpdateSchema: z.ZodObject<{
204
204
  timeout: number;
205
205
  type: "sse";
206
206
  enabled: boolean;
207
- connectionMode: "strict" | "lenient";
208
207
  url: string;
208
+ connectionMode: "strict" | "lenient";
209
209
  headers: Record<string, string>;
210
210
  }, {
211
211
  type: "sse";
@@ -225,8 +225,8 @@ declare const McpServerUpdateSchema: z.ZodObject<{
225
225
  timeout: number;
226
226
  type: "http";
227
227
  enabled: boolean;
228
- connectionMode: "strict" | "lenient";
229
228
  url: string;
229
+ connectionMode: "strict" | "lenient";
230
230
  headers: Record<string, string>;
231
231
  }, {
232
232
  type: "http";
@@ -247,15 +247,15 @@ declare const McpServerUpdateSchema: z.ZodObject<{
247
247
  timeout: number;
248
248
  type: "sse";
249
249
  enabled: boolean;
250
- connectionMode: "strict" | "lenient";
251
250
  url: string;
251
+ connectionMode: "strict" | "lenient";
252
252
  headers: Record<string, string>;
253
253
  } | {
254
254
  timeout: number;
255
255
  type: "http";
256
256
  enabled: boolean;
257
- connectionMode: "strict" | "lenient";
258
257
  url: string;
258
+ connectionMode: "strict" | "lenient";
259
259
  headers: Record<string, string>;
260
260
  }, {
261
261
  type: "stdio";
@@ -294,15 +294,15 @@ declare const McpServerUpdateSchema: z.ZodObject<{
294
294
  timeout: number;
295
295
  type: "sse";
296
296
  enabled: boolean;
297
- connectionMode: "strict" | "lenient";
298
297
  url: string;
298
+ connectionMode: "strict" | "lenient";
299
299
  headers: Record<string, string>;
300
300
  } | {
301
301
  timeout: number;
302
302
  type: "http";
303
303
  enabled: boolean;
304
- connectionMode: "strict" | "lenient";
305
304
  url: string;
305
+ connectionMode: "strict" | "lenient";
306
306
  headers: Record<string, string>;
307
307
  }) & z.BRAND<"ValidatedMcpServerConfig">;
308
308
  persistToAgent?: boolean | undefined;
@@ -432,8 +432,8 @@ declare const addServerRoute: {
432
432
  timeout: number;
433
433
  type: "sse";
434
434
  enabled: boolean;
435
- connectionMode: "strict" | "lenient";
436
435
  url: string;
436
+ connectionMode: "strict" | "lenient";
437
437
  headers: Record<string, string>;
438
438
  }, {
439
439
  type: "sse";
@@ -453,8 +453,8 @@ declare const addServerRoute: {
453
453
  timeout: number;
454
454
  type: "http";
455
455
  enabled: boolean;
456
- connectionMode: "strict" | "lenient";
457
456
  url: string;
457
+ connectionMode: "strict" | "lenient";
458
458
  headers: Record<string, string>;
459
459
  }, {
460
460
  type: "http";
@@ -475,15 +475,15 @@ declare const addServerRoute: {
475
475
  timeout: number;
476
476
  type: "sse";
477
477
  enabled: boolean;
478
- connectionMode: "strict" | "lenient";
479
478
  url: string;
479
+ connectionMode: "strict" | "lenient";
480
480
  headers: Record<string, string>;
481
481
  } | {
482
482
  timeout: number;
483
483
  type: "http";
484
484
  enabled: boolean;
485
- connectionMode: "strict" | "lenient";
486
485
  url: string;
486
+ connectionMode: "strict" | "lenient";
487
487
  headers: Record<string, string>;
488
488
  }, {
489
489
  type: "stdio";
@@ -523,15 +523,15 @@ declare const addServerRoute: {
523
523
  timeout: number;
524
524
  type: "sse";
525
525
  enabled: boolean;
526
- connectionMode: "strict" | "lenient";
527
526
  url: string;
527
+ connectionMode: "strict" | "lenient";
528
528
  headers: Record<string, string>;
529
529
  } | {
530
530
  timeout: number;
531
531
  type: "http";
532
532
  enabled: boolean;
533
- connectionMode: "strict" | "lenient";
534
533
  url: string;
534
+ connectionMode: "strict" | "lenient";
535
535
  headers: Record<string, string>;
536
536
  }) & z.BRAND<"ValidatedMcpServerConfig">;
537
537
  persistToAgent?: boolean | undefined;
@@ -1698,8 +1698,8 @@ declare const getServerConfigRoute: {
1698
1698
  timeout: number;
1699
1699
  type: "sse";
1700
1700
  enabled: boolean;
1701
- connectionMode: "strict" | "lenient";
1702
1701
  url: string;
1702
+ connectionMode: "strict" | "lenient";
1703
1703
  headers: Record<string, string>;
1704
1704
  }, {
1705
1705
  type: "sse";
@@ -1719,8 +1719,8 @@ declare const getServerConfigRoute: {
1719
1719
  timeout: number;
1720
1720
  type: "http";
1721
1721
  enabled: boolean;
1722
- connectionMode: "strict" | "lenient";
1723
1722
  url: string;
1723
+ connectionMode: "strict" | "lenient";
1724
1724
  headers: Record<string, string>;
1725
1725
  }, {
1726
1726
  type: "http";
@@ -1741,15 +1741,15 @@ declare const getServerConfigRoute: {
1741
1741
  timeout: number;
1742
1742
  type: "sse";
1743
1743
  enabled: boolean;
1744
- connectionMode: "strict" | "lenient";
1745
1744
  url: string;
1745
+ connectionMode: "strict" | "lenient";
1746
1746
  headers: Record<string, string>;
1747
1747
  } | {
1748
1748
  timeout: number;
1749
1749
  type: "http";
1750
1750
  enabled: boolean;
1751
- connectionMode: "strict" | "lenient";
1752
1751
  url: string;
1752
+ connectionMode: "strict" | "lenient";
1753
1753
  headers: Record<string, string>;
1754
1754
  }, {
1755
1755
  type: "stdio";
@@ -1788,15 +1788,15 @@ declare const getServerConfigRoute: {
1788
1788
  timeout: number;
1789
1789
  type: "sse";
1790
1790
  enabled: boolean;
1791
- connectionMode: "strict" | "lenient";
1792
1791
  url: string;
1792
+ connectionMode: "strict" | "lenient";
1793
1793
  headers: Record<string, string>;
1794
1794
  } | {
1795
1795
  timeout: number;
1796
1796
  type: "http";
1797
1797
  enabled: boolean;
1798
- connectionMode: "strict" | "lenient";
1799
1798
  url: string;
1799
+ connectionMode: "strict" | "lenient";
1800
1800
  headers: Record<string, string>;
1801
1801
  }) & z.BRAND<"ValidatedMcpServerConfig">;
1802
1802
  }, {
@@ -2221,8 +2221,8 @@ declare const updateServerRoute: {
2221
2221
  timeout: number;
2222
2222
  type: "sse";
2223
2223
  enabled: boolean;
2224
- connectionMode: "strict" | "lenient";
2225
2224
  url: string;
2225
+ connectionMode: "strict" | "lenient";
2226
2226
  headers: Record<string, string>;
2227
2227
  }, {
2228
2228
  type: "sse";
@@ -2242,8 +2242,8 @@ declare const updateServerRoute: {
2242
2242
  timeout: number;
2243
2243
  type: "http";
2244
2244
  enabled: boolean;
2245
- connectionMode: "strict" | "lenient";
2246
2245
  url: string;
2246
+ connectionMode: "strict" | "lenient";
2247
2247
  headers: Record<string, string>;
2248
2248
  }, {
2249
2249
  type: "http";
@@ -2264,15 +2264,15 @@ declare const updateServerRoute: {
2264
2264
  timeout: number;
2265
2265
  type: "sse";
2266
2266
  enabled: boolean;
2267
- connectionMode: "strict" | "lenient";
2268
2267
  url: string;
2268
+ connectionMode: "strict" | "lenient";
2269
2269
  headers: Record<string, string>;
2270
2270
  } | {
2271
2271
  timeout: number;
2272
2272
  type: "http";
2273
2273
  enabled: boolean;
2274
- connectionMode: "strict" | "lenient";
2275
2274
  url: string;
2275
+ connectionMode: "strict" | "lenient";
2276
2276
  headers: Record<string, string>;
2277
2277
  }, {
2278
2278
  type: "stdio";
@@ -2311,15 +2311,15 @@ declare const updateServerRoute: {
2311
2311
  timeout: number;
2312
2312
  type: "sse";
2313
2313
  enabled: boolean;
2314
- connectionMode: "strict" | "lenient";
2315
2314
  url: string;
2315
+ connectionMode: "strict" | "lenient";
2316
2316
  headers: Record<string, string>;
2317
2317
  } | {
2318
2318
  timeout: number;
2319
2319
  type: "http";
2320
2320
  enabled: boolean;
2321
- connectionMode: "strict" | "lenient";
2322
2321
  url: string;
2322
+ connectionMode: "strict" | "lenient";
2323
2323
  headers: Record<string, string>;
2324
2324
  }) & z.BRAND<"ValidatedMcpServerConfig">;
2325
2325
  persistToAgent?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexto/server",
3
- "version": "1.6.24",
3
+ "version": "1.6.26",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -25,18 +25,18 @@
25
25
  "./package.json": "./package.json"
26
26
  },
27
27
  "dependencies": {
28
- "@hono/node-server": "1.19.11",
28
+ "@hono/node-server": "1.19.13",
29
29
  "@hono/zod-openapi": "^0.19.1",
30
- "hono": "^4.12.9",
30
+ "hono": "^4.12.12",
31
31
  "ws": "^8.18.1",
32
32
  "yaml": "^2.8.3",
33
33
  "@modelcontextprotocol/sdk": "^1.28.0",
34
- "@dexto/agent-config": "1.6.24",
35
- "@dexto/agent-management": "1.6.24",
36
- "@dexto/core": "1.6.24",
37
- "@dexto/image-local": "1.6.24",
38
- "@dexto/storage": "1.6.24",
39
- "@dexto/tools-scheduler": "1.6.24"
34
+ "@dexto/agent-config": "1.6.26",
35
+ "@dexto/agent-management": "1.6.26",
36
+ "@dexto/core": "1.6.26",
37
+ "@dexto/image-local": "1.6.26",
38
+ "@dexto/storage": "1.6.26",
39
+ "@dexto/tools-scheduler": "1.6.26"
40
40
  },
41
41
  "files": [
42
42
  "dist",