@gitlab/duo-ui 10.20.0 → 10.22.0

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 (37) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/components/agentic_chat/agentic_duo_chat.js +18 -37
  3. package/dist/components/chat/components/duo_chat_header/duo_chat_header.js +4 -4
  4. package/dist/components/chat/components/duo_chat_message_tool_approval/components/create_commit_tool_params.js +148 -0
  5. package/dist/components/chat/components/duo_chat_message_tool_approval/components/create_issue_tool_params.js +88 -0
  6. package/dist/components/chat/components/duo_chat_message_tool_approval/components/create_merge_request_tool_params.js +83 -0
  7. package/dist/components/chat/components/duo_chat_message_tool_approval/components/pre_block.js +38 -0
  8. package/dist/components/chat/components/duo_chat_message_tool_approval/components/run_command_tool_params.js +62 -0
  9. package/dist/components/chat/components/duo_chat_message_tool_approval/message_tool_approval.js +46 -8
  10. package/dist/components/chat/duo_chat.js +35 -54
  11. package/dist/components/chat/mock_data.js +85 -1
  12. package/dist/components/ui/duo_layout/duo_layout.js +100 -0
  13. package/dist/components/ui/side_rail/side_rail.js +67 -0
  14. package/dist/components.css +1 -1
  15. package/dist/components.css.map +1 -1
  16. package/dist/index.js +2 -0
  17. package/dist/tailwind.css +1 -1
  18. package/dist/tailwind.css.map +1 -1
  19. package/dist/utils/object.js +9 -0
  20. package/package.json +5 -4
  21. package/src/components/agentic_chat/agentic_duo_chat.vue +210 -244
  22. package/src/components/chat/components/duo_chat_header/duo_chat_header.vue +24 -22
  23. package/src/components/chat/components/duo_chat_message_tool_approval/components/create_commit_tool_params.vue +155 -0
  24. package/src/components/chat/components/duo_chat_message_tool_approval/components/create_issue_tool_params.vue +80 -0
  25. package/src/components/chat/components/duo_chat_message_tool_approval/components/create_merge_request_tool_params.vue +74 -0
  26. package/src/components/chat/components/duo_chat_message_tool_approval/components/pre_block.vue +5 -0
  27. package/src/components/chat/components/duo_chat_message_tool_approval/components/run_command_tool_params.vue +30 -0
  28. package/src/components/chat/components/duo_chat_message_tool_approval/message_tool_approval.vue +143 -88
  29. package/src/components/chat/duo_chat.scss +1 -2
  30. package/src/components/chat/duo_chat.vue +214 -238
  31. package/src/components/chat/mock_data.js +99 -0
  32. package/src/components/ui/duo_layout/duo_layout.md +0 -0
  33. package/src/components/ui/duo_layout/duo_layout.vue +95 -0
  34. package/src/components/ui/side_rail/side_rail.vue +56 -0
  35. package/src/index.js +2 -0
  36. package/src/utils/object.js +4 -0
  37. package/translations.js +29 -6
@@ -169,6 +169,105 @@ export const MOCK_REQUEST_MESSAGE_WITH_TOOL_APPROVAL_PARAMS = {
169
169
  role: 'request',
170
170
  };
171
171
 
