@theia/ai-ide 1.65.0-next.16 → 1.65.0-next.19

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":"app-tester-prompt-template.d.ts","sourceRoot":"","sources":["../../src/browser/app-tester-prompt-template.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAG/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAEnF,eAAO,MAAM,oBAAoB,EAAE,oBAAoB,EAmBtD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,kBAsC/B,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,kBAGtC,CAAC"}
1
+ {"version":3,"file":"app-tester-prompt-template.d.ts","sourceRoot":"","sources":["../../src/browser/app-tester-prompt-template.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAG/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAGnF,eAAO,MAAM,oBAAoB,EAAE,oBAAoB,EAmBtD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,kBAyC/B,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,kBAGtC,CAAC"}
@@ -13,6 +13,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
13
  exports.appTesterTemplateVariant = exports.appTesterTemplate = exports.REQUIRED_MCP_SERVERS = void 0;
14
14
  const ai_chat_1 = require("@theia/ai-chat");
15
15
  const app_tester_chat_functions_1 = require("../common/app-tester-chat-functions");
16
+ const workspace_functions_1 = require("../common/workspace-functions");
16
17
  exports.REQUIRED_MCP_SERVERS = [
17
18
  {
18
19
  name: 'playwright',
@@ -56,7 +57,10 @@ ${exports.REQUIRED_MCP_SERVERS.map(server => `{{prompt:mcp_${server.name}_tools}
56
57
  - **~{${app_tester_chat_functions_1.IS_BROWSER_RUNNING_FUNCTION_ID}}**: Check if the browser is running. If a tool fails by saying that the connection failed, you can verify the connection by using this tool.
57
58
  - **~{${app_tester_chat_functions_1.CLOSE_BROWSER_FUNCTION_ID}}**: Close the browser.
58
59
  - **~{${app_tester_chat_functions_1.QUERY_DOM_FUNCTION_ID}}**: Query the DOM for specific elements and their properties. Only use when explicitly requested by the user.
59
- - **browser_snapshot**: Capture the current state of the page for verification or debugging purposes.
60
+ - **~{${workspace_functions_1.LIST_LAUNCH_CONFIGURATIONS_FUNCTION_ID}}**: To get a list of all available launch configurations. If there are no launch configurations, ask the user to manually start\
61
+ the App or configure one.
62
+ - **~{${workspace_functions_1.RUN_LAUNCH_CONFIGURATION_FUNCTION_ID}}**: Use this to launch the App under test (in case it is not already running)
63
+ - **~{${workspace_functions_1.STOP_LAUNCH_CONFIGURATION_FUNCTION_ID}}**: To stop Apps once the testing is done
60
64
 
61
65
  Prefer snapshots for investigating the page.
62
66
 
@@ -1 +1 @@
1
- {"version":3,"file":"app-tester-prompt-template.js","sourceRoot":"","sources":["../../src/browser/app-tester-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,4CAAkE;AAClE,mFAAmK;AAGtJ,QAAA,oBAAoB,GAA2B;IACxD;QACI,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,KAAK;QACd,IAAI,EAAE,CAAC,IAAI,EAAE,wBAAwB;YACjC,gBAAgB;YAChB,wBAAwB,CAAC;QAC7B,SAAS,EAAE,KAAK;QAChB,GAAG,EAAE,EAAE;KACV;IACD;QACI,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,KAAK;QACd,IAAI,EAAE,CAAC,IAAI,EAAE,wBAAwB,EAAE,UAAU;YAC7C,gBAAgB;YAChB,wBAAwB,CAAC;QAC7B,SAAS,EAAE,KAAK;QAChB,GAAG,EAAE,EAAE;KACV;CACJ,CAAC;AAEW,QAAA,iBAAiB,GAAuB;IACjD,EAAE,EAAE,2BAA2B;IAC/B,QAAQ,EAAE;;;;;;;;;;;;;;;EAeZ,4BAAoB,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,gBAAgB,MAAM,CAAC,IAAI,UAAU,CAAC;;QAEnE,sDAA0B;QAC1B,0DAA8B;QAC9B,qDAAyB;QACzB,iDAAqB;;;;;;;;;;;;;;IAczB,0CAAgC;CACnC;CACA,CAAC;AAEW,QAAA,wBAAwB,GAAuB;IACxD,EAAE,EAAE,yBAAyB;IAC7B,QAAQ,EAAE,EAAE;CACf,CAAC"}
1
+ {"version":3,"file":"app-tester-prompt-template.js","sourceRoot":"","sources":["../../src/browser/app-tester-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,4CAAkE;AAClE,mFAAmK;AAEnK,uEAAoK;AAEvJ,QAAA,oBAAoB,GAA2B;IACxD;QACI,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,KAAK;QACd,IAAI,EAAE,CAAC,IAAI,EAAE,wBAAwB;YACjC,gBAAgB;YAChB,wBAAwB,CAAC;QAC7B,SAAS,EAAE,KAAK;QAChB,GAAG,EAAE,EAAE;KACV;IACD;QACI,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,KAAK;QACd,IAAI,EAAE,CAAC,IAAI,EAAE,wBAAwB,EAAE,UAAU;YAC7C,gBAAgB;YAChB,wBAAwB,CAAC;QAC7B,SAAS,EAAE,KAAK;QAChB,GAAG,EAAE,EAAE;KACV;CACJ,CAAC;AAEW,QAAA,iBAAiB,GAAuB;IACjD,EAAE,EAAE,2BAA2B;IAC/B,QAAQ,EAAE;;;;;;;;;;;;;;;EAeZ,4BAAoB,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,gBAAgB,MAAM,CAAC,IAAI,UAAU,CAAC;;QAEnE,sDAA0B;QAC1B,0DAA8B;QAC9B,qDAAyB;QACzB,iDAAqB;QACrB,4DAAsC;;QAEtC,0DAAoC;QACpC,2DAAqC;;;;;;;;;;;;;IAazC,0CAAgC;CACnC;CACA,CAAC;AAEW,QAAA,wBAAwB,GAAuB;IACxD,EAAE,EAAE,yBAAyB;IAC7B,QAAQ,EAAE,EAAE;CACf,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/ai-ide",
3
- "version": "1.65.0-next.16+dad8faee0",
3
+ "version": "1.65.0-next.19+b89f0f8d7",
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,20 +15,20 @@
15
15
  "theia-extension"
16
16
  ],
17
17
  "dependencies": {
18
- "@theia/ai-chat": "1.65.0-next.16+dad8faee0",
19
- "@theia/ai-chat-ui": "1.65.0-next.16+dad8faee0",
20
- "@theia/ai-core": "1.65.0-next.16+dad8faee0",
21
- "@theia/ai-mcp": "1.65.0-next.16+dad8faee0",
22
- "@theia/core": "1.65.0-next.16+dad8faee0",
23
- "@theia/debug": "1.65.0-next.16+dad8faee0",
24
- "@theia/filesystem": "1.65.0-next.16+dad8faee0",
25
- "@theia/markers": "1.65.0-next.16+dad8faee0",
26
- "@theia/monaco": "1.65.0-next.16+dad8faee0",
27
- "@theia/navigator": "1.65.0-next.16+dad8faee0",
28
- "@theia/search-in-workspace": "1.65.0-next.16+dad8faee0",
29
- "@theia/task": "1.65.0-next.16+dad8faee0",
30
- "@theia/terminal": "1.65.0-next.16+dad8faee0",
31
- "@theia/workspace": "1.65.0-next.16+dad8faee0",
18
+ "@theia/ai-chat": "1.65.0-next.19+b89f0f8d7",
19
+ "@theia/ai-chat-ui": "1.65.0-next.19+b89f0f8d7",
20
+ "@theia/ai-core": "1.65.0-next.19+b89f0f8d7",
21
+ "@theia/ai-mcp": "1.65.0-next.19+b89f0f8d7",
22
+ "@theia/core": "1.65.0-next.19+b89f0f8d7",
23
+ "@theia/debug": "1.65.0-next.19+b89f0f8d7",
24
+ "@theia/filesystem": "1.65.0-next.19+b89f0f8d7",
25
+ "@theia/markers": "1.65.0-next.19+b89f0f8d7",
26
+ "@theia/monaco": "1.65.0-next.19+b89f0f8d7",
27
+ "@theia/navigator": "1.65.0-next.19+b89f0f8d7",
28
+ "@theia/search-in-workspace": "1.65.0-next.19+b89f0f8d7",
29
+ "@theia/task": "1.65.0-next.19+b89f0f8d7",
30
+ "@theia/terminal": "1.65.0-next.19+b89f0f8d7",
31
+ "@theia/workspace": "1.65.0-next.19+b89f0f8d7",
32
32
  "date-fns": "^4.1.0",
33
33
  "ignore": "^6.0.0",
34
34
  "js-yaml": "^4.1.0",
@@ -39,8 +39,8 @@
39
39
  "access": "public"
40
40
  },
41
41
  "devDependencies": {
42
- "@theia/cli": "1.65.0-next.16+dad8faee0",
43
- "@theia/test": "1.65.0-next.16+dad8faee0"
42
+ "@theia/cli": "1.65.0-next.19+b89f0f8d7",
43
+ "@theia/test": "1.65.0-next.19+b89f0f8d7"
44
44
  },
45
45
  "theiaExtensions": [
46
46
  {
@@ -64,5 +64,5 @@
64
64
  "nyc": {
65
65
  "extends": "../../configs/nyc.json"
66
66
  },
67
- "gitHead": "dad8faee01b97bbd4927feb3601ef0d6c48a3c46"
67
+ "gitHead": "b89f0f8d7b76879e9f0e26186967154be931b149"
68
68
  }
@@ -13,6 +13,7 @@ import { BasePromptFragment } from '@theia/ai-core/lib/common';
13
13
  import { CHAT_CONTEXT_DETAILS_VARIABLE_ID } from '@theia/ai-chat';
14
14
  import { QUERY_DOM_FUNCTION_ID, LAUNCH_BROWSER_FUNCTION_ID, CLOSE_BROWSER_FUNCTION_ID, IS_BROWSER_RUNNING_FUNCTION_ID } from '../common/app-tester-chat-functions';
15
15
  import { MCPServerDescription } from '@theia/ai-mcp/lib/common/mcp-server-manager';
16
+ import { LIST_LAUNCH_CONFIGURATIONS_FUNCTION_ID, RUN_LAUNCH_CONFIGURATION_FUNCTION_ID, STOP_LAUNCH_CONFIGURATION_FUNCTION_ID } from '../common/workspace-functions';
16
17
 
17
18
  export const REQUIRED_MCP_SERVERS: MCPServerDescription[] = [
18
19
  {
@@ -58,7 +59,10 @@ ${REQUIRED_MCP_SERVERS.map(server => `{{prompt:mcp_${server.name}_tools}}`)}
58
59
  - **~{${IS_BROWSER_RUNNING_FUNCTION_ID}}**: Check if the browser is running. If a tool fails by saying that the connection failed, you can verify the connection by using this tool.
59
60
  - **~{${CLOSE_BROWSER_FUNCTION_ID}}**: Close the browser.
60
61
  - **~{${QUERY_DOM_FUNCTION_ID}}**: Query the DOM for specific elements and their properties. Only use when explicitly requested by the user.
61
- - **browser_snapshot**: Capture the current state of the page for verification or debugging purposes.
62
+ - **~{${LIST_LAUNCH_CONFIGURATIONS_FUNCTION_ID}}**: To get a list of all available launch configurations. If there are no launch configurations, ask the user to manually start\
63
+ the App or configure one.
64
+ - **~{${RUN_LAUNCH_CONFIGURATION_FUNCTION_ID}}**: Use this to launch the App under test (in case it is not already running)
65
+ - **~{${STOP_LAUNCH_CONFIGURATION_FUNCTION_ID}}**: To stop Apps once the testing is done
62
66
 
63
67
  Prefer snapshots for investigating the page.
64
68