@dexto/server 1.6.20 → 1.6.22

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 (133) hide show
  1. package/dist/a2a/jsonrpc/methods.cjs +1 -1
  2. package/dist/a2a/jsonrpc/methods.d.ts +14 -4
  3. package/dist/a2a/jsonrpc/methods.d.ts.map +1 -1
  4. package/dist/a2a/jsonrpc/methods.js +1 -1
  5. package/dist/approval/wire-approval-events.cjs +44 -0
  6. package/dist/approval/wire-approval-events.d.ts +4 -0
  7. package/dist/approval/wire-approval-events.d.ts.map +1 -0
  8. package/dist/approval/wire-approval-events.js +20 -0
  9. package/dist/events/session-sse-subscriber.cjs +167 -0
  10. package/dist/events/session-sse-subscriber.d.ts +13 -0
  11. package/dist/events/session-sse-subscriber.d.ts.map +1 -0
  12. package/dist/events/session-sse-subscriber.js +143 -0
  13. package/dist/hono/__tests__/test-fixtures.cjs +8 -0
  14. package/dist/hono/__tests__/test-fixtures.d.ts +1 -0
  15. package/dist/hono/__tests__/test-fixtures.d.ts.map +1 -1
  16. package/dist/hono/__tests__/test-fixtures.js +8 -0
  17. package/dist/hono/index.cjs +40 -8
  18. package/dist/hono/index.d.ts +45 -4531
  19. package/dist/hono/index.d.ts.map +1 -1
  20. package/dist/hono/index.js +43 -9
  21. package/dist/hono/node/index.cjs +51 -6
  22. package/dist/hono/node/index.d.ts.map +1 -1
  23. package/dist/hono/node/index.js +51 -6
  24. package/dist/hono/routes/a2a-jsonrpc.d.ts.map +1 -1
  25. package/dist/hono/routes/a2a-tasks.cjs +158 -32
  26. package/dist/hono/routes/a2a-tasks.d.ts +1 -502
  27. package/dist/hono/routes/a2a-tasks.d.ts.map +1 -1
  28. package/dist/hono/routes/a2a-tasks.js +162 -32
  29. package/dist/hono/routes/a2a.d.ts.map +1 -1
  30. package/dist/hono/routes/agents.cjs +410 -329
  31. package/dist/hono/routes/agents.d.ts +16043 -68
  32. package/dist/hono/routes/agents.d.ts.map +1 -1
  33. package/dist/hono/routes/agents.js +418 -330
  34. package/dist/hono/routes/approvals.cjs +102 -88
  35. package/dist/hono/routes/approvals.d.ts +2089 -142
  36. package/dist/hono/routes/approvals.d.ts.map +1 -1
  37. package/dist/hono/routes/approvals.js +108 -89
  38. package/dist/hono/routes/dexto-auth.cjs +40 -33
  39. package/dist/hono/routes/dexto-auth.d.ts +401 -2
  40. package/dist/hono/routes/dexto-auth.d.ts.map +1 -1
  41. package/dist/hono/routes/dexto-auth.js +40 -33
  42. package/dist/hono/routes/discovery.cjs +16 -14
  43. package/dist/hono/routes/discovery.d.ts +586 -1
  44. package/dist/hono/routes/discovery.d.ts.map +1 -1
  45. package/dist/hono/routes/discovery.js +16 -14
  46. package/dist/hono/routes/greeting.cjs +26 -22
  47. package/dist/hono/routes/greeting.d.ts +787 -3
  48. package/dist/hono/routes/greeting.d.ts.map +1 -1
  49. package/dist/hono/routes/greeting.js +26 -22
  50. package/dist/hono/routes/health.d.ts +1 -1
  51. package/dist/hono/routes/key.cjs +60 -52
  52. package/dist/hono/routes/key.d.ts +1597 -1
  53. package/dist/hono/routes/key.d.ts.map +1 -1
  54. package/dist/hono/routes/key.js +60 -52
  55. package/dist/hono/routes/llm.cjs +382 -349
  56. package/dist/hono/routes/llm.d.ts +12148 -98
  57. package/dist/hono/routes/llm.d.ts.map +1 -1
  58. package/dist/hono/routes/llm.js +386 -349
  59. package/dist/hono/routes/mcp.cjs +257 -226
  60. package/dist/hono/routes/mcp.d.ts +6605 -309
  61. package/dist/hono/routes/mcp.d.ts.map +1 -1
  62. package/dist/hono/routes/mcp.js +263 -225
  63. package/dist/hono/routes/memory.cjs +102 -89
  64. package/dist/hono/routes/memory.d.ts +5368 -4
  65. package/dist/hono/routes/memory.d.ts.map +1 -1
  66. package/dist/hono/routes/memory.js +108 -90
  67. package/dist/hono/routes/messages.cjs +189 -191
  68. package/dist/hono/routes/messages.d.ts +3900 -12
  69. package/dist/hono/routes/messages.d.ts.map +1 -1
  70. package/dist/hono/routes/messages.js +192 -191
  71. package/dist/hono/routes/models.cjs +106 -64
  72. package/dist/hono/routes/models.d.ts +2875 -2
  73. package/dist/hono/routes/models.d.ts.map +1 -1
  74. package/dist/hono/routes/models.js +108 -64
  75. package/dist/hono/routes/openrouter.cjs +79 -65
  76. package/dist/hono/routes/openrouter.d.ts +854 -1
  77. package/dist/hono/routes/openrouter.d.ts.map +1 -1
  78. package/dist/hono/routes/openrouter.js +79 -65
  79. package/dist/hono/routes/prompts.cjs +136 -109
  80. package/dist/hono/routes/prompts.d.ts +2818 -10
  81. package/dist/hono/routes/prompts.d.ts.map +1 -1
  82. package/dist/hono/routes/prompts.js +138 -109
  83. package/dist/hono/routes/queue.cjs +133 -120
  84. package/dist/hono/routes/queue.d.ts +5240 -11
  85. package/dist/hono/routes/queue.d.ts.map +1 -1
  86. package/dist/hono/routes/queue.js +136 -120
  87. package/dist/hono/routes/resources.cjs +65 -46
  88. package/dist/hono/routes/resources.d.ts +1983 -5
  89. package/dist/hono/routes/resources.d.ts.map +1 -1
  90. package/dist/hono/routes/resources.js +72 -47
  91. package/dist/hono/routes/schedules.cjs +233 -226
  92. package/dist/hono/routes/schedules.d.ts +4198 -22
  93. package/dist/hono/routes/schedules.d.ts.map +1 -1
  94. package/dist/hono/routes/schedules.js +233 -226
  95. package/dist/hono/routes/search.cjs +34 -30
  96. package/dist/hono/routes/search.d.ts +3094 -17
  97. package/dist/hono/routes/search.d.ts.map +1 -1
  98. package/dist/hono/routes/search.js +40 -31
  99. package/dist/hono/routes/sessions.cjs +491 -393
  100. package/dist/hono/routes/sessions.d.ts +18263 -65
  101. package/dist/hono/routes/sessions.d.ts.map +1 -1
  102. package/dist/hono/routes/sessions.js +497 -395
  103. package/dist/hono/routes/static.d.ts.map +1 -1
  104. package/dist/hono/routes/system-prompt.cjs +57 -61
  105. package/dist/hono/routes/system-prompt.d.ts +1228 -2
  106. package/dist/hono/routes/system-prompt.d.ts.map +1 -1
  107. package/dist/hono/routes/system-prompt.js +58 -62
  108. package/dist/hono/routes/tools.cjs +29 -34
  109. package/dist/hono/routes/tools.d.ts +1755 -6
  110. package/dist/hono/routes/tools.d.ts.map +1 -1
  111. package/dist/hono/routes/tools.js +33 -33
  112. package/dist/hono/routes/webhooks.cjs +115 -123
  113. package/dist/hono/routes/webhooks.d.ts +2501 -11
  114. package/dist/hono/routes/webhooks.d.ts.map +1 -1
  115. package/dist/hono/routes/webhooks.js +120 -124
  116. package/dist/hono/routes/workspaces.cjs +84 -79
  117. package/dist/hono/routes/workspaces.d.ts +2093 -2
  118. package/dist/hono/routes/workspaces.d.ts.map +1 -1
  119. package/dist/hono/routes/workspaces.js +89 -80
  120. package/dist/hono/schemas/responses.cjs +463 -260
  121. package/dist/hono/schemas/responses.d.ts +1893 -209
  122. package/dist/hono/schemas/responses.d.ts.map +1 -1
  123. package/dist/hono/schemas/responses.js +203 -14
  124. package/dist/hono/start-server.cjs +9 -0
  125. package/dist/hono/start-server.d.ts.map +1 -1
  126. package/dist/hono/start-server.js +9 -0
  127. package/dist/hono/types.d.ts +11 -0
  128. package/dist/hono/types.d.ts.map +1 -1
  129. package/dist/index.cjs +5 -1
  130. package/dist/index.d.ts +2 -0
  131. package/dist/index.d.ts.map +1 -1
  132. package/dist/index.js +2 -0
  133. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../src/hono/schemas/responses.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAIH,KAAK,WAAW,IAAI,eAAe,EACtC,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;EAc+B,CAAC;AAExD,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAGnE,eAAO,MAAM,oBAAoB;;;;;;;;;EAMS,CAAC;AAE3C,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -1,9 +1,43 @@
