@theia/ai-codex 1.75.0-next.39 → 1.75.0-next.42
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":"codex-preferences.d.ts","sourceRoot":"","sources":["../../src/common/codex-preferences.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAO,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,eAAO,MAAM,kBAAkB,6BAA6B,CAAC;AAE7D,eAAO,MAAM,sBAAsB,EAAE,
|
|
1
|
+
{"version":3,"file":"codex-preferences.d.ts","sourceRoot":"","sources":["../../src/common/codex-preferences.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAO,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,eAAO,MAAM,kBAAkB,6BAA6B,CAAC;AAE7D,eAAO,MAAM,sBAAsB,EAAE,gBAWpC,CAAC"}
|
|
@@ -23,6 +23,7 @@ exports.CodexPreferencesSchema = {
|
|
|
23
23
|
properties: {
|
|
24
24
|
[exports.CODEX_API_KEY_PREF]: {
|
|
25
25
|
type: 'string',
|
|
26
|
+
typeDetails: { [ai_core_preferences_1.MODEL_PROVIDER_TYPE_DETAIL]: { label: 'Codex' } },
|
|
26
27
|
markdownDescription: core_1.nls.localize('theia/ai/codex/apiKey/description', 'OpenAI API key for Codex. If not set, falls back to the shared OpenAI API key (`ai-features.openAiOfficial.openAiApiKey`). ' +
|
|
27
28
|
'Can also be set via `OPENAI_API_KEY` environment variable.'),
|
|
28
29
|
title: ai_core_preferences_1.AI_CORE_PREFERENCES_TITLE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex-preferences.js","sourceRoot":"","sources":["../../src/common/codex-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,
|
|
1
|
+
{"version":3,"file":"codex-preferences.js","sourceRoot":"","sources":["../../src/common/codex-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,uFAA+I;AAC/I,sCAAoD;AAEvC,QAAA,kBAAkB,GAAG,0BAA0B,CAAC;AAEhD,QAAA,sBAAsB,GAAqB;IACpD,UAAU,EAAE;QACR,CAAC,0BAAkB,CAAC,EAAE;YAClB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,CAAC,gDAA0B,CAAC,EAAE,EAAE,KAAK,EAAE,OAAO,EAAoC,EAAE;YACnG,mBAAmB,EAAE,UAAG,CAAC,QAAQ,CAAC,mCAAmC,EACjE,6HAA6H;gBAC7H,4DAA4D,CAAC;YACjE,KAAK,EAAE,+CAAyB;SACnC;KACJ;CACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/ai-codex",
|
|
3
|
-
"version": "1.75.0-next.
|
|
3
|
+
"version": "1.75.0-next.42+a35c2a27e",
|
|
4
4
|
"description": "Theia - OpenAI Codex Integration",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@openai/codex-sdk": "^0.49.0",
|
|
7
|
-
"@theia/ai-chat": "1.75.0-next.
|
|
8
|
-
"@theia/ai-chat-ui": "1.75.0-next.
|
|
9
|
-
"@theia/ai-core": "1.75.0-next.
|
|
10
|
-
"@theia/ai-openai": "1.75.0-next.
|
|
11
|
-
"@theia/core": "1.75.0-next.
|
|
12
|
-
"@theia/editor": "1.75.0-next.
|
|
13
|
-
"@theia/filesystem": "1.75.0-next.
|
|
7
|
+
"@theia/ai-chat": "1.75.0-next.42+a35c2a27e",
|
|
8
|
+
"@theia/ai-chat-ui": "1.75.0-next.42+a35c2a27e",
|
|
9
|
+
"@theia/ai-core": "1.75.0-next.42+a35c2a27e",
|
|
10
|
+
"@theia/ai-openai": "1.75.0-next.42+a35c2a27e",
|
|
11
|
+
"@theia/core": "1.75.0-next.42+a35c2a27e",
|
|
12
|
+
"@theia/editor": "1.75.0-next.42+a35c2a27e",
|
|
13
|
+
"@theia/filesystem": "1.75.0-next.42+a35c2a27e",
|
|
14
14
|
"@theia/monaco-editor-core": "1.108.201",
|
|
15
|
-
"@theia/output": "1.75.0-next.
|
|
16
|
-
"@theia/workspace": "1.75.0-next.
|
|
15
|
+
"@theia/output": "1.75.0-next.42+a35c2a27e",
|
|
16
|
+
"@theia/workspace": "1.75.0-next.42+a35c2a27e",
|
|
17
17
|
"tslib": "^2.8.1"
|
|
18
18
|
},
|
|
19
19
|
"publishConfig": {
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"nyc": {
|
|
56
56
|
"extends": "../../configs/nyc.json"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "a35c2a27e7d62cc83409f5996cbb076adc61d667"
|
|
59
59
|
}
|
|
@@ -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 { AI_CORE_PREFERENCES_TITLE } from '@theia/ai-core/lib/common/ai-core-preferences';
|
|
17
|
+
import { AI_CORE_PREFERENCES_TITLE, MODEL_PROVIDER_TYPE_DETAIL, ModelProviderTypeDetail } from '@theia/ai-core/lib/common/ai-core-preferences';
|
|
18
18
|
import { nls, PreferenceSchema } from '@theia/core';
|
|
19
19
|
|
|
20
20
|
export const CODEX_API_KEY_PREF = 'ai-features.codex.apiKey';
|
|
@@ -23,6 +23,7 @@ export const CodexPreferencesSchema: PreferenceSchema = {
|
|
|
23
23
|
properties: {
|
|
24
24
|
[CODEX_API_KEY_PREF]: {
|
|
25
25
|
type: 'string',
|
|
26
|
+
typeDetails: { [MODEL_PROVIDER_TYPE_DETAIL]: { label: 'Codex' } satisfies ModelProviderTypeDetail },
|
|
26
27
|
markdownDescription: nls.localize('theia/ai/codex/apiKey/description',
|
|
27
28
|
'OpenAI API key for Codex. If not set, falls back to the shared OpenAI API key (`ai-features.openAiOfficial.openAiApiKey`). ' +
|
|
28
29
|
'Can also be set via `OPENAI_API_KEY` environment variable.'),
|