@codingame/monaco-vscode-workbench-service-override 37.6.0 → 37.6.1

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 (44) hide show
  1. package/index.js +2 -2
  2. package/package.json +10 -10
  3. package/session.js +2 -2
  4. package/vscode/src/vs/sessions/contrib/editor/browser/addTabActions.js +5 -3
  5. package/vscode/src/vs/sessions/contrib/layout/browser/baseSessionLayoutController.js +3 -22
  6. package/vscode/src/vs/sessions/contrib/layout/browser/sessions.layout.contribution.js +2 -2
  7. package/vscode/src/vs/sessions/contrib/layout/browser/singlePane/singlePaneExistingSessionStrategy.js +1 -1
  8. package/vscode/src/vs/sessions/contrib/onboardingTours/browser/newSessionViewV3Prompt.js +19 -19
  9. package/vscode/src/vs/sessions/contrib/onboardingTours/browser/tours/newSessionTour.js +4 -4
  10. package/vscode/src/vs/sessions/contrib/onboardingTours/browser/tours/newSessionViewTour.js +6 -6
  11. package/vscode/src/vs/sessions/contrib/onboardingTours/browser/tours/newSessionViewTourShared.js +2 -2
  12. package/vscode/src/vs/sessions/contrib/onboardingTours/browser/tours/newSessionViewV2Tour.js +4 -4
  13. package/vscode/src/vs/sessions/contrib/policyBlocked/browser/sessionsPolicyBlocked.js +24 -24
  14. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostClaudePermissionModePicker.js +3 -3
  15. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostCodexApprovalsPicker.js +3 -3
  16. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostModePicker.js +2 -2
  17. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostPermissionPickerDelegate.js +8 -8
  18. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionBranchActions.js +3 -3
  19. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSessionConfigPicker.js +32 -32
  20. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentMergeActions.js +29 -29
  21. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/exportDebugLogsAction.js +1 -1
  22. package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/mobile/mobileChatInputConfigPicker.js +3 -3
  23. package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/devContainerAgentHostService.js +6 -6
  24. package/vscode/src/vs/sessions/contrib/search/browser/search.contribution.js +3 -3
  25. package/vscode/src/vs/sessions/contrib/search/browser/searchEditorEmptyState.contribution.js +1 -1
  26. package/vscode/src/vs/sessions/contrib/sessions/browser/blockedSessionsIndicatorModel.js +4 -4
  27. package/vscode/src/vs/sessions/contrib/sessions/browser/blockedSessionsList.js +5 -5
  28. package/vscode/src/vs/sessions/contrib/sessions/browser/sessionDetailsAction.js +2 -2
  29. package/vscode/src/vs/sessions/contrib/sessions/browser/sessions.contribution.js +8 -8
  30. package/vscode/src/vs/sessions/contrib/sessions/browser/sessionsActions.js +58 -58
  31. package/vscode/src/vs/sessions/contrib/sessions/browser/sessionsTitleBarWidget.js +8 -8
  32. package/vscode/src/vs/sessions/contrib/sessions/browser/sessionsWindowNotifier.js +5 -5
  33. package/vscode/src/vs/sessions/contrib/sessions/browser/views/automationTemplates.js +10 -10
  34. package/vscode/src/vs/sessions/contrib/sessions/browser/views/automationsAccessibility.js +38 -38
  35. package/vscode/src/vs/sessions/contrib/sessions/browser/views/automationsView.js +118 -118
  36. package/vscode/src/vs/sessions/contrib/sessions/browser/views/sessionsViewActions.js +53 -53
  37. package/vscode/src/vs/sessions/contrib/terminal/browser/agentHostSessionTaskRunner.js +1 -1
  38. package/vscode/src/vs/sessions/contrib/terminal/browser/sessionsTerminalContribution.js +2 -2
  39. package/vscode/src/vs/sessions/services/sessions/browser/sessionsManagementService.js +2 -2
  40. package/vscode/src/vs/sessions/services/sessions/browser/sessionsService.js +2 -2
  41. package/vscode/src/vs/workbench/browser/layout.d.ts +46 -70
  42. package/vscode/src/vs/workbench/browser/layout.js +243 -44
  43. package/vscode/src/vs/workbench/browser/workbench.d.ts +1 -1
  44. package/vscode/src/vs/workbench/browser/workbench.js +3 -4
@@ -4,10 +4,10 @@ import { isContributionEnabled } from '@codingame/monaco-vscode-api/vscode/vs/wo
4
4
 
