Repository navigation
Releases
Watt 1.6.7 — Power your SAP Engineering
Watt 1.6.7 — Power your SAP Engineering
Watt is an independent engineering CLI for SAP lifecycle work. Its name comes
from the unit of power: steady, sustained and controllable engineering work is
the design goal. ADT/ABAP is the current foundation, not the long-term boundary.
Watt can be used by people directly or called by AI agents; the CLI does not
embed an LLM or an autonomous workflow engine.
Install Watt
Node.js >=18, no Python required:
npm install -g "sap-watt@^1.6.7"
sap-watt install
sap-watt --versionOr Python >=3.10, preferably in a virtual environment:
python -m pip install "sap-watt>=1.6.7,<2"
sap-watt --versionWith npx keep the selector on every call:
npx "sap-watt@^1.6.7" install, then npx "sap-watt@^1.6.7" <command>.
Compatibility
sap-adt-cli/sap-adtremain supported. The new package owns only
sap-watt; no barewattexecutable is installed.- Both entries share the same implementation, subcommands, JSON/exit contracts,
configuration and credential identifiers. No SAP credential migration. - Python Watt pins the same-version core. Its updater updates entry and core
together; do not upgrade the pinned core independently. - npm packages have independent runtime slots and update the actual owning
package. Installing or uninstalling either does not overwrite the other. - Native executable/archive names, release tag prefix, Windows installer AppId,
Skill IDs and plugin ID remain unchanged.
Principles and limits
Evidence first, explicit authorization and traceable outcomes. Read-only by
default; writes, execution and debugging retain their independent gates.
Execution can change SAP business data even when generic source writes are
disabled. Reviews remain advisory and never replace human approval.
Linux x86_64 and Windows x86_64 native runtimes are provided, plus experimental
macOS 15+ Intel and Apple Silicon runtimes. Native checks use synthetic fixtures,
not SAP credentials. Personal Macs, older macOS, signing/notarization, live SAP
on Windows/macOS, graphical/elevated Windows installation and actual PATH
mutation are not certified.
Companion plugin/docs version: 1.3.8. Install/update Skills separately.
Watt is a community project, not an official SAP product.
Verification
- Linux: 622 Python tests and 49 npm tests passed; built-wheel ownership,
native dual-entry installation and both npm uninstall orders passed. - Windows: 66 targeted Python regressions, native npm regressions, both Python
and npm package smokes, and desktop installer silent install/upgrade/uninstall
passed. The installer preserved synthetic configuration and user PATH. - Both macOS targets passed offline Python/npm tests, wheel checks, native builds
and isolated dual-entry npm installation:
https://github.com/shrek-abaper/sap-engineering-skill/actions/runs/46085176822 - Native diagnostic/debugger/execution smokes use synthetic fixtures. This
branding release adds no live SAP certification or authorization changes. - After publication, clean public PyPI and npm installations passed dependency,
command, update-owner, configuration-hint and npm coexistence checks, including
real GitHub runtime downloads. Both registries' artifacts match release hashes.
sap-adt-cli 1.6.6 / plugin and Skills 1.3.7
sap-adt-cli 1.6.6 / plugin and Skills 1.3.7
Incremental atomic-executor capabilities, reusing the existing ADT connection,
credential and independent permission gates:
- Explicit configured-target expectations, operation/risk/approval metadata and
consistent JSON envelopes, retaining human-readable output. - Enhancement/BAdI, message-class and lock metadata, bounded impact graphs and
strict two-profile active-source comparisons. - Unit gates, test skeletons, supplied bound coverage and hashed result bundles.
- Bounded dump/message diagnostic packages and deeper TR/task evidence analysis.
- Single-table/view configuration queries, snapshots and keyed comparisons.
- Unified SAP syntax/ATC and supplied bound abaplint quality evidence.
- Read-only local Git status, explicit TR/object/file mappings and file exports.
- Requirement/TR delivery bundles with nested integrity, target and gate checks.
The CLI does not embed LLM orchestration, maintain a full-system index, infer
business-completeness approval or invoke a SAP abapGit serializer.
READMEs, CHANGELOG and executor documentation are synchronized. The integration
wiki now ships assets/configs/jco-props.md for Skill-platform compatibility.
Its fenced properties template is byte-for-byte unchanged; actual generated
JCo destination files retain .jcoDestination.
Verification and boundaries
Linux ran 613 Python and 47 npm tests. Both native macOS jobs ran 613 Python
tests (3 skips), 47 npm tests (46 passed, 1 skip), builds and isolated runtime
installation smokes in Actions run 46073493281.
Windows passed 40 targeted executor Python tests, 42 npm tests (5 skips),
native runtime installation and desktop installer silent install/upgrade/uninstall.
Synthetic configuration and user/machine PATH were preserved.
Real SAP reads verified metadata, bounded references, two-profile source/config
comparisons and syntax/ATC. The standard-class Unit run executed zero tests and
remained not_run. Nonempty TR/dump success paths remain fixture-tested because
the available lists were empty. Coverage and abaplint are supplied bound reports,
not attested native instrumentation.
Windows installers remain unsigned. Graphical/elevated installation, actual PATH
mutation, live Windows/macOS SAP access, live debugger attachment, personal Mac,
older macOS, Keychain and signing/notarization are not certified.
Distribution
- Python:
pip install sap-adt-cli==1.6.6 - Node-only:
npx sap-adt-cli@1.6.6 install - Portable native runtimes: Linux x64, Windows x64, macOS Apple Silicon and Intel.
- Windows desktop installer, four standalone Skills and docs-only plugin.
Claude Code archive marketplace sources require Claude Code 2.1.224 or later.
Use the attached release-manifest.json and SHA256SUMS for exact artifacts and
integrity verification. SAP credentials and private live evidence are not included.
sap-adt CLI 1.6.5 / plugin 1.3.6
核心能力补齐
- ABAP Unit 回归与 JUnit:显式多对象、Package 递归、TR/task 范围;风险/时长组合、聚合证据和本地 JUnit。危险级测试使用独立
allow_execute,未知执行结果立即停止,不自动重跑。 - 结构化 Function/BAPI 调用:新增
get-function-signature、run-function,从源码解析接口,支持受限类型的 JSON 输入/输出、CHANGING、TABLES 和经典异常。通过 ADT 执行本地包装 Class,不引入 RFC 原生依赖。 - Report 选择条件与变式:
run-report --parameters-file/--variant,捕获经典 List 输出。执行能力不要求通用allow_write;无自动 COMMIT 或事务回滚。 - DDIC/RAP 开发生命周期:扩展 Include、函数组/函数、Domain、Data Element、Structure、Table、CDS、DCL、BDEF、SRVD、未发布 SRVB;新增
get-definition、write-definition、delete-object。源码写入保留锁、基线检查和严格读回;现有/状态不明 Table 转换保持拒绝。 - 多对象变更清单:新增
apply-change-set,按依赖顺序写入、联合激活,并要求最终 Unit/ATC 门禁;部分成功如实保留并报告,不自动回滚。
同步修复 DEV 实机发现的 Function 子资源 discovery 模板、函数 Include 命名、现代 TABLES 行类型/调用顺序以及新 DDIC 对象状态识别问题。
验收与边界
隔离 DEV 对象已完成结构化函数、Report 参数/真实变式、DDIC/RAP、多对象/Package Unit/JUnit 和真实 Unit/ATC 门禁验收;临时对象均确认清理,持久权限配置未改动。
DEV 的服务端风险上限拒绝了危险级 Unit Class;CLI 正确报告 incomplete/非零退出,不视为该测试执行通过。 TR/task 范围无可用开放 TR,本轮仅有离线覆盖。Table 仅验收新建未激活 DDL;未认证物理建表/已有表转换、服务发布/V4 运行时或非本地传输变更。
Linux 560 项 Python 测试及 47 项 npm 回归通过;Linux、Windows、原生 macOS Intel/Apple Silicon 的安装与运行时验证通过。macOS 原生构建记录。Windows 桌面安装器随本版提供,已验证静默安装、同版升级及卸载,未改变主机 PATH/用户配置;安装器仍未签名。
CLI 1.6.5;plugin/docs 1.3.6。archive marketplace 要求 Claude Code ≥ 2.1.224。
安装或升级
npm install -g sap-adt-cli@1.6.5
sap-adt installpython -m pip install --upgrade "sap-adt-cli[all]==1.6.5"Windows 桌面安装器:sap-adt-1.6.5-windows-x86_64-setup.exe。
CLI 1.6.4 / Skills 1.3.5 - Controlled ADT development
Controlled ADT development and independent execution consent
- Read and verify writes to Class
main,definitions,implementationsand
testclassesparts. Missing include generation requires explicit
--create-part; locking and activation target the parent Class. - Check unsaved buffers with
check-source, or require a successful candidate
check withwrite-source --check-before-write. - Create Class, Interface, executable Report and Package objects through
create-object, with reviewed plans, absence/dependency checks, one creation
request and metadata readback. No overwrite or automatic uncertain-outcome cleanup. - Read CDS/BDEF/SRVD/SRVB evidence with
get-rap; inspect OData metadata and
bounded entity samples with same-originodata-read. No service publication,
actions, arbitrary queries or next-link traversal. run-abapnow requires onlyallow_execute, likerun-classandrun-report.
Its invocation-owned$TMPClass lifecycle is covered by execution consent.
Keepallow_write=falseto block generic creation, source writes and activation.
SAP development permissions remain necessary; arbitrary ABAP can still change
business data. PRD refusal, fresh confirmation, reviewed plan hashes, ownership
checks and unknown-execution retention remain in place.
Distribution and verification scope
CLI 1.6.4, Skill/plugin bundle 1.3.5. Fresh native runtimes and isolated
npm installations were verified on Linux x64, Windows x64, macOS 15+ Intel and
Apple Silicon. macOS evidence:
Actions run 44904521434.
All installed-runtime execution checks keep generic source writes disabled.
Windows provides the portable ZIP, npm runtime and the supplemented
1.6.4 desktop installer.
Built on the Windows host with official portable Inno Setup 6.7.4, the
installer passed native PATH helper tests and silent per-user install,
same-version upgrade and uninstall in a Unicode/space path. Synthetic
configuration and user/machine PATH remained unchanged. The installer is
unsigned; GUI clicks, actual PATH mutation and elevated installs remain
unverified. Existing npm, PyPI, runtime and Skill artifacts are unchanged.
macOS remains
experimental; signing/notarization, older macOS, personal-Mac Keychain and live
Windows/macOS SAP connectivity are not certified.
DEV verified local creation/cleanup, all four Class parts, missing test include,
candidate rejection, activation/Unit, RAP source/unpublished-binding evidence
and technical OData V2 preview. All 36 attempted development probes were
independently confirmed absent, without changing persistent capability flags.
Published RAP/V4 end-to-end access and non-local Package/TR creation were not
live-verified. No new live debugger certification is claimed.
The archive-based Claude Code marketplace requires Claude Code 2.1.224+.
Skill folders and the CLI remain separate installations.
Upgrade
npm install -g sap-adt-cli@1.6.4
sap-adt installOr install the Python CLI:
python -m pip install --upgrade sap-adt-cli==1.6.4CLI 1.6.3 / Skills 1.3.4 - Controlled ABAP execution
Controlled ABAP execution
run-class NAME: execute an existingIF_OO_ADT_CLASSRUNclass.run-report NAME: execute an existing report with default selections and collect raw List output.run-abap --file FILE: run a method-body snippet through one invocation-owned temporary Class in$TMP. Supports typed localCALL FUNCTION, BAPIs and method calls without PyRFC.
Execution requires independent allow_execute; snippets also require allow_write. PRD is refused. Review --dry-run first; unattended --yes requires the exact reviewed --expect-plan-sha256. Execution is never automatically replayed or followed across redirects. Output, protocol completion, business-success uncertainty and cleanup are reported separately. Unknown execution/lock state retains the temporary Class for manual inspection. No automatic COMMIT, rollback or server-side cancellation.
DEV acceptance covered Class Run, Report List, local ALPHA conversion, read-only BAPI_CURRENCY_GETDECIMALS and syntax-error cleanup. All probes were independently verified absent. No live SAP credentials or responses are included in these artifacts.
Distribution
CLI/Python/npm package version: 1.6.3. Claude plugin/docs archive: 1.3.4, requiring Claude Code 2.1.224+ for archive marketplace sources.
Linux and Windows native runtime/npm installations and both macOS 15 architectures were verified. macOS build evidence: Actions run 44876118369, execution implementation source c755d1b8000df36f24f1bbbcb94f7da422739c9a. The release also includes test-portability and verification-documentation follow-ups, with no change to the runtime implementation.
The Windows desktop installer was not rebuilt because the compiler is unavailable; use npm or the portable ZIP. macOS runtimes remain experimental and unsigned/unnotarized. Report selection parameters/variants, GUI/ALV controls, native RFC, asynchronous recovery and cancellation are not included.
Python and npm registry packages are published as sap-adt-cli==1.6.3 and sap-adt-cli@1.6.3. The release also includes the versioned npm tarball and all four runtime archives.
CLI 1.6.2 / Skills 1.3.2
CLI 1.6.2 / Skills 1.3.2
Changes
- Verified
write-source: baseline read → diff preview/confirmation → lock → in-lock baseline re-check → write → readback → guaranteed unlock (finally) → optional activation with active-version readback. - Every write is bound to target system/client/user, object, transport, remote baseline and upload SHA-256 (canonical UTF-8, LF, trailing blanks removed). Any drift between review and execution writes nothing (
BASELINE_CHANGED,CONTENT_CHANGED). - New
--dry-run,--expect-baseline-sha256,--expect-content-sha256.--yesnow requires an expected baseline and skips only the prompt, never the checks. - Staged JSON
writeresult: write, readback, unlock and activation each reportaccepted/verified/failed/unknown. Unknown or partial outcomes returnWRITE_INCOMPLETE(exit 3); there is no blind retry and no rollback by writing old source back. - Unlock errors are no longer swallowed; a cleanup failure never masks the primary error. Activation failures from
chkl:messagesare reported asACTIVATION_FAILED. - README: project positioning, design principles and roadmap.
Behavior change: write-source stdout is now a JSON write result (previously the text Write complete.), and --yes without --expect-baseline-sha256 is refused. Error-code set: 23 codes.
Installation
npm install -g sap-adt-cli@1.6.2
sap-adt installOr, with Python 3.10+:
python -m pip install "sap-adt-cli[keystore,file]==1.6.2"Runtime archives cover Windows x64, Linux x64 and experimental macOS 15+ Intel/Apple Silicon. Windows also has an unsigned per-user desktop installer. Skill/plugin archives are separate from the CLI.
Verification and limits
The write workflow was accepted on a live non-production S/4HANA client with a dedicated probe object and transport: closed write/readback/activation/unlock loop, independent re-lock after unlock, two-session lock contention and baseline conflict, content changed after confirmation and a real activation failure. Timeouts, unknown remote outcomes and unlock failures are covered by offline regressions only. Other SAP releases (ECC, older S/4HANA) were not re-verified for this workflow.
Debugger limits from 1.6.1 are unchanged: live attachment and persistent SAP affinity remain unverified. macOS remains experimental (no signing/notarization, personal-Mac or Keychain certification); the Windows installer's graphical wizard, PATH mutation and elevated install are not certified.
Claude Code archive marketplace sources require Claude Code 2.1.224+.
CLI 1.6.1 / Skills 1.3.1
CLI 1.6.1 / Skills 1.3.1
Changes
- Richer ABAP Unit evidence: test classes/methods, alerts, details/stacks and explicit execution summaries. Optional
--require-testsrejects empty runs without changing existing defaults. - Read-only
get-sourcefor returned repository/test-include URIs and line windows;get-dumpfor bounded diagnostic details with explicit evidence gaps. - Skill-guided Unit/Dump diagnosis, without automatic edits, risk escalation or a new workflow engine.
- Experimental debugger primitives: bounded foreground owner, private authenticated IPC, scoped breakpoint/listen/attach, stack/variables, confirmed step/continue and non-terminating cleanup. SAP cookies are not persisted.
- Independent
allow_debugpermission, disabled by default; source/transport writes can stay disabled. Configure an approved existing non-production profile withsap-adt configure --profile NAME --allow-debug. Complete environment connections useSAP_ALLOW_DEBUG=truewith explicitSAP_ENVIRONMENT=dev|qas. - Task-oriented root help, risk-first descriptions and narrow/no-color rendering. Existing command paths and output defaults are preserved.
- Corrected debugger discovery content negotiation and redirected Windows UTF-8 output.
Installation
npm install -g sap-adt-cli@1.6.1
sap-adt installOr, with Python 3.10+:
python -m pip install "sap-adt-cli[keystore,file]==1.6.1"Runtime archives cover Windows x64, Linux x64 and experimental macOS 15+ Intel/Apple Silicon. Windows also has an unsigned per-user desktop installer. Skill/plugin archives are separate from the CLI.
Important limits
Debugger attachment to a real SAP target and persistent SAP affinity remain unverified. Discovery/CSRF checks and synthetic cross-process tests do not certify SAP debugger authorization. Use only explicitly approved non-business targets; setup/controls require independent permission, non-PRD and per-action confirmation. Stepping, continuing or detaching can let application code write business data even when source writes are disabled. Cleanup is not rollback; an accepted cleanup request is not independent proof of remote release.
macOS remains experimental: no signing/notarization, personal-Mac, older-macOS, Keychain or Gatekeeper/quarantine certification. The Windows silent installer lifecycle is covered; graphical wizard clicks, actual PATH mutation and elevated installation are not certified.
Claude Code archive marketplace sources require Claude Code 2.1.224+.
sap-adt CLI 1.6.0 / skills 1.3.0
CLI 1.6.0 / skills 1.3.0
- New read-only ADT feeds, per-part history, source/version diffs, transport details and transport diffs, with explicit evidence gaps.
- Channel-aware
sap-adt update, grouped help, Windows manual-proxy discovery, pip-proxy-aware Python updates, bounded failures and actionable recovery guidance. - Native npm runtimes: Linux x64 (glibc >=2.39), Windows x64, and experimental macOS 15+ Intel / Apple Silicon. npm requires Node.js >=18, not Python. PyPI requires Python >=3.10.
- macOS native build, complete offline suites and isolated npm runtime installation passed on both architectures in Actions run 40881012113. Personal Macs, older macOS, macOS live SAP, Keychain, Gatekeeper/quarantine, signing and notarization remain unverified. Windows installer is unsigned; graphical wizard, host PATH mutation and elevated setup remain unverified.
- Updated all skill snapshots and plugin payload. Claude Code archive-source plugins require >=2.1.224.
Install: npm install -g sap-adt-cli@1.6.0 then sap-adt install; or python -m pip install "sap-adt-cli[all]==1.6.0".
Artifacts are listed with SHA-256 digests in release-manifest.json and SHA256SUMS. Existing SAP configuration/credentials are preserved.
sap-adt 1.5.3 / plugin 1.2.7 — Windows x64 support
Windows x64 now has a native npm runtime, portable ZIP and desktop installer alongside Linux. Windows users: npm install -g "sap-adt-cli@^1.5.3", then sap-adt install. No Python required for npm or the desktop installer.
Fixed Windows file URL handling, silent installer dialogs, runtime self-test failure handling and installer-owned PATH cleanup. English/Chinese README and installation guidance are synchronized; plugin/docs version is 1.2.7.
Verified on Windows 11 x64 through WSL interop: npm installation and silent per-user desktop install, same-version upgrade, launch and uninstall in Unicode/space paths. PATH cleanup is tested separately without modifying the host PATH. Graphical wizard clicks, actual PATH mutation, elevated installs and macOS runtimes remain unverified. The Windows installer is unsigned and may trigger SmartScreen/AV warnings. No live SAP credentials or connection were used in packaging checks.
The plugin remains documentation-only and requires Claude Code >=2.1.224. Install the CLI separately. SHA256SUMS and release-manifest.json cover the attached artifacts.
sap-adt 1.5.2 / plugin 1.2.6
CLI 1.5.2 / plugin 1.2.6
- Fixed
sap-adt installhanging forever on proxied networks. The npm/npx
wizard downloaded with Node corehttps.get, which ignores
HTTPS_PROXY/HTTP_PROXYbefore Node 24 and had no timeout, so on a
corporate network that requires a proxy it sat at "fetching …" with zero
bytes. The wizard now resolves the proxy (https_proxy/HTTPS_PROXY,
npm_config_*,http_proxy/HTTP_PROXY, honoringNO_PROXY) and
tunnels through an HTTP proxy withCONNECT; TLS still verifies the real
artifact host and every redirect hop keeps the allow-list check. - Downloads report size and periodic progress and abort on a bounded
timeout with an actionable message instead of hanging. - Fixed
EXDEV: cross-device link not permittedduring install when
os.tmpdir()is a different filesystem from the npm prefix (tmpfs/tmp
on Linux/WSL): the staged tree is copied into place whenrenamecannot
cross devices. - Installer tests cover proxy/no-proxy resolution, refusal of non-
http
proxies without echoing credentials, fast failure against an unreachable
or black-holed proxy, and the cross-device fallback (14 tests). - Install docs gained a "Proxied / restricted networks" section with a
manual fallback; plugin payload regenerated; marketplace digest updated.