@codingame/monaco-vscode-xterm-addons-common 37.1.0 → 37.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-xterm-addons-common",
3
- "version": "37.1.0",
3
+ "version": "37.2.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - common package depending on xterm addons",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "37.1.0",
18
+ "@codingame/monaco-vscode-api": "37.2.0",
19
19
  "@xterm/addon-clipboard": "0.3.0-beta.303",
20
20
  "@xterm/addon-image": "0.10.0-beta.301",
21
21
  "@xterm/addon-ligatures": "0.11.0-beta.301",
@@ -27,7 +27,6 @@ import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/comm
27
27
  import { IChatContextPickService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/attachments/chatContextPickService.service';
28
28
  import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
29
29
  import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
30
- import { TerminalContext } from '../../../chat/browser/actions/chatContext.js';
31
30
  import { parseTerminalUri, getTerminalUri } from '../terminalUri.js';
32
31
  import { ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
33
32
  import { isString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
@@ -574,6 +573,9 @@ let DecorationAddon = class DecorationAddon extends Disposable {
574
573
  let terminalContext;
575
574
  if (this._resource) {
576
575
  const parsedUri = parseTerminalUri(this._resource);
576
+ const {
577
+ TerminalContext
578
+ } = await import('../../../chat/browser/actions/chatContext.js');
577
579
  terminalContext = this._instantiationService.createInstance(
578
580
  TerminalContext,
579
581
  getTerminalUri(parsedUri.workspaceId, parsedUri.instanceId, undefined, command.id)