@contractspec/example.agent-console 1.44.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/.turbo/turbo-build$colon$bundle.log +133 -0
- package/.turbo/turbo-build.log +134 -0
- package/CHANGELOG.md +212 -0
- package/LICENSE +21 -0
- package/README.md +86 -0
- package/dist/agent/agent.entity.d.ts +55 -0
- package/dist/agent/agent.entity.d.ts.map +1 -0
- package/dist/agent/agent.entity.js +136 -0
- package/dist/agent/agent.entity.js.map +1 -0
- package/dist/agent/agent.enum.d.ts +18 -0
- package/dist/agent/agent.enum.d.ts.map +1 -0
- package/dist/agent/agent.enum.js +34 -0
- package/dist/agent/agent.enum.js.map +1 -0
- package/dist/agent/agent.event.d.ts +128 -0
- package/dist/agent/agent.event.d.ts.map +1 -0
- package/dist/agent/agent.event.js +210 -0
- package/dist/agent/agent.event.js.map +1 -0
- package/dist/agent/agent.handler.d.ts +100 -0
- package/dist/agent/agent.handler.d.ts.map +1 -0
- package/dist/agent/agent.handler.js +84 -0
- package/dist/agent/agent.handler.js.map +1 -0
- package/dist/agent/agent.operation.d.ts +471 -0
- package/dist/agent/agent.operation.d.ts.map +1 -0
- package/dist/agent/agent.operation.js +486 -0
- package/dist/agent/agent.operation.js.map +1 -0
- package/dist/agent/agent.presentation.d.ts +19 -0
- package/dist/agent/agent.presentation.d.ts.map +1 -0
- package/dist/agent/agent.presentation.js +89 -0
- package/dist/agent/agent.presentation.js.map +1 -0
- package/dist/agent/agent.schema.d.ts +401 -0
- package/dist/agent/agent.schema.d.ts.map +1 -0
- package/dist/agent/agent.schema.js +406 -0
- package/dist/agent/agent.schema.js.map +1 -0
- package/dist/agent/index.d.ts +8 -0
- package/dist/agent/index.js +9 -0
- package/dist/agent.feature.d.ts +12 -0
- package/dist/agent.feature.d.ts.map +1 -0
- package/dist/agent.feature.js +303 -0
- package/dist/agent.feature.js.map +1 -0
- package/dist/docs/agent-console.docblock.d.ts +1 -0
- package/dist/docs/agent-console.docblock.js +113 -0
- package/dist/docs/agent-console.docblock.js.map +1 -0
- package/dist/docs/index.d.ts +1 -0
- package/dist/docs/index.js +1 -0
- package/dist/example.d.ts +40 -0
- package/dist/example.d.ts.map +1 -0
- package/dist/example.js +51 -0
- package/dist/example.js.map +1 -0
- package/dist/handlers/index.d.ts +4 -0
- package/dist/handlers/index.js +5 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +32 -0
- package/dist/presentations/index.d.ts +4 -0
- package/dist/presentations/index.js +5 -0
- package/dist/run/index.d.ts +8 -0
- package/dist/run/index.js +9 -0
- package/dist/run/run.entity.d.ts +82 -0
- package/dist/run/run.entity.d.ts.map +1 -0
- package/dist/run/run.entity.js +205 -0
- package/dist/run/run.entity.js.map +1 -0
- package/dist/run/run.enum.d.ts +22 -0
- package/dist/run/run.enum.d.ts.map +1 -0
- package/dist/run/run.enum.js +45 -0
- package/dist/run/run.enum.js.map +1 -0
- package/dist/run/run.event.d.ts +290 -0
- package/dist/run/run.event.d.ts.map +1 -0
- package/dist/run/run.event.js +434 -0
- package/dist/run/run.event.js.map +1 -0
- package/dist/run/run.handler.d.ts +203 -0
- package/dist/run/run.handler.d.ts.map +1 -0
- package/dist/run/run.handler.js +83 -0
- package/dist/run/run.handler.js.map +1 -0
- package/dist/run/run.operation.d.ts +720 -0
- package/dist/run/run.operation.d.ts.map +1 -0
- package/dist/run/run.operation.js +626 -0
- package/dist/run/run.operation.js.map +1 -0
- package/dist/run/run.presentation.d.ts +15 -0
- package/dist/run/run.presentation.d.ts.map +1 -0
- package/dist/run/run.presentation.js +65 -0
- package/dist/run/run.presentation.js.map +1 -0
- package/dist/run/run.schema.d.ts +416 -0
- package/dist/run/run.schema.d.ts.map +1 -0
- package/dist/run/run.schema.js +338 -0
- package/dist/run/run.schema.js.map +1 -0
- package/dist/shared/index.d.ts +4 -0
- package/dist/shared/index.js +5 -0
- package/dist/shared/mock-agents.d.ts +88 -0
- package/dist/shared/mock-agents.d.ts.map +1 -0
- package/dist/shared/mock-agents.js +94 -0
- package/dist/shared/mock-agents.js.map +1 -0
- package/dist/shared/mock-runs.d.ts +120 -0
- package/dist/shared/mock-runs.d.ts.map +1 -0
- package/dist/shared/mock-runs.js +118 -0
- package/dist/shared/mock-runs.js.map +1 -0
- package/dist/shared/mock-tools.d.ts +244 -0
- package/dist/shared/mock-tools.d.ts.map +1 -0
- package/dist/shared/mock-tools.js +181 -0
- package/dist/shared/mock-tools.js.map +1 -0
- package/dist/tool/index.d.ts +8 -0
- package/dist/tool/index.js +9 -0
- package/dist/tool/tool.entity.d.ts +42 -0
- package/dist/tool/tool.entity.d.ts.map +1 -0
- package/dist/tool/tool.entity.js +105 -0
- package/dist/tool/tool.entity.js.map +1 -0
- package/dist/tool/tool.enum.d.ts +18 -0
- package/dist/tool/tool.enum.d.ts.map +1 -0
- package/dist/tool/tool.enum.js +35 -0
- package/dist/tool/tool.enum.js.map +1 -0
- package/dist/tool/tool.event.d.ts +103 -0
- package/dist/tool/tool.event.d.ts.map +1 -0
- package/dist/tool/tool.event.js +159 -0
- package/dist/tool/tool.event.js.map +1 -0
- package/dist/tool/tool.handler.d.ts +315 -0
- package/dist/tool/tool.handler.d.ts.map +1 -0
- package/dist/tool/tool.handler.js +87 -0
- package/dist/tool/tool.handler.js.map +1 -0
- package/dist/tool/tool.operation.d.ts +411 -0
- package/dist/tool/tool.operation.d.ts.map +1 -0
- package/dist/tool/tool.operation.js +406 -0
- package/dist/tool/tool.operation.js.map +1 -0
- package/dist/tool/tool.presentation.d.ts +15 -0
- package/dist/tool/tool.presentation.d.ts.map +1 -0
- package/dist/tool/tool.presentation.js +65 -0
- package/dist/tool/tool.presentation.js.map +1 -0
- package/dist/tool/tool.schema.d.ts +218 -0
- package/dist/tool/tool.schema.d.ts.map +1 -0
- package/dist/tool/tool.schema.js +236 -0
- package/dist/tool/tool.schema.js.map +1 -0
- package/example.ts +1 -0
- package/package.json +123 -0
- package/src/agent/agent.entity.ts +137 -0
- package/src/agent/agent.enum.ts +31 -0
- package/src/agent/agent.event.ts +142 -0
- package/src/agent/agent.handler.ts +178 -0
- package/src/agent/agent.operation.ts +444 -0
- package/src/agent/agent.presentation.ts +81 -0
- package/src/agent/agent.schema.ts +214 -0
- package/src/agent/index.ts +67 -0
- package/src/agent.feature.ts +146 -0
- package/src/docs/agent-console.docblock.ts +97 -0
- package/src/docs/index.ts +1 -0
- package/src/example.ts +34 -0
- package/src/handlers/index.ts +27 -0
- package/src/index.ts +27 -0
- package/src/presentations/index.ts +26 -0
- package/src/run/index.ts +68 -0
- package/src/run/run.entity.ts +175 -0
- package/src/run/run.enum.ts +43 -0
- package/src/run/run.event.ts +264 -0
- package/src/run/run.handler.ts +138 -0
- package/src/run/run.operation.ts +524 -0
- package/src/run/run.presentation.ts +55 -0
- package/src/run/run.schema.ts +169 -0
- package/src/shared/index.ts +6 -0
- package/src/shared/mock-agents.ts +81 -0
- package/src/shared/mock-runs.ts +107 -0
- package/src/shared/mock-tools.ts +145 -0
- package/src/tool/index.ts +60 -0
- package/src/tool/tool.entity.ts +99 -0
- package/src/tool/tool.enum.ts +32 -0
- package/src/tool/tool.event.ts +119 -0
- package/src/tool/tool.handler.ts +154 -0
- package/src/tool/tool.operation.ts +366 -0
- package/src/tool/tool.presentation.ts +56 -0
- package/src/tool/tool.schema.ts +133 -0
- package/tsconfig.json +10 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/tsdown.config.js +7 -0
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
import * as _contractspec_lib_schema778 from "@contractspec/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/agent/agent.schema.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* AI agent configuration schema.
|
|
6
|
+
*/
|
|
7
|
+
declare const AgentModel: _contractspec_lib_schema778.SchemaModel<{
|
|
8
|
+
id: {
|
|
9
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
10
|
+
isOptional: false;
|
|
11
|
+
};
|
|
12
|
+
organizationId: {
|
|
13
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
14
|
+
isOptional: false;
|
|
15
|
+
};
|
|
16
|
+
name: {
|
|
17
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
18
|
+
isOptional: false;
|
|
19
|
+
};
|
|
20
|
+
slug: {
|
|
21
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
22
|
+
isOptional: false;
|
|
23
|
+
};
|
|
24
|
+
description: {
|
|
25
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
26
|
+
isOptional: true;
|
|
27
|
+
};
|
|
28
|
+
status: {
|
|
29
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string, string]>;
|
|
30
|
+
isOptional: false;
|
|
31
|
+
};
|
|
32
|
+
modelProvider: {
|
|
33
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string, string, string]>;
|
|
34
|
+
isOptional: false;
|
|
35
|
+
};
|
|
36
|
+
modelName: {
|
|
37
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
38
|
+
isOptional: false;
|
|
39
|
+
};
|
|
40
|
+
modelConfig: {
|
|
41
|
+
type: _contractspec_lib_schema778.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
42
|
+
isOptional: true;
|
|
43
|
+
};
|
|
44
|
+
systemPrompt: {
|
|
45
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
46
|
+
isOptional: false;
|
|
47
|
+
};
|
|
48
|
+
userPromptTemplate: {
|
|
49
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
50
|
+
isOptional: true;
|
|
51
|
+
};
|
|
52
|
+
toolIds: {
|
|
53
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
54
|
+
isArray: true;
|
|
55
|
+
isOptional: true;
|
|
56
|
+
};
|
|
57
|
+
toolChoice: {
|
|
58
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string]>;
|
|
59
|
+
isOptional: false;
|
|
60
|
+
defaultValue: string;
|
|
61
|
+
};
|
|
62
|
+
maxIterations: {
|
|
63
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
64
|
+
isOptional: false;
|
|
65
|
+
defaultValue: number;
|
|
66
|
+
};
|
|
67
|
+
maxTokensPerRun: {
|
|
68
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
69
|
+
isOptional: true;
|
|
70
|
+
};
|
|
71
|
+
timeoutMs: {
|
|
72
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
73
|
+
isOptional: false;
|
|
74
|
+
defaultValue: number;
|
|
75
|
+
};
|
|
76
|
+
version: {
|
|
77
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
78
|
+
isOptional: false;
|
|
79
|
+
};
|
|
80
|
+
tags: {
|
|
81
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
82
|
+
isArray: true;
|
|
83
|
+
isOptional: true;
|
|
84
|
+
};
|
|
85
|
+
createdAt: {
|
|
86
|
+
type: _contractspec_lib_schema778.FieldType<Date, string>;
|
|
87
|
+
isOptional: false;
|
|
88
|
+
};
|
|
89
|
+
updatedAt: {
|
|
90
|
+
type: _contractspec_lib_schema778.FieldType<Date, string>;
|
|
91
|
+
isOptional: false;
|
|
92
|
+
};
|
|
93
|
+
}>;
|
|
94
|
+
/**
|
|
95
|
+
* Summary of an agent for list views.
|
|
96
|
+
*/
|
|
97
|
+
declare const AgentSummaryModel: _contractspec_lib_schema778.SchemaModel<{
|
|
98
|
+
id: {
|
|
99
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
100
|
+
isOptional: false;
|
|
101
|
+
};
|
|
102
|
+
name: {
|
|
103
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
104
|
+
isOptional: false;
|
|
105
|
+
};
|
|
106
|
+
slug: {
|
|
107
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
108
|
+
isOptional: false;
|
|
109
|
+
};
|
|
110
|
+
description: {
|
|
111
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
112
|
+
isOptional: true;
|
|
113
|
+
};
|
|
114
|
+
status: {
|
|
115
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string, string]>;
|
|
116
|
+
isOptional: false;
|
|
117
|
+
};
|
|
118
|
+
modelProvider: {
|
|
119
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string, string, string]>;
|
|
120
|
+
isOptional: false;
|
|
121
|
+
};
|
|
122
|
+
modelName: {
|
|
123
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
124
|
+
isOptional: false;
|
|
125
|
+
};
|
|
126
|
+
version: {
|
|
127
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
128
|
+
isOptional: false;
|
|
129
|
+
};
|
|
130
|
+
createdAt: {
|
|
131
|
+
type: _contractspec_lib_schema778.FieldType<Date, string>;
|
|
132
|
+
isOptional: false;
|
|
133
|
+
};
|
|
134
|
+
}>;
|
|
135
|
+
/**
|
|
136
|
+
* Tool reference in agent context.
|
|
137
|
+
*/
|
|
138
|
+
declare const AgentToolRefModel: _contractspec_lib_schema778.SchemaModel<{
|
|
139
|
+
id: {
|
|
140
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
141
|
+
isOptional: false;
|
|
142
|
+
};
|
|
143
|
+
name: {
|
|
144
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
145
|
+
isOptional: false;
|
|
146
|
+
};
|
|
147
|
+
slug: {
|
|
148
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
149
|
+
isOptional: false;
|
|
150
|
+
};
|
|
151
|
+
description: {
|
|
152
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
153
|
+
isOptional: false;
|
|
154
|
+
};
|
|
155
|
+
category: {
|
|
156
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
157
|
+
isOptional: false;
|
|
158
|
+
};
|
|
159
|
+
}>;
|
|
160
|
+
/**
|
|
161
|
+
* Agent with associated tools.
|
|
162
|
+
*/
|
|
163
|
+
declare const AgentWithToolsModel: _contractspec_lib_schema778.SchemaModel<{
|
|
164
|
+
id: {
|
|
165
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
166
|
+
isOptional: false;
|
|
167
|
+
};
|
|
168
|
+
organizationId: {
|
|
169
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
170
|
+
isOptional: false;
|
|
171
|
+
};
|
|
172
|
+
name: {
|
|
173
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
174
|
+
isOptional: false;
|
|
175
|
+
};
|
|
176
|
+
slug: {
|
|
177
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
178
|
+
isOptional: false;
|
|
179
|
+
};
|
|
180
|
+
description: {
|
|
181
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
182
|
+
isOptional: true;
|
|
183
|
+
};
|
|
184
|
+
status: {
|
|
185
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string, string]>;
|
|
186
|
+
isOptional: false;
|
|
187
|
+
};
|
|
188
|
+
modelProvider: {
|
|
189
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string, string, string]>;
|
|
190
|
+
isOptional: false;
|
|
191
|
+
};
|
|
192
|
+
modelName: {
|
|
193
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
194
|
+
isOptional: false;
|
|
195
|
+
};
|
|
196
|
+
modelConfig: {
|
|
197
|
+
type: _contractspec_lib_schema778.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
198
|
+
isOptional: true;
|
|
199
|
+
};
|
|
200
|
+
systemPrompt: {
|
|
201
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
202
|
+
isOptional: false;
|
|
203
|
+
};
|
|
204
|
+
userPromptTemplate: {
|
|
205
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
206
|
+
isOptional: true;
|
|
207
|
+
};
|
|
208
|
+
toolIds: {
|
|
209
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
210
|
+
isArray: true;
|
|
211
|
+
isOptional: true;
|
|
212
|
+
};
|
|
213
|
+
toolChoice: {
|
|
214
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string]>;
|
|
215
|
+
isOptional: false;
|
|
216
|
+
};
|
|
217
|
+
maxIterations: {
|
|
218
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
219
|
+
isOptional: false;
|
|
220
|
+
};
|
|
221
|
+
maxTokensPerRun: {
|
|
222
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
223
|
+
isOptional: true;
|
|
224
|
+
};
|
|
225
|
+
timeoutMs: {
|
|
226
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
227
|
+
isOptional: false;
|
|
228
|
+
};
|
|
229
|
+
version: {
|
|
230
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
231
|
+
isOptional: false;
|
|
232
|
+
};
|
|
233
|
+
tags: {
|
|
234
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
235
|
+
isArray: true;
|
|
236
|
+
isOptional: true;
|
|
237
|
+
};
|
|
238
|
+
createdAt: {
|
|
239
|
+
type: _contractspec_lib_schema778.FieldType<Date, string>;
|
|
240
|
+
isOptional: false;
|
|
241
|
+
};
|
|
242
|
+
updatedAt: {
|
|
243
|
+
type: _contractspec_lib_schema778.FieldType<Date, string>;
|
|
244
|
+
isOptional: false;
|
|
245
|
+
};
|
|
246
|
+
tools: {
|
|
247
|
+
type: _contractspec_lib_schema778.SchemaModel<{
|
|
248
|
+
id: {
|
|
249
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
250
|
+
isOptional: false;
|
|
251
|
+
};
|
|
252
|
+
name: {
|
|
253
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
254
|
+
isOptional: false;
|
|
255
|
+
};
|
|
256
|
+
slug: {
|
|
257
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
258
|
+
isOptional: false;
|
|
259
|
+
};
|
|
260
|
+
description: {
|
|
261
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
262
|
+
isOptional: false;
|
|
263
|
+
};
|
|
264
|
+
category: {
|
|
265
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
266
|
+
isOptional: false;
|
|
267
|
+
};
|
|
268
|
+
}>;
|
|
269
|
+
isArray: true;
|
|
270
|
+
isOptional: true;
|
|
271
|
+
};
|
|
272
|
+
}>;
|
|
273
|
+
/**
|
|
274
|
+
* Input for creating an agent.
|
|
275
|
+
*/
|
|
276
|
+
declare const CreateAgentInputModel: _contractspec_lib_schema778.SchemaModel<{
|
|
277
|
+
organizationId: {
|
|
278
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
279
|
+
isOptional: false;
|
|
280
|
+
};
|
|
281
|
+
name: {
|
|
282
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
283
|
+
isOptional: false;
|
|
284
|
+
};
|
|
285
|
+
slug: {
|
|
286
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
287
|
+
isOptional: false;
|
|
288
|
+
};
|
|
289
|
+
description: {
|
|
290
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
291
|
+
isOptional: true;
|
|
292
|
+
};
|
|
293
|
+
modelProvider: {
|
|
294
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string, string, string]>;
|
|
295
|
+
isOptional: false;
|
|
296
|
+
};
|
|
297
|
+
modelName: {
|
|
298
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
299
|
+
isOptional: false;
|
|
300
|
+
};
|
|
301
|
+
modelConfig: {
|
|
302
|
+
type: _contractspec_lib_schema778.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
303
|
+
isOptional: true;
|
|
304
|
+
};
|
|
305
|
+
systemPrompt: {
|
|
306
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
307
|
+
isOptional: false;
|
|
308
|
+
};
|
|
309
|
+
userPromptTemplate: {
|
|
310
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
311
|
+
isOptional: true;
|
|
312
|
+
};
|
|
313
|
+
toolIds: {
|
|
314
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
315
|
+
isArray: true;
|
|
316
|
+
isOptional: true;
|
|
317
|
+
};
|
|
318
|
+
toolChoice: {
|
|
319
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string]>;
|
|
320
|
+
isOptional: true;
|
|
321
|
+
};
|
|
322
|
+
maxIterations: {
|
|
323
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
324
|
+
isOptional: true;
|
|
325
|
+
};
|
|
326
|
+
maxTokensPerRun: {
|
|
327
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
328
|
+
isOptional: true;
|
|
329
|
+
};
|
|
330
|
+
timeoutMs: {
|
|
331
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
332
|
+
isOptional: true;
|
|
333
|
+
};
|
|
334
|
+
tags: {
|
|
335
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
336
|
+
isArray: true;
|
|
337
|
+
isOptional: true;
|
|
338
|
+
};
|
|
339
|
+
}>;
|
|
340
|
+
/**
|
|
341
|
+
* Input for updating an agent.
|
|
342
|
+
*/
|
|
343
|
+
declare const UpdateAgentInputModel: _contractspec_lib_schema778.SchemaModel<{
|
|
344
|
+
agentId: {
|
|
345
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
346
|
+
isOptional: false;
|
|
347
|
+
};
|
|
348
|
+
name: {
|
|
349
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
350
|
+
isOptional: true;
|
|
351
|
+
};
|
|
352
|
+
description: {
|
|
353
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
354
|
+
isOptional: true;
|
|
355
|
+
};
|
|
356
|
+
status: {
|
|
357
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string, string]>;
|
|
358
|
+
isOptional: true;
|
|
359
|
+
};
|
|
360
|
+
modelConfig: {
|
|
361
|
+
type: _contractspec_lib_schema778.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
362
|
+
isOptional: true;
|
|
363
|
+
};
|
|
364
|
+
systemPrompt: {
|
|
365
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
366
|
+
isOptional: true;
|
|
367
|
+
};
|
|
368
|
+
userPromptTemplate: {
|
|
369
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
370
|
+
isOptional: true;
|
|
371
|
+
};
|
|
372
|
+
toolIds: {
|
|
373
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
374
|
+
isArray: true;
|
|
375
|
+
isOptional: true;
|
|
376
|
+
};
|
|
377
|
+
toolChoice: {
|
|
378
|
+
type: _contractspec_lib_schema778.EnumType<[string, string, string]>;
|
|
379
|
+
isOptional: true;
|
|
380
|
+
};
|
|
381
|
+
maxIterations: {
|
|
382
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
383
|
+
isOptional: true;
|
|
384
|
+
};
|
|
385
|
+
maxTokensPerRun: {
|
|
386
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
387
|
+
isOptional: true;
|
|
388
|
+
};
|
|
389
|
+
timeoutMs: {
|
|
390
|
+
type: _contractspec_lib_schema778.FieldType<number, number>;
|
|
391
|
+
isOptional: true;
|
|
392
|
+
};
|
|
393
|
+
tags: {
|
|
394
|
+
type: _contractspec_lib_schema778.FieldType<string, string>;
|
|
395
|
+
isArray: true;
|
|
396
|
+
isOptional: true;
|
|
397
|
+
};
|
|
398
|
+
}>;
|
|
399
|
+
//#endregion
|
|
400
|
+
export { AgentModel, AgentSummaryModel, AgentToolRefModel, AgentWithToolsModel, CreateAgentInputModel, UpdateAgentInputModel };
|
|
401
|
+
//# sourceMappingURL=agent.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent.schema.d.ts","names":[],"sources":["../../src/agent/agent.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,UAmDX,8BAnDqB,WAmDrB,CAAA;EAAA,EAAA,EAAA;UAAA,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;IAnDqB,IAAA,sCAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAwDV,UAAA,EAAA,KAcX;EAAA,CAAA;;;;;;;;;;+CAd4B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAmBjB,CAAA;EAUX,kBAAA,EAAA;;;;;+CAV4B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,OAAA,EAAA,IAAA;IAejB,UAAA,EAAA,IAAA;EAwCX,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAxC8B,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EA6CnB,CAAA;EAkCX,SAAA,EAAA;;;;;;;;cAjHW,+CAAiB;;UAc5B,2BAAA,CAAA;;;;;;;;IAiEgC,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAuCrB,UAAA,EAAA,KAAA;EA6BX,CAAA;;;;;;;;;;;;;;;;EA7BgC,CAAA;;;;;;;;;;;;;cAnGrB,+CAAiB;;UAU5B,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAKW,iDAAmB;;UAwC9B,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,mDAAqB;;UAkChC,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,mDAAqB;;UA6BhC,2BAAA,CAAA"}
|