5
5
  const AUTOMATION_TEMPLATES = [{
6
6
  id: "main-updates",
7
- name: ( localize(4730, "Catch up on main")),
8
- description: ( localize(4731, "Pull the latest main and summarize new commits.")),
7
+ name: ( localize(4729, "Catch up on main")),
8
+ description: ( localize(4730, "Pull the latest main and summarize new commits.")),
9
9
  prompt: ( localize(
10
- 4732,
10
+ 4731,
11
11
  "Pull the latest main and summarize the commits that were pulled.\n\nInspect this repository's current branch, working tree, and configured remotes. Resolve the remote for main from the repository configuration rather than assuming origin. Record HEAD, then pull that remote's main into the current checkout using --ff-only. Proceed only with a clean working tree and a fast-forward update. If the remote is ambiguous, main is missing, or the update is blocked, stop and explain why. Do not switch branches, stash or discard local changes, rebase, or force an update.\n\nCompare the starting and ending HEAD and summarize only newly pulled commits, grouped by theme. Highlight user-visible changes, bug fixes, breaking changes, and follow-up actions. Include commit links and related pull requests when available. If no commits were pulled, say so."
12
12
  )),
13
13
  schedule: {
@@ -18,10 +18,10 @@ const AUTOMATION_TEMPLATES = [{
18
18
  }
19
19
  }, {
20
20
  id: "issue-triage",
21
- name: ( localize(4733, "Issue triage")),
22
- description: ( localize(4734, "Triage my GitHub repositories' issues using their precedents.")),
21
+ name: ( localize(4732, "Issue triage")),
22
+ description: ( localize(4733, "Triage my GitHub repositories' issues using their precedents.")),
23
23
  prompt: ( localize(
24
- 4735,
24
+ 4734,
25
25
  "Triage my GitHub repositories' issues using existing repository precedents.\n\nUse the authenticated GitHub account to find my repositories, prioritizing active repositories and new or untriaged issues. For each repository, read its contribution guidelines, issue templates, existing labels, and comparable issues with maintainer decisions. Learn each repository's conventions separately before making recommendations.\n\nProduce a report grouped by repository. Link to each issue, recommend existing labels, identify likely duplicates, and draft a reply when useful. Cite prior issues, pull requests, or maintainer comments supporting each recommendation. Flag uncertainty or missing precedent rather than inventing a rule. Do not apply labels, post comments, close issues, or make other GitHub changes. State which repositories and issues were reviewed and any access limitations."
26
26
  )),
27
27
  schedule: {
@@ -32,10 +32,10 @@ const AUTOMATION_TEMPLATES = [{
32
32
  }
33
33
  }, {
34
34
  id: "find-bugs",
35
- name: ( localize(4736, "Find bugs")),
36
- description: ( localize(4737, "Explore the codebase and report verified, reproducible bugs.")),
35
+ name: ( localize(4735, "Find bugs")),
36
+ description: ( localize(4736, "Explore the codebase and report verified, reproducible bugs.")),
37
37
  prompt: ( localize(
38
- 4738,
38
+ 4737,
39
39
  "Explore this codebase and find concrete, reproducible bugs.\n\nRead the repository guidance and understand the architecture before choosing a focused area to investigate, such as recent changes, complex state transitions, or error handling. Trace suspected problems through callers and existing tests. Use the smallest relevant tests or a minimal reproduction to verify behavior, and distinguish confirmed bugs from hypotheses. Avoid style-only suggestions and speculative findings.\n\nReport high-confidence, actionable bugs with severity, file and line references, a triggering scenario, expected versus actual behavior, and supporting test or reproduction results. Suggest a focused fix for each finding without modifying repository files or committing changes. State what you explored, any validation limitations, and when no confirmed bugs were found."
40
40
  )),
41
41
  schedule: {
@@ -57,7 +57,7 @@ function readAutomationTemplates(plugins, reader) {
57
57
  templates.push({
58
58
  id: `${( plugin.uri.toString())}#automation=${automation.blueprint.id}`,
59
59
  name: automation.blueprint.name,
60
- description: automation.blueprint.description ?? ( localize(4739, "Provided by {0}.", plugin.label)),
60
+ description: automation.blueprint.description ?? ( localize(4738, "Provided by {0}.", plugin.label)),
61
61
  prompt: automation.blueprint.prompt,
62
62
  schedule: automation.blueprint.schedule,
63
63
  source: {
@@ -30,32 +30,32 @@ class AutomationsCustomViewAccessibilityHelp {
30
30
  const builtInTemplatesVisible = ( templates.some(template => !template.source));
31
31
  const pluginTemplatesVisible = ( templates.some(template => !!template.source));
32
32
  const content = [( localize(
33
- 4740,
33
+ 4739,
34
34
  "You are in the Automations view. It contains available automation cards followed by run history. Loading, unavailable, and error messages indicate that the catalogue may be incomplete."
35
35
  )), ...(builtInTemplatesVisible ? [hasSavedAutomations ? ( localize(
36
- 4741,
36
+ 4740,
37
37
  "The Built-in Templates section is collapsed by default because saved automations exist. Press Enter or Space on its disclosure control to expand it."
38
38
  )) : ( localize(
39
- 4742,
39
+ 4741,
40
40
  "The Built-in Templates section is expanded by default while there are no saved automations. Tab to a template and press Enter or Space to open a New automation dialog with an editable name, prompt, and schedule."
41
41
  ))] : []), ...(pluginTemplatesVisible ? [( localize(
42
- 4743,
42
+ 4742,
43
43
  "The Templates from Plugins section is available whenever enabled plugins provide templates. Press Enter or Space on its disclosure control to expand or collapse it. A blue marker indicates templates added since the section was last expanded. Plugin templates start disabled."
44
44
  ))] : []), ( localize(
45
- 4744,
45
+ 4743,
46
46
  "Use Import Automation in the view header, or drop one .automation.md file anywhere in the view, to review a shared Automation blueprint. Imported Automations start disabled. Open a saved Automation's context menu and choose Export to save a portable blueprint."
47
47
  )), ( localize(
48
- 4745,
48
+ 4744,
49
49
  "For saved automations, Tab to a card's Edit control and action buttons. Use Left Arrow and Right Arrow to move between Run now and Delete. Press Enter or Space to activate a control. Edit, or clicking anywhere else on the card, opens the automation dialog. Open a card's context menu{0} (for example Shift+F10). Duplicate opens a prefilled New automation dialog, Disable prevents scheduled runs, and Delete asks for confirmation. Run now starts a session immediately.",
50
50
  "<keybinding:editor.action.showContextMenu>"
51
51
  )), ( localize(
52
- 4746,
52
+ 4745,
53
53
  "Run history is grouped by date. While a run is waiting for its session, a lightweight row shows the automation name with a Working... description. Once the session is available, use Up Arrow and Down Arrow to navigate the Sessions list, Enter to open, and Tab to reach Stop, the configured Archive or Mark as Done action, or Delete when available. Open a row's context menu, for example with Shift+F10, to rename it, change its active or read state, or delete it. Delete permanently deletes the session and removes it from run history after confirmation."
54
54
  )), ( localize(
55
- 4747,
55
+ 4746,
56
56
  "Completed and failed runs that have not been opened are announced as unread. Use Mark all as read to clear all available unread runs."
57
57
  )), ( localize(
58
- 4748,
58
+ 4747,
59
59
  "Use Open Accessible View to read the current automations and run history as text."
60
60
  ))].join("\n");
61
61
  return ( new AccessibleContentProvider(AccessibleViewProviderId.Automations, {
@@ -94,43 +94,43 @@ function createFocusRestorer(layoutService) {
94
94
  };
95
95
  }
96
96
  function buildAutomationsAccessibleContent(automations, runs, catalogueState, templates = readAutomationTemplates([])) {
97
- const lines = [( localize(4749, "Automations"))];
97
+ const lines = [( localize(4748, "Automations"))];
98
98
  const builtInTemplates = templates.filter(template => !template.source);
99
99
  const pluginTemplates = templates.filter(template => !!template.source);
100
100
  if (automations.length > 0) {
101
101
  if (catalogueState === "loading") {
102
- lines.push(( localize(4750, "Additional automations are loading.")));
102
+ lines.push(( localize(4749, "Additional automations are loading.")));
103
103
  } else if (catalogueState === "unavailable") {
104
- lines.push(( localize(4751, "Some automations are unavailable.")));
104
+ lines.push(( localize(4750, "Some automations are unavailable.")));
105
105
  } else if (catalogueState === "error") {
106
- lines.push(( localize(4752, "Some automations could not be loaded.")));
106
+ lines.push(( localize(4751, "Some automations could not be loaded.")));
107
107
  }
108
108
  for (const automation of automations) {
109
109
  lines.push("");
110
- lines.push(automation.enabled ? ( localize(4753, "{0}, enabled", automation.name)) : ( localize(4754, "{0}, disabled", automation.name)));
111
- lines.push(( localize(4755, "Schedule: {0}", formatSchedule(automation.schedule))));
112
- lines.push(( localize(4756, "Prompt: {0}", automation.prompt)));
110
+ lines.push(automation.enabled ? ( localize(4752, "{0}, enabled", automation.name)) : ( localize(4753, "{0}, disabled", automation.name)));
111
+ lines.push(( localize(4754, "Schedule: {0}", formatSchedule(automation.schedule))));
112
+ lines.push(( localize(4755, "Prompt: {0}", automation.prompt)));
113
113
  }
114
114
  } else if (catalogueState === "loading") {
115
- lines.push(( localize(4757, "Loading automations.")));
115
+ lines.push(( localize(4756, "Loading automations.")));
116
116
  } else if (catalogueState === "unavailable") {
117
117
  lines.push(( localize(
118
- 4758,
118
+ 4757,
119
119
  "Some automations are unavailable. One or more providers are disconnected, disabled, or do not support automations."
120
120
  )));
121
121
  } else if (catalogueState === "error") {
122
- lines.push(( localize(4759, "Unable to load automations.")));
122
+ lines.push(( localize(4758, "Unable to load automations.")));
123
123
  } else {
124
- lines.push(( localize(4760, "No automations.")));
124
+ lines.push(( localize(4759, "No automations.")));
125
125
  }
126
126
  if (builtInTemplates.length > 0 || pluginTemplates.length > 0) {
127
127
  lines.push("");
128
- lines.push(( localize(4761, "Available templates")));
128
+ lines.push(( localize(4760, "Available templates")));
129
129
  if (builtInTemplates.length > 0) {
130
- lines.push(( localize(4762, "Built-in Templates")));
130
+ lines.push(( localize(4761, "Built-in Templates")));
131
131
  for (const template of builtInTemplates) {
132
132
  lines.push(( localize(
133
- 4763,
133
+ 4762,
134
134
  "{0}, {1}. {2}",
135
135
  template.name,
136
136
  formatSchedule(template.schedule),
@@ -139,11 +139,11 @@ function buildAutomationsAccessibleContent(automations, runs, catalogueState, te
139
139
  }
140
140
  }
141
141
  if (pluginTemplates.length > 0) {
142
- lines.push(( localize(4764, "Templates from Plugins")));
142
+ lines.push(( localize(4763, "Templates from Plugins")));
143
143
  for (const template of pluginTemplates) {
144
144
  if (template.source) {
145
145
  lines.push(( localize(
146
- 4765,
146
+ 4764,
147
147
  "{0}, {1}. {2} From {3}.",
148
148
  template.name,
149
149
  formatSchedule(template.schedule),
@@ -155,21 +155,21 @@ function buildAutomationsAccessibleContent(automations, runs, catalogueState, te
155
155
  }
156
156
  }
157
157
  lines.push("");
158
- lines.push(( localize(4766, "Run history")));
158
+ lines.push(( localize(4765, "Run history")));
159
159
  if (runs.length === 0) {
160
- lines.push(( localize(4767, "No runs.")));
160
+ lines.push(( localize(4766, "No runs.")));
161
161
  } else {
162
162
  const automationNames = ( new Map(automations.map(automation => [automation.id, automation.name])));
163
163
  for (const run of runs) {
164
164
  lines.push(( localize(
165
- 4768,
165
+ 4767,
166
166
  "{0}, {1}, started {2}",
167
- automationNames.get(run.automationId) ?? ( localize(4769, "Unknown automation")),
167
+ automationNames.get(run.automationId) ?? ( localize(4768, "Unknown automation")),
168
168
  formatRunStatus(run),
169
169
  ( new Date(run.startedAt)).toLocaleString()
170
170
  )));
171
171
  if (run.errorMessage) {
172
- lines.push(( localize(4770, "Error: {0}", run.errorMessage)));
172
+ lines.push(( localize(4769, "Error: {0}", run.errorMessage)));
173
173
  }
174
174
  }
175
175
  }
@@ -178,18 +178,18 @@ function buildAutomationsAccessibleContent(automations, runs, catalogueState, te
178
178
  function formatSchedule(schedule) {
179
179
  switch (schedule.interval) {
180
180
  case "manual":
181
- return localize(4771, "Manual");
181
+ return localize(4770, "Manual");
182
182
  case "hourly":
183
- return localize(4772, "Hourly");
183
+ return localize(4771, "Hourly");
184
184
  case "daily":
185
185
  return localize(
186
- 4773,
186
+ 4772,
187
187
  "Daily at {0}",
188
188
  formatTime(schedule.scheduleHour, schedule.scheduleMinute)
189
189
  );
190
190
  case "weekly":
191
191
  return localize(
192
- 4774,
192
+ 4773,
193
193
  "{0} at {1}",
194
194
  DAYS_OF_WEEK[((schedule.scheduleDay % 7) + 7) % 7],
195
195
  formatTime(schedule.scheduleHour, schedule.scheduleMinute)
@@ -213,13 +213,13 @@ function formatTime(hour, minute) {
213
213
  function formatRunStatus(run) {
214
214
  switch (run.status) {
215
215
  case "pending":
216
- return localize(4775, "Pending");
216
+ return localize(4774, "Pending");
217
217
  case "running":
218
- return localize(4776, "Running");
218
+ return localize(4775, "Running");
219
219
  case "completed":
220
- return localize(4777, "Completed");
220
+ return localize(4776, "Completed");
221
221
  case "failed":
222
- return localize(4778, "Failed");
222
+ return localize(4777, "Failed");
223
223
  }
224
224
  }
225
225
  AccessibleViewRegistry.register(( new AutomationsCustomViewAccessibilityHelp()));