diff --git a/2.13.0.202611081505/artifacts.jar b/2.13.0.202611081505/artifacts.jar deleted file mode 100644 index 858e767..0000000 Binary files a/2.13.0.202611081505/artifacts.jar and /dev/null differ diff --git a/2.13.0.202611081505/artifacts.xml.xz b/2.13.0.202611081505/artifacts.xml.xz deleted file mode 100644 index 8ade685..0000000 Binary files a/2.13.0.202611081505/artifacts.xml.xz and /dev/null differ diff --git a/2.13.0.202611081505/content.jar b/2.13.0.202611081505/content.jar deleted file mode 100644 index 14e21e1..0000000 Binary files a/2.13.0.202611081505/content.jar and /dev/null differ diff --git a/2.13.0.202611081505/content.xml.xz b/2.13.0.202611081505/content.xml.xz deleted file mode 100644 index 48e78d9..0000000 Binary files a/2.13.0.202611081505/content.xml.xz and /dev/null differ diff --git a/2.13.0.202611081505/features/com.epod.adt.mcp.feature_2.13.0.202611081505.jar b/2.13.0.202611081505/features/com.epod.adt.mcp.feature_2.13.0.202611081505.jar deleted file mode 100644 index dc44cd2..0000000 Binary files a/2.13.0.202611081505/features/com.epod.adt.mcp.feature_2.13.0.202611081505.jar and /dev/null differ diff --git a/2.13.0.202611081505/plugins/com.epod.adt.mcp.core_2.13.0.202611081505.jar b/2.13.0.202611081505/plugins/com.epod.adt.mcp.core_2.13.0.202611081505.jar deleted file mode 100644 index 4660cd5..0000000 Binary files a/2.13.0.202611081505/plugins/com.epod.adt.mcp.core_2.13.0.202611081505.jar and /dev/null differ diff --git a/2.13.0.202611081505/plugins/com.epod.adt.mcp.plugin_2.13.0.202611081505.jar b/2.13.0.202611081505/plugins/com.epod.adt.mcp.plugin_2.13.0.202611081505.jar deleted file mode 100644 index 78952e0..0000000 Binary files a/2.13.0.202611081505/plugins/com.epod.adt.mcp.plugin_2.13.0.202611081505.jar and /dev/null differ diff --git a/2.14.0.202611221916/artifacts.jar b/2.14.0.202611221916/artifacts.jar new file mode 100644 index 0000000..aaa0e9a Binary files /dev/null and b/2.14.0.202611221916/artifacts.jar differ diff --git a/2.14.0.202611221916/artifacts.xml.xz b/2.14.0.202611221916/artifacts.xml.xz new file mode 100644 index 0000000..38a9445 Binary files /dev/null and b/2.14.0.202611221916/artifacts.xml.xz differ diff --git a/2.14.0.202611221916/content.jar b/2.14.0.202611221916/content.jar new file mode 100644 index 0000000..7ad7c15 Binary files /dev/null and b/2.14.0.202611221916/content.jar differ diff --git a/2.14.0.202611221916/content.xml.xz b/2.14.0.202611221916/content.xml.xz new file mode 100644 index 0000000..6f45fe1 Binary files /dev/null and b/2.14.0.202611221916/content.xml.xz differ diff --git a/2.14.0.202611221916/features/com.epod.adt.mcp.feature_2.14.0.202611221916.jar b/2.14.0.202611221916/features/com.epod.adt.mcp.feature_2.14.0.202611221916.jar new file mode 100644 index 0000000..4b321c0 Binary files /dev/null and b/2.14.0.202611221916/features/com.epod.adt.mcp.feature_2.14.0.202611221916.jar differ diff --git a/2.13.0.202611081505/p2.index b/2.14.0.202611221916/p2.index similarity index 82% rename from 2.13.0.202611081505/p2.index rename to 2.14.0.202611221916/p2.index index bf29667..76e28b3 100644 --- a/2.13.0.202611081505/p2.index +++ b/2.14.0.202611221916/p2.index @@ -1,4 +1,4 @@ -#Sun Nov 08 16:06:26 CET 2026 +#Sun Nov 22 20:17:42 CET 2026 artifact.repository.factory.order=artifacts.xml.xz,artifacts.xml,\! metadata.repository.factory.order=content.xml.xz,content.xml,\! version=1 diff --git a/2.14.0.202611221916/plugins/com.epod.adt.mcp.core_2.14.0.202611221916.jar b/2.14.0.202611221916/plugins/com.epod.adt.mcp.core_2.14.0.202611221916.jar new file mode 100644 index 0000000..e5a381b Binary files /dev/null and b/2.14.0.202611221916/plugins/com.epod.adt.mcp.core_2.14.0.202611221916.jar differ diff --git a/2.14.0.202611221916/plugins/com.epod.adt.mcp.plugin_2.14.0.202611221916.jar b/2.14.0.202611221916/plugins/com.epod.adt.mcp.plugin_2.14.0.202611221916.jar new file mode 100644 index 0000000..3022765 Binary files /dev/null and b/2.14.0.202611221916/plugins/com.epod.adt.mcp.plugin_2.14.0.202611221916.jar differ diff --git a/CHANGELOG.md b/CHANGELOG.md index 73b0840..7acdcde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [2.14.0] — 2026-11-22 + +### New features +- Eclipse mode: EPOD works with the ABAP editor that is open in Eclipse. The user opens an object, and the AI client changes the code in that editor. The change shows on the screen at once. EPOD does not save the change and does not activate it. The user checks the change, undoes it with one Ctrl+Z, or saves and activates it. Three new tools do this: + - `sap_active_editor` reads the last active ABAP editor: the system, the object, the tab, the saved state, the selection, the cursor, and the block at the cursor. The text can have changes that are not saved. `full=true` gives the full text of the tab. + - `sap_editor_problems` reads the errors and warnings that the editor shows now. ADT checks the unsaved text while the user types, so the list is current. `severity` sets the lowest severity. The default is `error`. + - `sap_apply_to_editor` writes one block into the open editor of the object that the call names (`objectName`), as the user types it: a method implementation or definition, a declaration, a section, a FORM, or a MODULE. Another editor can be the last active editor. With `signature`, the tool adds a new method: the definition and the implementation in one undo step. The tool sends no write to SAP. Eclipse locks the object, as it does for a key press. An object that is not open in an editor gives a refusal that names `sap_push_element`. +- The three tools are in the Eclipse mode only. The Eclipse mode has 39 tools. The standalone mode has no editor tool. + +### Changes +- The write tools do not write over work that is not saved. When an editor in Eclipse holds the object with changes that are not saved, the write tools refuse and send no request. The result names the editor and `sap_apply_to_editor`. The security log records this refusal as `refused`. +- An editor keeps the lock of the object also after Ctrl+Z and after a save. When the server refuses the lock and an editor of the object is open, the result names the editor before the server message. Before, the text looked like the lock of another user. +- A message class or a DDIC object in an open form editor with changes that are not saved: the write tools refuse and name the save or the close of the editor as a user step. +- The read-only mode also covers `sap_apply_to_editor`: 13 write tools in the Eclipse mode, 12 in the standalone mode. +- Codex CLI: copy the text for `AGENTS.md` from the guide `install/eclipse.md`, part "The open editor". Without it, Codex does not use the editor tools for "this method" or "here". +- EPOD builds against ADT 3.65 (Java 25 class files). The plugin still runs on earlier ADT releases: the class file version and the bundle version ranges did not change. + ## [2.13.0] — 2026-11-08 ### New features diff --git a/README.md b/README.md index b9c74d0..7587f23 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,18 @@ AI Client --(HTTP/JSON-RPC)--> Eclipse Plugin --(ADT REST API / SNC)--> SAP ``` +## What's new in 2.14.0 + +- Eclipse mode: EPOD works with the ABAP editor that is open in Eclipse. The AI client changes the code in that editor, and the change shows on the screen at once. EPOD does not save the change and does not activate it. The user checks the change, undoes it with one Ctrl+Z, or saves and activates it. +- The new tool `sap_active_editor` reads the last active ABAP editor: the system, the object, the tab, the saved state, the selection, the cursor, and the block at the cursor, also when the text is not saved. +- The new tool `sap_editor_problems` reads the errors and warnings that the editor shows now. +- The new tool `sap_apply_to_editor` writes one block into the open editor of the object that the call names: a method, a declaration, a section, a FORM, or a MODULE. With `signature`, the tool adds a new method in one undo step. +- The write tools refuse an object that is open in an editor with changes that are not saved, and send no request. The result names the editor and `sap_apply_to_editor`. +- When the server refuses the lock and an editor of the object is open, the result names the editor before the server message. +- The read-only mode also covers `sap_apply_to_editor`. +- Codex CLI: copy the text for `AGENTS.md` from the guide `install/eclipse.md`, part "The open editor". Without it, Codex does not use the editor tools for "this method" or "here". +- EPOD builds against ADT 3.65. The plugin still runs on earlier ADT releases. + ## What's new in 2.13.0 - The new tool `sap_transport_diff` shows what one transport request or task changed: one header line per object with the two versions, the unified diff, and one block per changed method or section. The object line counts each outcome. A released request compares the version of the request with the version before it. An open request compares the version with the version before it by date, as Eclipse does. @@ -23,18 +35,6 @@ AI Client --(HTTP/JSON-RPC)--> Eclipse Plugin --(ADT REST API / SNC)--> SAP - `sap_transport_release` reports a success only when the release ran. A refused release gives `success:false`, the release status, and the server messages. - Bug fixes. -## What's new in 2.12.0 - -- `sap_syntax_check`, `sap_atc_run`, and `sap_check_object` name the member and the line in its block for each finding with a position. -- `sap_go_to_definition` lists the implementing classes when a call through an interface has more than one implementation. -- `sap_go_to_definition` names the usage line and the lines of the target block in its first line. -- `sap_run_unit_test` with `uncoveredLines` names each branch path that no test ran. -- EPOD locks and unlocks an object at the URI that Eclipse ADT uses: the object URI, or the source URI for a CDS annotation definition and a behavior definition. The write still goes to the source. -- `sap_go_to_definition` gives one target for an enumeration type whose name is in the `BEGIN OF` and the `END OF` part. It gives the kind `declaration` for an inline declaration. -- `sap_atc_run` gives `"totalFindings":0` when ATC finds nothing. -- A later write of an object in one Eclipse session now activates. -- Bug fixes. - See [CHANGELOG.md](CHANGELOG.md) for earlier versions. @@ -182,14 +182,14 @@ The `systemId` description in every tool's schema is dynamically populated from Each connected system has an access mode: write or read-only. A new connection starts in write. The mode lives in the third column of the **ABAP MCP Server** view table, next to Project and Status. The **Toggle Read-Only** button flips the mode of the selected system. -A read-only system refuses the 12 write tools and sends no write request to SAP. The first call to a system reads the system documents before the refusal. Every other tool works on a read-only system. The 12 write tools are `sap_push_source`, `sap_push_source_from_file`, `sap_push_element`, `sap_push_message`, `sap_push_fields`, `sap_create_object`, `sap_activate`, `sap_lock`, `sap_unlock`, `sap_transport_create`, `sap_transport_release`, and `sap_quick_fix`. `sap_quick_fix` without `fix` only lists the proposals and works on a read-only system. +A read-only system refuses the 13 write tools and sends no write request to SAP. The first call to a system reads the system documents before the refusal. Every other tool works on a read-only system. The 13 write tools are `sap_push_source`, `sap_push_source_from_file`, `sap_push_element`, `sap_push_message`, `sap_push_fields`, `sap_create_object`, `sap_activate`, `sap_lock`, `sap_unlock`, `sap_transport_create`, `sap_transport_release`, `sap_quick_fix`, and `sap_apply_to_editor`. `sap_quick_fix` without `fix` only lists the proposals and works on a read-only system. The mode survives an Eclipse restart and a reconnect. The plugin stores the mode per project name. `sap_list_systems` shows the mode of each connected system. ## MCP Tools -The plugin exposes 36 tools covering the full ABAP development workflow: +The plugin exposes 39 tools covering the full ABAP development workflow: ### Search & Navigation @@ -257,6 +257,16 @@ The plugin exposes 36 tools covering the full ABAP development workflow: |------|-------------| | `sap_list_systems` | List all SAP systems currently connected and available for tool calls, with the access mode of each system | +### Open Editor + +| Tool | Description | +|------|-------------| +| `sap_active_editor` | Read the last active ABAP editor of Eclipse: system, object, tab, saved state, selection, cursor, and the block at the cursor, from the editor text, also when it is not saved. `full=true` gives the whole text of the tab. No request to SAP | +| `sap_editor_problems` | Read the errors and warnings that the last active ABAP editor shows now: the check while the user types, the activation errors, and the ATC findings. One line each. No request to SAP | +| `sap_apply_to_editor` | Write one block into the open editor of the named object, as the user types it: a method, a declaration, a section, a FORM, or a MODULE; a new method with `signature`. No save, no activation, no write to SAP. One Ctrl+Z undoes the change | + +The write tools refuse an object that is open in an Eclipse editor with changes that are not saved, and send no request. When the server refuses the lock and an editor of the object is open, the result names the editor before the server message. + ## Standalone mode diff --git a/compositeArtifacts.xml b/compositeArtifacts.xml index 5c28fd7..5f1b40e 100644 --- a/compositeArtifacts.xml +++ b/compositeArtifacts.xml @@ -4,10 +4,10 @@ type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'> - + - + diff --git a/compositeContent.xml b/compositeContent.xml index 2f6bd95..af33cfc 100644 --- a/compositeContent.xml +++ b/compositeContent.xml @@ -4,10 +4,10 @@ type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'> - + - + diff --git a/install/README.md b/install/README.md index a5ab6c1..e272fb3 100644 --- a/install/README.md +++ b/install/README.md @@ -5,7 +5,7 @@ server runs on your computer. It accepts connections from `127.0.0.1` only. ## Choose a mode -EPOD has two modes. Both modes give the same 36 tools. +EPOD has two modes. Both modes give 36 common tools. | Topic | Eclipse mode | Standalone mode | |---|---|---| @@ -16,7 +16,7 @@ EPOD has two modes. Both modes give the same 36 tools. | Platforms | The mode runs on macOS and Windows. | The mode runs on macOS and on Windows x86_64. | | Port | The default port is 3000. | The default port is 3100. | | Client connection | The MCP client connects over HTTP with a token. | The MCP client starts a client entry. The entry holds no token. HTTP with a token is the second way. | -| Extra tools | The mode has no extra tools. | The mode adds `sap_system_list_sapgui` and `sap_system_add`. | +| Extra tools | The mode adds the editor tools `sap_active_editor`, `sap_editor_problems`, and `sap_apply_to_editor` (39 tools). | The mode adds `sap_system_list_sapgui` and `sap_system_add`. | | Controls | You use the view "ABAP MCP Server" in Eclipse. | You use the launcher commands in a terminal and the live screen `monitor`. | Linux is out of scope for both modes. diff --git a/install/eclipse.md b/install/eclipse.md index dfc0f93..f807d75 100644 --- a/install/eclipse.md +++ b/install/eclipse.md @@ -140,6 +140,8 @@ Codex reads the token from an environment variable. `codex mcp list` shows `epod-abap-mcp` with the auth `Bearer token`. +For the editor tools, Codex needs a text in the file `AGENTS.md`. Refer to [The open editor](#the-open-editor). + The second way is a header in `~/.codex/config.toml`: ```toml @@ -197,12 +199,50 @@ Each connected system has an access mode: `write` or `read-only`. A new connecti The tab **Log** shows `System is now read-only.` -A read-only system refuses these 12 tools and sends no write request to SAP: `sap_push_source`, `sap_push_source_from_file`, +A read-only system refuses these 13 tools and sends no write request to SAP: `sap_push_source`, `sap_push_source_from_file`, `sap_push_element`, `sap_push_message`, `sap_push_fields`, `sap_create_object`, `sap_activate`, `sap_lock`, -`sap_unlock`, `sap_transport_create`, `sap_transport_release`, and `sap_quick_fix`. `sap_quick_fix` without `fix` +`sap_unlock`, `sap_transport_create`, `sap_transport_release`, `sap_quick_fix`, and `sap_apply_to_editor`. `sap_quick_fix` without `fix` only lists the proposals and works on a read-only system. All other tools work. The view stores the mode for each project. The mode stays after a restart of Eclipse. +### The open editor + +The Eclipse mode has three tools for the ABAP editor that you work in: `sap_active_editor` reads the last active ABAP +editor, `sap_editor_problems` reads the errors and warnings that this editor shows, and `sap_apply_to_editor` writes +one block into the open editor of the object that the call names. The three tools send no request to SAP. +`sap_apply_to_editor` does not save and does not activate. You save and activate in Eclipse. One Ctrl+Z undoes the +change. + +`sap_apply_to_editor` writes into the active tab of the editor. For a block of another tab of a class, select that tab +first. + +The write tools refuse an object that is open in an editor with changes that are not saved. An editor holds the lock +of its object from the first change until the activation or the close, also after Ctrl+Z and after a save. When the +server refuses the lock and an editor of the object is open, the result names the editor before the message of the +server. The message of the server names the lock owner. If the editor is the lock owner, close the editor to release +the lock. + +Codex: copy the text below into the file `AGENTS.md` of your work folder. Without this text, Codex reads "this +method" and "here" as a file of the work folder and calls no EPOD tool. + +```text +## When the user works in an open editor +Eclipse mode only. The three editor tools read and write the ABAP editor of this Eclipse. They send no request to SAP. The standalone mode has no editor tool. + +`sap_active_editor` gives the last active ABAP editor: the system (the Eclipse project of the editor), the object and its tab, the state `editor saved` or `editor not saved`, the selection, the cursor line and column, and the block at the cursor (a method, a FORM, a MODULE, a declaration, or a section) from the editor text, also when the text is not saved. `full=true` gives the whole text of the tab. A form editor (a message class, a DDIC object) has no text: the result names the object and the state, and says that it gives no cursor, no block, and no text, also with `full=true`. Use it for "this method", "here", or "the open class". A given `systemId` must be the system of the editor; else the tool refuses. An editor of a project without an EPOD connection gives a refusal that names the project. + +`sap_editor_problems` gives the errors and warnings that the editor shows now: the check that Eclipse runs while the user types (500 ms after the last change), the activation errors, and the ATC findings. One line each: source, severity, line, column, block, message. A problem of another tab of the same class names its tab. `severity` sets the lowest severity (default `error`). + +`sap_apply_to_editor` writes one block into the open editor of the object `objectName` (required) in the system of the call (`systemId`, or the single connected system), as the user types it: a method implementation or definition, a declaration, a section, a FORM, or a MODULE. The editor need not be the last active editor. When two editors hold the object (two workbench windows), the tool takes the last active of them. The tool writes into the active tab of that editor; a block of another tab gives a refusal, and a change of the tab is a user step in Eclipse. `element` names the block; without it the tool takes the block at the cursor of that editor. `part` is `implementation` or `definition`; the default is `implementation` for a method and `definition` for a declaration, and without `element` the block at the cursor decides. An object that is not open in an editor of the system gives a refusal that names `sap_push_element`; an editor of the same name in another project is not a match. A new class method needs `signature` (one `METHODS` or `CLASS-METHODS` statement, with an optional section statement before it; default `PRIVATE SECTION`). The tool writes the definition and the implementation in one undo step. The tool does not save and does not activate. Eclipse locks the object as for a key press. One Ctrl+Z removes the change. The tool refuses a member of a chained declaration or of a `BEGIN OF` structure, and a read-only system. When Eclipse does not answer within 10 seconds (a dialog or a long job), the tool writes nothing. + +An open editor holds the lock of its object from the first change until the activation or the close, also after Ctrl+Z back to the saved text and after a save. The write tools of this server see the open editors of this Eclipse: +- An editor of the object with changes that are not saved: `sap_push_source`, `sap_push_source_from_file`, `sap_push_element`, `sap_push_message`, `sap_push_fields`, `sap_activate`, `sap_lock`, and `sap_quick_fix` with `fix` refuse before any write request. The text names the object. For a source write it names `sap_apply_to_editor`. For `sap_activate` it says that the save and the activation of the editor text are user steps in Eclipse. For `sap_lock` it says that the editor holds the lock. For a message class or a DDIC object (a form editor) it says that no tool of this server writes into this editor and that the save or the close of the editor is a user step in Eclipse. +- The server refuses the lock (HTTP 403) and an editor of the object is open: the result puts the editor state before the server message: " is open in an Eclipse editor of this system, and the server refused the lock. This editor can be the lock owner: ... A close of the editor releases that lock. The lock answer names the lock owner. ... Lock answer: ...". The tool does not read the lock owner; the same status covers the lock of another user. +- A write to the backend while a clean editor without a lock is open succeeds. The editor shows the old text until the user clicks into it; then Eclipse loads the new text. + +When the object is open in an editor, write with `sap_apply_to_editor` and let the user save and activate. When the object is not open, use `sap_push_element` or `sap_push_source`. +``` + ## 9. Security log The server writes each server start, server stop, tool call, and refused request to the file `mcp-security.log`. diff --git a/install/reference.md b/install/reference.md index 3653e61..2c15bd0 100644 --- a/install/reference.md +++ b/install/reference.md @@ -113,7 +113,8 @@ The level `full` is the default. The level `reduced` removes the object and the standalone mode, `reduced` also removes the object names from `activity.jsonl`. The log never records the token, ABAP source, a request body, a response body, or an ADT error message. A read-only -refusal is a `tool_call` line with the result `refused`. +refusal is a `tool_call` line with the result `refused`. In the Eclipse mode, the refusal of a write to an object +that is open in an editor with changes that are not saved is a `refused` line too. Place of the file: @@ -151,9 +152,10 @@ The server accepts a maximum of 8 sessions. It drops a session after 30 minutes Every request to `/mcp` needs the header `Authorization: Bearer `. A request with an `Origin` header gets HTTP 403. -The 12 write tools refuse a read-only system: `sap_push_source`, `sap_push_source_from_file`, `sap_push_element`, +The write tools refuse a read-only system: `sap_push_source`, `sap_push_source_from_file`, `sap_push_element`, `sap_push_message`, `sap_push_fields`, `sap_create_object`, `sap_activate`, `sap_lock`, `sap_unlock`, -`sap_transport_create`, `sap_transport_release`, and `sap_quick_fix`. `sap_quick_fix` without `fix` only lists the +`sap_transport_create`, `sap_transport_release`, `sap_quick_fix`, and in the Eclipse mode `sap_apply_to_editor` +(13 tools in the Eclipse mode, 12 in the standalone mode). `sap_quick_fix` without `fix` only lists the proposals and works on a read-only system. Some calls stop before the write or before any ADT request. The result text names the reason. diff --git a/install/standalone-macos.md b/install/standalone-macos.md index fe0f72a..a49c6b0 100644 --- a/install/standalone-macos.md +++ b/install/standalone-macos.md @@ -25,8 +25,8 @@ version and a SHA-256 file in the folder `standalone/`. Users outside SAP use the external update site: - curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.13.0.zip - curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.13.0.zip.sha256 + curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.14.0.zip + curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.14.0.zip.sha256 SAP developers download the two files from `https://github.tools.sap/GLOFINDEFICA/epod-adt-mcp-updatesite/raw/main/standalone/` in a browser with a sign-in. The second way is a clone of @@ -34,9 +34,9 @@ version and a SHA-256 file in the folder `standalone/`. 3. Check the zip: - shasum -a 256 -c epod-adt-standalone-2.13.0.zip.sha256 + shasum -a 256 -c epod-adt-standalone-2.14.0.zip.sha256 - The command prints `epod-adt-standalone-2.13.0.zip: OK`. + The command prints `epod-adt-standalone-2.14.0.zip: OK`. CAUTION: Do not install a zip when the check does not print `OK`. @@ -48,11 +48,11 @@ You can also build the zip from the source repository with `./mvnw clean verify` 1. Open a terminal in the folder of the zip. 2. Unpack the zip: - unzip epod-adt-standalone-2.13.0.zip + unzip epod-adt-standalone-2.14.0.zip 3. Run the install: - sh epod-adt-standalone-2.13.0/epod-adt install + sh epod-adt-standalone-2.14.0/epod-adt install The command prints `EPOD ADT MCP server installed in /Users//.epod-adt:` and the two jars. diff --git a/install/standalone-windows.md b/install/standalone-windows.md index 520859e..d50fa5b 100644 --- a/install/standalone-windows.md +++ b/install/standalone-windows.md @@ -32,8 +32,8 @@ version and a SHA-256 file in the folder `standalone/`. Users outside SAP use the external update site: - Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.13.0.zip -OutFile epod-adt-standalone-2.13.0.zip - Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.13.0.zip.sha256 -OutFile epod-adt-standalone-2.13.0.zip.sha256 + Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.14.0.zip -OutFile epod-adt-standalone-2.14.0.zip + Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.14.0.zip.sha256 -OutFile epod-adt-standalone-2.14.0.zip.sha256 SAP developers download the two files from `https://github.tools.sap/GLOFINDEFICA/epod-adt-mcp-updatesite/raw/main/standalone/` in a browser with a sign-in. The second way is a clone of @@ -41,7 +41,7 @@ version and a SHA-256 file in the folder `standalone/`. 3. Check the zip: - (Get-FileHash -Algorithm SHA256 .\epod-adt-standalone-2.13.0.zip).Hash -eq (Get-Content .\epod-adt-standalone-2.13.0.zip.sha256).Split(' ')[0] + (Get-FileHash -Algorithm SHA256 .\epod-adt-standalone-2.14.0.zip).Hash -eq (Get-Content .\epod-adt-standalone-2.14.0.zip.sha256).Split(' ')[0] The command prints `True`. @@ -57,15 +57,15 @@ Windows marks a file from the internet. A Group Policy can block a marked script 1. Open a terminal in the folder of the zip. 2. Remove the mark from the downloaded zip: - Unblock-File .\epod-adt-standalone-2.13.0.zip + Unblock-File .\epod-adt-standalone-2.14.0.zip 3. Unpack the zip: - Expand-Archive epod-adt-standalone-2.13.0.zip -DestinationPath . + Expand-Archive epod-adt-standalone-2.14.0.zip -DestinationPath . 4. Run the install: - powershell -ExecutionPolicy Bypass -File .\epod-adt-standalone-2.13.0\epod-adt.ps1 install + powershell -ExecutionPolicy Bypass -File .\epod-adt-standalone-2.14.0\epod-adt.ps1 install The command prints `EPOD ADT MCP server installed in C:\Users\\.epod-adt:` and the two jars. diff --git a/latest.json b/latest.json index abb3005..c26fa0c 100644 --- a/latest.json +++ b/latest.json @@ -1,7 +1,8 @@ { - "version": "2.13.0", - "date": "2026-11-08", + "version": "2.14.0", + "date": "2026-11-22", "versions": [ + {"version": "2.14.0", "date": "2026-11-22", "changes": "### New features\n- Eclipse mode: EPOD works with the ABAP editor that is open in Eclipse. The user opens an object, and the AI client changes the code in that editor. The change shows on the screen at once. EPOD does not save the change and does not activate it. The user checks the change, undoes it with one Ctrl+Z, or saves and activates it. Three new tools do this:\n - `sap_active_editor` reads the last active ABAP editor: the system, the object, the tab, the saved state, the selection, the cursor, and the block at the cursor. The text can have changes that are not saved. `full=true` gives the full text of the tab.\n - `sap_editor_problems` reads the errors and warnings that the editor shows now. ADT checks the unsaved text while the user types, so the list is current. `severity` sets the lowest severity. The default is `error`.\n - `sap_apply_to_editor` writes one block into the open editor of the object that the call names (`objectName`), as the user types it: a method implementation or definition, a declaration, a section, a FORM, or a MODULE. Another editor can be the last active editor. With `signature`, the tool adds a new method: the definition and the implementation in one undo step. The tool sends no write to SAP. Eclipse locks the object, as it does for a key press. An object that is not open in an editor gives a refusal that names `sap_push_element`.\n- The three tools are in the Eclipse mode only. The Eclipse mode has 39 tools. The standalone mode has no editor tool.\n\n### Changes\n- The write tools do not write over work that is not saved. When an editor in Eclipse holds the object with changes that are not saved, the write tools refuse and send no request. The result names the editor and `sap_apply_to_editor`. The security log records this refusal as `refused`.\n- An editor keeps the lock of the object also after Ctrl+Z and after a save. When the server refuses the lock and an editor of the object is open, the result names the editor before the server message. Before, the text looked like the lock of another user.\n- A message class or a DDIC object in an open form editor with changes that are not saved: the write tools refuse and name the save or the close of the editor as a user step.\n- The read-only mode also covers `sap_apply_to_editor`: 13 write tools in the Eclipse mode, 12 in the standalone mode.\n- Codex CLI: copy the text for `AGENTS.md` from the guide `install/eclipse.md`, part \"The open editor\". Without it, Codex does not use the editor tools for \"this method\" or \"here\".\n- EPOD builds against ADT 3.65 (Java 25 class files). The plugin still runs on earlier ADT releases: the class file version and the bundle version ranges did not change."}, {"version": "2.13.0", "date": "2026-11-08", "changes": "### New features\n- The new tool `sap_transport_diff` shows what one transport request or task changed: one header line per object with the two versions, the unified diff, and one block per changed method or section. The object line counts each outcome. A released request compares the version of the request with the version before it. An open request compares the version with the version before it by date, as Eclipse does.\n- `sap_run_unit_test` with `uncoveredLines` takes the methods of local classes (`LCL=>METH`) and of interfaces (`INTF~METH`), names the include of a local block and the other owners of a shared plain name, and ends with one line that names the local class methods that the tests do not fully run.\n- EPOD checks once a day for a new release. Eclipse shows a popup once per version, and the standalone `status`, `start`, and `monitor` show one line. The check has no setting.\n\n### Changes\n- Result, error, and refusal texts state the state and name the tool or the parameter form. They give no instruction.\n\n### Bug fixes\n- `sap_transport_list` lists the transport requests again. It sends the filters of the Eclipse Transport Organizer view, with the logon user and the requests released in the last 14 days as the default. `releasedFrom` and `releasedTo` set the window. The field `target` comes from the target node.\n- `sap_transport_release` reports a success only when the release ran. A refused release gives `success:false`, the release status, and the server messages.\n- Bug fixes."}, {"version": "2.12.0", "date": "2026-11-01", "changes": "### New features\n- `sap_syntax_check`, `sap_atc_run`, and `sap_check_object` name the member and the line in its block for each finding with a position.\n- `sap_go_to_definition` lists the implementing classes when a call through an interface has more than one implementation.\n- `sap_go_to_definition` names the usage line and the lines of the target block in its first line.\n- `sap_run_unit_test` with `uncoveredLines` names each branch path that no test ran.\n\n### Changes\n- EPOD locks and unlocks an object at the URI that Eclipse ADT uses: the object URI, or the source URI for a CDS annotation definition and a behavior definition. The write still goes to the source.\n- `sap_go_to_definition` gives one target for an enumeration type whose name is in the `BEGIN OF` and the `END OF` part. It gives the kind `declaration` for an inline declaration.\n- `sap_atc_run` gives `\"totalFindings\":0` when ATC finds nothing.\n\n### Bug fixes\n- A later write of an object in one Eclipse session now activates.\n- Bug fixes."}, {"version": "2.11.0", "date": "2026-10-26", "changes": "### New features\n- The new tool `sap_quick_fix` lists and applies the Eclipse quick fixes (Ctrl+1) at a symbol.\n- The new tool `sap_go_to_definition` returns the definition (F3) of a symbol.\n- `sap_push_element` creates a called method or an interface method that does not exist.\n- `sap_pull_source`, `sap_pull_source_to_file`, and `sap_push_element` read and write one FORM or MODULE block.\n- The same three tools read and write one section of a class.\n- `sap_pull_source` with `entries` reads up to 20 elements of several objects in one call.\n- `sap_object_versions` with `element` lists only the versions in which one member changed.\n- `sap_run_unit_test` with `uncoveredLines` returns the lines of the named methods that no test runs.\n- `sap_syntax_check` checks a program include in the context of its main program.\n\n### Bug fixes\n- Bug fixes."}, diff --git a/standalone/epod-adt-standalone-2.14.0.zip b/standalone/epod-adt-standalone-2.14.0.zip new file mode 100644 index 0000000..512d8c7 Binary files /dev/null and b/standalone/epod-adt-standalone-2.14.0.zip differ diff --git a/standalone/epod-adt-standalone-2.14.0.zip.sha256 b/standalone/epod-adt-standalone-2.14.0.zip.sha256 new file mode 100644 index 0000000..8a17ec4 --- /dev/null +++ b/standalone/epod-adt-standalone-2.14.0.zip.sha256 @@ -0,0 +1 @@ +6dfee3d8f604e10ce837be096abf0ac2449971d26909e44fabc48b2b852c7115 epod-adt-standalone-2.14.0.zip