@lobu/cli 3.0.12 → 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.
Files changed (38) hide show
  1. package/dist/commands/connections/add.d.ts +2 -0
  2. package/dist/commands/connections/add.d.ts.map +1 -0
  3. package/dist/commands/connections/add.js +46 -0
  4. package/dist/commands/connections/add.js.map +1 -0
  5. package/dist/commands/connections/list.d.ts +2 -0
  6. package/dist/commands/connections/list.d.ts.map +1 -0
  7. package/dist/commands/connections/list.js +25 -0
  8. package/dist/commands/connections/list.js.map +1 -0
  9. package/dist/commands/connections/platforms.d.ts +18 -0
  10. package/dist/commands/connections/platforms.d.ts.map +1 -0
  11. package/dist/commands/connections/platforms.js +160 -0
  12. package/dist/commands/connections/platforms.js.map +1 -0
  13. package/dist/commands/init.d.ts.map +1 -1
  14. package/dist/commands/init.js +4 -141
  15. package/dist/commands/init.js.map +1 -1
  16. package/dist/commands/providers/add.d.ts.map +1 -1
  17. package/dist/commands/providers/add.js +8 -29
  18. package/dist/commands/providers/add.js.map +1 -1
  19. package/dist/commands/skills/add.d.ts.map +1 -1
  20. package/dist/commands/skills/add.js +15 -29
  21. package/dist/commands/skills/add.js.map +1 -1
  22. package/dist/config/agent-helpers.d.ts +37 -0
  23. package/dist/config/agent-helpers.d.ts.map +1 -0
  24. package/dist/config/agent-helpers.js +58 -0
  25. package/dist/config/agent-helpers.js.map +1 -0
  26. package/dist/config/schema.d.ts +5 -713
  27. package/dist/config/schema.d.ts.map +1 -1
  28. package/dist/config/schema.js +5 -58
  29. package/dist/config/schema.js.map +1 -1
  30. package/dist/eval/types.d.ts +26 -154
  31. package/dist/eval/types.d.ts.map +1 -1
  32. package/dist/eval/types.js +1 -1
  33. package/dist/eval/types.js.map +1 -1
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +18 -0
  36. package/dist/index.js.map +1 -1
  37. package/dist/system-skills.json +7 -1
  38. package/package.json +9 -4
@@ -1,714 +1,6 @@
1
- import { z } from "zod";
2
- declare const providerSchema: z.ZodObject<{
3
- id: z.ZodString;
4
- model: z.ZodOptional<z.ZodString>;
5
- key: z.ZodOptional<z.ZodString>;
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
- config: Record<string, string>;
20
- type: string;
21
- }, {
22
- config: Record<string, string>;
23
- type: 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
- config: Record<string, string>;
215
- type: string;
216
- }, {
217
- config: Record<string, string>;
218
- type: 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
- config: Record<string, string>;
359
- type: 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
- config: Record<string, string>;
398
- type: 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
- config: Record<string, string>;
431
- type: string;
432
- }, {
433
- config: Record<string, string>;
434
- type: 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
- config: Record<string, string>;
575
- type: 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
- config: Record<string, string>;
614
- type: 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
- config: Record<string, string>;
653
- type: 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
- config: Record<string, string>;
694
- type: 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