@dexto/server 1.6.18 → 1.6.19

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.
@@ -802,13 +802,13 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
802
802
  };
803
803
  } & {
804
804
  json: {
805
- status: import("@dexto/core").ApprovalStatus;
805
+ status: "approved" | "denied" | "cancelled";
806
806
  message?: string | undefined;
807
807
  formData?: Record<string, unknown> | undefined;
808
808
  rememberChoice?: boolean | undefined;
809
809
  rememberPattern?: string | undefined;
810
810
  rememberDirectory?: boolean | undefined;
811
- reason?: import("@dexto/core").DenialReason | undefined;
811
+ reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
812
812
  };
813
813
  };
814
814
  output: {};
@@ -825,13 +825,13 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
825
825
  };
826
826
  } & {
827
827
  json: {
828
- status: import("@dexto/core").ApprovalStatus;
828
+ status: "approved" | "denied" | "cancelled";
829
829
  message?: string | undefined;
830
830
  formData?: Record<string, unknown> | undefined;
831
831
  rememberChoice?: boolean | undefined;
832
832
  rememberPattern?: string | undefined;
833
833
  rememberDirectory?: boolean | undefined;
834
- reason?: import("@dexto/core").DenialReason | undefined;
834
+ reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
835
835
  };
836
836
  };
837
837
  output: {};
@@ -848,13 +848,13 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
848
848
  };
849
849
  } & {
850
850
  json: {
851
- status: import("@dexto/core").ApprovalStatus;
851
+ status: "approved" | "denied" | "cancelled";
852
852
  message?: string | undefined;
853
853
  formData?: Record<string, unknown> | undefined;
854
854
  rememberChoice?: boolean | undefined;
855
855
  rememberPattern?: string | undefined;
856
856
  rememberDirectory?: boolean | undefined;
857
- reason?: import("@dexto/core").DenialReason | undefined;
857
+ reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
858
858
  };
859
859
  };
860
860
  output: {};
@@ -871,17 +871,17 @@ export declare function createDextoApp(options: CreateDextoAppOptions): OpenAPIH
871
871
  };
872
872
  } & {
873
873
  json: {
874
- status: import("@dexto/core").ApprovalStatus;
874
+ status: "approved" | "denied" | "cancelled";
875
875
  message?: string | undefined;
876
876
  formData?: Record<string, unknown> | undefined;
877
877
  rememberChoice?: boolean | undefined;
878
878
  rememberPattern?: string | undefined;
879
879
  rememberDirectory?: boolean | undefined;
880
- reason?: import("@dexto/core").DenialReason | undefined;
880
+ reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
881
881
  };
882
882
  };
883
883
  output: {
884
- status: import("@dexto/core").ApprovalStatus;
884
+ status: "approved" | "denied" | "cancelled";
885
885
  ok: boolean;
886
886
  approvalId: string;
887
887
  };
@@ -1,5 +1,5 @@
1
1
  import { OpenAPIHono } from '@hono/zod-openapi';
2
- import { type DextoAgent, DenialReason, ApprovalStatus } from '@dexto/core';
2
+ import { type DextoAgent } from '@dexto/core';
3
3
  import type { ApprovalCoordinator } from '../../approval/approval-coordinator.js';
4
4
  import type { Context } from 'hono';
5
5
  type GetAgentFn = (ctx: Context) => DextoAgent | Promise<DextoAgent>;
@@ -41,13 +41,13 @@ export declare function createApprovalsRouter(getAgent: GetAgentFn, approvalCoor
41
41
  };
42
42
  } & {
43
43
  json: {
44
- status: ApprovalStatus;
44
+ status: "approved" | "denied" | "cancelled";
45
45
  message?: string | undefined;
46
46
  formData?: Record<string, unknown> | undefined;
47
47
  rememberChoice?: boolean | undefined;
48
48
  rememberPattern?: string | undefined;
49
49
  rememberDirectory?: boolean | undefined;
50
- reason?: DenialReason | undefined;
50
+ reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
51
51
  };
52
52
  };
53
53
  output: {};
@@ -64,13 +64,13 @@ export declare function createApprovalsRouter(getAgent: GetAgentFn, approvalCoor
64
64
  };
