Skip to content

Commit 70ef8a3

Browse files
authored
Merge pull request #355 from editor-code-assistant/plumcp
Migrate to plumcp
2 parents fa8ed71 + e9d749e commit 70ef8a3

7 files changed

Lines changed: 246 additions & 825 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -319,15 +319,11 @@ jobs:
319319
- name: Install MSVC
320320
uses: ilammy/msvc-dev-cmd@v1
321321

322-
- name: Install GraalVM
323-
uses: DeLaGuardo/setup-graalvm@master
322+
- uses: graalvm/setup-graalvm@v1
324323
with:
325-
graalvm: 22.2.0
326-
java: java17
327-
328-
- name: Install native-image component
329-
run: |
330-
gu.cmd install native-image
324+
java-version: '24'
325+
distribution: 'graalvm'
326+
github-token: ${{ secrets.GITHUB_TOKEN }}
331327

332328
# see https://github.com/oracle/graal/issues/4340
333329
- name: GraalVM workaround to support UPX compression

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Clarify Task tool prompt for task ordering, task granularity, concurrent starts, and clearing finished task lists.
6+
- Replace MCP Java SDK with plumcp for MCP client communication. SSE transport is no longer supported (deprecated in MCP spec 2025-03-26).
67

78
## 0.112.1
89

deps-lock.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,26 @@
10521052
"mvn-repo": "https://repo.clojars.org/",
10531053
"hash": "sha256-RLTLjpPU9rJiwE7Qdx1w3WbnbUXX/HVYIGcaYmVcVDk="
10541054
},
1055+
{
1056+
"mvn-path": "io/github/plumce/plumcp.core-json-cheshire/0.2.0-beta3/plumcp.core-json-cheshire-0.2.0-beta3.jar",
1057+
"mvn-repo": "https://repo.clojars.org/",
1058+
"hash": "sha256-zv+Trbz3BWVF2jWgADInlyjqsDsanbWKVYGOceV+WnM="
1059+
},
1060+
{
1061+
"mvn-path": "io/github/plumce/plumcp.core-json-cheshire/0.2.0-beta3/plumcp.core-json-cheshire-0.2.0-beta3.pom",
1062+
"mvn-repo": "https://repo.clojars.org/",
1063+
"hash": "sha256-w6nOMod07L7uKT2Vl+Ici/Oonq3CvGCCrJix3f0y7Cs="
1064+
},
1065+
{
1066+
"mvn-path": "io/github/plumce/plumcp.core/0.2.0-beta3/plumcp.core-0.2.0-beta3.jar",
1067+
"mvn-repo": "https://repo.clojars.org/",
1068+
"hash": "sha256-M/6egOI3jY8hVnave6Cx12P5Hmd6M1J5QuZEszUx2nk="
1069+
},
1070+
{
1071+
"mvn-path": "io/github/plumce/plumcp.core/0.2.0-beta3/plumcp.core-0.2.0-beta3.pom",
1072+
"mvn-repo": "https://repo.clojars.org/",
1073+
"hash": "sha256-I6gSOKlouC7ZMoJYow4/XZEgwMeZYGLZwtj2oblpVoA="
1074+
},
10551075
{
10561076
"mvn-path": "io/methvin/directory-watcher/0.17.3/directory-watcher-0.17.3.jar",
10571077
"mvn-repo": "https://repo1.maven.org/maven2/",
@@ -3477,6 +3497,16 @@
34773497
"mvn-repo": "https://repo1.maven.org/maven2/",
34783498
"hash": "sha256-D1omWgYzGwBJ41K+MsoyLeGLF/PU27cGNdQNppLjWC8="
34793499
},
3500+
{
3501+
"mvn-path": "org/yaml/snakeyaml/2.4/snakeyaml-2.4.jar",
3502+
"mvn-repo": "https://repo1.maven.org/maven2/",
3503+
"hash": "sha256-73ea9dKand6MxwzgNB9cb3c14j7f+Whc6qnTU1m3u38="
3504+
},
3505+
{
3506+
"mvn-path": "org/yaml/snakeyaml/2.4/snakeyaml-2.4.pom",
3507+
"mvn-repo": "https://repo1.maven.org/maven2/",
3508+
"hash": "sha256-4VSjIxzWzeaKq/J0/RiWTUmpwaX16e079HHprnvfCOY="
3509+
},
34803510
{
34813511
"mvn-path": "progrock/progrock/0.1.2/progrock-0.1.2.jar",
34823512
"mvn-repo": "https://repo.clojars.org/",

deps.edn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
org.clojure/core.async {:mvn/version "1.8.741"}
44
org.babashka/cli {:mvn/version "0.8.65"}
55
com.github.clojure-lsp/jsonrpc4clj {:mvn/version "1.0.2"}
6-
io.modelcontextprotocol.sdk/mcp {:mvn/version "0.17.2"}
6+
io.github.plumce/plumcp.core-json-cheshire {:mvn/version "0.2.0-beta3"}
7+
org.yaml/snakeyaml {:mvn/version "2.4"} ;; used by eca.shared for YAML parsing
78
borkdude/dynaload {:mvn/version "0.3.5"}
89
selmer/selmer {:mvn/version "1.12.69"}
910
babashka/fs {:mvn/version "0.5.26"}

resources/META-INF/native-image/eca/eca/native-image.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Args=-J-Dborkdude.dynaload.aot=true \
44
-J-Dclojure.spec.skip-macros=true \
55
--enable-url-protocols=jar,http,https \
66
--enable-all-security-services \
7+
--add-modules=jdk.httpserver \
78
--initialize-at-build-time=com.fasterxml.jackson \
89
--initialize-at-build-time=org.yaml.snakeyaml \
910
--initialize-at-build-time=io.opentelemetry.api.common.AttributeType \

0 commit comments

Comments
 (0)