@codingame/monaco-vscode-extensions-service-override 1.85.0 → 1.85.2

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 (60) hide show
  1. package/extensions.js +3 -3
  2. package/package.json +3 -3
  3. package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +3 -3
  4. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +1 -1
  5. package/vscode/src/vs/workbench/api/browser/mainThreadEditorTabs.js +3 -3
  6. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +1 -1
  7. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +8 -8
  8. package/vscode/src/vs/workbench/api/browser/mainThreadTerminalService.js +1 -1
  9. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +2 -2
  10. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +3 -3
  11. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +2 -2
  12. package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +1 -1
  13. package/override/vs/workbench/contrib/notebook/common/notebookEditorInput.js +0 -3
  14. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +0 -40
  15. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +0 -141
  16. package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +0 -37
  17. package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +0 -342
  18. package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +0 -1197
  19. package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +0 -117
  20. package/vscode/src/vs/workbench/contrib/chat/browser/chatOptions.js +0 -83
  21. package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +0 -543
  22. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +0 -6
  23. package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +0 -292
  24. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +0 -169
  25. package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +0 -6
  26. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +0 -255
  27. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +0 -195
  28. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +0 -260
  29. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.js +0 -5
  30. package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +0 -26
  31. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +0 -63
  32. package/vscode/src/vs/workbench/contrib/comments/browser/commentFormActions.js +0 -51
  33. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +0 -649
  34. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +0 -302
  35. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.js +0 -62
  36. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +0 -251
  37. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +0 -109
  38. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +0 -335
  39. package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +0 -6
  40. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +0 -101
  41. package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +0 -57
  42. package/vscode/src/vs/workbench/contrib/comments/common/commentsConfiguration.js +0 -3
  43. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +0 -144
  44. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +0 -482
  45. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +0 -6
  46. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +0 -92
  47. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/editing.js +0 -56
  48. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +0 -110
  49. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +0 -260
  50. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +0 -616
  51. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +0 -309
  52. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +0 -38
  53. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +0 -167
  54. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/telemetry.js +0 -80
  55. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +0 -70
  56. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +0 -3
  57. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +0 -108
  58. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +0 -506
  59. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.js +0 -132
  60. package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.js +0 -79
