@vybestack/llxprt-code-core 0.1.22 → 0.1.23
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/dist/src/config/config.d.ts +14 -1
- package/dist/src/config/config.js +23 -3
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/core/client.js +2 -2
- package/dist/src/core/client.js.map +1 -1
- package/dist/src/core/coreToolScheduler.d.ts +2 -1
- package/dist/src/core/coreToolScheduler.js +19 -0
- package/dist/src/core/coreToolScheduler.js.map +1 -1
- package/dist/src/core/geminiChat.js +28 -13
- package/dist/src/core/geminiChat.js.map +1 -1
- package/dist/src/core/loggingContentGenerator.d.ts +1 -5
- package/dist/src/core/loggingContentGenerator.js +4 -6
- package/dist/src/core/loggingContentGenerator.js.map +1 -1
- package/dist/src/core/nonInteractiveToolExecutor.d.ts +2 -2
- package/dist/src/core/nonInteractiveToolExecutor.js +13 -9
- package/dist/src/core/nonInteractiveToolExecutor.js.map +1 -1
- package/dist/src/core/subagent.js +5 -5
- package/dist/src/core/subagent.js.map +1 -1
- package/dist/src/debug/ConfigurationManager.d.ts +28 -0
- package/dist/src/debug/ConfigurationManager.js +211 -0
- package/dist/src/debug/ConfigurationManager.js.map +1 -0
- package/dist/src/debug/DebugLogger.d.ts +26 -0
- package/dist/src/debug/DebugLogger.js +230 -0
- package/dist/src/debug/DebugLogger.js.map +1 -0
- package/dist/src/debug/FileOutput.d.ts +23 -0
- package/dist/src/debug/FileOutput.js +144 -0
- package/dist/src/debug/FileOutput.js.map +1 -0
- package/dist/src/debug/MockConfigurationManager.d.ts +28 -0
- package/dist/src/debug/MockConfigurationManager.js +45 -0
- package/dist/src/debug/MockConfigurationManager.js.map +1 -0
- package/dist/src/debug/MockFileOutput.d.ts +20 -0
- package/dist/src/debug/MockFileOutput.js +25 -0
- package/dist/src/debug/MockFileOutput.js.map +1 -0
- package/dist/src/debug/index.d.ts +8 -0
- package/dist/src/debug/index.js +9 -0
- package/dist/src/debug/index.js.map +1 -0
- package/dist/src/debug/types.d.ts +23 -0
- package/dist/src/debug/types.js +2 -0
- package/dist/src/debug/types.js.map +1 -0
- package/dist/src/ide/ide-client.d.ts +4 -0
- package/dist/src/ide/ide-client.js +41 -2
- package/dist/src/ide/ide-client.js.map +1 -1
- package/dist/src/ide/ide-installer.js +17 -4
- package/dist/src/ide/ide-installer.js.map +1 -1
- package/dist/src/ide/process-utils.d.ts +10 -5
- package/dist/src/ide/process-utils.js +113 -30
- package/dist/src/ide/process-utils.js.map +1 -1
- package/dist/src/index.d.ts +5 -0
- package/dist/src/index.js +4 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/prompt-config/defaults/core.md +34 -230
- package/dist/src/prompt-config/defaults/tools/read-file.md +1 -1
- package/dist/src/providers/BaseProvider.js +13 -2
- package/dist/src/providers/BaseProvider.js.map +1 -1
- package/dist/src/providers/anthropic/AnthropicProvider.d.ts +1 -0
- package/dist/src/providers/anthropic/AnthropicProvider.js +20 -31
- package/dist/src/providers/anthropic/AnthropicProvider.js.map +1 -1
- package/dist/src/providers/gemini/GeminiProvider.d.ts +1 -0
- package/dist/src/providers/gemini/GeminiProvider.js +23 -50
- package/dist/src/providers/gemini/GeminiProvider.js.map +1 -1
- package/dist/src/providers/openai/OpenAIProvider.d.ts +9 -0
- package/dist/src/providers/openai/OpenAIProvider.js +502 -129
- package/dist/src/providers/openai/OpenAIProvider.js.map +1 -1
- package/dist/src/providers/openai/buildResponsesRequest.js +9 -6
- package/dist/src/providers/openai/buildResponsesRequest.js.map +1 -1
- package/dist/src/providers/openai/getOpenAIProviderInfo.js +8 -3
- package/dist/src/providers/openai/getOpenAIProviderInfo.js.map +1 -1
- package/dist/src/providers/openai/parseResponsesStream.js +13 -4
- package/dist/src/providers/openai/parseResponsesStream.js.map +1 -1
- package/dist/src/providers/openai/syntheticToolResponses.d.ts +0 -9
- package/dist/src/providers/openai/syntheticToolResponses.js +87 -16
- package/dist/src/providers/openai/syntheticToolResponses.js.map +1 -1
- package/dist/src/services/fileSystemService.d.ts +31 -0
- package/dist/src/services/fileSystemService.js +18 -0
- package/dist/src/services/fileSystemService.js.map +1 -0
- package/dist/src/services/loopDetectionService.d.ts +5 -0
- package/dist/src/services/loopDetectionService.js +89 -1
- package/dist/src/services/loopDetectionService.js.map +1 -1
- package/dist/src/services/shellExecutionService.d.ts +8 -6
- package/dist/src/services/shellExecutionService.js +297 -133
- package/dist/src/services/shellExecutionService.js.map +1 -1
- package/dist/src/telemetry/loggers.js +1 -1
- package/dist/src/telemetry/loggers.js.map +1 -1
- package/dist/src/telemetry/metrics.d.ts +1 -1
- package/dist/src/telemetry/metrics.js +2 -1
- package/dist/src/telemetry/metrics.js.map +1 -1
- package/dist/src/telemetry/sdk.js +3 -3
- package/dist/src/telemetry/sdk.js.map +1 -1
- package/dist/src/telemetry/types.d.ts +1 -0
- package/dist/src/telemetry/types.js +20 -0
- package/dist/src/telemetry/types.js.map +1 -1
- package/dist/src/telemetry/uiTelemetry.d.ts +4 -0
- package/dist/src/telemetry/uiTelemetry.js +16 -1
- package/dist/src/telemetry/uiTelemetry.js.map +1 -1
- package/dist/src/test-utils/tools.d.ts +8 -2
- package/dist/src/test-utils/tools.js +2 -3
- package/dist/src/test-utils/tools.js.map +1 -1
- package/dist/src/tools/ToolFormatter.d.ts +1 -0
- package/dist/src/tools/ToolFormatter.js +90 -9
- package/dist/src/tools/ToolFormatter.js.map +1 -1
- package/dist/src/tools/edit.d.ts +1 -1
- package/dist/src/tools/edit.js +15 -9
- package/dist/src/tools/edit.js.map +1 -1
- package/dist/src/tools/glob.d.ts +1 -1
- package/dist/src/tools/glob.js +8 -8
- package/dist/src/tools/glob.js.map +1 -1
- package/dist/src/tools/grep.d.ts +1 -1
- package/dist/src/tools/grep.js +1 -6
- package/dist/src/tools/grep.js.map +1 -1
- package/dist/src/tools/ls.d.ts +1 -1
- package/dist/src/tools/ls.js +1 -6
- package/dist/src/tools/ls.js.map +1 -1
- package/dist/src/tools/mcp-client-manager.d.ts +38 -0
- package/dist/src/tools/mcp-client-manager.js +74 -0
- package/dist/src/tools/mcp-client-manager.js.map +1 -0
- package/dist/src/tools/mcp-client.d.ts +43 -0
- package/dist/src/tools/mcp-client.js +117 -1
- package/dist/src/tools/mcp-client.js.map +1 -1
- package/dist/src/tools/memoryTool.d.ts +1 -1
- package/dist/src/tools/memoryTool.js +1 -6
- package/dist/src/tools/memoryTool.js.map +1 -1
- package/dist/src/tools/read-file.d.ts +1 -1
- package/dist/src/tools/read-file.js +5 -7
- package/dist/src/tools/read-file.js.map +1 -1
- package/dist/src/tools/read-many-files.d.ts +0 -1
- package/dist/src/tools/read-many-files.js +16 -11
- package/dist/src/tools/read-many-files.js.map +1 -1
- package/dist/src/tools/shell.d.ts +1 -1
- package/dist/src/tools/shell.js +32 -28
- package/dist/src/tools/shell.js.map +1 -1
- package/dist/src/tools/tool-registry.d.ts +5 -0
- package/dist/src/tools/tool-registry.js +13 -4
- package/dist/src/tools/tool-registry.js.map +1 -1
- package/dist/src/tools/tools.d.ts +3 -1
- package/dist/src/tools/tools.js +12 -0
- package/dist/src/tools/tools.js.map +1 -1
- package/dist/src/tools/web-fetch.d.ts +1 -1
- package/dist/src/tools/web-fetch.js +1 -6
- package/dist/src/tools/web-fetch.js.map +1 -1
- package/dist/src/tools/web-search.d.ts +6 -1
- package/dist/src/tools/web-search.js +6 -6
- package/dist/src/tools/web-search.js.map +1 -1
- package/dist/src/tools/write-file.d.ts +1 -1
- package/dist/src/tools/write-file.js +7 -8
- package/dist/src/tools/write-file.js.map +1 -1
- package/dist/src/utils/environmentContext.js +2 -2
- package/dist/src/utils/environmentContext.js.map +1 -1
- package/dist/src/utils/errorReporting.js +1 -1
- package/dist/src/utils/fileUtils.d.ts +2 -1
- package/dist/src/utils/fileUtils.js +3 -3
- package/dist/src/utils/fileUtils.js.map +1 -1
- package/dist/src/utils/getPty.d.ts +19 -0
- package/dist/src/utils/getPty.js +23 -0
- package/dist/src/utils/getPty.js.map +1 -0
- package/dist/src/utils/user_account.js +58 -53
- package/dist/src/utils/user_account.js.map +1 -1
- package/package.json +22 -7
@@ -4,33 +4,67 @@
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
5
5
|
*/
|
6
6
|
import path from 'node:path';
|
7
|
-
import { promises as fsp,
|
7
|
+
import { promises as fsp, readFileSync } from 'node:fs';
|
8
8
|
import * as os from 'os';
|
9
9
|
import { LLXPRT_DIR, GOOGLE_ACCOUNTS_FILENAME } from './paths.js';
|
10
10
|
function getGoogleAccountsCachePath() {
|
11
11
|
return path.join(os.homedir(), LLXPRT_DIR, GOOGLE_ACCOUNTS_FILENAME);
|
12
12
|
}
|
13
|
+
/**
|
14
|
+
* Parses and validates the string content of an accounts file.
|
15
|
+
* @param content The raw string content from the file.
|
16
|
+
* @returns A valid UserAccounts object.
|
17
|
+
*/
|
18
|
+
function parseAndValidateAccounts(content) {
|
19
|
+
const defaultState = { active: null, old: [] };
|
20
|
+
if (!content.trim()) {
|
21
|
+
return defaultState;
|
22
|
+
}
|
23
|
+
const parsed = JSON.parse(content);
|
24
|
+
// Inlined validation logic
|
25
|
+
if (typeof parsed !== 'object' || parsed === null) {
|
26
|
+
console.log('Invalid accounts file schema, starting fresh.');
|
27
|
+
return defaultState;
|
28
|
+
}
|
29
|
+
const { active, old } = parsed;
|
30
|
+
const isValid = (active === undefined || active === null || typeof active === 'string') &&
|
31
|
+
(old === undefined ||
|
32
|
+
(Array.isArray(old) && old.every((i) => typeof i === 'string')));
|
33
|
+
if (!isValid) {
|
34
|
+
console.log('Invalid accounts file schema, starting fresh.');
|
35
|
+
return defaultState;
|
36
|
+
}
|
37
|
+
return {
|
38
|
+
active: parsed.active ?? null,
|
39
|
+
old: parsed.old ?? [],
|
40
|
+
};
|
41
|
+
}
|
42
|
+
function readAccountsSync(filePath) {
|
43
|
+
const defaultState = { active: null, old: [] };
|
44
|
+
try {
|
45
|
+
const content = readFileSync(filePath, 'utf-8');
|
46
|
+
return parseAndValidateAccounts(content);
|
47
|
+
}
|
48
|
+
catch (error) {
|
49
|
+
if (error instanceof Error && 'code' in error && error.code === 'ENOENT') {
|
50
|
+
return defaultState;
|
51
|
+
}
|
52
|
+
console.log('Error during sync read of accounts, starting fresh.', error);
|
53
|
+
return defaultState;
|
54
|
+
}
|
55
|
+
}
|
13
56
|
async function readAccounts(filePath) {
|
57
|
+
const defaultState = { active: null, old: [] };
|
14
58
|
try {
|
15
59
|
const content = await fsp.readFile(filePath, 'utf-8');
|
16
|
-
|
17
|
-
return { active: null, old: [] };
|
18
|
-
}
|
19
|
-
const parsed = JSON.parse(content);
|
20
|
-
// Ensure both properties exist
|
21
|
-
return {
|
22
|
-
active: parsed.active || null,
|
23
|
-
old: parsed.old || [],
|
24
|
-
};
|
60
|
+
return parseAndValidateAccounts(content);
|
25
61
|
}
|
26
62
|
catch (error) {
|
27
63
|
if (error instanceof Error && 'code' in error && error.code === 'ENOENT') {
|
28
|
-
|
29
|
-
return { active: null, old: [] };
|
64
|
+
return defaultState;
|
30
65
|
}
|
31
|
-
|
32
|
-
|
33
|
-
return { active: null, old: [] };
|
66
|
+
console.log('Could not parse accounts file, starting fresh.', error);
|
67
|
+
return defaultState;
|
34
68
|
}
|
35
69
|
}
|
36
70
|
export async function cacheGoogleAccount(email) {
|
@@ -48,50 +82,21 @@ export async function cacheGoogleAccount(email) {
|
|
48
82
|
await fsp.writeFile(filePath, JSON.stringify(accounts, null, 2), 'utf-8');
|
49
83
|
}
|
50
84
|
export function getCachedGoogleAccount() {
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
const content = readFileSync(filePath, 'utf-8').trim();
|
55
|
-
if (!content) {
|
56
|
-
return null;
|
57
|
-
}
|
58
|
-
const accounts = JSON.parse(content);
|
59
|
-
return accounts.active;
|
60
|
-
}
|
61
|
-
return null;
|
62
|
-
}
|
63
|
-
catch (error) {
|
64
|
-
console.debug('Error reading cached Google Account:', error);
|
65
|
-
return null;
|
66
|
-
}
|
85
|
+
const filePath = getGoogleAccountsCachePath();
|
86
|
+
const accounts = readAccountsSync(filePath);
|
87
|
+
return accounts.active;
|
67
88
|
}
|
68
89
|
export function getLifetimeGoogleAccounts() {
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
const content = readFileSync(filePath, 'utf-8').trim();
|
75
|
-
if (!content) {
|
76
|
-
return 0;
|
77
|
-
}
|
78
|
-
const accounts = JSON.parse(content);
|
79
|
-
let count = accounts.old.length;
|
80
|
-
if (accounts.active) {
|
81
|
-
count++;
|
82
|
-
}
|
83
|
-
return count;
|
84
|
-
}
|
85
|
-
catch (error) {
|
86
|
-
console.debug('Error reading lifetime Google Accounts:', error);
|
87
|
-
return 0;
|
90
|
+
const filePath = getGoogleAccountsCachePath();
|
91
|
+
const accounts = readAccountsSync(filePath);
|
92
|
+
const allAccounts = new Set(accounts.old);
|
93
|
+
if (accounts.active) {
|
94
|
+
allAccounts.add(accounts.active);
|
88
95
|
}
|
96
|
+
return allAccounts.size;
|
89
97
|
}
|
90
98
|
export async function clearCachedGoogleAccount() {
|
91
99
|
const filePath = getGoogleAccountsCachePath();
|
92
|
-
if (!existsSync(filePath)) {
|
93
|
-
return;
|
94
|
-
}
|
95
100
|
const accounts = await readAccounts(filePath);
|
96
101
|
if (accounts.active) {
|
97
102
|
if (!accounts.old.includes(accounts.active)) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user_account.js","sourceRoot":"","sources":["../../../src/utils/user_account.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,QAAQ,IAAI,GAAG,EAAE,
|
1
|
+
{"version":3,"file":"user_account.js","sourceRoot":"","sources":["../../../src/utils/user_account.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,QAAQ,IAAI,GAAG,EAAE,YAAY,EAAE,MAAM,SAAS,CAA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1C,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;QACpB,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IACD,OAAO,WAAW,CAAC,IAAI,CAAC;AAC1B,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,wBAAwB;IAC5C,MAAM,QAAQ,GAAG,0BAA0B,EAAE,CAAC;IAC9C,MAAM,QAAQ,GAAG,MAAM,YAAY,CAAC,QAAQ,CAAC,CAAC;IAE9C,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;QACpB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YAC5C,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACrC,CAAC;QACD,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC;IACzB,CAAC;IAED,MAAM,GAAG,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;AAC5E,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vybestack/llxprt-code-core",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.23",
|
4
4
|
"description": "LLxprt Code Core",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -26,12 +26,16 @@
|
|
26
26
|
"@google/genai": "1.13.0",
|
27
27
|
"@modelcontextprotocol/sdk": "^1.11.0",
|
28
28
|
"@opentelemetry/api": "^1.9.0",
|
29
|
-
"@opentelemetry/exporter-logs-otlp-grpc": "^0.
|
30
|
-
"@opentelemetry/exporter-
|
31
|
-
"@opentelemetry/exporter-
|
32
|
-
"@opentelemetry/
|
33
|
-
"@opentelemetry/
|
29
|
+
"@opentelemetry/exporter-logs-otlp-grpc": "^0.203.0",
|
30
|
+
"@opentelemetry/exporter-logs-otlp-http": "^0.203.0",
|
31
|
+
"@opentelemetry/exporter-metrics-otlp-grpc": "^0.203.0",
|
32
|
+
"@opentelemetry/exporter-metrics-otlp-http": "^0.203.0",
|
33
|
+
"@opentelemetry/exporter-trace-otlp-grpc": "^0.203.0",
|
34
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.203.0",
|
35
|
+
"@opentelemetry/instrumentation-http": "^0.203.0",
|
36
|
+
"@opentelemetry/sdk-node": "^0.203.0",
|
34
37
|
"@types/glob": "^8.1.0",
|
38
|
+
"debug": "^4.3.4",
|
35
39
|
"@types/html-to-text": "^9.0.4",
|
36
40
|
"ajv": "8.17.1",
|
37
41
|
"chardet": "^2.1.0",
|
@@ -55,7 +59,17 @@
|
|
55
59
|
"simple-git": "^3.28.0",
|
56
60
|
"strip-ansi": "^7.1.0",
|
57
61
|
"undici": "^7.10.0",
|
58
|
-
"ws": "^8.18.0"
|
62
|
+
"ws": "^8.18.0",
|
63
|
+
"@xterm/headless": "5.5.0"
|
64
|
+
},
|
65
|
+
"optionalDependencies": {
|
66
|
+
"@lydell/node-pty": "1.1.0",
|
67
|
+
"node-pty": "^1.0.0",
|
68
|
+
"@lydell/node-pty-darwin-arm64": "1.1.0",
|
69
|
+
"@lydell/node-pty-darwin-x64": "1.1.0",
|
70
|
+
"@lydell/node-pty-linux-x64": "1.1.0",
|
71
|
+
"@lydell/node-pty-win32-arm64": "1.1.0",
|
72
|
+
"@lydell/node-pty-win32-x64": "1.1.0"
|
59
73
|
},
|
60
74
|
"devDependencies": {
|
61
75
|
"@types/diff": "^7.0.2",
|
@@ -64,6 +78,7 @@
|
|
64
78
|
"@types/minimatch": "^5.1.2",
|
65
79
|
"@types/node": "^24.2.1",
|
66
80
|
"@types/picomatch": "^4.0.1",
|
81
|
+
"@types/debug": "^4.1.12",
|
67
82
|
"@types/ws": "^8.5.10",
|
68
83
|
"@vybestack/llxprt-code-test-utils": "file:../test-utils",
|
69
84
|
"fast-check": "^4.2.0",
|