@theia/core 1.71.0-next.32 → 1.71.0-next.36

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.
@@ -9,4 +9,5 @@ export * from './preference-service';
9
9
  export * from './injectable-preference-proxy';
10
10
  export * from './preference-proxy';
11
11
  export * from './preference-configurations';
12
+ export * from './preference-utils';
12
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/preferences/index.ts"],"names":[],"mappings":"AAgBA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/preferences/index.ts"],"names":[],"mappings":"AAgBA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC"}
@@ -27,4 +27,5 @@ tslib_1.__exportStar(require("./preference-service"), exports);
27
27
  tslib_1.__exportStar(require("./injectable-preference-proxy"), exports);
28
28
  tslib_1.__exportStar(require("./preference-proxy"), exports);
29
29
  tslib_1.__exportStar(require("./preference-configurations"), exports);
30
+ tslib_1.__exportStar(require("./preference-utils"), exports);
30
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/preferences/index.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,yEAA+C;AAC/C,iFAAuD;AACvD,qEAA2C;AAC3C,gEAAsC;AACtC,sEAA4C;AAC5C,8DAAoC;AACpC,6DAAmC;AACnC,+DAAqC;AACrC,wEAA8C;AAC9C,6DAAmC;AACnC,sEAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/preferences/index.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,yEAA+C;AAC/C,iFAAuD;AACvD,qEAA2C;AAC3C,gEAAsC;AACtC,sEAA4C;AAC5C,8DAAoC;AACpC,6DAAmC;AACnC,+DAAqC;AACrC,wEAA8C;AAC9C,6DAAmC;AACnC,sEAA4C;AAC5C,6DAAmC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Hint appended to API key preference descriptions on Linux, where environment variables
3
+ * set in `~/.bashrc` are not available to desktop-launched applications.
4
+ */
5
+ export declare const LINUX_ENV_HINT: string;
6
+ //# sourceMappingURL=preference-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preference-utils.d.ts","sourceRoot":"","sources":["../../../src/common/preferences/preference-utils.ts"],"names":[],"mappings":"AAmBA;;;GAGG;AACH,eAAO,MAAM,cAAc,QAInB,CAAC"}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2026 EclipseSource and others.
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.LINUX_ENV_HINT = void 0;
19
+ const nls_1 = require("../nls");
20
+ const os_1 = require("../os");
21
+ /**
22
+ * Hint appended to API key preference descriptions on Linux, where environment variables
23
+ * set in `~/.bashrc` are not available to desktop-launched applications.
24
+ */
25
+ exports.LINUX_ENV_HINT = !os_1.isWindows && !os_1.isOSX
26
+ ? ' ' + nls_1.nls.localize('theia/ai-core/preferences/linuxEnvHint', 'On Linux, make sure the variable is defined in `~/.profile` (not just `~/.bashrc`) if you launch the application from a desktop shortcut.' +
27
+ ' See the [documentation](https://theia-ide.org/docs/user_ai/#setting-api-keys) for details.')
28
+ : '';
29
+ //# sourceMappingURL=preference-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preference-utils.js","sourceRoot":"","sources":["../../../src/common/preferences/preference-utils.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,gCAA6B;AAC7B,8BAAyC;AAEzC;;;GAGG;AACU,QAAA,cAAc,GAAG,CAAC,cAAS,IAAI,CAAC,UAAK;IAC9C,CAAC,CAAC,GAAG,GAAG,SAAG,CAAC,QAAQ,CAAC,wCAAwC,EACzD,2IAA2I;QAC3I,6FAA6F,CAAC;IAClG,CAAC,CAAC,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/core",
3
- "version": "1.71.0-next.32+d4cb16d5c",
3
+ "version": "1.71.0-next.36+d93a0bb1a",
4
4
  "description": "Theia is a cloud & desktop IDE framework implemented in TypeScript.",
5
5
  "main": "lib/common/index.js",
6
6
  "typings": "lib/common/index.d.ts",
@@ -17,8 +17,8 @@
17
17
  "@lumino/virtualdom": "^2.0.4",
18
18
  "@lumino/widgets": "2.7.5",
19
19
  "@parcel/watcher": "^2.5.6",
20
- "@theia/application-package": "1.71.0-next.32+d4cb16d5c",
21
- "@theia/request": "1.71.0-next.32+d4cb16d5c",
20
+ "@theia/application-package": "1.71.0-next.36+d93a0bb1a",
21
+ "@theia/request": "1.71.0-next.36+d93a0bb1a",
22
22
  "@types/body-parser": "^1.19.6",
23
23
  "@types/express": "^4.17.21",
24
24
  "@types/fs-extra": "^4.0.2",
@@ -221,5 +221,5 @@
221
221
  "nyc": {
222
222
  "extends": "../../configs/nyc.json"
223
223
  },
224
- "gitHead": "d4cb16d5c5d6262d58a38e20ef7d4c5919b65dd6"
224
+ "gitHead": "d93a0bb1abcecbe4da7d25a0250918080375bd7d"
225
225
  }
@@ -25,3 +25,4 @@ export * from './preference-service';
25
25
  export * from './injectable-preference-proxy';
26
26
  export * from './preference-proxy';
27
27
  export * from './preference-configurations';
28
+ export * from './preference-utils';
@@ -0,0 +1,28 @@
1
+ // *****************************************************************************
2
+ // Copyright (C) 2026 EclipseSource and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ import { nls } from '../nls';
18
+ import { isOSX, isWindows } from '../os';
19
+
20
+ /**
21
+ * Hint appended to API key preference descriptions on Linux, where environment variables
22
+ * set in `~/.bashrc` are not available to desktop-launched applications.
23
+ */
24
+ export const LINUX_ENV_HINT = !isWindows && !isOSX
25
+ ? ' ' + nls.localize('theia/ai-core/preferences/linuxEnvHint',
26
+ 'On Linux, make sure the variable is defined in `~/.profile` (not just `~/.bashrc`) if you launch the application from a desktop shortcut.' +
27
+ ' See the [documentation](https://theia-ide.org/docs/user_ai/#setting-api-keys) for details.')
28
+ : '';