@@ -1,132 +0,0 @@
1
- import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
- import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
3
- import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
4
- import { ITerminalService } from 'vscode/vscode/vs/workbench/contrib/terminal/browser/terminal';
5
-
6
- let TerminalProcessExtHostProxy = class TerminalProcessExtHostProxy extends Disposable {
7
- get onProcessReady() { return this._onProcessReady.event; }
8
- constructor(instanceId, _cols, _rows, _terminalService) {
9
- super();
10
- this.instanceId = instanceId;
11
- this._cols = _cols;
12
- this._rows = _rows;
13
- this._terminalService = _terminalService;
14
- this.id = 0;
15
- this.shouldPersist = false;
16
- this._onProcessData = this._register(( new Emitter()));
17
- this.onProcessData = this._onProcessData.event;
18
- this._onProcessReady = this._register(( new Emitter()));
19
- this._onStart = this._register(( new Emitter()));
20
- this.onStart = this._onStart.event;
21
- this._onInput = this._register(( new Emitter()));
22
- this.onInput = this._onInput.event;
23
- this._onBinary = this._register(( new Emitter()));
24
- this.onBinary = this._onBinary.event;
25
- this._onResize = this._register(( new Emitter()));
26
- this.onResize = this._onResize.event;
27
- this._onAcknowledgeDataEvent = this._register(( new Emitter()));
28
- this.onAcknowledgeDataEvent = this._onAcknowledgeDataEvent.event;
29
- this._onShutdown = this._register(( new Emitter()));
30
- this.onShutdown = this._onShutdown.event;
31
- this._onRequestInitialCwd = this._register(( new Emitter()));
32
- this.onRequestInitialCwd = this._onRequestInitialCwd.event;
33
- this._onRequestCwd = this._register(( new Emitter()));
34
- this.onRequestCwd = this._onRequestCwd.event;
35
- this._onDidChangeProperty = this._register(( new Emitter()));
36
- this.onDidChangeProperty = this._onDidChangeProperty.event;
37
- this._onProcessExit = this._register(( new Emitter()));
38
- this.onProcessExit = this._onProcessExit.event;
39
- this._pendingInitialCwdRequests = [];
40
- this._pendingCwdRequests = [];
41
- }
42
- emitData(data) {
43
- this._onProcessData.fire(data);
44
- }
45
- emitTitle(title) {
46
- this._onDidChangeProperty.fire({ type: "title" , value: title });
47
- }
48
- emitReady(pid, cwd) {
49
- this._onProcessReady.fire({ pid, cwd, windowsPty: undefined });
50
- }
51
- emitProcessProperty({ type, value }) {
52
- switch (type) {
53
- case "cwd" :
54
- this.emitCwd(value);
55
- break;
56
- case "initialCwd" :
57
- this.emitInitialCwd(value);
58
- break;
59
- case "title" :
60
- this.emitTitle(value);
61
- break;
62
- case "overrideDimensions" :
63
- this.emitOverrideDimensions(value);
64
- break;
65
- case "resolvedShellLaunchConfig" :
66
- this.emitResolvedShellLaunchConfig(value);
67
- break;
68
- }
69
- }
70
- emitExit(exitCode) {
71
- this._onProcessExit.fire(exitCode);
72
- this.dispose();
73
- }
74
- emitOverrideDimensions(dimensions) {
75
- this._onDidChangeProperty.fire({ type: "overrideDimensions" , value: dimensions });
76
- }
77
- emitResolvedShellLaunchConfig(shellLaunchConfig) {
78
- this._onDidChangeProperty.fire({ type: "resolvedShellLaunchConfig" , value: shellLaunchConfig });
79
- }
80
- emitInitialCwd(initialCwd) {
81
- while (this._pendingInitialCwdRequests.length > 0) {
82
- this._pendingInitialCwdRequests.pop()(initialCwd);
83
- }
84
- }
85
- emitCwd(cwd) {
86
- while (this._pendingCwdRequests.length > 0) {
87
- this._pendingCwdRequests.pop()(cwd);
88
- }
89
- }
90
- async start() {
91
- return this._terminalService.requestStartExtensionTerminal(this, this._cols, this._rows);
92
- }
93
- shutdown(immediate) {
94
- this._onShutdown.fire(immediate);
95
- }
96
- input(data) {
97
- this._onInput.fire(data);
98
- }
99
- resize(cols, rows) {
100
- this._onResize.fire({ cols, rows });
101
- }
102
- clearBuffer() {
103
- }
104
- acknowledgeDataEvent() {
105
- }
106
- async setUnicodeVersion(version) {
107
- }
108
- async processBinary(data) {
109
- this._onBinary.fire(data);
110
- }
111
- getInitialCwd() {
112
- return ( new Promise(resolve => {
113
- this._onRequestInitialCwd.fire();
114
- this._pendingInitialCwdRequests.push(resolve);
115
- }));
116
- }
117
- getCwd() {
118
- return ( new Promise(resolve => {
119
- this._onRequestCwd.fire();
120
- this._pendingCwdRequests.push(resolve);
121
- }));
122
- }
123
- async refreshProperty(type) {
124
- }
125
- async updateProperty(type, value) {
126
- }
127
- };
128
- TerminalProcessExtHostProxy = ( __decorate([
129
- ( __param(3, ITerminalService))
130
- ], TerminalProcessExtHostProxy));
131
-
132
- export { TerminalProcessExtHostProxy };
@@ -1,79 +0,0 @@
1
- import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
- import { timeout } from 'monaco-editor/esm/vs/base/common/async.js';
3
- import { CancellationToken } from 'monaco-editor/esm/vs/base/common/cancellation.js';
4
- import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
5
- import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
6
- import { IFileService } from 'monaco-editor/esm/vs/platform/files/common/files.js';
7
-
8
- let ResourceWorkingCopy = class ResourceWorkingCopy extends Disposable {
9
- constructor(resource, fileService) {
10
- super();
11
- this.resource = resource;
12
- this.fileService = fileService;
13
- this._onDidChangeOrphaned = this._register(( new Emitter()));
14
- this.onDidChangeOrphaned = this._onDidChangeOrphaned.event;
15
- this.orphaned = false;
16
- this._onWillDispose = this._register(( new Emitter()));
17
- this.onWillDispose = this._onWillDispose.event;
18
- this._register(this.fileService.onDidFilesChange(e => this.onDidFilesChange(e)));
19
- }
20
- isOrphaned() {
21
- return this.orphaned;
22
- }
23
- async onDidFilesChange(e) {
24
- let fileEventImpactsUs = false;
25
- let newInOrphanModeGuess;
26
- if (this.orphaned) {
27
- const fileWorkingCopyResourceAdded = e.contains(this.resource, 1 );
28
- if (fileWorkingCopyResourceAdded) {
29
- newInOrphanModeGuess = false;
30
- fileEventImpactsUs = true;
31
- }
32
- }
33
- else {
34
- const fileWorkingCopyResourceDeleted = e.contains(this.resource, 2 );
35
- if (fileWorkingCopyResourceDeleted) {
36
- newInOrphanModeGuess = true;
37
- fileEventImpactsUs = true;
38
- }
39
- }
40
- if (fileEventImpactsUs && this.orphaned !== newInOrphanModeGuess) {
41
- let newInOrphanModeValidated = false;
42
- if (newInOrphanModeGuess) {
43
- await timeout(100, CancellationToken.None);
44
- if (this.isDisposed()) {
45
- newInOrphanModeValidated = true;
46
- }
47
- else {
48
- const exists = await this.fileService.exists(this.resource);
49
- newInOrphanModeValidated = !exists;
50
- }
51
- }
52
- if (this.orphaned !== newInOrphanModeValidated && !this.isDisposed()) {
53
- this.setOrphaned(newInOrphanModeValidated);
54
- }
55
- }
56
- }
57
- setOrphaned(orphaned) {
58
- if (this.orphaned !== orphaned) {
59
- this.orphaned = orphaned;
60
- this._onDidChangeOrphaned.fire();
61
- }
62
- }
63
- isDisposed() {
64
- return this._store.isDisposed;
65
- }
66
- dispose() {
67
- this.orphaned = false;
68
- this._onWillDispose.fire();
69
- super.dispose();
70
- }
71
- isModified() {
72
- return this.isDirty();
73
- }
74
- };
75
- ResourceWorkingCopy = ( __decorate([
76
- ( __param(1, IFileService))
77
- ], ResourceWorkingCopy));
78
-
79
- export { ResourceWorkingCopy };