@mako10k/shell-server 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +114 -0
- package/dist/backoffice/index.d.ts +2 -0
- package/dist/backoffice/index.d.ts.map +1 -0
- package/dist/backoffice/index.js +47 -0
- package/dist/backoffice/index.js.map +1 -0
- package/dist/backoffice/server.d.ts +45 -0
- package/dist/backoffice/server.d.ts.map +1 -0
- package/dist/backoffice/server.js +610 -0
- package/dist/backoffice/server.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +525 -0
- package/dist/cli.js.map +1 -0
- package/dist/core/config-manager.d.ts +80 -0
- package/dist/core/config-manager.d.ts.map +1 -0
- package/dist/core/config-manager.js +218 -0
- package/dist/core/config-manager.js.map +1 -0
- package/dist/core/enhanced-history-manager.d.ts +84 -0
- package/dist/core/enhanced-history-manager.d.ts.map +1 -0
- package/dist/core/enhanced-history-manager.js +319 -0
- package/dist/core/enhanced-history-manager.js.map +1 -0
- package/dist/core/file-manager.d.ts +79 -0
- package/dist/core/file-manager.d.ts.map +1 -0
- package/dist/core/file-manager.js +338 -0
- package/dist/core/file-manager.js.map +1 -0
- package/dist/core/file-storage-subscriber.d.ts +38 -0
- package/dist/core/file-storage-subscriber.d.ts.map +1 -0
- package/dist/core/file-storage-subscriber.js +132 -0
- package/dist/core/file-storage-subscriber.js.map +1 -0
- package/dist/core/monitoring-manager.d.ts +32 -0
- package/dist/core/monitoring-manager.d.ts.map +1 -0
- package/dist/core/monitoring-manager.js +296 -0
- package/dist/core/monitoring-manager.js.map +1 -0
- package/dist/core/process-manager.d.ts +105 -0
- package/dist/core/process-manager.d.ts.map +1 -0
- package/dist/core/process-manager.js +1374 -0
- package/dist/core/process-manager.js.map +1 -0
- package/dist/core/realtime-stream-subscriber.d.ts +93 -0
- package/dist/core/realtime-stream-subscriber.d.ts.map +1 -0
- package/dist/core/realtime-stream-subscriber.js +200 -0
- package/dist/core/realtime-stream-subscriber.js.map +1 -0
- package/dist/core/remote-http-client.d.ts +15 -0
- package/dist/core/remote-http-client.d.ts.map +1 -0
- package/dist/core/remote-http-client.js +60 -0
- package/dist/core/remote-http-client.js.map +1 -0
- package/dist/core/remote-process-service.d.ts +50 -0
- package/dist/core/remote-process-service.d.ts.map +1 -0
- package/dist/core/remote-process-service.js +20 -0
- package/dist/core/remote-process-service.js.map +1 -0
- package/dist/core/server-manager.d.ts +71 -0
- package/dist/core/server-manager.d.ts.map +1 -0
- package/dist/core/server-manager.js +680 -0
- package/dist/core/server-manager.js.map +1 -0
- package/dist/core/stream-publisher.d.ts +75 -0
- package/dist/core/stream-publisher.d.ts.map +1 -0
- package/dist/core/stream-publisher.js +127 -0
- package/dist/core/stream-publisher.js.map +1 -0
- package/dist/core/streaming-pipeline-reader.d.ts +67 -0
- package/dist/core/streaming-pipeline-reader.d.ts.map +1 -0
- package/dist/core/streaming-pipeline-reader.js +191 -0
- package/dist/core/streaming-pipeline-reader.js.map +1 -0
- package/dist/core/terminal-manager.d.ts +96 -0
- package/dist/core/terminal-manager.d.ts.map +1 -0
- package/dist/core/terminal-manager.js +515 -0
- package/dist/core/terminal-manager.js.map +1 -0
- package/dist/daemon/server.d.ts +8 -0
- package/dist/daemon/server.d.ts.map +1 -0
- package/dist/daemon/server.js +416 -0
- package/dist/daemon/server.js.map +1 -0
- package/dist/daemon/uds-transport.d.ts +31 -0
- package/dist/daemon/uds-transport.d.ts.map +1 -0
- package/dist/daemon/uds-transport.js +149 -0
- package/dist/daemon/uds-transport.js.map +1 -0
- package/dist/executor/server.d.ts +20 -0
- package/dist/executor/server.d.ts.map +1 -0
- package/dist/executor/server.js +375 -0
- package/dist/executor/server.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +73 -0
- package/dist/index.js.map +1 -0
- package/dist/runtime/daemon-runtime.d.ts +4 -0
- package/dist/runtime/daemon-runtime.d.ts.map +1 -0
- package/dist/runtime/daemon-runtime.js +4 -0
- package/dist/runtime/daemon-runtime.js.map +1 -0
- package/dist/runtime/index.d.ts +3 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +3 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/runtime/tool-runtime.d.ts +52 -0
- package/dist/runtime/tool-runtime.d.ts.map +1 -0
- package/dist/runtime/tool-runtime.js +161 -0
- package/dist/runtime/tool-runtime.js.map +1 -0
- package/dist/security/chat-completion-adapter.d.ts +443 -0
- package/dist/security/chat-completion-adapter.d.ts.map +1 -0
- package/dist/security/chat-completion-adapter.js +475 -0
- package/dist/security/chat-completion-adapter.js.map +1 -0
- package/dist/security/enhanced-evaluator.d.ts +139 -0
- package/dist/security/enhanced-evaluator.d.ts.map +1 -0
- package/dist/security/enhanced-evaluator.js +1208 -0
- package/dist/security/enhanced-evaluator.js.map +1 -0
- package/dist/security/evaluator-types.d.ts +614 -0
- package/dist/security/evaluator-types.d.ts.map +1 -0
- package/dist/security/evaluator-types.js +124 -0
- package/dist/security/evaluator-types.js.map +1 -0
- package/dist/security/manager.d.ts +76 -0
- package/dist/security/manager.d.ts.map +1 -0
- package/dist/security/manager.js +445 -0
- package/dist/security/manager.js.map +1 -0
- package/dist/security/security-llm-prompt-generator.d.ts +105 -0
- package/dist/security/security-llm-prompt-generator.d.ts.map +1 -0
- package/dist/security/security-llm-prompt-generator.js +323 -0
- package/dist/security/security-llm-prompt-generator.js.map +1 -0
- package/dist/security/security-tools.d.ts +174 -0
- package/dist/security/security-tools.d.ts.map +1 -0
- package/dist/security/security-tools.js +159 -0
- package/dist/security/security-tools.js.map +1 -0
- package/dist/security/validator-criteria-manager.d.ts +47 -0
- package/dist/security/validator-criteria-manager.d.ts.map +1 -0
- package/dist/security/validator-criteria-manager.js +169 -0
- package/dist/security/validator-criteria-manager.js.map +1 -0
- package/dist/tools/shell-tools.d.ts +474 -0
- package/dist/tools/shell-tools.d.ts.map +1 -0
- package/dist/tools/shell-tools.js +861 -0
- package/dist/tools/shell-tools.js.map +1 -0
- package/dist/types/enhanced-security.d.ts +529 -0
- package/dist/types/enhanced-security.d.ts.map +1 -0
- package/dist/types/enhanced-security.js +286 -0
- package/dist/types/enhanced-security.js.map +1 -0
- package/dist/types/index.d.ts +282 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +158 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/quick-schemas.d.ts +177 -0
- package/dist/types/quick-schemas.d.ts.map +1 -0
- package/dist/types/quick-schemas.js +113 -0
- package/dist/types/quick-schemas.js.map +1 -0
- package/dist/types/response-schemas.d.ts +41 -0
- package/dist/types/response-schemas.d.ts.map +1 -0
- package/dist/types/response-schemas.js +41 -0
- package/dist/types/response-schemas.js.map +1 -0
- package/dist/types/schemas.d.ts +578 -0
- package/dist/types/schemas.d.ts.map +1 -0
- package/dist/types/schemas.js +498 -0
- package/dist/types/schemas.js.map +1 -0
- package/dist/utils/criteria-manager.d.ts +47 -0
- package/dist/utils/criteria-manager.d.ts.map +1 -0
- package/dist/utils/criteria-manager.js +228 -0
- package/dist/utils/criteria-manager.js.map +1 -0
- package/dist/utils/errors.d.ts +27 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +67 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/helpers.d.ts +85 -0
- package/dist/utils/helpers.d.ts.map +1 -0
- package/dist/utils/helpers.js +400 -0
- package/dist/utils/helpers.js.map +1 -0
- package/dist/utils/json-repair.d.ts +23 -0
- package/dist/utils/json-repair.d.ts.map +1 -0
- package/dist/utils/json-repair.js +208 -0
- package/dist/utils/json-repair.js.map +1 -0
- package/dist/utils/process-utils.d.ts +31 -0
- package/dist/utils/process-utils.d.ts.map +1 -0
- package/dist/utils/process-utils.js +217 -0
- package/dist/utils/process-utils.js.map +1 -0
- package/dist/utils/server-helpers.d.ts +4 -0
- package/dist/utils/server-helpers.d.ts.map +1 -0
- package/dist/utils/server-helpers.js +10 -0
- package/dist/utils/server-helpers.js.map +1 -0
- package/dist/utils/sse.d.ts +2 -0
- package/dist/utils/sse.d.ts.map +1 -0
- package/dist/utils/sse.js +6 -0
- package/dist/utils/sse.js.map +1 -0
- package/package.json +47 -0
|
@@ -0,0 +1,614 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const MessageContentSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"text">;
|
|
4
|
+
text: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
type: "text";
|
|
7
|
+
text: string;
|
|
8
|
+
}, {
|
|
9
|
+
type: "text";
|
|
10
|
+
text: string;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const ToolCallSchema: z.ZodObject<{
|
|
13
|
+
id: z.ZodString;
|
|
14
|
+
type: z.ZodLiteral<"function">;
|
|
15
|
+
function: z.ZodObject<{
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
arguments: z.ZodString;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
name: string;
|
|
20
|
+
arguments: string;
|
|
21
|
+
}, {
|
|
22
|
+
name: string;
|
|
23
|
+
arguments: string;
|
|
24
|
+
}>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
function: {
|
|
27
|
+
name: string;
|
|
28
|
+
arguments: string;
|
|
29
|
+
};
|
|
30
|
+
type: "function";
|
|
31
|
+
id: string;
|
|
32
|
+
}, {
|
|
33
|
+
function: {
|
|
34
|
+
name: string;
|
|
35
|
+
arguments: string;
|
|
36
|
+
};
|
|
37
|
+
type: "function";
|
|
38
|
+
id: string;
|
|
39
|
+
}>;
|
|
40
|
+
export declare const ToolChoiceSchema: z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"none">, z.ZodObject<{
|
|
41
|
+
type: z.ZodLiteral<"function">;
|
|
42
|
+
function: z.ZodObject<{
|
|
43
|
+
name: z.ZodString;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
name: string;
|
|
46
|
+
}, {
|
|
47
|
+
name: string;
|
|
48
|
+
}>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
function: {
|
|
51
|
+
name: string;
|
|
52
|
+
};
|
|
53
|
+
type: "function";
|
|
54
|
+
}, {
|
|
55
|
+
function: {
|
|
56
|
+
name: string;
|
|
57
|
+
};
|
|
58
|
+
type: "function";
|
|
59
|
+
}>, z.ZodObject<{
|
|
60
|
+
type: z.ZodLiteral<"tool">;
|
|
61
|
+
name: z.ZodString;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
type: "tool";
|
|
64
|
+
name: string;
|
|
65
|
+
}, {
|
|
66
|
+
type: "tool";
|
|
67
|
+
name: string;
|
|
68
|
+
}>]>;
|
|
69
|
+
export declare const CreateMessageRequestSchema: z.ZodObject<{
|
|
70
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
71
|
+
role: z.ZodEnum<["user", "assistant", "tool"]>;
|
|
72
|
+
content: z.ZodObject<{
|
|
73
|
+
type: z.ZodLiteral<"text">;
|
|
74
|
+
text: z.ZodString;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
type: "text";
|
|
77
|
+
text: string;
|
|
78
|
+
}, {
|
|
79
|
+
type: "text";
|
|
80
|
+
text: string;
|
|
81
|
+
}>;
|
|
82
|
+
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
content: {
|
|
85
|
+
type: "text";
|
|
86
|
+
text: string;
|
|
87
|
+
};
|
|
88
|
+
role: "tool" | "user" | "assistant";
|
|
89
|
+
tool_call_id?: string | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
content: {
|
|
92
|
+
type: "text";
|
|
93
|
+
text: string;
|
|
94
|
+
};
|
|
95
|
+
role: "tool" | "user" | "assistant";
|
|
96
|
+
tool_call_id?: string | undefined;
|
|
97
|
+
}>, "many">;
|
|
98
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
99
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
101
|
+
includeContext: z.ZodOptional<z.ZodEnum<["none", "thisServer", "allServers"]>>;
|
|
102
|
+
stopSequences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
103
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
104
|
+
modelPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
105
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
106
|
+
type: z.ZodLiteral<"function">;
|
|
107
|
+
function: z.ZodObject<{
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
description: z.ZodString;
|
|
110
|
+
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
name: string;
|
|
113
|
+
description: string;
|
|
114
|
+
parameters: Record<string, unknown>;
|
|
115
|
+
}, {
|
|
116
|
+
name: string;
|
|
117
|
+
description: string;
|
|
118
|
+
parameters: Record<string, unknown>;
|
|
119
|
+
}>;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
function: {
|
|
122
|
+
name: string;
|
|
123
|
+
description: string;
|
|
124
|
+
parameters: Record<string, unknown>;
|
|
125
|
+
};
|
|
126
|
+
type: "function";
|
|
127
|
+
}, {
|
|
128
|
+
function: {
|
|
129
|
+
name: string;
|
|
130
|
+
description: string;
|
|
131
|
+
parameters: Record<string, unknown>;
|
|
132
|
+
};
|
|
133
|
+
type: "function";
|
|
134
|
+
}>, "many">>;
|
|
135
|
+
tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"none">, z.ZodObject<{
|
|
136
|
+
type: z.ZodLiteral<"function">;
|
|
137
|
+
function: z.ZodObject<{
|
|
138
|
+
name: z.ZodString;
|
|
139
|
+
}, "strip", z.ZodTypeAny, {
|
|
140
|
+
name: string;
|
|
141
|
+
}, {
|
|
142
|
+
name: string;
|
|
143
|
+
}>;
|
|
144
|
+
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
function: {
|
|
146
|
+
name: string;
|
|
147
|
+
};
|
|
148
|
+
type: "function";
|
|
149
|
+
}, {
|
|
150
|
+
function: {
|
|
151
|
+
name: string;
|
|
152
|
+
};
|
|
153
|
+
type: "function";
|
|
154
|
+
}>, z.ZodObject<{
|
|
155
|
+
type: z.ZodLiteral<"tool">;
|
|
156
|
+
name: z.ZodString;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
type: "tool";
|
|
159
|
+
name: string;
|
|
160
|
+
}, {
|
|
161
|
+
type: "tool";
|
|
162
|
+
name: string;
|
|
163
|
+
}>]>>;
|
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
messages: {
|
|
166
|
+
content: {
|
|
167
|
+
type: "text";
|
|
168
|
+
text: string;
|
|
169
|
+
};
|
|
170
|
+
role: "tool" | "user" | "assistant";
|
|
171
|
+
tool_call_id?: string | undefined;
|
|
172
|
+
}[];
|
|
173
|
+
maxTokens?: number | undefined;
|
|
174
|
+
temperature?: number | undefined;
|
|
175
|
+
systemPrompt?: string | undefined;
|
|
176
|
+
includeContext?: "none" | "thisServer" | "allServers" | undefined;
|
|
177
|
+
stopSequences?: string[] | undefined;
|
|
178
|
+
metadata?: Record<string, unknown> | undefined;
|
|
179
|
+
modelPreferences?: Record<string, unknown> | undefined;
|
|
180
|
+
tools?: {
|
|
181
|
+
function: {
|
|
182
|
+
name: string;
|
|
183
|
+
description: string;
|
|
184
|
+
parameters: Record<string, unknown>;
|
|
185
|
+
};
|
|
186
|
+
type: "function";
|
|
187
|
+
}[] | undefined;
|
|
188
|
+
tool_choice?: "auto" | "none" | {
|
|
189
|
+
function: {
|
|
190
|
+
name: string;
|
|
191
|
+
};
|
|
192
|
+
type: "function";
|
|
193
|
+
} | {
|
|
194
|
+
type: "tool";
|
|
195
|
+
name: string;
|
|
196
|
+
} | undefined;
|
|
197
|
+
}, {
|
|
198
|
+
messages: {
|
|
199
|
+
content: {
|
|
200
|
+
type: "text";
|
|
201
|
+
text: string;
|
|
202
|
+
};
|
|
203
|
+
role: "tool" | "user" | "assistant";
|
|
204
|
+
tool_call_id?: string | undefined;
|
|
205
|
+
}[];
|
|
206
|
+
maxTokens?: number | undefined;
|
|
207
|
+
temperature?: number | undefined;
|
|
208
|
+
systemPrompt?: string | undefined;
|
|
209
|
+
includeContext?: "none" | "thisServer" | "allServers" | undefined;
|
|
210
|
+
stopSequences?: string[] | undefined;
|
|
211
|
+
metadata?: Record<string, unknown> | undefined;
|
|
212
|
+
modelPreferences?: Record<string, unknown> | undefined;
|
|
213
|
+
tools?: {
|
|
214
|
+
function: {
|
|
215
|
+
name: string;
|
|
216
|
+
description: string;
|
|
217
|
+
parameters: Record<string, unknown>;
|
|
218
|
+
};
|
|
219
|
+
type: "function";
|
|
220
|
+
}[] | undefined;
|
|
221
|
+
tool_choice?: "auto" | "none" | {
|
|
222
|
+
function: {
|
|
223
|
+
name: string;
|
|
224
|
+
};
|
|
225
|
+
type: "function";
|
|
226
|
+
} | {
|
|
227
|
+
type: "tool";
|
|
228
|
+
name: string;
|
|
229
|
+
} | undefined;
|
|
230
|
+
}>;
|
|
231
|
+
export declare const CreateMessageResponseSchema: z.ZodObject<{
|
|
232
|
+
content: z.ZodObject<{
|
|
233
|
+
type: z.ZodLiteral<"text">;
|
|
234
|
+
text: z.ZodString;
|
|
235
|
+
}, "strip", z.ZodTypeAny, {
|
|
236
|
+
type: "text";
|
|
237
|
+
text: string;
|
|
238
|
+
}, {
|
|
239
|
+
type: "text";
|
|
240
|
+
text: string;
|
|
241
|
+
}>;
|
|
242
|
+
model: z.ZodOptional<z.ZodString>;
|
|
243
|
+
stopReason: z.ZodOptional<z.ZodString>;
|
|
244
|
+
tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
245
|
+
id: z.ZodString;
|
|
246
|
+
type: z.ZodLiteral<"function">;
|
|
247
|
+
function: z.ZodObject<{
|
|
248
|
+
name: z.ZodString;
|
|
249
|
+
arguments: z.ZodString;
|
|
250
|
+
}, "strip", z.ZodTypeAny, {
|
|
251
|
+
name: string;
|
|
252
|
+
arguments: string;
|
|
253
|
+
}, {
|
|
254
|
+
name: string;
|
|
255
|
+
arguments: string;
|
|
256
|
+
}>;
|
|
257
|
+
}, "strip", z.ZodTypeAny, {
|
|
258
|
+
function: {
|
|
259
|
+
name: string;
|
|
260
|
+
arguments: string;
|
|
261
|
+
};
|
|
262
|
+
type: "function";
|
|
263
|
+
id: string;
|
|
264
|
+
}, {
|
|
265
|
+
function: {
|
|
266
|
+
name: string;
|
|
267
|
+
arguments: string;
|
|
268
|
+
};
|
|
269
|
+
type: "function";
|
|
270
|
+
id: string;
|
|
271
|
+
}>, "many">>;
|
|
272
|
+
}, "strip", z.ZodTypeAny, {
|
|
273
|
+
content: {
|
|
274
|
+
type: "text";
|
|
275
|
+
text: string;
|
|
276
|
+
};
|
|
277
|
+
model?: string | undefined;
|
|
278
|
+
stopReason?: string | undefined;
|
|
279
|
+
tool_calls?: {
|
|
280
|
+
function: {
|
|
281
|
+
name: string;
|
|
282
|
+
arguments: string;
|
|
283
|
+
};
|
|
284
|
+
type: "function";
|
|
285
|
+
id: string;
|
|
286
|
+
}[] | undefined;
|
|
287
|
+
}, {
|
|
288
|
+
content: {
|
|
289
|
+
type: "text";
|
|
290
|
+
text: string;
|
|
291
|
+
};
|
|
292
|
+
model?: string | undefined;
|
|
293
|
+
stopReason?: string | undefined;
|
|
294
|
+
tool_calls?: {
|
|
295
|
+
function: {
|
|
296
|
+
name: string;
|
|
297
|
+
arguments: string;
|
|
298
|
+
};
|
|
299
|
+
type: "function";
|
|
300
|
+
id: string;
|
|
301
|
+
}[] | undefined;
|
|
302
|
+
}>;
|
|
303
|
+
export declare const ElicitationPropertySchema: z.ZodObject<{
|
|
304
|
+
type: z.ZodString;
|
|
305
|
+
title: z.ZodOptional<z.ZodString>;
|
|
306
|
+
description: z.ZodOptional<z.ZodString>;
|
|
307
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
308
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
309
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
310
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
311
|
+
type: z.ZodString;
|
|
312
|
+
title: z.ZodOptional<z.ZodString>;
|
|
313
|
+
description: z.ZodOptional<z.ZodString>;
|
|
314
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
315
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
316
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
317
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
318
|
+
type: z.ZodString;
|
|
319
|
+
title: z.ZodOptional<z.ZodString>;
|
|
320
|
+
description: z.ZodOptional<z.ZodString>;
|
|
321
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
322
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
323
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
324
|
+
}, z.ZodUnknown, "strip">>;
|
|
325
|
+
export declare const ElicitationSchemaSchema: z.ZodObject<{
|
|
326
|
+
type: z.ZodLiteral<"object">;
|
|
327
|
+
properties: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
328
|
+
type: z.ZodString;
|
|
329
|
+
title: z.ZodOptional<z.ZodString>;
|
|
330
|
+
description: z.ZodOptional<z.ZodString>;
|
|
331
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
332
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
333
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
334
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
335
|
+
type: z.ZodString;
|
|
336
|
+
title: z.ZodOptional<z.ZodString>;
|
|
337
|
+
description: z.ZodOptional<z.ZodString>;
|
|
338
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
339
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
341
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
342
|
+
type: z.ZodString;
|
|
343
|
+
title: z.ZodOptional<z.ZodString>;
|
|
344
|
+
description: z.ZodOptional<z.ZodString>;
|
|
345
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
347
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
348
|
+
}, z.ZodUnknown, "strip">>>;
|
|
349
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
350
|
+
}, "strip", z.ZodTypeAny, {
|
|
351
|
+
type: "object";
|
|
352
|
+
properties: Record<string, z.objectOutputType<{
|
|
353
|
+
type: z.ZodString;
|
|
354
|
+
title: z.ZodOptional<z.ZodString>;
|
|
355
|
+
description: z.ZodOptional<z.ZodString>;
|
|
356
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
357
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
358
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
359
|
+
}, z.ZodUnknown, "strip">>;
|
|
360
|
+
required?: string[] | undefined;
|
|
361
|
+
}, {
|
|
362
|
+
type: "object";
|
|
363
|
+
properties: Record<string, z.objectInputType<{
|
|
364
|
+
type: z.ZodString;
|
|
365
|
+
title: z.ZodOptional<z.ZodString>;
|
|
366
|
+
description: z.ZodOptional<z.ZodString>;
|
|
367
|
+
minimum: z.ZodOptional<z.ZodNumber>;
|
|
368
|
+
maximum: z.ZodOptional<z.ZodNumber>;
|
|
369
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
370
|
+
}, z.ZodUnknown, "strip">>;
|
|
371
|
+
required?: string[] | undefined;
|
|
372
|
+
}>;
|
|
373
|
+
export declare const ElicitationResponseSchema: z.ZodObject<{
|
|
374
|
+
action: z.ZodEnum<["accept", "decline", "cancel"]>;
|
|
375
|
+
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
376
|
+
}, "strip", z.ZodTypeAny, {
|
|
377
|
+
action: "accept" | "decline" | "cancel";
|
|
378
|
+
content?: Record<string, unknown> | undefined;
|
|
379
|
+
}, {
|
|
380
|
+
action: "accept" | "decline" | "cancel";
|
|
381
|
+
content?: Record<string, unknown> | undefined;
|
|
382
|
+
}>;
|
|
383
|
+
export declare const RequiresAdditionalContextSchema: z.ZodObject<{
|
|
384
|
+
command_history_depth: z.ZodNumber;
|
|
385
|
+
execution_results_count: z.ZodNumber;
|
|
386
|
+
user_intent_search_keywords: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
387
|
+
user_intent_question: z.ZodNullable<z.ZodString>;
|
|
388
|
+
assistant_request_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
389
|
+
}, "strip", z.ZodTypeAny, {
|
|
390
|
+
command_history_depth: number;
|
|
391
|
+
execution_results_count: number;
|
|
392
|
+
user_intent_search_keywords: string[] | null;
|
|
393
|
+
user_intent_question: string | null;
|
|
394
|
+
assistant_request_message?: string | null | undefined;
|
|
395
|
+
}, {
|
|
396
|
+
command_history_depth: number;
|
|
397
|
+
execution_results_count: number;
|
|
398
|
+
user_intent_search_keywords: string[] | null;
|
|
399
|
+
user_intent_question: string | null;
|
|
400
|
+
assistant_request_message?: string | null | undefined;
|
|
401
|
+
}>;
|
|
402
|
+
export declare const LLMEvaluationResultSchema: z.ZodObject<{
|
|
403
|
+
evaluation_result: z.ZodEnum<["allow", "deny", "add_more_history", "user_confirm", "ai_assistant_confirm"]>;
|
|
404
|
+
reasoning: z.ZodString;
|
|
405
|
+
command_history_depth: z.ZodOptional<z.ZodNumber>;
|
|
406
|
+
execution_results_count: z.ZodOptional<z.ZodNumber>;
|
|
407
|
+
user_intent_search_keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
408
|
+
confirmation_question: z.ZodOptional<z.ZodString>;
|
|
409
|
+
assistant_request_message: z.ZodOptional<z.ZodString>;
|
|
410
|
+
suggested_alternatives: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
411
|
+
requires_additional_context: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
command_history_depth: z.ZodNumber;
|
|
413
|
+
execution_results_count: z.ZodNumber;
|
|
414
|
+
user_intent_search_keywords: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
415
|
+
user_intent_question: z.ZodNullable<z.ZodString>;
|
|
416
|
+
assistant_request_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
417
|
+
}, "strip", z.ZodTypeAny, {
|
|
418
|
+
command_history_depth: number;
|
|
419
|
+
execution_results_count: number;
|
|
420
|
+
user_intent_search_keywords: string[] | null;
|
|
421
|
+
user_intent_question: string | null;
|
|
422
|
+
assistant_request_message?: string | null | undefined;
|
|
423
|
+
}, {
|
|
424
|
+
command_history_depth: number;
|
|
425
|
+
execution_results_count: number;
|
|
426
|
+
user_intent_search_keywords: string[] | null;
|
|
427
|
+
user_intent_question: string | null;
|
|
428
|
+
assistant_request_message?: string | null | undefined;
|
|
429
|
+
}>>;
|
|
430
|
+
next_steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
431
|
+
}, "strip", z.ZodTypeAny, {
|
|
432
|
+
reasoning: string;
|
|
433
|
+
evaluation_result: "allow" | "deny" | "ai_assistant_confirm" | "add_more_history" | "user_confirm";
|
|
434
|
+
requires_additional_context?: {
|
|
435
|
+
command_history_depth: number;
|
|
436
|
+
execution_results_count: number;
|
|
437
|
+
user_intent_search_keywords: string[] | null;
|
|
438
|
+
user_intent_question: string | null;
|
|
439
|
+
assistant_request_message?: string | null | undefined;
|
|
440
|
+
} | undefined;
|
|
441
|
+
command_history_depth?: number | undefined;
|
|
442
|
+
execution_results_count?: number | undefined;
|
|
443
|
+
user_intent_search_keywords?: string[] | undefined;
|
|
444
|
+
suggested_alternatives?: string[] | undefined;
|
|
445
|
+
assistant_request_message?: string | undefined;
|
|
446
|
+
confirmation_question?: string | undefined;
|
|
447
|
+
next_steps?: string[] | undefined;
|
|
448
|
+
}, {
|
|
449
|
+
reasoning: string;
|
|
450
|
+
evaluation_result: "allow" | "deny" | "ai_assistant_confirm" | "add_more_history" | "user_confirm";
|
|
451
|
+
requires_additional_context?: {
|
|
452
|
+
command_history_depth: number;
|
|
453
|
+
execution_results_count: number;
|
|
454
|
+
user_intent_search_keywords: string[] | null;
|
|
455
|
+
user_intent_question: string | null;
|
|
456
|
+
assistant_request_message?: string | null | undefined;
|
|
457
|
+
} | undefined;
|
|
458
|
+
command_history_depth?: number | undefined;
|
|
459
|
+
execution_results_count?: number | undefined;
|
|
460
|
+
user_intent_search_keywords?: string[] | undefined;
|
|
461
|
+
suggested_alternatives?: string[] | undefined;
|
|
462
|
+
assistant_request_message?: string | undefined;
|
|
463
|
+
confirmation_question?: string | undefined;
|
|
464
|
+
next_steps?: string[] | undefined;
|
|
465
|
+
}>;
|
|
466
|
+
export declare const UserIntentDataSchema: z.ZodObject<{
|
|
467
|
+
intent: z.ZodString;
|
|
468
|
+
justification: z.ZodString;
|
|
469
|
+
timestamp: z.ZodString;
|
|
470
|
+
confidence_level: z.ZodEnum<["low", "medium", "high"]>;
|
|
471
|
+
elicitation_id: z.ZodString;
|
|
472
|
+
}, "strip", z.ZodTypeAny, {
|
|
473
|
+
timestamp: string;
|
|
474
|
+
confidence_level: "low" | "medium" | "high";
|
|
475
|
+
intent: string;
|
|
476
|
+
justification: string;
|
|
477
|
+
elicitation_id: string;
|
|
478
|
+
}, {
|
|
479
|
+
timestamp: string;
|
|
480
|
+
confidence_level: "low" | "medium" | "high";
|
|
481
|
+
intent: string;
|
|
482
|
+
justification: string;
|
|
483
|
+
elicitation_id: string;
|
|
484
|
+
}>;
|
|
485
|
+
export declare const NextActionSchema: z.ZodObject<{
|
|
486
|
+
instruction: z.ZodString;
|
|
487
|
+
method: z.ZodString;
|
|
488
|
+
expected_outcome: z.ZodString;
|
|
489
|
+
executable_commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
491
|
+
instruction: string;
|
|
492
|
+
method: string;
|
|
493
|
+
expected_outcome: string;
|
|
494
|
+
executable_commands?: string[] | undefined;
|
|
495
|
+
}, {
|
|
496
|
+
instruction: string;
|
|
497
|
+
method: string;
|
|
498
|
+
expected_outcome: string;
|
|
499
|
+
executable_commands?: string[] | undefined;
|
|
500
|
+
}>;
|
|
501
|
+
export declare const SafetyEvaluationSchema: z.ZodObject<{
|
|
502
|
+
evaluation_result: z.ZodEnum<["allow", "deny", "add_more_history", "user_confirm", "ai_assistant_confirm"]>;
|
|
503
|
+
basic_classification: z.ZodString;
|
|
504
|
+
reasoning: z.ZodString;
|
|
505
|
+
requires_confirmation: z.ZodBoolean;
|
|
506
|
+
suggested_alternatives: z.ZodArray<z.ZodString, "many">;
|
|
507
|
+
llm_evaluation_used: z.ZodBoolean;
|
|
508
|
+
user_confirmation_required: z.ZodOptional<z.ZodBoolean>;
|
|
509
|
+
user_response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
510
|
+
confirmation_message: z.ZodOptional<z.ZodString>;
|
|
511
|
+
elicitation_response: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
512
|
+
action: z.ZodEnum<["accept", "decline", "cancel"]>;
|
|
513
|
+
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
514
|
+
}, "strip", z.ZodTypeAny, {
|
|
515
|
+
action: "accept" | "decline" | "cancel";
|
|
516
|
+
content?: Record<string, unknown> | undefined;
|
|
517
|
+
}, {
|
|
518
|
+
action: "accept" | "decline" | "cancel";
|
|
519
|
+
content?: Record<string, unknown> | undefined;
|
|
520
|
+
}>>>;
|
|
521
|
+
next_action: z.ZodOptional<z.ZodObject<{
|
|
522
|
+
instruction: z.ZodString;
|
|
523
|
+
method: z.ZodString;
|
|
524
|
+
expected_outcome: z.ZodString;
|
|
525
|
+
executable_commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
526
|
+
}, "strip", z.ZodTypeAny, {
|
|
527
|
+
instruction: string;
|
|
528
|
+
method: string;
|
|
529
|
+
expected_outcome: string;
|
|
530
|
+
executable_commands?: string[] | undefined;
|
|
531
|
+
}, {
|
|
532
|
+
instruction: string;
|
|
533
|
+
method: string;
|
|
534
|
+
expected_outcome: string;
|
|
535
|
+
executable_commands?: string[] | undefined;
|
|
536
|
+
}>>;
|
|
537
|
+
next_steps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
538
|
+
}, "strip", z.ZodTypeAny, {
|
|
539
|
+
reasoning: string;
|
|
540
|
+
llm_evaluation_used: boolean;
|
|
541
|
+
evaluation_result: "allow" | "deny" | "ai_assistant_confirm" | "add_more_history" | "user_confirm";
|
|
542
|
+
suggested_alternatives: string[];
|
|
543
|
+
basic_classification: string;
|
|
544
|
+
requires_confirmation: boolean;
|
|
545
|
+
confirmation_message?: string | undefined;
|
|
546
|
+
user_response?: Record<string, unknown> | undefined;
|
|
547
|
+
next_steps?: string[] | undefined;
|
|
548
|
+
user_confirmation_required?: boolean | undefined;
|
|
549
|
+
elicitation_response?: {
|
|
550
|
+
action: "accept" | "decline" | "cancel";
|
|
551
|
+
content?: Record<string, unknown> | undefined;
|
|
552
|
+
} | null | undefined;
|
|
553
|
+
next_action?: {
|
|
554
|
+
instruction: string;
|
|
555
|
+
method: string;
|
|
556
|
+
expected_outcome: string;
|
|
557
|
+
executable_commands?: string[] | undefined;
|
|
558
|
+
} | undefined;
|
|
559
|
+
}, {
|
|
560
|
+
reasoning: string;
|
|
561
|
+
llm_evaluation_used: boolean;
|
|
562
|
+
evaluation_result: "allow" | "deny" | "ai_assistant_confirm" | "add_more_history" | "user_confirm";
|
|
563
|
+
suggested_alternatives: string[];
|
|
564
|
+
basic_classification: string;
|
|
565
|
+
requires_confirmation: boolean;
|
|
566
|
+
confirmation_message?: string | undefined;
|
|
567
|
+
user_response?: Record<string, unknown> | undefined;
|
|
568
|
+
next_steps?: string[] | undefined;
|
|
569
|
+
user_confirmation_required?: boolean | undefined;
|
|
570
|
+
elicitation_response?: {
|
|
571
|
+
action: "accept" | "decline" | "cancel";
|
|
572
|
+
content?: Record<string, unknown> | undefined;
|
|
573
|
+
} | null | undefined;
|
|
574
|
+
next_action?: {
|
|
575
|
+
instruction: string;
|
|
576
|
+
method: string;
|
|
577
|
+
expected_outcome: string;
|
|
578
|
+
executable_commands?: string[] | undefined;
|
|
579
|
+
} | undefined;
|
|
580
|
+
}>;
|
|
581
|
+
export declare const MCPServerRequestSchema: z.ZodObject<{
|
|
582
|
+
method: z.ZodString;
|
|
583
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
584
|
+
}, "strip", z.ZodTypeAny, {
|
|
585
|
+
method: string;
|
|
586
|
+
params?: Record<string, unknown> | undefined;
|
|
587
|
+
}, {
|
|
588
|
+
method: string;
|
|
589
|
+
params?: Record<string, unknown> | undefined;
|
|
590
|
+
}>;
|
|
591
|
+
export type MessageContent = z.infer<typeof MessageContentSchema>;
|
|
592
|
+
export type ToolCall = z.infer<typeof ToolCallSchema>;
|
|
593
|
+
export type CreateMessageRequest = z.infer<typeof CreateMessageRequestSchema>;
|
|
594
|
+
export type CreateMessageResponse = z.infer<typeof CreateMessageResponseSchema>;
|
|
595
|
+
export type ElicitationProperty = z.infer<typeof ElicitationPropertySchema>;
|
|
596
|
+
export type ElicitationSchema = z.infer<typeof ElicitationSchemaSchema>;
|
|
597
|
+
export type ElicitationResponse = z.infer<typeof ElicitationResponseSchema>;
|
|
598
|
+
export type ElicitationRequest = {
|
|
599
|
+
message: string;
|
|
600
|
+
requestedSchema: ElicitationSchema;
|
|
601
|
+
timeoutMs: number;
|
|
602
|
+
level: 'question' | 'warning' | 'info' | string;
|
|
603
|
+
};
|
|
604
|
+
export type ElicitationHandler = (request: ElicitationRequest) => Promise<ElicitationResponse>;
|
|
605
|
+
export type RequiresAdditionalContext = z.infer<typeof RequiresAdditionalContextSchema>;
|
|
606
|
+
export type LLMEvaluationResult = z.infer<typeof LLMEvaluationResultSchema>;
|
|
607
|
+
export type UserIntentData = z.infer<typeof UserIntentDataSchema>;
|
|
608
|
+
export type NextAction = z.infer<typeof NextActionSchema>;
|
|
609
|
+
export type SafetyEvaluation = z.infer<typeof SafetyEvaluationSchema>;
|
|
610
|
+
export type MCPServerRequest = z.infer<typeof MCPServerRequestSchema>;
|
|
611
|
+
export interface MCPServerInterface {
|
|
612
|
+
request(request: MCPServerRequest, schema?: unknown): Promise<unknown>;
|
|
613
|
+
}
|
|
614
|
+
//# sourceMappingURL=evaluator-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluator-types.d.ts","sourceRoot":"","sources":["../../src/security/evaluator-types.ts"],"names":[],"mappings":"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"}
|