@opensumi/sumi 2.14.3-next-1645098160.0 → 2.14.3

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": "@opensumi/sumi",
3
- "version": "2.14.3-next-1645098160.0",
3
+ "version": "2.14.3",
4
4
  "typings": "index.d.ts",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -9,9 +9,9 @@
9
9
  },
10
10
  "scripts": {},
11
11
  "dependencies": {
12
- "@opensumi/ide-components": "2.14.3-next-1645098160.0",
12
+ "@opensumi/ide-components": "2.14.3",
13
13
  "@types/react": "^16.9.33",
14
14
  "vscode-uri": "^3.0.2"
15
15
  },
16
- "gitHead": "752027980e18dc452f0596d4cc34422eefc2b92f"
16
+ "gitHead": "ca60fa29c3eb868f9c7d3765e18a807ec7b74eb0"
17
17
  }
@@ -346,69 +346,28 @@ declare module 'vscode' {
346
346
  handleTerminalLink(link: T): ProviderResult<void>;
347
347
  }
348
348
 
349
- /**
350
- * A link on a terminal line.
351
- */
352
- export class TerminalLink {
353
- /**
354
- * The start index of the link on {@link TerminalLinkContext.line}.
355
- */
356
- startIndex: number;
357
-
358
- /**
359
- * The length of the link on {@link TerminalLinkContext.line}.
360
- */
361
- length: number;
362
-
363
- /**
364
- * The tooltip text when you hover over this link.
365
- *
366
- * If a tooltip is provided, is will be displayed in a string that includes instructions on
367
- * how to trigger the link, such as `{0} (ctrl + click)`. The specific instructions vary
368
- * depending on OS, user settings, and localization.
369
- */
370
- tooltip?: string;
371
-
372
- /**
373
- * Creates a new terminal link.
374
- * @param startIndex The start index of the link on {@link TerminalLinkContext.line}.
375
- * @param length The length of the link on {@link TerminalLinkContext.line}.
376
- * @param tooltip The tooltip text when you hover over this link.
377
- *
378
- * If a tooltip is provided, is will be displayed in a string that includes instructions on
379
- * how to trigger the link, such as `{0} (ctrl + click)`. The specific instructions vary
380
- * depending on OS, user settings, and localization.
381
- */
382
- constructor(startIndex: number, length: number, tooltip?: string);
383
- }
384
-
385
-
386
349
  /**
387
- * Provides a terminal profile for the contributed terminal profile when launched via the UI or
388
- * command.
350
+ * A link on a terminal line.
389
351
  */
390
- export interface TerminalProfileProvider {
352
+ export interface TerminalLink {
391
353
  /**
392
- * Provide the terminal profile.
393
- * @param token A cancellation token that indicates the result is no longer needed.
394
- * @returns The terminal profile.
354
+ * The start index of the link on [TerminalLinkContext.line](#TerminalLinkContext.line].
395
355
  */
396
- provideTerminalProfile(token: CancellationToken): ProviderResult<TerminalProfile>;
397
- }
356
+ startIndex: number;
398
357
 
399
- /**
400
- * A terminal profile defines how a terminal will be launched.
401
- */
402
- export class TerminalProfile {
403
358
  /**
404
- * The options that the terminal will launch with.
359
+ * The length of the link on [TerminalLinkContext.line](#TerminalLinkContext.line]
405
360
  */
406
- options: TerminalOptions | ExtensionTerminalOptions;
361
+ length: number;
362
+
407
363
  /**
408
- * Creates a new terminal profile.
409
- * @param options The options that the terminal will launch with.
364
+ * The tooltip text when you hover over this link.
365
+ *
366
+ * If a tooltip is provided, is will be displayed in a string that includes instructions on
367
+ * how to trigger the link, such as `{0} (ctrl + click)`. The specific instructions vary
368
+ * depending on OS, user settings, and localization.
410
369
  */
411
- constructor(options: TerminalOptions | ExtensionTerminalOptions);
370
+ tooltip?: string;
412
371
  }
413
372
 
414
373
  /**
@@ -287,14 +287,14 @@ declare module 'vscode' {
287
287
  export function createStatusBarItem(alignment?: StatusBarAlignment, priority?: number): StatusBarItem;
288
288
 
289
289
  /**
290
- * Creates a status bar {@link StatusBarItem item}.
291
- *
292
- * @param id The unique identifier of the item.
293
- * @param alignment The alignment of the item.
294
- * @param priority The priority of the item. Higher values mean the item should be shown more to the left.
295
- * @return A new status bar item.
296
- */
297
- export function createStatusBarItem(id: string, alignment?: StatusBarAlignment, priority?: number): StatusBarItem;
290
+ * Creates a status bar {@link StatusBarItem item}.
291
+ *
292
+ * @param id The unique identifier of the item.
293
+ * @param alignment The alignment of the item.
294
+ * @param priority The priority of the item. Higher values mean the item should be shown more to the left.
295
+ * @return A new status bar item.
296
+ */
297
+ export function createStatusBarItem(id: string, alignment?: StatusBarAlignment, priority?: number): StatusBarItem;
298
298
 
299
299
  /**
300
300
  * Creates a new [output channel](#OutputChannel) with the given name.
@@ -454,12 +454,6 @@ declare module 'vscode' {
454
454
  * @return Disposable that unregisters the provider.
455
455
  */
456
456
  export function registerTerminalLinkProvider(provider: TerminalLinkProvider): Disposable;
457
- /**
458
- * Registers a provider for a contributed terminal profile.
459
- * @param id The ID of the contributed terminal profile.
460
- * @param provider The terminal profile provider.
461
- */
462
- export function registerTerminalProfileProvider(id: string, provider: TerminalProfileProvider): Disposable;
463
457
  /**
464
458
  * ~~Show progress in the Source Control viewlet while running the given callback and while
465
459
  * its returned promise isn't resolve or rejected.~~
@@ -1,37 +1,4 @@
1
1
  declare module 'vscode' {
2
-
3
- // #region https://github.com/microsoft/vscode/issues/129037
4
-
5
- enum LanguageStatusSeverity {
6
- Information = 0,
7
- Warning = 1,
8
- Error = 2,
9
- }
10
-
11
- interface LanguageStatusItem {
12
- readonly id: string;
13
- selector: DocumentSelector;
14
- // todo@jrieken replace with boolean ala needsAttention
15
- severity: LanguageStatusSeverity;
16
- name: string | undefined;
17
- text: string;
18
- detail?: string;
19
- command: Command | undefined;
20
- accessibilityInformation?: AccessibilityInformation;
21
- dispose(): void;
22
- }
23
-
24
- namespace languages {
25
- export function createLanguageStatusItem(id: string, selector: DocumentSelector): LanguageStatusItem;
26
- }
27
-
28
- // #endregion
29
-
30
- // #region @jrieken -> exclusive document filters
31
- export interface DocumentFilter {
32
- readonly exclusive?: boolean;
33
- }
34
-
35
2
  // #region https://github.com/microsoft/vscode/issues/120173
36
3
  /**
37
4
  * The object describing the properties of the workspace trust request