Commit a3c3fba
Otti
feat: add semantic exec approval prompts
1 parent f50af18 commit a3c3fbaCopy full SHA for a3c3fba
27 files changed
+570-33Lines changed: 570 additions & 33 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- OpenClaw.Tray.WinUI
- Dialogs
- Services
- Strings
- en-us
- fr-fr
- nl-nl
- zh-cn
- zh-tw
- tests
- OpenClaw.Tray.Tests
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/OpenClaw.Shared/Capabilities/SystemCapability.cs
Copy file name to clipboardExpand all lines: src/OpenClaw.Shared/Capabilities/SystemCapability.cs+33-1Lines changed: 33 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
301 | 301 | |
302 | 302 | |
303 | 303 | |
| 304 | + |
304 | 305 | |
305 | 306 | |
306 | 307 | |
| ||
319 | 320 | |
320 | 321 | |
321 | 322 | |
| 323 | + |
322 | 324 | |
323 | 325 | |
324 | 326 | |
| ||
446 | 448 | |
447 | 449 | |
448 | 450 | |
| 451 | + |
449 | 452 | |
450 | 453 | |
451 | 454 | |
| ||
510 | 513 | |
511 | 514 | |
512 | 515 | |
| 516 | + |
513 | 517 | |
514 | 518 | |
515 | 519 | |
| ||
528 | 532 | |
529 | 533 | |
530 | 534 | |
| 535 | + |
531 | 536 | |
532 | 537 | |
533 | 538 | |
| ||
740 | 745 | |
741 | 746 | |
742 | 747 | |
| 748 | + |
743 | 749 | |
744 | 750 | |
745 | 751 | |
| ||
757 | 763 | |
758 | 764 | |
759 | 765 | |
| 766 | + |
760 | 767 | |
761 | 768 | |
762 | 769 | |
| ||
796 | 803 | |
797 | 804 | |
798 | 805 | |
| 806 | + |
799 | 807 | |
800 | 808 | |
801 | 809 | |
| ||
820 | 828 | |
821 | 829 | |
822 | 830 | |
823 | | - |
| 831 | + |
| 832 | + |
| 833 | + |
| 834 | + |
| 835 | + |
| 836 | + |
| 837 | + |
824 | 838 | |
825 | 839 | |
826 | 840 | |
| ||
851 | 865 | |
852 | 866 | |
853 | 867 | |
| 868 | + |
854 | 869 | |
855 | 870 | |
856 | 871 | |
| ||
877 | 892 | |
878 | 893 | |
879 | 894 | |
| 895 | + |
| 896 | + |
| 897 | + |
| 898 | + |
| 899 | + |
| 900 | + |
| 901 | + |
| 902 | + |
| 903 | + |
| 904 | + |
| 905 | + |
| 906 | + |
| 907 | + |
| 908 | + |
| 909 | + |
| 910 | + |
| 911 | + |
880 | 912 | |
881 | 913 | |
882 | 914 | |
|
Collapse file
src/OpenClaw.Shared/ExecApprovalPrompt.cs
Copy file name to clipboardExpand all lines: src/OpenClaw.Shared/ExecApprovalPrompt.cs+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
17 | 23 | |
18 | 24 | |
19 | 25 | |
|
Collapse file
src/OpenClaw.Shared/ExecApprovalPromptText.cs
Copy file name to clipboard+69Lines changed: 69 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
Collapse file
src/OpenClaw.Shared/ExecApprovals/CanonicalCommandIdentity.cs
Copy file name to clipboardExpand all lines: src/OpenClaw.Shared/ExecApprovals/CanonicalCommandIdentity.cs+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
41 | 41 | |
42 | 42 | |
43 | 43 | |
| 44 | + |
44 | 45 | |
45 | 46 | |
46 | 47 | |
| ||
53 | 54 | |
54 | 55 | |
55 | 56 | |
56 | | - |
| 57 | + |
| 58 | + |
57 | 59 | |
58 | 60 | |
59 | 61 | |
| ||
66 | 68 | |
67 | 69 | |
68 | 70 | |
| 71 | + |
69 | 72 | |
70 | 73 | |
Collapse file
src/OpenClaw.Shared/ExecApprovals/ExecApprovalContextDisplaySanitizer.cs
Copy file name to clipboard+45Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
Collapse file
src/OpenClaw.Shared/ExecApprovals/ExecApprovalV2InputValidator.cs
Copy file name to clipboardExpand all lines: src/OpenClaw.Shared/ExecApprovals/ExecApprovalV2InputValidator.cs+19-1Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
78 | 78 | |
79 | 79 | |
80 | 80 | |
81 | | - |
| 81 | + |
| 82 | + |
82 | 83 | |
83 | 84 | |
84 | 85 | |
| ||
134 | 135 | |
135 | 136 | |
136 | 137 | |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
137 | 155 | |
Collapse file
src/OpenClaw.Shared/ExecApprovals/ExecApprovalV2NormalizationStep.cs
Copy file name to clipboardExpand all lines: src/OpenClaw.Shared/ExecApprovals/ExecApprovalV2NormalizationStep.cs+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
74 | 74 | |
75 | 75 | |
76 | 76 | |
77 | | - |
| 77 | + |
| 78 | + |
78 | 79 | |
79 | 80 | |
80 | 81 | |
|
Collapse file
src/OpenClaw.Shared/ExecApprovals/ExecApprovalV2PromptRequest.cs
Copy file name to clipboardExpand all lines: src/OpenClaw.Shared/ExecApprovals/ExecApprovalV2PromptRequest.cs+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
20 | 25 | |
21 | 26 | |
22 | 27 | |
|
Collapse file
src/OpenClaw.Shared/ExecApprovals/ExecApprovalV2UiPromptHandler.cs
Copy file name to clipboardExpand all lines: src/OpenClaw.Shared/ExecApprovals/ExecApprovalV2UiPromptHandler.cs+18-2Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
17 | 20 | |
18 | 21 | |
19 | 22 | |
| ||
49 | 52 | |
50 | 53 | |
51 | 54 | |
| 55 | + |
| 56 | + |
| 57 | + |
52 | 58 | |
53 | 59 | |
54 | 60 | |
| ||
58 | 64 | |
59 | 65 | |
60 | 66 | |
| 67 | + |
61 | 68 | |
62 | 69 | |
63 | 70 | |
64 | | - |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
65 | 80 | |
66 | 81 | |
67 | 82 | |
| ||
127 | 142 | |
128 | 143 | |
129 | 144 | |
| 145 | + |
130 | 146 | |
Collapse file
src/OpenClaw.Shared/ExecApprovals/ExecApprovalsCoordinator.cs
Copy file name to clipboardExpand all lines: src/OpenClaw.Shared/ExecApprovals/ExecApprovalsCoordinator.cs+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
374 | 374 | |
375 | 375 | |
376 | 376 | |
| 377 | + |
377 | 378 | |
378 | 379 | |
379 | 380 | |
|
0 commit comments