npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

abapgit-agent

v1.18.2

Published

ABAP Git Agent - Pull and activate ABAP code via abapGit from any git repository

Readme


title: abapGit Agent nav_order: 1 permalink: /

abapGit Agent

A local agent that enables AI coding tools (Claude, Copilot, etc.) to automatically pull and activate ABAP code from git repositories using REST API.

Overview

This project provides a bridge between AI coding tools and your ABAP system:

  1. Claude generates ABAP code → Push to git
  2. Local agent pulls from git → Activates in ABAP system
  3. Returns activation results → Claude fixes errors if any

Using abapgit-agent in Claude Code

Quick Start

For Existing Repositories

# 1. Install CLI
npm install -g abapgit-agent

# 2. Clone repo
git clone https://github.com/user/abap-project.git
cd abap-project

# 3. Initialize configuration
abapgit-agent init --package ZMY_PACKAGE

# 4. Edit .abapGitAgent with credentials

# 5. Create online repository in ABAP
abapgit-agent create

# 6. Import objects from ABAP to git
abapgit-agent import

# 7. Pull to activate in ABAP
abapgit-agent pull

See Creating New ABAP Projects to set up a new ABAP repository with Claude Code integration.

CLI Commands

Setup

abapgit-agent init --package ZMY_PACKAGE   # Initialize local config
abapgit-agent create                        # Create online repo in ABAP
abapgit-agent import                        # Import objects from ABAP to git
abapgit-agent import --branch main          # Import to specific branch
abapgit-agent delete                        # Delete repo from ABAP

Development

abapgit-agent pull                                         # Pull and activate
abapgit-agent pull --files src/zcl_my_class.clas.abap     # Pull specific files
abapgit-agent syntax --files src/zcl_my_class.clas.abap   # Check syntax before commit
abapgit-agent inspect --files src/zcl_my_class.clas.abap  # Code Inspector after pull
abapgit-agent unit --files src/zcl_my_test.clas.testclasses.abap  # Run AUnit tests
abapgit-agent run --class ZCL_MY_RUNNER                   # Execute class headlessly
abapgit-agent run --program ZMY_PROGRAM                   # Execute report/program headlessly

Explore

abapgit-agent tree --package '$MY_PACKAGE'   # Package hierarchy
abapgit-agent list --package '$MY_PACKAGE'   # List objects
abapgit-agent view --objects ZCL_MY_CLASS    # View object definition
abapgit-agent preview --objects SFLIGHT      # Preview table data
abapgit-agent where --objects ZCL_MY_CLASS   # Where-used list
abapgit-agent dump --date TODAY              # Query short dumps (ST22)
abapgit-agent debug set --files abap/zcl_my_class.clas.abap:42  # Set breakpoint

Utility

abapgit-agent guide                   # Read full ABAP development guide
abapgit-agent ref "CORRESPONDING"     # Search ABAP reference
abapgit-agent ref --topic sql         # Browse by topic
abapgit-agent transport list          # List transport requests
abapgit-agent upgrade                 # Upgrade CLI and ABAP backend
abapgit-agent status                  # Check configuration
abapgit-agent health                  # Verify ABAP connection

Local Development

# Install dependencies
npm install

# Test a command manually
node bin/abapgit-agent --help
node bin/abapgit-agent syntax --files src/zcl_my_class.clas.abap

Running Tests

# Unit tests — no ABAP system needed (fast)
npm test

# Integration tests — requires a configured .abapGitAgent
npm run test:setup   # one-time setup: clone test repos + activate ABAP objects
npm run test:all     # full suite (setup runs automatically on first run)

# Run a single suite
npm run test:cmd         # CLI command tests
npm run test:drop        # drop command tests
npm run test:customize   # customize command tests
npm run test:aunit       # ABAP unit tests

Full integration test guide: docs/integration-tests.md

Documentation

| Topic | File | |-------|------| | Full Documentation | https://sylvoscai.github.io/abapgit-agent/ | | Installation & Setup | docs/install.md | | All Commands Overview | docs/commands.md | | REST API Reference | docs/api.md |

Dependent Projects

This tool depends on and is designed to work with:

  • abapGit - The foundation for managing ABAP code in git

License

MIT License