172
+ export const MOCK_REQUEST_MESSAGE_WITH_TOOL_APPROVAL_CREATE_MERGE_REQUEST = {
173
+ id: '125',
174
+ content: 'Tool create_merge_request requires approval. Please confirm if you want to proceed.',
175
+ message_type: MESSAGE_MODEL_ROLES.request,
176
+ tool_info: {
177
+ name: 'create_merge_request',
178
+ args: {
179
+ project_id: 123,
180
+ source_branch: 'rename-all-spec-files',
181
+ target_branch: 'main',
182
+ title: 'Rename all the *.spec.ts files to *.test.ts',
183
+ description:
184
+ '## What does this MR do?\n\nThis MR updates the `group` field in the `web_ide_language_server` beta feature flag configuration from `group::remote development` to `group:: editor extensions`.\n\n## Related issues\n\nThis change aligns the feature flag with the correct group ownership.\n\n## Changes made\n\n- Updated `config/feature_flags/beta/web_ide_language_server.yml`\n- Changed group field from `group::remote development` to `group:: editor extensions`\n\n## Checklist\n\n- [x] Feature flag configuration updated\n- [x] Group field correctly set to `group:: editor extensions`',
185
+ },
186
+ },
187
+ timestamp: '2025-06-25T19:22:21.290791+00:00',
188
+ status: 'success',
189
+ role: 'request',
190
+ };
191
+
192
+ export const MOCK_REQUEST_MESSAGE_WITH_TOOL_APPROVAL_RUN_COMMAND = {
193
+ id: '125',
194
+ content: 'Tool run_command requires approval. Please confirm if you want to proceed.',
195
+ message_type: MESSAGE_MODEL_ROLES.request,
196
+ tool_info: {
197
+ name: 'run_command',
198
+ args: {
199
+ program: 'ls',
200
+ args: '-a | grep package.json',
201
+ },
202
+ },
203
+ timestamp: '2025-06-25T19:22:21.290791+00:00',
204
+ status: 'success',
205
+ role: 'request',
206
+ };
207
+
208
+ export const MOCK_REQUEST_MESSAGE_WITH_TOOL_APPROVAL_CREATE_ISSUE = {
209
+ id: '125',
210
+ content: 'Tool run_command requires approval. Please confirm if you want to proceed.',
211
+ message_type: MESSAGE_MODEL_ROLES.request,
212
+ tool_info: {
213
+ name: 'create_issue',
214
+ args: {
215
+ project_id: 123,
216
+ title: 'CSP bug in VSCode Fork prevents loading external web views in Web IDE',
217
+ description:
218
+ "## Problem\n\nThe VSCode Fork implementation has a Content Security Policy (CSP) bug that prevents external web views from loading properly in the Web IDE.\n\n## Impact\n\n- External web views fail to load within the Web IDE environment\n- This affects functionality that relies on embedding external content\n- Users may experience broken or non-functional web view components\n\n## Expected Behavior\n\nExternal web views should load successfully within the Web IDE when permitted by security policies.\n\n## Current Behavior\n\nExternal web views are blocked due to CSP restrictions in the VSCode Fork implementation.\n\n## Technical Details\n\nThis appears to be related to how the VSCode Fork handles Content Security Policy headers, which may be overly restrictive for the Web IDE's use case with external web views.\n\n## Next Steps\n\n- [ ] Investigate the specific CSP directives causing the issue\n- [ ] Determine which external domains/resources need to be allowlisted\n- [ ] Implement appropriate CSP modifications in the VSCode Fork\n- [ ] Test the fix with various external web view scenarios\n- [ ] Ensure security implications are properly evaluated",
219
+ labels: 'bug,web-ide,vscode-fork,csp,security',
220
+ },
221
+ },
222
+ timestamp: '2025-06-25T19:22:21.290791+00:00',
223
+ status: 'success',
224
+ role: 'request',
225
+ };
226
+
227
+ export const MOCK_REQUEST_MESSAGE_WITH_TOOL_APPROVAL_CREATE_COMMIT = {
228
+ id: '125',
229
+ content: 'Tool create_commit requires approval. Please confirm if you want to proceed.',
230
+ message_type: MESSAGE_MODEL_ROLES.request,
231
+ tool_info: {
232
+ name: 'create_commit',
233
+ args: {
234
+ project_id: 35104827,
235
+ branch: 'feat/add-web-ide-duo-chat-package',
236
+ start_branch: 'main',
237
+ commit_message:
238
+ 'feat: add web-ide-duo-chat package with TypeScript setup\n\n- Create new package @gitlab/web-ide-duo-chat\n- Set up TypeScript configuration following project patterns\n- Add src directory with index.ts entry point\n- Configure package.json with workspace dependencies\n- Add package reference to root tsconfig.json',
239
+ actions: [
240
+ {
241
+ action: 'create',
242
+ file_path: 'packages/web-ide-duo-chat/package.json',
243
+ content:
244
+ '{\n "name": "@gitlab/web-ide-duo-chat",\n "version": "0.0.1",\n "main": "./src/index.ts",\n "license": "MIT",\n "packageManager": "yarn@3.2.0",\n "devDependencies": {\n "@gitlab/utils-test": "workspace:*"\n },\n "dependencies": {\n "@gitlab/logger": "workspace:*",\n "@gitlab/web-ide-types": "workspace:*"\n },\n "publishConfig": {\n "main": "./lib/index.js"\n }\n}\n',
245
+ },
246
+ {
247
+ action: 'create',
248
+ file_path: 'packages/web-ide-duo-chat/src/types.ts',
249
+ content:
250
+ "/**\n * Represents a chat message in the Duo Chat interface\n */\nexport interface ChatMessage {\n /**\n * Unique identifier for the message\n */\n id: string;\n /**\n * The content of the message\n */\n content: string;\n /**\n * Who sent the message\n */\n sender: 'user' | 'assistant';\n /**\n * Timestamp when the message was created\n */\n timestamp: Date;\n /**\n * Optional metadata for the message\n */\n metadata?: Record<string, unknown>;\n}\n\n/**\n * Represents a chat conversation\n */\nexport interface ChatConversation {\n /**\n * Unique identifier for the conversation\n */\n id: string;\n /**\n * Title of the conversation\n */\n title: string;\n /**\n * Messages in the conversation\n */\n messages: ChatMessage[];\n /**\n * When the conversation was created\n */\n createdAt: Date;\n /**\n * When the conversation was last updated\n */\n updatedAt: Date;\n}\n\n/**\n * Event types for Duo Chat\n */\nexport type DuoChatEvent = \n | { type: 'message-sent'; payload: ChatMessage }\n | { type: 'message-received'; payload: ChatMessage }\n | { type: 'conversation-started'; payload: ChatConversation }\n | { type: 'conversation-ended'; payload: { conversationId: string } }\n | { type: 'error'; payload: { error: Error; context?: string } };\n\n/**\n * Callback function for handling Duo Chat events\n */\nexport type DuoChatEventHandler = (event: DuoChatEvent) => void;\n\n/**\n * Interface for Duo Chat service providers\n */\nexport interface DuoChatProvider {\n /**\n * Send a message and get a response\n */\n sendMessage(message: string, conversationId?: string): Promise<ChatMessage>;\n /**\n * Start a new conversation\n */\n startConversation(title?: string): Promise<ChatConversation>;\n /**\n * Get conversation history\n */\n getConversation(conversationId: string): Promise<ChatConversation | null>;\n /**\n * List all conversations\n */\n listConversations(): Promise<ChatConversation[]>;\n}\n",
251
+ },
252
+ {
253
+ action: 'update',
254
+ file_path: 'tsconfig.json',
255
+ content:
256
+ '{\n "extends": "./tsconfig.base.json",\n "references": [\n { "path": "./packages/example" },\n { "path": "./packages/gitlab-api-client" },\n { "path": "./packages/gitlab-api-client-factory" },\n { "path": "./packages/logger" },\n { "path": "./packages/oauth-client" },\n { "path": "./packages/utils-crypto" },\n { "path": "./packages/utils-escape" },\n { "path": "./packages/utils-test" },\n { "path": "./packages/utils-path" },\n { "path": "./packages/vscode-bootstrap" },\n { "path": "./packages/vscode-mediator-commands" },\n { "path": "./packages/web-ide" },\n { "path": "./packages/web-ide-duo-chat" },\n { "path": "./packages/web-ide-fs" },\n { "path": "./packages/web-ide-types" },\n { "path": "./packages/web-ide-interop" },\n { "path": "./packages/vscode-extension-web-ide" },\n { "path": "./packages/cross-origin-channel" },\n { "path": "./packages/cloudflare" }\n ],\n "files": []\n}\n',
257
+ },
258
+ {
259
+ action: 'move',
260
+ file_path: 'yarn.lock',
261
+ previous_path: 'yarn.lock.bkp',
262
+ },
263
+ ],
264
+ },
265
+ },
266
+ timestamp: '2025-06-25T19:22:21.290791+00:00',
267
+ status: 'success',
268
+ role: 'assistant',
269
+ };
270
+
172
271
  export const MOCK_WORKFLOW_END_MESSAGE = {
173
272
  id: '123',
174
273
  content: "Search for 'duo.*chat.*message' in directory",
File without changes
@@ -0,0 +1,95 @@
1
+ <script>
2
+ import VueResizable from 'vue-resizable';
3
+ import SideRail from '../side_rail/side_rail.vue';
4
+
5
+ export default {
6
+ name: 'DuoLayout',
7
+ components: {
8
+ VueResizable,
9
+ SideRail,
10
+ },
11
+ props: {
12
+ /**
13
+ * Determines if the component should be resizable. When true, it renders inside
14
+ * a `vue-resizable` wrapper; otherwise, a standard `div` is used.
15
+ */
16
+ shouldRenderResizable: {
17
+ type: Boolean,
18
+ required: false,
19
+ default: false,
20
+ },
21
+ /**
22
+ * Defines the dimensions of the layout container when resizable.
23
+ * By default, the height is set to match the height of the browser window,
24
+ * and the width is fixed at 400px. The `top` position is left undefined,
25
+ * allowing it to be dynamically adjusted if needed.
26
+ */
27
+ dimensions: {
28
+ type: Object,
29
+ required: false,
30
+ default: () => ({
31
+ width: undefined,
32
+ height: undefined,
33
+ top: undefined,
34
+ left: undefined,
35
+ maxWidth: undefined,
36
+ minWidth: 400,
37
+ maxHeight: undefined,
38
+ minHeight: 400,
39
+ }),
40
+ },
41
+ /**
42
+ * Whether the layout is hidden
43
+ */
44
+ isHidden: {
45
+ type: Boolean,
46
+ required: false,
47
+ default: false,
48
+ },
49
+ },
50
+ methods: {
51
+ updateSize(e) {
52
+ /**
53
+ * Emitted when the layout is resized
54
+ * @param {Object} e The resize event data
55
+ */
56
+ this.$emit('resize', e);
57
+ },
58
+ },
59
+ };
60
+ </script>
61
+ <template>
62
+ <component
63
+ :is="shouldRenderResizable ? 'vue-resizable' : 'div'"
64
+ v-if="!isHidden"
65
+ :width="shouldRenderResizable ? dimensions.width : null"
66
+ :height="shouldRenderResizable ? dimensions.height : null"
67
+ :max-width="shouldRenderResizable ? dimensions.maxWidth : null"
68
+ :max-height="shouldRenderResizable ? dimensions.maxHeight : null"
69
+ :min-width="shouldRenderResizable ? dimensions.minWidth : null"
70
+ :left="shouldRenderResizable ? dimensions.left : null"
71
+ :top="shouldRenderResizable ? dimensions.top : null"
72
+ :fit-parent="true"
73
+ :min-height="shouldRenderResizable ? dimensions.minHeight : null"
74
+ :class="{
75
+ 'duo-chat-resizable': shouldRenderResizable,
76
+ 'non-resizable-wrapper': !shouldRenderResizable,
77
+ }"
78
+ :active="shouldRenderResizable ? ['l', 't', 'lt'] : null"
79
+ data-testid="duo-layout-component"
80
+ @resize:end="updateSize"
81
+ >
82
+ <aside
83
+ class="markdown-code-block duo-chat gl-align-items gl-bottom-0 gl-flex gl-h-full gl-max-h-full gl-flex-row gl-bg-strong gl-py-3 gl-pl-3"
84
+ >
85
+ <main
86
+ class="content flex-none gl-h-full gl-min-w-0 gl-grow gl-overflow-y-auto gl-rounded-[1rem] gl-bg-neutral-0"
87
+ >
88
+ <slot name="mainview"></slot>
89
+ </main>
90
+ <aside class="gl-flex gl-h-full gl-min-h-full gl-bg-strong gl-px-3 gl-py-2">
91
+ <slot name="siderail"></slot>
92
+ </aside>
93
+ </aside>
94
+ </component>
95
+ </template>
@@ -0,0 +1,56 @@
1
+ <script>
2
+ import { GlButtonGroup, GlButton, GlAvatar, GlTooltipDirective } from '@gitlab/ui';
3
+
4
+ export default {
5
+ name: 'SideRail',
6
+ directives: {
7
+ GlTooltip: GlTooltipDirective,
8
+ },
9
+ components: {
10
+ GlButtonGroup,
11
+ GlButton,
12
+ GlAvatar,
13
+ },
14
+ props: {
15
+ /**
16
+ * String to display the empty state of recent content
17
+ */
18
+ buttons: {
19
+ type: Object,
20
+ required: false,
21
+ default: () => ({}),
22
+ },
23
+ },
24
+ methods: {
25
+ onClick(buttonName) {
26
+ this.$emit('click', buttonName);
27
+ },
28
+ },
29
+ };
30
+ </script>
31
+ <template>
32
+ <gl-button-group :vertical="true">
33
+ <template v-for="(button, buttonName) in buttons">
34
+ <div
35
+ v-if="button.dividerBefore"
36
+ :key="`${buttonName}-divider`"
37
+ class="gl-mx-auto gl-my-3 gl-h-1 gl-w-5 gl-border-0 gl-border-t-1 gl-border-solid gl-border-[#7759C233]"
38
+ name="divider"
39
+ ></div>
40
+ <gl-button
41
+ v-if="button.render"
42
+ :key="`${buttonName}-button`"
43
+ v-gl-tooltip
44
+ :title="button.title"
45
+ category="tertiary"
46
+ variant="default"
47
+ size="medium"
48
+ :icon="button.icon"
49
+ active-class="gl-active"
50
+ @click="onClick(buttonName)"
51
+ >
52
+ <gl-avatar v-if="button.avatar" :size="32" :entity-name="button.avatar" shape="circle" />
53
+ </gl-button>
54
+ </template>
55
+ </gl-button-group>
56
+ </template>
package/src/index.js CHANGED
@@ -42,5 +42,7 @@ export { InsertCodeSnippetElement as DuoChatInsertCodeSnippetElement } from './c
42
42
  export { default as DuoNavigationBar } from './components/ui/duo_navigation_bar/duo_navigation_bar.vue';
