@syntero/orca-cli 1.3.2 → 1.3.3

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 (60) hide show
  1. package/dist/assistant/anthropic.js +1 -1
  2. package/dist/assistant/anthropic.js.map +1 -1
  3. package/dist/assistant/helpers.js +1 -1
  4. package/dist/assistant/helpers.js.map +1 -1
  5. package/dist/assistant/openai.js +1 -1
  6. package/dist/assistant/openai.js.map +1 -1
  7. package/dist/assistant/prompts.d.ts.map +1 -1
  8. package/dist/assistant/prompts.js +41 -34
  9. package/dist/assistant/prompts.js.map +1 -1
  10. package/dist/assistant/types.d.ts +1 -1
  11. package/dist/assistant/types.d.ts.map +1 -1
  12. package/dist/tools/auth-tools.d.ts +26 -0
  13. package/dist/tools/auth-tools.d.ts.map +1 -0
  14. package/dist/tools/auth-tools.js +53 -0
  15. package/dist/tools/auth-tools.js.map +1 -0
  16. package/dist/tools/command.d.ts +28 -0
  17. package/dist/tools/command.d.ts.map +1 -0
  18. package/dist/tools/command.js +76 -0
  19. package/dist/tools/command.js.map +1 -0
  20. package/dist/tools/database.d.ts +19 -0
  21. package/dist/tools/database.d.ts.map +1 -0
  22. package/dist/tools/database.js +90 -0
  23. package/dist/tools/database.js.map +1 -0
  24. package/dist/tools/deployment.d.ts +195 -0
  25. package/dist/tools/deployment.d.ts.map +1 -0
  26. package/dist/tools/deployment.js +324 -0
  27. package/dist/tools/deployment.js.map +1 -0
  28. package/dist/tools/docker.d.ts +51 -0
  29. package/dist/tools/docker.d.ts.map +1 -0
  30. package/dist/tools/docker.js +68 -0
  31. package/dist/tools/docker.js.map +1 -0
  32. package/dist/tools/env.d.ts +18 -0
  33. package/dist/tools/env.d.ts.map +1 -0
  34. package/dist/tools/env.js +52 -0
  35. package/dist/tools/env.js.map +1 -0
  36. package/dist/tools/filesystem.d.ts +77 -0
  37. package/dist/tools/filesystem.d.ts.map +1 -0
  38. package/dist/tools/filesystem.js +138 -0
  39. package/dist/tools/filesystem.js.map +1 -0
  40. package/dist/tools/handler.d.ts +5 -0
  41. package/dist/tools/handler.d.ts.map +1 -0
  42. package/dist/tools/handler.js +51 -0
  43. package/dist/tools/handler.js.map +1 -0
  44. package/dist/tools/index.d.ts +462 -0
  45. package/dist/tools/index.d.ts.map +1 -0
  46. package/dist/tools/index.js +38 -0
  47. package/dist/tools/index.js.map +1 -0
  48. package/dist/tools/shared.d.ts +21 -0
  49. package/dist/tools/shared.d.ts.map +1 -0
  50. package/dist/tools/shared.js +75 -0
  51. package/dist/tools/shared.js.map +1 -0
  52. package/dist/tools/types.d.ts +2 -0
  53. package/dist/tools/types.d.ts.map +1 -0
  54. package/dist/tools/types.js +3 -0
  55. package/dist/tools/types.js.map +1 -0
  56. package/package.json +1 -1
  57. package/dist/tools.d.ts +0 -908
  58. package/dist/tools.d.ts.map +0 -1
  59. package/dist/tools.js +0 -774
  60. package/dist/tools.js.map +0 -1
