@lobu/cli 3.0.16 → 3.0.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.
- package/dist/commands/skills/add.d.ts.map +1 -1
- package/dist/commands/skills/add.js.map +1 -1
- package/dist/config/schema.d.ts +5 -713
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +5 -58
- package/dist/config/schema.js.map +1 -1
- package/dist/eval/types.d.ts +26 -154
- package/dist/eval/types.d.ts.map +1 -1
- package/dist/eval/types.js +1 -1
- package/dist/eval/types.js.map +1 -1
- package/dist/system-skills.json +7 -1
- package/package.json +8 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/commands/skills/add.ts"],"names":[],"mappings":"AASA,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/commands/skills/add.ts"],"names":[],"mappings":"AASA,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CA0Df"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.js","sourceRoot":"","sources":["../../../src/commands/skills/add.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,eAAe,EACf,gBAAgB,GACjB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,GAAW,EACX,OAAe;IAEf,MAAM,KAAK,GAAG,YAAY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C;YACvB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC,CAAC;YAChD,KAAK,MAAM,CAAC,IAAI,OAAO,EAAE,CAAC;gBACxB,OAAO,CAAC,GAAG,CACT,KAAK,CAAC,IAAI,CAAC,iCAAiC,CAAC,aAAa,CAAC,CAC5D,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,CAAC,GAAG,EAAE,CAAC;AAChB,CAAC"}
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -1,714 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
id: string;
|
|
8
|
-
key?: string | undefined;
|
|
9
|
-
model?: string | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
id: string;
|
|
12
|
-
key?: string | undefined;
|
|
13
|
-
model?: string | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
declare const connectionSchema: z.ZodObject<{
|
|
16
|
-
type: z.ZodString;
|
|
17
|
-
config: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
type: string;
|
|
20
|
-
config: Record<string, string>;
|
|
21
|
-
}, {
|
|
22
|
-
type: string;
|
|
23
|
-
config: Record<string, string>;
|
|
24
|
-
}>;
|
|
25
|
-
declare const mcpServerSchema: z.ZodObject<{
|
|
26
|
-
url: z.ZodOptional<z.ZodString>;
|
|
27
|
-
command: z.ZodOptional<z.ZodString>;
|
|
28
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
30
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
31
|
-
oauth: z.ZodOptional<z.ZodObject<{
|
|
32
|
-
auth_url: z.ZodString;
|
|
33
|
-
token_url: z.ZodString;
|
|
34
|
-
client_id: z.ZodOptional<z.ZodString>;
|
|
35
|
-
client_secret: z.ZodOptional<z.ZodString>;
|
|
36
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
37
|
-
token_endpoint_auth_method: z.ZodOptional<z.ZodString>;
|
|
38
|
-
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
auth_url: string;
|
|
40
|
-
token_url: string;
|
|
41
|
-
client_id?: string | undefined;
|
|
42
|
-
client_secret?: string | undefined;
|
|
43
|
-
scopes?: string[] | undefined;
|
|
44
|
-
token_endpoint_auth_method?: string | undefined;
|
|
45
|
-
}, {
|
|
46
|
-
auth_url: string;
|
|
47
|
-
token_url: string;
|
|
48
|
-
client_id?: string | undefined;
|
|
49
|
-
client_secret?: string | undefined;
|
|
50
|
-
scopes?: string[] | undefined;
|
|
51
|
-
token_endpoint_auth_method?: string | undefined;
|
|
52
|
-
}>>;
|
|
53
|
-
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
env?: Record<string, string> | undefined;
|
|
55
|
-
headers?: Record<string, string> | undefined;
|
|
56
|
-
url?: string | undefined;
|
|
57
|
-
command?: string | undefined;
|
|
58
|
-
args?: string[] | undefined;
|
|
59
|
-
oauth?: {
|
|
60
|
-
auth_url: string;
|
|
61
|
-
token_url: string;
|
|
62
|
-
client_id?: string | undefined;
|
|
63
|
-
client_secret?: string | undefined;
|
|
64
|
-
scopes?: string[] | undefined;
|
|
65
|
-
token_endpoint_auth_method?: string | undefined;
|
|
66
|
-
} | undefined;
|
|
67
|
-
}, {
|
|
68
|
-
env?: Record<string, string> | undefined;
|
|
69
|
-
headers?: Record<string, string> | undefined;
|
|
70
|
-
url?: string | undefined;
|
|
71
|
-
command?: string | undefined;
|
|
72
|
-
args?: string[] | undefined;
|
|
73
|
-
oauth?: {
|
|
74
|
-
auth_url: string;
|
|
75
|
-
token_url: string;
|
|
76
|
-
client_id?: string | undefined;
|
|
77
|
-
client_secret?: string | undefined;
|
|
78
|
-
scopes?: string[] | undefined;
|
|
79
|
-
token_endpoint_auth_method?: string | undefined;
|
|
80
|
-
} | undefined;
|
|
81
|
-
}>;
|
|
82
|
-
declare const skillsSchema: z.ZodObject<{
|
|
83
|
-
enabled: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
84
|
-
mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
85
|
-
url: z.ZodOptional<z.ZodString>;
|
|
86
|
-
command: z.ZodOptional<z.ZodString>;
|
|
87
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
88
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
89
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
90
|
-
oauth: z.ZodOptional<z.ZodObject<{
|
|
91
|
-
auth_url: z.ZodString;
|
|
92
|
-
token_url: z.ZodString;
|
|
93
|
-
client_id: z.ZodOptional<z.ZodString>;
|
|
94
|
-
client_secret: z.ZodOptional<z.ZodString>;
|
|
95
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
96
|
-
token_endpoint_auth_method: z.ZodOptional<z.ZodString>;
|
|
97
|
-
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
auth_url: string;
|
|
99
|
-
token_url: string;
|
|
100
|
-
client_id?: string | undefined;
|
|
101
|
-
client_secret?: string | undefined;
|
|
102
|
-
scopes?: string[] | undefined;
|
|
103
|
-
token_endpoint_auth_method?: string | undefined;
|
|
104
|
-
}, {
|
|
105
|
-
auth_url: string;
|
|
106
|
-
token_url: string;
|
|
107
|
-
client_id?: string | undefined;
|
|
108
|
-
client_secret?: string | undefined;
|
|
109
|
-
scopes?: string[] | undefined;
|
|
110
|
-
token_endpoint_auth_method?: string | undefined;
|
|
111
|
-
}>>;
|
|
112
|
-
}, "strip", z.ZodTypeAny, {
|
|
113
|
-
env?: Record<string, string> | undefined;
|
|
114
|
-
headers?: Record<string, string> | undefined;
|
|
115
|
-
url?: string | undefined;
|
|
116
|
-
command?: string | undefined;
|
|
117
|
-
args?: string[] | undefined;
|
|
118
|
-
oauth?: {
|
|
119
|
-
auth_url: string;
|
|
120
|
-
token_url: string;
|
|
121
|
-
client_id?: string | undefined;
|
|
122
|
-
client_secret?: string | undefined;
|
|
123
|
-
scopes?: string[] | undefined;
|
|
124
|
-
token_endpoint_auth_method?: string | undefined;
|
|
125
|
-
} | undefined;
|
|
126
|
-
}, {
|
|
127
|
-
env?: Record<string, string> | undefined;
|
|
128
|
-
headers?: Record<string, string> | undefined;
|
|
129
|
-
url?: string | undefined;
|
|
130
|
-
command?: string | undefined;
|
|
131
|
-
args?: string[] | undefined;
|
|
132
|
-
oauth?: {
|
|
133
|
-
auth_url: string;
|
|
134
|
-
token_url: string;
|
|
135
|
-
client_id?: string | undefined;
|
|
136
|
-
client_secret?: string | undefined;
|
|
137
|
-
scopes?: string[] | undefined;
|
|
138
|
-
token_endpoint_auth_method?: string | undefined;
|
|
139
|
-
} | undefined;
|
|
140
|
-
}>>>;
|
|
141
|
-
}, "strip", z.ZodTypeAny, {
|
|
142
|
-
enabled: string[];
|
|
143
|
-
mcp?: Record<string, {
|
|
144
|
-
env?: Record<string, string> | undefined;
|
|
145
|
-
headers?: Record<string, string> | undefined;
|
|
146
|
-
url?: string | undefined;
|
|
147
|
-
command?: string | undefined;
|
|
148
|
-
args?: string[] | undefined;
|
|
149
|
-
oauth?: {
|
|
150
|
-
auth_url: string;
|
|
151
|
-
token_url: string;
|
|
152
|
-
client_id?: string | undefined;
|
|
153
|
-
client_secret?: string | undefined;
|
|
154
|
-
scopes?: string[] | undefined;
|
|
155
|
-
token_endpoint_auth_method?: string | undefined;
|
|
156
|
-
} | undefined;
|
|
157
|
-
}> | undefined;
|
|
158
|
-
}, {
|
|
159
|
-
enabled?: string[] | undefined;
|
|
160
|
-
mcp?: Record<string, {
|
|
161
|
-
env?: Record<string, string> | undefined;
|
|
162
|
-
headers?: Record<string, string> | undefined;
|
|
163
|
-
url?: string | undefined;
|
|
164
|
-
command?: string | undefined;
|
|
165
|
-
args?: string[] | undefined;
|
|
166
|
-
oauth?: {
|
|
167
|
-
auth_url: string;
|
|
168
|
-
token_url: string;
|
|
169
|
-
client_id?: string | undefined;
|
|
170
|
-
client_secret?: string | undefined;
|
|
171
|
-
scopes?: string[] | undefined;
|
|
172
|
-
token_endpoint_auth_method?: string | undefined;
|
|
173
|
-
} | undefined;
|
|
174
|
-
}> | undefined;
|
|
175
|
-
}>;
|
|
176
|
-
declare const networkSchema: z.ZodObject<{
|
|
177
|
-
allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
178
|
-
denied: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
179
|
-
}, "strip", z.ZodTypeAny, {
|
|
180
|
-
allowed?: string[] | undefined;
|
|
181
|
-
denied?: string[] | undefined;
|
|
182
|
-
}, {
|
|
183
|
-
allowed?: string[] | undefined;
|
|
184
|
-
denied?: string[] | undefined;
|
|
185
|
-
}>;
|
|
186
|
-
declare const workerSchema: z.ZodObject<{
|
|
187
|
-
nix_packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
188
|
-
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
nix_packages?: string[] | undefined;
|
|
190
|
-
}, {
|
|
191
|
-
nix_packages?: string[] | undefined;
|
|
192
|
-
}>;
|
|
193
|
-
declare const agentEntrySchema: z.ZodObject<{
|
|
194
|
-
name: z.ZodString;
|
|
195
|
-
description: z.ZodOptional<z.ZodString>;
|
|
196
|
-
dir: z.ZodString;
|
|
197
|
-
providers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
198
|
-
id: z.ZodString;
|
|
199
|
-
model: z.ZodOptional<z.ZodString>;
|
|
200
|
-
key: z.ZodOptional<z.ZodString>;
|
|
201
|
-
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
id: string;
|
|
203
|
-
key?: string | undefined;
|
|
204
|
-
model?: string | undefined;
|
|
205
|
-
}, {
|
|
206
|
-
id: string;
|
|
207
|
-
key?: string | undefined;
|
|
208
|
-
model?: string | undefined;
|
|
209
|
-
}>, "many">>;
|
|
210
|
-
connections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
211
|
-
type: z.ZodString;
|
|
212
|
-
config: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
213
|
-
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
type: string;
|
|
215
|
-
config: Record<string, string>;
|
|
216
|
-
}, {
|
|
217
|
-
type: string;
|
|
218
|
-
config: Record<string, string>;
|
|
219
|
-
}>, "many">>;
|
|
220
|
-
skills: z.ZodDefault<z.ZodObject<{
|
|
221
|
-
enabled: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
222
|
-
mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
223
|
-
url: z.ZodOptional<z.ZodString>;
|
|
224
|
-
command: z.ZodOptional<z.ZodString>;
|
|
225
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
226
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
227
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
228
|
-
oauth: z.ZodOptional<z.ZodObject<{
|
|
229
|
-
auth_url: z.ZodString;
|
|
230
|
-
token_url: z.ZodString;
|
|
231
|
-
client_id: z.ZodOptional<z.ZodString>;
|
|
232
|
-
client_secret: z.ZodOptional<z.ZodString>;
|
|
233
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
234
|
-
token_endpoint_auth_method: z.ZodOptional<z.ZodString>;
|
|
235
|
-
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
auth_url: string;
|
|
237
|
-
token_url: string;
|
|
238
|
-
client_id?: string | undefined;
|
|
239
|
-
client_secret?: string | undefined;
|
|
240
|
-
scopes?: string[] | undefined;
|
|
241
|
-
token_endpoint_auth_method?: string | undefined;
|
|
242
|
-
}, {
|
|
243
|
-
auth_url: string;
|
|
244
|
-
token_url: string;
|
|
245
|
-
client_id?: string | undefined;
|
|
246
|
-
client_secret?: string | undefined;
|
|
247
|
-
scopes?: string[] | undefined;
|
|
248
|
-
token_endpoint_auth_method?: string | undefined;
|
|
249
|
-
}>>;
|
|
250
|
-
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
env?: Record<string, string> | undefined;
|
|
252
|
-
headers?: Record<string, string> | undefined;
|
|
253
|
-
url?: string | undefined;
|
|
254
|
-
command?: string | undefined;
|
|
255
|
-
args?: string[] | undefined;
|
|
256
|
-
oauth?: {
|
|
257
|
-
auth_url: string;
|
|
258
|
-
token_url: string;
|
|
259
|
-
client_id?: string | undefined;
|
|
260
|
-
client_secret?: string | undefined;
|
|
261
|
-
scopes?: string[] | undefined;
|
|
262
|
-
token_endpoint_auth_method?: string | undefined;
|
|
263
|
-
} | undefined;
|
|
264
|
-
}, {
|
|
265
|
-
env?: Record<string, string> | undefined;
|
|
266
|
-
headers?: Record<string, string> | undefined;
|
|
267
|
-
url?: string | undefined;
|
|
268
|
-
command?: string | undefined;
|
|
269
|
-
args?: string[] | undefined;
|
|
270
|
-
oauth?: {
|
|
271
|
-
auth_url: string;
|
|
272
|
-
token_url: string;
|
|
273
|
-
client_id?: string | undefined;
|
|
274
|
-
client_secret?: string | undefined;
|
|
275
|
-
scopes?: string[] | undefined;
|
|
276
|
-
token_endpoint_auth_method?: string | undefined;
|
|
277
|
-
} | undefined;
|
|
278
|
-
}>>>;
|
|
279
|
-
}, "strip", z.ZodTypeAny, {
|
|
280
|
-
enabled: string[];
|
|
281
|
-
mcp?: Record<string, {
|
|
282
|
-
env?: Record<string, string> | undefined;
|
|
283
|
-
headers?: Record<string, string> | undefined;
|
|
284
|
-
url?: string | undefined;
|
|
285
|
-
command?: string | undefined;
|
|
286
|
-
args?: string[] | undefined;
|
|
287
|
-
oauth?: {
|
|
288
|
-
auth_url: string;
|
|
289
|
-
token_url: string;
|
|
290
|
-
client_id?: string | undefined;
|
|
291
|
-
client_secret?: string | undefined;
|
|
292
|
-
scopes?: string[] | undefined;
|
|
293
|
-
token_endpoint_auth_method?: string | undefined;
|
|
294
|
-
} | undefined;
|
|
295
|
-
}> | undefined;
|
|
296
|
-
}, {
|
|
297
|
-
enabled?: string[] | undefined;
|
|
298
|
-
mcp?: Record<string, {
|
|
299
|
-
env?: Record<string, string> | undefined;
|
|
300
|
-
headers?: Record<string, string> | undefined;
|
|
301
|
-
url?: string | undefined;
|
|
302
|
-
command?: string | undefined;
|
|
303
|
-
args?: string[] | undefined;
|
|
304
|
-
oauth?: {
|
|
305
|
-
auth_url: string;
|
|
306
|
-
token_url: string;
|
|
307
|
-
client_id?: string | undefined;
|
|
308
|
-
client_secret?: string | undefined;
|
|
309
|
-
scopes?: string[] | undefined;
|
|
310
|
-
token_endpoint_auth_method?: string | undefined;
|
|
311
|
-
} | undefined;
|
|
312
|
-
}> | undefined;
|
|
313
|
-
}>>;
|
|
314
|
-
network: z.ZodOptional<z.ZodObject<{
|
|
315
|
-
allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
316
|
-
denied: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
317
|
-
}, "strip", z.ZodTypeAny, {
|
|
318
|
-
allowed?: string[] | undefined;
|
|
319
|
-
denied?: string[] | undefined;
|
|
320
|
-
}, {
|
|
321
|
-
allowed?: string[] | undefined;
|
|
322
|
-
denied?: string[] | undefined;
|
|
323
|
-
}>>;
|
|
324
|
-
worker: z.ZodOptional<z.ZodObject<{
|
|
325
|
-
nix_packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
326
|
-
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
nix_packages?: string[] | undefined;
|
|
328
|
-
}, {
|
|
329
|
-
nix_packages?: string[] | undefined;
|
|
330
|
-
}>>;
|
|
331
|
-
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
name: string;
|
|
333
|
-
providers: {
|
|
334
|
-
id: string;
|
|
335
|
-
key?: string | undefined;
|
|
336
|
-
model?: string | undefined;
|
|
337
|
-
}[];
|
|
338
|
-
skills: {
|
|
339
|
-
enabled: string[];
|
|
340
|
-
mcp?: Record<string, {
|
|
341
|
-
env?: Record<string, string> | undefined;
|
|
342
|
-
headers?: Record<string, string> | undefined;
|
|
343
|
-
url?: string | undefined;
|
|
344
|
-
command?: string | undefined;
|
|
345
|
-
args?: string[] | undefined;
|
|
346
|
-
oauth?: {
|
|
347
|
-
auth_url: string;
|
|
348
|
-
token_url: string;
|
|
349
|
-
client_id?: string | undefined;
|
|
350
|
-
client_secret?: string | undefined;
|
|
351
|
-
scopes?: string[] | undefined;
|
|
352
|
-
token_endpoint_auth_method?: string | undefined;
|
|
353
|
-
} | undefined;
|
|
354
|
-
}> | undefined;
|
|
355
|
-
};
|
|
356
|
-
dir: string;
|
|
357
|
-
connections: {
|
|
358
|
-
type: string;
|
|
359
|
-
config: Record<string, string>;
|
|
360
|
-
}[];
|
|
361
|
-
description?: string | undefined;
|
|
362
|
-
network?: {
|
|
363
|
-
allowed?: string[] | undefined;
|
|
364
|
-
denied?: string[] | undefined;
|
|
365
|
-
} | undefined;
|
|
366
|
-
worker?: {
|
|
367
|
-
nix_packages?: string[] | undefined;
|
|
368
|
-
} | undefined;
|
|
369
|
-
}, {
|
|
370
|
-
name: string;
|
|
371
|
-
dir: string;
|
|
372
|
-
providers?: {
|
|
373
|
-
id: string;
|
|
374
|
-
key?: string | undefined;
|
|
375
|
-
model?: string | undefined;
|
|
376
|
-
}[] | undefined;
|
|
377
|
-
skills?: {
|
|
378
|
-
enabled?: string[] | undefined;
|
|
379
|
-
mcp?: Record<string, {
|
|
380
|
-
env?: Record<string, string> | undefined;
|
|
381
|
-
headers?: Record<string, string> | undefined;
|
|
382
|
-
url?: string | undefined;
|
|
383
|
-
command?: string | undefined;
|
|
384
|
-
args?: string[] | undefined;
|
|
385
|
-
oauth?: {
|
|
386
|
-
auth_url: string;
|
|
387
|
-
token_url: string;
|
|
388
|
-
client_id?: string | undefined;
|
|
389
|
-
client_secret?: string | undefined;
|
|
390
|
-
scopes?: string[] | undefined;
|
|
391
|
-
token_endpoint_auth_method?: string | undefined;
|
|
392
|
-
} | undefined;
|
|
393
|
-
}> | undefined;
|
|
394
|
-
} | undefined;
|
|
395
|
-
description?: string | undefined;
|
|
396
|
-
connections?: {
|
|
397
|
-
type: string;
|
|
398
|
-
config: Record<string, string>;
|
|
399
|
-
}[] | undefined;
|
|
400
|
-
network?: {
|
|
401
|
-
allowed?: string[] | undefined;
|
|
402
|
-
denied?: string[] | undefined;
|
|
403
|
-
} | undefined;
|
|
404
|
-
worker?: {
|
|
405
|
-
nix_packages?: string[] | undefined;
|
|
406
|
-
} | undefined;
|
|
407
|
-
}>;
|
|
408
|
-
export declare const lobuConfigSchema: z.ZodObject<{
|
|
409
|
-
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
410
|
-
name: z.ZodString;
|
|
411
|
-
description: z.ZodOptional<z.ZodString>;
|
|
412
|
-
dir: z.ZodString;
|
|
413
|
-
providers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
414
|
-
id: z.ZodString;
|
|
415
|
-
model: z.ZodOptional<z.ZodString>;
|
|
416
|
-
key: z.ZodOptional<z.ZodString>;
|
|
417
|
-
}, "strip", z.ZodTypeAny, {
|
|
418
|
-
id: string;
|
|
419
|
-
key?: string | undefined;
|
|
420
|
-
model?: string | undefined;
|
|
421
|
-
}, {
|
|
422
|
-
id: string;
|
|
423
|
-
key?: string | undefined;
|
|
424
|
-
model?: string | undefined;
|
|
425
|
-
}>, "many">>;
|
|
426
|
-
connections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
427
|
-
type: z.ZodString;
|
|
428
|
-
config: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
429
|
-
}, "strip", z.ZodTypeAny, {
|
|
430
|
-
type: string;
|
|
431
|
-
config: Record<string, string>;
|
|
432
|
-
}, {
|
|
433
|
-
type: string;
|
|
434
|
-
config: Record<string, string>;
|
|
435
|
-
}>, "many">>;
|
|
436
|
-
skills: z.ZodDefault<z.ZodObject<{
|
|
437
|
-
enabled: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
438
|
-
mcp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
439
|
-
url: z.ZodOptional<z.ZodString>;
|
|
440
|
-
command: z.ZodOptional<z.ZodString>;
|
|
441
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
442
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
443
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
444
|
-
oauth: z.ZodOptional<z.ZodObject<{
|
|
445
|
-
auth_url: z.ZodString;
|
|
446
|
-
token_url: z.ZodString;
|
|
447
|
-
client_id: z.ZodOptional<z.ZodString>;
|
|
448
|
-
client_secret: z.ZodOptional<z.ZodString>;
|
|
449
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
450
|
-
token_endpoint_auth_method: z.ZodOptional<z.ZodString>;
|
|
451
|
-
}, "strip", z.ZodTypeAny, {
|
|
452
|
-
auth_url: string;
|
|
453
|
-
token_url: string;
|
|
454
|
-
client_id?: string | undefined;
|
|
455
|
-
client_secret?: string | undefined;
|
|
456
|
-
scopes?: string[] | undefined;
|
|
457
|
-
token_endpoint_auth_method?: string | undefined;
|
|
458
|
-
}, {
|
|
459
|
-
auth_url: string;
|
|
460
|
-
token_url: string;
|
|
461
|
-
client_id?: string | undefined;
|
|
462
|
-
client_secret?: string | undefined;
|
|
463
|
-
scopes?: string[] | undefined;
|
|
464
|
-
token_endpoint_auth_method?: string | undefined;
|
|
465
|
-
}>>;
|
|
466
|
-
}, "strip", z.ZodTypeAny, {
|
|
467
|
-
env?: Record<string, string> | undefined;
|
|
468
|
-
headers?: Record<string, string> | undefined;
|
|
469
|
-
url?: string | undefined;
|
|
470
|
-
command?: string | undefined;
|
|
471
|
-
args?: string[] | undefined;
|
|
472
|
-
oauth?: {
|
|
473
|
-
auth_url: string;
|
|
474
|
-
token_url: string;
|
|
475
|
-
client_id?: string | undefined;
|
|
476
|
-
client_secret?: string | undefined;
|
|
477
|
-
scopes?: string[] | undefined;
|
|
478
|
-
token_endpoint_auth_method?: string | undefined;
|
|
479
|
-
} | undefined;
|
|
480
|
-
}, {
|
|
481
|
-
env?: Record<string, string> | undefined;
|
|
482
|
-
headers?: Record<string, string> | undefined;
|
|
483
|
-
url?: string | undefined;
|
|
484
|
-
command?: string | undefined;
|
|
485
|
-
args?: string[] | undefined;
|
|
486
|
-
oauth?: {
|
|
487
|
-
auth_url: string;
|
|
488
|
-
token_url: string;
|
|
489
|
-
client_id?: string | undefined;
|
|
490
|
-
client_secret?: string | undefined;
|
|
491
|
-
scopes?: string[] | undefined;
|
|
492
|
-
token_endpoint_auth_method?: string | undefined;
|
|
493
|
-
} | undefined;
|
|
494
|
-
}>>>;
|
|
495
|
-
}, "strip", z.ZodTypeAny, {
|
|
496
|
-
enabled: string[];
|
|
497
|
-
mcp?: Record<string, {
|
|
498
|
-
env?: Record<string, string> | undefined;
|
|
499
|
-
headers?: Record<string, string> | undefined;
|
|
500
|
-
url?: string | undefined;
|
|
501
|
-
command?: string | undefined;
|
|
502
|
-
args?: string[] | undefined;
|
|
503
|
-
oauth?: {
|
|
504
|
-
auth_url: string;
|
|
505
|
-
token_url: string;
|
|
506
|
-
client_id?: string | undefined;
|
|
507
|
-
client_secret?: string | undefined;
|
|
508
|
-
scopes?: string[] | undefined;
|
|
509
|
-
token_endpoint_auth_method?: string | undefined;
|
|
510
|
-
} | undefined;
|
|
511
|
-
}> | undefined;
|
|
512
|
-
}, {
|
|
513
|
-
enabled?: string[] | undefined;
|
|
514
|
-
mcp?: Record<string, {
|
|
515
|
-
env?: Record<string, string> | undefined;
|
|
516
|
-
headers?: Record<string, string> | undefined;
|
|
517
|
-
url?: string | undefined;
|
|
518
|
-
command?: string | undefined;
|
|
519
|
-
args?: string[] | undefined;
|
|
520
|
-
oauth?: {
|
|
521
|
-
auth_url: string;
|
|
522
|
-
token_url: string;
|
|
523
|
-
client_id?: string | undefined;
|
|
524
|
-
client_secret?: string | undefined;
|
|
525
|
-
scopes?: string[] | undefined;
|
|
526
|
-
token_endpoint_auth_method?: string | undefined;
|
|
527
|
-
} | undefined;
|
|
528
|
-
}> | undefined;
|
|
529
|
-
}>>;
|
|
530
|
-
network: z.ZodOptional<z.ZodObject<{
|
|
531
|
-
allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
532
|
-
denied: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
533
|
-
}, "strip", z.ZodTypeAny, {
|
|
534
|
-
allowed?: string[] | undefined;
|
|
535
|
-
denied?: string[] | undefined;
|
|
536
|
-
}, {
|
|
537
|
-
allowed?: string[] | undefined;
|
|
538
|
-
denied?: string[] | undefined;
|
|
539
|
-
}>>;
|
|
540
|
-
worker: z.ZodOptional<z.ZodObject<{
|
|
541
|
-
nix_packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
542
|
-
}, "strip", z.ZodTypeAny, {
|
|
543
|
-
nix_packages?: string[] | undefined;
|
|
544
|
-
}, {
|
|
545
|
-
nix_packages?: string[] | undefined;
|
|
546
|
-
}>>;
|
|
547
|
-
}, "strip", z.ZodTypeAny, {
|
|
548
|
-
name: string;
|
|
549
|
-
providers: {
|
|
550
|
-
id: string;
|
|
551
|
-
key?: string | undefined;
|
|
552
|
-
model?: string | undefined;
|
|
553
|
-
}[];
|
|
554
|
-
skills: {
|
|
555
|
-
enabled: string[];
|
|
556
|
-
mcp?: Record<string, {
|
|
557
|
-
env?: Record<string, string> | undefined;
|
|
558
|
-
headers?: Record<string, string> | undefined;
|
|
559
|
-
url?: string | undefined;
|
|
560
|
-
command?: string | undefined;
|
|
561
|
-
args?: string[] | undefined;
|
|
562
|
-
oauth?: {
|
|
563
|
-
auth_url: string;
|
|
564
|
-
token_url: string;
|
|
565
|
-
client_id?: string | undefined;
|
|
566
|
-
client_secret?: string | undefined;
|
|
567
|
-
scopes?: string[] | undefined;
|
|
568
|
-
token_endpoint_auth_method?: string | undefined;
|
|
569
|
-
} | undefined;
|
|
570
|
-
}> | undefined;
|
|
571
|
-
};
|
|
572
|
-
dir: string;
|
|
573
|
-
connections: {
|
|
574
|
-
type: string;
|
|
575
|
-
config: Record<string, string>;
|
|
576
|
-
}[];
|
|
577
|
-
description?: string | undefined;
|
|
578
|
-
network?: {
|
|
579
|
-
allowed?: string[] | undefined;
|
|
580
|
-
denied?: string[] | undefined;
|
|
581
|
-
} | undefined;
|
|
582
|
-
worker?: {
|
|
583
|
-
nix_packages?: string[] | undefined;
|
|
584
|
-
} | undefined;
|
|
585
|
-
}, {
|
|
586
|
-
name: string;
|
|
587
|
-
dir: string;
|
|
588
|
-
providers?: {
|
|
589
|
-
id: string;
|
|
590
|
-
key?: string | undefined;
|
|
591
|
-
model?: string | undefined;
|
|
592
|
-
}[] | undefined;
|
|
593
|
-
skills?: {
|
|
594
|
-
enabled?: string[] | undefined;
|
|
595
|
-
mcp?: Record<string, {
|
|
596
|
-
env?: Record<string, string> | undefined;
|
|
597
|
-
headers?: Record<string, string> | undefined;
|
|
598
|
-
url?: string | undefined;
|
|
599
|
-
command?: string | undefined;
|
|
600
|
-
args?: string[] | undefined;
|
|
601
|
-
oauth?: {
|
|
602
|
-
auth_url: string;
|
|
603
|
-
token_url: string;
|
|
604
|
-
client_id?: string | undefined;
|
|
605
|
-
client_secret?: string | undefined;
|
|
606
|
-
scopes?: string[] | undefined;
|
|
607
|
-
token_endpoint_auth_method?: string | undefined;
|
|
608
|
-
} | undefined;
|
|
609
|
-
}> | undefined;
|
|
610
|
-
} | undefined;
|
|
611
|
-
description?: string | undefined;
|
|
612
|
-
connections?: {
|
|
613
|
-
type: string;
|
|
614
|
-
config: Record<string, string>;
|
|
615
|
-
}[] | undefined;
|
|
616
|
-
network?: {
|
|
617
|
-
allowed?: string[] | undefined;
|
|
618
|
-
denied?: string[] | undefined;
|
|
619
|
-
} | undefined;
|
|
620
|
-
worker?: {
|
|
621
|
-
nix_packages?: string[] | undefined;
|
|
622
|
-
} | undefined;
|
|
623
|
-
}>>;
|
|
624
|
-
}, "strip", z.ZodTypeAny, {
|
|
625
|
-
agents: Record<string, {
|
|
626
|
-
name: string;
|
|
627
|
-
providers: {
|
|
628
|
-
id: string;
|
|
629
|
-
key?: string | undefined;
|
|
630
|
-
model?: string | undefined;
|
|
631
|
-
}[];
|
|
632
|
-
skills: {
|
|
633
|
-
enabled: string[];
|
|
634
|
-
mcp?: Record<string, {
|
|
635
|
-
env?: Record<string, string> | undefined;
|
|
636
|
-
headers?: Record<string, string> | undefined;
|
|
637
|
-
url?: string | undefined;
|
|
638
|
-
command?: string | undefined;
|
|
639
|
-
args?: string[] | undefined;
|
|
640
|
-
oauth?: {
|
|
641
|
-
auth_url: string;
|
|
642
|
-
token_url: string;
|
|
643
|
-
client_id?: string | undefined;
|
|
644
|
-
client_secret?: string | undefined;
|
|
645
|
-
scopes?: string[] | undefined;
|
|
646
|
-
token_endpoint_auth_method?: string | undefined;
|
|
647
|
-
} | undefined;
|
|
648
|
-
}> | undefined;
|
|
649
|
-
};
|
|
650
|
-
dir: string;
|
|
651
|
-
connections: {
|
|
652
|
-
type: string;
|
|
653
|
-
config: Record<string, string>;
|
|
654
|
-
}[];
|
|
655
|
-
description?: string | undefined;
|
|
656
|
-
network?: {
|
|
657
|
-
allowed?: string[] | undefined;
|
|
658
|
-
denied?: string[] | undefined;
|
|
659
|
-
} | undefined;
|
|
660
|
-
worker?: {
|
|
661
|
-
nix_packages?: string[] | undefined;
|
|
662
|
-
} | undefined;
|
|
663
|
-
}>;
|
|
664
|
-
}, {
|
|
665
|
-
agents: Record<string, {
|
|
666
|
-
name: string;
|
|
667
|
-
dir: string;
|
|
668
|
-
providers?: {
|
|
669
|
-
id: string;
|
|
670
|
-
key?: string | undefined;
|
|
671
|
-
model?: string | undefined;
|
|
672
|
-
}[] | undefined;
|
|
673
|
-
skills?: {
|
|
674
|
-
enabled?: string[] | undefined;
|
|
675
|
-
mcp?: Record<string, {
|
|
676
|
-
env?: Record<string, string> | undefined;
|
|
677
|
-
headers?: Record<string, string> | undefined;
|
|
678
|
-
url?: string | undefined;
|
|
679
|
-
command?: string | undefined;
|
|
680
|
-
args?: string[] | undefined;
|
|
681
|
-
oauth?: {
|
|
682
|
-
auth_url: string;
|
|
683
|
-
token_url: string;
|
|
684
|
-
client_id?: string | undefined;
|
|
685
|
-
client_secret?: string | undefined;
|
|
686
|
-
scopes?: string[] | undefined;
|
|
687
|
-
token_endpoint_auth_method?: string | undefined;
|
|
688
|
-
} | undefined;
|
|
689
|
-
}> | undefined;
|
|
690
|
-
} | undefined;
|
|
691
|
-
description?: string | undefined;
|
|
692
|
-
connections?: {
|
|
693
|
-
type: string;
|
|
694
|
-
config: Record<string, string>;
|
|
695
|
-
}[] | undefined;
|
|
696
|
-
network?: {
|
|
697
|
-
allowed?: string[] | undefined;
|
|
698
|
-
denied?: string[] | undefined;
|
|
699
|
-
} | undefined;
|
|
700
|
-
worker?: {
|
|
701
|
-
nix_packages?: string[] | undefined;
|
|
702
|
-
} | undefined;
|
|
703
|
-
}>;
|
|
704
|
-
}>;
|
|
705
|
-
export type LobuTomlConfig = z.infer<typeof lobuConfigSchema>;
|
|
706
|
-
export type AgentEntry = z.infer<typeof agentEntrySchema>;
|
|
707
|
-
export type ProviderEntry = z.infer<typeof providerSchema>;
|
|
708
|
-
export type ConnectionEntry = z.infer<typeof connectionSchema>;
|
|
709
|
-
export type McpServerEntry = z.infer<typeof mcpServerSchema>;
|
|
710
|
-
export type SkillsEntry = z.infer<typeof skillsSchema>;
|
|
711
|
-
export type NetworkEntry = z.infer<typeof networkSchema>;
|
|
712
|
-
export type WorkerEntry = z.infer<typeof workerSchema>;
|
|
713
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export of the canonical `lobu.toml` schema from `@lobu/core`.
|
|
3
|
+
* The actual definition lives in `@lobu/core/src/lobu-toml-schema.ts`.
|
|
4
|
+
*/
|
|
5
|
+
export { type LobuTomlConfig, lobuConfigSchema } from "@lobu/core";
|
|
714
6
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/config/schema.js
CHANGED
|
@@ -1,59 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
key: z.string().optional(), // API key or $ENV_VAR reference
|
|
7
|
-
});
|
|
8
|
-
// Connection entry (platform-specific config is dynamic)
|
|
9
|
-
const connectionSchema = z.object({
|
|
10
|
-
type: z.string(), // "telegram" | "slack" | "discord" | "whatsapp" | "teams"
|
|
11
|
-
config: z.record(z.string()), // platform-specific config (e.g. { botToken: "$BOT_TOKEN" })
|
|
12
|
-
});
|
|
13
|
-
// MCP server OAuth configuration
|
|
14
|
-
const mcpOAuthSchema = z.object({
|
|
15
|
-
auth_url: z.string(),
|
|
16
|
-
token_url: z.string(),
|
|
17
|
-
client_id: z.string().optional(), // $ENV_VAR reference or literal
|
|
18
|
-
client_secret: z.string().optional(),
|
|
19
|
-
scopes: z.array(z.string()).optional(),
|
|
20
|
-
token_endpoint_auth_method: z.string().optional(), // "none", "client_secret_post", "client_secret_basic"
|
|
21
|
-
});
|
|
22
|
-
// Skills section
|
|
23
|
-
const mcpServerSchema = z.object({
|
|
24
|
-
url: z.string().optional(),
|
|
25
|
-
command: z.string().optional(),
|
|
26
|
-
args: z.array(z.string()).optional(),
|
|
27
|
-
env: z.record(z.string()).optional(),
|
|
28
|
-
headers: z.record(z.string()).optional(),
|
|
29
|
-
oauth: mcpOAuthSchema.optional(),
|
|
30
|
-
});
|
|
31
|
-
const skillsSchema = z.object({
|
|
32
|
-
enabled: z.array(z.string()).default([]),
|
|
33
|
-
mcp: z.record(mcpServerSchema).optional(),
|
|
34
|
-
});
|
|
35
|
-
// Network section
|
|
36
|
-
const networkSchema = z.object({
|
|
37
|
-
allowed: z.array(z.string()).optional(),
|
|
38
|
-
denied: z.array(z.string()).optional(),
|
|
39
|
-
});
|
|
40
|
-
// Worker section
|
|
41
|
-
const workerSchema = z.object({
|
|
42
|
-
nix_packages: z.array(z.string()).optional(),
|
|
43
|
-
});
|
|
44
|
-
// Each [agents.{id}] table
|
|
45
|
-
const agentEntrySchema = z.object({
|
|
46
|
-
name: z.string(),
|
|
47
|
-
description: z.string().optional(),
|
|
48
|
-
dir: z.string(), // path to agent content directory (IDENTITY.md, SOUL.md, USER.md, skills/)
|
|
49
|
-
providers: z.array(providerSchema).default([]),
|
|
50
|
-
connections: z.array(connectionSchema).default([]),
|
|
51
|
-
skills: skillsSchema.default({ enabled: [] }),
|
|
52
|
-
network: networkSchema.optional(),
|
|
53
|
-
worker: workerSchema.optional(),
|
|
54
|
-
});
|
|
55
|
-
// Full lobu.toml schema
|
|
56
|
-
export const lobuConfigSchema = z.object({
|
|
57
|
-
agents: z.record(z.string().regex(/^[a-z0-9][a-z0-9-]*$/), agentEntrySchema),
|
|
58
|
-
});
|
|
1
|
+
/**
|
|
2
|
+
* Thin re-export of the canonical `lobu.toml` schema from `@lobu/core`.
|
|
3
|
+
* The actual definition lives in `@lobu/core/src/lobu-toml-schema.ts`.
|
|
4
|
+
*/
|
|
5
|
+
export { lobuConfigSchema } from "@lobu/core";
|
|
59
6
|
//# sourceMappingURL=schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAuB,gBAAgB,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/eval/types.d.ts
CHANGED
|
@@ -1,185 +1,57 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
declare const assertionSchema: z.ZodObject<{
|
|
3
|
-
type: z.ZodEnum<
|
|
3
|
+
type: z.ZodEnum<{
|
|
4
|
+
contains: "contains";
|
|
5
|
+
regex: "regex";
|
|
6
|
+
"llm-rubric": "llm-rubric";
|
|
7
|
+
}>;
|
|
4
8
|
value: z.ZodString;
|
|
5
9
|
weight: z.ZodDefault<z.ZodNumber>;
|
|
6
10
|
options: z.ZodOptional<z.ZodObject<{
|
|
7
11
|
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
13
|
-
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
15
|
-
value: string;
|
|
16
|
-
weight: number;
|
|
17
|
-
options?: z.objectOutputType<{
|
|
18
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
20
|
-
}, {
|
|
21
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
22
|
-
value: string;
|
|
23
|
-
options?: z.objectInputType<{
|
|
24
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
26
|
-
weight?: number | undefined;
|
|
27
|
-
}>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
28
14
|
declare const turnSchema: z.ZodObject<{
|
|
29
15
|
content: z.ZodString;
|
|
30
16
|
assert: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
|
-
type: z.ZodEnum<
|
|
17
|
+
type: z.ZodEnum<{
|
|
18
|
+
contains: "contains";
|
|
19
|
+
regex: "regex";
|
|
20
|
+
"llm-rubric": "llm-rubric";
|
|
21
|
+
}>;
|
|
32
22
|
value: z.ZodString;
|
|
33
23
|
weight: z.ZodDefault<z.ZodNumber>;
|
|
34
24
|
options: z.ZodOptional<z.ZodObject<{
|
|
35
25
|
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
41
|
-
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
43
|
-
value: string;
|
|
44
|
-
weight: number;
|
|
45
|
-
options?: z.objectOutputType<{
|
|
46
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
50
|
-
value: string;
|
|
51
|
-
options?: z.objectInputType<{
|
|
52
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
54
|
-
weight?: number | undefined;
|
|
55
|
-
}>, "many">>;
|
|
56
|
-
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
content: string;
|
|
58
|
-
assert?: {
|
|
59
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
60
|
-
value: string;
|
|
61
|
-
weight: number;
|
|
62
|
-
options?: z.objectOutputType<{
|
|
63
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
64
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
65
|
-
}[] | undefined;
|
|
66
|
-
}, {
|
|
67
|
-
content: string;
|
|
68
|
-
assert?: {
|
|
69
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
70
|
-
value: string;
|
|
71
|
-
options?: z.objectInputType<{
|
|
72
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
74
|
-
weight?: number | undefined;
|
|
75
|
-
}[] | undefined;
|
|
76
|
-
}>;
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
|
+
}, z.core.$strip>>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
77
29
|
export declare const evalDefinitionSchema: z.ZodObject<{
|
|
78
30
|
name: z.ZodString;
|
|
79
31
|
description: z.ZodOptional<z.ZodString>;
|
|
80
32
|
trials: z.ZodDefault<z.ZodNumber>;
|
|
81
33
|
timeout: z.ZodDefault<z.ZodNumber>;
|
|
82
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
34
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
83
35
|
rubric: z.ZodOptional<z.ZodString>;
|
|
84
36
|
scoring: z.ZodDefault<z.ZodObject<{
|
|
85
37
|
pass_threshold: z.ZodDefault<z.ZodNumber>;
|
|
86
|
-
},
|
|
87
|
-
pass_threshold: number;
|
|
88
|
-
}, {
|
|
89
|
-
pass_threshold?: number | undefined;
|
|
90
|
-
}>>;
|
|
38
|
+
}, z.core.$strip>>;
|
|
91
39
|
turns: z.ZodArray<z.ZodObject<{
|
|
92
40
|
content: z.ZodString;
|
|
93
41
|
assert: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
94
|
-
type: z.ZodEnum<
|
|
42
|
+
type: z.ZodEnum<{
|
|
43
|
+
contains: "contains";
|
|
44
|
+
regex: "regex";
|
|
45
|
+
"llm-rubric": "llm-rubric";
|
|
46
|
+
}>;
|
|
95
47
|
value: z.ZodString;
|
|
96
48
|
weight: z.ZodDefault<z.ZodNumber>;
|
|
97
49
|
options: z.ZodOptional<z.ZodObject<{
|
|
98
50
|
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
104
|
-
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
106
|
-
value: string;
|
|
107
|
-
weight: number;
|
|
108
|
-
options?: z.objectOutputType<{
|
|
109
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
111
|
-
}, {
|
|
112
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
113
|
-
value: string;
|
|
114
|
-
options?: z.objectInputType<{
|
|
115
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
117
|
-
weight?: number | undefined;
|
|
118
|
-
}>, "many">>;
|
|
119
|
-
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
content: string;
|
|
121
|
-
assert?: {
|
|
122
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
123
|
-
value: string;
|
|
124
|
-
weight: number;
|
|
125
|
-
options?: z.objectOutputType<{
|
|
126
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
128
|
-
}[] | undefined;
|
|
129
|
-
}, {
|
|
130
|
-
content: string;
|
|
131
|
-
assert?: {
|
|
132
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
133
|
-
value: string;
|
|
134
|
-
options?: z.objectInputType<{
|
|
135
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
136
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
137
|
-
weight?: number | undefined;
|
|
138
|
-
}[] | undefined;
|
|
139
|
-
}>, "many">;
|
|
140
|
-
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
name: string;
|
|
142
|
-
trials: number;
|
|
143
|
-
timeout: number;
|
|
144
|
-
scoring: {
|
|
145
|
-
pass_threshold: number;
|
|
146
|
-
};
|
|
147
|
-
turns: {
|
|
148
|
-
content: string;
|
|
149
|
-
assert?: {
|
|
150
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
151
|
-
value: string;
|
|
152
|
-
weight: number;
|
|
153
|
-
options?: z.objectOutputType<{
|
|
154
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
155
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
156
|
-
}[] | undefined;
|
|
157
|
-
}[];
|
|
158
|
-
description?: string | undefined;
|
|
159
|
-
tags?: string[] | undefined;
|
|
160
|
-
rubric?: string | undefined;
|
|
161
|
-
}, {
|
|
162
|
-
name: string;
|
|
163
|
-
turns: {
|
|
164
|
-
content: string;
|
|
165
|
-
assert?: {
|
|
166
|
-
type: "contains" | "regex" | "llm-rubric";
|
|
167
|
-
value: string;
|
|
168
|
-
options?: z.objectInputType<{
|
|
169
|
-
case_insensitive: z.ZodOptional<z.ZodBoolean>;
|
|
170
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
171
|
-
weight?: number | undefined;
|
|
172
|
-
}[] | undefined;
|
|
173
|
-
}[];
|
|
174
|
-
description?: string | undefined;
|
|
175
|
-
trials?: number | undefined;
|
|
176
|
-
timeout?: number | undefined;
|
|
177
|
-
tags?: string[] | undefined;
|
|
178
|
-
rubric?: string | undefined;
|
|
179
|
-
scoring?: {
|
|
180
|
-
pass_threshold?: number | undefined;
|
|
181
|
-
} | undefined;
|
|
182
|
-
}>;
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
|
+
}, z.core.$strip>>>;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
}, z.core.$strip>;
|
|
183
55
|
export type EvalDefinition = z.infer<typeof evalDefinitionSchema>;
|
|
184
56
|
export type Turn = z.infer<typeof turnSchema>;
|
|
185
57
|
export type Assertion = z.infer<typeof assertionSchema>;
|
package/dist/eval/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/eval/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/eval/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,eAAe;;;;;;;;;;;iBAUnB,CAAC;AAEH,QAAA,MAAM,UAAU;;;;;;;;;;;;;;iBAGd,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAa/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAIxD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,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AAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,6BAA6B;IAC5D,OAAO,EAAE,CAAC;SACP,MAAM,CAAC;QACN,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC;KACxC,CAAC;SACD,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC3C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CAClC,CAAC,CAAC"}
|
package/dist/system-skills.json
CHANGED
|
@@ -20,7 +20,13 @@
|
|
|
20
20
|
"name": "GitHub",
|
|
21
21
|
"description": "Repos, issues, pull requests, and code access",
|
|
22
22
|
"instructions": "Use Owletto MCP tools for GitHub API access (issues, PRs, repos). For git operations, use the CLI directly — network permissions are granted for github.com.",
|
|
23
|
-
"
|
|
23
|
+
"networkConfig": {
|
|
24
|
+
"allowedDomains": [
|
|
25
|
+
"github.com",
|
|
26
|
+
".github.com",
|
|
27
|
+
".githubusercontent.com"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
24
30
|
},
|
|
25
31
|
{
|
|
26
32
|
"id": "google-workspace",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobu/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.19",
|
|
4
4
|
"description": "CLI for deploying and managing AI agents on Lobu",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,7 +20,13 @@
|
|
|
20
20
|
],
|
|
21
21
|
"author": "Burak Emre",
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/lobu-ai/lobu.git",
|
|
26
|
+
"directory": "packages/cli"
|
|
27
|
+
},
|
|
23
28
|
"dependencies": {
|
|
29
|
+
"@lobu/core": "3.0.19",
|
|
24
30
|
"chalk": "^5.3.0",
|
|
25
31
|
"commander": "^12.0.0",
|
|
26
32
|
"inquirer": "^9.2.14",
|
|
@@ -30,7 +36,7 @@
|
|
|
30
36
|
"ora": "^8.0.1",
|
|
31
37
|
"smol-toml": "^1.3.1",
|
|
32
38
|
"yaml": "^2.7.0",
|
|
33
|
-
"zod": "^
|
|
39
|
+
"zod": "^4.1.12"
|
|
34
40
|
},
|
|
35
41
|
"devDependencies": {
|
|
36
42
|
"@types/node": "^20.0.0",
|