@theia/plugin-ext 1.75.0-next.25 → 1.75.0-next.28

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 (73) hide show
  1. package/lib/common/errors.d.ts +1 -14
  2. package/lib/common/errors.d.ts.map +1 -1
  3. package/lib/common/errors.js +3 -16
  4. package/lib/common/errors.js.map +1 -1
  5. package/lib/common/plugin-protocol.d.ts +44 -719
  6. package/lib/common/plugin-protocol.d.ts.map +1 -1
  7. package/lib/common/plugin-protocol.js +11 -34
  8. package/lib/common/plugin-protocol.js.map +1 -1
  9. package/lib/hosted/browser/worker/plugin-manifest-loader.d.ts.map +1 -1
  10. package/lib/hosted/browser/worker/plugin-manifest-loader.js +5 -36
  11. package/lib/hosted/browser/worker/plugin-manifest-loader.js.map +1 -1
  12. package/lib/hosted/browser/worker/worker-main.js +2 -1
  13. package/lib/hosted/browser/worker/worker-main.js.map +1 -1
  14. package/lib/hosted/node/hosted-plugin-localization-service.d.ts.map +1 -1
  15. package/lib/hosted/node/hosted-plugin-localization-service.js +4 -68
  16. package/lib/hosted/node/hosted-plugin-localization-service.js.map +1 -1
  17. package/lib/hosted/node/plugin-host-rpc.d.ts.map +1 -1
  18. package/lib/hosted/node/plugin-host-rpc.js +2 -2
  19. package/lib/hosted/node/plugin-host-rpc.js.map +1 -1
  20. package/lib/hosted/node/plugin-reader.d.ts.map +1 -1
  21. package/lib/hosted/node/plugin-reader.js +4 -3
  22. package/lib/hosted/node/plugin-reader.js.map +1 -1
  23. package/lib/hosted/node/scanners/grammars-reader.d.ts +3 -2
  24. package/lib/hosted/node/scanners/grammars-reader.d.ts.map +1 -1
  25. package/lib/hosted/node/scanners/grammars-reader.js +5 -23
  26. package/lib/hosted/node/scanners/grammars-reader.js.map +1 -1
  27. package/lib/hosted/node/scanners/scanner-theia.d.ts +37 -72
  28. package/lib/hosted/node/scanners/scanner-theia.d.ts.map +1 -1
  29. package/lib/hosted/node/scanners/scanner-theia.js +114 -854
  30. package/lib/hosted/node/scanners/scanner-theia.js.map +1 -1
  31. package/lib/hosted/node/scanners/scanner-theia.spec.js +4 -4
  32. package/lib/hosted/node/scanners/scanner-theia.spec.js.map +1 -1
  33. package/lib/main/browser/plugin-contribution-handler.js +1 -1
  34. package/lib/main/browser/plugin-contribution-handler.js.map +1 -1
  35. package/lib/main/browser/plugin-icon-service.d.ts.map +1 -1
  36. package/lib/main/browser/plugin-icon-service.js +2 -1
  37. package/lib/main/browser/plugin-icon-service.js.map +1 -1
  38. package/lib/main/browser/plugin-icon-theme-service.d.ts.map +1 -1
  39. package/lib/main/browser/plugin-icon-theme-service.js +2 -1
  40. package/lib/main/browser/plugin-icon-theme-service.js.map +1 -1
  41. package/lib/main/browser/plugin-shared-style.d.ts.map +1 -1
  42. package/lib/main/browser/plugin-shared-style.js +2 -1
  43. package/lib/main/browser/plugin-shared-style.js.map +1 -1
  44. package/package.json +31 -30
  45. package/src/common/errors.ts +1 -25
  46. package/src/common/plugin-protocol.ts +194 -719
  47. package/src/hosted/browser/worker/plugin-manifest-loader.ts +8 -41
  48. package/src/hosted/browser/worker/worker-main.ts +2 -1
  49. package/src/hosted/node/hosted-plugin-localization-service.ts +3 -82
  50. package/src/hosted/node/plugin-host-rpc.ts +3 -3
  51. package/src/hosted/node/plugin-reader.ts +4 -3
  52. package/src/hosted/node/scanners/grammars-reader.ts +14 -23
  53. package/src/hosted/node/scanners/scanner-theia.spec.ts +4 -4
  54. package/src/hosted/node/scanners/scanner-theia.ts +200 -972
  55. package/src/main/browser/plugin-contribution-handler.ts +1 -1
  56. package/src/main/browser/plugin-icon-service.ts +2 -1
  57. package/src/main/browser/plugin-icon-theme-service.ts +2 -1
  58. package/src/main/browser/plugin-shared-style.ts +2 -1
  59. package/lib/hosted/node/plugin-activation-events.d.ts +0 -7
  60. package/lib/hosted/node/plugin-activation-events.d.ts.map +0 -1
  61. package/lib/hosted/node/plugin-activation-events.js +0 -95
  62. package/lib/hosted/node/plugin-activation-events.js.map +0 -1
  63. package/lib/hosted/node/plugin-manifest-loader.d.ts +0 -3
  64. package/lib/hosted/node/plugin-manifest-loader.d.ts.map +0 -1
  65. package/lib/hosted/node/plugin-manifest-loader.js +0 -34
  66. package/lib/hosted/node/plugin-manifest-loader.js.map +0 -1
  67. package/lib/main/node/errors.spec.d.ts +0 -2
  68. package/lib/main/node/errors.spec.d.ts.map +0 -1
  69. package/lib/main/node/errors.spec.js +0 -36
  70. package/lib/main/node/errors.spec.js.map +0 -1
  71. package/src/hosted/node/plugin-activation-events.ts +0 -112
  72. package/src/hosted/node/plugin-manifest-loader.ts +0 -32
  73. package/src/main/node/errors.spec.ts +0 -37
