@theia/ai-huggingface 1.71.0-next.8 → 1.71.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.
@@ -1 +1 @@
1
- {"version":3,"file":"huggingface-preferences.d.ts","sourceRoot":"","sources":["../../src/common/huggingface-preferences.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAO,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,eAAO,MAAM,YAAY,mCAAmC,CAAC;AAC7D,eAAO,MAAM,WAAW,mCAAmC,CAAC;AAE5D,eAAO,MAAM,4BAA4B,EAAE,gBAuB1C,CAAC"}
1
+ {"version":3,"file":"huggingface-preferences.d.ts","sourceRoot":"","sources":["../../src/common/huggingface-preferences.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAuB,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpE,eAAO,MAAM,YAAY,mCAAmC,CAAC;AAC7D,eAAO,MAAM,WAAW,mCAAmC,CAAC;AAE5D,eAAO,MAAM,4BAA4B,EAAE,gBAuB1C,CAAC"}
@@ -25,7 +25,7 @@ exports.HuggingFacePreferencesSchema = {
25
25
  [exports.API_KEY_PREF]: {
26
26
  type: 'string',
27
27
  markdownDescription: core_1.nls.localize('theia/ai/huggingFace/apiKey/mdDescription', 'Enter an API Key for your Hugging Face Account. **Please note:** By using this preference the Hugging Face API key will be stored in clear text\
28
- on the machine running Theia. Use the environment variable `HUGGINGFACE_API_KEY` to set the key securely.'),
28
+ on the machine running Theia. Use the environment variable `HUGGINGFACE_API_KEY` to set the key securely.') + core_1.LINUX_ENV_HINT,
29
29
  title: ai_core_preferences_1.AI_CORE_PREFERENCES_TITLE,
30
30
  tags: ['experimental']
31
31
  },
@@ -1 +1 @@
1
- {"version":3,"file":"huggingface-preferences.js","sourceRoot":"","sources":["../../src/common/huggingface-preferences.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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,uFAA0F;AAC1F,sCAAoD;AAEvC,QAAA,YAAY,GAAG,gCAAgC,CAAC;AAChD,QAAA,WAAW,GAAG,gCAAgC,CAAC;AAE/C,QAAA,4BAA4B,GAAqB;IAC1D,UAAU,EAAE;QACR,CAAC,oBAAY,CAAC,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,mBAAmB,EAAE,UAAG,CAAC,QAAQ,CAAC,2CAA2C,EACzE;sHACsG,CAAC;YAC3G,KAAK,EAAE,+CAAyB;YAChC,IAAI,EAAE,CAAC,cAAc,CAAC;SACzB;QACD,CAAC,mBAAW,CAAC,EAAE;YACX,IAAI,EAAE,OAAO;YACb,mBAAmB,EAAE,UAAG,CAAC,QAAQ,CAAC,2CAA2C,EACzE;iJACiI,CAAC;YACtI,KAAK,EAAE,+CAAyB;YAChC,OAAO,EAAE,CAAC,kCAAkC,EAAE,kCAAkC,CAAC;YACjF,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,IAAI,EAAE,CAAC,cAAc,CAAC;SACzB;KACJ;CACJ,CAAC"}
1
+ {"version":3,"file":"huggingface-preferences.js","sourceRoot":"","sources":["../../src/common/huggingface-preferences.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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,uFAA0F;AAC1F,sCAAoE;AAEvD,QAAA,YAAY,GAAG,gCAAgC,CAAC;AAChD,QAAA,WAAW,GAAG,gCAAgC,CAAC;AAE/C,QAAA,4BAA4B,GAAqB;IAC1D,UAAU,EAAE;QACR,CAAC,oBAAY,CAAC,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,mBAAmB,EAAE,UAAG,CAAC,QAAQ,CAAC,2CAA2C,EACzE;sHACsG,CAAC,GAAG,qBAAc;YAC5H,KAAK,EAAE,+CAAyB;YAChC,IAAI,EAAE,CAAC,cAAc,CAAC;SACzB;QACD,CAAC,mBAAW,CAAC,EAAE;YACX,IAAI,EAAE,OAAO;YACb,mBAAmB,EAAE,UAAG,CAAC,QAAQ,CAAC,2CAA2C,EACzE;iJACiI,CAAC;YACtI,KAAK,EAAE,+CAAyB;YAChC,OAAO,EAAE,CAAC,kCAAkC,EAAE,kCAAkC,CAAC;YACjF,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,IAAI,EAAE,CAAC,cAAc,CAAC;SACzB;KACJ;CACJ,CAAC"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@theia/ai-huggingface",
3
- "version": "1.71.0-next.8+8ec70800c",
3
+ "version": "1.71.0",
4
4
  "description": "Theia - Hugging Face Integration",
5
5
  "dependencies": {
6
- "@huggingface/inference": "^4.13.10",
7
- "@theia/ai-core": "1.71.0-next.8+8ec70800c",
8
- "@theia/core": "1.71.0-next.8+8ec70800c"
6
+ "@huggingface/inference": "^4.13.15",
7
+ "@theia/ai-core": "1.71.0",
8
+ "@theia/core": "1.71.0"
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public"
@@ -41,10 +41,10 @@
41
41
  "watch": "theiaext watch"
42
42
  },
43
43
  "devDependencies": {
44
- "@theia/ext-scripts": "1.70.0"
44
+ "@theia/ext-scripts": "1.71.0"
45
45
  },
46
46
  "nyc": {
47
47
  "extends": "../../configs/nyc.json"
48
48
  },
49
- "gitHead": "8ec70800c488b9fc44915e8896636628b7cb8636"
49
+ "gitHead": "d8a596fc99f0a8e68b466828ed162569d79e3a71"
50
50
  }
@@ -15,7 +15,7 @@
15
15
  // *****************************************************************************
16
16
 
17
17
  import { AI_CORE_PREFERENCES_TITLE } from '@theia/ai-core/lib/common/ai-core-preferences';
18
- import { nls, PreferenceSchema } from '@theia/core';
18
+ import { LINUX_ENV_HINT, nls, PreferenceSchema } from '@theia/core';
19
19
 
20
20
  export const API_KEY_PREF = 'ai-features.huggingFace.apiKey';
21
21
  export const MODELS_PREF = 'ai-features.huggingFace.models';
@@ -26,7 +26,7 @@ export const HuggingFacePreferencesSchema: PreferenceSchema = {
26
26
  type: 'string',
27
27
  markdownDescription: nls.localize('theia/ai/huggingFace/apiKey/mdDescription',
28
28
  'Enter an API Key for your Hugging Face Account. **Please note:** By using this preference the Hugging Face API key will be stored in clear text\
29
- on the machine running Theia. Use the environment variable `HUGGINGFACE_API_KEY` to set the key securely.'),
29
+ on the machine running Theia. Use the environment variable `HUGGINGFACE_API_KEY` to set the key securely.') + LINUX_ENV_HINT,
30
30
  title: AI_CORE_PREFERENCES_TITLE,
31
31
  tags: ['experimental']
32
32
  },