package/dist/tools.d.ts DELETED
@@ -1,908 +0,0 @@
1
- export { detectDangerousCommand, checkCommand, allCategoriesApproved, type DangerousCommand, type DangerCheckResult, type RiskLevel, } from './confirmation/index.js';
2
- export declare const TOOLS_ANTHROPIC: ({
3
- name: string;
4
- description: string;
5
- input_schema: {
6
- type: string;
7
- properties: {
8
- command: {
9
- type: string;
10
- description: string;
11
- };
12
- gist: {
13
- type: string;
14
- description: string;
15
- };
16
- path?: undefined;
17
- tail?: undefined;
18
- show_all?: undefined;
19
- query?: undefined;
20
- container?: undefined;
21
- pattern?: undefined;
22
- case_insensitive?: undefined;
23
- context_lines?: undefined;
24
- target_dir?: undefined;
25
- event?: undefined;
26
- version?: undefined;
27
- previous_version?: undefined;
28
- status?: undefined;
29
- notes?: undefined;
30
- limit?: undefined;
31
- org_id?: undefined;
32
- };
33
- required: string[];
34
- };
35
- } | {
36
- name: string;
37
- description: string;
38
- input_schema: {
39
- type: string;
40
- properties: {
41
- path: {
42
- type: string;
43
- description: string;
44
- };
45
- tail: {
46
- type: string;
47
- description: string;
48
- };
49
- command?: undefined;
50
- gist?: undefined;
51
- show_all?: undefined;
52
- query?: undefined;
53
- container?: undefined;
54
- pattern?: undefined;
55
- case_insensitive?: undefined;
56
- context_lines?: undefined;
57
- target_dir?: undefined;
58
- event?: undefined;
59
- version?: undefined;
60
- previous_version?: undefined;
61
- status?: undefined;
62
- notes?: undefined;
63
- limit?: undefined;
64
- org_id?: undefined;
65
- };
66
- required: string[];
67
- };
68
- } | {
69
- name: string;
70
- description: string;
71
- input_schema: {
72
- type: string;
73
- properties: {
74
- path: {
75
- type: string;
76
- description: string;
77
- };
78
- command?: undefined;
79
- gist?: undefined;
80
- tail?: undefined;
81
- show_all?: undefined;
82
- query?: undefined;
83
- container?: undefined;
84
- pattern?: undefined;
85
- case_insensitive?: undefined;
86
- context_lines?: undefined;
87
- target_dir?: undefined;
88
- event?: undefined;
89
- version?: undefined;
90
- previous_version?: undefined;
91
- status?: undefined;
92
- notes?: undefined;
93
- limit?: undefined;
94
- org_id?: undefined;
95
- };
96
- required: string[];
97
- };
98
- } | {
99
- name: string;
100
- description: string;
101
- input_schema: {
102
- type: string;
103
- properties: {
104
- show_all: {
105
- type: string;
106
- description: string;
107
- };
108
- command?: undefined;
109
- gist?: undefined;
110
- path?: undefined;
111
- tail?: undefined;
112
- query?: undefined;
113
- container?: undefined;
114
- pattern?: undefined;
115
- case_insensitive?: undefined;
116
- context_lines?: undefined;
117
- target_dir?: undefined;
118
- event?: undefined;
119
- version?: undefined;
120
- previous_version?: undefined;
121
- status?: undefined;
122
- notes?: undefined;
123
- limit?: undefined;
124
- org_id?: undefined;
125
- };
126
- required?: undefined;
127
- };
128
- } | {
129
- name: string;
130
- description: string;
131
- input_schema: {
132
- type: string;
133
- properties: {
134
- query: {
135
- type: string;
136
- description: string;
137
- };
138
- command?: undefined;
139
- gist?: undefined;
140
- path?: undefined;
141
- tail?: undefined;
142
- show_all?: undefined;
143
- container?: undefined;
144
- pattern?: undefined;
145
- case_insensitive?: undefined;
146
- context_lines?: undefined;
147
- target_dir?: undefined;
148
- event?: undefined;
149
- version?: undefined;
150
- previous_version?: undefined;
151
- status?: undefined;
152
- notes?: undefined;
153
- limit?: undefined;
154
- org_id?: undefined;
155
- };
156
- required: string[];
157
- };
158
- } | {
159
- name: string;
160
- description: string;
161
- input_schema: {
162
- type: string;
163
- properties: {
164
- container: {
165
- type: string;
166
- description: string;
167
- };
168
- pattern: {
169
- type: string;
170
- description: string;
171
- };
172
- case_insensitive: {
173
- type: string;
174
- description: string;
175
- };
176
- context_lines: {
177
- type: string;
178
- description: string;
179
- };
180
- command?: undefined;
181
- gist?: undefined;
182
- path?: undefined;
183
- tail?: undefined;
184
- show_all?: undefined;
185
- query?: undefined;
186
- target_dir?: undefined;
187
- event?: undefined;
188
- version?: undefined;
189
- previous_version?: undefined;
190
- status?: undefined;
191
- notes?: undefined;
192
- limit?: undefined;
193
- org_id?: undefined;
194
- };
195
- required: string[];
196
- };
197
- } | {
198
- name: string;
199
- description: string;
200
- input_schema: {
201
- type: string;
202
- properties: {
203
- container: {
204
- type: string;
205
- description: string;
206
- };
207
- command?: undefined;
208
- gist?: undefined;
209
- path?: undefined;
210
- tail?: undefined;
211
- show_all?: undefined;
212
- query?: undefined;
213
- pattern?: undefined;
214
- case_insensitive?: undefined;
215
- context_lines?: undefined;
216
- target_dir?: undefined;
217
- event?: undefined;
218
- version?: undefined;
219
- previous_version?: undefined;
220
- status?: undefined;
221
- notes?: undefined;
222
- limit?: undefined;
223
- org_id?: undefined;
224
- };
225
- required?: undefined;
226
- };
227
- } | {
228
- name: string;
229
- description: string;
230
- input_schema: {
231
- type: string;
232
- properties: {
233
- pattern: {
234
- type: string;
235
- description: string;
236
- };
237
- path: {
238
- type: string;
239
- description: string;
240
- };
241
- case_insensitive: {
242
- type: string;
243
- description: string;
244
- };
245
- context_lines: {
246
- type: string;
247
- description: string;
248
- };
249
- command?: undefined;
250
- gist?: undefined;
251
- tail?: undefined;
252
- show_all?: undefined;
253
- query?: undefined;
254
- container?: undefined;
255
- target_dir?: undefined;
256
- event?: undefined;
257
- version?: undefined;
258
- previous_version?: undefined;
259
- status?: undefined;
260
- notes?: undefined;
261
- limit?: undefined;
262
- org_id?: undefined;
263
- };
264
- required: string[];
265
- };
266
- } | {
267
- name: string;
268
- description: string;
269
- input_schema: {
270
- type: string;
271
- properties: {
272
- command?: undefined;
273
- gist?: undefined;
274
- path?: undefined;
275
- tail?: undefined;
276
- show_all?: undefined;
277
- query?: undefined;
278
- container?: undefined;
279
- pattern?: undefined;
280
- case_insensitive?: undefined;
281
- context_lines?: undefined;
282
- target_dir?: undefined;
283
- event?: undefined;
284
- version?: undefined;
285
- previous_version?: undefined;
286
- status?: undefined;
287
- notes?: undefined;
288
- limit?: undefined;
289
- org_id?: undefined;
290
- };
291
- required?: undefined;
292
- };
293
- } | {
294
- name: string;
295
- description: string;
296
- input_schema: {
297
- type: string;
298
- properties: {
299
- target_dir: {
300
- type: string;
301
- description: string;
302
- };
303
- command?: undefined;
304
- gist?: undefined;
305
- path?: undefined;
306
- tail?: undefined;
307
- show_all?: undefined;
308
- query?: undefined;
309
- container?: undefined;
310
- pattern?: undefined;
311
- case_insensitive?: undefined;
312
- context_lines?: undefined;
313
- event?: undefined;
314
- version?: undefined;
315
- previous_version?: undefined;
316
- status?: undefined;
317
- notes?: undefined;
318
- limit?: undefined;
319
- org_id?: undefined;
320
- };
321
- required: string[];
322
- };
323
- } | {
324
- name: string;
325
- description: string;
326
- input_schema: {
327
- type: string;
328
- properties: {
329
- command?: undefined;
330
- gist?: undefined;
331
- path?: undefined;
332
- tail?: undefined;
333
- show_all?: undefined;
334
- query?: undefined;
335
- container?: undefined;
336
- pattern?: undefined;
337
- case_insensitive?: undefined;
338
- context_lines?: undefined;
339
- target_dir?: undefined;
340
- event?: undefined;
341
- version?: undefined;
342
- previous_version?: undefined;
343
- status?: undefined;
344
- notes?: undefined;
345
- limit?: undefined;
346
- org_id?: undefined;
347
- };
348
- required: never[];
349
- };
350
- } | {
351
- name: string;
352
- description: string;
353
- input_schema: {
354
- type: string;
355
- properties: {
356
- event: {
357
- type: string;
358
- enum: string[];
359
- description: string;
360
- };
361
- version: {
362
- type: string;
363
- description: string;
364
- };
365
- previous_version: {
366
- type: string;
367
- description: string;
368
- };
369
- status: {
370
- type: string;
371
- enum: string[];
372
- description: string;
373
- };
374
- notes: {
375
- type: string;
376
- description: string;
377
- };
378
- command?: undefined;
379
- gist?: undefined;
380
- path?: undefined;
381
- tail?: undefined;
382
- show_all?: undefined;
383
- query?: undefined;
384
- container?: undefined;
385
- pattern?: undefined;
386
- case_insensitive?: undefined;
387
- context_lines?: undefined;
388
- target_dir?: undefined;
389
- limit?: undefined;
390
- org_id?: undefined;
391
- };
392
- required: string[];
393
- };
394
- } | {
395
- name: string;
396
- description: string;
397
- input_schema: {
398
- type: string;
399
- properties: {
400
- limit: {
401
- type: string;
402
- description: string;
403
- };
404
- command?: undefined;
405
- gist?: undefined;
406
- path?: undefined;
407
- tail?: undefined;
408
- show_all?: undefined;
409
- query?: undefined;
410
- container?: undefined;
411
- pattern?: undefined;
412
- case_insensitive?: undefined;
413
- context_lines?: undefined;
414
- target_dir?: undefined;
415
- event?: undefined;
416
- version?: undefined;
417
- previous_version?: undefined;
418
- status?: undefined;
419
- notes?: undefined;
420
- org_id?: undefined;
421
- };
422
- required?: undefined;
423
- };
424
- } | {
425
- name: string;
426
- description: string;
427
- input_schema: {
428
- type: string;
429
- properties: {
430
- org_id: {
431
- type: string;
432
- description: string;
433
- };
434
- command?: undefined;
435
- gist?: undefined;
436
- path?: undefined;
437
- tail?: undefined;
438
- show_all?: undefined;
439
- query?: undefined;
440
- container?: undefined;
441
- pattern?: undefined;
442
- case_insensitive?: undefined;
443
- context_lines?: undefined;
444
- target_dir?: undefined;
445
- event?: undefined;
446
- version?: undefined;
447
- previous_version?: undefined;
448
- status?: undefined;
449
- notes?: undefined;
450
- limit?: undefined;
451
- };
452
- required: string[];
453
- };
454
- })[];
455
- export declare const TOOLS_OPENAI: {
456
- type: "function";
457
- function: {
458
- name: string;
459
- description: string;
460
- parameters: {
461
- type: string;
462
- properties: {
463
- command: {
464
- type: string;
465
- description: string;
466
- };
467
- gist: {
468
- type: string;
469
- description: string;
470
- };
471
- path?: undefined;
472
- tail?: undefined;
473
- show_all?: undefined;
474
- query?: undefined;
475
- container?: undefined;
476
- pattern?: undefined;
477
- case_insensitive?: undefined;
478
- context_lines?: undefined;
479
- target_dir?: undefined;
480
- event?: undefined;
481
- version?: undefined;
482
- previous_version?: undefined;
483
- status?: undefined;
484
- notes?: undefined;
485
- limit?: undefined;
486
- org_id?: undefined;
487
- };
488
- required: string[];
489
- } | {
490
- type: string;
491
- properties: {
492
- path: {
493
- type: string;
494
- description: string;
495
- };
496
- tail: {
497
- type: string;
498
- description: string;
499
- };
500
- command?: undefined;
501
- gist?: undefined;
502
- show_all?: undefined;
503
- query?: undefined;
504
- container?: undefined;
505
- pattern?: undefined;
506
- case_insensitive?: undefined;
507
- context_lines?: undefined;
508
- target_dir?: undefined;
509
- event?: undefined;
510
- version?: undefined;
511
- previous_version?: undefined;
512
- status?: undefined;
513
- notes?: undefined;
514
- limit?: undefined;
515
- org_id?: undefined;
516
- };
517
- required: string[];
518
- } | {
519
- type: string;
520
- properties: {
521
- path: {
522
- type: string;
523
- description: string;
524
- };
525
- command?: undefined;
526
- gist?: undefined;
527
- tail?: undefined;
528
- show_all?: undefined;
529
- query?: undefined;
530
- container?: undefined;
531
- pattern?: undefined;
532
- case_insensitive?: undefined;
533
- context_lines?: undefined;
534
- target_dir?: undefined;
535
- event?: undefined;
536
- version?: undefined;
537
- previous_version?: undefined;
538
- status?: undefined;
539
- notes?: undefined;
540
- limit?: undefined;
541
- org_id?: undefined;
542
- };
543
- required: string[];
544
- } | {
545
- type: string;
546
- properties: {
547
- show_all: {
548
- type: string;
549
- description: string;
550
- };
551
- command?: undefined;
552
- gist?: undefined;
553
- path?: undefined;
554
- tail?: undefined;
555
- query?: undefined;
556
- container?: undefined;
557
- pattern?: undefined;
558
- case_insensitive?: undefined;
559
- context_lines?: undefined;
560
- target_dir?: undefined;
561
- event?: undefined;
562
- version?: undefined;
563
- previous_version?: undefined;
564
- status?: undefined;
565
- notes?: undefined;
566
- limit?: undefined;
567
- org_id?: undefined;
568
- };
569
- required?: undefined;
570
- } | {
571
- type: string;
572
- properties: {
573
- query: {
574
- type: string;
575
- description: string;
576
- };
577
- command?: undefined;
578
- gist?: undefined;
579
- path?: undefined;
580
- tail?: undefined;
581
- show_all?: undefined;
582
- container?: undefined;
583
- pattern?: undefined;
584
- case_insensitive?: undefined;
585
- context_lines?: undefined;
586
- target_dir?: undefined;
587
- event?: undefined;
588
- version?: undefined;
589
- previous_version?: undefined;
590
- status?: undefined;
591
- notes?: undefined;
592
- limit?: undefined;
593
- org_id?: undefined;
594
- };
595
- required: string[];
596
- } | {
597
- type: string;
598
- properties: {
599
- container: {
600
- type: string;
601
- description: string;
602
- };
603
- pattern: {
604
- type: string;
605
- description: string;
606
- };
607
- case_insensitive: {
608
- type: string;
609
- description: string;
610
- };
611
- context_lines: {
612
- type: string;
613
- description: string;
614
- };
615
- command?: undefined;
616
- gist?: undefined;
617
- path?: undefined;
618
- tail?: undefined;
619
- show_all?: undefined;
620
- query?: undefined;
621
- target_dir?: undefined;
622
- event?: undefined;
623
- version?: undefined;
624
- previous_version?: undefined;
625
- status?: undefined;
626
- notes?: undefined;
627
- limit?: undefined;
628
- org_id?: undefined;
629
- };
630
- required: string[];
631
- } | {
632
- type: string;
633
- properties: {
634
- container: {
635
- type: string;
636
- description: string;
637
- };
638
- command?: undefined;
639
- gist?: undefined;
640
- path?: undefined;
641
- tail?: undefined;
642
- show_all?: undefined;
643
- query?: undefined;
644
- pattern?: undefined;
645
- case_insensitive?: undefined;
646
- context_lines?: undefined;
647
- target_dir?: undefined;
648
- event?: undefined;
649
- version?: undefined;
650
- previous_version?: undefined;
651
- status?: undefined;
652
- notes?: undefined;
653
- limit?: undefined;
654
- org_id?: undefined;
655
- };
656
- required?: undefined;
657
- } | {
658
- type: string;
659
- properties: {
660
- pattern: {
661
- type: string;
662
- description: string;
663
- };
664
- path: {
665
- type: string;
666
- description: string;
667
- };
668
- case_insensitive: {
669
- type: string;
670
- description: string;
671
- };
672
- context_lines: {
673
- type: string;
674
- description: string;
675
- };
676
- command?: undefined;
677
- gist?: undefined;
678
- tail?: undefined;
679
- show_all?: undefined;
680
- query?: undefined;
681
- container?: undefined;
682
- target_dir?: undefined;
683
- event?: undefined;
684
- version?: undefined;
685
- previous_version?: undefined;
686
- status?: undefined;
687
- notes?: undefined;
688
- limit?: undefined;
689
- org_id?: undefined;
690
- };
691
- required: string[];
692
- } | {
693
- type: string;
694
- properties: {
695
- command?: undefined;
696
- gist?: undefined;
697
- path?: undefined;
698
- tail?: undefined;
699
- show_all?: undefined;
700
- query?: undefined;
701
- container?: undefined;
702
- pattern?: undefined;
703
- case_insensitive?: undefined;
704
- context_lines?: undefined;
705
- target_dir?: undefined;
706
- event?: undefined;
707
- version?: undefined;
708
- previous_version?: undefined;
709
- status?: undefined;
710
- notes?: undefined;
711
- limit?: undefined;
712
- org_id?: undefined;
713
- };
714
- required?: undefined;
715
- } | {
716
- type: string;
717
- properties: {
718
- target_dir: {
719
- type: string;
720
- description: string;
721
- };
722
- command?: undefined;
723
- gist?: undefined;
724
- path?: undefined;
725
- tail?: undefined;
726
- show_all?: undefined;
727
- query?: undefined;
728
- container?: undefined;
729
- pattern?: undefined;
730
- case_insensitive?: undefined;
731
- context_lines?: undefined;
732
- event?: undefined;
733
- version?: undefined;
734
- previous_version?: undefined;
735
- status?: undefined;
736
- notes?: undefined;
737
- limit?: undefined;
738
- org_id?: undefined;
739
- };
740
- required: string[];
741
- } | {
742
- type: string;
743
- properties: {
744
- command?: undefined;
745
- gist?: undefined;
746
- path?: undefined;
747
- tail?: undefined;
748
- show_all?: undefined;
749
- query?: undefined;
750
- container?: undefined;
751
- pattern?: undefined;
752
- case_insensitive?: undefined;
753
- context_lines?: undefined;
754
- target_dir?: undefined;
755
- event?: undefined;
756
- version?: undefined;
757
- previous_version?: undefined;
758
- status?: undefined;
759
- notes?: undefined;
760
- limit?: undefined;
761
- org_id?: undefined;
762
- };
763
- required: never[];
764
- } | {
765
- type: string;
766
- properties: {
767
- event: {
768
- type: string;
769
- enum: string[];
770
- description: string;
771
- };
772
- version: {
773
- type: string;
774
- description: string;
775
- };
776
- previous_version: {
777
- type: string;
778
- description: string;
779
- };
780
- status: {
781
- type: string;
782
- enum: string[];
783
- description: string;
784
- };
785
- notes: {
786
- type: string;
787
- description: string;
788
- };
789
- command?: undefined;
790
- gist?: undefined;
791
- path?: undefined;
792
- tail?: undefined;
793
- show_all?: undefined;
794
- query?: undefined;
795
- container?: undefined;
796
- pattern?: undefined;
797
- case_insensitive?: undefined;
798
- context_lines?: undefined;
799
- target_dir?: undefined;
800
- limit?: undefined;
801
- org_id?: undefined;
802
- };
803
- required: string[];
804
- } | {
805
- type: string;
806
- properties: {
807
- limit: {
808
- type: string;
809
- description: string;
810
- };
811
- command?: undefined;
812
- gist?: undefined;
813
- path?: undefined;
814
- tail?: undefined;
815
- show_all?: undefined;
816
- query?: undefined;
817
- container?: undefined;
818
- pattern?: undefined;
819
- case_insensitive?: undefined;
820
- context_lines?: undefined;
821
- target_dir?: undefined;
822
- event?: undefined;
823
- version?: undefined;
824
- previous_version?: undefined;
825
- status?: undefined;
826
- notes?: undefined;
827
- org_id?: undefined;
828
- };
829
- required?: undefined;
830
- } | {
831
- type: string;
832
- properties: {
833
- org_id: {
834
- type: string;
835
- description: string;
836
- };
837
- command?: undefined;
838
- gist?: undefined;
839
- path?: undefined;
840
- tail?: undefined;
841
- show_all?: undefined;
842
- query?: undefined;
843
- container?: undefined;
844
- pattern?: undefined;
845
- case_insensitive?: undefined;
846
- context_lines?: undefined;
847
- target_dir?: undefined;
848
- event?: undefined;
849
- version?: undefined;
850
- previous_version?: undefined;
851
- status?: undefined;
852
- notes?: undefined;
853
- limit?: undefined;
854
- };
855
- required: string[];
856
- };
857
- };
858
- }[];
859
- /**
860
- * Execute a shell command with timeout.
861
- *
862
- * Note: Dangerous command detection is now handled at a higher level
863
- * (assistant.ts/ChatApp.tsx) via the confirmation system. This function
864
- * executes commands directly - callers are responsible for confirming
865
- * dangerous commands before calling this.
866
- */
867
- export declare function runCommand(command: string, timeout?: number, signal?: AbortSignal): Promise<string>;
868
- /**
869
- * Read a file's contents.
870
- */
871
- export declare function readFile(filePath: string, tail?: number): string;
872
- /**
873
- * List directory contents using Node.js fs APIs (cross-platform).
874
- */
875
- export declare function listDirectory(dirPath: string): string;
876
- /**
877
- * Inspect .env file with secrets redacted.
878
- */
879
- export declare function inspectEnv(showAll?: boolean): string;
880
- /**
881
- * Execute a read-only SQL query.
882
- */
883
- export declare function queryDatabase(query: string, signal?: AbortSignal): Promise<string>;
884
- /**
885
- * Search container logs for a pattern.
886
- */
887
- export declare function searchLogs(container: string, pattern: string, caseInsensitive?: boolean, contextLines?: number, signal?: AbortSignal): Promise<string>;
888
- /**
889
- * Search for a pattern in a file or directory using grep.
890
- */
891
- export declare function grepFile(pattern: string, filePath: string, caseInsensitive?: boolean, contextLines?: number, signal?: AbortSignal): Promise<string>;
892
- /**
893
- * Check health of Orca containers.
894
- */
895
- export declare function checkContainerHealth(container?: string, signal?: AbortSignal): Promise<string>;
896
- /**
897
- * Log a deployment event to release_history.json.
898
- */
899
- export declare function logDeploymentEvent(event: 'install' | 'update' | 'rollback', version: string, status: 'success' | 'failed' | 'partial', previousVersion?: string, notes?: string): string;
900
- /**
901
- * Read deployment history from release_history.json.
902
- */
903
- export declare function getDeploymentHistory(limit?: number): string;
904
- /**
905
- * Handle a tool call and return the result.
906
- */
907
- export declare function handleToolCall(name: string, inputData: Record<string, unknown>, signal?: AbortSignal): Promise<string>;
908
- //# sourceMappingURL=tools.d.ts.map