package/package.json CHANGED
@@ -1,39 +1,40 @@
1
1
  {
2
2
  "name": "@theia/plugin-ext",
3
- "version": "1.75.0-next.25+6226ed5b7",
3
+ "version": "1.75.0-next.28+ba1005c0bf8",
4
4
  "description": "Theia - Plugin Extension",
5
5
  "main": "lib/common/index.js",
6
6
  "typings": "lib/common/index.d.ts",
7
7
  "dependencies": {
8
- "@theia/ai-core": "1.75.0-next.25+6226ed5b7",
9
- "@theia/ai-mcp": "1.75.0-next.25+6226ed5b7",
10
- "@theia/bulk-edit": "1.75.0-next.25+6226ed5b7",
11
- "@theia/callhierarchy": "1.75.0-next.25+6226ed5b7",
12
- "@theia/console": "1.75.0-next.25+6226ed5b7",
13
- "@theia/core": "1.75.0-next.25+6226ed5b7",
14
- "@theia/debug": "1.75.0-next.25+6226ed5b7",
15
- "@theia/editor": "1.75.0-next.25+6226ed5b7",
16
- "@theia/editor-preview": "1.75.0-next.25+6226ed5b7",
17
- "@theia/file-search": "1.75.0-next.25+6226ed5b7",
18
- "@theia/filesystem": "1.75.0-next.25+6226ed5b7",
19
- "@theia/markers": "1.75.0-next.25+6226ed5b7",
20
- "@theia/messages": "1.75.0-next.25+6226ed5b7",
21
- "@theia/monaco": "1.75.0-next.25+6226ed5b7",
8
+ "@theia/ai-core": "1.75.0-next.28+ba1005c0bf8",
9
+ "@theia/ai-mcp": "1.75.0-next.28+ba1005c0bf8",
10
+ "@theia/bulk-edit": "1.75.0-next.28+ba1005c0bf8",
11
+ "@theia/callhierarchy": "1.75.0-next.28+ba1005c0bf8",
12
+ "@theia/console": "1.75.0-next.28+ba1005c0bf8",
13
+ "@theia/core": "1.75.0-next.28+ba1005c0bf8",
14
+ "@theia/debug": "1.75.0-next.28+ba1005c0bf8",
15
+ "@theia/editor": "1.75.0-next.28+ba1005c0bf8",
16
+ "@theia/editor-preview": "1.75.0-next.28+ba1005c0bf8",
17
+ "@theia/file-search": "1.75.0-next.28+ba1005c0bf8",
18
+ "@theia/filesystem": "1.75.0-next.28+ba1005c0bf8",
19
+ "@theia/markers": "1.75.0-next.28+ba1005c0bf8",
20
+ "@theia/messages": "1.75.0-next.28+ba1005c0bf8",
21
+ "@theia/monaco": "1.75.0-next.28+ba1005c0bf8",
22
22
  "@theia/monaco-editor-core": "1.108.201",
23
- "@theia/navigator": "1.75.0-next.25+6226ed5b7",
24
- "@theia/notebook": "1.75.0-next.25+6226ed5b7",
25
- "@theia/output": "1.75.0-next.25+6226ed5b7",
26
- "@theia/plugin": "1.75.0-next.25+6226ed5b7",
27
- "@theia/preferences": "1.75.0-next.25+6226ed5b7",
28
- "@theia/scm": "1.75.0-next.25+6226ed5b7",
29
- "@theia/search-in-workspace": "1.75.0-next.25+6226ed5b7",
30
- "@theia/task": "1.75.0-next.25+6226ed5b7",
31
- "@theia/terminal": "1.75.0-next.25+6226ed5b7",
32
- "@theia/test": "1.75.0-next.25+6226ed5b7",
33
- "@theia/timeline": "1.75.0-next.25+6226ed5b7",
34
- "@theia/typehierarchy": "1.75.0-next.25+6226ed5b7",
35
- "@theia/variable-resolver": "1.75.0-next.25+6226ed5b7",
36
- "@theia/workspace": "1.75.0-next.25+6226ed5b7",
23
+ "@theia/navigator": "1.75.0-next.28+ba1005c0bf8",
24
+ "@theia/notebook": "1.75.0-next.28+ba1005c0bf8",
25
+ "@theia/output": "1.75.0-next.28+ba1005c0bf8",
26
+ "@theia/plugin": "1.75.0-next.28+ba1005c0bf8",
27
+ "@theia/plugin-utils": "1.75.0-next.28+ba1005c0bf8",
28
+ "@theia/preferences": "1.75.0-next.28+ba1005c0bf8",
29
+ "@theia/scm": "1.75.0-next.28+ba1005c0bf8",
30
+ "@theia/search-in-workspace": "1.75.0-next.28+ba1005c0bf8",
31
+ "@theia/task": "1.75.0-next.28+ba1005c0bf8",
32
+ "@theia/terminal": "1.75.0-next.28+ba1005c0bf8",
33
+ "@theia/test": "1.75.0-next.28+ba1005c0bf8",
34
+ "@theia/timeline": "1.75.0-next.28+ba1005c0bf8",
35
+ "@theia/typehierarchy": "1.75.0-next.28+ba1005c0bf8",
36
+ "@theia/variable-resolver": "1.75.0-next.28+ba1005c0bf8",
37
+ "@theia/workspace": "1.75.0-next.28+ba1005c0bf8",
37
38
  "@types/mime": "^2.0.3",
38
39
  "@vscode/debugprotocol": "^1.68.0",
39
40
  "@vscode/proxy-agent": "^0.13.2",
@@ -98,5 +99,5 @@
98
99
  "nyc": {
99
100
  "extends": "../../configs/nyc.json"
100
101
  },
101
- "gitHead": "6226ed5b7443f45eddf4a95aac59a586070c682b"
102
+ "gitHead": "ba1005c0bf87bd848c6ec51ce1b4e6bb06748e3c"
102
103
  }
@@ -14,7 +14,7 @@
14
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
15
  // *****************************************************************************
16
16
 
17
- import { isObject } from '@theia/core/lib/common/types';
17
+ export { isENOENT } from '@theia/plugin-utils/lib/common/utils';
18
18
 
19
19
  export function illegalArgument(message?: string): Error {
20
20
  if (message) {
@@ -37,27 +37,3 @@ export function disposed(what: string): Error {
37
37
  result.name = 'DISPOSED';
38
38
  return result;
39
39
  }
40
-
41
- interface Errno {
42
- readonly code: string;
43
- readonly errno: number
44
- }
45
- const ENOENT = 'ENOENT' as const;
46
-
47
- type ErrnoException = Error & Errno;
48
- function isErrnoException(arg: unknown): arg is ErrnoException {
49
- return arg instanceof Error
50
- && isObject<Partial<Errno>>(arg)
51
- && typeof arg.code === 'string'
52
- && typeof arg.errno === 'number';
53
- }
54
-
55
- /**
56
- * _(No such file or directory)_: Commonly raised by `fs` operations to indicate that a component of the specified pathname does not exist — no entity (file or directory) could be
57
- * found by the given path.
58
- */
59
- export function isENOENT(
60
- arg: unknown
61
- ): arg is ErrnoException & Readonly<{ code: typeof ENOENT }> {
62
- return isErrnoException(arg) && arg.code === ENOENT;
63
- }