v0.5.0 — ST22, SE16, and a modular tools/ layout
v0.5.0 — ST22, SE16, and a modular tools/ layout
This release moves claude-for-abap from "an AI that edits code" toward
"an AI that does the daily SAP-developer job" with two new tool families,
plus a refactor that makes future additions cheap.
ST22 short-dump analysis
adt_list_dumps— list runtime errors by user / host / time window
(from,to,maxResults). Atom feed parsed defensively; release-specific
rba:*fields (host, program, include, line, errorClass) surface as a
structured map so the agent can reason about them without you pasting XML.adt_get_dump— fetch the full detail by id. Parsed fields plus raw XML
fallback so the agent can drill into call stacks itself.
SE16-style table reads
adt_read_table— run an OpenSQL SELECT through the ADT Data Preview
endpoint (/sap/bc/adt/datapreview/freestyle). Returns structured
{ columns, rows }. SELECT-only guard on the client side; the SAP endpoint
enforces server-side too. Row cap default 100, hard max 5000. Requires
NetWeaver 7.55+ / S/4HANA.
Modular internals
src/server.js shrank from 1636 lines to ~190. Each tool category now lives
in its own module under src/tools/ (connection, source, quality,
lifecycle, discovery, cross-system, transports, runtime, data,
request). Shared helpers moved into src/result.js, src/lock.js,
src/xml.js. A new test/tools-shape.test.js enforces the per-module
contract.
Stats
- 27 high-level tools (was 24) + 5 Clean Core prompts + 1 escape hatch
- 80 tests passing (was 62), lint clean
- No behavior change for existing tools — every previous workflow still
works
Coming next (see TODO.md)
adt_grep_source (regex search across a package/TR), adt_list_versions
(version history), adt_run_atc_package (bulk ATC), SAP Note integration,
CDS-specific tooling.
Full diff: CHANGELOG.md.