@theia/ai-ide 1.66.0-next.44 → 1.66.0-next.73
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/lib/browser/ai-configuration/agent-configuration-widget.d.ts.map +1 -1
- package/lib/browser/ai-configuration/agent-configuration-widget.js +5 -3
- package/lib/browser/ai-configuration/agent-configuration-widget.js.map +1 -1
- package/lib/browser/ai-configuration/language-model-renderer.d.ts.map +1 -1
- package/lib/browser/ai-configuration/language-model-renderer.js +4 -3
- package/lib/browser/ai-configuration/language-model-renderer.js.map +1 -1
- package/lib/browser/ai-configuration/model-aliases-configuration-widget.d.ts.map +1 -1
- package/lib/browser/ai-configuration/model-aliases-configuration-widget.js +4 -3
- package/lib/browser/ai-configuration/model-aliases-configuration-widget.js.map +1 -1
- package/lib/browser/ai-configuration/template-settings-renderer.js +1 -1
- package/lib/browser/ai-configuration/template-settings-renderer.js.map +1 -1
- package/lib/browser/ai-configuration/token-usage-configuration-widget.js +1 -1
- package/lib/browser/ai-configuration/token-usage-configuration-widget.js.map +1 -1
- package/lib/browser/ai-configuration/tools-configuration-widget.d.ts +1 -1
- package/lib/browser/ai-configuration/tools-configuration-widget.d.ts.map +1 -1
- package/lib/browser/ai-configuration/tools-configuration-widget.js +12 -12
- package/lib/browser/ai-configuration/tools-configuration-widget.js.map +1 -1
- package/lib/browser/ai-configuration/variable-configuration-widget.d.ts +1 -1
- package/lib/browser/ai-configuration/variable-configuration-widget.d.ts.map +1 -1
- package/lib/browser/ai-configuration/variable-configuration-widget.js +4 -3
- package/lib/browser/ai-configuration/variable-configuration-widget.js.map +1 -1
- package/lib/browser/app-tester-chat-agent.d.ts.map +1 -1
- package/lib/browser/app-tester-chat-agent.js +10 -7
- package/lib/browser/app-tester-chat-agent.js.map +1 -1
- package/lib/browser/architect-agent.d.ts.map +1 -1
- package/lib/browser/architect-agent.js +2 -2
- package/lib/browser/architect-agent.js.map +1 -1
- package/lib/browser/coder-agent.d.ts.map +1 -1
- package/lib/browser/coder-agent.js +6 -5
- package/lib/browser/coder-agent.js.map +1 -1
- package/lib/browser/file-changeset-functions.d.ts +10 -0
- package/lib/browser/file-changeset-functions.d.ts.map +1 -1
- package/lib/browser/file-changeset-functions.js +51 -3
- package/lib/browser/file-changeset-functions.js.map +1 -1
- package/lib/browser/file-changeset-functions.spec.js +18 -0
- package/lib/browser/file-changeset-functions.spec.js.map +1 -1
- package/lib/browser/frontend-module.d.ts.map +1 -1
- package/lib/browser/frontend-module.js +7 -0
- package/lib/browser/frontend-module.js.map +1 -1
- package/lib/browser/github-chat-agent.d.ts.map +1 -1
- package/lib/browser/github-chat-agent.js +18 -16
- package/lib/browser/github-chat-agent.js.map +1 -1
- package/lib/browser/github-repo-variable-contribution.d.ts +8 -10
- package/lib/browser/github-repo-variable-contribution.d.ts.map +1 -1
- package/lib/browser/github-repo-variable-contribution.js +22 -41
- package/lib/browser/github-repo-variable-contribution.js.map +1 -1
- package/lib/common/coder-replace-prompt-template.d.ts +2 -0
- package/lib/common/coder-replace-prompt-template.d.ts.map +1 -1
- package/lib/common/coder-replace-prompt-template.js +20 -8
- package/lib/common/coder-replace-prompt-template.js.map +1 -1
- package/lib/common/command-chat-agents.d.ts.map +1 -1
- package/lib/common/command-chat-agents.js +9 -9
- package/lib/common/command-chat-agents.js.map +1 -1
- package/lib/common/file-changeset-function-ids.d.ts +1 -0
- package/lib/common/file-changeset-function-ids.d.ts.map +1 -1
- package/lib/common/file-changeset-function-ids.js +2 -1
- package/lib/common/file-changeset-function-ids.js.map +1 -1
- package/lib/common/github-repo-protocol.d.ts +15 -0
- package/lib/common/github-repo-protocol.d.ts.map +1 -0
- package/lib/common/github-repo-protocol.js +21 -0
- package/lib/common/github-repo-protocol.js.map +1 -0
- package/lib/common/orchestrator-chat-agent.d.ts.map +1 -1
- package/lib/common/orchestrator-chat-agent.js +4 -4
- package/lib/common/orchestrator-chat-agent.js.map +1 -1
- package/lib/common/workspace-preferences.js +2 -2
- package/lib/common/workspace-preferences.js.map +1 -1
- package/lib/node/backend-module.d.ts.map +1 -1
- package/lib/node/backend-module.js +4 -0
- package/lib/node/backend-module.js.map +1 -1
- package/lib/node/github-repo-service-impl.d.ts +7 -0
- package/lib/node/github-repo-service-impl.d.ts.map +1 -0
- package/lib/node/github-repo-service-impl.js +86 -0
- package/lib/node/github-repo-service-impl.js.map +1 -0
- package/package.json +23 -23
- package/src/browser/ai-configuration/agent-configuration-widget.tsx +5 -3
- package/src/browser/ai-configuration/language-model-renderer.tsx +9 -4
- package/src/browser/ai-configuration/model-aliases-configuration-widget.tsx +8 -4
- package/src/browser/ai-configuration/template-settings-renderer.tsx +1 -1
- package/src/browser/ai-configuration/token-usage-configuration-widget.tsx +1 -1
- package/src/browser/ai-configuration/tools-configuration-widget.tsx +15 -14
- package/src/browser/ai-configuration/variable-configuration-widget.tsx +4 -3
- package/src/browser/app-tester-chat-agent.ts +15 -7
- package/src/browser/architect-agent.ts +4 -2
- package/src/browser/coder-agent.ts +10 -6
- package/src/browser/file-changeset-functions.spec.ts +28 -1
- package/src/browser/file-changeset-functions.ts +47 -3
- package/src/browser/frontend-module.ts +11 -1
- package/src/browser/github-chat-agent.ts +23 -17
- package/src/browser/github-repo-variable-contribution.ts +23 -50
- package/src/common/coder-replace-prompt-template.ts +23 -8
- package/src/common/command-chat-agents.ts +13 -9
- package/src/common/file-changeset-function-ids.ts +1 -0
- package/src/common/github-repo-protocol.ts +32 -0
- package/src/common/orchestrator-chat-agent.ts +5 -4
- package/src/common/workspace-preferences.ts +2 -2
- package/src/node/backend-module.ts +7 -0
- package/src/node/github-repo-service-impl.ts +98 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github-repo-variable-contribution.d.ts","sourceRoot":"","sources":["../../src/browser/github-repo-variable-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,YAAY,EAAO,MAAM,aAAa,CAAC;AAChD,OAAO,EACH,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,2BAA2B,EAC3B,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"github-repo-variable-contribution.d.ts","sourceRoot":"","sources":["../../src/browser/github-repo-variable-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,YAAY,EAAO,MAAM,aAAa,CAAC;AAChD,OAAO,EACH,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,2BAA2B,EAC3B,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,eAAO,MAAM,yBAAyB,EAAE,UAIvC,CAAC;AAEF,qBACa,8BAA+B,YAAW,sBAAsB,EAAE,kBAAkB;IAG7F,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAGtD,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAG5C,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAExD,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI;IAInD,UAAU,CAAC,OAAO,EAAE,2BAA2B,EAAE,QAAQ,EAAE,iBAAiB,GAAG,YAAY,CAAC,MAAM,CAAC;IAQ7F,OAAO,CAAC,OAAO,EAAE,2BAA2B,EAAE,QAAQ,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC;CA8B5H"}
|
|
@@ -19,9 +19,9 @@ exports.GitHubRepoVariableContribution = exports.GITHUB_REPO_NAME_VARIABLE = voi
|
|
|
19
19
|
const tslib_1 = require("tslib");
|
|
20
20
|
const inversify_1 = require("@theia/core/shared/inversify");
|
|
21
21
|
const core_1 = require("@theia/core");
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
22
|
+
const browser_1 = require("@theia/workspace/lib/browser");
|
|
23
|
+
const file_service_1 = require("@theia/filesystem/lib/browser/file-service");
|
|
24
|
+
const github_repo_protocol_1 = require("../common/github-repo-protocol");
|
|
25
25
|
exports.GITHUB_REPO_NAME_VARIABLE = {
|
|
26
26
|
id: 'github-repo-name-provider',
|
|
27
27
|
name: 'githubRepoName',
|
|
@@ -31,35 +31,30 @@ let GitHubRepoVariableContribution = class GitHubRepoVariableContribution {
|
|
|
31
31
|
registerVariables(service) {
|
|
32
32
|
service.registerResolver(exports.GITHUB_REPO_NAME_VARIABLE, this);
|
|
33
33
|
}
|
|
34
|
-
canResolve(request,
|
|
34
|
+
canResolve(request, _context) {
|
|
35
35
|
if (request.variable.name !== exports.GITHUB_REPO_NAME_VARIABLE.name) {
|
|
36
36
|
return 0;
|
|
37
37
|
}
|
|
38
|
-
const selectedRepo = this.repositoryProvider.selectedRepository;
|
|
39
|
-
if (!selectedRepo) {
|
|
40
|
-
return 0;
|
|
41
|
-
}
|
|
42
38
|
return 1;
|
|
43
39
|
}
|
|
44
|
-
async resolve(request,
|
|
40
|
+
async resolve(request, _context) {
|
|
45
41
|
if (request.variable.name !== exports.GITHUB_REPO_NAME_VARIABLE.name) {
|
|
46
42
|
return undefined;
|
|
47
43
|
}
|
|
48
|
-
const repository = this.repositoryProvider.selectedRepository;
|
|
49
|
-
if (!repository) {
|
|
50
|
-
return { variable: request.variable, value: 'No GitHub repository is currently selected or detected.' };
|
|
51
|
-
}
|
|
52
44
|
try {
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
const githubRemote = remotes.find(remote => remote.name === 'origin' && this.isGitHubRemote(remote.fetch)) || remotes.find(remote => this.isGitHubRemote(remote.fetch));
|
|
56
|
-
if (!githubRemote) {
|
|
45
|
+
const workspaceRoots = await this.workspaceService.roots;
|
|
46
|
+
if (workspaceRoots.length === 0) {
|
|
57
47
|
return { variable: request.variable, value: 'No GitHub repository is currently selected or detected.' };
|
|
58
48
|
}
|
|
59
|
-
|
|
60
|
-
|
|
49
|
+
// Get the filesystem path from the workspace root URI
|
|
50
|
+
const workspaceRoot = workspaceRoots[0].resource;
|
|
51
|
+
const workspacePath = workspaceRoot.path.fsPath();
|
|
52
|
+
// Use the backend service to get GitHub repository information
|
|
53
|
+
const repoInfo = await this.gitHubRepoService.getGitHubRepoInfo(workspacePath);
|
|
54
|
+
if (!repoInfo) {
|
|
61
55
|
return { variable: request.variable, value: 'No GitHub repository is currently selected or detected.' };
|
|
62
56
|
}
|
|
57
|
+
const repoName = `${repoInfo.owner}/${repoInfo.repo}`;
|
|
63
58
|
return { variable: request.variable, value: `You are currently working with the GitHub repository: **${repoName}**` };
|
|
64
59
|
}
|
|
65
60
|
catch (error) {
|
|
@@ -67,34 +62,20 @@ let GitHubRepoVariableContribution = class GitHubRepoVariableContribution {
|
|
|
67
62
|
return { variable: request.variable, value: 'No GitHub repository is currently selected or detected.' };
|
|
68
63
|
}
|
|
69
64
|
}
|
|
70
|
-
isGitHubRemote(remoteUrl) {
|
|
71
|
-
return remoteUrl.includes('github.com');
|
|
72
|
-
}
|
|
73
|
-
extractRepoNameFromGitHubUrl(url) {
|
|
74
|
-
const httpsMatch = url.match(/https:\/\/github\.com\/([^\/]+\/[^\/]+?)(?:\.git)?$/);
|
|
75
|
-
if (httpsMatch) {
|
|
76
|
-
return httpsMatch[1];
|
|
77
|
-
}
|
|
78
|
-
const sshMatch = url.match(/git@github\.com:([^\/]+\/[^\/]+?)(?:\.git)?$/);
|
|
79
|
-
if (sshMatch) {
|
|
80
|
-
return sshMatch[1];
|
|
81
|
-
}
|
|
82
|
-
return undefined;
|
|
83
|
-
}
|
|
84
65
|
};
|
|
85
66
|
exports.GitHubRepoVariableContribution = GitHubRepoVariableContribution;
|
|
86
67
|
tslib_1.__decorate([
|
|
87
|
-
(0, inversify_1.inject)(
|
|
88
|
-
tslib_1.__metadata("design:type",
|
|
89
|
-
], GitHubRepoVariableContribution.prototype, "
|
|
68
|
+
(0, inversify_1.inject)(browser_1.WorkspaceService),
|
|
69
|
+
tslib_1.__metadata("design:type", browser_1.WorkspaceService)
|
|
70
|
+
], GitHubRepoVariableContribution.prototype, "workspaceService", void 0);
|
|
90
71
|
tslib_1.__decorate([
|
|
91
|
-
(0, inversify_1.inject)(
|
|
92
|
-
tslib_1.__metadata("design:type",
|
|
93
|
-
], GitHubRepoVariableContribution.prototype, "
|
|
72
|
+
(0, inversify_1.inject)(file_service_1.FileService),
|
|
73
|
+
tslib_1.__metadata("design:type", file_service_1.FileService)
|
|
74
|
+
], GitHubRepoVariableContribution.prototype, "fileService", void 0);
|
|
94
75
|
tslib_1.__decorate([
|
|
95
|
-
(0, inversify_1.inject)(
|
|
76
|
+
(0, inversify_1.inject)(github_repo_protocol_1.GitHubRepoService),
|
|
96
77
|
tslib_1.__metadata("design:type", Object)
|
|
97
|
-
], GitHubRepoVariableContribution.prototype, "
|
|
78
|
+
], GitHubRepoVariableContribution.prototype, "gitHubRepoService", void 0);
|
|
98
79
|
exports.GitHubRepoVariableContribution = GitHubRepoVariableContribution = tslib_1.__decorate([
|
|
99
80
|
(0, inversify_1.injectable)()
|
|
100
81
|
], GitHubRepoVariableContribution);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github-repo-variable-contribution.js","sourceRoot":"","sources":["../../src/browser/github-repo-variable-contribution.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,4DAAkE;AAClE,sCAAgD;AAUhD,
|
|
1
|
+
{"version":3,"file":"github-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= "coder-system";
|
|
3
3
|
export declare const CODER_SIMPLE_EDIT_TEMPLATE_ID = "coder-system-simple-edit";
|
|
4
4
|
export declare const CODER_EDIT_TEMPLATE_ID = "coder-system-edit";
|
|
5
|
+
export declare const CODER_EDIT_NEXT_TEMPLATE_ID = "coder-system-edit-next";
|
|
5
6
|
export declare const CODER_AGENT_MODE_TEMPLATE_ID = "coder-system-agent-mode";
|
|
6
7
|
export declare function getCoderAgentModePromptTemplate(): BasePromptFragment;
|
|
7
8
|
export declare function getCoderPromptTemplateEdit(): BasePromptFragment;
|
|
9
|
+
export declare function getCoderPromptTemplateEditNext(): BasePromptFragment;
|
|
8
10
|
export declare function getCoderPromptTemplateSimpleEdit(): BasePromptFragment;
|
|
9
11
|
//# sourceMappingURL=coder-replace-prompt-template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coder-replace-prompt-template.d.ts","sourceRoot":"","sources":["../../src/common/coder-replace-prompt-template.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"coder-replace-prompt-template.d.ts","sourceRoot":"","sources":["../../src/common/coder-replace-prompt-template.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAuB/D,eAAO,MAAM,sBAAsB,iBAAiB,CAAC;AAErD,eAAO,MAAM,6BAA6B,6BAA6B,CAAC;AACxE,eAAO,MAAM,sBAAsB,sBAAsB,CAAC;AAC1D,eAAO,MAAM,2BAA2B,2BAA2B,CAAC;AACpE,eAAO,MAAM,4BAA4B,4BAA4B,CAAC;AAEtE,wBAAgB,+BAA+B,IAAI,kBAAkB,CAwHpE;AAyED,wBAAgB,0BAA0B,IAAI,kBAAkB,CAK/D;AAED,wBAAgB,8BAA8B,IAAI,kBAAkB,CAMnE;AAED,wBAAgB,gCAAgC,IAAI,kBAAkB,CA8DrE"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// SPDX-License-Identifier: MIT
|
|
11
11
|
// *****************************************************************************
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.getCoderPromptTemplateSimpleEdit = exports.getCoderPromptTemplateEdit = exports.getCoderAgentModePromptTemplate = exports.CODER_AGENT_MODE_TEMPLATE_ID = exports.CODER_EDIT_TEMPLATE_ID = exports.CODER_SIMPLE_EDIT_TEMPLATE_ID = exports.CODER_SYSTEM_PROMPT_ID = void 0;
|
|
13
|
+
exports.getCoderPromptTemplateSimpleEdit = exports.getCoderPromptTemplateEditNext = exports.getCoderPromptTemplateEdit = exports.getCoderAgentModePromptTemplate = exports.CODER_AGENT_MODE_TEMPLATE_ID = exports.CODER_EDIT_NEXT_TEMPLATE_ID = exports.CODER_EDIT_TEMPLATE_ID = exports.CODER_SIMPLE_EDIT_TEMPLATE_ID = exports.CODER_SYSTEM_PROMPT_ID = void 0;
|
|
14
14
|
const ai_chat_1 = require("@theia/ai-chat");
|
|
15
15
|
const workspace_functions_1 = require("./workspace-functions");
|
|
16
16
|
const context_variables_1 = require("./context-variables");
|
|
@@ -19,6 +19,7 @@ const file_changeset_function_ids_1 = require("./file-changeset-function-ids");
|
|
|
19
19
|
exports.CODER_SYSTEM_PROMPT_ID = 'coder-system';
|
|
20
20
|
exports.CODER_SIMPLE_EDIT_TEMPLATE_ID = 'coder-system-simple-edit';
|
|
21
21
|
exports.CODER_EDIT_TEMPLATE_ID = 'coder-system-edit';
|
|
22
|
+
exports.CODER_EDIT_NEXT_TEMPLATE_ID = 'coder-system-edit-next';
|
|
22
23
|
exports.CODER_AGENT_MODE_TEMPLATE_ID = 'coder-system-agent-mode';
|
|
23
24
|
function getCoderAgentModePromptTemplate() {
|
|
24
25
|
return {
|
|
@@ -142,10 +143,8 @@ You are an autonomous AI agent. Do not stop until:
|
|
|
142
143
|
};
|
|
143
144
|
}
|
|
144
145
|
exports.getCoderAgentModePromptTemplate = getCoderAgentModePromptTemplate;
|
|
145
|
-
function
|
|
146
|
-
return {
|
|
147
|
-
id: exports.CODER_EDIT_TEMPLATE_ID,
|
|
148
|
-
template: `{{!-- This prompt is licensed under the MIT License (https://opensource.org/license/mit).
|
|
146
|
+
function getCoderEditPromptTemplate(suggestFileReplacementsId) {
|
|
147
|
+
return `{{!-- This prompt is licensed under the MIT License (https://opensource.org/license/mit).
|
|
149
148
|
Made improvements or adaptations to this prompt template? We'd love for you to share it with the community! Contribute back here:
|
|
150
149
|
https://github.com/eclipse-theia/theia/discussions/new?category=prompt-template-contribution --}}
|
|
151
150
|
You are an AI assistant integrated into Theia IDE, designed to assist software developers with code tasks. You can interact with the code base and suggest changes, \
|
|
@@ -172,9 +171,9 @@ This also applies for newly created files!
|
|
|
172
171
|
- **Always Retrieve Current Content**: Use getFileContent to get the original content of the target file.
|
|
173
172
|
- **View Pending Changes**: Use ~{${file_changeset_function_ids_1.GET_PROPOSED_CHANGES_ID}} to see the current proposed state of a file, including all pending changes.
|
|
174
173
|
- **Change Content**: Use one of these methods to propose changes:
|
|
175
|
-
- ~{${
|
|
174
|
+
- ~{${suggestFileReplacementsId}}: For targeted replacements of specific text sections. Multiple calls will merge changes unless you set the reset parameter to true.
|
|
176
175
|
- ~{${file_changeset_function_ids_1.SUGGEST_FILE_CONTENT_ID}}: For complete file rewrites when you need to replace the entire content.
|
|
177
|
-
- If ~{${
|
|
176
|
+
- If ~{${suggestFileReplacementsId}} continuously fails use ~{${file_changeset_function_ids_1.SUGGEST_FILE_CONTENT_ID}}.
|
|
178
177
|
- ~{${file_changeset_function_ids_1.CLEAR_FILE_CHANGES_ID}}: To clear all pending changes for a file and start fresh.
|
|
179
178
|
|
|
180
179
|
The changes will be presented as an applicable diff to the user in any case. The user can then accept or reject each change individually. Before you run tasks that depend on the \
|
|
@@ -212,10 +211,23 @@ You have previously proposed changes for the following files. Some suggestions m
|
|
|
212
211
|
- Tasks such as building or liniting run on the workspace state, the user has to accept the changes beforehand
|
|
213
212
|
- Do not run a build or any error checking before the users asks you to
|
|
214
213
|
- Focus on the task that the user described
|
|
215
|
-
|
|
214
|
+
`;
|
|
215
|
+
}
|
|
216
|
+
function getCoderPromptTemplateEdit() {
|
|
217
|
+
return {
|
|
218
|
+
id: exports.CODER_EDIT_TEMPLATE_ID,
|
|
219
|
+
template: getCoderEditPromptTemplate(file_changeset_function_ids_1.SUGGEST_FILE_REPLACEMENTS_ID)
|
|
216
220
|
};
|
|
217
221
|
}
|
|
218
222
|
exports.getCoderPromptTemplateEdit = getCoderPromptTemplateEdit;
|
|
223
|
+
function getCoderPromptTemplateEditNext() {
|
|
224
|
+
return {
|
|
225
|
+
id: exports.CODER_EDIT_NEXT_TEMPLATE_ID,
|
|
226
|
+
template: getCoderEditPromptTemplate(file_changeset_function_ids_1.SUGGEST_FILE_REPLACEMENTS_NEXT_ID),
|
|
227
|
+
...({ variantOf: exports.CODER_EDIT_TEMPLATE_ID })
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
exports.getCoderPromptTemplateEditNext = getCoderPromptTemplateEditNext;
|
|
219
231
|
function getCoderPromptTemplateSimpleEdit() {
|
|
220
232
|
return {
|
|
221
233
|
id: exports.CODER_SIMPLE_EDIT_TEMPLATE_ID,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coder-replace-prompt-template.js","sourceRoot":"","sources":["../../src/common/coder-replace-prompt-template.ts"],"names":[],"mappings":";AAAA,qDAAqD;AACrD,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,+CAA+C;AAC/C,mEAAmE;AACnE,sCAAsC;AACtC,EAAE;AACF,+BAA+B;AAC/B,gFAAgF;;;AAGhF,4CAAgE;AAChE,+DAQ+B;AAC/B,2DAAkG;AAClG,2DAAuE;AACvE,+
|
|
1
|
+
{"version":3,"file":"coder-replace-prompt-template.js","sourceRoot":"","sources":["../../src/common/coder-replace-prompt-template.ts"],"names":[],"mappings":";AAAA,qDAAqD;AACrD,gFAAgF;AAChF,oDA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CAAC,GAAG,WAAW,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAK5E"}
|
|
@@ -32,12 +32,12 @@ let CommandChatAgent = class CommandChatAgent extends chat_agents_1.AbstractText
|
|
|
32
32
|
identifier: 'default/universal',
|
|
33
33
|
}];
|
|
34
34
|
this.defaultLanguageModelPurpose = 'command';
|
|
35
|
-
this.description = 'This agent is aware of all commands that the user can execute within the Theia IDE, the tool that the user is currently working with.
|
|
36
|
-
|
|
35
|
+
this.description = core_1.nls.localize('theia/ai/ide/commandAgent/description', 'This agent is aware of all commands that the user can execute within the Theia IDE, the tool that the user is currently working with. ' +
|
|
36
|
+
'Based on the user request, it can find the right command and then let the user execute it.');
|
|
37
37
|
this.prompts = [command_prompt_template_1.commandTemplate];
|
|
38
38
|
this.agentSpecificVariables = [{
|
|
39
39
|
name: 'command-ids',
|
|
40
|
-
description: 'The list of available commands in Theia.',
|
|
40
|
+
description: core_1.nls.localize('theia/ai/ide/commandAgent/vars/commandIds/description', 'The list of available commands in Theia.'),
|
|
41
41
|
usedInPrompt: true
|
|
42
42
|
}];
|
|
43
43
|
}
|
|
@@ -81,7 +81,7 @@ let CommandChatAgent = class CommandChatAgent extends chat_agents_1.AbstractText
|
|
|
81
81
|
? parsedCommand.arguments
|
|
82
82
|
: undefined;
|
|
83
83
|
return new chat_model_1.HorizontalLayoutChatResponseContentImpl([
|
|
84
|
-
new chat_model_1.MarkdownChatResponseContentImpl('I found this command that might help you:'),
|
|
84
|
+
new chat_model_1.MarkdownChatResponseContentImpl(core_1.nls.localize('theia/ai/ide/commandAgent/response/theiaCommand', 'I found this command that might help you:')),
|
|
85
85
|
new chat_model_1.CommandChatResponseContentImpl(theiaCommand, undefined, args),
|
|
86
86
|
]);
|
|
87
87
|
}
|
|
@@ -90,21 +90,21 @@ let CommandChatAgent = class CommandChatAgent extends chat_agents_1.AbstractText
|
|
|
90
90
|
const commandArgs = parsedCommand.arguments !== undefined && parsedCommand.arguments.length > 0 ? parsedCommand.arguments : [];
|
|
91
91
|
const args = [id, ...commandArgs];
|
|
92
92
|
const customCallback = {
|
|
93
|
-
label: 'AI command',
|
|
93
|
+
label: core_1.nls.localize('theia/ai/ide/commandAgent/commandCallback/label', 'AI command'),
|
|
94
94
|
callback: () => this.commandCallback(...args),
|
|
95
95
|
};
|
|
96
96
|
return new chat_model_1.HorizontalLayoutChatResponseContentImpl([
|
|
97
|
-
new chat_model_1.MarkdownChatResponseContentImpl('Try executing this:'),
|
|
97
|
+
new chat_model_1.MarkdownChatResponseContentImpl(core_1.nls.localize('theia/ai/ide/commandAgent/response/customHandler', 'Try executing this:')),
|
|
98
98
|
new chat_model_1.CommandChatResponseContentImpl(undefined, customCallback, args),
|
|
99
99
|
]);
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
102
|
-
return new chat_model_1.MarkdownChatResponseContentImpl((_a = parsedCommand.message) !== null && _a !== void 0 ? _a : 'Sorry, I can\'t find such a command');
|
|
102
|
+
return new chat_model_1.MarkdownChatResponseContentImpl((_a = parsedCommand.message) !== null && _a !== void 0 ? _a : core_1.nls.localize('theia/ai/ide/commandAgent/response/noCommand', 'Sorry, I can\'t find such a command'));
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
async commandCallback(...commandArgs) {
|
|
106
|
-
this.messageService.info(
|
|
107
|
-
|
|
106
|
+
this.messageService.info(core_1.nls.localize('theia/ai/ide/commandAgent/commandCallback/message', 'Executing callback with args {0}. The first arg is the command id registered for the dynamically registered command. ' +
|
|
107
|
+
'The other args are the actual args for the handler.', commandArgs.join(', ')), core_1.nls.localize('theia/ai/ide/commandAgent/commandCallback/confirmAction', 'Got it'));
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
exports.CommandChatAgent = CommandChatAgent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-chat-agents.js","sourceRoot":"","sources":["../../src/common/command-chat-agents.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,4DAAkE;AAClE,uEAAsH;AAEtH,qEAO8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"command-chat-agents.js","sourceRoot":"","sources":["../../src/common/command-chat-agents.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,4DAAkE;AAClE,uEAAsH;AAEtH,qEAO8C;AAC9C,sCAKqB;AAErB,uEAA4D;AAUrD,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,iDAAkD;IAAjF;;QAMH,OAAE,GAAW,SAAS,CAAC;QACvB,SAAI,GAAG,SAAS,CAAC;QACjB,8BAAyB,GAA+B,CAAC;gBACrD,OAAO,EAAE,SAAS;gBAClB,UAAU,EAAE,mBAAmB;aAClC,CAAC,CAAC;QACO,gCAA2B,GAAW,SAAS,CAAC;QAEjD,gBAAW,GAAG,UAAG,CAAC,QAAQ,CAAC,uCAAuC,EACvE,wIAAwI;YACxI,4FAA4F,CAAC,CAAC;QACzF,YAAO,GAAG,CAAC,yCAAe,CAAC,CAAC;QAC5B,2BAAsB,GAAG,CAAC;gBAC/B,IAAI,EAAE,aAAa;gBACnB,WAAW,EAAE,UAAG,CAAC,QAAQ,CAAC,uDAAuD,EAAE,0CAA0C,CAAC;gBAC9H,YAAY,EAAE,IAAI;aACrB,CAAC,CAAC;IA0EP,CAAC;IAxEsB,KAAK,CAAC,2BAA2B,C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,CAAC,MAAA,aAAa,CAAC,OAAO,mCAAI,UAAG,CAAC,QAAQ,CAAC,8CAA8C,EAC3H,qCAAqC,CAAC,CAAC,CAAC;QAChD,CAAC;IACL,CAAC;IAES,KAAK,CAAC,eAAe,CAAC,GAAG,WAAsB;QACrD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAG,CAAC,QAAQ,CAAC,mDAAmD,EACrF,uHAAuH;YACvH,qDAAqD,EAAE,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,UAAG,CAAC,QAAQ,CAAC,yDAAyD,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC3K,CAAC;CACJ,CAAA;AAhGY,4CAAgB;AAEf;IADT,IAAA,kBAAM,EAAC,sBAAe,CAAC;sCACG,sBAAe;yDAAC;AAEjC;IADT,IAAA,kBAAM,EAAC,qBAAc,CAAC;sCACG,qBAAc;wDAAC;2BAJhC,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;GACA,gBAAgB,CAgG5B"}
|
|
@@ -4,4 +4,5 @@ export declare const SUGGEST_FILE_REPLACEMENTS_ID = "suggestFileReplacements";
|
|
|
4
4
|
export declare const WRITE_FILE_REPLACEMENTS_ID = "writeFileReplacements";
|
|
5
5
|
export declare const CLEAR_FILE_CHANGES_ID = "clearFileChanges";
|
|
6
6
|
export declare const GET_PROPOSED_CHANGES_ID = "getProposedFileState";
|
|
7
|
+
export declare const SUGGEST_FILE_REPLACEMENTS_NEXT_ID = "suggestFileReplacements_Next";
|
|
7
8
|
//# sourceMappingURL=file-changeset-function-ids.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-changeset-function-ids.d.ts","sourceRoot":"","sources":["../../src/common/file-changeset-function-ids.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAC5D,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AACxD,eAAO,MAAM,4BAA4B,4BAA4B,CAAC;AACtE,eAAO,MAAM,0BAA0B,0BAA0B,CAAC;AAClE,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AACxD,eAAO,MAAM,uBAAuB,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"file-changeset-function-ids.d.ts","sourceRoot":"","sources":["../../src/common/file-changeset-function-ids.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAC5D,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AACxD,eAAO,MAAM,4BAA4B,4BAA4B,CAAC;AACtE,eAAO,MAAM,0BAA0B,0BAA0B,CAAC;AAClE,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AACxD,eAAO,MAAM,uBAAuB,yBAAyB,CAAC;AAC9D,eAAO,MAAM,iCAAiC,iCAAiC,CAAC"}
|
|
@@ -15,11 +15,12 @@
|
|
|
15
15
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
16
|
// *****************************************************************************
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.GET_PROPOSED_CHANGES_ID = exports.CLEAR_FILE_CHANGES_ID = exports.WRITE_FILE_REPLACEMENTS_ID = exports.SUGGEST_FILE_REPLACEMENTS_ID = exports.WRITE_FILE_CONTENT_ID = exports.SUGGEST_FILE_CONTENT_ID = void 0;
|
|
18
|
+
exports.SUGGEST_FILE_REPLACEMENTS_NEXT_ID = exports.GET_PROPOSED_CHANGES_ID = exports.CLEAR_FILE_CHANGES_ID = exports.WRITE_FILE_REPLACEMENTS_ID = exports.SUGGEST_FILE_REPLACEMENTS_ID = exports.WRITE_FILE_CONTENT_ID = exports.SUGGEST_FILE_CONTENT_ID = void 0;
|
|
19
19
|
exports.SUGGEST_FILE_CONTENT_ID = 'suggestFileContent';
|
|
20
20
|
exports.WRITE_FILE_CONTENT_ID = 'writeFileContent';
|
|
21
21
|
exports.SUGGEST_FILE_REPLACEMENTS_ID = 'suggestFileReplacements';
|
|
22
22
|
exports.WRITE_FILE_REPLACEMENTS_ID = 'writeFileReplacements';
|
|
23
23
|
exports.CLEAR_FILE_CHANGES_ID = 'clearFileChanges';
|
|
24
24
|
exports.GET_PROPOSED_CHANGES_ID = 'getProposedFileState';
|
|
25
|
+
exports.SUGGEST_FILE_REPLACEMENTS_NEXT_ID = 'suggestFileReplacements_Next';
|
|
25
26
|
//# sourceMappingURL=file-changeset-function-ids.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-changeset-function-ids.js","sourceRoot":"","sources":["../../src/common/file-changeset-function-ids.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;;;AAEnE,QAAA,uBAAuB,GAAG,oBAAoB,CAAC;AAC/C,QAAA,qBAAqB,GAAG,kBAAkB,CAAC;AAC3C,QAAA,4BAA4B,GAAG,yBAAyB,CAAC;AACzD,QAAA,0BAA0B,GAAG,uBAAuB,CAAC;AACrD,QAAA,qBAAqB,GAAG,kBAAkB,CAAC;AAC3C,QAAA,uBAAuB,GAAG,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"file-changeset-function-ids.js","sourceRoot":"","sources":["../../src/common/file-changeset-function-ids.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;;;AAEnE,QAAA,uBAAuB,GAAG,oBAAoB,CAAC;AAC/C,QAAA,qBAAqB,GAAG,kBAAkB,CAAC;AAC3C,QAAA,4BAA4B,GAAG,yBAAyB,CAAC;AACzD,QAAA,0BAA0B,GAAG,uBAAuB,CAAC;AACrD,QAAA,qBAAqB,GAAG,kBAAkB,CAAC;AAC3C,QAAA,uBAAuB,GAAG,sBAAsB,CAAC;AACjD,QAAA,iCAAiC,GAAG,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const GitHubRepoService: unique symbol;
|
|
2
|
+
export declare const githubRepoServicePath = "/services/github-repo";
|
|
3
|
+
export interface GitHubRepoInfo {
|
|
4
|
+
owner: string;
|
|
5
|
+
repo: string;
|
|
6
|
+
}
|
|
7
|
+
export interface GitHubRepoService {
|
|
8
|
+
/**
|
|
9
|
+
* Gets the GitHub repository information for the given workspace path.
|
|
10
|
+
* @param workspacePath The absolute path to the workspace directory
|
|
11
|
+
* @returns GitHub repository info (owner/repo) or undefined if not a GitHub repository
|
|
12
|
+
*/
|
|
13
|
+
getGitHubRepoInfo(workspacePath: string): Promise<GitHubRepoInfo | undefined>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=github-repo-protocol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"github-repo-protocol.d.ts","sourceRoot":"","sources":["../../src/common/github-repo-protocol.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,iBAAiB,eAA8B,CAAC;AAC7D,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;CACjF"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2025 EclipseSource GmbH.
|
|
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.githubRepoServicePath = exports.GitHubRepoService = void 0;
|
|
19
|
+
exports.GitHubRepoService = Symbol('GitHubRepoService');
|
|
20
|
+
exports.githubRepoServicePath = '/services/github-repo';
|
|
21
|
+
//# sourceMappingURL=github-repo-protocol.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"github-repo-protocol.js","sourceRoot":"","sources":["../../src/common/github-repo-protocol.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;;;AAEnE,QAAA,iBAAiB,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAChD,QAAA,qBAAqB,GAAG,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator-chat-agent.d.ts","sourceRoot":"","sources":["../../src/common/orchestrator-chat-agent.ts"],"names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B,EAAE,MAAM,gBAAgB,CAAC;AAExJ,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AACtF,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAwC,MAAM,sCAAsC,CAAC;AAIrH,eAAO,MAAM,uBAAuB,iBAAiB,CAAC;AAGtD,qBACa,qBAAsB,SAAQ,8BAA8B;IACrE,EAAE,EAAE,MAAM,CAA2B;IACrC,IAAI,SAA2B;IAC/B,yBAAyB,EAAE,wBAAwB,EAAE,CAGlD;IACH,SAAS,CAAC,2BAA2B,EAAE,MAAM,CAAqB;IAEzD,OAAO,8CAA0B;IACjC,WAAW,SAE+F;IAC1G,SAAS,EAAE,MAAM,CAAoC;IAE9D,UAAmB,cAAc,EAAE,MAAM,CAA2B;IAEpE,OAAO,CAAC,mBAAmB,CAAe;IAG1C,SAAS,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAE9B,MAAM,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC;cAS7C,cAAc,CACnC,OAAO,EAAE,uBAAuB,EAChC,QAAQ,EAAE,oBAAoB,EAAE,EAChC,YAAY,EAAE,eAAe,EAAE,EAC/B,aAAa,EAAE,aAAa,GAC7B,OAAO,CAAC,qBAAqB,CAAC;cAqBR,qBAAqB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC;CAyDnI"}
|
|
@@ -44,7 +44,7 @@ let OrchestratorChatAgent = class OrchestratorChatAgent extends chat_agents_1.Ab
|
|
|
44
44
|
this.fallBackChatAgentId = 'Universal';
|
|
45
45
|
}
|
|
46
46
|
async invoke(request) {
|
|
47
|
-
request.response.addProgressMessage({ content: 'Determining the most appropriate agent', status: 'inProgress' });
|
|
47
|
+
request.response.addProgressMessage({ content: core_1.nls.localize('theia/ai/ide/orchestrator/progressMessage', 'Determining the most appropriate agent'), status: 'inProgress' });
|
|
48
48
|
// We use a dedicated id for the orchestrator request
|
|
49
49
|
const orchestratorRequestId = (0, core_1.generateUuid)();
|
|
50
50
|
request.addData(OrchestratorRequestIdKey, orchestratorRequestId);
|
|
@@ -95,13 +95,13 @@ let OrchestratorChatAgent = class OrchestratorChatAgent extends chat_agents_1.Ab
|
|
|
95
95
|
agentIds = [firstRegisteredAgent];
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
98
|
-
throw new Error('No chat agent available to handle request. Please check your configuration whether any are enabled.');
|
|
98
|
+
throw new Error(core_1.nls.localize('theia/ai/ide/orchestrator/error/noAgents', 'No chat agent available to handle request. Please check your configuration whether any are enabled.'));
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
// TODO support delegating to more than one agent
|
|
102
102
|
const delegatedToAgent = agentIds[0];
|
|
103
|
-
request.response.response.addContent(new chat_model_1.InformationalChatResponseContentImpl(`*Orchestrator*: Delegating to
|
|
104
|
-
|
|
103
|
+
request.response.response.addContent(new chat_model_1.InformationalChatResponseContentImpl(`*Orchestrator*: ${core_1.nls.localize('theia/ai/ide/orchestrator/response/delegatingToAgent', 'Delegating to \`@{0}\`', delegatedToAgent)}
|
|
104
|
+
|
|
105
105
|
---
|
|
106
106
|
|
|
107
107
|
`));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator-chat-agent.js","sourceRoot":"","sources":["../../src/common/orchestrator-chat-agent.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,4CAAwJ;AACxJ,4DAAkE;AAClE,qFAAgF;A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AG,eAAe,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CACtF,CAAC;QACF,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;QAC/D,IAAI,CAAC,KAAK,EAAE,CAAC;YACT,MAAM,IAAI,KAAK,CAAC,cAAc,gBAAgB,aAAa,CAAC,CAAC;QACjE,CAAC;QAED,wCAAwC;QACxC,MAAM,eAAe,GAAG,mBAAmB,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,iBAA4C,CAAC,CAAC,CAAC,OAAO,CAAC;QACxH,MAAM,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;IACxC,CAAC;CACJ,CAAA;AAlHY,sDAAqB;AAoBpB;IADT,IAAA,kBAAM,EAAC,qCAAgB,CAAC;;+DACoB;gCApBpC,qBAAqB;IADjC,IAAA,sBAAU,GAAE;GACA,qBAAqB,CAkHjC"}
|
|
@@ -32,13 +32,13 @@ exports.WorkspacePreferencesSchema = {
|
|
|
32
32
|
type: 'boolean',
|
|
33
33
|
title: core_1.nls.localize('theia/ai/workspace/considerGitignore/title', 'Consider .gitignore'),
|
|
34
34
|
description: core_1.nls.localize('theia/ai/workspace/considerGitignore/description', 'If enabled, excludes files/folders specified in a global .gitignore file (expected location is the workspace root).'),
|
|
35
|
-
default:
|
|
35
|
+
default: true
|
|
36
36
|
},
|
|
37
37
|
[exports.USER_EXCLUDE_PATTERN_PREF]: {
|
|
38
38
|
type: 'array',
|
|
39
39
|
title: core_1.nls.localize('theia/ai/workspace/excludedPattern/title', 'Excluded File Patterns'),
|
|
40
40
|
description: core_1.nls.localize('theia/ai/workspace/excludedPattern/description', 'List of patterns (glob or regex) for files/folders to exclude.'),
|
|
41
|
-
default: ['node_modules', 'lib'
|
|
41
|
+
default: ['node_modules', 'lib'],
|
|
42
42
|
items: {
|
|
43
43
|
type: 'string'
|
|
44
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-preferences.js","sourceRoot":"","sources":["../../src/common/workspace-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,sCAAoD;AAEvC,QAAA,uBAAuB,GAAG,kDAAkD,CAAC;AAC7E,QAAA,yBAAyB,GAAG,6CAA6C,CAAC;AAC1E,QAAA,oCAAoC,GAAG,iDAAiD,CAAC;AACzF,QAAA,0CAA0C,GAAG,0DAA0D,CAAC;AACxG,QAAA,0CAA0C,GAAG,gDAAgD,CAAC;AAC9F,QAAA,oCAAoC,GAAG,oDAAoD,CAAC;AAC5F,QAAA,mCAAmC,GAAG,yDAAyD,CAAC;AAE7G,MAAM,+BAA+B,GAAG;iEACyB,CAAC;AAErD,QAAA,0BAA0B,GAAqB;IACxD,UAAU,EAAE;QACR,CAAC,+BAAuB,CAAC,EAAE;YACvB,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,UAAG,CAAC,QAAQ,CAAC,4CAA4C,EAAE,qBAAqB,CAAC;YACxF,WAAW,EAAE,UAAG,CAAC,QAAQ,CAAC,kDAAkD,EACxE,qHAAqH,CAAC;YAC1H,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"workspace-preferences.js","sourceRoot":"","sources":["../../src/common/workspace-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,sCAAoD;AAEvC,QAAA,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AAC,QAAQ,CAAC,4CAA4C,EAAE,gDAAgD,CAAC;YACnH,WAAW,EAAE,UAAG,CAAC,QAAQ,CAAC,kDAAkD,EACxE,4HAA4H;gBAC5H,+BAA+B,CAAC;YACpC,OAAO,EAAE,CAAC,UAAU,CAAC;YACrB,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;SACJ;QACD,CAAC,kDAA0C,CAAC,EAAE;YAC1C,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,UAAG,CAAC,QAAQ,CAAC,2CAA2C,EAAE,4CAA4C,CAAC;YAC9G,WAAW,EAAE,UAAG,CAAC,QAAQ,CAAC,iDAAiD,EACvE,wJAAwJ,CAAC;YAC7J,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;SACJ;QACD,CAAC,4CAAoC,CAAC,EAAE;YACpC,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,UAAG,CAAC,QAAQ,CAAC,sCAAsC,EAAE,0CAA0C,CAAC;YACvG,WAAW,EAAE,UAAG,CAAC,QAAQ,CAAC,4CAA4C,EAClE,oGAAoG;gBACpG,+BAA+B,CAAC;YACpC,OAAO,EAAE,EAAE;YACX,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;SACJ;QACD,CAAC,2CAAmC,CAAC,EAAE;YACnC,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,UAAG,CAAC,QAAQ,CAAC,uDAAuD,EAC7E,qGAAqG;gBACrG,+FAA+F,CAClG;YACD,OAAO,EAAE,wBAAwB;SACpC;KACJ;CACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backend-module.d.ts","sourceRoot":"","sources":["../../src/node/backend-module.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;
|
|
1
|
+
{"version":3,"file":"backend-module.d.ts","sourceRoot":"","sources":["../../src/node/backend-module.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAsB/D,wBAYG"}
|
|
@@ -23,6 +23,8 @@ const connection_container_module_1 = require("@theia/core/lib/node/messaging/co
|
|
|
23
23
|
const workspace_preferences_1 = require("../common/workspace-preferences");
|
|
24
24
|
const ai_configuration_preferences_1 = require("../common/ai-configuration-preferences");
|
|
25
25
|
const ai_ide_preferences_1 = require("../common/ai-ide-preferences");
|
|
26
|
+
const github_repo_protocol_1 = require("../common/github-repo-protocol");
|
|
27
|
+
const github_repo_service_impl_1 = require("./github-repo-service-impl");
|
|
26
28
|
const browserAutomationModule = connection_container_module_1.ConnectionContainerModule.create(({ bind, bindBackendService, bindFrontendService }) => {
|
|
27
29
|
bind(browser_automation_protocol_1.BrowserAutomation).to(browser_automation_impl_1.BrowserAutomationImpl).inSingletonScope();
|
|
28
30
|
bind(core_1.ConnectionHandler).toDynamicValue(ctx => new core_1.RpcConnectionHandler(browser_automation_protocol_1.browserAutomationPath, client => {
|
|
@@ -37,5 +39,7 @@ exports.default = new inversify_1.ContainerModule(bind => {
|
|
|
37
39
|
bind(core_1.PreferenceContribution).toConstantValue({ schema: workspace_preferences_1.WorkspacePreferencesSchema });
|
|
38
40
|
bind(core_1.PreferenceContribution).toConstantValue({ schema: ai_configuration_preferences_1.AiConfigurationPreferences });
|
|
39
41
|
bind(connection_container_module_1.ConnectionContainerModule).toConstantValue(browserAutomationModule);
|
|
42
|
+
bind(github_repo_protocol_1.GitHubRepoService).to(github_repo_service_impl_1.GitHubRepoServiceImpl).inSingletonScope();
|
|
43
|
+
bind(core_1.ConnectionHandler).toDynamicValue(ctx => new core_1.RpcConnectionHandler(github_repo_protocol_1.githubRepoServicePath, () => ctx.container.get(github_repo_protocol_1.GitHubRepoService))).inSingletonScope();
|
|
40
44
|
});
|
|
41
45
|
//# sourceMappingURL=backend-module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backend-module.js","sourceRoot":"","sources":["../../src/node/backend-module.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,sCAA8F;AAC9F,4DAA+D;AAC/D,uFAA+H;AAC/H,wFAAmF;AACnF,4GAAuG;AACvG,2EAA6E;AAC7E,yFAAoF;AACpF,qEAAqE;
|
|
1
|
+
{"version":3,"file":"backend-module.js","sourceRoot":"","sources":["../../src/node/backend-module.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,sCAA8F;AAC9F,4DAA+D;AAC/D,uFAA+H;AAC/H,wFAAmF;AACnF,4GAAuG;AACvG,2EAA6E;AAC7E,yFAAoF;AACpF,qEAAqE;AACrE,yEAA0F;AAC1F,yEAAmE;AAEnE,MAAM,uBAAuB,GAAG,uDAAyB,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,EAAE,EAAE;IACnH,IAAI,CAAC,+CAAiB,CAAC,CAAC,EAAE,CAAC,+CAAqB,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACrE,IAAI,CAAC,wBAAiB,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CACzC,IAAI,2BAAoB,CAA0B,mDAAqB,EAAE,MAAM,CAAC,EAAE;QAC9E,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAwB,+CAAiB,CAAC,CAAC;QAC3E,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QACzB,MAAM,CAAC,oBAAoB,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC,CACL,CAAC,gBAAgB,EAAE,CAAC;AACzB,CAAC,CAAC,CAAC;AAEH,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,6BAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,0CAAqB,EAAE,CAAC,CAAC;IAChF,IAAI,CAAC,6BAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,kDAA0B,EAAE,CAAC,CAAC;IACrF,IAAI,CAAC,6BAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,yDAA0B,EAAE,CAAC,CAAC;IAErF,IAAI,CAAC,uDAAyB,CAAC,CAAC,eAAe,CAAC,uBAAuB,CAAC,CAAC;IAEzE,IAAI,CAAC,wCAAiB,CAAC,CAAC,EAAE,CAAC,gDAAqB,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACrE,IAAI,CAAC,wBAAiB,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CACzC,IAAI,2BAAoB,CAAC,4CAAqB,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAoB,wCAAiB,CAAC,CAAC,CACjH,CAAC,gBAAgB,EAAE,CAAC;AAEzB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GitHubRepoService, GitHubRepoInfo } from '../common/github-repo-protocol';
|
|
2
|
+
export declare class GitHubRepoServiceImpl implements GitHubRepoService {
|
|
3
|
+
getGitHubRepoInfo(workspacePath: string): Promise<GitHubRepoInfo | undefined>;
|
|
4
|
+
private isGitHubRemote;
|
|
5
|
+
private extractRepoInfoFromGitHubUrl;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=github-repo-service-impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"github-repo-service-impl.d.ts","sourceRoot":"","sources":["../../src/node/github-repo-service-impl.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAEnF,qBACa,qBAAsB,YAAW,iBAAiB;IAErD,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;IAwCnF,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,4BAA4B;CA8BvC"}
|