Commit 462385c
improvement: add allowed-tools configuration UI for Slash Command export
- Added allowedTools property to SlashCommandOptions interface
- Added Allowed Tools sub-menu in SlashCommandOptionsDropdown
- Uses AVAILABLE_TOOLS (18 tools) for checkbox selection
- Only outputs allowed-tools when explicitly configured (omit = default)
- Added i18n translations for 5 languages
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent cd603b2 commit 462385cCopy full SHA for 462385c
12 files changed
+244-11Lines changed: 244 additions & 11 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- extension/services
- webview/src
- components
- toolbar
- i18n
- translations
- services
- stores
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/extension/services/export-service.ts
Copy file name to clipboardExpand all lines: src/extension/services/export-service.ts+7-8Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
187 | 187 | |
188 | 188 | |
189 | 189 | |
190 | | - |
191 | | - |
192 | | - |
| 190 | + |
193 | 191 | |
194 | 192 | |
195 | 193 | |
| ||
518 | 516 | |
519 | 517 | |
520 | 518 | |
521 | | - |
522 | | - |
523 | | - |
524 | | - |
525 | | - |
| 519 | + |
| 520 | + |
| 521 | + |
| 522 | + |
| 523 | + |
| 524 | + |
526 | 525 | |
527 | 526 | |
528 | 527 | |
|
Collapse file
src/shared/types/workflow-definition.ts
Copy file name to clipboardExpand all lines: src/shared/types/workflow-definition.ts+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
55 | 55 | |
56 | 56 | |
57 | 57 | |
| 58 | + |
| 59 | + |
58 | 60 | |
59 | 61 | |
60 | 62 | |
|
Collapse file
src/webview/src/components/Toolbar.tsx
Copy file name to clipboardExpand all lines: src/webview/src/components/Toolbar.tsx+6-1Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
66 | 66 | |
67 | 67 | |
68 | 68 | |
| 69 | + |
69 | 70 | |
70 | 71 | |
71 | 72 | |
| ||
191 | 192 | |
192 | 193 | |
193 | 194 | |
194 | | - |
| 195 | + |
195 | 196 | |
196 | 197 | |
197 | 198 | |
198 | 199 | |
| 200 | + |
199 | 201 | |
200 | 202 | |
201 | 203 | |
| ||
710 | 712 | |
711 | 713 | |
712 | 714 | |
| 715 | + |
713 | 716 | |
714 | 717 | |
715 | 718 | |
| ||
719 | 722 | |
720 | 723 | |
721 | 724 | |
| 725 | + |
| 726 | + |
722 | 727 | |
723 | 728 | |
724 | 729 | |
|
Collapse file
src/webview/src/components/toolbar/SlashCommandOptionsDropdown.tsx
Copy file name to clipboardExpand all lines: src/webview/src/components/toolbar/SlashCommandOptionsDropdown.tsx+193-1Lines changed: 193 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
| 8 | + |
8 | 9 | |
9 | 10 | |
10 | 11 | |
| ||
15 | 16 | |
16 | 17 | |
17 | 18 | |
18 | | - |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
19 | 31 | |
20 | 32 | |
21 | 33 | |
| 34 | + |
22 | 35 | |
23 | 36 | |
24 | 37 | |
| ||
66 | 79 | |
67 | 80 | |
68 | 81 | |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
69 | 96 | |
70 | 97 | |
71 | 98 | |
| ||
91 | 118 | |
92 | 119 | |
93 | 120 | |
| 121 | + |
| 122 | + |
94 | 123 | |
95 | 124 | |
96 | 125 | |
| ||
108 | 137 | |
109 | 138 | |
110 | 139 | |
| 140 | + |
| 141 | + |
111 | 142 | |
112 | 143 | |
113 | 144 | |
| ||
127 | 158 | |
128 | 159 | |
129 | 160 | |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
| 170 | + |
| 171 | + |
| 172 | + |
| 173 | + |
| 174 | + |
| 175 | + |
| 176 | + |
| 177 | + |
| 178 | + |
| 179 | + |
130 | 180 | |
131 | 181 | |
132 | 182 | |
| ||
516 | 566 | |
517 | 567 | |
518 | 568 | |
| 569 | + |
| 570 | + |
| 571 | + |
| 572 | + |
| 573 | + |
| 574 | + |
| 575 | + |
| 576 | + |
| 577 | + |
| 578 | + |
| 579 | + |
| 580 | + |
| 581 | + |
| 582 | + |
| 583 | + |
| 584 | + |
| 585 | + |
| 586 | + |
| 587 | + |
| 588 | + |
| 589 | + |
| 590 | + |
| 591 | + |
| 592 | + |
| 593 | + |
| 594 | + |
| 595 | + |
| 596 | + |
| 597 | + |
| 598 | + |
| 599 | + |
| 600 | + |
| 601 | + |
| 602 | + |
| 603 | + |
| 604 | + |
| 605 | + |
| 606 | + |
| 607 | + |
| 608 | + |
| 609 | + |
| 610 | + |
| 611 | + |
| 612 | + |
| 613 | + |
| 614 | + |
| 615 | + |
| 616 | + |
| 617 | + |
| 618 | + |
| 619 | + |
| 620 | + |
| 621 | + |
| 622 | + |
| 623 | + |
| 624 | + |
| 625 | + |
| 626 | + |
| 627 | + |
| 628 | + |
| 629 | + |
| 630 | + |
| 631 | + |
| 632 | + |
| 633 | + |
| 634 | + |
| 635 | + |
| 636 | + |
| 637 | + |
| 638 | + |
| 639 | + |
| 640 | + |
| 641 | + |
| 642 | + |
| 643 | + |
| 644 | + |
| 645 | + |
| 646 | + |
| 647 | + |
| 648 | + |
| 649 | + |
| 650 | + |
| 651 | + |
| 652 | + |
| 653 | + |
| 654 | + |
| 655 | + |
| 656 | + |
| 657 | + |
| 658 | + |
| 659 | + |
| 660 | + |
| 661 | + |
| 662 | + |
| 663 | + |
| 664 | + |
| 665 | + |
| 666 | + |
| 667 | + |
| 668 | + |
| 669 | + |
| 670 | + |
| 671 | + |
| 672 | + |
| 673 | + |
| 674 | + |
| 675 | + |
| 676 | + |
| 677 | + |
| 678 | + |
| 679 | + |
| 680 | + |
| 681 | + |
| 682 | + |
| 683 | + |
| 684 | + |
| 685 | + |
| 686 | + |
| 687 | + |
| 688 | + |
| 689 | + |
| 690 | + |
| 691 | + |
| 692 | + |
| 693 | + |
| 694 | + |
| 695 | + |
| 696 | + |
| 697 | + |
| 698 | + |
| 699 | + |
| 700 | + |
| 701 | + |
| 702 | + |
| 703 | + |
| 704 | + |
| 705 | + |
| 706 | + |
| 707 | + |
| 708 | + |
| 709 | + |
| 710 | + |
519 | 711 | |
520 | 712 | |
521 | 713 | |
|
Collapse file
src/webview/src/i18n/translation-keys.ts
Copy file name to clipboardExpand all lines: src/webview/src/i18n/translation-keys.ts+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
63 | 63 | |
64 | 64 | |
65 | 65 | |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
66 | 70 | |
67 | 71 | |
68 | 72 | |
|
Collapse file
src/webview/src/i18n/translations/en.ts
Copy file name to clipboardExpand all lines: src/webview/src/i18n/translations/en.ts+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
68 | 68 | |
69 | 69 | |
70 | 70 | |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
71 | 76 | |
72 | 77 | |
73 | 78 | |
|
Collapse file
src/webview/src/i18n/translations/ja.ts
Copy file name to clipboardExpand all lines: src/webview/src/i18n/translations/ja.ts+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
69 | 69 | |
70 | 70 | |
71 | 71 | |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
72 | 76 | |
73 | 77 | |
74 | 78 | |
|
Collapse file
src/webview/src/i18n/translations/ko.ts
Copy file name to clipboardExpand all lines: src/webview/src/i18n/translations/ko.ts+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
67 | 67 | |
68 | 68 | |
69 | 69 | |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
70 | 74 | |
71 | 75 | |
72 | 76 | |
|
Collapse file
src/webview/src/i18n/translations/zh-CN.ts
Copy file name to clipboardExpand all lines: src/webview/src/i18n/translations/zh-CN.ts+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
65 | 65 | |
66 | 66 | |
67 | 67 | |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
68 | 72 | |
69 | 73 | |
70 | 74 | |
|
Collapse file
src/webview/src/i18n/translations/zh-TW.ts
Copy file name to clipboardExpand all lines: src/webview/src/i18n/translations/zh-TW.ts+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
65 | 65 | |
66 | 66 | |
67 | 67 | |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
68 | 72 | |
69 | 73 | |
70 | 74 | |
|
0 commit comments