Skip to content

Commit 6180e18

Browse files
authored
Adding more services (#14)
* adding browser and element services * adding browser and element services * fix pipeline triggers * update readme.md and add integration-test.yml * adding listeners * fix integration testing workflow * modify the screenshot service to assist the AI agent * adding support methods for the AI agent * remove support methods that are confusing the AI agent
1 parent 58803c6 commit 6180e18

12 files changed

+752
-33
lines changed

.github/workflows/docker-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Test Docker Image
22

33
on:
4-
pull_request:
5-
branches: [ main ]
64
workflow_dispatch:
5+
schedule:
6+
- cron: '00 1 * * *'
77

88
jobs:
99
build-and-test:
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Package and Test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-and-test:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Set up JDK 21
17+
uses: actions/setup-java@v4
18+
with:
19+
distribution: 'temurin'
20+
java-version: '21'
21+
22+
- name: Package (skip tests and gpg)
23+
run: mvn clean package -DskipTests -Dgpg.skip
24+
25+
# - name: Run tests
26+
# run: mvn clean test

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM eclipse-temurin:21-jre
22

33
# Download the released JAR from Maven Central
4-
ADD https://repo1.maven.org/maven2/io/github/shafthq/SHAFT_MCP/9.3.20250823/SHAFT_MCP-9.3.20250823.jar /app/SHAFT_MCP.jar
4+
ADD https://repo1.maven.org/maven2/io/github/shafthq/SHAFT_MCP/9.3.20250824/SHAFT_MCP-9.3.20250824.jar /app/SHAFT_MCP.jar
55

66
WORKDIR /app
77

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<groupId>io.github.shafthq</groupId>
1212
<artifactId>SHAFT_MCP</artifactId>
13-
<version>9.3.20250823</version>
13+
<version>9.3.20250824</version> <!-- Update this version in Dockerfile, src/main/resources/application.properties, HELP.md, readme.md on every release -->
1414
<name>SHAFT_MCP</name>
1515
<description>Agentic SHAFT_Engine with Spring AI</description>
1616
<url>https://shafthq.github.io/</url>

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
- close any open claude desktop app instance.
33
- run the following command in your terminal:
44
```bash
5-
mvn clean package -DskipTests
5+
mvn clean package "-DskipTests" "-Dgpg.skip"
66
```
77

88
# To test
@@ -40,7 +40,7 @@ mvn clean test
4040
"command": "java",
4141
"args": [
4242
"-jar",
43-
"C:\\Users\\Mohab\\IdeaProjects\\SHAFT_MCP\\target\\SHAFT_MCP-9.3.20250823.jar"
43+
"C:\\Users\\Mohab\\IdeaProjects\\SHAFT_MCP\\target\\SHAFT_MCP-9.3.20250824.jar"
4444
]
4545
}
4646
}

0 commit comments

Comments
 (0)