@theia/plugin 1.46.0-next.106 → 1.46.0-next.144

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": "@theia/plugin",
3
- "version": "1.46.0-next.106+cf038c17c",
3
+ "version": "1.46.0-next.144+32f393a33",
4
4
  "description": "Theia - Plugin API",
5
5
  "types": "./src/theia.d.ts",
6
6
  "publishConfig": {
@@ -27,10 +27,10 @@
27
27
  "watch": "theiaext watch"
28
28
  },
29
29
  "devDependencies": {
30
- "@theia/ext-scripts": "1.47.0"
30
+ "@theia/ext-scripts": "1.48.0"
31
31
  },
32
32
  "nyc": {
33
33
  "extends": "../../configs/nyc.json"
34
34
  },
35
- "gitHead": "cf038c17c3b3b210d9ae02b09d64921f639247f9"
35
+ "gitHead": "32f393a3385927ed79708b4e1a2faf78806f1fd3"
36
36
  }
@@ -363,6 +363,26 @@ export module '@theia/plugin' {
363
363
  color?: ThemeColor;
364
364
  }
365
365
 
366
+ export interface TerminalObserver {
367
+
368
+ /**
369
+ * A regex to match against the latest terminal output.
370
+ */
371
+ readonly outputMatcherRegex: string;
372
+ /**
373
+ * The maximum number of lines to match the regex against. Maximum is 40 lines.
374
+ */
375
+ readonly nrOfLinesToMatch: number;
376
+ /**
377
+ * Invoked when the regex matched against the terminal contents.
378
+ * @param groups The matched groups
379
+ */
380
+ matchOccurred(groups: string[]): void;
381
+ }
382
+
383
+ export namespace window {
384
+ export function registerTerminalObserver(observer: TerminalObserver): Disposable;
385
+ }
366
386
  }
367
387
 
368
388
  /**