1
- import { z } from "zod";
1
+ import { z } from "@hono/zod-openapi";
2
2
  import {
3
3
  LLM_PRICING_STATUSES,
4
4
  LLMConfigBaseSchema as CoreLLMConfigBaseSchema,
5
- LLM_PROVIDERS
5
+ LLM_PROVIDERS,
6
+ SUPPORTED_FILE_TYPES
6
7
  } from "@dexto/core";
8
+ const JsonValueOpenApiPlaceholder = {
9
+ type: "object",
10
+ additionalProperties: true,
11
+ description: "Any JSON-serializable value"
12
+ };
13
+ const JsonValueSchema = z.lazy(
14
+ () => z.union([
15
+ z.string(),
16
+ z.number(),
17
+ z.boolean(),
18
+ z.null(),
19
+ z.array(JsonValueSchema),
20
+ z.record(z.string(), JsonValueSchema)
21
+ ])
22
+ ).openapi("JsonValue", JsonValueOpenApiPlaceholder).describe("Any JSON-serializable value");
23
+ const JsonObjectSchema = z.record(z.string(), JsonValueSchema).openapi("JsonObject", {
24
+ type: "object",
25
+ additionalProperties: true
26
+ }).describe("JSON object with arbitrary serializable values");
27
+ const JsonSchemaPrimitiveTypeSchema = z.enum(["string", "number", "integer", "boolean", "object", "array"]).describe("JSON Schema primitive type");
28
+ const JsonSchemaEnumValueSchema = z.union([z.string(), z.number(), z.boolean(), z.null()]).describe("Allowed JSON Schema enum value");
29
+ const JsonSchemaPropertySchema = z.object({
30
+ type: JsonSchemaPrimitiveTypeSchema.optional().describe("Property type"),
31
+ description: z.string().optional().describe("Property description"),
32
+ enum: z.array(JsonSchemaEnumValueSchema).optional().describe("Enum values"),
33
+ default: JsonValueSchema.optional().describe("Default value"),
34
+ format: z.string().optional().describe("JSON Schema format hint")
35
+ }).passthrough().describe("JSON Schema property definition");
36
+ const ToolInputSchema = z.object({
37
+ type: z.literal("object").optional().describe('Schema type, always "object" when present'),
38
+ properties: z.record(z.string(), JsonSchemaPropertySchema).optional().describe("Property definitions"),
39
+ required: z.array(z.string()).optional().describe("Required property names")
40
+ }).passthrough().describe("JSON Schema for tool input parameters");
7
41
  const IssueSchema = z.object({
8
42
  code: z.string().describe("Machine-readable issue code"),
9
43
  message: z.string().describe("Human-readable issue message"),
@@ -11,7 +45,7 @@ const IssueSchema = z.object({
11
45
  type: z.string().describe("Error type used for HTTP status mapping"),
12
46
  severity: z.enum(["error", "warning"]).describe("Issue severity"),
13
47
  path: z.array(z.union([z.string(), z.number()])).optional().describe("Optional location for the issue"),
14
- context: z.unknown().optional().describe("Optional structured issue context")
48
+ context: JsonValueSchema.optional().describe("Optional structured issue context")
15
49
  }).strict().describe("Structured validation or runtime issue");
16
50
  const ApiErrorResponseSchema = z.object({
17
51
  name: z.string().optional().describe("Optional error class name"),
@@ -24,12 +58,84 @@ const ApiErrorResponseSchema = z.object({
24
58
  method: z.string().describe("HTTP method for the failed request"),
25
59
  traceId: z.string().optional().describe("Optional trace identifier"),
26
60
  recovery: z.union([z.string(), z.array(z.string())]).optional().describe("Optional recovery guidance"),
27
- context: z.unknown().optional().describe("Optional structured error context"),
61
+ context: JsonValueSchema.optional().describe("Optional structured error context"),
28
62
  issues: z.array(IssueSchema).optional().describe("Validation issues when present"),
29
63
  errorCount: z.number().int().nonnegative().optional().describe("Number of errors"),
30
64
  warningCount: z.number().int().nonnegative().optional().describe("Number of warnings"),
31
65
  stack: z.string().optional().describe("Development-only stack trace")
32
66
  }).strict().describe("Standard API error response");
67
+ const BadRequestErrorResponse = {
68
+ description: "Validation or request error",
69
+ content: {
70
+ "application/json": {
71
+ schema: ApiErrorResponseSchema
72
+ }
73
+ }
74
+ };
75
+ const PaymentRequiredErrorResponse = {
76
+ description: "Payment required",
77
+ content: {
78
+ "application/json": {
79
+ schema: ApiErrorResponseSchema
80
+ }
81
+ }
82
+ };
83
+ const ForbiddenErrorResponse = {
84
+ description: "Forbidden",
85
+ content: {
86
+ "application/json": {
87
+ schema: ApiErrorResponseSchema
88
+ }
89
+ }
90
+ };
91
+ const NotFoundErrorResponse = {
92
+ description: "Resource not found",
93
+ content: {
94
+ "application/json": {
95
+ schema: ApiErrorResponseSchema
96
+ }
97
+ }
98
+ };
99
+ const TimeoutErrorResponse = {
100
+ description: "Request timed out",
101
+ content: {
102
+ "application/json": {
103
+ schema: ApiErrorResponseSchema
104
+ }
105
+ }
106
+ };
107
+ const ConflictErrorResponse = {
108
+ description: "Conflict",
109
+ content: {
110
+ "application/json": {
111
+ schema: ApiErrorResponseSchema
112
+ }
113
+ }
114
+ };
115
+ const RateLimitErrorResponse = {
116
+ description: "Rate limited",
117
+ content: {
118
+ "application/json": {
119
+ schema: ApiErrorResponseSchema
120
+ }
121
+ }
122
+ };
123
+ const InternalErrorResponse = {
124
+ description: "Internal server error",
125
+ content: {
126
+ "application/json": {
127
+ schema: ApiErrorResponseSchema
128
+ }
129
+ }
130
+ };
131
+ const UpstreamErrorResponse = {
132
+ description: "Upstream service failure",
133
+ content: {
134
+ "application/json": {
135
+ schema: ApiErrorResponseSchema
136
+ }
137
+ }
138
+ };
33
139
  import { MemorySchema } from "@dexto/core";
34
140
  import { LLMConfigBaseSchema } from "@dexto/core";
35
141
  const TextPartSchema = z.object({
@@ -47,6 +153,18 @@ const FilePartSchema = z.object({
47
153
  mimeType: z.string().describe("MIME type of the file"),
48
154
  filename: z.string().optional().describe("Optional filename")
49
155
  }).strict().describe("File content part");
156
+ const ResourcePartSchema = z.object({
157
+ type: z.literal("resource").describe("Part type: resource"),
158
+ uri: z.string().describe("Canonical resource reference"),
159
+ name: z.string().describe("Display name for the resource"),
160
+ mimeType: z.string().describe("MIME type of the resource"),
161
+ kind: z.enum(["text", "image", "audio", "video", "binary"]).describe("Resource kind for rendering and prompt projection"),
162
+ size: z.number().int().nonnegative().optional().describe("Size in bytes"),
163
+ metadata: z.object({
164
+ mtimeMs: z.number().nonnegative().optional().describe("mtime in ms"),
165
+ source: z.enum(["filesystem", "upload", "generated", "tool", "remote"]).optional().describe("How the resource was created")
166
+ }).strict().optional().describe("Optional resource metadata")
167
+ }).strict().describe("Canonical resource reference part");
50
168
  const UIResourcePartSchema = z.object({
51
169
  type: z.literal("ui-resource").describe("Part type: ui-resource"),
52
170
  uri: z.string().describe("URI identifying the UI resource (must start with ui://)"),
@@ -65,8 +183,9 @@ const ContentPartSchema = z.discriminatedUnion("type", [
65
183
  TextPartSchema,
66
184
  ImagePartSchema,
67
185
  FilePartSchema,
186
+ ResourcePartSchema,
68
187
  UIResourcePartSchema
69
- ]).describe("Message content part (text, image, file, or UI resource)");
188
+ ]).describe("Message content part (text, image, file, resource, or UI resource)");
70
189
  const RequestContentPartSchema = z.discriminatedUnion("type", [TextPartSchema, ImagePartSchema, FilePartSchema]).describe("Request message content part (text, image, or file)");
71
190
  const RequestContentSchema = z.union([z.string(), z.array(RequestContentPartSchema)]).describe("Message content - string for text, or ContentPart[] for multimodal");
72
191
  function serializeBinaryValue(value) {
@@ -81,6 +200,35 @@ function serializeBinaryValue(value) {
81
200
  }
82
201
  return Buffer.from(value).toString("base64");
83
202
  }
203
+ function toApiResourceMetadata(metadata) {
204
+ if (!metadata) {
205
+ return void 0;
206
+ }
207
+ const sanitized = {
208
+ ...metadata.mtimeMs !== void 0 ? { mtimeMs: metadata.mtimeMs } : {},
209
+ ...metadata.source !== void 0 ? { source: metadata.source } : {}
210
+ };
211
+ return Object.keys(sanitized).length > 0 ? sanitized : void 0;
212
+ }
213
+ function toApiInternalMessage(message) {
214
+ return {
215
+ ...message.id !== void 0 ? { id: message.id } : {},
216
+ role: message.role,
217
+ ...message.timestamp !== void 0 ? { timestamp: message.timestamp } : {},
218
+ content: Array.isArray(message.content) ? message.content.map((part) => toApiContentPart(part)) : message.content,
219
+ ..."reasoning" in message && message.reasoning !== void 0 ? { reasoning: message.reasoning } : {},
220
+ ..."tokenUsage" in message && message.tokenUsage !== void 0 ? { tokenUsage: message.tokenUsage } : {},
221
+ ..."estimatedCost" in message && message.estimatedCost !== void 0 ? { estimatedCost: message.estimatedCost } : {},
222
+ ..."pricingStatus" in message && message.pricingStatus !== void 0 ? { pricingStatus: message.pricingStatus } : {},
223
+ ..."usageScopeId" in message && message.usageScopeId !== void 0 ? { usageScopeId: message.usageScopeId } : {},
224
+ ..."model" in message && message.model !== void 0 ? { model: message.model } : {},
225
+ ..."provider" in message && message.provider !== void 0 ? { provider: message.provider } : {},
226
+ ..."toolCalls" in message && message.toolCalls !== void 0 ? { toolCalls: message.toolCalls } : {},
227
+ ..."toolCallId" in message && message.toolCallId !== void 0 ? { toolCallId: message.toolCallId } : {},
228
+ ..."name" in message && message.name !== void 0 ? { name: message.name } : {},
229
+ ..."success" in message && message.success !== void 0 ? { success: message.success } : {}
230
+ };
231
+ }
84
232
  function toContentInput(rawContent) {
85
233
  if (typeof rawContent === "string") {
86
234
  return [{ type: "text", text: rawContent }];
@@ -128,6 +276,16 @@ function toApiContentPart(part) {
128
276
  mimeType: part.mimeType,
129
277
  ...part.filename !== void 0 ? { filename: part.filename } : {}
130
278
  };
279
+ case "resource":
280
+ return {
281
+ type: "resource",
282
+ uri: part.uri,
283
+ name: part.name,
284
+ mimeType: part.mimeType,
285
+ kind: part.kind,
286
+ ...part.size !== void 0 ? { size: part.size } : {},
287
+ ...toApiResourceMetadata(part.metadata) !== void 0 ? { metadata: toApiResourceMetadata(part.metadata) } : {}
288
+ };
131
289
  case "ui-resource":
132
290
  return {
133
291
  type: "ui-resource",
@@ -252,7 +410,7 @@ const WorkspaceSchema = z.object({
252
410
  }).strict().describe("Workspace metadata");
253
411
  const ScheduleTaskSchema = z.object({
254
412
  instruction: z.string().describe("Instruction to execute"),
255
- metadata: z.record(z.unknown()).optional().describe("Optional task metadata")
413
+ metadata: JsonObjectSchema.optional().describe("Optional task metadata")
256
414
  }).strict().describe("Schedule task definition");
257
415
  const ScheduleSchema = z.object({
258
416
  id: z.string().describe("Schedule ID"),
@@ -324,7 +482,7 @@ const CatalogModelInfoSchema = z.object({
324
482
  name: z.string().describe("Model name identifier"),
325
483
  maxInputTokens: z.number().int().positive().describe("Maximum input tokens"),
326
484
  default: z.boolean().optional().describe("Whether this is a default model"),
327
- supportedFileTypes: z.array(z.enum(["audio", "pdf", "image"])).describe("File types this model supports"),
485
+ supportedFileTypes: z.array(z.enum(SUPPORTED_FILE_TYPES)).describe("File types this model supports"),
328
486
  displayName: z.string().optional().describe("Human-readable display name"),
329
487
  pricing: z.object({
330
488
  inputPerM: z.number().describe("Input cost per million tokens (USD)"),
@@ -341,7 +499,7 @@ const ProviderCatalogSchema = z.object({
341
499
  primaryEnvVar: z.string().describe("Primary environment variable for API key"),
342
500
  supportsBaseURL: z.boolean().describe("Whether custom base URLs are supported"),
343
501
  models: z.array(CatalogModelInfoSchema).describe("Models available from this provider"),
344
- supportedFileTypes: z.array(z.enum(["audio", "pdf", "image"])).describe("Provider-level file type support")
502
+ supportedFileTypes: z.array(z.enum(SUPPORTED_FILE_TYPES)).describe("Provider-level file type support")
345
503
  }).strict().describe("Provider catalog entry with models and capabilities");
346
504
  const ModelFlatSchema = CatalogModelInfoSchema.extend({
347
505
  provider: z.string().describe("Provider identifier for this model")
@@ -363,12 +521,12 @@ const ResourceSchema = z.object({
363
521
  serverName: z.string().optional().describe("Original server/provider name (for MCP resources)"),
364
522
  size: z.number().optional().describe("Size of the resource in bytes (if known)"),
365
523
  lastModified: z.string().datetime().optional().describe("Last modified timestamp (ISO 8601 string)"),
366
- metadata: z.record(z.unknown()).optional().describe("Additional metadata specific to the resource type")
524
+ metadata: z.record(z.string(), JsonValueSchema).optional().describe("Additional metadata specific to the resource type")
367
525
  }).strict().describe("Resource metadata");
368
526
  const ToolSchema = z.object({
369
527
  name: z.string().describe("Tool name"),
370
528
  description: z.string().describe("Tool description"),
371
- inputSchema: z.record(z.unknown()).describe("JSON Schema for tool input parameters")
529
+ inputSchema: ToolInputSchema.describe("JSON Schema for tool input parameters")
372
530
  }).strict().describe("Tool metadata");
373
531
  const PromptArgumentSchema = z.object({
374
532
  name: z.string().describe("Argument name"),
@@ -379,15 +537,31 @@ const PromptDefinitionSchema = z.object({
379
537
  name: z.string().describe("Prompt name"),
380
538
  title: z.string().optional().describe("Prompt title"),
381
539
  description: z.string().optional().describe("Prompt description"),
382
- arguments: z.array(PromptArgumentSchema).optional().describe("Array of argument definitions")
540
+ arguments: z.array(PromptArgumentSchema).optional().describe("Array of argument definitions"),
541
+ disableModelInvocation: z.boolean().optional().describe("Exclude from auto-invocation list in system prompt"),
542
+ userInvocable: z.boolean().optional().describe("Whether to show in slash command menu"),
543
+ allowedTools: z.array(z.string()).optional().describe("Tools to auto-approve when this prompt is active"),
544
+ toolkits: z.array(z.string()).optional().describe("Toolkits to load when invoked"),
545
+ model: z.string().optional().describe("Model to use when this prompt is invoked"),
546
+ context: z.enum(["inline", "fork"]).optional().describe("Execution context for this prompt"),
547
+ agent: z.string().optional().describe("Agent ID to use for fork execution")
383
548
  }).strict().describe("Prompt definition (MCP-compliant)");
384
549
  const PromptInfoSchema = z.object({
385
550
  name: z.string().describe("Prompt name"),
386
551
  title: z.string().optional().describe("Prompt title"),
387
552
  description: z.string().optional().describe("Prompt description"),
388
553
  arguments: z.array(PromptArgumentSchema).optional().describe("Array of argument definitions"),
554
+ disableModelInvocation: z.boolean().optional().describe("Exclude from auto-invocation list in system prompt"),
555
+ userInvocable: z.boolean().optional().describe("Whether to show in slash command menu"),
556
+ allowedTools: z.array(z.string()).optional().describe("Tools to auto-approve when this prompt is active"),
557
+ toolkits: z.array(z.string()).optional().describe("Toolkits to load when invoked"),
558
+ model: z.string().optional().describe("Model to use when this prompt is invoked"),
559
+ context: z.enum(["inline", "fork"]).optional().describe("Execution context for this prompt"),
560
+ agent: z.string().optional().describe("Agent ID to use for fork execution"),
389
561
  source: z.enum(["mcp", "config", "custom"]).describe("Source of the prompt"),
390
- metadata: z.record(z.unknown()).optional().describe("Additional metadata")
562
+ displayName: z.string().optional().describe("Base display name set by provider"),
563
+ commandName: z.string().optional().describe("Collision-resolved slash command name"),
564
+ metadata: JsonObjectSchema.optional().describe("Additional metadata")
391
565
  }).strict().describe("Enhanced prompt information");
392
566
  const PromptSchema = z.object({
393
567
  id: z.string().describe("Unique prompt identifier"),
@@ -405,7 +579,7 @@ const ErrorResponseSchema = z.object({
405
579
  error: z.object({
406
580
  message: z.string().describe("Error message"),
407
581
  code: z.string().optional().describe("Error code"),
408
- details: z.unknown().optional().describe("Additional error details")
582
+ details: JsonValueSchema.optional().describe("Additional error details")
409
583
  }).strict().describe("Error details")
410
584
  }).strict().describe("Error API response");
411
585
  const StandardErrorEnvelopeSchema = z.object({
@@ -413,7 +587,7 @@ const StandardErrorEnvelopeSchema = z.object({
413
587
  message: z.string().describe("Error message"),
414
588
  scope: z.string().describe("Error scope"),
415
589
  type: z.string().describe("Error type"),
416
- context: z.unknown().optional().describe("Error context"),
590
+ context: JsonValueSchema.optional().describe("Error context"),
417
591
  recovery: z.union([z.string(), z.array(z.string())]).optional().describe("Recovery guidance"),
418
592
  traceId: z.string().describe("Trace identifier"),
419
593
  endpoint: z.string().describe("Request endpoint"),
@@ -431,16 +605,23 @@ export {
431
605
  AgentCardSchema,
432
606
  AgentRegistryEntrySchema,
433
607
  ApiErrorResponseSchema,
608
+ BadRequestErrorResponse,
434
609
  CatalogModelInfoSchema,
610
+ ConflictErrorResponse,
435
611
  ContentPartSchema,
436
612
  DeleteResponseSchema,
437
613
  ErrorResponseSchema,
438
614
  ExecutionLogSchema,
439
615
  FilePartSchema,
616
+ ForbiddenErrorResponse,
440
617
  HttpServerConfigSchema,
441
618
  ImagePartSchema,
619
+ InternalErrorResponse,
442
620
  InternalMessageSchema,
443
621
  IssueSchema,
622
+ JsonObjectSchema,
623
+ JsonSchemaPropertySchema,
624
+ JsonValueSchema,
444
625
  LLMConfigBaseSchema,
445
626
  LLMConfigResponseSchema,
446
627
  LLMConfigSchema,
@@ -449,7 +630,9 @@ export {
449
630
  MessageSearchResponseSchema,
450
631
  ModelFlatSchema,
451
632
  ModelStatisticsSchema,
633
+ NotFoundErrorResponse,
452
634
  OkResponseSchema,
635
+ PaymentRequiredErrorResponse,
453
636
  PermissionsConfigSchema,
454
637
  PricingStatusSchema,
455
638
  PromptArgumentSchema,
@@ -457,9 +640,11 @@ export {
457
640
  PromptInfoSchema,
458
641
  PromptSchema,
459
642
  ProviderCatalogSchema,
643
+ RateLimitErrorResponse,
460
644
  RequestContentPartSchema,
461
645
  RequestContentSchema,
462
646
  ResourceConfigSchema,
647
+ ResourcePartSchema,
463
648
  ResourceSchema,
464
649
  ScheduleSchema,
465
650
  ScheduleTaskSchema,
@@ -475,13 +660,17 @@ export {
475
660
  StatusResponseSchema,
476
661
  StdioServerConfigSchema,
477
662
  TextPartSchema,
663
+ TimeoutErrorResponse,
478
664
  TokenUsageSchema,
479
665
  ToolCallSchema,
666
+ ToolInputSchema,
480
667
  ToolSchema,
481
668
  UIResourcePartSchema,
669
+ UpstreamErrorResponse,
482
670
  UsageSummarySchema,
483
671
  WebhookSchema,
484
672
  WorkspaceSchema,
485
673
  toApiContentPart,
674
+ toApiInternalMessage,
486
675
  toContentInput
487
676
  };
@@ -28,6 +28,8 @@ var import_webhook_subscriber = require("../events/webhook-subscriber.js");
28
28
  var import_a2a_sse_subscriber = require("../events/a2a-sse-subscriber.js");
29
29
  var import_approval_coordinator = require("../approval/approval-coordinator.js");
30
30
  var import_manual_approval_handler = require("../approval/manual-approval-handler.js");
31
+ var import_wire_approval_events = require("../approval/wire-approval-events.js");
32
+ var import_session_sse_subscriber = require("../events/session-sse-subscriber.js");
31
33
  async function startDextoServer(agent, options = {}) {
32
34
  (0, import_core.startLlmRegistryAutoUpdate)();
33
35
  const {
@@ -52,7 +54,9 @@ async function startDextoServer(agent, options = {}) {
52
54
  import_core.logger.debug("Creating event infrastructure...");
53
55
  const webhookSubscriber = new import_webhook_subscriber.WebhookEventSubscriber();
54
56
  const sseSubscriber = new import_a2a_sse_subscriber.A2ASseEventSubscriber();
57
+ const sessionSseSubscriber = new import_session_sse_subscriber.SessionSseEventSubscriber();
55
58
  const approvalCoordinator = new import_approval_coordinator.ApprovalCoordinator();
59
+ let approvalEventBridge = null;
56
60
  import_core.logger.debug("Creating Hono application...");
57
61
  const app = (0, import_index.createDextoApp)({
58
62
  getAgent: (_ctx) => agent,
@@ -60,6 +64,7 @@ async function startDextoServer(agent, options = {}) {
60
64
  approvalCoordinator,
61
65
  webhookSubscriber,
62
66
  sseSubscriber,
67
+ sessionSseSubscriber,
63
68
  ...webRoot ? { webRoot } : {},
64
69
  ...webUIConfig ? { webUIConfig } : {}
65
70
  });
@@ -79,9 +84,11 @@ async function startDextoServer(agent, options = {}) {
79
84
  const handler = (0, import_manual_approval_handler.createManualApprovalHandler)(approvalCoordinator);
80
85
  agent.setApprovalHandler(handler);
81
86
  }
87
+ approvalEventBridge = (0, import_wire_approval_events.wireApprovalCoordinatorToAgent)(agent, approvalCoordinator);
82
88
  import_core.logger.debug("Wiring event subscribers to agent...");
83
89
  agent.registerSubscriber(webhookSubscriber);
84
90
  agent.registerSubscriber(sseSubscriber);
91
+ agent.registerSubscriber(sessionSseSubscriber);
85
92
  import_core.logger.info("Starting agent...");
86
93
  await agent.start();
87
94
  import_core.logger.info(`Server running at http://${hostname}:${resolvedPort}`, null, "green");
@@ -91,6 +98,8 @@ async function startDextoServer(agent, options = {}) {
91
98
  agentCard,
92
99
  stop: async () => {
93
100
  import_core.logger.info("Stopping Dexto server...");
101
+ approvalEventBridge?.abort();
102
+ sessionSseSubscriber.cleanup();
94
103
  await agent.stop();
95
104
  server.close();
96
105
  import_core.logger.info("Server stopped", null, "yellow");
@@ -1 +1 @@
1
- {"version":3,"file":"start-server.d.ts","sourceRoot":"","sources":["../../src/hono/start-server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,EAA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E,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAQ7D,MAAM,MAAM,uBAAuB,GAAG;IAClC,8DAA8D;IAC9D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC/B,qFAAqF;IACrF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mEAAmE;IACnE,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACjC,2BAA2B;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,GAAG,EAAE,QAAQ,CAAC;IACd,2CAA2C;IAC3C,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1B,wCAAwC;IACxC,SAAS,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAsB,gBAAgB,CAClC,KAAK,EAAE,UAAU,EACjB,OAAO,GAAE,uBAA4B,GACtC,OAAO,CAAC,sBAAsB,CAAC,CAsGjC"}
@@ -5,6 +5,8 @@ import { WebhookEventSubscriber } from "../events/webhook-subscriber.js";
5
5
  import { A2ASseEventSubscriber } from "../events/a2a-sse-subscriber.js";
6
6
  import { ApprovalCoordinator } from "../approval/approval-coordinator.js";
7
7
  import { createManualApprovalHandler } from "../approval/manual-approval-handler.js";
8
+ import { wireApprovalCoordinatorToAgent } from "../approval/wire-approval-events.js";
9
+ import { SessionSseEventSubscriber } from "../events/session-sse-subscriber.js";
8
10
  async function startDextoServer(agent, options = {}) {
9
11
  startLlmRegistryAutoUpdate();
10
12
  const {
@@ -29,7 +31,9 @@ async function startDextoServer(agent, options = {}) {
29
31
  logger.debug("Creating event infrastructure...");
30
32
  const webhookSubscriber = new WebhookEventSubscriber();
31
33
  const sseSubscriber = new A2ASseEventSubscriber();
34
+ const sessionSseSubscriber = new SessionSseEventSubscriber();
32
35
  const approvalCoordinator = new ApprovalCoordinator();
36
+ let approvalEventBridge = null;
33
37
  logger.debug("Creating Hono application...");
34
38
  const app = createDextoApp({
35
39
  getAgent: (_ctx) => agent,
@@ -37,6 +41,7 @@ async function startDextoServer(agent, options = {}) {
37
41
  approvalCoordinator,
38
42
  webhookSubscriber,
39
43
  sseSubscriber,
44
+ sessionSseSubscriber,
40
45
  ...webRoot ? { webRoot } : {},
41
46
  ...webUIConfig ? { webUIConfig } : {}
42
47
  });
@@ -56,9 +61,11 @@ async function startDextoServer(agent, options = {}) {
56
61
  const handler = createManualApprovalHandler(approvalCoordinator);
57
62
  agent.setApprovalHandler(handler);
58
63
  }
64
+ approvalEventBridge = wireApprovalCoordinatorToAgent(agent, approvalCoordinator);
59
65
  logger.debug("Wiring event subscribers to agent...");
60
66
  agent.registerSubscriber(webhookSubscriber);
61
67
  agent.registerSubscriber(sseSubscriber);
68
+ agent.registerSubscriber(sessionSseSubscriber);
62
69
  logger.info("Starting agent...");
63
70
  await agent.start();
64
71
  logger.info(`Server running at http://${hostname}:${resolvedPort}`, null, "green");
@@ -68,6 +75,8 @@ async function startDextoServer(agent, options = {}) {
68
75
  agentCard,
69
76
  stop: async () => {
70
77
  logger.info("Stopping Dexto server...");
78
+ approvalEventBridge?.abort();
79
+ sessionSseSubscriber.cleanup();
71
80
  await agent.stop();
72
81
  server.close();
73
82
  logger.info("Server stopped", null, "yellow");
@@ -1,6 +1,17 @@
1
+ import type { Context } from 'hono';
2
+ import type { Hono } from 'hono';
3
+ import type { RouteConfig, RouteConfigToTypedResponse } from '@hono/zod-openapi';
1
4
  import type { OpenAPIHono } from '@hono/zod-openapi';
5
+ import type { DextoAgent } from '@dexto/core';
6
+ import type { Input, ToSchema } from 'hono/types';
2
7
  import type { WebhookEventSubscriber } from '../events/webhook-subscriber.js';
3
8
  export type DextoApp = OpenAPIHono & {
4
9
  webhookSubscriber?: WebhookEventSubscriber;
5
10
  };
11
+ export type GetAgentFn = (ctx: Context) => DextoAgent | Promise<DextoAgent>;
12
+ export type GetAgentConfigPathFn = (ctx: Context) => string | undefined | Promise<string | undefined>;
13
+ export type OpenAPIRouteSchema<R extends RouteConfig & {
14
+ getRoutingPath(): string;
15
+ }, I extends Input['in']> = ToSchema<R['method'], ReturnType<R['getRoutingPath']>, I, RouteConfigToTypedResponse<R>>;
16
+ export type HonoRouterSchema<T> = T extends Hono<any, infer S, any> ? S : never;
6
17
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/hono/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAE9E,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG;IACjC,iBAAiB,CAAC,EAAE,sBAAsB,CAAC;CAC9C,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/hono/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACjC,OAAO,KAAK,EAAE,WAAW,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAE9E,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG;IACjC,iBAAiB,CAAC,EAAE,sBAAsB,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAE5E,MAAM,MAAM,oBAAoB,GAAG,CAC/B,GAAG,EAAE,OAAO,KACX,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;AAEtD,MAAM,MAAM,kBAAkB,CAC1B,CAAC,SAAS,WAAW,GAAG;IAAE,cAAc,IAAI,MAAM,CAAA;CAAE,EACpD,CAAC,SAAS,KAAK,CAAC,IAAI,CAAC,IACrB,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC;AAE7F,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC"}
package/dist/index.cjs CHANGED
@@ -27,6 +27,7 @@ __reExport(index_exports, require("./hono/node/index.js"), module.exports);
27
27
  __reExport(index_exports, require("./hono/start-server.js"), module.exports);
28
28
  __reExport(index_exports, require("./events/webhook-subscriber.js"), module.exports);
29
29
  __reExport(index_exports, require("./events/a2a-sse-subscriber.js"), module.exports);
30
+ __reExport(index_exports, require("./events/session-sse-subscriber.js"), module.exports);
30
31
  __reExport(index_exports, require("./events/usage-event-subscriber.js"), module.exports);
31
32
  __reExport(index_exports, require("./events/usage-event-types.js"), module.exports);
32
33
  __reExport(index_exports, require("./events/webhook-types.js"), module.exports);
@@ -34,6 +35,7 @@ __reExport(index_exports, require("./events/types.js"), module.exports);
34
35
  __reExport(index_exports, require("./mcp/mcp-handler.js"), module.exports);
35
36
  __reExport(index_exports, require("./approval/manual-approval-handler.js"), module.exports);
36
37
  __reExport(index_exports, require("./approval/approval-coordinator.js"), module.exports);
38
+ __reExport(index_exports, require("./approval/wire-approval-events.js"), module.exports);
37
39
  var import_service = require("@dexto/tools-scheduler/service");
38
40
  // Annotate the CommonJS export names for ESM import in node:
39
41
  0 && (module.exports = {
@@ -43,11 +45,13 @@ var import_service = require("@dexto/tools-scheduler/service");
43
45
  ...require("./hono/start-server.js"),
44
46
  ...require("./events/webhook-subscriber.js"),
45
47
  ...require("./events/a2a-sse-subscriber.js"),
48
+ ...require("./events/session-sse-subscriber.js"),
46
49
  ...require("./events/usage-event-subscriber.js"),
47
50
  ...require("./events/usage-event-types.js"),
48
51
  ...require("./events/webhook-types.js"),
49
52
  ...require("./events/types.js"),
50
53
  ...require("./mcp/mcp-handler.js"),
51
54
  ...require("./approval/manual-approval-handler.js"),
52
- ...require("./approval/approval-coordinator.js")
55
+ ...require("./approval/approval-coordinator.js"),
56
+ ...require("./approval/wire-approval-events.js")
53
57
  });
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export * from './hono/start-server.js';
4
4
  export type { DextoApp } from './hono/types.js';
5
5
  export * from './events/webhook-subscriber.js';
6
6
  export * from './events/a2a-sse-subscriber.js';
7
+ export * from './events/session-sse-subscriber.js';
7
8
  export * from './events/usage-event-subscriber.js';
8
9
  export * from './events/usage-event-types.js';
9
10
  export * from './events/webhook-types.js';
@@ -11,5 +12,6 @@ export * from './events/types.js';
11
12
  export * from './mcp/mcp-handler.js';
12
13
  export * from './approval/manual-approval-handler.js';
13
14
  export * from './approval/approval-coordinator.js';
15
+ export * from './approval/wire-approval-events.js';
14
16
  export { getSchedulerManager } from '@dexto/tools-scheduler/service';
15
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC"}
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@ export * from "./hono/node/index.js";
3
3
  export * from "./hono/start-server.js";
4
4
  export * from "./events/webhook-subscriber.js";
5
5
  export * from "./events/a2a-sse-subscriber.js";
6
+ export * from "./events/session-sse-subscriber.js";
6
7
  export * from "./events/usage-event-subscriber.js";
7
8
  export * from "./events/usage-event-types.js";
8
9
  export * from "./events/webhook-types.js";
@@ -10,6 +11,7 @@ export * from "./events/types.js";
10
11
  export * from "./mcp/mcp-handler.js";
11
12
  export * from "./approval/manual-approval-handler.js";
12
13
  export * from "./approval/approval-coordinator.js";
14
+ export * from "./approval/wire-approval-events.js";
13
15
  import { getSchedulerManager } from "@dexto/tools-scheduler/service";
14
16
  export {
15
17
  getSchedulerManager
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexto/server",
3
- "version": "1.6.20",
3
+ "version": "1.6.22",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -31,12 +31,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.20",
35
- "@dexto/agent-management": "1.6.20",
36
- "@dexto/core": "1.6.20",
37
- "@dexto/storage": "1.6.20",
38
- "@dexto/image-local": "1.6.20",
39
- "@dexto/tools-scheduler": "1.6.20"
34
+ "@dexto/agent-config": "1.6.22",
35
+ "@dexto/agent-management": "1.6.22",
36
+ "@dexto/core": "1.6.22",
37
+ "@dexto/image-local": "1.6.22",
38
+ "@dexto/storage": "1.6.22",
39
+ "@dexto/tools-scheduler": "1.6.22"
40
40
  },
41
41
  "files": [
42
42
  "dist",