65
65
  } & {
66
66
  json: {
67
- status: ApprovalStatus;
67
+ status: "approved" | "denied" | "cancelled";
68
68
  message?: string | undefined;
69
69
  formData?: Record<string, unknown> | undefined;
70
70
  rememberChoice?: boolean | undefined;
71
71
  rememberPattern?: string | undefined;
72
72
  rememberDirectory?: boolean | undefined;
73
- reason?: DenialReason | undefined;
73
+ reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
74
74
  };
75
75
  };
76
76
  output: {};
@@ -87,13 +87,13 @@ export declare function createApprovalsRouter(getAgent: GetAgentFn, approvalCoor
87
87
  };
88
88
  } & {
89
89
  json: {
90
- status: ApprovalStatus;
90
+ status: "approved" | "denied" | "cancelled";
91
91
  message?: string | undefined;
92
92
  formData?: Record<string, unknown> | undefined;
93
93
  rememberChoice?: boolean | undefined;
94
94
  rememberPattern?: string | undefined;
95
95
  rememberDirectory?: boolean | undefined;
96
- reason?: DenialReason | undefined;
96
+ reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
97
97
  };
98
98
  };
99
99
  output: {};
@@ -110,17 +110,17 @@ export declare function createApprovalsRouter(getAgent: GetAgentFn, approvalCoor
110
110
  };
111
111
  } & {
112
112
  json: {
113
- status: ApprovalStatus;
113
+ status: "approved" | "denied" | "cancelled";
114
114
  message?: string | undefined;
115
115
  formData?: Record<string, unknown> | undefined;
116
116
  rememberChoice?: boolean | undefined;
117
117
  rememberPattern?: string | undefined;
118
118
  rememberDirectory?: boolean | undefined;
119
- reason?: DenialReason | undefined;
119
+ reason?: "timeout" | "user_denied" | "system_denied" | "user_cancelled" | "system_cancelled" | "validation_failed" | "elicitation_disabled" | undefined;
120
120
  };
121
121
  };
122
122
  output: {
123
- status: ApprovalStatus;
123
+ status: "approved" | "denied" | "cancelled";
124
124
  ok: boolean;
125
125
  approvalId: string;
126
126
  };
@@ -1 +1 @@
1
- {"version":3,"file":"approvals.d.ts","sourceRoot":"","sources":["../../../src/hono/routes/approvals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,KAAK,UAAU,EAAE,YAAY,EAAE,cAAc,EAAiB,MAAM,aAAa,CAAC;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,KAAK,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAqIrE,wBAAgB,qBAAqB,CACjC,QAAQ,EAAE,UAAU,EACpB,mBAAmB,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAmL5C"}
1
+ {"version":3,"file":"approvals.d.ts","sourceRoot":"","sources":["../../../src/hono/routes/approvals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,KAAK,UAAU,EAA+C,MAAM,aAAa,CAAC;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,KAAK,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAqIrE,wBAAgB,qBAAqB,CACjC,QAAQ,EAAE,UAAU,EACpB,mBAAmB,CAAC,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAmL5C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexto/server",
3
- "version": "1.6.18",
3
+ "version": "1.6.19",
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.10",
28
+ "@hono/node-server": "1.19.11",
29
29
  "@hono/zod-openapi": "^0.19.1",
30
- "hono": "^4.12.7",
30
+ "hono": "^4.12.9",
31
31
  "ws": "^8.18.1",
32
- "yaml": "^2.7.1",
33
- "@modelcontextprotocol/sdk": "^1.27.1",
34
- "@dexto/agent-config": "1.6.18",
35
- "@dexto/agent-management": "1.6.18",
36
- "@dexto/core": "1.6.18",
37
- "@dexto/image-local": "1.6.18",
38
- "@dexto/storage": "1.6.18",
39
- "@dexto/tools-scheduler": "1.6.18"
32
+ "yaml": "^2.8.3",
33
+ "@modelcontextprotocol/sdk": "^1.28.0",
34
+ "@dexto/agent-config": "1.6.19",
35
+ "@dexto/agent-management": "1.6.19",
36
+ "@dexto/core": "1.6.19",
37
+ "@dexto/image-local": "1.6.19",
38
+ "@dexto/storage": "1.6.19",
39
+ "@dexto/tools-scheduler": "1.6.19"
40
40
  },
41
41
  "files": [
42
42
  "dist",