43
43
  export { default as DuoRecentCollapsible } from './components/ui/duo_recent_collapsible/duo_recent_collapsible.vue';
44
44
  export { default as DuoRecentContent } from './components/ui/duo_recent_content/duo_recent_content.vue';
45
+ export { default as DuoLayout } from './components/ui/duo_layout/duo_layout.vue';
46
+ export { default as SideRail } from './components/ui/side_rail/side_rail.vue';
45
47
 
46
48
  export { addDuoMarkdownPlugin } from './components/chat/markdown_renderer';
@@ -0,0 +1,4 @@
1
+ import mapKeys from 'lodash/mapKeys';
2
+ import camelCase from 'lodash/camelCase';
3
+
4
+ export const convertKeysToCamelCase = (obj = {}) => mapKeys(obj, (value, key) => camelCase(key));
package/translations.js CHANGED
@@ -7,12 +7,12 @@ export default {
7
7
  'AgenticDuoChat.chatDefaultPredefinedPromptsCreateTemplate': 'How do I create a template?',
8
8
  'AgenticDuoChat.chatDefaultPredefinedPromptsForkProject': 'How do I fork a project?',
9
9
  'AgenticDuoChat.chatDefaultTitle': 'GitLab Duo Agentic Chat',
10
- 'AgenticDuoChat.chatDisclamer':
11
- 'Chat can autonomously change code. Responses and changes can be inaccurate. Review carefully.',
10
+ 'AgenticDuoChat.chatDisclamer': 'Responses may be inaccurate. Verify before use.',
12
11
  'AgenticDuoChat.chatEmptyStateTitle':
13
12
  '👋 I am GitLab Duo Agentic Chat, your personal AI-powered assistant. How can I help you today?',
14
13
  'AgenticDuoChat.chatHistoryTitle': 'Chat history',
15
- 'AgenticDuoChat.chatPromptPlaceholderDefault': 'GitLab Duo Agentic Chat',
14
+ 'AgenticDuoChat.chatModelPlaceholder': 'GitLab Duo Agentic Chat',
15
+ 'AgenticDuoChat.chatPromptPlaceholderDefault': "Let's work through this together...",
16
16
  'AgenticDuoChat.chatPromptPlaceholderWithCommands': 'Type /help to learn more',
17
17
  'AgenticDuoChat.chatSubmitLabel': 'Send chat message.',
18
18
  'AgenticDuoChat.overLimitCharacterCountMessage': null,
@@ -33,6 +33,25 @@ export default {
33
33
  'AgenticToolRejectionModal.placeholder': "Explain why you're rejecting this tool execution...",
34
34
  'AgenticToolRejectionModal.submitText': 'Submit Rejection',
35
35
  'AgenticToolRejectionModal.title': 'Provide Rejection Reason',
36
+ 'CreateCommitToolParams.actionWithNoContent': 'This action does not have any content.',
37
+ 'CreateCommitToolParams.actionsCountMessage': null,
38
+ 'CreateCommitToolParams.chmodFileActionLabel': 'Change permissions for file %{filePath}',
39
+ 'CreateCommitToolParams.commitSummaryMessage':
40
+ 'Create a commit in the branch %{branch} and project %{project}.',
41
+ 'CreateCommitToolParams.createFileActionLabel': 'Create file %{filePath}',
42
+ 'CreateCommitToolParams.deleteFileActionLabel': 'Delete file %{filePath}',
43
+ 'CreateCommitToolParams.expandFileChanges': 'Expand file changes',
44
+ 'CreateCommitToolParams.moveFileActionLabel': 'Move file %{filePath}',
45
+ 'CreateCommitToolParams.readCommitMessage': 'Read commit message',
46
+ 'CreateCommitToolParams.unknownFileActionLabel': 'Modify file %{filePath}',
47
+ 'CreateCommitToolParams.updateFileActionLabel': 'Update file %{filePath}',
48
+ 'CreateIssueToolParams.ACCORDION_TITLE': 'Read description',
49
+ 'CreateIssueToolParams.ISSUE_SUMMARY_MESSAGE_BASE':
50
+ 'Open an issue with title "%{title}" in project %{project}.',
51
+ 'CreateIssueToolParams.ISSUE_SUMMARY_MESSAGE_WITH_LABELS': 'Assign the labels %{labels}.',
52
+ 'CreateMergeRequestToolParams.ACCORDION_TITLE': 'Read description',
53
+ 'CreateMergeRequestToolParams.MERGE_REQUEST_SUMMARY_MESSAGE':
54
+ 'Open a merge request with title "%{title}" in project %{project} from branch %{sourceBranch} to branch %{targetBranch}.',
36
55
  'DuoChat.chatBackLabel': 'Back to history',
37
56
  'DuoChat.chatBackToChatToolTip': 'Back to chat',
38
57
  'DuoChat.chatCancelLabel': 'Cancel',
@@ -46,9 +65,10 @@ export default {
46
65
  '👋 I am GitLab Duo Chat, your personal AI-powered assistant. How can I help you today?',
47
66
  'DuoChat.chatHistoryInfo': 'Inactive chats are deleted after 30 days.',
48
67
  'DuoChat.chatHistoryToolTip': 'Chat history',
68
+ 'DuoChat.chatModelPlaceholder': 'GitLab Duo Chat',
49
69
  'DuoChat.chatNewLabel': 'New chat',
50
70
  'DuoChat.chatNewToolTip': 'New chat',
51
- 'DuoChat.chatPromptPlaceholderDefault': 'GitLab Duo Chat',
71
+ 'DuoChat.chatPromptPlaceholderDefault': "Let's work through this together...",
52
72
  'DuoChat.chatPromptPlaceholderWithCommands': 'Type /help to learn more',
53
73
  'DuoChat.chatSubmitLabel': 'Send chat message.',
54
74
  'DuoChat.chatTitle': 'GitLab Duo Chat',
@@ -105,6 +125,9 @@ export default {
105
125
  'MessageToolApproval.approveText': 'Approve',
106
126
  'MessageToolApproval.approvingText': 'Approving...',
107
127
  'MessageToolApproval.cancelText': 'Cancel',
128
+ 'MessageToolApproval.createCommit': 'Duo wants to push a commit.',
129
+ 'MessageToolApproval.createIssue': 'Duo wants to open an issue.',
130
+ 'MessageToolApproval.createMergeRequest': 'Duo wants to create a merge request.',
108
131
  'MessageToolApproval.denialReasonLabel': 'Rejection reason',
109
132
  'MessageToolApproval.denialReasonPlaceholder':
110
133
  "Tell Duo why you're rejecting this tool execution...",
@@ -112,10 +135,10 @@ export default {
112
135
  'MessageToolApproval.denyingText': 'Denying...',
113
136
  'MessageToolApproval.noParametersText': 'No parameters will be sent with this request.',
114
137
  'MessageToolApproval.parametersText': 'Request',
138
+ 'MessageToolApproval.runCommand': 'Duo wants to run a command.',
115
139
  'MessageToolApproval.toolApprovalDescription':
116
140
  'GitLab Duo Agentic Chat wants to execute a tool. Do you want to proceed?',
117
- 'MessageToolApproval.toolApprovalTitle':
118
- 'Duo would like to execute a tool. Do you want to proceed?',
119
141
  'MessageToolApproval.toolLabel': 'Tool:',
142
+ 'MessageToolApproval.toolStatus': 'Pending',
120
143
  'MessageToolApproval.toolUnknown': 'Unknown',
121
144
  };