@theia/ai-ide 1.66.0-next.73 → 1.66.0-next.80

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":"frontend-module.d.ts","sourceRoot":"","sources":["../../src/browser/frontend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,mCAAmC,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AA+E/D,wBAwKG"}
1
+ {"version":3,"file":"frontend-module.d.ts","sourceRoot":"","sources":["../../src/browser/frontend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,mCAAmC,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAgF/D,wBA2KG"}
@@ -63,6 +63,7 @@ const browser_2 = require("@theia/ai-core/lib/browser");
63
63
  const ai_ide_activation_service_1 = require("./ai-ide-activation-service");
64
64
  const ai_configuration_preferences_1 = require("../common/ai-configuration-preferences");
65
65
  const task_context_agent_1 = require("./task-context-agent");
66
+ const project_info_agent_1 = require("./project-info-agent");
66
67
  exports.default = new inversify_1.ContainerModule((bind, _unbind, _isBound, rebind) => {
67
68
  bind(core_1.PreferenceContribution).toConstantValue({ schema: ai_ide_preferences_1.aiIdePreferenceSchema });
68
69
  bind(core_1.PreferenceContribution).toConstantValue({ schema: workspace_preferences_1.WorkspacePreferencesSchema });
@@ -77,6 +78,9 @@ exports.default = new inversify_1.ContainerModule((bind, _unbind, _isBound, rebi
77
78
  bind(common_1.ChatAgent).toService(coder_agent_1.CoderAgent);
78
79
  bind(task_context_agent_1.TaskContextAgent).toSelf().inSingletonScope();
79
80
  bind(common_2.Agent).toService(task_context_agent_1.TaskContextAgent);
81
+ bind(project_info_agent_1.ProjectInfoAgent).toSelf().inSingletonScope();
82
+ bind(common_2.Agent).toService(project_info_agent_1.ProjectInfoAgent);
83
+ bind(common_1.ChatAgent).toService(project_info_agent_1.ProjectInfoAgent);
80
84
  bind(orchestrator_chat_agent_1.OrchestratorChatAgent).toSelf().inSingletonScope();
81
85
  bind(common_2.Agent).toService(orchestrator_chat_agent_1.OrchestratorChatAgent);
82
86
  bind(common_1.ChatAgent).toService(orchestrator_chat_agent_1.OrchestratorChatAgent);
@@ -1 +1 @@
1
- {"version":3,"file":"frontend-module.js","sourceRoot":"","sources":["../../src/browser/frontend-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,6CAA2C;AAE3C,4DAA+D;AAC/D,sDAA+F;AAC/F,sDAA4F;AAC5F,uDAAmD;AACnD,+CAA2C;AAC3C,qGAA+F;AAC/F,+DAO+B;AAC/B,2EAAsE;AACtE,qDAMiC;AACjC,uEAAiF;AACjF,2EAIqC;AACrC,2EAA6E;AAC7E,yEAcoC;AACpC,+EAAmG;AACnG,yEAA0F;AAC1F,mEAA6D;AAC7D,2DAAsD;AACtD,uEAAiE;AACjE,2DAAgG;AAChG,8FAA2F;AAC3F,0FAA8F;AAC9F,8GAA6G;AAC7G,wFAA4F;AAC5F,oGAAiG;AACjG,6EAAoF;AACpF,8FAA2F;AAC3F,mFAA0F;AAC1F,yFAAoF;AACpF,0FAAuF;AACvF,iFAA0F;AAC1F,2FAAoF;AACpF,0GAAsG;AACtG,yFAA4F;AAC5F,2FAAqF;AACrF,2FAAoF;AACpF,0FAA4F;AAC5F,sCAA0E;AAC1E,oHAAgH;AAChH,uFAAiG;AACjG,yEAA0F;AAC1F,2EAAsI;AACtI,8GAAwG;AACxG,qEAAqE;AACrE,wDAAiE;AACjE,2EAAyE;AACzE,yFAAoF;AACpF,6DAAwD;AAExD,kBAAe,IAAI,2BAAe,CAAC,CAAC,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EAAE,CAAC,gBAAgB,EAAE,CAAC;IAChE,MAAM,CAAC,gDAAyB,CAAC,CAAC,SAAS,CAAC,iEAA6B,CAAC,CAAC;IAE3E,IAAI,CAAC,0BAAmB,CAAC,CAAC,EAAE,CAAC,4EAAmC,CAAC,CAAC;IAClE,IAAI,CAAC,4EAAoC,CAAC,CAAC,MAAM,EAAE,CAAC;IACpD,IAAI,CAAC,uBAAa,CAAC;SACd,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACpB,EAAE,EAAE,4EAAoC,CAAC,EAAE;QAC3C,YAAY,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,4EAAoC,CAAC;KAC9E,CAAC,CAAC;SACF,gBAAgB,EAAE,CAAC;AAC5B,CAAC,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { AbstractStreamParsingChatAgent } from '@theia/ai-chat';
2
+ import { LanguageModelRequirement } from '@theia/ai-core';
3
+ export declare class ProjectInfoAgent extends AbstractStreamParsingChatAgent {
4
+ name: string;
5
+ id: string;
6
+ languageModelRequirements: LanguageModelRequirement[];
7
+ protected defaultLanguageModelPurpose: string;
8
+ description: string;
9
+ tags: string[];
10
+ prompts: import("@theia/ai-core").PromptVariantSet[];
11
+ protected systemPromptId: string | undefined;
12
+ }
13
+ //# sourceMappingURL=project-info-agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-info-agent.d.ts","sourceRoot":"","sources":["../../src/browser/project-info-agent.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAK1D,qBACa,gBAAiB,SAAQ,8BAA8B;IAEhE,IAAI,SAAiB;IACrB,EAAE,SAAiB;IACnB,yBAAyB,EAAE,wBAAwB,EAAE,CAGlD;IACH,SAAS,CAAC,2BAA2B,EAAE,MAAM,CAAU;IAE9C,WAAW,SAEwJ;IAEnK,IAAI,EAAE,MAAM,EAAE,CAA2B;IAEzC,OAAO,8CAA4D;IAC5E,UAAmB,cAAc,EAAE,MAAM,GAAG,SAAS,CAAgC;CAExF"}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProjectInfoAgent = void 0;
4
+ const tslib_1 = require("tslib");
5
+ // *****************************************************************************
6
+ // Copyright (C) 2024 EclipseSource GmbH.
7
+ //
8
+ // This program and the accompanying materials are made available under the
9
+ // terms of the Eclipse Public License v. 2.0 which is available at
10
+ // http://www.eclipse.org/legal/epl-2.0.
11
+ //
12
+ // This Source Code may also be made available under the following Secondary
13
+ // Licenses when the conditions for such availability set forth in the Eclipse
14
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
15
+ // with the GNU Classpath Exception which is available at
16
+ // https://www.gnu.org/software/classpath/license.html.
17
+ //
18
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
19
+ // *****************************************************************************
20
+ const ai_chat_1 = require("@theia/ai-chat");
21
+ const inversify_1 = require("@theia/core/shared/inversify");
22
+ const project_info_prompt_template_1 = require("../common/project-info-prompt-template");
23
+ const core_1 = require("@theia/core");
24
+ let ProjectInfoAgent = class ProjectInfoAgent extends ai_chat_1.AbstractStreamParsingChatAgent {
25
+ constructor() {
26
+ super(...arguments);
27
+ this.name = 'ProjectInfo';
28
+ this.id = 'ProjectInfo';
29
+ this.languageModelRequirements = [{
30
+ purpose: 'chat',
31
+ identifier: 'default/code',
32
+ }];
33
+ this.defaultLanguageModelPurpose = 'chat';
34
+ this.description = core_1.nls.localize('theia/ai/workspace/projectInfoAgent/description', 'An AI assistant for managing project information templates. This agent helps create, update, and review the .prompts/project-info.prompttemplate file which provides ' +
35
+ 'context about your project to other AI agents. It can analyze your workspace to suggest project information or update existing templates based on your requirements.');
36
+ this.tags = [...this.tags, 'Alpha'];
37
+ this.prompts = [project_info_prompt_template_1.projectInfoSystemVariants, project_info_prompt_template_1.projectInfoTemplateVariants];
38
+ this.systemPromptId = project_info_prompt_template_1.projectInfoSystemVariants.id;
39
+ }
40
+ };
41
+ exports.ProjectInfoAgent = ProjectInfoAgent;
42
+ exports.ProjectInfoAgent = ProjectInfoAgent = tslib_1.__decorate([
43
+ (0, inversify_1.injectable)()
44
+ ], ProjectInfoAgent);
45
+ //# sourceMappingURL=project-info-agent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-info-agent.js","sourceRoot":"","sources":["../../src/browser/project-info-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;AAChF,4CAAgE;AAEhE,4DAA0D;AAC1D,yFAAgH;AAChH,sCAAkC;AAG3B,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,wCAA8B;IAA7D;;QAEH,SAAI,GAAG,aAAa,CAAC;QACrB,OAAE,GAAG,aAAa,CAAC;QACnB,8BAAyB,GAA+B,CAAC;gBACrD,OAAO,EAAE,MAAM;gBACf,UAAU,EAAE,cAAc;aAC7B,CAAC,CAAC;QACO,gCAA2B,GAAW,MAAM,CAAC;QAE9C,gBAAW,GAAG,UAAG,CAAC,QAAQ,CAAC,iDAAiD,EACjF,uKAAuK;YACvK,sKAAsK,CAAC,CAAC;QAEnK,SAAI,GAAa,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAEzC,YAAO,GAAG,CAAC,wDAAyB,EAAE,0DAA2B,CAAC,CAAC;QACzD,mBAAc,GAAuB,wDAAyB,CAAC,EAAE,CAAC;IAEzF,CAAC;CAAA,CAAA;AAnBY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;GACA,gBAAgB,CAmB5B"}
@@ -115,7 +115,7 @@ let GetWorkspaceDirectoryStructure = GetWorkspaceDirectoryStructure_1 = class Ge
115
115
  'This structure excludes specific directories, such as node_modules and hidden files, ensuring paths are within workspace boundaries.',
116
116
  parameters: {
117
117
  type: 'object',
118
- properties: {}
118
+ properties: {},
119
119
  },
120
120
  handler: (_, ctx) => {
121
121
  const cancellationToken = ctx.response.cancellationToken;
@@ -0,0 +1,6 @@
1
+ import { PromptVariantSet } from '@theia/ai-core/lib/common';
2
+ export declare const PROJECT_INFO_SYSTEM_PROMPT_TEMPLATE_ID = "project-info-system";
3
+ export declare const PROJECT_INFO_TEMPLATE_PROMPT_ID = "project-info-template";
4
+ export declare const projectInfoTemplateVariants: PromptVariantSet;
5
+ export declare const projectInfoSystemVariants: PromptVariantSet;
6
+ //# sourceMappingURL=project-info-prompt-template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-info-prompt-template.d.ts","sourceRoot":"","sources":["../../src/common/project-info-prompt-template.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAc7D,eAAO,MAAM,sCAAsC,wBAAwB,CAAC;AAC5E,eAAO,MAAM,+BAA+B,0BAA0B,CAAC;AAEvE,eAAO,MAAM,2BAA2B,kBAgCvC,CAAC;AAEF,eAAO,MAAM,yBAAyB,kBAqGrC,CAAC"}
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.projectInfoSystemVariants = exports.projectInfoTemplateVariants = exports.PROJECT_INFO_TEMPLATE_PROMPT_ID = exports.PROJECT_INFO_SYSTEM_PROMPT_TEMPLATE_ID = void 0;
4
+ const workspace_functions_1 = require("./workspace-functions");
5
+ const context_variables_1 = require("./context-variables");
6
+ const context_functions_1 = require("./context-functions");
7
+ const file_changeset_function_ids_1 = require("./file-changeset-function-ids");
8
+ exports.PROJECT_INFO_SYSTEM_PROMPT_TEMPLATE_ID = 'project-info-system';
9
+ exports.PROJECT_INFO_TEMPLATE_PROMPT_ID = 'project-info-template';
10
+ exports.projectInfoTemplateVariants = {
11
+ id: exports.PROJECT_INFO_TEMPLATE_PROMPT_ID,
12
+ defaultVariant: {
13
+ id: 'project-info-template-default',
14
+ template: `## Project Info Template Structure
15
+
16
+ ### Architecture Overview
17
+ [Brief description of what the project does, Key architectural decisions, patterns, and structure.]
18
+
19
+ ### Key Technologies
20
+ [List of main technologies, frameworks, libraries]
21
+
22
+ ### Essential Development Patterns
23
+ Examples for key patterns (refer via relative file paths)
24
+
25
+ ### File Structure
26
+ [Important directories/packages and their contents]
27
+
28
+ ### Build & Development
29
+ [How to build and run the project.]
30
+
31
+ ### Testing
32
+ [What kind of tests exist, test organization and test patterns. Examples for different types of tests (as relative file paths)]
33
+
34
+ ### Coding Guidelines
35
+ [Coding standards, conventions, practices. Examples for key practices (as relative file paths), rules for imports, indentation]
36
+
37
+ ### Additional Notes
38
+ [Any other important information for agents to understand the project and write code for it. Important files with more information (as relative file paths)]
39
+ \`\`\`
40
+ `
41
+ }
42
+ };
43
+ exports.projectInfoSystemVariants = {
44
+ id: exports.PROJECT_INFO_SYSTEM_PROMPT_TEMPLATE_ID,
45
+ defaultVariant: {
46
+ id: 'project-info-system-default',
47
+ template: `{{!-- This prompt is licensed under the MIT License (https://opensource.org/license/mit).
48
+ Made improvements or adaptations to this prompt template? We'd love for you to share it with the community! Contribute back here:
49
+ https://github.com/eclipse-theia/theia/discussions/new?category=prompt-template-contribution --}}
50
+ # Instructions
51
+
52
+ You are the ProjectInfo agent, an AI assistant specialized in managing project information files. Your role is to help users create, update,
53
+ and maintain the \`.prompts/project-info.prompttemplate\` file which provides contextual information about the project to other AI agents.
54
+
55
+ ## Project Info Guidelines
56
+ The project info is an artifact that will be handed over to agents to understand the current workspace, project and codebase.
57
+ Do not include obvious instructions, generic information, generic development practices or things that can be very easily discovered.
58
+ Focus on non-obvious and project-specific facts as well as specific guidelines and patterns.
59
+ Try to keep the project info minimal and avoid duplicates.
60
+
61
+ ## Your Capabilities
62
+
63
+ ### Initially Create Project Info
64
+ For initial project info creation, start by determining the user's preferred working mode:
65
+
66
+ **Step 1: Define mode of working**
67
+ Ask the user about the preferred working mode:
68
+
69
+ 1. "Auto-exploration - Agent explores and creates an initial suggestion",
70
+ 2. "Manual - User provides all necessary input with your guidance"
71
+
72
+ IMPORTANT: Remember the chosen mode and stick to it until the user requests otherwise!
73
+
74
+ - In automatic mode, create an initial version of the project info yourself by exploring the workspace
75
+ - In manual mode, guide the user section by section and ask for additional information.
76
+ Whenever you ask a question to the user, offer the option that you answer the question for them.
77
+
78
+ **Step 2: Final tasks**
79
+ After completing all sections or if you feel the user is done, offer the user to do an automatic refinement:
80
+ "Would you like me to review and finalize the project information?",
81
+ - In this final refinement, particularly focus on relevance and potential duplications and the "Project Info Guidelines"
82
+ - Then, ask for final user review. Tell the user to provide any generic feedback and offer to incorporate it for them.
83
+ - Finally remind them to accept the final version in the change set
84
+
85
+ ### Complete Project Info
86
+ - If a project info is incomplete, offer the user to complete it
87
+
88
+ ### Update Project Info
89
+ - Modify existing project info based on user requirements
90
+ - Do not use a specific workflow for this
91
+
92
+ ## Workspace Analysis Guidelines
93
+
94
+ **Auto-Discovery File Patterns**
95
+ When auto-discovering project information or exploring the workspace structure, ALWAYS prioritize examining these file patterns that commonly contain agent instructions
96
+ and project documentation:
97
+ - .github/copilot-instructions.md
98
+ - AGENT.md
99
+ - AGENTS.md
100
+ - CLAUDE.md
101
+ - .cursorrules
102
+ - .windsurfrules
103
+ - .clinerules
104
+ - .cursor
105
+ - rules/**
106
+ - .windsurf/rules/**
107
+ - .clinerules/**
108
+ - README.md
109
+ - .md files in the root level if they contain documentation
110
+
111
+ Use the **~{${workspace_functions_1.FIND_FILES_BY_PATTERN_FUNCTION_ID}}** function with these patterns to discover relevant configuration and documentation files.
112
+
113
+ ## Context Retrieval
114
+ Use the following functions to interact with the workspace files when needed:
115
+ - **~{${workspace_functions_1.GET_WORKSPACE_FILE_LIST_FUNCTION_ID}}**: List files and directories
116
+ - **~{${workspace_functions_1.FILE_CONTENT_FUNCTION_ID}}**: Get content of specific files
117
+ - **~{${workspace_functions_1.FIND_FILES_BY_PATTERN_FUNCTION_ID}}**: Find files by glob patterns like '**/*.json'
118
+ - **~{${workspace_functions_1.SEARCH_IN_WORKSPACE_FUNCTION_ID}}**: Search file contents
119
+
120
+ Navigate step-by-step and confirm paths. Use **~{${context_functions_1.UPDATE_CONTEXT_FILES_FUNCTION_ID}}** to remember important files for later reference.
121
+
122
+ ## File Modification - SUGGEST ONLY
123
+ Use these functions liberally to suggest file changes. All changes require user review and approval, so the user can reject them if needed.
124
+
125
+ - **~{${file_changeset_function_ids_1.SUGGEST_FILE_CONTENT_ID}}**: Propose complete file content (for creating new templates or complete rewrites)
126
+ - **~{${file_changeset_function_ids_1.SUGGEST_FILE_REPLACEMENTS_ID}}**: Propose targeted replacements of specific text sections
127
+ - **~{${file_changeset_function_ids_1.GET_PROPOSED_CHANGES_ID}}**: View current proposed changes before making additional ones
128
+ - **~{${file_changeset_function_ids_1.CLEAR_FILE_CHANGES_ID}}**: Clear all pending changes for a file to start fresh
129
+
130
+ {{prompt:${exports.PROJECT_INFO_TEMPLATE_PROMPT_ID}}}
131
+
132
+ ## Additional Context
133
+ {{${context_variables_1.CONTEXT_FILES_VARIABLE_ID}}}
134
+
135
+ ## Workflow Guidelines
136
+
137
+ When creating project info for the first time:
138
+ 1. **Always start by asking about the user's preferred mode** (auto-exploration or manual) and stick to it
139
+ 2. **After initial suggestions or provided content**: Always ask for refinement and additional information
140
+
141
+ Remember: Proactively help users maintain accurate project information for better AI assistance.
142
+ `
143
+ }
144
+ };
145
+ //# sourceMappingURL=project-info-prompt-template.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-info-prompt-template.js","sourceRoot":"","sources":["../../src/common/project-info-prompt-template.ts"],"names":[],"mappings":";;;AAWA,+DAG+B;AAC/B,2DAAgE;AAChE,2DAAuE;AACvE,+EAKuC;AAE1B,QAAA,sCAAsC,GAAG,qBAAqB,CAAC;AAC/D,QAAA,+BAA+B,GAAG,uBAAuB,CAAC;AAE1D,QAAA,2BAA2B,GAAqB;IACzD,EAAE,EAAE,uCAA+B;IACnC,cAAc,EAAE;QACZ,EAAE,EAAE,+BAA+B;QACnC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BjB;KACI;CACJ,CAAC;AAEW,QAAA,yBAAyB,GAAqB;IACvD,EAAE,EAAE,8CAAsC;IAC1C,cAAc,EAAE;QACZ,EAAE,EAAE,6BAA6B;QACjC,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgEJ,uDAAiC;;;;QAIvC,yDAAmC;QACnC,8CAAwB;QACxB,uDAAiC;QACjC,qDAA+B;;mDAEY,oDAAgC;;;;;QAK3E,qDAAuB;QACvB,0DAA4B;QAC5B,qDAAuB;QACvB,mDAAqB;;WAElB,uCAA+B;;;IAGtC,6CAAyB;;;;;;;;;CAS5B;KACI;CACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/ai-ide",
3
- "version": "1.66.0-next.73+6d82794da",
3
+ "version": "1.66.0-next.80+623c098dc",
4
4
  "description": "AI IDE Agents Extension",
5
5
  "license": "EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0",
6
6
  "repository": {
@@ -15,23 +15,23 @@
15
15
  "theia-extension"
16
16
  ],
17
17
  "dependencies": {
18
- "@theia/ai-chat": "1.66.0-next.73+6d82794da",
19
- "@theia/ai-chat-ui": "1.66.0-next.73+6d82794da",
20
- "@theia/ai-core": "1.66.0-next.73+6d82794da",
21
- "@theia/ai-mcp": "1.66.0-next.73+6d82794da",
22
- "@theia/core": "1.66.0-next.73+6d82794da",
23
- "@theia/debug": "1.66.0-next.73+6d82794da",
24
- "@theia/editor": "1.66.0-next.73+6d82794da",
25
- "@theia/filesystem": "1.66.0-next.73+6d82794da",
26
- "@theia/markers": "1.66.0-next.73+6d82794da",
27
- "@theia/monaco": "1.66.0-next.73+6d82794da",
28
- "@theia/navigator": "1.66.0-next.73+6d82794da",
29
- "@theia/preferences": "1.66.0-next.73+6d82794da",
30
- "@theia/scm": "1.66.0-next.73+6d82794da",
31
- "@theia/search-in-workspace": "1.66.0-next.73+6d82794da",
32
- "@theia/task": "1.66.0-next.73+6d82794da",
33
- "@theia/terminal": "1.66.0-next.73+6d82794da",
34
- "@theia/workspace": "1.66.0-next.73+6d82794da",
18
+ "@theia/ai-chat": "1.66.0-next.80+623c098dc",
19
+ "@theia/ai-chat-ui": "1.66.0-next.80+623c098dc",
20
+ "@theia/ai-core": "1.66.0-next.80+623c098dc",
21
+ "@theia/ai-mcp": "1.66.0-next.80+623c098dc",
22
+ "@theia/core": "1.66.0-next.80+623c098dc",
23
+ "@theia/debug": "1.66.0-next.80+623c098dc",
24
+ "@theia/editor": "1.66.0-next.80+623c098dc",
25
+ "@theia/filesystem": "1.66.0-next.80+623c098dc",
26
+ "@theia/markers": "1.66.0-next.80+623c098dc",
27
+ "@theia/monaco": "1.66.0-next.80+623c098dc",
28
+ "@theia/navigator": "1.66.0-next.80+623c098dc",
29
+ "@theia/preferences": "1.66.0-next.80+623c098dc",
30
+ "@theia/scm": "1.66.0-next.80+623c098dc",
31
+ "@theia/search-in-workspace": "1.66.0-next.80+623c098dc",
32
+ "@theia/task": "1.66.0-next.80+623c098dc",
33
+ "@theia/terminal": "1.66.0-next.80+623c098dc",
34
+ "@theia/workspace": "1.66.0-next.80+623c098dc",
35
35
  "date-fns": "^4.1.0",
36
36
  "ignore": "^6.0.0",
37
37
  "js-yaml": "^4.1.0",
@@ -43,8 +43,8 @@
43
43
  "access": "public"
44
44
  },
45
45
  "devDependencies": {
46
- "@theia/cli": "1.66.0-next.73+6d82794da",
47
- "@theia/test": "1.66.0-next.73+6d82794da"
46
+ "@theia/cli": "1.66.0-next.80+623c098dc",
47
+ "@theia/test": "1.66.0-next.80+623c098dc"
48
48
  },
49
49
  "theiaExtensions": [
50
50
  {
@@ -68,5 +68,5 @@
68
68
  "nyc": {
69
69
  "extends": "../../configs/nyc.json"
70
70
  },
71
- "gitHead": "6d82794da24e16f75d70eaac3a4178a29e822e82"
71
+ "gitHead": "623c098dc2e331499458d2bdcc67792919335d9c"
72
72
  }
@@ -94,6 +94,7 @@ import { AIActivationService } from '@theia/ai-core/lib/browser';
94
94
  import { AIIdeActivationServiceImpl } from './ai-ide-activation-service';
95
95
  import { AiConfigurationPreferences } from '../common/ai-configuration-preferences';
96
96
  import { TaskContextAgent } from './task-context-agent';
97
+ import { ProjectInfoAgent } from './project-info-agent';
97
98
 
98
99
  export default new ContainerModule((bind, _unbind, _isBound, rebind) => {
99
100
  bind(PreferenceContribution).toConstantValue({ schema: aiIdePreferenceSchema });
@@ -113,6 +114,9 @@ export default new ContainerModule((bind, _unbind, _isBound, rebind) => {
113
114
 
114
115
  bind(TaskContextAgent).toSelf().inSingletonScope();
115
116
  bind(Agent).toService(TaskContextAgent);
117
+ bind(ProjectInfoAgent).toSelf().inSingletonScope();
118
+ bind(Agent).toService(ProjectInfoAgent);
119
+ bind(ChatAgent).toService(ProjectInfoAgent);
116
120
 
117
121
  bind(OrchestratorChatAgent).toSelf().inSingletonScope();
118
122
  bind(Agent).toService(OrchestratorChatAgent);
@@ -0,0 +1,42 @@
1
+ // *****************************************************************************
2
+ // Copyright (C) 2024 EclipseSource GmbH.
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
+ import { AbstractStreamParsingChatAgent } from '@theia/ai-chat';
17
+ import { LanguageModelRequirement } from '@theia/ai-core';
18
+ import { injectable } from '@theia/core/shared/inversify';
19
+ import { projectInfoSystemVariants, projectInfoTemplateVariants } from '../common/project-info-prompt-template';
20
+ import { nls } from '@theia/core';
21
+
22
+ @injectable()
23
+ export class ProjectInfoAgent extends AbstractStreamParsingChatAgent {
24
+
25
+ name = 'ProjectInfo';
26
+ id = 'ProjectInfo';
27
+ languageModelRequirements: LanguageModelRequirement[] = [{
28
+ purpose: 'chat',
29
+ identifier: 'default/code',
30
+ }];
31
+ protected defaultLanguageModelPurpose: string = 'chat';
32
+
33
+ override description = nls.localize('theia/ai/workspace/projectInfoAgent/description',
34
+ 'An AI assistant for managing project information templates. This agent helps create, update, and review the .prompts/project-info.prompttemplate file which provides ' +
35
+ 'context about your project to other AI agents. It can analyze your workspace to suggest project information or update existing templates based on your requirements.');
36
+
37
+ override tags: string[] = [...this.tags, 'Alpha'];
38
+
39
+ override prompts = [projectInfoSystemVariants, projectInfoTemplateVariants];
40
+ protected override systemPromptId: string | undefined = projectInfoSystemVariants.id;
41
+
42
+ }
@@ -145,7 +145,7 @@ export class GetWorkspaceDirectoryStructure implements ToolProvider {
145
145
  'This structure excludes specific directories, such as node_modules and hidden files, ensuring paths are within workspace boundaries.',
146
146
  parameters: {
147
147
  type: 'object',
148
- properties: {}
148
+ properties: {},
149
149
  },
150
150
  handler: (_: string, ctx: MutableChatRequestModel) => {
151
151
  const cancellationToken = ctx.response.cancellationToken;
@@ -0,0 +1,163 @@
1
+ /* eslint-disable @typescript-eslint/tslint/config */
2
+ // *****************************************************************************
3
+ // Copyright (C) 2025 EclipseSource GmbH and others.
4
+ //
5
+ // This file is licensed under the MIT License.
6
+ // See LICENSE-MIT.txt in the project root for license information.
7
+ // https://opensource.org/license/mit.
8
+ //
9
+ // SPDX-License-Identifier: MIT
10
+ // *****************************************************************************
11
+ import { PromptVariantSet } from '@theia/ai-core/lib/common';
12
+ import {
13
+ GET_WORKSPACE_FILE_LIST_FUNCTION_ID, FILE_CONTENT_FUNCTION_ID, SEARCH_IN_WORKSPACE_FUNCTION_ID,
14
+ FIND_FILES_BY_PATTERN_FUNCTION_ID
15
+ } from './workspace-functions';
16
+ import { CONTEXT_FILES_VARIABLE_ID } from './context-variables';
17
+ import { UPDATE_CONTEXT_FILES_FUNCTION_ID } from './context-functions';
18
+ import {
19
+ SUGGEST_FILE_CONTENT_ID,
20
+ SUGGEST_FILE_REPLACEMENTS_ID,
21
+ GET_PROPOSED_CHANGES_ID,
22
+ CLEAR_FILE_CHANGES_ID
23
+ } from './file-changeset-function-ids';
24
+
25
+ export const PROJECT_INFO_SYSTEM_PROMPT_TEMPLATE_ID = 'project-info-system';
26
+ export const PROJECT_INFO_TEMPLATE_PROMPT_ID = 'project-info-template';
27
+
28
+ export const projectInfoTemplateVariants = <PromptVariantSet>{
29
+ id: PROJECT_INFO_TEMPLATE_PROMPT_ID,
30
+ defaultVariant: {
31
+ id: 'project-info-template-default',
32
+ template: `## Project Info Template Structure
33
+
34
+ ### Architecture Overview
35
+ [Brief description of what the project does, Key architectural decisions, patterns, and structure.]
36
+
37
+ ### Key Technologies
38
+ [List of main technologies, frameworks, libraries]
39
+
40
+ ### Essential Development Patterns
41
+ Examples for key patterns (refer via relative file paths)
42
+
43
+ ### File Structure
44
+ [Important directories/packages and their contents]
45
+
46
+ ### Build & Development
47
+ [How to build and run the project.]
48
+
49
+ ### Testing
50
+ [What kind of tests exist, test organization and test patterns. Examples for different types of tests (as relative file paths)]
51
+
52
+ ### Coding Guidelines
53
+ [Coding standards, conventions, practices. Examples for key practices (as relative file paths), rules for imports, indentation]
54
+
55
+ ### Additional Notes
56
+ [Any other important information for agents to understand the project and write code for it. Important files with more information (as relative file paths)]
57
+ \`\`\`
58
+ `
59
+ }
60
+ };
61
+
62
+ export const projectInfoSystemVariants = <PromptVariantSet>{
63
+ id: PROJECT_INFO_SYSTEM_PROMPT_TEMPLATE_ID,
64
+ defaultVariant: {
65
+ id: 'project-info-system-default',
66
+ template: `{{!-- This prompt is licensed under the MIT License (https://opensource.org/license/mit).
67
+ Made improvements or adaptations to this prompt template? We'd love for you to share it with the community! Contribute back here:
68
+ https://github.com/eclipse-theia/theia/discussions/new?category=prompt-template-contribution --}}
69
+ # Instructions
70
+
71
+ You are the ProjectInfo agent, an AI assistant specialized in managing project information files. Your role is to help users create, update,
72
+ and maintain the \`.prompts/project-info.prompttemplate\` file which provides contextual information about the project to other AI agents.
73
+
74
+ ## Project Info Guidelines
75
+ The project info is an artifact that will be handed over to agents to understand the current workspace, project and codebase.
76
+ Do not include obvious instructions, generic information, generic development practices or things that can be very easily discovered.
77
+ Focus on non-obvious and project-specific facts as well as specific guidelines and patterns.
78
+ Try to keep the project info minimal and avoid duplicates.
79
+
80
+ ## Your Capabilities
81
+
82
+ ### Initially Create Project Info
83
+ For initial project info creation, start by determining the user's preferred working mode:
84
+
85
+ **Step 1: Define mode of working**
86
+ Ask the user about the preferred working mode:
87
+
88
+ 1. "Auto-exploration - Agent explores and creates an initial suggestion",
89
+ 2. "Manual - User provides all necessary input with your guidance"
90
+
91
+ IMPORTANT: Remember the chosen mode and stick to it until the user requests otherwise!
92
+
93
+ - In automatic mode, create an initial version of the project info yourself by exploring the workspace
94
+ - In manual mode, guide the user section by section and ask for additional information.
95
+ Whenever you ask a question to the user, offer the option that you answer the question for them.
96
+
97
+ **Step 2: Final tasks**
98
+ After completing all sections or if you feel the user is done, offer the user to do an automatic refinement:
99
+ "Would you like me to review and finalize the project information?",
100
+ - In this final refinement, particularly focus on relevance and potential duplications and the "Project Info Guidelines"
101
+ - Then, ask for final user review. Tell the user to provide any generic feedback and offer to incorporate it for them.
102
+ - Finally remind them to accept the final version in the change set
103
+
104
+ ### Complete Project Info
105
+ - If a project info is incomplete, offer the user to complete it
106
+
107
+ ### Update Project Info
108
+ - Modify existing project info based on user requirements
109
+ - Do not use a specific workflow for this
110
+
111
+ ## Workspace Analysis Guidelines
112
+
113
+ **Auto-Discovery File Patterns**
114
+ When auto-discovering project information or exploring the workspace structure, ALWAYS prioritize examining these file patterns that commonly contain agent instructions
115
+ and project documentation:
116
+ - .github/copilot-instructions.md
117
+ - AGENT.md
118
+ - AGENTS.md
119
+ - CLAUDE.md
120
+ - .cursorrules
121
+ - .windsurfrules
122
+ - .clinerules
123
+ - .cursor
124
+ - rules/**
125
+ - .windsurf/rules/**
126
+ - .clinerules/**
127
+ - README.md
128
+ - .md files in the root level if they contain documentation
129
+
130
+ Use the **~{${FIND_FILES_BY_PATTERN_FUNCTION_ID}}** function with these patterns to discover relevant configuration and documentation files.
131
+
132
+ ## Context Retrieval
133
+ Use the following functions to interact with the workspace files when needed:
134
+ - **~{${GET_WORKSPACE_FILE_LIST_FUNCTION_ID}}**: List files and directories
135
+ - **~{${FILE_CONTENT_FUNCTION_ID}}**: Get content of specific files
136
+ - **~{${FIND_FILES_BY_PATTERN_FUNCTION_ID}}**: Find files by glob patterns like '**/*.json'
137
+ - **~{${SEARCH_IN_WORKSPACE_FUNCTION_ID}}**: Search file contents
138
+
139
+ Navigate step-by-step and confirm paths. Use **~{${UPDATE_CONTEXT_FILES_FUNCTION_ID}}** to remember important files for later reference.
140
+
141
+ ## File Modification - SUGGEST ONLY
142
+ Use these functions liberally to suggest file changes. All changes require user review and approval, so the user can reject them if needed.
143
+
144
+ - **~{${SUGGEST_FILE_CONTENT_ID}}**: Propose complete file content (for creating new templates or complete rewrites)
145
+ - **~{${SUGGEST_FILE_REPLACEMENTS_ID}}**: Propose targeted replacements of specific text sections
146
+ - **~{${GET_PROPOSED_CHANGES_ID}}**: View current proposed changes before making additional ones
147
+ - **~{${CLEAR_FILE_CHANGES_ID}}**: Clear all pending changes for a file to start fresh
148
+
149
+ {{prompt:${PROJECT_INFO_TEMPLATE_PROMPT_ID}}}
150
+
151
+ ## Additional Context
152
+ {{${CONTEXT_FILES_VARIABLE_ID}}}
153
+
154
+ ## Workflow Guidelines
155
+
156
+ When creating project info for the first time:
157
+ 1. **Always start by asking about the user's preferred mode** (auto-exploration or manual) and stick to it
158
+ 2. **After initial suggestions or provided content**: Always ask for refinement and additional information
159
+
160
+ Remember: Proactively help users maintain accurate project information for better AI assistance.
161
+ `
162
+ }
163
+ };