-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: Add 'Add & Run' button to command approval UI #5292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
95b6c2a
8fd1210
db8c60c
82c3e92
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "No s'ha pogut crear una nova tasca a causa de restriccions de política." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Catalan translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "Neue Aufgabe konnte aufgrund von Richtlinienbeschränkungen nicht erstellt werden." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper German translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "No se pudo crear una nueva tarea debido a restricciones de política." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Spanish translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "Impossible de créer une nouvelle tâche en raison de restrictions de politique." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper French translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "नीति प्रतिबंधों के कारण नया कार्य बनाने में विफल।" | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Hindi translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -15,5 +15,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "Gagal membuat tugas baru karena pembatasan kebijakan." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Indonesian translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "Impossibile creare una nuova attività a causa di restrizioni di policy." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Italian translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "ポリシー制限により新しいタスクを作成できませんでした。" | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Japanese translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "정책 제한으로 인해 새 작업을 생성하지 못했습니다." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Korean translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "Kan geen nieuwe taak aanmaken vanwege beleidsbeperkingen." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Dutch translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "Nie udało się utworzyć nowego zadania z powodu ograniczeń polityki." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Polish translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "Falha ao criar nova tarefa devido a restrições de política." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Portuguese (BR) translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "Не удалось создать новую задачу из-за ограничений политики." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Russian translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "Politika kısıtlamaları nedeniyle yeni görev oluşturulamadı." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Turkish translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "Không thể tạo nhiệm vụ mới do hạn chế chính sách." | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Vietnamese translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "由于策略限制,无法创建新任务。" | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Simplified Chinese translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,5 +12,8 @@ | |||||
| "errors": { | ||||||
| "policy_restriction": "由於政策限制,無法建立新工作。" | ||||||
| } | ||||||
| }, | ||||||
| "executeCommand": { | ||||||
| "patternAddedToWhitelist": "Command pattern \"{{pattern}}\" has been added to the allowed commands list." | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new translation key 'executeCommand.patternAddedToWhitelist' remains in English. Please provide a proper Traditional Chinese translation.
Suggested change
This comment was generated because it violated a code review rule: irule_C0ez7Rji6ANcGkkX. |
||||||
| } | ||||||
| } | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This duplicates the approval logic from
presentAssistantMessage.ts. Could we refactor to reuse the existingaskApprovalfunction instead?The duplication could lead to maintenance issues if the approval flow needs to be updated in the future. Consider extracting the whitelist addition logic into a shared function that both places can call.